@import url(https://fonts.googleapis.com/css?family=Karla:300,400,600,700,300italic,400italic,600italic);

html {
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Karla', sans-serif;
    color: #414141;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Karla', sans-serif;
}

.box {
    /*-webkit-box-shadow: inset hoff voff blur color;*/
    /*-moz-box-shadow: inset hoff voff blur color;*/
    /*box-shadow: inset hoff voff blur color;*/
    box-shadow: 0 2px 4px rgba(0, 0, 0, .15), 0 0 1px rgba(0, 0, 0, .08);
    /*-webkit-box-shadow: inset 0 1px 55px rgba(0,0,0,.15);*/
    /*-moz-box-shadow: inset 0 1px 55px rgba(0,0,0,.15);*/
    /*box-shadow: inset 0 1px 55px rgba(0,0,0,.15);*/
}

.clickable {
    cursor: pointer;
}

.main-header .logo {
    font-size: 30px !important;
}

.user-panel > .info {
    padding: 12px 5px 5px 15px !important;
}

/* Twitter Typeahead */

.tt-query {
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
    color: #999
}

.tt-dropdown-menu {
    width: 422px;
    margin-top: 12px;
    padding: 8px 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
}

.tt-suggestion {
    padding: 3px 20px;
    line-height: 24px;
}

.tt-suggestion.tt-cursor {
    color: #fff;
    background-color: #0097cf;

}

.tt-suggestion p {
    margin: 0;
}

.twitter-typeahead {
    width: 100%;
    position: relative;
}

.twitter-typeahead .tt-query,
.twitter-typeahead .tt-hint {
    margin-bottom: 0;
    width: 100%;
    height: 34px;
    position: absolute;
    top: 0;
    left: 0;
}

.skin-blue-light .content-header {
    padding: 15px 15px 10px 20px;
    background: #fbfbfb;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-margin-left {
    margin-left: 20px;
}

.small-box h3 {
    font-size: 24px;
}

.datepicker {
    z-index: 1151 !important;
}

.pdf-embed {
    width: 100%;
    height: 650px;
}

.label-draft {
    background-color: #999999;
}

.label-sent {
    background-color: #3A87AD;
}

.label-mailed {
    background-color: #d1761c;
}

.label-unpaid {
    background-color: #6c347a;
}

.label-paid, .label-applied {
    background-color: #468847;
}

.label-approved {
    background-color: #468847;
}

.label-rejected, .label-overdue {
    background-color: #B94A48;
}

.label-canceled {
    background-color: #333333;
}

.skin-blue-light .content-wrapper-public {
    border-left: none;
}

.content-wrapper-public {
    margin-left: 0;
}

.public-wrapper {
    width: 96%;
    margin: auto;
}

.public-doc-wrapper {
    background-color: white;
    -webkit-box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.75);
}

.direct-chat-scope {
    margin-left: 5px;
}

.todo-list > li .tools {
    display: block;
}

td .tools {
    display: block;
}

.vertical-header-20 {
    width: 20%;
}

.resp-iframe {
    position: absolute;
    width: 96%;
    height: 100%;
    padding-right: 20px;
    border: 0;
}

.custom-fields tr > td {
    cursor: move;
}

.display_order {
    width: 5%;
}

.sortable-item tr > td {
    cursor: move;
}

.error-page > .error-content {
    padding: 20px;
}

/* MRU Menu Start */
.mru-menu {
    background: #c4c4c4;
    padding: 10px;
    color: #fff;
    font-weight: bold;
    min-height: 32px;
    text-align: left;
    margin-bottom: 0px;
}

/* MRU Items */
.mru-items {
    /* background-color:#f0f0f0; */
    font-size: smaller;
    line-height: 0.8px;
}

.skin-black .mru-menu, .skin-blue .mru-menu, .skin-green .mru-menu, .skin-purple .mru-menu, .skin-red .mru-menu, .skin-yellow .mru-menu {
    color: #000;
}

.sidebar-collapse .mru-menu span {
    display: none;
}

/* MRU Menu End */

[class^='select2'] {
    border-radius: 0px !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: solid #17abe6 1px !important;
}

#fi-notepad .timeline:before {
    left: 36px;
}

#fi-notepad .timeline > li {
    margin-bottom: 32px;
}

#fi-notepad .timeline > li > .initials {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-family: 'Karla', sans-serif;
}

#fi-notepad .timeline > li > .initials > .fit-image {
    width: 100%;
    object-fit: cover;
    border-radius: 50%;
}

#fi-notepad .timeline > li > .timeline-item {
    margin-left: 76px;
}

#fi-notepad .timeline > li > .timeline-item > .timeline-head {
    border-bottom: 1px solid #f4f4f4;
    padding: 0 0 3px 0;
}

#fi-notepad .timeline > li > .timeline-item > .timeline-head .timeline-heading {
    margin: 0;
    color: #a1b5d2;
    padding: 0;
    font-size: 13px;
}

#fi-notepad .timeline > li > .timeline-item > .timeline-head .time-item {
    font-size: 13px;
    margin-left: 30px;
    padding: 0;
    color: #a1b5d2;
}

#fi-notepad .timeline > li > .timeline-item > .timeline-head .note-tags {
    font-size: 14px;
    margin-left: 30px;
    padding: 0;
}

#fi-notepad .timeline > li > .timeline-item > .timeline-body {
    background: #f5f5f5;
}

#fi-notepad .timeline > li > .timeline-item > .timeline-footer {
    background: #f5f5f5;
}

#fi-notepad .timeline > li > .timeline-item > .timeline-footer {
    min-height: 40px;
}

#note-tags-container .select2-container {
    max-height: 100px !important;
    overflow-y: auto !important;
}

.ajax-loader {
    position: absolute;
    top: 50%;
    left: 45%;
    width: 18em;
    height: 10em;
    margin-top: -9em;
    margin-left: -5em;
    border-radius: 5px;
    text-align: center;
    background: #fff;
    padding: 10px;
}

.note-action-menu {
    cursor: pointer;
}

.note-tags {
    margin: 0px 2px;
}

.pagination {
    margin: 0px !important;
}

.select2-form-control .select2-container {
    width: 100% !important;
}

.btn-box-tool-background:hover {
    background-color: #eeeeee !important
}

.task-edit-btn:hover {
    background-color: #5a8ac5 !important;
    color: #ffffff !important;
}

.task-delete-btn:hover {
    background-color: #e25353 !important;
    color: #ffffff !important;
}

#tasks-pagination {
    padding-right: 15px;
}

#tasks-filter {
    padding-left: 15px;
}

.task-list-filter {
    padding-bottom: 15px;
}

#reload-task {
    cursor: pointer;
}

.task-table-header {
    background-color: #ECF0F5;
}

.check {
    cursor: pointer;
    position: relative;
    margin: auto;
    width: 18px;
    height: 18px;
    -webkit-tap-highlight-color: transparent;
    transform: translate3d(0, 0, 0);
}

.check-aligned {
    top: 5px;
    left: 5px;
}

.modal.modal-wide .modal-dialog {
    width: 90%;
}

.modal-wide .modal-body {
    overflow-y: auto;
}

.check:before {
    content: "";
    position: absolute;
    top: -15px;
    left: -15px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(34, 50, 84, 0.03);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.check svg {
    position: relative;
    z-index: 1;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: #4e5052;
    stroke-width: 2.5;
    transform: translate3d(0, 0, 0);
    transition: all 0.2s ease;
}

.check svg path {
    stroke-dasharray: 60;
    stroke-dashoffset: 0;
}

.check svg polyline {
    stroke-dasharray: 22;
    stroke-dashoffset: 66;
}

.check:hover:before {
    opacity: 1;
}

.check:hover svg {
    stroke: #3c763d;
}

input[id^="task_status_"]:checked + .check svg {
    stroke: #3c763d;
}

input[id^="task_status_"]:checked + .check svg path {
    stroke-dashoffset: 60;
    transition: all 0.3s linear;
}

input[id^="task_status_"]:checked + .check svg polyline {
    stroke-dashoffset: 42;
    transition: all 0.2s linear;
    transition-delay: 0.15s;
}

.strikethrough {
    text-decoration: line-through;
}

.pd-none {
    padding: 0px;
}

.border-top-none {
    border-top: none !important;
}

.margin-bottom-0 {
    margin-bottom: 0 !important;
}

#task-list-container {
    max-height: 567px;
    overflow-y: auto;
    display: block;
    width: 100%;
    overflow-x: hidden;
}

.task-section-header {
    font-size: 1.5em;
    padding-right: 6px;
    color: black;
}

.task-list-smaller-font {
    font-size: .90em;
    vertical-align: bottom !important;
}

.client-table-type-indicator-column {
    width: 2px;
    padding-left: 2px !important;
    padding-right: 1px !important;
}

.word-wrap-all {
    word-break: break-all;
}

.cursor-move {
    cursor: move;
}

.ui-sortable-helper {
    background-color: #979696 !important;
}

.ui-sortable {
    min-height: 10px;
}

.dropdown-menu > li > a {
    font-weight: bold;
    color: #000000 !important;
}

.dropdown-menu {
    min-width: 184px !important;
}

.navbar .dropdown-toggle, .navbar .dropdown-menu a {
    cursor: pointer;
}

.navbar .dropdown-item.active, .navbar .dropdown-item:active {
    color: inherit;
    text-decoration: none;
    background-color: inherit;
}

.navbar .dropdown-item:focus, .navbar .dropdown-item:hover {
    color: #16181b;
    text-decoration: none;
    background-color: #f8f9fa;
}

@media (min-width: 767px) {
    .navbar .dropdown-toggle:not(.nav-link)::after {
        display: inline-block;
        width: 0;
        height: 0;
        margin-left: .5em;
        vertical-align: 0;
        border-bottom: .3em solid transparent;
        border-top: .3em solid transparent;
        border-left: .3em solid;
    }

}

@media (max-width: 767px) {
    .transition-group .transition-item .timeinfo {
        width: 20% !important;
    }
}

/* corrected display for mobile devices */
@media screen and (max-width: 1024px) {
    /* dashboard */
    .box-header .box-title {
        word-break: break-all;
    }

    .btn-box-tool {
        display: inline-block !important;
    }

    /* overview quotes, invoice, ... */
    section.content-header {
        display: block !important;
    }

    section.content-header > h1 {
        word-break: break-all;
    }

    section.content-header > .btn-group, section.content-header > .pull-right {
        margin-top: 15px;
        margin-bottom: 15px;
    }

    section.content-header .btn {
        margin-top: 2px;
        margin-bottom: 2px;
    }

    .box-primary .box-body, .tab-content .tab-pane {
        width: 100%;
        overflow: auto;
        margin: 0 0 1em;
        min-height: 175px;
    }

    .tab-content .tab-pane:first-child, .tab-content #tab-settings, #form-settings .tab-content .tab-pane {
        width: auto;
        overflow: inherit;
        margin: 0;
        min-height: 0px;
    }

    .tab-content .tab-pane .panel {
        display: inline-block;
    }

    .tab-content .tab-pane .panel .panel-footer .text-center {
        text-align: left;
    }

    .box-primary .box-body::-webkit-scrollbar, .tab-content .tab-pane::-webkit-scrollbar {
        -webkit-appearance: none;
        width: 14px;
        height: 14px;
    }

    .box-primary .box-body::-webkit-scrollbar-thumb, .tab-content .tab-pane::-webkit-scrollbar-thumb {
        border-radius: 8px;
        border: 3px solid #fff;
        background-color: rgba(0, 0, 0, 0.3);
    }

    .box-primary .box-body tr .dropdown-backdrop {
        pointer-events: none;
    }

    #item-table input, #item-table select {
        min-width: 100px;
    }

    #item-table input[type=checkbox], #item-table input[type=radio] {
        min-width: 0px;
    }

    #item-table input[name=name] {
        min-width: 150px;
    }

    #item-table input[name=quantity] {
        min-width: 65px;
    }

    #item-table textarea {
        min-width: 200px;
        min-height: 150px;
    }

    #fi-notepad .pull-right {
        margin-top: 10px;
    }

    .tab-content #tab-settings table td {
        width: 50%;
        word-break: break-all;
    }
}

@media screen and (max-width: 550px) {
    /* dashboard */
    .box-header:not(.task-section-box-header) {
        padding-right: 35px;
    }

    .btn-box-tool {
        font-size: 0px !important;
    }

    .btn-box-tool .fa {
        font-size: 12px !important;
    }

    .table.table-responsive > tbody > tr > td {
        display: block;
        width: auto;
    }

    .table.task-section-list-table > tbody > tr > td {
        display: block;
        width: auto;
    }

    .table.task-section-list-table > tbody > tr > td:nth-child(1), .table.task-section-list-table > tbody > tr > td:nth-child(2), .table.task-section-list-table > tbody > tr > td:nth-child(3) {
        display: inline-block;
        border-top: none;
    }

    .table.task-section-list-table > tbody > tr > td:nth-child(2) {
        line-height: 50px;
    }

    /* overview quotes, invoice, ... */
    section.content-header > .btn-group > div, section.content-header > .btn-group > form > div {
        padding-left: 0px !important;
        float: left !important;
    }

    #fi-notepad .pull-right > button {
        margin-top: 10px;
    }
}

@media screen and (max-width: 350px) {
    /* overview quotes, invoice, ... */
    section.content-header > .pull-right .btn-group:nth-child(4), section.content-header > .pull-right .btn-group:nth-child(5) {
        margin-top: 15px;
    }
}

.column-credit-memo {
    border-left: 3px solid #ffb6c1;
}

.column-task-assigned-to-me {
    border-left: 3px solid #ffb6c1;
}

.title-credit-memo {
    color: #FF1492;
}

.transition-group .transition-header .info {
    clear: both;
    font-size: 16px;
}

.transition-group hr.separator {
    float: left;
    width: 100%;
    border-top: 3px dotted #d2d6de;
    position: relative;
    top: -5px;
}

.transition-group .transition-item .timeinfo {
    clear: both;
    float: left;
    width: 12%;
}

.transition-group .transition-item .action {
    width: 80%;
    float: left;
    /*box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);*/
    border-left: #d2d6de 3px solid;
    padding: 10px 22px 10px 30px;

    color: #444;
    position: relative;
}

.transition-group .transition-item .action .transition-content {

}

.transition-group .transition-item .action .transition-content .contact-name {
    color: #615c5c;
    font-size: 12px;
}

.transition-group .transition-item .action .transition-content .detail-container {
    font-size: 14px;
    margin: 10px;
}

.transition-group .transition-item .action .transition-content .detail-container .icon {
    float: left;
    margin: 0 15px 0 0;
    font-size: 18px;
    padding: 5px 0;
}

.transition-group .transition-item .action .transition-content .detail-container .detail {
    float: left;
    width: auto;
    margin-top: 3px;
}

.transition-group .transition-item .action .badge {
    background-color: #7f8c8d;
    width: 40px;
    height: 40px;
    font-size: 24px;
    font-family: 'Karla', sans-serif;
    font-weight: 400;
    cursor: pointer;
    color: #FFFFFF;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    left: -22px;
    top: 0;
    position: absolute;
    padding: 1px;
}

.view-field-label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
}

.mb-10 {
    margin-bottom: 10px;
}

.mt-10 {
    margin-top: 10px;
}

.refreshcaptcha {
    padding: 10px 0 0 0;
}

.bootstrap-datetimepicker-widget {
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}

#task-modal .modal-body {
    overflow-y: visible !important;
}

.timeline > li {
    margin-bottom: 10px !important;
}

.timeline .time-label {
    margin-top: 15px !important;
}

.login-box, .register-box {
    margin: 14% auto !important;
}

.note-container {
    margin: 10px;
}

#module div.note-collapse[aria-expanded="false"] {
    display: block;
    height: 80px !important;
    overflow: hidden;
}

#module div.collapsing[aria-expanded="false"] {
    height: 80px !important;
}