:root {
    --permission-table__permission_column_width: 20;
    --permission-table__other_column_width: 16;
    --permission-table__permission_column_width_percent: calc(1% * var(--permission-table__permission_column_width));
    --permission-table__other_column_width_percent: calc(1% * var(--permission-table__other_column_width));
    --permission-table__lead_name_column_width_percent: calc(100% * (var(--permission-table__permission_column_width) / (var(--permission-table__permission_column_width) + var(--permission-table__other_column_width))));
    --permission-table__lead_other_column_width_percent: calc(100% * (var(--permission-table__other_column_width) / (var(--permission-table__permission_column_width) + var(--permission-table__other_column_width))));
    --red: #9D1C2D;
}


.hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.pointer {
    cursor: pointer;
}

.text-has-action {
    border-bottom: 1px dashed #bbbbbb;
    padding-bottom: 2px;
}

.fake-autofill-field {
    height: 1px !important;
    width: 1px !important;
    border: 0 !important;
    padding: 0 !important;
}

.btn {
    cursor: pointer;
}

.btn-bottom-toolbar {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    margin: 0px;
    /*-webkit-box-shadow: 0 0 35px 0 rgba(154, 161, 171, 0.15);
    box-shadow: 0 0 35px 0 rgba(154, 161, 171, 0.15);*/
    -webkit-box-shadow: 0 0 17px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 17px 0 rgba(0, 0, 0, 0.2);
}

.btn-bottom-toolbar.card-box {
    position: fixed;
    padding-left: 272px;
}

.progress-bar-tasks {
    height: 20px;
}

.progress-bar-task-title {
    position: absolute;
    text-align: center;
    overflow: hidden;
    color: #fff;
    right: 0;
    left: 0;
    top: 0;
}

.modal-title {
    word-break: break-all;
}

@media (max-width: 767px) {
    .btn-bottom-toolbar.card-box {
        padding-left: 1.5rem;
    }

    .btn-bottom-toolbar button,
    .btn-bottom-toolbar a {
        display: block;
        width: 100%;
        margin: 0 0 5px 0;
    }
}

a.lead-table-social-icon {
    width: 20px;
}

a.lead-table-social-icon img {
    vertical-align: sub;
}

.col-md-5ths {
    position: relative;
    width: 100%;
    padding-right: 12px;
    padding-left: 12px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
}

@media (max-width: 768px) {
    .col-md-5ths {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    p {
        word-break: break-word;
    }
}

.modal .card-box {
    padding: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.modal .bottom-transaction {
    display: none;
}

/*.card-box .card-box {
    padding: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}*/

/*---------- Helper classes ------------*/

/*---------- Dashboard ------------*/

.home-activity .tab-content {
    min-height: 420px;
    /*overflow-y: auto;*/
}

.dashboard .show_widget_alert {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: fit-content;
    height: fit-content;
    margin: auto;
}

.dashboard .fc-view-container {
    /*height: 500px;*/
    overflow-y: scroll;
}

.dashboard .morris svg text {
    font-size: 5px !important;
    font-weight: 300 !important;
    font-family: "Roboto" !important;
}

.dashboard .invoices_overview_input {
    display: none;
    opacity: 0;
}

.dashboard .invoices_overview_input + i {
    display: inline-block !important;
    width: 120px;
    height: 125px;
}

.dashboard canvas + .invoices_overview_input {
    display: inline-block;
    opacity: 1;
}

.todo__container .my_effectiveness_input {
    display: none;
    opacity: 0;
}

.todo__container .my_effectiveness_input + i {
    display: inline-block !important;
    width: 120px;
    height: 125px;
}

.todo__container canvas + .my_effectiveness_input {
    display: inline-block;
    opacity: 1;
}

.dashboard .timeline-sm .timeline-sm-item .timeline-sm-date {
    left: -125px;
}

.dashboard .timeline-sm .timeline-sm-item {
    padding-left: 15px;
    line-height: 1.25;
}

.dashboard .lead-modal .timeline-sm .timeline-sm-item {
    word-break: break-word;
    position: relative;
    padding-bottom: 20px;
    padding-left: 40px;
    border-left: 2px solid #dee2e6;
}

/*.dashboard .timeline-sm {*/
/*padding-left: 110px;*/
/*}*/
.dashboard .todo-checkbox__control {
    min-width: unset;
}

/*---------- Dashboard ------------*/

/*---------- Validation ------------*/
.has-error input {
    border-color: var(--danger);
}

/*---------- Validation ------------*/

/*---------- Dropdown submenu ------------*/
.dropdown-submenu {
    position: relative
}
.dropdown-menu{
    z-index: 99 !important;
}
.dropdown-submenu > .dropdown-menu .dropdown-item {
    white-space: initial;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block
}

.dropdown-item.active, .dropdown-item:active {
    color: var(--dark);
    text-decoration: none;
    background-color: #F0F0F0;
}

/*---------- Dropdown submenu ------------*/

/*---------- Form builder ------------*/

.form-wrap.form-builder .stage-wrap {
    float: right !important;
}

.form-wrap.form-builder .cb-wrap {
    float: left !important;
}

.frmb .field-actions .del-button {
    float: right;
}

.frmb .prev-holder .checkbox label::before,
.frmb .prev-holder .radio label::before {
    display: none;
}

.frmb .checkbox input[type="checkbox"],
.frmb .checkbox input[type="radio"] {
    opacity: 1 !important;
}

.frm-holder .access-wrap,
.frm-holder .toggle-wrap,
.frm-holder .multiple-wrap,
.other-wrap,
.maxlength-wrap,
.copy-button,
.frmb-control .fb-separator,
.subtype-wrap,
.option-actions,
.field-options a.remove,
li[type="datetime-local"] .value-wrap,
li[type="datetime"] .value-wrap {
    display: none !important;
}

.form-wrap.form-builder .frmb > li:hover {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid #c5c5c5 !important;
}

.form-wrap.form-builder .frmb .prev-holder input[type=number] {
    width: 100% !important;
}

.frmb-control li.input-set-control:first-child {
    border-top-right-radius: 4px !important;
    border-top-left-radius: 4px !important;
}

.form-wrap.form-builder .frmb .field-actions .btn {
    font-size: 14px !important;
}

.form-wrap.form-builder .frmb .field-actions .btn:first-child {
    border-radius: 0 !important;
}

.form-wrap.form-builder .frmb .field-label,
.form-wrap.form-builder .frmb .legend {
    font-size: 13px !important;
}

.name-wrap input,
.stage-wrap .form-field input[type="color"],
.stage-wrap .form-field input[type="date"],
.stage-wrap .form-field input[type="file"],
.stage-wrap .form-field input[type="datetime-local"],
.stage-wrap .form-field select[multiple="true"],
[id^=frmb-][id$='-form-wrap'] .frmb .form-field .form-group.field-options input[type="text"] {
    cursor: not-allowed;
    pointer-events: none;
    background-color: #EEE !important;
    color: #9E9999;
}

input[type="file"] {
    padding: 4px;
}

.cb-wrap li.disabled {
    pointer-events: none;
    opacity: 0.6;
    background: #eef1f6;
}

.stage-wrap .checkbox input[type="checkbox"]:checked + label::after,
.stage-wrap .checkbox input[type="radio"]:checked + label::after {
    content: " ";
}

.stage-wrap .form-field input[type="color"],
.stage-wrap .form-field input[type="date"] {
    width: 100% !important;
    appearance: textfield;
    -moz-appearance: textfield;
    -webkit-appearance: textfield;
}

.stage-wrap .form-field input[type="color"]::-webkit-color-swatch-wrapper,
.stage-wrap .form-field input[type="color"]::-moz-color-swatch-wrapper {
    display: none;
}

.stage-wrap .form-field input[type="color"]::-webkit-color-swatch,
.stage-wrap .form-field input[type="color"]::-moz-color-swatch {
    display: none;
}

​.stage-wrap .form-field input[type="date"] {
    color: #eeeeee;
}

body.rtl [id^=frmb-][id$='-form-wrap'] .frmb .field-actions {
    left: 0 !important;
    right: inherit;
}

[id^='frmb-'][id$='-form-wrap'] .frmb li.ui-sortable-handle {
    border: 2px solid transparent;
}

[id^='frmb-'][id$='-form-wrap'] .frmb li.ui-sortable-handle:hover {
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: 0 none;
    border: 2px dashed #d6d6d6 !important;
}

[id^=frmb-][id$='-form-wrap'] .btn-primary {
    color: #fff;
}

[id^=frmb-][id$='-form-wrap'] .frmb {
    margin: 0 0 0 20px !important;
}

[id^=frmb-][id$='-form-wrap'] .frmb .form-elements input[type=text],
[id^=frmb-][id$='-form-wrap'] .frmb .form-elements input[type=color],
[id^=frmb-][id$='-form-wrap'] .frmb .form-elements input[type=date],
[id^=frmb-][id$='-form-wrap'] .frmb .form-elements input[type=number],
[id^=frmb-][id$='-form-wrap'] .frmb .form-elements .fld-label,
[id^=frmb-][id$='-form-wrap'] .frmb .form-elements select,
[id^=frmb-][id$='-form-wrap'] .frmb .form-elements textarea {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid #d6d6d6 !important;
}

.required-asterisk {
    color: #fc2d42 !important;
}

[id^=frmb-][id$='-form-wrap'] .frmb .form-elements .false-label:first-child,
[id^=frmb-][id$='-form-wrap'] .frmb .form-elements label:first-child {
    font-weight: 500 !important;
}

/*---------- Form builder ------------*/

/*---------- Tags ------------*/
.label-tag {
    margin-right: 5px;
    padding: 3px;
    border: 1px solid #bfcbd9;
    border-radius: 5px;
    background: #fff;
    font-size: 12.5px;
    color: #2d2d2d;
}

.label-tag:last-child:not(.document_header .label-tag:last-child) {
    margin-right: 0;
}

/*---------- Tags ------------*/

/*---------- Sidebar menu ------------*/

button.close-customizer {
    margin-top: 7px;
    margin-right: 17px;
}

.left-side-menu .profile-icons {
    display: flex;
    justify-content: center;
    align-items: center;
}

/*.enlarged .pinned_project {*/
    /*display: none;*/
/*}*/

.enlarged.horizontalmod .pinned_project {
    display: inline;
}

/*body.enlarged .left-side-menu {*/
    /*min-height: 1580px;*/
/*}*/
/*body.enlarged .left-side-menu:before {*/
    /*content: "";*/
    /*position: fixed;*/
    /*left: 0;*/
    /*width: 70px;*/
    /*height: 150vh;*/
    /*background-color: #fff;*/
    /*top: -25%;*/
    /*z-index: 0;*/
/*}*/

/*---------- Sidebar menu ------------*/

/*---------- Timer button ------------*/
#top-timers button {
    position: relative;
}

#top-timers .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 16px;
    min-height: 16px;
    line-height: 1.1;
}

#started-timers-top .unfinished-timesheet-delete {
    float: right;
    cursor: pointer;
}

#started-timers-top .dropdown-item {
    white-space: unset;
}

#started-timers-top .button-stop-timer-wrapper {
    margin: 5px 0 5px 0;
}

/*---------- Timer button ------------*/

/*---------- Dashboard ------------*/
/*div[data-container] {
    min-height: 20px;
    min-width: 20px;
}*/

.preview-widgets .widget {
    display: none;
}

.placeholder-dashboard-widgets {
    border: 2px dashed #b9b9b9;
    margin-bottom: 25px;
    min-height: 110px;
}

/*.widget-dragger:before {
    content: "\f0c9";
    font: normal normal normal 14px/1 FontAwesome;
}*/

.widget {
    position: relative;
}

.widget-dragger {
    position: absolute;
    top: 15px;
    left: -15px;
    color: #a9afbb;
    cursor: move;
    z-index: 2;
}

.widget-dragger:hover,
.widget-dragger:active {
    color: #969aa2;
}

.mobile .widget-dragger {
    display: none;
}

.widget .card-box, .card-announcement {
    border: 1px solid #dee2e6;
}

.card-announcement {
    word-break: break-word;
}

#screen-options-area {
    display: none;
}

.screen-options-btn {
    position: absolute;
    background: #ffffff;
    color: #636363;
    padding: 5px 15px;
    display: inline-block;
    right: 24px;
    top: 70px;
    z-index: 1;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    cursor: pointer;
    -webkit-box-shadow: 0 1px 0 #ccc;
    box-shadow: 0 1px 0 #ccc;
    margin-top: -1px;
}

body.rtl .screen-options-btn {
    right: auto;
    left: 38px;
}

/*---------- Dashboard ------------*/

/*---------- Alert ------------*/
.float-alert {
    display: inline-block;
    margin: 0 auto;
    position: fixed;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    z-index: 999999;
    top: 90px;
    right: 20px;
}

/*---------- Alert ------------*/

/*---------- Menus setup pages ------------*/

.menu_setup_page .all-icons-input {
    display: none;
}

.menu_setup_page .icons-selector ~ .input-group-addon {
    display: none;
}

.menu_setup_page .fip-bootstrap.icons-selector .selector {
    width: 100%;
    max-width: 100%;
}

.menu_setup_page .icons-selector .selected-icon {
    width: calc(100% - 41px);
}

/*---------- Menu setup pages ------------*/

/*---------- System popup (added from previous version of design) ------------*/

body.system-popup {
    overflow: hidden;
}

.system-popup {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #fff;
    z-index: 99999;
    text-align: center;
}

.system-popup .popup-wrapper {
    width: 60%;
    margin: 0 auto;
    display: table;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    /* works with row or column */
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.system-popup .popup-content {
    margin-top: 25px;
    width: 100%;
}

.system-popup .popup-message {
    /*font-family: 'Helvetica';*/
    font-weight: 600;
    font-size: 38px;
}

.system-popup .system-popup-close {
    position: absolute;
    width: 60px;
    height: 60px;
    overflow: hidden;
    top: 30px;
    right: 150px;
    background: none;
    border: 0;
    opacity: 0.2;
    outline: 0;
}

.system-popup .system-popup-close:hover::before,
.system-popup .system-popup-close:hover::after {
    background: #000;
    opacity: 1;
}

.system-popup .system-popup-close::before,
.system-popup .system-popup-close::after {
    content: '';
    position: absolute;
    height: 3px;
    width: 100%;
    top: 50%;
    left: 0;
    margin-top: -1px;
    background: #000;
}

.system-popup .system-popup-close::before {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.system-popup .system-popup-close::after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

@media (max-width: 768px) {
    .system-popup .popup-wrapper {
        width: 100%;
    }

    .system-popup .popup-message {
        font-size: 18px;
        max-width: 100%;
    }

    .system-popup .close {
        right: auto;
    }
}

/*---------- System popup ------------*/

/*---------- Select with plus button ------------*/
.input-group-select .input-group-append .input-group-text {
    background-color: var(--light);
    border: none;
}

.input-group-select .bootstrap-select._select_input_group {
    width: calc(100% - 44px) !important;
}

.input-group-select .bootstrap-select .btn {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/*---------- Select with plus button ------------*/

/*---------- On - Off switch ------------*/
.onoffswitch {
    position: relative;
    width: 50px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.onoffswitch-checkbox {
    display: none;
}

.onoffswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    height: 20px;
    padding: 0;
    line-height: 22px;
    border: 1px solid #bfcbd9;
    border-radius: 22px;
    background-color: #bfcbd9;
    -webkit-transition: background-color 0.3s ease-in;
    transition: background-color 0.3s ease-in;
}

.onoffswitch-label:before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    margin: 0;
    background: #FFFFFF;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 30px;
    border: 1px solid #bfcbd9;
    border-radius: 20px;
    -webkit-transition: all 0.3s ease-in 0s;
    transition: all 0.3s ease-in 0s;
}

.onoffswitch-checkbox:checked + .onoffswitch-label {
    background-color: #84c529;
}

.onoffswitch-checkbox:checked + .onoffswitch-label,
.onoffswitch-checkbox:checked + .onoffswitch-label:before {
    border-color: #84c529;
}

.onoffswitch-checkbox:checked + .onoffswitch-label:before {
    right: 0;
}

.onoffswitch-checkbox:disabled + .onoffswitch-label {
    opacity: 0.5;
}

/*---------- On - Off switch ------------*/

/*-----------Top-menu--------------*/
.notification-list .notify-item.active:hover {
    background-color: #ecedef;
}

.navbar-custom {
    padding-right: 0px;
}

.history {
    white-space: normal;
    margin-right: 0.9rem;
}

#top_search {
    width: 320px;
    padding: 0 15px;
}

#top_search > .app-search {
    width: 100%;
    max-width: none;
    margin-right: 0px;
    margin-left: 0px;
}

#search-history {
    padding: 0.3rem 0;
}

#search-history > li {
    padding-left: 20px;
    padding-right: 0.9rem;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

#search-history li a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-box {
    position: relative;
}

.card-box + .panel-footer {
    background: #f7f9fa;
    border-top: none;
    color: inherit;
    font-size: 90%;
    padding: 10px 15px;
    border-bottom-left-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
    margin-top: -2px;
    position: relative;
}

.widget__item--todos {
    padding: 10px 0px 10px 0px;
    background-color: #fff;
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
    box-shadow: 1px 1px 5px #ececec;
    min-height: 45px;
}

.widget__item--todos i{
    min-width: 18px;
}

.todo-checkbox__name {
    white-space: nowrap;
    overflow: hidden;
}

.widget__item--todos small {
    line-height: 1;
}

.alert-danger {
    color: #7d2c38 !important;
    background-color: #fcdde2 !important;
    border-color: #fbcfd6 !important;
}

.alert-warning {
    color: #806027 !important;
    background-color: #fdf1db !important;
    border-color: #fdebcd !important;
}

.widget__item--todos.alert-danger {
    color: inherit;
    background-color: #fff;
    border: 2px solid rgba(240, 85, 107, 0.5);
}

.ui-sortable-placeholder {
    border: 2px dashed #ebebeb;
    border-radius: 0.25rem;
    background-color: #fff;
    height: 90px;
    width: 100%;
    margin: 0.5rem 0;
    visibility: visible !important;
}

.widget__head--todos {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    line-height: 1;
    flex-wrap: wrap;
}

.todo-checkbox__control {
    margin-left: auto;
}

@media screen and (min-width: 576px) {
    .todo-checkbox__control {
        min-width: 70px;
    }
}

.dashboard .todo-checkbox__control i {
    font-size: 1.125rem;
}

.todo-checkbox__control .btn {
    padding: 0.2rem 0.4rem;
}

.btn-xs {
    padding: 0.2rem 0.4rem;
}

.todo-checkbox input {
    position: absolute;
}

.todo-checkbox .todo-checkbox__label {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    width: 100%;
    padding-left: 12px;
    position: relative;
    /*margin-left: 39px;*/
    /*padding-right: 49px;*/
}

.todo-checkbox .todo-checkbox__label:before {
    margin-left: 0;
}

.todo-checkbox .todo-checkbox__label:after {
    margin-left: 0;
    left: 6px !important;
}

.todo-checkbox__description {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.todo-checkbox__dragger {
    position: absolute;
    left: 5px;
    top: 1px;
    cursor: move;
}

.todo-checkbox__description span {
    font-size: 1rem;
}

.todo-checkbox__description small {
    /*color: var(--grey);*/
}

.line-throught {
    text-decoration: line-through;
}

.newsfeed__container {
    width: 80%;
    position: relative;
}

#newsfeed {
    background: #e3e5e6;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    padding: 15px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
}

#newsfeed .close_newsfeed, #newsfeed .add_newsfeed {
    position: absolute;
    top: 23px;
    z-index: 1;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    border: none;
    outline: none;
    color: #FFF;
    font-size: 36px;
    -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    -webkit-transition: .3s;
    transition: .3s;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

@media (max-width: 375px) {
    #newsfeed .close_newsfeed, #newsfeed .add_newsfeed {
        top: 15px;
    }
}

#newsfeed .close_newsfeed {
    right: 20px;
    background: #868686;
}

#newsfeed .add_newsfeed {
    right: 20px;
    background: #30b261;
}

#newsfeed .close_newsfeed:hover, #newsfeed .close_newsfeed:active {
    color: #f0f0f0;
    background: #6b6b6b;
}

#newsfeed .add_newsfeed:hover, #newsfeed .add_newsfeed:active {
    background: #159a80;
    color: #f0f0f0;
}

#newsfeed .close_newsfeed i, #newsfeed .add_newsfeed i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25px;
}
#newsfeed_data .post-content > a{
    word-break: break-all;
}
.panel_s {
    background-color: none;
    border: none;
    -webkit-box-shadow: 0 1px 15px 1px rgba(90, 90, 90, 0.08);
    box-shadow: 0 1px 15px 1px rgba(90, 90, 90, 0.08);
    margin-bottom: 25px;
}

.panel_s .panel-body {
    background: #fff;
    border: 1px solid #dce1ef;
    border-radius: 4px;
    padding: 20px;
    position: relative;
}

#newsfeed form.dropzone {
    border: 0;
    padding: 0;
}

#post, #post:focus {
    margin-top: 25px;
    -moz-appearance: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    padding: 0;
    -webkit-transition: none;
    transition: none;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 0;
    outline: 0;
    overflow: auto;
    resize: none;
}

.dropdown-select-image-small {
    height: 20px;
    width: 20px;
    border-radius: 50%;
}

.add-post-attachments {
    padding: 8px 14px;
    font-size: 14px;
    color: #415164;
    background-color: var(--light);
}

.add-post-attachments:hover {
    color: #415164;
    background-color: #E1E4E6;
}

.hide {
    display: none !important;
}

#newsfeed_data {
    /*width: 60%;*/
}

.media-body, .media-left, .media-right {
    display: table-cell;
    vertical-align: top;
}

#newsfeed .newsfeed_post .user-post-like {
    border-left: 1px solid #e4e5e7;
    border-right: 1px solid #e4e5e7;
    border-top: 0;
}

#newsfeed .newsfeed_post .panel-footer {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

#newsfeed .newsfeed_post .post-content {
    border-bottom: 0;
    font-size: 14px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

#newsfeed .newsfeed_post .post-content .post-text {
    word-break: break-word;
}

.dropdown-select__container {
    display: flex;
    position: relative;
    /*width: 60%;*/
}

.dropdown-select__item {
    margin-right: 10px;
}

.newsfeed-form__send {

}

.newsfeed-form__select {
    position: relative;
    flex: 1;
}

.newsfeed-form__button, .newsfeed-form__button:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    display: flex;
    justify-content: space-between;
}

.news-form__author {
    display: inline-flex;
    align-items: flex-start;
}

.dropdown-menu--notification {
    width: 420px;
}

@media screen and (min-width: 769px) and (max-width: 1072px) {
    body:not(.enlarged) .topnav__time, body:not(.enlarged) .topnav__timers {
        display: none !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 802px) {
    .topnav__time {
        display: none !important;
    }
}

@media screen and (max-width: 515px) {
    .topnav__exit {
        display: none !important;
    }
}

@media screen and (max-width: 464px) {
    .search-active .topnav__news {
        display: none !important;
    }

    .search-active .topnav__email {
        display: none !important;
    }
}

@media screen and (max-width: 413px) {
    .search-active .topnav__todos {
        display: none !important;
    }
}

/*@media screen and (max-width: 365px) {*/
/*.topnav__messaging {*/
/*display: none !important;*/
/*}*/
/*}*/

@media screen and (max-width: 362px) {
    .search-active .notification-list:not(.toggle_for_search_close):not(.topnav__bug-button) {
        display: none !important;
    }
}

/*@media screen and (max-width: 332px) {*/
/*.topnav__messaging {*/
/*display: none !important;*/
/*}*/
/*}*/
.header-currency-wrap{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    color: #fff;
    margin-left: 5px;
    margin-right: 5px;
}
@media (max-width: 1124px){
    .header-currency-wrap{
        display: none;
    }
}
@media screen and (max-width: 1365px) {
    #top_search {
        width: 220px;
    }

    .header-currency-wrap {
        width: 220px;
    }
}

@media screen and (max-width: 1279px) {
    #top_search {
        width: 120px;
    }
}

@media screen and (max-width: 768px) {
    .todo-checkbox__dragger {
        display: none;
    }

    .todo-checkbox .todo-checkbox__label {
        margin-left: 12px;
        padding-right: 18px;
        padding-left: 0;
    }

    .topnav-menu .dropdown-menu.show, .topnav-menu .search-result__container {
        position: fixed !important;
        width: 85vw !important;
        left: 7.5vw !important;
        top: 70px !important;
    }
}

@media screen and (max-width: 1279px) {
    .newsfeed__container {
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .newsfeed__container {
        width: 100%;
    }
}

@media screen and (max-width: 479px), screen and (max-height: 479px) {
    .newsfeed__container {
        width: 100%;
    }

    #newsfeed {
        padding: 5px;
    }

    .topnav-menu .dropdown-menu.show, .topnav-menu .search-result__container {
        width: 90vw !important;
        max-height: calc(100% - 80px);
    }

    .noti-scroll {
        max-height: 240px;
    }
}

/*///////////////////////////////////////*/
.stop-timer__textarea {
    width: 100%;
    height: auto;
    display: block;
    padding: .45rem .9rem;
    color: var(--secondary);
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .2rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
    overflow: auto;
    resize: vertical;
    margin-bottom: 10px;
}

.timer-stop__comment {
    display: block;
    padding: 0rem 1.2rem;
    width: 100%;
    height: auto;
    overflow: hidden;
    -webkit-transition: 0.25s;
    -moz-transition: 0.25s;
    -ms-transition: 0.25s;
    -o-transition: 0.25s;
    transition: 0.25s;
}

/*-------------Search----------------*/
.search-result__list {
    padding: 0.3rem 0;
    /*-webkit-box-shadow: 0 0 17px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 17px 0 rgba(0, 0, 0, 0.2);*/

}

.search-result__item {
    list-style: none;
    padding: 0.375rem 0.75rem;
}
.search-result__item .col-md-12{
    word-break: break-word;
}
.dropdown-divider.search-result__item {
    margin: 0;
}

.dropdown-header.search-result__item {
    font-weight: 500;
}

.dropdown-item .history {
    width: 100%;
    height: 100%;
    padding: 0.375rem 0;
}

.search-result__container {
    display: none;
    width: 420px;
    max-width: 100vw;
    /* height: calc(100vh - 70px); */
    max-height: 540px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-box-shadow: 0 0 17px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 17px 0 rgba(0, 0, 0, 0.2);
}

.search-result__container.show_search_result {
    display: block;
    /*width: 300px;*/
    /*height: 600px;*/
    /*position: absolute;*/
    top: 70px;
    background-color: var(--white);
    position: absolute;
}

.search-result__container.search-result__list-no_res {
    height: auto;
    max-height: auto;
}

.show_search_result + .dropdown-menu {
    display: none !important;
}

/*-------------Search----------------*/

/*-------------Calendar--------------*/
.cpicker-wrapper {
    display: flex;
    justify-content: flex-start;
}

.cpicker {
    margin-right: 10px;
    cursor: pointer;
}

.cpicker-small {
    width: 10px;
    height: 10px;
}

.cpicker-big {
    width: 20px;
    height: 20px;
}

.fc-time-fix:before, .fc-time-fix:after {
    content:none !important;
}

/*-------------Calendar--------------*/
/*-------------Newsfeed--------------*/
.post-comment {
    padding: 20px 20px 0px 25px;
}

#newsfeed .newsfeed_post .post_likes_wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#newsfeed .newsfeed_post .post_comments_wrapper {
    border: 1px solid #dce1ef;
    border-top: 0;
    border-bottom: 0;
}

#newsfeed .newsfeed_post .user-post-like {
    flex-grow: 1;
    flex-shrink: 999;
    border-left: none;
    border-right: none;
    border-top: 0;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

#newsfeed .newsfeed_post .post-likes {
    flex: 999;
    flex-shrink: 0;
    width: auto;
    border-left: none;
    border-right: none;
    border-top: 0;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    padding-left: 0;
}

#newsfeed .newsfeed_post .fe-heart:hover {
    color: #f3031c;
}

#newsfeed .newsfeed_post .fe-heart-on {
    color: #f3031c;
}

.comment {
    margin-bottom: 1.5rem;
    overflow: hidden;
}

#newsfeed .newsfeed_post .panel-footer {
    padding-left: 25px;
    padding-right: 20px;
}

#newsfeed .comment-input {
    flex: 1;
}

#newsfeed .pull-left {
    float: left;
}

#newsfeed .pull-right {
    float: right;
}

#newsfeed .no-margin {
    margin: 0;
}

#newsfeed .newsfeed_post .user-comment {
    display: flex;
}

/*-------------Newsfeed--------------*/
/*---------All Notification----------*/
.all-notification__header {
    margin-bottom: 2rem;
}

.notification-box-all {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    padding: 10px 10px;
    border-radius: 0.25rem;
}

.notification-box-all img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-right: 1rem;
}

.notification-box-all i.fe-alert-circle {
    font-size: 40px;
    line-height: 1;
    margin-right: 1rem;
}

.notification-box-all .notification_link {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.all-notification__secondary-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#notifications .notification-wrapper {
    margin: 10px 0;
}

#notifications .no-margin {
    margin: 0;
}

#notifications .inbox-item-author {
    color: var(--dark);
    margin-bottom: 3px;
}

#notifications .inbox-item-text {
    font-size: 0.8125rem;;
    margin-bottom: 3px;
}

#notifications i {
    color: var(--blue);
}

.notification-box-all.unread {
    background-color: #f0f4fd;
}

/*---------All Notification----------*/
/*-------------Profile---------------*/
.staff_logged_time .total-column > div {
    height: 100%;
}

.profile__container {
    display: flex;
    flex-direction: column;
}

.profile__top {
    display: flex;
    justify-content: space-between;
}

.profile__social {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile__social .social {
    margin: 10px 5px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid var(--blue);
    color: var(--blue);
    font-size: 1rem;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*Edit section*/
.member__photo {
    position: relative;
    text-align: center;
    margin-top: 1rem;
}

.member__photo-remove {
    position: absolute;
    top: 10px;
    right: 20px;
}

.profile-edit__tabs {
    align-items: flex-end;
}

.permission-table .checkbox label::before {
    top: 4px;
    transform: translateY(-100%);
}

.permission-table .checkbox input[type="checkbox"]:checked + label::after {
    top: -10px;
    left: 7px;
}

@media screen and (max-width: 769px) {
    .profile-edit__container .staff-additional {
        flex: 1;
        min-width: 320px;
    }

    .profile-edit__container .staff-form {
        margin-right: 0;
    }
}

/*-------------Profile---------------*/
/*-------------Store-----------------*/
.category__header {
    margin-bottom: 2rem;
}

.plugin-card {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.plugins__container {
    width: 100%;
}

.plugin-card-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex: 1;
}

@media screen and (max-width: 480px) {
    .plugin-card-top {
        flex-direction: column;
        justify-content: space-between;
    }
}

.plugin-card-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.8em;
    background-color: #ebecee;
    border-top: 1px solid #dee2e6;
    margin-left: -1.5rem;
    padding-left: 1.5rem;
    margin-right: -1.5rem;
    padding-right: 1.5rem;
    margin-bottom: -1.5rem;
    padding-bottom: 1.5rem;
    padding-top: 1rem;
    border-bottom-left-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

.column-description {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.plugin__image {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    margin-right: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    flex-shrink: 0;
}

@media screen and (max-width: 480px) {
    .plugin__image {
        align-self: center;
    }
}

.plugin__image img {
    max-width: 100%;
}

.plugin-action-buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    padding-left: 0px;
    text-align: right;
    margin-bottom: 15px;
}

.free {
    color: var(--success);
    font-weight: 700;
}

.price {
    color: var(--primary);
    font-weight: 700;
}

.oldprice {
    text-decoration: line-through;
    color: grey;
}

.plugin__header {
    margin-top: 0;
}

.plugin-action-buttons .btn {
    padding: 6px 6px;
    font-size: 0.8em;
    min-width: 75px;
}

.plugin__price {
    white-space: nowrap;
    min-width: 75px;
}

/*-------------Store-----------------*/

/*-------------Plugin-profile-----------------*/
.plugin-profile__header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.plugin-profile__name {
    padding-left: 0;
    margin-right: 30px;
}

.plugin-profile__status {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    font-size: 0.8125rem;
    margin-right: 30px;
    min-width: 155px;
}

.round-icon {
    width: 32px;
    height: 32px;
    padding: 5px;
    font-size: 1.25rem;
    background-color: #969696;
    border-radius: 50%;
    margin-right: 10px;
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.round-icon.green {
    background-color: var(--success);
}

.plugin-profile__buy {
    display: flex;
    justify-content: flex-end;
    padding-right: 0;
}

.module-block-info li {
    padding: 12px;
}

.module-block-info li.active {
    color: var(--primary);
    border-bottom: 1px solid var(--primary);
}

.module-block-info li.active a {
    color: var(--primary);
    font-weight: 400;
}

.plugin-profile__description {
    font-size: 0.8125rem;
    margin-bottom: 0.75em;
}

.plugin-profile__description a {
    color: var(--primary);
}

/*-------------Plugin-profile-----------------*/

/*------------- Fix for logo -----------------*/

@media (max-width: 768px) {
    .logo-box {
        width: 70px !important;
    }

    /*.enlarged .logo-box {*/
        /*width: 46px !important;*/
    /*}*/

    .logo-box .logo-lg {
        display: none !important;
    }

    .logo-box .logo-sm {
        display: unset !important;
    }
}

/*------------- Fix for logo -----------------*/

/*------------- Kan-ban -----------------*/

.kan-ban-wrapper {
    overflow: auto;
}

#kan-ban .panel-heading-bg {
    padding: 9px;
    position: relative;
    border-bottom: 1px solid #e4e5e7;
}

.kb-kan-ban#kan-ban {
    overflow: auto;
}

.kan-ban-content {
    background: #f5f6f8;
}

#kan-ban .kan-ban-content .kanban-empty h4 {
    color: #50637c;
}

#kan-ban .kan-ban-content>ul {
    list-style: none !important;
    min-height: 100%;
    background: inherit;
    padding: 7px;
}

#kan-ban .not-sortable .panel-body .task-name {
    background: none;
}

#kan-ban .not-sortable {
    opacity: 0.7;
}

.ms-task .sortable {
    background: url(../images/dragger.png) 1px 2px no-repeat;
    padding-left: 14px;
}

#kan-ban .border-right:last-child {
    border-right: 0;
}

.kan-ban-col {
    width: 340px;
    margin-right: 6px;
    padding: 0;
    display: inline-block;
    float: left;
}

.kan-ban-content-wrapper {
    word-break: break-word;
    word-wrap: break-word;
    overflow-x: hidden;
    overflow-y: auto;
}

.kan-ban-expand-top {
    position: absolute;
    top: 0px;
    left: 0px;
    background: #f0f0f0;
    padding: 3px 7px;
    border-top-right-radius: 4px;
    font-size: 11px;
}

#kan-ban .panel-heading-bg {
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    color: #fff;
}

#kan-ban .panel-heading-bg a {
    color: #fff;
}

.cpicker {
    cursor: pointer;
    border-radius: 2%;
}

.cpicker {
    float: left;
    margin-right: 10px;
    border-radius: 1px;
}

.kan-ban-settings {
    display: inline-block;
    padding: 18px 0 7px 10px;
}

li.task {
    height: auto !important;
}

li.task .card-body {
    border: 1px solid rgba(206, 206, 206, 0.5) !important;
    border-radius: 0.25rem;
}

li.lead-kan-ban.current-user-lead .card-body {
    background: rgba(79, 198, 225, 0.2) !important;
    border: 1px solid rgba(79, 198, 225, 0.2) !important;
    border-radius: 0.25rem;
    color: var(--secondary);
}
li.task.current-user-task .card-body {
    background: rgba(79, 198, 225, 0.2) ;
    border: 1px solid rgba(79, 198, 225, 0.2) ;
    border-radius: 0.25rem;
    color: var(--secondary);
}

li.task.overdue-task .card-body {
    background-color: rgba(241, 85, 108, 0.2) !important;
    border: 1px solid rgba(241, 85, 108, 0.2) !important;
    border-radius: 0.25rem;
    color: var(--secondary);
}

.ui-sortable-placeholder {
    min-height: 90px;
    width: 100%;
    border: 2px dashed #ebebeb;
    border-radius: 0.25rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

/*------------- Kan-ban -----------------*/

/*------------- Leads -----------------*/
.lead-field-heading {
    margin-top: 10px;
    margin-bottom: 0;
}

.top-lead-menu {
    margin-left: -15px;
    margin-right: -15px;
    margin-top: -15px;
}

@media (max-width: 767.98px) {
    .lead-modal .lead-top-btn {
        width: 100%;
        margin: 5px 0 0.375rem 0 !important;
    }
}

.time-left, .table-striped tbody tr.time-left {
    background: #F7EFEF;
    color: var(--secondary);
}

.tickets-time-left, .table-striped tbody tr.tickets-time-left {
    background: #F7EFEF;
    color: var(--secondary);
}

/**************************************************
    Leads Stages
**************************************************/

ul.leads-stages {
    width: 100%;
    white-space: nowrap;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    list-style: none;
    padding: 0 16px 0 0;
    overflow: auto;
}

ul.leads-stages li span {
    color: #fff;
    font-weight: 300;
    font-size: 11px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

ul.leads-stages li {
    padding: 5px 5px 5px 20px;
    position: relative;
    margin: 0;
    background-color: transparent;
    text-align: center;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex: 1 0;
    -ms-flex: 1 0;
    flex: 1 0;
    min-width: 20px;
    text-transform: none !important;
    justify-content: center;
    line-height: 20px;
    background: #ACB5C3;
}
@media (max-width: 959px){
    ul.leads-stages li {
        min-width: unset;
        flex-shrink: 0;
        margin-bottom: 20px;
    }
}
ul.leads-stages li:first-child {
    padding-left: 10px;
}

ul.leads-stages.clickable li {
    cursor: pointer;
}

ul.leads-stages li.active,
ul.leads-stages li.active:after,
ul.leads-stages li.active:before {
    background: inherit;
}

ul.leads-stages li:first-child {
    border-radius: 16px 0 0 16px;
}

ul.leads-stages li:after {
    bottom: 0;
    -webkit-transform: skew(-45deg);
    -ms-transform: skew(-45deg);
    transform: skew(-45deg);
}

ul.leads-stages li:before {
    top: 0;
    -webkit-transform: skew(45deg);
    -ms-transform: skew(45deg);
    transform: skew(45deg);
}

ul.leads-stages li:before,
ul.leads-stages li:after {
    display: block;
    position: absolute;
    content: ' ';
    background: inherit;
    height: 50%;
    width: 16px;
    border-right: 1px solid #fff;
    right: -8px;
    z-index: 1;
}

/*ul.leads-stages li.active:before,
ul.leads-stages li.active:after {
    border-right: 1px solid transparent;
}*/

ul.leads-stages.leads-stages--small li {
    min-width: 15px;
}

ul.leads-stages.leads-stages--small li:after,
ul.leads-stages.leads-stages--small li:before {
    display: none;
}

ul.leads-stages.leads-stages--small li {
    border-right: 2px solid #fff;
}

ul.leads-stages.leads-stages--small li:last-child {
    border-radius: 0 6px 6px 0;
    border-right: 0;
}

ul.leads-stages.leads-stages--small li:first-child {
    border-radius: 6px 0 0 6px;
}

ul.leads-stages.leads-stages--small li:only-child {
    border-radius: 6px 6px 6px 6px;
}

ul.leads-stages.leads-stages--small li {
    min-width: 5px;
    flex-shrink: 0;
    padding-left: 0;
    padding-right: 0;
}

ul.leads-stages.leads-stages--small {
    padding-right: 0;
    margin-bottom: 0;
}

/*************************************************
    END:Leads Stages
*************************************************/

/*------------- Leads -----------------*/

/*------------- Customers -----------------*/
.customer_tab_divider {
    text-transform: uppercase;
    background-color: #f5f6f8;
}

.report_tab_divider {
    text-transform: uppercase;
    background-color: #f5f6f8;
}

.theme_tab_divider {
    text-transform: uppercase;
    background-color: #f5f6f8;
}

.preview_image img {
    max-width: 160px;
    display: block;
}

/*------------- Universal lists -----------------*/
#universal_lists_entry_modal {
    z-index: 1053 !important;
}

/*------------- Customers -----------------*/

/*------------- Proposals -----------------*/

.proposal-pipeline-modal .toggle_view {
    display: none;
}

/*------------- Proposals -----------------*/

/*------------- Buttons -----------------*/
@media screen and (max-width: 768px) {
    ._buttons .float-left,
    ._buttons .float-right {
        float: none !important;
    }

    ._buttons .btn,
    ._buttons .btn-group:not(._btn-group) {
        display: inline-block;
        margin-left: 0 !important;
        width: 100%;
        margin-bottom: 5px !important;
        float: none !important;
        text-align: left;
    }

    ._buttons .btn{
        text-overflow: ellipsis;
        overflow: clip;
    }

    .small-table-right-col #invoice ._buttons .btn,
    .small-table-right-col #invoice ._buttons ._btn-group {
        display: inline-block;
        margin-left: 0 !important;
        width: 100%;
        text-align: left;
    }

    .leads-filter-column {
        display: inline-block;
        margin-left: 0 !important;
        width: 100%;
        margin-bottom: 0.75rem !important;
        float: none !important;
        text-align: left;
    }

    ._buttons .mleft5 {
        margin-left: 0 !important;
    }

    ._buttons a,
    ._buttons button {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/*------------- Buttons -----------------*/

/*------------- Tagit plugin -----------------*/
ul.tagit {
    border: 0 !important;
    background: transparent;
}

ul.tagit input[type="text"] {
    background: transparent;
    border-left: 1px dashed #b3b3b3;
    height: 20px;
    padding-left: 5px;
}

body.rtl ul.tagit input[type="text"] {
    border-left: 0;
    border-right: 1px dashed #b3b3b3;
}

ul.tagit li.tagit-new {
    padding-top: 2px;
}

ul.tagit li.tagit-choice-editable:hover {
    border: 1px solid #bfcbd9;
}

ul.tagit li.tagit-choice-editable,
ul.tagit li.tagit-choice-read-only {
    padding: 2px 20px 2px 10px;
    background: #fff;
    color: #2d2d2d;
    border: 1px solid #bfcbd9;
    font-weight: 400;
    font-size: 13px;
    border-radius: 3px;
}

ul.tagit li.tagit-choice-editable a {
    color: #2d2d2d;
}

ul.tagit-autocomplete {
    border-radius: 4px;
    background: #fff;
    padding: 5px 0;
    border-color: #bfcbd9 !important;
    max-height: 270px;
    min-width: 240px;
    overflow-y: scroll;
}

ul.tagit-autocomplete li {
    border-bottom: 1px solid #f0f0f0;
    padding: 5px !important;
}

ul.tagit-autocomplete .ui-menu-item-wrapper {
    margin-right: -6px !important;
}

ul.tagit-autocomplete .ui-menu-item-wrapper {
    margin-right: -6px !important;
}

ul.tagit-autocomplete .ui-menu-item-wrapper.ui-state-active,
ul.tagit-autocomplete .ui-menu-item-wrapper:hover,
ul.tagit-autocomplete .ui-menu-item-wrapper:focus {
    background: #e4e8f1 !important;
    border-color: #e4e8f1 !important;
    color: #2d2d2d;
}

ul.tagit-autocomplete li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

ul.tagit-autocomplete {
    z-index: 999999;
}

.tagit-autocomplete .ui-state-active {
    border: 1px solid #f0f0f0;
    font-weight: 400;
    color: #333;
    background: #F5F5F5;
}

.tagit-autocomplete .ui-widget-content {
    border: 1px solid #f0f0f0;
}

.tagit-autocomplete .ui-menu .ui-menu-item a.ui-state-hover,
.tagit-autocomplete .ui-menu .ui-menu-item a.ui-state-active {
    color: #333;
}

.task-modal-single ul.tagit,
.task-modal-single ul.tagit li.tagit-new {
    padding-bottom: 0;
    /*margin-top: 5px;*/
    margin-top: 0px;
    margin-bottom: 5px;
}

ul.tagit li.tagit-choice .tagit-label:not(a) {
}

/*------------- Tagit plugin -----------------*/

/*------------- Staff and clients images -----------------*/

.client-profile-image-small {
    height: 32px;
    width: 32px;
    border-radius: 50%;
    object-fit: cover;
    max-width: unset;
}

.staff-profile-xs-image {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    max-width: unset;
}

.d-flex > .staff-profile-xs-image {
    min-height: 20px;
    min-width: 20px;
}

.staff-profile-image-small {
    height: 32px;
    width: 32px;
    border-radius: 50%;
    object-fit: cover;
    max-width: unset;
}

.d-flex > .staff-profile-image-small, .d-flex > .client-profile-image-small {
    min-height: 32px;
    min-width: 32px;
}

.staff-profile-image-xs {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    object-fit: cover;
    max-width: unset;
}

.d-flex > .staff-profile-image-xs {
    min-height: 20px;
    min-width: 20px;
}

.staff-profile-image-thumb {
    height: 10rem;
    width: 10rem;
    border-radius: 50%;
    object-fit: cover;
    max-width: unset;
}

.d-flex > .staff-profile-image-thumb, .d-flex > .client-profile-image-thumb {
    min-height: 10rem;
    min-width: 10rem;
}

.client-profile-image-thumb {
    height: 10rem;
    width: 10rem;
    border-radius: 50%;
    object-fit: cover;
    max-width: unset;
}

/*------------- Staff and clients images -----------------*/

/*---------------DataTables-------------------*/
.dataTables_empty {
    padding-top: 25px !important;
    padding-bottom: 180px !important;
    text-align: left !important;
    color: #777777;
    font-size: 15px;
    background: url(../images/table-no-data.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 161px;
}

.table-loading {
    background: url(../images/table-loading.png);
    background-repeat: repeat-x;

    font-size: 60px;
}

.table-loading:before {
    margin: 30px 50%;

    content: "\F771";

    display: inline-block;
    font: normal normal normal 24px/1 "Material Design Icons";
    font-size: inherit;
    text-rendering: auto;
    line-height: inherit;
    -webkit-font-smoothing: antialiased;

    -webkit-animation: mdi-spin 2s infinite linear;
    animation: mdi-spin 2s infinite linear;
}

.dt-table-loading.table,
.table-loading table thead,
.table-loading table tbody,
.table-loading table tfoot,
.table-loading table tr,
.table-loading table td,
.table-loading table th,
.table-loading .dataTables_length,
.table-loading .dt-buttons,
.table-loading .dataTables_filter {
    opacity: 0 !important;
}

.app_dt_empty table {
    overflow-x: scroll;
}

.table th, .table td {
    padding: 0.7rem;
}

#subtotal .subtotal {
    white-space: nowrap;
}

.table td.sorting_1 {
    /*white-space: nowrap;*/
    /*min-width: 170px;*/
}

.table__header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    margin: 10px 0;
    font-size: 0.75rem;
}

.table__wrapper-main {
    width: 100%;
    /*overflow-x: auto;*/
}

/*.table__wrapper{*/
/*width: 100%;*/
/*overflow-x: auto;*/
/*}*/

/*.table-responsive{*/
/*overflow: visible !important;*/
/*}*/

.table__controls {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    margin-bottom: 10px;
    margin-right: 5px;
}

.table__controls span {
    white-space: nowrap;
}

.table__search {
    margin-bottom: 10px;
    flex: 1;
    min-width: 150px;
    display: flex;
    justify-content: flex-end;
}

.table__search label > div, .table__search label, .table__search input {
    height: 100%;
}

.table__search .onoffswitch {
    height: 20px;
}

.table__controls div.dt-buttons {
    margin-bottom: 0 !important;
    display: flex;
    flex-wrap: nowrap;
}

.table__length {
    margin-right: 5px;
}

.table__length * {
    height: 100%;
}

.table__footer {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

@media screen and (max-width: 1600px) {
    #small-table.col-md-5 .table__footer {
        flex-direction: column;
        align-items: center;
    }

    #small-table.col-md-5 .table__footer .dataTables_info {
        margin-bottom: 10px;
    }
}

div.dataTables_wrapper div.dataTables_info {
    padding-top: 0;
    /*white-space: nowrap;*/
}

.table__footer .page-link {
    line-height: 1;
}

.table thead th {
    white-space: nowrap;
    vertical-align: top;
    border-bottom: 0px solid #dee2e6;
    font-weight: 600;
}

.table.table-wrapped-heading thead th {
    white-space: normal;
}

table.dataTable thead .sorting:after, table.dataTable thead .sorting:before, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_asc_disabled:before, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_desc:before, table.dataTable thead .sorting_desc_disabled:after, table.dataTable thead .sorting_desc_disabled:before {
    top: .9em;
}

.task-overview__datatable thead th {
    white-space: normal;
    vertical-align: top;
}

.task-overview__datatable thead .sorting:before, .task-overview__datatable thead .sorting:after, .task-overview__datatable thead .sorting_desc:before, .task-overview__datatable thead .sorting_desc:after {
    top: 0.7em;
}

.table th {
    border-top: none;
    background-color: var(--light);
}

table.dataTable tbody tr td span:not([class^=flatpickr-]) {
    padding: 2px 4px;
    border-radius: 0.25rem;
    white-space: nowrap;
    line-height: 1;
}

table.dataTable tbody tr td span.label:not([class^=flatpickr-]) {
    font-size: 12px;
}

table.dataTable tbody tr td span.inline-block:not([class^=flatpickr-]) {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    min-height: 20px;
    height: fit-content;
}

table.dataTable .checkbox {
    position: relative;
    width: 18px;
    height: 18px;
}

table.dataTable .checkbox input {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
}

table.dataTable .checkbox label {
    position: absolute;
    width: 100%;
    height: 100%;
    padding-left: 0;
    margin-left: 0px;
}

table.dataTable .checkbox label:before {
    background-color: #fff;
    border-radius: 3px;
    border: 2px solid var(--gray);
    content: "";
    display: inline-block;
    height: 18px;
    left: 0;
    margin-left: 0px;
    position: absolute;
    transition: 0.3s ease-in-out;
    width: 18px;
    outline: none !important;
    top: 0px;
}

table.dataTable .checkbox input[type="checkbox"]:checked + label:before {
    /*background-color: var(--primary);*/
    /*border-color: var(--primary);*/
    background-color: #3185E3;
    border-color: #3185E3;
}

table.dataTable .checkbox input[type="checkbox"]:checked + label:after {
    content: "";
    position: absolute;
    top: 5px;
    left: 25px;
    display: table;
    width: 4px;
    height: 8px;
    border: 2px solid #fff;
    border-top-width: 0;
    border-left-width: 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.row-options {
    white-space: nowrap;
}

.btn-default-dt-options {
    border: 1px solid #5a6268;
}

table.dataTable > tbody > tr.child ul.dtr-details {
    width: 100%;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

table.dataTable > tbody > tr.child ul.dtr-details > li{
    padding: 0;
    border: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

table.dataTable > tbody > tr.child span.dtr-title,
table.dataTable > tbody > tr.child span.dtr-data
{
    white-space: normal;
    word-break: break-word;
}

table.dataTable > tbody > tr.parent,
table.dataTable > tbody > tr.child,
table.dataTable > tbody > tr.child:hover
{
    background-color: var(--light) !important;
}

table tr.child td.child{
    border-top: unset;
}

.dt-page-jump {
    /*margin-left: auto;*/
    margin-right: 1rem;
}

@media screen and (max-width: 767px) {
    .table__controls {
        justify-content: space-between;
        width: 100%;
        margin-right: 0px;
    }

    .table__search .dataTables_filter, .table__search label, .table__search .input-group {
        width: 100%;
    }

    table.dataTable > tbody > tr.child ul.dtr-details{
        flex-direction: column;
    }

    /*li.paginate_button.previous, li.paginate_button.next {*/
    /*display: inline-block;*/
    /*font-size: 1rem;*/
    /*border: 1px solid var(--primary);*/
    /*border-radius: 0.25rem;*/
    /*margin: 5px 0px;*/
    /*}*/
    li.paginate_button .page-link {
        padding: 0.25rem 0.5rem;
    }

    li.paginate_button.previous {
        /*margin-right: 5px;*/
    }

    li.paginate_button.next {
        /*margin-left: 5px;*/
    }

    .dataTables_paginate ul {
        text-align: center;
        /*display: block;*/
        margin: 0 0 0 !important;
    }

    .row-options {
        white-space: normal;
    }
}

@media screen and (max-width: 479px) {
    .table__controls {
        flex-wrap: wrap;
    }

    .table__length {
        margin-bottom: 5px;
    }

    .table__controls span {
        white-space: normal;
    }

    .table__footer {
        flex-direction: column;
        align-items: center;
    }

    .dataTables_info {
        margin-bottom: 10px;
    }
}

/*---------------DataTables-------------------*/

/*---------- Table row options ------------*/
table .row-options {
    padding: 2px 0 0;
    position: relative;
    left: -9999em;
    font-size: 16px;
}

table img ~ .row-options {
    margin-left: 36px;
}

table tr:hover td .row-options,
.mobile table tr td .row-options {
    position: static;
}

@media screen and (max-width: 768px) {
    table tr td .row-options,
    .mobile table tr td .row-options {
        position: static;
    }
}

/*---------- Table row options ------------*/

/*----------------Projects--------------------*/
.kanban__container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
}

.kanban__item {
    min-width: 125px;
    max-width: 20%;
    flex: 1;
    padding: 15px;
    border: 1px solid var(--primary);
    border-radius: 0.25rem;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.kanban__item--tasks {
    min-width: 200px;
}

._buttons--project {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
}

.no-wrap {
    white-space: nowrap;
}

._buttons--project a, ._buttons--project div {
    margin: 0px 2px 5px 2px;
}

._buttons--project a:first-child {
    margin-left: 0;
}

.project-percent {
    top: 30%;
}

.project_invoices {
    /*margin: -24px -36px;*/
}

.project_invoices > .col-md-12 {
   padding: 0;
}

table.table-timesheets tbody tr > td:first-child {
    white-space: nowrap;
}

table tbody span.badge {
    font-size: 12px;
    font-weight: 400;
    padding: .3em .7em .3em;
}

@media screen and (max-width: 769px) {
    .kanban__item {
        max-width: 125px;
        text-align: center;
        margin-right: 5px;
        margin-bottom: 5px;
    }
}

@media screen and (max-width: 481px) {
    .kanban__item {
        text-align: center;
        max-width: 100%;
    }

    .kanban__item--tasks {
        min-width: 150px;
        flex-basis: 45%;
        padding: 5px;
        flex: 1;
        max-width: 100%;
    }

    ._buttons--project a, ._buttons--project div {
        width: 100%;
    }
}

/*----------------Projects--------------------*/

/*------------------Tasks---------------------*/
/*._buttons--tasks {*/
/*display: flex;*/
/*flex-direction: row;*/
/*flex-wrap: wrap;*/
/*justify-content: space-between;*/
/*}*/

.modal-header.task-single-header[data-status="5"] {
    background: url('../images/task-finished-header-bg.png'),
    url('../images/task-finished-header-bg.png');
    background-position-x: 490px, 366px;
    background-repeat-x: no-repeat;
    background-color: #fff !important;
}
.modal-header.task-single-header[data-status="5"] small,
.modal-header.task-single-header[data-status="5"] a,
.modal-header.task-single-header[data-status="5"] h4,
.modal-header.task-single-header[data-status="5"] span
{
    color: black !important;
}

tr.tasks_table_marked_is_hot td:first-child,
tr.tasks_table_marked_is_important td:first-child
{
    position: relative;
}
tr.tasks_table_marked_is_hot td:first-child:after,
tr.tasks_table_marked_is_important td:first-child:after
{
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 5px;
}
tr.tasks_table_marked_is_hot td:first-child:after{
    background-color: var(--danger);
}
tr.tasks_table_marked_is_important td:first-child:after{
    background-color: var(--warning);
}
._buttons__left-side {
    margin-right: 5px;
    margin-bottom: 5px;
}

._buttons__left-side a {
    margin-right: 5px;
}

._buttons__right-side {
    margin-bottom: 5px;
}

._buttons__right-side a, ._buttons__right-side div {
    margin-left: 5px;
}

.task-summary .border-right:last-child {
    border-right: none !important;
}

.task-info h5 {
    font-size: 13px;
    font-weight: 400;
    color: inherit !important;
    word-break: break-all;
}

.task__checkbox {
    padding: 5px 15px 5px 5px;
    border-radius: 0.4rem;
}

.checklist__divider-container {
    padding-right: 15px;
    background: #fafafa;
    border-radius: 0.25rem;
}

.task__textarea {
    background-color: #fafafa;
}

.task__textarea.hr-checkboxes {
    width: 90%;
    text-align: center;
    font-weight: 700;
}

.checklist__divider-container:hover, .task__checkbox:hover, .task__checkbox:hover textarea[name="checklist-description"]:disabled {
    background: #eef2f4;
}

.checklist-checkbox label {
    height: 18px;
    margin-top: 2px;
}

.remove-checklist:hover {
    color: var(--danger) !important;
}

.save-checklist-template:hover {
    color: var(--blue) !important;
}

.task-info-inline-input-edit {
    color: inherit;
    margin-top: -1px;
    border: 0;
    outline: 0;
    padding: 0 !important;
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: unset;
}

table .task-info-inline-input-edit {
    text-decoration: underline dashed #bbb;
    text-decoration-thickness: 0px;
    text-underline-offset: 5px;
}

.task-info .task-info-inline-input-edit {
    text-decoration: underline dashed #bbb;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.task-user {
    position: relative;
}

.task-user .remove-task-user {
    position: absolute;
    left: 0;
    right: 0;
    top: 0%;
    transform: translateY(-19%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    text-align: center;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.task-user:hover .remove-task-user {
    opacity: 1;
}

.task-single-col-right {
    background-color: #F5F9FB;
    margin-top: -16px;
    padding-top: 16px;
    margin-bottom: -16px;
    padding-bottom: 16px;
}

.tasks-three-dots__popover .arrow:after {
    border-bottom-color: var(--light);
}

.popover-body ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.popover-item {
    /*display: block;*/
    padding: 0.375rem 1.2rem;
    clear: both;
    font-weight: 400;
    color: var(--secondary);
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.popover-item:hover, .popover-item:focus {
    color: #272e37;
    text-decoration: none;
    background-color: #f8f9fa;
}

@media screen and (max-width: 991px) {
    .task-single-col-right {
        margin-top: 0px;
        padding-top: 0px;
    }
}

.dropzone-task-comment-previews.dropzone-previews .dz-success-mark, .dropzone-task-comment-previews.dropzone-previews .dz-error-mark {
    display: none;
}

.task-attachment {
    overflow: hidden;
    padding: 10px;
    border-radius: 0.25rem;
}

.task-attachment .preview-image {
    overflow: hidden;
}

.task-attachment.highlight-bg {
    background: #F5F9FB;
}

@media screen and (max-width: 992px) {
    .task-user .remove-task-user {
        opacity: 1;
    }
}

.task__checkbox {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

textarea[name="checklist-description"] {
    /*position: absolute;*/
    resize: none;
    overflow: hidden;
    /*left: 25px;*/
    /*top: 0;*/
    font-size: 14px;
    width: 90%;
    border-radius: 3px;
    border: 0;
    outline: 0;
    padding-left: 5px;
}

@media screen and (max-width: 480px) {
    .task-info h5 {
        font-size: 16px;
    }
}

.text-medium {
    font-size: 0.9rem;
}

.text-medium-xs {
    font-size: 0.8125em;
}

ul.task__reminders {
    list-style: none;
    padding-left: 0;
}

.kan-ban__wrapper-secondary, .kan-ban__wrapper-main, .table__wrapper-secondary {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
}

.kan-ban__wrapper-secondary {
    height: 20px;
}

.kan-ban__scroll-secondary, .table__scroll-secondary {
    height: 20px;
    z-index: 0;
}

.kan-ban__scroll-main {
    overflow: hidden;
}

.task-info-heading .label {
    font-size: 12px;
    padding: 2px 3px;
    border-radius: .25em;
}

.task-info-heading .label-info {
    background: transparent;
    border: 1px solid var(--blue);
    color: var(--blue);
}

.task-comment-dropzone {
    padding: 50px;
    text-align: center;
    min-height: 120px;
    max-height: 120px;
}

.task-view__row {
    margin-right: -16px;
    margin-left: -16px;
}

.checklist-item-info {
    margin-top: -4px;
}

@media screen and (max-width: 1199px) {
    .task-summary .border-right:nth-child(even) {
        border-right: none !important;
    }

    .task-summary .border-right:nth-child(odd) {
        border-right: 1px solid #dee2e6 !important;
    }
}

@media screen and (max-width: 991px) {
    .task-view__row {
        flex-direction: column-reverse;
    }

    .task-single-col-right {
        margin-top: -10px;
        padding-top: 16px;
        margin-bottom: 2rem;
        padding-bottom: 0px;
    }
}

@media screen and (max-width: 575px) {
    .task-summary .col-12.border-right {
        border-right: none !important;
    }
}

@media screen and (max-width: 481px) {
    ._buttons__left-side, ._buttons__right-side {
        width: 100%;
        margin: 0;
    }

    ._buttons__left-side a, ._buttons__right-side a, ._buttons__right-side div {
        width: 100%;
        margin: 0;
        margin-bottom: 5px;
    }

    .comment-content {
        max-width: 280px;
    }
}

/*------------------Tasks---------------------*/

/*-----------------Calendar--------------------*/
.content--calendar {
    min-width: calc(100vw - 285px);
    max-width: calc(100vw - 45px);
}

.fc-center {
    margin-right: 10px;
    margin-left: 10px;
}

.fc-right {
    margin-bottom: 10px;
}

.fc-left {
    margin-bottom: 10px;
}

@media (max-width: 1023px) {
    .content--calendar {
        min-width: calc(100vw - 285px);
        max-width: calc(100vw - 55px);
    }
}

@media (max-width: 767px) {
    .content--calendar {
        min-width: calc(100vw - 20px);
        max-width: calc(100vw - 20px);
    }

    .fc-toolbar.fc-header-toolbar {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .fc-right {
        order: -1;
        width: 100%;
    }

    .fc-left {
        display: inline-block !important;
    }

    .fc-center {
        display: inline-block !important;
        order: -1;
        margin-right: 1rem !important;
    }

    .fc-toolbar h2 {
        font-size: 1rem;
        line-height: 1.25rem;
        text-transform: uppercase;
    }

    .fc-toolbar .fc-left, .fc-toolbar .fc-right, .fc-toolbar .fc-center {
        margin: 5px 0;
    }

    .fc-toolbar.fc-header-toolbar {
        margin-bottom: 0;
    }

    .fc-toolbar {
        margin: 0px 0 0px 0;
    }

    .fc button, .fc table, body .fc {
        font-size: 0.675rem;
    }

    .fc-view {
        margin-top: 0px;
    }
}

@media (max-width: 479px) {
    .content--calendar {
        min-width: unset;
        max-width: 100%;
    }
}

/*-----------------Calendar--------------------*/

/* for kanban and else */
.warning-bg {
    background: #FF6F00 !important;
    color: #fff !important;
    border: 1px solid #FF6F00 !important;
}

.success-bg {
    background: #84c529 !important;
    color: #fff !important;
    border: 1px solid #84c529 !important;
}

.primary-bg {
    background: #28B8DA;
    color: #fff !important;
    border: 1px solid #28B8DA;
}

.info-bg {
    background: #03A9F4 !important;
    color: #fff !important;
    border: 1px solid #03A9F4 !important;
}

.danger-bg {
    background: #FC2D42 !important;
    color: #fff !important;
    border: 1px solid #FC2D42 !important;
}

/* /for kanban and else */

.no-margin {
    margin: 0px !important;
}

.project_file_discusssions_area,
.project_file_area {
    overflow-y: scroll;
    height: 400px;
}

/* jquery-comments */
.jquery-comments [contentEditable=true]:empty:not(:focus):before {
    color: #a1b4cc;
    font-size: 14px;
}

.jquery-comments ul.navigation li,
.jquery-comments ul.main li.comment .actions > *,
.jquery-comments ul.main li.comment .name,
.jquery-comments .highlight-font-bold {
    font-weight: 500 !important;
}

.jquery-comments ul.main li.comment .name {
    color: #30b261;
}

.jquery-comments ul.main li.comment .wrapper .content {
    padding: 5px 0px 5px 0px;
}

.jquery-comments ul.navigation li {
    color: #30b261;
}

.jquery-comments .textarea-wrapper .control-row > span.upload {
    padding: 5px 20px;
    background-color: #7D838B;
}

.jquery-comments .highlight-background {
    background: var(--green) !important;
}

.jquery-comments .textarea-wrapper .control-row > span {
    padding: 5px 20px !important;
    border-radius: 4px;
}

.jquery-comments .textarea-wrapper .control-row {
    margin-top: 10px;
}

.jquery-comments ul.main li.comment .actions > * {
    color: #7C838B;
}

.jquery-comments ul.navigation .navigation-wrapper {
    padding: 10px 0px 0px 0px;
}

.jquery-comments ul.navigation {
    border-bottom: 1px solid #EFEFEF;
    margin-bottom: 1.5em;
}

.jquery-comments .textarea-wrapper {
    padding-left: 21px;
}

.jquery-comments .textarea-wrapper:before {
    border: 0px;
}

.jquery-comments .textarea-wrapper .textarea {
    border-radius: 3px;
    border: 1px solid #bfcbd9;
}

/* /jquery-comments */


.project_invoices .toggle-small-view,
.project_estimates .toggle-small-view {
    display: none;
}

.project_invoices .card {
    box-shadow: none;
}

body .project-task-name {
    background: url(../images/dragger.png) 13px 3px no-repeat;
    padding-left: 28px;
    cursor: move;
}

.project-card {
    box-shadow: none;
    margin-right: 5px;
    padding: 0;
}

.project-card-header {
    padding: 10px 1.5rem;
    height: 37px;
    margin-bottom: 0;
    background-color: #dbf2fd;
    font-weight: 500;
}

.project-kan-ban-step-indicator {
    width: 38px;
    height: 38px;
    position: absolute;
    top: -1px;
    right: -1px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    z-index: 39;
    background: url(../images/stage.svg) no-repeat top left;
}

.card.top_stats {
    border: 1px solid #eee;
}

.no-shadow {
    box-shadow: none;
    text-shadow: none;
}
#project_view_name{
    min-height: 41px;
}
#project_view_name .bootstrap-select button[data-id="project_top"], #project_view_name .bootstrap-select button[data-id="project_top"]:active, #project_view_name .bootstrap-select button[data-id="project_top"]:hover {
    border: 0 !important;
    font-size: 18px;
    padding-top: 0;
    font-weight: 500;
    white-space: normal;
    background: none;
    border: none;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    padding: 5px 10px 4px;
    /*line-height: 2;*/
    height: auto;
    text-transform: inherit;
}

/* Expenses */

.expenses-ribbon {
    top: -29px !important;
    right: -29px !important;
}

.expenses-tabs li a {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

@media screen and (max-width: 1100px) {
    .expenses-tabs {
        font-size: 13px;
        padding-left: 5px;
        padding-right: 5px;
        display: -webkit-box;
        /*overflow: auto;*/
    }
}

/* /Expenses */

/* Contracts */

.contracts-ribbon {
    top: -69px !important;
    right: -29px !important;
}

#contract_attachments .contract-attachment-wrapper {
    padding-bottom: 8px;
    border-bottom: 1px solid #F0F0F0;

    padding-top: 20px;
}

#contract_attachments .row {
    border-top: 1px solid #f0f0f0;

}

/* /Contracts */

/*--------------TICKETS---------------------*/

.tickets__bottom-toolbar {
    background-color: #fff;
    padding: 1rem 1.5rem;
}

.tickets-summary .border-right:last-child {
    border-right: none !important;
}

.save_predefined_reply_from_message {
    clear: both !important;
    float: right !important;
    margin-top: 11px !important;
    margin-right: 18px !important;
    font-size: 13px !important;
    cursor: pointer !important;
    white-space: normal !important;
    margin-left: 0.5rem !important;
}

.single-ticket-status-label {
    color: #fff;
}

.label.ticket-label {
    font-size: 13px;
    padding: 4px 8px;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border-radius: .25em;
    margin-right: 0.375rem;
}

.label.ticket-label.label-default {
    border: 1px solid #bfcbd9;
}

.label.ticket-label.label-info {
    background: transparent;
    border: 1px solid var(--blue);
    color: var(--blue);
}

.label.ticket-label.label-success {
    background: transparent;
    border: 1px solid var(--success);
    color: var(--success);
}

.label.ticket-label.label-danger {
    background: transparent;
    border: 1px solid var(--danger);
    color: var(--danger);
}

@media screen and (max-width: 767px) {
    .tickets-summary .border-right:nth-child(even) {
        border-right: none !important;
    }

    .tickets-summary .border-right:nth-child(odd) {
        border-right: 1px solid #dee2e6 !important;
    }

    .table__controls .dt-buttons .btn, .table__controls .dt-buttons .btn-group {
        margin-bottom: 0 !important;
    }
}

/*--------------TICKETS---------------------*/
@media screen and (max-width: 479px) {
    .content-page, .enlarged .content-page {
        padding: 0 5px !important;
        overflow-x: hidden;
    }
}

/*-------- Small tables ---------*/

@media (max-width: 1024px) {
    .s_table {
        overflow-y: scroll;
    }
}

@media (max-width: 768px) {
    .s_table {
        overflow-x: visible;
    }
}

@media only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px) {
    .s_table table,
    .s_table .table.items .main {
        margin-top: 0;
        margin-bottom: 35px;
        clear: both;
    }

    .s_table.table-responsive {
        padding: 0;
    }

    .s_table .table.items tbody > tr > td:not(:first-child) {
        display: inline-block;
        width: 100%;
    }

    /* Force table to not be like tables anymore */
    .s_table table,
    .s_table thead,
    .s_table tbody,
    .s_table th,
    .s_table td,
    .s_table tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    .s_table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    body.rtl .s_table thead tr {
        left: auto;
    }

    .s_table td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        /*padding-left: 20%;*/
    }

    .s_table td.dragger {
        display: none;
    }

    .s_table td:last-child {
        clear: both;
    }

    .s_table td:last-child button,
    .s_table td:last-child a {
        display: block;
        width: 100%;
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .s_table td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
    }

    .project-percent-col {
        margin-top: 25px;
    }
}

/*-------- Small tables ---------*/

/*-------- Invoices ---------*/
.payment-preview-wrapper {
    background: #84c529;
    padding: 15px;
    text-align: center;
    color: #fff;
    font-size: 16px;
}

/*-------- Invoices ---------*/

/*-------- Goals ---------*/

.goal-progress {
    text-align: center;
    position: relative;
}

.goal-percent {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    text-align: center;
    line-height: 40px;
    font-size: 50px;
}

table .goal-progress {
    display: inline-block;
}

table .goal-percent {
    font-size: 10px;
    text-align: center;
    left: 1px;
    top: 22px;
    line-height: 0;
}

/*-------- Goals ---------*/

/*-------- Personal Notes --------*/

.widget__item--notes {
    padding: 10px 0 10px 0;
    border-radius: 0.25rem;
    box-shadow: 1px 1px 5px #ececec;
    min-height: 45px;
    float: left;
    height: 100%;
    width: 100%;
    overflow-x: auto;
}

.notes-sortable.card-columns {
    column-count: 1;
}

@media screen and (min-width: 768px) {
    .notes-sortable.card-columns {
        column-count: 2;
    }
}

.notes-sortable .card {
    box-shadow: unset;
    -webkit-box-shadow: unset;
}

.notes-block  .notes-block__label {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    width: 100%;
    padding-left: 26px;
    position: relative;
}
.notes-block .note_content {
    max-height: 200px;
}

.notes-block  .notes-block__label:before {
    margin-left: 0;
}

.notes-block .notes-block__label:after {
    margin-left: 0;
    left: 6px !important;
}

.notes-block__dragger {
    position: absolute;
    left: 5px;
    top: 1px;
    cursor: move;
}

.notes_search_highlight {
    background-color: yellow;
}
.notes_search_highlight_active {
    background-color: #ff9632 !important;
}
.notes_search_block {
    position: relative;
}
.notes_search_label {
    display: block;
}
.notes_search_block_active {
    position: fixed;
    right: 50px;
    width: auto;
    z-index: 1000;
}
@media screen and (max-width: 1024px) {
    .notes_search_block_active {
        top: 80px;
    }
}
.notes_search_results span {
    font-size: 12px;
}
.notes_search_input_no_result {
    border-color: var(--danger) !important;
}
/*-------- /Personal Notes --------*/

/*-------- Surveys ---------*/

.survey_input_box_description {
    outline: 0;
    border: 1px solid #b1bbc4;
    border-radius: 6px;
    padding-left: 10px;
}

#survey_questions li .question:hover {
    border: 2px dashed #EAEAEA;
}

.question.form-group {
    padding: 25px;
    background: #FDFDFD;
    border: 2px solid #F1F1F1;
}

.question label a {
    font-size: 16px;
}

.question .box_area label:before {
    margin-top: 8px;
}

/*-------- Surveys ---------*/

.ui-state-highlight-kan-ban-kb {
    min-width: 96%;
    margin-left: 2%;
    margin-right: 2%;
    min-height: 120px;
    border: 3px dashed #fff;
    border-radius: 0.25rem;
    margin-bottom: 1.5rem;
}

.dd-nochildren .dd-placeholder {
    display: none;
}

.dd {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    max-width: 600px;
    list-style: none;
    font-size: 13px;
    line-height: 20px;
}

.dd-list {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dd-list .dd3-content {
    height: auto;
    border: none;
    padding: 8px 5px 8px 46px;
    background: var(--light);
    font-weight: 500;
}

.dd-list .dd-item[data-id^="divider"] .dd3-content {
    background: #e0e0e0;
}

.dd-list .dd-list {
    padding-left: 30px;
}

.dd-collapsed .dd-list {
    display: none;
}

.dd-item,
.dd-empty,
.dd-placeholder {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    min-height: 20px;
    font-size: 13px;
    line-height: 20px;
}

.dd-handle {
    display: block;
    height: 30px;
    margin: 5px 0;
    padding: 5px 10px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid #ccc;
    background: #fafafa;
    background: -webkit-gradient(linear, left top, left bottom, from(#fafafa), to(#eee));
    background: linear-gradient(to bottom, #fafafa 0%, #eee 100%);
    border-radius: 3px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.dd-handle:hover {
    color: var(--blue);
    background: #fff;
}

.dd-item > button {
    display: block;
    position: relative;
    cursor: pointer;
    float: left;
    width: 25px;
    height: 20px;
    margin: 5px 0;
    padding: 0;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    border: 0;
    background: transparent;
    font-size: 12px;
    line-height: 1;
    text-align: center;
    font-weight: bold;
}

.dd-item > button:before {
    content: '+';
    display: block;
    position: absolute;
    width: 100%;
    text-align: center;
    text-indent: 0;
}

.dd-item > button[data-action="collapse"]:before {
    content: '-';
}

.dd-placeholder,
.dd-empty {
    margin: 5px 0;
    padding: 0;
    min-height: 30px;
    border: 1px dashed #b6bcbf;
    border-radius: 0.25rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.dd-empty {
    border: 1px dashed #bbb;
    min-height: 40px;
}

.dd-dragel {
    position: absolute;
    pointer-events: none;
    z-index: 9999;
}

.dd-dragel > .dd-item .dd-handle {
    margin-top: 0;
}

.dd-dragel .dd-handle {
    -webkit-box-shadow: 2px 4px 6px 0 rgba(0, 0, 0, .1);
    box-shadow: 2px 4px 6px 0 rgba(0, 0, 0, .1);
}

.nestable-lists {
    display: block;
    clear: both;
    padding: 30px 0;
    width: 100%;
    border: 0;
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
}

#nestable-menu {
    padding: 0;
    margin: 20px 0;
}

#nestable-output,
#nestable2-output {
    width: 100%;
    height: 7em;
    font-size: 0.75em;
    line-height: 1.333333em;
    font-family: Consolas, monospace;
    padding: 5px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

#nestable2 .dd-handle {
    color: #fff;
    border: 1px solid #999;
    background: #bbb;
    background: -webkit-gradient(linear, left top, left bottom, from(#bbb), to(#999));
    background: linear-gradient(to bottom, #bbb 0%, #999 100%);
}

#nestable2 .dd-handle:hover {
    background: #bbb;
}

#nestable2 .dd-item > button:before {
    color: #fff;
}
/* leads sort */
.widget__item--leads-table-order {
    padding: 10px 0 10px 0;
    border-radius: 0.25rem;
    box-shadow: 1px 1px 5px #ececec;
    min-height: 45px;
    float: left;
    height: 100%;
    width: 100%;
    overflow-x: auto;
}

.leads-table-order-block  .leads-table-order-block__label {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 100px;
    /*padding-left: 26px;*/
    position: relative;
}
.leads-table-order-block p {
    white-space: pre-wrap;
    max-height: 200px;
}

.leads-table-order-block  .leads-table-order-block__label:before {
    margin-left: 0;
}

.leads-table-order-block .leads-table-order-block__label:after {
    margin-left: 0;
    left: 6px !important;
}

.leads-table-order-block__dragger {
    /*position: absolute;*/
    /*left: 5px;*/
    /*top: 1px;*/
    cursor: move;
}

.kan-ban-container.ui-sortable .ui-sortable-placeholder,
.kan-ban-sortable-container.ui-sortable .ui-sortable-placeholder {
    width: 340px;
}

.kan-ban-container.ui-sortable,
.kan-ban-sortable-container.ui-sortable{
    display: flex;
}

.leads-table-order-sortable .ui-sortable-placeholder {
    border: 2px dashed #ebebeb;
    border-radius: 0.25rem;
    background-color: #fff;
    height: auto;
    width: 100%;
    margin: 0.5rem 0;
    visibility: visible !important;
}

.table-order-block  .table-order-block__label {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 100px;
    position: relative;
}
.table-order-block p {
    white-space: pre-wrap;
    max-height: 200px;
}

.table-order-block  .table-order-block__label:before {
    margin-left: 0;
}

.table-order-block .table-order-block__label:after {
    margin-left: 0;
    left: 6px !important;
}

.table-order-block__dragger {
    cursor: move;
}

.table-order-sortable .ui-sortable-placeholder {
    border: 2px dashed #ebebeb;
    border-radius: 0.25rem;
    background-color: #fff;
    height: auto;
    width: 100%;
    margin: 0.5rem 0;
    visibility: visible !important;
}

/* end leads sort */
@media only screen and (min-width: 700px) {
    .dd {
        float: left;
        width: 48%;
    }

    .dd + .dd {
        margin-left: 2%;
    }
}

.dd-hover > .dd-handle {
    background: var(--blue) !important;
}

.dd3-content {
    display: block;
    height: 30px;
    margin: 5px 0;
    padding: 5px 10px 5px 40px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid #ccc;
    background: #fafafa;
    border-radius: 3px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.dd-dragel > .dd3-item > .dd3-content {
    margin: 0;
}

.dd3-item > button {
    margin-left: 30px;
}

.dd-collapse {
    margin-left: 30px !important;
}

.dd3-handle {
    position: absolute;
    margin: 0;
    left: 0;
    top: 0;
    cursor: pointer;
    width: 30px;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    background: var(--light);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-color: #e0e0e0;
}

.dd3-handle:before {
    content: '≡';
    display: block;
    position: absolute;
    left: 0;
    top: 3px;
    width: 100%;
    text-align: center;
    text-indent: 0;
    color: #fff;
    font-size: 20px;
    font-weight: normal;
}

.dd3-handle:hover {
    background: #ebf0f5;
}

.dd-handle {
    height: 40px;
}

.dd3-handle:before {
    color: #444444;
    top: 8px;
}

.dd3-empty {
    height: 1px;
}

.menu-options {
    border: 1px solid #dee2e6 !important;
    border-radius: 0.25rem;
    padding: 10px;
}

@media only screen and (min-width: 700px) {
    .dd {
        width: 100%;
    }
}

.dd-item > button:before {
    top: 10px;
}

.dd-item > button {
    height: 30px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.dd-item > button:nth-child(2) {
    margin-left: -5px;
}

#invoice-preview {
    background-color: var(--white);
    color: var(--secondary);
}

#invoice_preview_panes .dragger, #invoice-form .dragger, #proposal-form .dragger {
    position: relative;
    padding-left: 1.25rem;
}

#invoice_preview_panes .dragger:after {
    content: '☰';
    position: absolute;
    top: 11px;
    left: 0;
    width: 16px;
    height: 21px;
    text-align: left;
    cursor: move;
}

#invoice-form .dragger:after, #proposal-form .dragger:after {
    content: '☰';
    font-size: 1.5rem;
    color: #ced4da;
    position: absolute;
    top: 11px;
    right: 0;
    width: 22px;
    height: 32px;
    text-align: left;
    cursor: move;
}

@media screen and (max-width: 576px) {
    .staff_logged_time .card-box {
        padding: 1rem !important;
    }
}

@media screen and (max-width: 375px) {
    .staff_logged_time .card-box {
        padding: 0.5rem !important;
    }
}

.fc-task-done .fc-content {
    text-decoration: line-through;
}

.home-activity .table-responsive {
    display: block;
    max-height: 420px;
    overflow: auto;
}

.home-activity .table__wrapper-secondary {
    display: none;
}

/*
.dataTables_scrollHead {
    overflow: visible !important;
}
*/

.ribbon-box .ribbon-two {
    pointer-events: none;
}

.ribbon-box .ribbon-two > span {
    pointer-events: all;
}

.custom-field-inline-edit-link {
    float: left;
    margin-right: 5px;
}

.notification-list .notify-item .notify-details {
    white-space: normal;
}

.action-reply-comments {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;

    vertical-align: top;
    border-radius: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: rgba(0, 0, 0, 0);
    color: var(--blue);
    margin-right: 1em;
    line-height: 1.5em;
    font-size: 1em;
}

.action-reply-comments:hover {
    color: var(--green);
}

.tasks-comments blockquote, #task_activity_log blockquote {
    font-size: 14px;
    border-left: 2px solid #eee;
    padding: 10px 20px;
    margin: 0 0 20px;
}

.hidden-icon {
    visibility: hidden;
    opacity: 0;
}

.invoices__secondary-button--toggled {
    position: relative;
    cursor: pointer;
}

.invoices__secondary-button--toggled:hover {
    color: var(--green) !important;
    text-decoration: none;
}

.invoices__secondary-button--toggled:after {
    position: absolute;
    width: 22px;
    min-width: 105%;
    height: 20px;
    min-height: 105%;
    top: 50%;
    left: 50%;
    display: block;
    transform: translate(-50%, -50%);
    border-radius: 0.25rem;
    z-index: 0;
    border: 1px solid var(--blue);
}

.active.invoices__secondary-button--toggled:after {
    content: "";
}

.gpicker {
    opacity: 0;
}

.gpicker + div[id^="dropbox-chooser"] {
    float: right;
    margin-left: 5px;
}

.gpicker {
    height: 14px;
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 11px;
    color: #4c4c4c;
    text-decoration: none;
    padding: 1px 7px 5px 3px;
    border: 1px solid #ebebeb;
    border-radius: 2px;
    border-bottom-color: #d4d4d4;
    background: #fcfcfc;
    background: -webkit-gradient(linear, left top, left bottom, from(#fcfcfc), to(#f5f5f5));
    background: linear-gradient(to bottom, #fcfcfc 0%, #f5f5f5 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#f5f5f5',GradientType=0);
    line-height: 18px !important;
    text-decoration: none !important;
    box-sizing: content-box !important;
    -webkit-box-sizing: content-box !important;
    -moz-box-sizing: content-box !important;
}

/*----------RIGHTBAR-menu----------*/
.right-bar {
    width: 850px;
    right: 0;
    transform: translateX(100%);
    transition: 0.25s;
}

.right-bar-enabled .right-bar {
    transform: translateX(18px);
    transition: 0.5s;
}

.right-bar__container {
    display: flex;
    flex-direction: row;
    max-height: 100%;
    height: 100%;
}

.right-bar__left {
    flex: 1;
    height: 100%;
    background-color: #e9ebef;
    overflow-y: hidden;
    position: relative;
}

.right-bar__right {
    flex: 1.5;
    height: 100%;
    overflow-y: hidden;
}

.right-bar__category {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: calc(100% - 70px);
    flex-wrap: nowrap;
    padding-top: 35px;
    padding-left: 0px;
    padding-bottom: 35px;
    padding-right: 0px;
    list-style: none;
    position: relative;
}

.right-bar__left:after {
    content: "";
    position: absolute;
    height: 100%;
    width: 10px;
    right: 0;
    top: 73px;
    background-color: #fff;
}

.right-bar__category .category__item {
    padding-right: 10px;
    padding-left: 50px;
    transition: 0.25s;
    border-left: 0px solid rgba(255, 255, 255, 0);
}

.right-bar__category .nav-link {
    margin-bottom: -2px;
}

.right-bar__content {
    padding: 35px;
    padding-left: 17px;
    max-height: calc(100% - 70px);
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.right-bar__image {
    /*width: 25%;*/
    height: 150px;
    overflow: hidden;
    position: relative;
}

.right-bar__image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}

.right-bar__content .tab-pane {
    list-style: none;
}

.right-bar__article {
    padding: 10px 0;
}

#tab_perfectum_last_news .right-bar__article {
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 1.5rem;
    border-radius: 0.25rem;
    box-shadow: 0px 2px 5px #ebebeb;
}

.category__link {
    width: 100%;
    padding: 12px 0px;
    font-size: 14px;
    display: flex;
    align-items: center;
    font-weight: 500;
    font-family: "Roboto";
    text-transform: uppercase;
}
.category__link{
    color: #2B3643;
}
.category__item:hover {
    background-color: #fff;
    border-left-color: var(--green);
    /*border-left-width: 5px;*/
    transition: 0.25s;
}

.category__item.active {
    /*border-left-width: 5px;*/
    border-left-color: var(--green);
    background-color: #fff;
}

.category__item.active a {
    /*color: var(--green);*/
    color: #2B3643;
}

.category__img {
    /*filter: hue-rotate(50deg) brightness(0.9);*/
    width: 16px;
    height: auto;
    margin-right: 10px;
}

@media screen and (max-width: 1023px) {
    .right-bar {
        max-width: calc(100% + 18px);
        right: 0;
        transform: translateX(100%);
        transition: 0.25s;
    }
}

@media screen and (max-width: 575px) {
    .right-bar {
        max-width: calc(100% + 18px);
    }

    .right-bar__right {
        flex: 1;
    }

    .right-bar__left {
        background-color: #fff;
    }
}

/*----------RIGHTBAR-menu----------*/

.page-item.active .page-link {
    background-color: var(--blue);
    border-color: var(--blue);
}

.page-link:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.nav-tabs .nav-link.active {
    background-color: transparent !important;
}
.nav-bordered a.active {
    border-bottom: 2px solid var(--green) !important;
}
.top-lead-menu ul li .nav-link.active{
    border-bottom: 2px solid var(--green) !important;
}

.checkbox-primary input[type="checkbox"]:checked + label::before {
    background-color: var(--blue);
    border-color: var(--blue);
}

*:disabled:not(.btn):not(button), *.disabled:not(.btn):not(button) {
    background: repeating-linear-gradient(-45deg, #f1f5f7 0px, #f1f5f7 10px, #edf1f3 10px, #edf1f3 20px);
}
.disabled.tasks-table-start-timer, .disabled.tickets-table-start-timer {
    background: transparent !important;
}

.radio-primary input[type="radio"]:checked + label::before {
    border-color: var(--blue);
}

.radio-primary input[type="radio"]:checked + label::after {
    background-color: var(--blue);
}

.chart__legend {
    white-space: nowrap;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: var(--white);
    background-color: var(--blue);
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    color: var(--green);
}

.carousel-control-next, .carousel-control-prev {
    background: none;
    color: var(--green)
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%2330b261' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%2330b261' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3e%3c/svg%3e");
}

#widget-plugins .carousel-control-prev, #widget-plugins .carousel-control-next {
    height: 50px;
    top: 25%;
}

#widget-plugins .carousel-control-prev {
    justify-content: flex-start;
}

#widget-plugins .carousel-control-next {
    justify-content: flex-end;
}

div.dataTables_wrapper div.dataTables_paginate {
    display: inline-block;
}

.text-throught {
    text-decoration: line-through;
}

.fip-bootstrap.icons-selector {
    width: 100%;
}

.all-todos__filter {
    justify-content: flex-end;
}

._filter_data__text {
    display: none;
}

#small-table.col-md-5 .table__search {
    max-width: 50%;
}

.todo-name {
    text-overflow: ellipsis;
    overflow: hidden;
}

.fc-resource-cell {
    overflow: hidden;
}

#weekly-payment-statistics {
    margin-left: -15px;
}

#group_by_tasks_wrapper, #group_by_day_wrapper, #select_overtime_wrapper, .general-discount {
    align-items: center;
}

#main-messages-left {
    overflow: hidden;
}

#task-comments .media-body .comment-content a {
    word-break: break-all;
}

#small-table.col-md-5 .table__search .dataTables_filter {
    width: 100%;
}

a[role="option"] {
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-menu.show {
    max-width: 85vw !important;
}

.jquery-comments .commenting-field.main .control-row .send.save {
    background-color: var(--green) !important;
}

.jquery-comments ul.navigation li.active:after {
    background: var(--green) !important;
}

.input-group.date > input.form-control.picker--loading {
    background-color: #f1f5f7 !important;
    color: #f1f5f7 !important;
}

#task-comments .task-comment .comment-content {
    overflow: auto;
}

.select-placeholder select {
    padding: 0.45rem 0.9rem;
    background-color: #f1f5f7 !important;
    color: #f1f5f7;
    width: 100% !important;
    display: block !important;
    border: 1px solid transparent;
    border-radius: 0.15rem;
    font-size: 0.875rem;
    height: 37px;
    line-height: 1.5;
    overflow: hidden;
}

.select-placeholder select option {
    opacity: 0;
}

.select-placeholder .input-group select {
    padding: 0.45rem 0.9rem;
    background-color: #f1f5f7 !important;
    color: #f1f5f7;
    width: calc(100% - 43px) !important;
    display: block !important;
    border: 1px solid transparent;
    border-radius: 0.15rem;
    font-size: 0.875rem;
    height: 37px;
    line-height: 1.5;
}

.tagsinput {
    display: block;
    height: 20px;
    margin-bottom: 24px;
    background-color: transparent;
    margin-top: 7px;
    margin-left: 5px;
    border: 0;
    border-left: 1px dashed #b3b3b3;
}

.topnav__create .dropdown-item, .topnav__timers .dropdown-item, .todo-checkbox__control .dropdown-item {
    padding: 0.375rem 1.2rem;
}

.topnav__create .dropdown-item > a, .topnav__create .dropdown-item > span, .topnav__timers .dropdown-item > a, .topnav__timers .dropdown-item > span {
    width: unset;
    height: unset;
    padding: 0;
    display: inline;
}

.logo-box {
    overflow: hidden;
}

.logo {
    display: inline;
}

.logo img {
    max-height: 100%;
    display: unset;
}

.logo span.logo-lg {
    display: unset;
}

#wrapper {
    overflow: visible;
}

.dropdown-submenu > .dropdown-menu {
    max-height: 200px;
    overflow-y: auto;
}

#kan-ban-tab {
    overflow: hidden;
}

.horizontal-tabs--loading {
    color: var(--gray) !important;
    pointer-events: none;
}

.nav-bordered a.active.horizontal-tabs--loading {
    border-bottom: 2px solid #dee2e6 !important;
}

.dropdown-item .remove-history {
    width: auto;
    padding: 0;
}

.todo-priority-1 {
    border-left: 3px solid #808080 !important;
}

.todo-priority-2 {
    border-left: 3px solid #0000ff !important;
}

.todo-priority-3 {
    border-left: 3px solid #dc143c !important;
}

.todo-priority-4 {
    border-left: 3px solid #dc143c !important;
}

.checklist-priority-1 {
    border-left: 3px solid #808080;
}

.checklist-priority-2 {
    border-left: 3px solid #0000ff;
}

.checklist-priority-3 {
    border-left: 3px solid #dc143c;
}

.checklist-comment {
    border-left: 3px solid #ccc;
}

.checklist-online {
    border-right: 3px solid var(--success) !important;
}

.highlight_checklist {
    animation: highlight 3000ms ease-out;
}

@keyframes highlight {
    0% {
        background-color: var(--secondary);
    }
    100% {
    background-color: white; }
}
#invoice-form .table-responsive, #proposal-form .table-responsive{
    overflow: auto;
}

#notifications .notification-box-all > a {
    flex-shrink: 0;
}

#notifications .notification-box-all {
    overflow: hidden;
}

#availability_items-modal .modal-body .row > .col-md-12 {
    overflow-x: auto;
}
.clients__tab-category{
    overflow: hidden;
    margin-bottom: 5px;
    border-radius: 0.25rem;
}
.clients__tab-category:has(.customer_tab_divider:last-child) {
    display: none;
}
.clients__tab-category--accordion{
    max-height: 37px;
    position: relative;
}
.clients__tab-category-toggle{
    position: absolute;
    right: 10px;
    top: 18px;
    transform: translateY(-50%);
    height: 14px;
    width: 14px;
}
.clients__tab-category-toggle:hover{
    cursor: pointer;
}
.clients__tab-category > .customer_tab_divider > a {
    color: var(--secondary);
    font-weight: 500;
}
.clients__tab-category > .customer_tab_divider:hover > a {
    color: var(--green);
    cursor: pointer;
}
.clients__tab-category--accordion.active{
    max-height: 5000px;
}
.clients__tab-category--accordion.active > i{
    transform: rotate(180deg) translateY(50%);
}
.reports__tab-category{
    overflow: hidden;
    margin-bottom: 5px;
    border-radius: 0.25rem;
}
.reports__tab-category--accordion{
    max-height: 37px;
    position: relative;
}
.reports__tab-category-toggle{
    position: absolute;
    right: 10px;
    top: 18px;
    transform: translateY(-50%);
    height: 14px;
    width: 14px;
}
.reports__tab-category-toggle:hover{
    cursor: pointer;
}
.reports__tab-category > .report_tab_divider > a {
    color: var(--secondary);
    font-weight: 500;
}
.reports__tab-category > .report_tab_divider:hover > a {
    color: var(--green);
    cursor: pointer;
}
.reports__tab-category--accordion.active{
    max-height: 5000px;
}
.reports__tab-category--accordion.active > i{
    transform: rotate(180deg) translateY(50%);
}
.themes__tab-category{
    overflow: hidden;
    margin-bottom: 5px;
    border-radius: 0.25rem;
}
.themes__tab-category--accordion{
    max-height: 37px;
    position: relative;
}
.themes__tab-category-toggle{
    position: absolute;
    right: 10px;
    top: 18px;
    transform: translateY(-50%);
    height: 14px;
    width: 14px;
}
.themes__tab-category-toggle:hover{
    cursor: pointer;
}
.themes__tab-category .theme_tab_divider {
    color: var(--secondary);
    font-weight: 500;
}
.themes__tab-category .theme_tab_divider:hover {
    color: var(--green);
    cursor: pointer;
}
.themes__tab-category--accordion.active{
    max-height: 5000px;
}
.themes__tab-category--accordion.active > i{
    transform: rotate(180deg) translateY(50%);
}
.hc-theme_settings {
    display: flex;
    flex-wrap: wrap;
}
.hc-theme_setting-color {
    display: block;
    padding: 0 5px;
    width: 100px;
    border: 1px solid transparent;
}
.hc-theme_setting-color:hover {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}
.hc-theme_setting-color > label {
    display: block;
    position: relative;
    margin: 5px 10px;
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    border-radius:8px;
}
.hc-theme_setting-color > label > .hc-theme_split:before,
.hc-theme_setting-color > label > .hc-theme_split:after {
    content: " ";
    display: table;
}
.hc-theme_setting-color > label > .hc-theme_split {
    display: block;
}
.hc-theme_setting-color > label > .hc-theme_split:after {
    clear: both;
}
.hc-theme_setting-color > label > .hc-theme_split:before,
.hc-theme_setting-color > label > .hc-theme_split:after {
    content: " ";
    display: table;
}
.hc-theme_setting-color > label > input[type="radio"] {
    position: absolute;
    opacity: 0;
    visibility: hidden;
}
.hc-theme_setting-color > label > .hc-theme_setting-check {
    position: absolute;
    display: block;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    margin-top: -15px;
    margin-left: -10px;
    text-align: center;
    font-size: 1.33333333em;
    vertical-align: -15%;
    color: #fff;
    opacity: 0;
}
.hc-theme_setting-color > label > input[type="radio"]:checked + .hc-theme_setting-check {
    opacity: 1 !important;
}
.hc-theme_setting-color > label > .hc-theme_color {
    display: block;
    height: 18px;
}
.hc-theme_setting-color > label > .hc-theme_split > .hc-theme_color {
    display: block;
    height: 50px;
}
.hc-theme_setting-color > label > .hc-theme_split > .hc-theme_color:first-child {
    float: left;
    width: 70%;
}
.hc-theme_setting-color > label > .hc-theme_split > .hc-theme_color:last-child {
    float: right;
    width: 30%;
}
.hc-theme_bg-default-theme-left{
    background-color: #415165;
}
.hc-theme_bg-default-theme-right{
    background-color: #323a45;
}
.hc-theme_bg-default-theme-bottom{
    background-color: #626f80;
}
.hc-theme_bg-gray-dark {
    background-color: #1e1e2d;
}
.hc-theme_bg-white {
    background-color: #ffffff;
}
.hc-theme_bg-info {
    background-color: #0084c7;
}
.hc-theme_bg-info-light {
    background-color: #18c2f7;
}
.hc-theme_bg-info-dark {
    background-color: #0991ce;
}
.hc-theme_bg-green {
    background-color: #37bc9b;
}
.hc-theme_bg-green-light {
    background-color: #58ceb1;
}
.hc-theme_bg-green-dark {
    background-color: #2b957a;
}
.hc-theme_bg-purple {
    background-color: #7266ba;
}
.hc-theme_bg-purple-light {
    background-color: #9289ca;
}
.hc-theme_bg-purple-dark {
    background-color: #564aa3;
}
.hc-theme_bg-red {
    background-color: #f66262;
}
.hc-theme_bg-red-light {
    background-color: #f47f7f;
}
.hc-theme_bg-red-dark {
    background-color: #f34a4a;
}
.hc-theme_bg-orange {
    background-color: #fd5c23;
}
.hc-theme_bg-orange-light {
    background-color: #fd8357;
}
.hc-theme_bg-orange-dark {
    background-color: #f34507;
}
body.customer-profile.clients{
    overflow-y: scroll;
}
#invoice_preview_panes .sortable, .table-main-estimate-edit .sortable{
    background-color: #fff;
}
.project-menu-panel--loading{
    height: 43px;
    overflow: hidden;
    text-align: left;
    position: relative;
}
.project-menu-panel--loading:after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 0.25rem;
    background-color: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.child-no-margin > div.form-group{
    margin-bottom: 0;
}

@media screen and (min-width: 768px) {
    .child-margin-top > div.form-group{
        margin-top: 0.375rem !important;
    }
}

.tasks__project-filter{
    max-height: 42px;
}
.tasks__project-filter .dropdown-menu{
    right: 0 !important;
    left: auto !important;
    min-width: 250px !important;
}
.clients-filters .dropdown-menu{
    width: auto;
}
.top-stats__item{
    display: flex;
}
.top_stats_wrapper{
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 5px;
    padding-bottom: 5px;
}
#widget-invoices_overview .invoices-summary > .row > .col-xl-4{
    display: flex;
}
#widget-invoices_overview .col-xl-4 .invoices_overview_box{
    flex: 1;
    display: flex;
    flex-direction: column;
}
#widget-invoices_overview .col-xl-4 .invoices_overview_box .widget-chart{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media screen and (min-width: 768px) {
    .dropdown-menu.show {
        max-width: 700px !important;
    }
}

@media screen and (max-width: 374px) {
    #group_by_tasks_wrapper .onoffswitch, #group_by_day_wrapper .onoffswitch {
        width: 30px;
    }

    #group_by_tasks_wrapper .onoffswitch-label:before, #group_by_day_wrapper .onoffswitch-label:before {
        right: 10px;
    }

    #group_by_tasks_wrapper .onoffswitch-label:before, #group_by_day_wrapper .onoffswitch-label:before {
        right: 10px;
    }

    #group_by_tasks_wrapper .onoffswitch-checkbox:checked + .onoffswitch-label:before, #group_by_day_wrapper .onoffswitch-checkbox:checked + .onoffswitch-label:before {
        right: 0;
    }

    .navbar-custom .topnav-menu .nav-link {
        padding: 0 10px;
    }
}

@media screen and (max-width: 480px) {
    .topnav__settings {
        display: none;
    }

    .navbar-custom .topnav-menu .nav-link {
        padding: 0 10px;
    }
}


@media screen and (max-width: 1295px) {
    #small-table.col-md-5 .table__search {
        max-width: 100%;
    }
}

@media (min-width: 576px) {
    #small-table.col-md-5 .table__search .dataTables_filter .input-group {
        width: 100%;
    }
}

@media screen and (max-width: 374px) {
    .table__refresh {
        /*width: 100%;*/
    }

    .card-box {
        padding: 1rem;
    }

    .content-page, .enlarged .content-page {
        padding: 0 1px !important;
    }
}

@media screen and (max-width: 768px) {
    .widget-dragger {
        display: none;
    }

    .table__footer .dt-page-jump-select.form-control {
        padding: 0;
        height: 34px;
    }
    .fc-calendarFilter-button{
        vertical-align: top;
    }
    .fc-today-button {
        display: inline-block;
        float: right !important;
    }

    ._filter_data__text {
        display: inline-block;
    }

    .fc-resource-cell {
        overflow: hidden;
        font-size: 10px !important;
        font-weight: 400;
    }

    .float-alert {
        max-width: 300px !important;
    }
}

@media (max-width: 960px) {
    /*.fn-gantt .navigate {*/
    /*    padding: 5px;*/
    /*}*/

    /*.fn-gantt .nav-slider {*/
    /*    width: 100%;*/
    /*}*/

    /*.fn-gantt .navigate .nav-link {*/
    /*    border-radius: 0.25rem;*/
    /*    transform: scale(1);*/
    /*    padding: 8px;*/
    /*}*/

    /*.fn-gantt .navigate .nav-zoomOut {*/
    /*    margin: 0 0 0 15px;*/
    /*}*/

    .all-todos__filter {
        justify-content: flex-start;
    }
}

@media screen and (max-width: 1024px) {
    #kan-ban-tab {
        overflow: auto;
    }
    .activity-feed{
        max-height: 500px;
    }
    .activity-feed, .messaging-dropdown-list.noti-scroll, .slimscroll{
        overflow-y: auto;
        -webkit-overflow-scrolling: auto;
    }
    body.enlarged .left-side-menu{
        overflow-y: visible;
    }
}

.wizard-div {
    margin-top: 2px;
}

.wrapper {
    position:relative;
    margin:0 auto;
    overflow:hidden;
    padding:5px;
    min-height:100px;
    flex: 1;
}

.highlight_wizard-badge {
    -webkit-animation-name: highlight_wizard-badge-color;
    -webkit-animation-duration: 10s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -webkit-animation-delay: 0s;
}

@-webkit-keyframes highlight_wizard-badge-color {
    0% {
        background-color: var(--danger);
    }
    20% {
        background-color: var(--warning);
    }
    40% {
        background-color: var(--danger);
    }
}
.wizard-icon-badge {
    display: inline-block;
    -webkit-transform: translate(50%, -50%);
    position: absolute;
    text-align: center;
    right: 50%;
    list-style: none;
    margin: auto;
    bottom: 4px;
}

.container_modal {
    display: flex;
    justify-content: center;
    flex-direction: row;
}

.container_modal .scrtabs-tabs-fixed-container, .container_modal .wizard-scrollable-tabs, .container_modal .scrtabs-tab-scroll-arrow {
    height: 100px;
}

.container_modal .scrtabs-tab-scroll-arrow span {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.wizard-scrollable-tabs li{
    position:relative;
    text-align:center;
    cursor:grab;
    cursor:-webkit-grab;
    color:#efefef;
    vertical-align:middle;
    max-width: 150px;
    display: flex;
    justify-content: center;
    flex-direction: row;
}
.wizard-scrollable-tabs li a{
    display: flex;
    justify-content: center;
    flex-direction: column;
}

@media screen and (max-width: 767px) {
    .scroller-wizard-right,
    .scroller-wizard-left{
        display: inherit;
    }
}
@media screen and (max-width: 1625px) and (min-width: 1200px) {
    #wizard-button button {
        font-size: 0;
    }
    #wizard-button button span {
        font-size: 14px;
    }
}
@media screen and (min-width: 1626px){
    #wizard-button button i {
        display: none;
    }
}


.progress-bar-wizard {
    height: 30px;
}
.progress-wizard {position: relative;}

@media screen and (max-width: 1199px){
    #wizard-button{
        display: none;
    }
}

.progress-bar-title-wizard {
    position: absolute;
    text-align: center;
    line-height: 30px;
    overflow: hidden;
    color: #fff;
    right: 0;
    left: 0;
    top: 0;
}

.wizard_block_title {
    padding: 5px 15px 5px 12px;
}

body.enlarged #aside-menu-wrapper .slimscroll-menu-sidebar{
    overflow: visible !important;
}

#project_view_name {
    display: flex;
}

#project_view_name .filter-option-inner-inner {
    padding: 15px;
}
@media (max-width: 768px) {
    #project_view_name .filter-option-inner-inner {
        padding: 0px;
    }
}
#project_view_name .badge {
    height: 22px;
}

.report-selected-type {
    background-color: var(--light);
    cursor: pointer;
}

.report-selected-type:hover {
    background-color: #b4bcc7;
}

.report-type .selected{
    background-color: var(--blue);
}
.report-type > div{
    height: 100%;
}

.report-type .selected p, .report-type .selected h5{
    color: var(--white);
}
.jquery-comments .textarea-wrapper .control-row > span {
    margin-bottom: 5px;
}

@media screen and (max-width: 1359px){
    .plugin-profile__back_to_list{
        order: -1;
        width: 100%;
    }
}
@media screen and (max-width: 1279px){
    .plugin-profile__name {
        padding-left: 0;
        margin-right: 0px;
        width: 100%;
    }
    .plugin-profile__status {
        margin-right: 0px;
    }
    .plugin-profile__price{
        margin-top: 20px;
    }
}
@media screen and (max-width: 767px){
    .plugin-profile__name span.module-item h2{
        font-size: 24px;
    }
}

.multiIcons{
    position: relative;
    overflow: hidden;
}

.multiIcons:before{
    content: "";
    position: absolute;
    height: 1px;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%) rotate(-45deg);
    transform-origin: 50% 0;
    background-color: #fff;
}

#report-leads, #report-leads-staff {
    max-width: 100%;
}

.badge-red {
    color: var(--white);
    background-color: #9D1C2D;
}

a.badge-red:hover, a.badge-red:focus {
    color: var(--white);
    background-color: #9D1C2D;
}

a.badge-red:focus, a.badge-red.focus {
    outline: 0;
    -webkit-box-shadow: 0 0 0 0.2rem #9D1C2D;
    box-shadow: 0 0 0 0.2rem #9D1C2D;
}

.badge-orange {
    color: var(--white);
    background-color: var(--orange);
}

a.badge-orange:hover, a.badge-orange:focus {
    color: var(--white);
    background-color: var(--orange);
}

a.badge-orange:focus, a.badge-orange.focus {
    outline: 0;
    -webkit-box-shadow: 0 0 0 0.2rem var(--orange);
    box-shadow: 0 0 0 0.2rem var(--orange);
}

.filler{
    flex-grow:1;
    text-align:center
}
.horizontalmod .navigation-menu > li .submenu li a:hover, .horizontalmod .navigation-menu > li > ul > li.has-submenu:hover > a {
    color: var(--green);
}
.horizontalmod .navigation-menu > li{
    background-color: #fff;
}

.horizontalmod .screen-options-btn{
    top: 230px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;

    right: 15px;
    transform: translateY(-50%)  rotate(-90deg);
    transform-origin: center right;
}
.breadcrumb-navigation.horizontalmod .screen-options-btn {
    top: 290px;
}
#topnav{
    z-index: 1000;
}
.horizontalmod #topnav{
    top: 70px;
}
.horizontalmod .remove-margin-on-horizontal-view{
    margin-top: 0 !important;
}
.dashboard-options__checkboxes{
    display: flex;
    flex-wrap: wrap;
}
.dashboard-options__checkboxes div{
    flex-basis: 190px;
    margin-bottom: 5px;
    min-height: 34px;
}
.dashboard-options__checkboxes div label{
    cursor: pointer;
    line-height: 1.25;
}
.submenu-align-left > ul{
    left: unset !important;
    right: 0;
}
.submenu-align-left > ul:before{
    left: unset !important;
    right: 16px;
}
.calc_new_events_in_horizontal_menu{
    position: relative;
    /*margin-right: 25px;*/
}
.calc_new_events_in_horizontal_menu > span{
    position: absolute;
    right: 0;
    top: 0;
    transform: translate(110%, -50%);
}
.green-plus {
    width: 14px;
    display: inline-block;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 14px;
    box-sizing: content-box;
    text-align: center;
    text-indent: 0!important;
    font-family: 'Courier New',Courier,monospace;
    line-height: 14px;
    background-color: var(--success);;
}

.item_can_small li a span {
    display: none;
}

.item_can_small li:hover a span {
    display: unset;
}

.item_can_small li.active a span {
    display: unset;
}

.inactive {
    background-color: #e9e8ea;
}

.dd.inactive {
    background-color: #ffffff;
}


.leads-tab-has-submenu{
    position: relative;
    margin-left: auto;
    border-radius: 0.25rem;
    background-color: #f7f7f7;
    display: block;
}
.leads-tab-has-submenu ul{
     padding-left: 0;
     display: none;
     list-style: none;
     position: absolute;
     right: 0;
     top: 100%;
     min-width: 100%;
     box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.1);
     background-color: #fff;
     z-index: 2;
 }

.leads-tab-has-submenu ul li{
    white-space: nowrap;
    background-color: #fff;
}

.leads-tab-has-submenu:hover ul{
    display: block;
    margin-top: 10px;
}
.leads-tab-has-submenu:hover ul:before{
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 10px;
    top: 0;
    left: 0;
    transform: translateY(-10px);
}
.leads-tab-has-submenu:hover ul:after{
    content: '';
    display: block;
    position: absolute;
    width: 10px;
    height: 10px;
    top: 0;
    right: 15%;
    transform: translateY(-50%) rotate(-45deg);
    box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    z-index: -1;
}

.leads-tab-has-submenu-more{
    position: relative;
    border-radius: 0.25rem;
    background-color: #f7f7f7;
    display: block;
}

.leads-tab-has-submenu-more ul{
    padding-left: 0;
    display: none;
    list-style: none;
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 175%;
    box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    z-index: 2;
}

.leads-tab-has-submenu-more:hover ul{
    display: block;
    white-space: nowrap;
    margin-top: 10px;
}
.leads-tab-has-submenu-more:hover ul li{
    background-color: #fff;
}
.leads-tab-has-submenu-more:hover ul:before{
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 10px;
    top: 0;
    left: 0;
    transform: translateY(-10px);
}
.leads-tab-has-submenu-more:hover ul:after{
    content: '';
    display: block;
    position: absolute;
    width: 10px;
    height: 10px;
    top: 0;
    right: 15%;
    transform: translateY(-50%) rotate(-45deg);
    box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    z-index: -1;
}

.multi-tab{
    align-items: center;
}

.dt-loader {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    margin: -25px 0 0 -25px;
    border: 5px solid #f3f3f300;
    border-radius: 50%;
    border-top: 5px solid #666d73;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 992px) {
    .leads-tab-has-submenu .nav-link {
        width: 100%;
        overflow-x: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 768px) {
    .leads-tab-has-submenu {
        max-width: 35%;
        white-space: nowrap;
    }
}

.leads-tab-has-submenu .nav-link, .lead-modal .nav-tabs-horizontal .nav-link {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.leads-tab-change {
    border-radius: 0.25rem;
    background-color: #f7f7f7;
    display: block;
    background-color: var(--success);
    border-color: var(--success);
}

.leads-tab-change a {
    color: var(--white);
}

@media (min-width: 992px) {
    .lead-modal .row.multi-tab {
        margin-top: -12px;
    }
}

.table-leads .dtr-data, .table-leads .dtr-data .row-options  {
    display:inline-block;
    margin-left: 3px;
}


@media screen and (max-width: 1100px) {
    .contract .expenses-tabs, .contract-preview .expenses-tabs  {
        font-size: 13px;
        padding-left: 0px;
        padding-right: 0px;
        display: -webkit-box;
        /*overflow: auto;*/
    }
}
.contract .expenses-tabs, .contract-preview .expenses-tabs  {
    height: 31px;
}

.item_additional_languages_description, .item_language_name {
    font-weight: 600;
}

#table_leads_potential_profile th{
    padding-bottom: 0 !important;
}
#table_leads_potential_profile th > p{
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
/*#report-data .row > div{*/
    /*display: flex;*/
    /*flex-direction: column;*/
/*}*/
/*#report-data .row > div > .card-box{*/
    /*flex: 1;*/
/*}*/
#report-leads div.col-lg-6{
    display: flex;
    flex-direction: column;
}
#report-leads div.col-lg-6 div.card-box{
    flex: 1;
}

#report-tickets div.col-lg-6{
    display: flex;
    flex-direction: column;
}
#report-tickets div.col-lg-6 div.card-box{
    flex: 1;
}

#report-billing-all div.col-md-6{
    display: flex;
    flex-direction: column;
}
#report-billing-all div.col-md-6 div.card-box{
    flex: 1;
}

#report-sales-funnel div.col-md-6{
    display: flex;
    flex-direction: column;
}
#report-sales-funnel div.col-md-6 div.card-box{
    flex: 1;
}
#side-menu{
    margin-bottom: 0;
}
@media screen and (max-width: 1599px){
    #top_search {
        width: 200px;
        padding: 0 15px;
    }
    .navbar-custom .topnav-menu .nav-link {
        padding: 0 10px;
    }
    body {
        padding-bottom: 100px;
    }
    .open-customizer-horizontal i{
         margin-right: 0 !important;
     }
}
@media screen and (max-width: 1366px){
    #top_search {
        width: 140px;
        padding: 0 10px;
    }
}
.create__icon--small{
    display: none;
}
@media screen and (max-width: 1280px){
    .create__icon--small{
        display: inline-block;
    }
    .create__text, .create__icon--big{
        display: none;
    }
    /*#side-menu-horizontal #setup-menu-item span{*/
    /*    display: none;*/
    /*}*/
}
@media screen and (max-width: 1023px){

}
@media screen and (min-width: 768px){
    body:not(.horizontalmod) .footer{
        margin-left: 70px;
    }
}
@media screen and (max-width: 767px){
    .navbar-custom .button-menu-mobile {
        width: 40px;
    }
    .topnav__consultant{
        /*display: none;*/
    }
}
.task_comment_to_note:hover, .task_comment_to_note.marked {
    color: var(--warning);
}

.comment_in_note, #personal_notes-modal, .notes-block {
    word-break: break-word;
}

.table-rel-tasks thead th, .table-tasks thead th {
    white-space: normal;
}

.table-tasks tbody tr>td .table__header, .table-tasks tbody tr>td table thead {
    display: none;
}

.leads__top-controls{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    /*padding-right: 50px;*/
}
.leads__ribbon{
    position: relative !important;
    top: 0;
    right: 0;
    margin-bottom: 8px !important;
}
@media screen and (max-width: 768px){
    .leads__top-controls{
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding-right: 0px;
    }
}
@media screen and (max-width: 767px){
    .leads__ribbon{
        margin-top: 0px;
        margin-bottom: 15px !important;
        margin-right: -16px !important;
    }
}
/*------------- Top search on mobile -----------------*/
@media (max-width: 768px) {
    /*#top_search {*/
        /*width: 140px;*/
    /*}*/
}
@media (max-width: 767px) {
    /*#top_search {*/
        /*width: calc(100% - 174px);*/
    /*}*/
    #top_search {
        flex: 1;
    }
    .navbar-custom .topnav-menu .nav-link {
        padding: 0 10px;
    }
    .navbar-custom .button-menu-mobile {
        width: 30px;
        padding-left: 0;
    }
}
@media (max-width: 415px) {
    .navbar-custom .topnav-menu .nav-link {
        padding: 0 7px;
    }
    .notification-list .noti-icon {
        font-size: 20px;
        vertical-align: middle;
    }
    .logo-box {
        width: 60px!important;
    }
}
@media (max-width: 374px) {
    .navbar-custom .topnav-menu .nav-link {
        padding: 0 0px;
    }
    .logo-box {
        width: 36px !important;
    }
    .enlarged .logo-box {
        width: 36px !important;
    }
    .navbar-custom .button-menu-mobile {
        width: 28px;
        padding-left: 0;
        padding-right: 0;
    }
    /*#top_search {*/
        /*width: calc(100% - 129px);*/
    /*}*/
}
/*------------- Top search on mobile -----------------*/
@media screen and (max-width: 560px) {
    #container_canvas {

        display: none;

    }
    #container_canvas2 {

        display: none;

    }
}


.nav_tabs_task_single .nav-link.active {
    background-color: transparent !important;
}

.advanced_search_tasks {
    border-left-width: 2px;
    border-left-style: solid;
}

.task_comment_not_seen, .task_log_activity_old {
    background-color: var(--light);
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.task_log_activity_old {
    padding: 0.5rem;
}

#task-comments .task-comment  {
    border-radius: 5px;
    padding: 0.5rem;
}
#navigation.active .badge {
    margin-left:auto;
}
#navigation.active .has-submenu .submenu .badge {
    margin-left: auto;
}
.notification_group_additional .notification-wrapper {
    padding: 12px 20px 12px 40px;
}

.lead-kan-ban {
    /*min-height: 250px;*/
    height: auto !important;
}

.lead-kan-ban .card-body.lead-body {
    height: auto;
}

.lead-kan-ban-progress {
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
}

.lead-kan-ban-progress > * {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.lead-kan-ban-progress > .progress {
    -webkit-box-flex: 0;
    -ms-flex: 1 1 calc(50% - 5px);
    flex: 1 1 calc(50% - 5px);
    max-width: 100%;
}

.lead-modal .nav-bordered {
    border-bottom-color: #00000000 !important;
}

.tags-labels span {
    display: inline-block;
}

#notifications_global_settings > .form-group .collapse h5 > span{
    font-size: 0.9em;
}
#notifications_global_settings > .form-group .col-md-4 > div > div{
    padding-left: 8px;
    transition: 0s;
}

@media screen and (max-width: 1125px){
    .modal-dialog{
        margin: 4vh auto;
    }
}

#finance-summary-proposal, #finance-summary-invoice, #leads_status_stats_preloader {
    position: relative;
}
.finance-summary__container{
    display: flex;
    flex-direction: column;
}
.finance-summary__container #finance-summary-proposal, .finance-summary__container #finance-summary-invoice{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#finance-summary-proposal .mdi-loading, #finance-summary-invoice .mdi-loading, #leads_status_stats_preloader .mdi-loading{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, 50%);
}

.permission-table .permission-checkbox {
    padding-left: 0.375rem !important;
}
.navigation-menu > li .submenu {
    width: max-content;
}

.calendar-overlay {
    position: absolute;
    width: 100%;
    top:0;
    left: 0;
    height: 100%;
    z-index: 99;
    opacity: 0.5;
    background: #fefefe;
}
.fc-event {
    text-align: left !important;
}
.fc-content{
    flex-direction: column;
}
.fc-time-grid-event .fc-time, .fc-time-grid-event .fc-title{
    margin-left: 0 !important;
    text-overflow: ellipsis;
}

.input-group.date .flatpickr-wrapper{
    flex: 1;
}

@media screen and (max-width: 768px) {
    .task-single-col-right {
        margin-bottom: .5rem;
    }
}
.lead-information-col p {
    word-break: break-word;
}

.bootstrap-select.dropstart > .dropdown-menu.show {
    right: 0;
    left: auto !important;
}

.bootstrap-select .dropdown-menu li a {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.375rem 1.2rem;
    flex-direction: row-reverse;
}

.bootstrap-select .dropdown-menu li a:not(.opt) {
    padding: 0.375rem 1.2rem;
}

.bootstrap-select .dropdown-menu li a span.text {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

.bootstrap-select .dropdown-menu li a:not(.opt) span.text {
    padding: 0;
}

.bootstrap-select.show-tick .dropdown-menu li a:not(.opt) span.text {
    padding-right: 14px;
}

.bootstrap-select .dropdown-menu li a span.text:empty:before {
    content: '\00a0';
}

.all-todos__filters {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}
.all-todos__filter{
    margin-left: 50px;
}
.tasks__widgets{
    display: flex;
    flex-wrap: nowrap;
    overflow: auto;
}
.tasks__widgets > div{
    flex-basis: 20%;
    min-width: 20%;
    max-width: 50%;
    flex-shrink: 0;
}
@media (min-width: 1280px){
    .tasks__widgets > div:first-child{
        padding-left: 0 !important;
    }
    .tasks__widgets > div:last-child{
        padding-right: 0 !important;
    }
}

@media (max-width: 1279px){
    .tasks__widgets{
        display: flex;
        flex-wrap: wrap;
        margin-left: -0.375rem;
        margin-right: -0.375rem;
    }
}
#project_view_name .filter-option-inner-inner{
    padding: 0;
}
#project_view_name .bootstrap-select .dropdown-toggle {
    text-align: left;
}
#project_view_name .bootstrap-select .dropdown-toggle:before {
    transform: translateX(15px);
}
.tickets__settings-lanel{
    height: 42px;
    display: flex;
    align-items: flex-end;
}
html.stop-scroll{
    overflow: hidden;
}
html.stop-scroll body{
    overflow: hidden;
}

.scrtabs-allow-scrollbar .scrtabs-tabs-fixed-container{
    overflow-x: hidden;
}

.project .table-responsive tbody tr td:first-child > div > a.mr-1{
    display: inline-block;
    width: 20px;
}
.notification-icon__container{
    display: flex;
    list-style: none;
    float: left;
    padding-left: 0;
    overflow-x: hidden;
}
.noti-more--left,.noti-more--right{
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6px;
    opacity: 0;
    transition: 0.25s;
}
.noti-more--left.show,.noti-more--right.show{
    opacity: 1;
    transition: 0.25s;
}
.noti-more--left:before{
    content: '\F141';
    font-family: 'Material Design Icons';
    font-size: 16px;
    line-height: 1;
    color: #ffffffb3;
}
.noti-more--right:before{
    content: '\F142';
    font-family: 'Material Design Icons';
    font-size: 16px;
    line-height: 1;
    color: #ffffffb3;
}
.side-menu-vertical{
    list-style: none;
    padding: 0;
    width: 70px;
    padding-bottom: 120px;
    padding-top: 1px;
    margin-bottom: 0;
    height: 100%;
    /*overflow-y: auto;*/
    /*overflow-x: hidden;*/
}
#aside-menu-wrapper, .side-menu-vertical {
    background-color: #2B3643;
}
.side-menu-vertical a{
    color: #fff;
}

.left-side-menu--vertical{
    width: 70px;
    background: var(--white);
    bottom: 0;
    padding: 0;
    position: fixed;
    -webkit-transition: all 0.5s ease 0s;
    transition: all 0.5s ease 0s;
    top: 70px;
    z-index: 101;
}
.left-side-menu--vertical.wide{
    width: 290px;
}
.left-side-menu--vertical #navigation{
    position: static;
    overflow-y: auto;
    overflow-x: hidden;
}
@media (max-width: 767px){
    .left-side-menu--vertical #navigation .side-menu-vertical{
        min-height: calc(100% + 300px);
    }
}

.left-side-menu{
    width: 70px;
    margin-left: 0px;
    list-style: none;
    padding: 0;
    transition: 0s;
    /*height: 100%;*/
    z-index: 102 !important;
}
.left-side-menu:before, .left-side-menu--vertical:before {
    content: "" !important;
}
#sidebar-menu > ul > li > a {
    color: #6e768e;
    font-size: .95rem;
    padding: 6px 15px;
    border-radius: 3px;
    margin: 3px 5px;
    line-height: 1.5;
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    border-right: none!important;
}
#sidebar-menu .menu-arrow{
    position: static;
    margin-left:auto;
}
#sidebar-menu > ul > li > a > span {
    font-family: "IBM Plex Sans", sans-serif;
    vertical-align: initial;
}
.nav-second-level li a, .nav-thrid-level li a {
    /* padding: 8px 20px; */
    padding: 0;
    color: #6e768e;
    display: block;
    position: relative;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    font-size: 0.875rem;
}
#sidebar-menu .nav-second-level, #sidebar-menu .nav-thrid-level, #sidebar-menu .submenu--third-level {
    list-style: none;
    padding-left: 15px;
}
#aside-menu-wrapper .nav-second-level, #aside-menu-wrapper .nav-thrid-level, #aside-menu-wrapper .submenu--third-level {
    list-style: none;
    padding-left: 15px;
}
.nav-second-level > li a, .nav-thrid-level > li a, .submenu--third-level > li a {
    padding: 8px 20px;
}
.nav-second-level li a:before, .nav-thrid-level li a:before {
    content: none;
}
#sidebar-menu > ul > li {
    min-height: 40px;
    flex-shrink: 0;
}
#sidebar-menu > ul > li > a > i {
    display: inline;
    position: static;
    margin-left: 0;
    line-height: 1;
    width: auto;
}
#sidebar-menu > ul > li.menu-title > span {
    font-family: "Roboto", sans-serif;
    line-height: 1.1;
}

.enlarged .left-side-menu--vertical{
    width: 70px;
}

.left-side-menu--vertical > div{
    height: 100%;
}

.vertical-menu__item--parent, .side-menu-vertical > li{
    text-align: center;
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin: 12px auto;
    padding: 0;
    border-radius: 4px;
}
.vertical-menu__item--parent > a, .side-menu-vertical > li > a{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.side-menu-vertical > li > a > span:not(.badge){
    display: none;
}
.side-menu-vertical > li > a > span.badge{
    position: absolute;
    right: -4px;
    top: -4px;
}
.side-menu-vertical > li > a > i{
    font-size: 22px;
    margin-right: 0 !important;
}
.vertical-menu__item--parent > ul{
    position: absolute;
    width: 220px;
    top: 0;
    left: 70px;
    height: 100%;
    display: none;
    list-style: none;
    padding: 30px 5px !important;
    padding-bottom: 120px !important;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: #fff;
    transition: 0.4s;
    box-shadow: 0 0 35px 0 rgba(154,161,171,.15);
}
#setup-menu .vertical-menu__item--parent > ul.collapse:not(.in){
    padding: 0 !important;
    height: 0 !important;
}
.side-menu-vertical h5.menu-title {
    color: #adb5bd!important;
    margin: 0;
    padding: 10px 20px;
    letter-spacing: .05em;
    font-size: .7rem;
    text-transform: uppercase;
    font-weight: 500;
    text-align: left;
}
.side-menu-vertical .vertical-menu__item--parent > ul > li{
    min-height: 40px;
    flex-shrink: 0;
}
.side-menu-vertical .vertical-menu__item--parent > ul > li > a, .vertical-menu__item--parent .menu_tasks_marked_list__link{
    color: #6e768e;
    font-size: .95rem;
    padding: 6px 15px;
    border-radius: 3px;
    margin: 3px 5px;
    line-height: 1.5;
    display: flex;
    align-items: baseline;
}
.side-menu-vertical .vertical-menu__item--parent > ul > li > a > small{
    line-height: 1;
}
.side-menu-vertical .vertical-menu__item--parent > ul > li > a:hover, .vertical-menu__item--parent .menu_tasks_marked_list__link:hover{
    color: #30b261;
}
body.sidebar-enable .vertical-menu__item--parent.active > ul{
    display: flex;
}
@media screen and (max-width: 767px){
    .vertical-menu__item--parent.active-mobile > ul{
        display: flex;
     }
}
.vertical-menu__item--parent.active{
    background-color: rgba(255,255,255,.12);
}
.content-page {
    margin-left: 70px;
}
.pinned-projects__container > ul{
    position: absolute;
    width: 220px;
    top: 0;
    left: 70px;
    height: 100%;
    display: none;
    list-style: none;
    padding: 30px 5px;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}
.side-menu-vertical .pinned-projects__container > ul > .pinned_project{
    /*height: auto;*/
    text-align: left;
    margin-bottom: 10px;
    padding: 0 !important;
}
.side-menu-vertical .pinned-projects__container > ul > .pinned_project small{
    line-height: 1.25;
    display: block;
}
#aside-menu-wrapper.hide-submenu .side-menu-vertical > li > ul{
    display: none;
}

.left-side-menu--vertical .arrow-down, .left-side-menu .arrow-down{
    -webkit-transition: -webkit-transform .15s;
    transition: -webkit-transform .15s;
    transition: transform .15s;
    transition: transform .15s, -webkit-transform .15s;
    position: static;
    right: 20px;
    display: inline-block;
    font-family: 'Material Design Icons';
    margin-left:auto;
    text-rendering: auto;
    line-height: 1.25rem;
    font-size: 1.1rem;
    -webkit-transform: translate(0, 0);
    transform: translate(0, 2px);
}
.left-side-menu--vertical .badge+.arrow-down, .left-side-menu .badge+.arrow-down{
    margin-left: 0;
}
.left-side-menu--vertical .arrow-down:before, .left-side-menu .arrow-down:before{
    content: "\F142";
}
.left-side-menu--vertical li.active> a > .arrow-down, .left-side-menu li.active> a > .arrow-down{
    transform: rotate(90deg);
}
.submenu--third-level{
    display: none;
}
.side-menu-vertical .submenu--third-level a{
    color: #6e768e;
    display: block;
    line-height: 1.5;
}
.side-menu-vertical .submenu--third-level a:hover{
    color: #30b261;
}
#setup-menu > li > a >.arrow-down{
    display: none;
}
.has-submenu.active > .submenu--third-level{
    display: flex;
    flex-direction: column;
    list-style: none;
    padding-left: 15px;
}
#sidebar-menu .menu-title {
    color: #adb5bd!important;
    margin: 0;
    padding: 10px 20px;
    letter-spacing: .05em;
    font-size: .7rem;
    text-transform: uppercase;
    font-weight: 500;
    text-align: left;
    background: transparent;
    min-height: auto;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
#sidebar-menu .menu-title:not(:first-child) {
    margin-top: 10px;
}
#sidebar-menu span.aside_collapse_badge {
    font-size: 100% !important;
    margin-top: 0px !important;
    margin-right: 2px;
}
.side-menu-vertical .pinned-projects__container .arrow-down{
    display: none;
}
.connected_projects > .pinned_project > a{
    display: flex !important;
    align-items: baseline;
    padding: 6px 15px;
}
.connected_projects > .pinned_project > a small{
    line-height: 1.25;
}
@media screen and (min-width: 768px){
    body.enlarged {
        min-height: auto;
    }
    .button-menu-mobile{
        display: none !important;
    }
    #side-menu-vertical .vertical-menu__user{
        display: none;
    }
}
@media screen and (max-width: 767px){
    #navigation{
        display: flex;
        top: 0;
        height: 100%;
        overflow: visible;
    }
    #aside-menu-wrapper{
        display: none;
    }
    body.sidebar-enable #aside-menu-wrapper{
        display: block;
    }
    body:not(.sidebar-enable) #setup-menu-wrapper{
        display: none !important;
    }
    .content-page, .enlarged .content-page {
        margin-left: 0px !important;
        padding: 0 10px;
    }
}

#navigation > ul:not(.side-menu-vertical) > li > a > span.badge{
    margin-top: -13px;
    position: absolute;
    right: 5px;
}
#navigation > ul > li > ul > li > a > span.badge{
    margin-top: 3px;
}
.active-mobile{
     background-color: rgba(255,255,255,.12);
 }
.accounting-template .s_table table.table td{
    padding-left: 5px;
    padding-right: 5px;
}
.horizontal-scrollable-tabs + .row{
    width: 100%;
}

@media screen and (max-width: 1199px){
    .all-todos__filters{
        justify-content: flex-start;
    }
    .all-todos__filter{
        margin-left: 0px;
        margin-right: 40px;
        margin-bottom: 10px;
        flex-shrink: 0;
    }
    .tasks__widgets > div{
        flex-basis: 33.333%;
        min-width: 33.333%;
        max-width: 33.333%;
        flex-shrink: 0;
    }
    .tasks__widgets > div:last-child{
        max-width: 100%;
        flex: 1;
    }
    .tasks__widgets > div:last-child:nth-child(odd) .task__image--desktop{
        flex: 0 0 16.66667% !important;
        max-width: 16.66667% !important;
    }
    .invoice__table .pagination .paginate_button:not(.previous):not(.active):not(.next){
        display: none;
    }
}
@media screen and (max-width: 1023px){
    .tasks__widgets > div{
        flex-basis: 50%;
        min-width: 50%;
        max-width: 50%;
        flex-shrink: 0;
    }
    .scrtabs-allow-scrollbar .scrtabs-tabs-fixed-container{
        overflow-x: auto;
    }
    .tasks__widgets > div:last-child:nth-child(odd){
        max-width: 100%;
        flex: 1;
    }
    .notification-icon__container{
        max-width: 400px;
    }

    .max-w-auto--mobile{
        min-width: auto !important;
        max-width: initial !important;
    }

}
@media (max-width: 768px){
    body.horizontalmod #navigation{
        display: none;
    }
}
@media screen and (max-width: 767px){

    .notification-icon__container{
        max-width: 300px;
    }
    .all-todos__filters{
        flex-direction: column;
        align-items: flex-start;
    }
    .tasks__widgets > div:last-child:nth-child(odd) .task__image--mobile{
        flex: 0 0 16.66667% !important;
        max-width: 16.66667% !important;
    }
    #project_view_name .bootstrap-select .dropdown-toggle {
        padding: 0;
    }
    .btn-bottom-toolbar__container .btn-group{
        width: 100%;
    }
    .btn-bottom-toolbar__container .btn-group > .dropdown-toggle{
        flex: 0;
    }
    .navbar-custom .horizontal-user-info{
        display: none;
    }
}
@media screen and (max-width: 375px) {
    .notification-icon__container {
        max-width: 200px;
    }
}
@media screen and (max-width: 374px) {
    .notification-icon__container {
        max-width: 200px;
    }
}
/*////////////////////version 3.6.3//////////////////////*/

.menu_tasks_marked__wrapper {
    white-space: inherit;
    overflow-y: auto;
    overflow-x: hidden;
}

#topnav .menu_tasks_marked__wrapper {
    width: 300px !important;
}

#topnav .menu_tasks_marked_list__timer {
    padding-right: 0;
}

#topnav .menu_tasks_marked__header, #topnav .menu_tasks_marked__empty {
    margin-left: 20px;
}

#side-menu-vertical .menu_tasks_marked__empty {
    padding: 0 20px;
    text-align: left;
    line-height: 1.5;
}

#topnav .menu_tasks_marked_list__link {
    padding-left: 0 !important;
    padding-right: 12px !important;
}

#topnav .menu_tasks_marked__wrapper {
    max-height: 345px;
}

.table_search_wrapper .table__header_text {
    margin: 10px 0;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    color: var(--gray-dark);
    font-size: 0.9375rem;
}

#aside-menu-wrapper-horizontal .menu_tasks_marked__icon {
    padding: 20px 15px 20px 15px !important;
    font-size: 15px !important;
}

.menu_tasks_marked_list__link {
    flex-grow: 1;
    display: block;
    margin: 0 !important;
    white-space: normal !important;
}

.vertical-menu__item--parent .menu_tasks_marked_list__link {
    display: flex;
}

#search_results .search_row :first-child, #search_results .search-header {
    padding-left: 8px;
}

#search_results .search_row :last-child, #search_results .search-header {
    padding-right: 8px;
}


#search_results .search_col {
    padding-right: 5px;
    padding-left: 5px;
}

.table__radio-container{
    width: 100%;
    display: flex;
    justify-content: flex-end;
}
.table__radio-container > div{
    align-items: center;
}

.checkbox__content{
    border-radius: 0.4rem;
    width: 100%;
    display: flex;
}
.checkbox__content-wrapper{
    display: flex;
    flex: 1;
}
.checkbox__controls label{
    cursor: pointer;
    padding-left: 3px;
}
.checkbox__text{
    display: flex;
    align-items: flex-start;
    flex: 1;
    background-color: #fafafa;
    border-radius: 3px;
    border: 0;
    outline: 0;
    padding-left: 5px;
}

.task-checkbox .checkbox-dragger, .multi .checkbox-dragger{
    color: #ced4da;
}

.task-checkbox .checkbox-dragger,
.task-checkbox .tasks-comment-tippy[data-original-title=""],
.task-checkbox .tasks-comment-tippy[title=""],
.task-checkbox .tasks-assignee-tippy{
    opacity: 0;
}
.task-checkbox:hover .checkbox-dragger, .checkbox-dragger:hover{
    opacity: 1;
    cursor: move;
}
.task-checkbox:hover .tasks-comment-tippy, .tasks-comment-tippy:hover,
.task-checkbox:hover .tasks-assignee-tippy, .tasks-assignee-tippy:hover{
    opacity: 1;
}
.multi-checkbox__wrapper:hover{
    background: #eef2f4;
}


.multi{
    background: #f6f6f6;
    border: 1px solid rgb(236, 237, 239);
    border-radius: 6px;
}
.multi .checkbox__text, .multi__header{
    background: #f6f6f6;
}

@media screen and (max-width: 1023px){
    .table__radio-container{
        flex-direction: column;
        align-items: flex-end;
    }
}

#ui-checkbox-sortable.disable_hr_placeholders .multi .ui-sortable-placeholder,
#ui-pretask-checkbox-sortable.disable_hr_placeholders .multi .ui-sortable-placeholder{
    display: none !important;
}

.bootstrap-select .dropdown-menu li a.opt {
    position: relative;
}
.bootstrap-select.show-tick .dropdown-menu .selected span.check-mark {
    right: 0px;
    position: absolute;
    display: inline-block;
    top: 5px;
    width: 30px;
}
.dropdown-item > a, .dropdown-item > span {
    height: unset;
    padding: 0.375rem 1.2rem;
    display: inline-block;
}


.header-currency-edit{
    display: none;
}

.header-currency-wrap:hover .header-currency-edit{
    display: block !important;
}

#header_currency_wrap {
    color: inherit;
    text-decoration: inherit;
}

.header-currency {
    padding: 0 5px;
    line-height: 1;
}

/* Chrome, Safari, Edge, Opera */
input.hide-arrows::-webkit-outer-spin-button,
input.hide-arrows::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number].hide-arrows {
    -moz-appearance: textfield;
}

.btn-calc {
    position: relative;
    top: -37px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    color: rgba(0, 0, 0, 0.5);
    background-color: transparent;
}
.btn-calc:hover {
    color: rgba(0, 0, 0, 0.8);
}
.dtr-details .goal-percent{
    position: static;
}

.table_search_wrapper .table__header_text {
    display: block;
}

.table__header_text {
    display: none;
}

.invoice .accounting-template .bottom-transaction .btn-group.position-static {
    position: relative !important;
}

@media screen and (max-width: 1000px){
    .permission-table > table {
        overflow-x: auto;
        width: 650px;
        min-width: 650px;
    }
    .permission-table > table td {
        overflow: hidden;
    }

}

.permission-table > table {
    table-layout: fixed;
}

.permission_table__other_column {
    width: var(--permission-table__other_column_width_percent);
}

.permission_table__main_column {
    width: var(--permission-table__permission_column_width_percent);
}

.permission-table__lead,.permission-table__lead_status_name {
    width: var(--permission-table__lead_name_column_width_percent);
}

.permission-table__lead_status_name {
    word-break: break-word;
}

.permission-table__lead_status_view_value {
    justify-content: center;
    width: var(--permission-table__lead_other_column_width_percent);
    border-left: 1px solid #dee2e6;
}

.permission-table__lead,.permission-table__lead_status_name,.permission-table__lead_status_view_value {
    display: flex;
    align-items: center;
}

.permission-table__lead_status_name.permission-table__lead,.permission-table__lead_status_view_value.permission-table__lead {
    padding: 0.7rem;
}

.permission-table__lead_status_name,.permission-table__lead_status_view_value {
    padding: 0.2rem 0.7rem;
}

.permission-table__lead_statuses > .permission-table__lead_status:last-child .permission-table__lead_status_view_value {
    padding-bottom: 0.7rem;
}

input[type="file"].form-control {
    overflow: hidden;
}

label[for="invoice_percentage_discount"]:before,
label[for="invoice_discount_in_monetary_units"]:before{
    top: 2px;
}

label[for="invoice_percentage_discount"]:after,
label[for="invoice_discount_in_monetary_units"]:after{
    top: 6px;
}

.bootstrap-select:not(.show-tick) .dropdown-menu li.active a.selected span.check-mark {
    display: inline-block;
    width: auto;
    transform: translateX(70%);
    margin-left: 10px;
    padding: 0px;
}
.radio-discount-block{
    max-width: 45px;
    box-sizing: content-box;
}
.radio-discount{
    height: calc(1.5em + 0.9rem + 2px);
    justify-content: center;
    align-items: start;
    padding-top: 9px;
}

.pt-28 {
    padding-top: 28px;
}

#lead_social > .checkbox input[type="checkbox"]:checked + label::after, #contact_social > .checkbox input[type="checkbox"]:checked + label::after {
    top: 50%;
    left: 6px;
    transform: rotate(45deg) translateY(-60%);
    transform-origin: top;
}

#lead_social > .checkbox label::before, #contact_social > .checkbox label::before {
    top: 50%;
    transform: translateY(-50%);
}

#invoice-form .popover {
    z-index: 20;
}

.bs-actionsbox button.actions-btn {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

#social_lead_field > .checkbox input[type="checkbox"]:checked + label::after
{
    top: 50%;
    left: 6px;
    transform: rotate(45deg) translateY(-60%);
    transform-origin: top;
}

#social_lead_field > .checkbox label::before
{
    top: 50%;
    transform: translateY(-50%);
}
@media (min-width: 1440px){
    .proposals__unit-input{
        min-width: 165px;
    }
}
.disable_order{
    pointer-events: none;
}
.disable_order:before, .disable_order:after{
    content: none !important;
}
#success_submit_msg{
    min-height: 118px;
}
@media (max-width: 1280px){
    #success_submit_msg{
        min-height: 96px;
        height: 96px;
    }
}
@media (max-width: 767px){
    #build-wrap > .form-wrap{
        display: flex;
        flex-direction: column-reverse;
    }
    #build-wrap > .form-wrap > div{
        width: 100% !important;
        margin-bottom: 20px;
    }
    #build-wrap > .form-wrap > div > ul{
        margin-left: 0 !important;
    }
    #build-wrap > .form-wrap > div.stage-wrap > ul > li{
        padding-left: 0;
        padding-right: 0;
    }
}
@media (min-width: 1025px) and (max-width: 1439px){
    .widget-rounded-circle .avatar-md{
        width: 3rem;
        height: 3rem;
    }
    .widget-rounded-circle .col-4{
        padding: 0 !important;
    }

    .widget-rounded-circle .col-4 + .col-sm-8 {
        padding: 0 !important;
    }
}

#clients_tab_config .dropdown-menu.show {
    margin-bottom: 50px;
    /*margin-top: 100px;*/
}

#dashboard-options-preset {
    margin-bottom: 24px;
}

.dashboard-options-preset__checkboxes {
    display: flex;
    flex-wrap: wrap;
}

.dashboard-options-preset__checkboxes div {
    flex-basis: 190px;
    margin-bottom: 5px;
    min-height: 34px;
}

#proposal-number{
    word-break: break-all;
}

.dashboard-options-preset__checkboxes div label {
    cursor: pointer;
    line-height: 1.25;
}
.invoice-items-table .amount{
    white-space: nowrap;
    line-height: 37px;
}
.estimate-items-table .amount{
    white-space: nowrap;
    line-height: 37px;
}
.estimate-items-table .tox-tinymce{
    min-width: 150px;
}

table.items .tox-tinymce:has(.tox-blocker){
    z-index: 98 !important;
}

@media (max-width: 1279px){
    .invoice-items-table .amount{
        white-space: nowrap;
        line-height: inherit;
    }
    .estimate-items-table .amount{
        white-space: nowrap;
        line-height: inherit;
    }
}
.invoice-items-table input[name="quantity"], .invoice-items-table input[data-quantity],.invoice-items-table input[name="original_price"]{
    margin-bottom: 5px;
}
.estimate-items-table input[name="quantity"], .estimate-items-table input[name="original_price"]{
    margin-bottom: 5px;
}
.invoice-items-table input[name="item_discount"], .estimate-items-table input[name="item_discount"]{
    min-width: 70px;
}
.invoice-items-table textarea[name="description"], .invoice-items-table textarea[name="long_description"], .estimate-items-table textarea[name="description"], .estimate-items-table textarea[name="long_description"]{
    min-width: 150px;
}
.leads__top-controls .lead-potential{
    width: auto;
    margin-right: 25px;
    margin-bottom: 0.375rem;
    display: flex;
    align-items: center;
}
.leads__top-controls .lead-potential .leads_potential_info_wrapper{
    width: 100%;
}
.leads__top-controls .lead-potential:empty{
    margin-right: 0px;
    margin-bottom: 0;
}
@media (max-width: 1023px){
    .leads__top-controls .lead-potential{
        width: 80%;
        margin-right: 0px;
        margin-bottom: 1rem;
    }
}
#single-ticket-form.dropzone{
    border: 0;
    padding: 0;
}
.dropzone.dz-noborder{
    border: 0;
    padding: 0;
    background: unset;
    border-radius: unset;
}
.single-ticket .card-box .tc-content {
    overflow-wrap: break-word;
}
.contenteditable-trigger {
    white-space: break-spaces;
}
.contenteditable-trigger br {
    display: none;
}
.modal#__todo .flatpickr-calendar.static {
    top: unset;
    bottom: calc(100% + 2px);
}
.invoices ._filter_data ul.dropdown-menu {
    overflow: overlay;
}
.notification-icon__container{
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.notification-icon__container::-webkit-scrollbar{
    display: none;
}

#tab_staff_migration .dropdown-menu {
    transform: unset!important;
}
#tab_staff_migration .staff-migration-select {
    max-width: 80%;
}
.chat_history #frame #chat-content {
    display: block;
}
.chat_history #frame {
    min-width: 100%;
}
.chat_history #frame .content {
    border: none;
    padding: 0.5rem 0 0 0;
    min-width: 100%;
    margin-left: 0;
}
.chat_history #frame .content .myProfilePic {
    height: 100%;
}
.reports-data #kpi_table_container div.dataTables_scrollBody, #kpi_table_container .dataTables_scroll {
    background: unset!important;
    overflow-x: scroll;
}
.project_invoices .toggle-small-view, .project_invoices .new-invoice-list, .project_invoices .new-invoice-list-repeat {
    display: none!important;
}
.topnav_tasks__wrapper{
    display: flex;
    position: absolute;
    right: 0%;
    top: 50%;
    transform: translateY(-50%);
}
.topnav_tasks__wrapper ul.submenu{
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    padding: 10px 0;
    list-style: none;
    min-width: 200px;
    text-align: left;
    visibility: hidden;
    opacity: 0;
    margin-top: 0;
    border-radius: 4px;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
    background-color: #fff;
    -webkit-box-shadow: rgb(50, 58, 70, 0.15) 0px 0px 40px 0px;
    box-shadow: rgba(50, 58, 70, 0.15) 0px 0px 40px 0px;
}
.topnav_tasks__wrapper > li{
    position: relative;
    list-style: none;
}
.topnav_tasks__wrapper > li > a{
    display: block;
    color: rgba(50, 58, 70, 0.7);
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
    line-height: 20px;
    padding: 10px 10px;
    position: relative;
}
.topnav_tasks__wrapper > li:hover ul.submenu{
    visibility: visible;
    opacity: 1;
    margin-top: 0;
}
@media (max-width: 1599px){
    .topnav_tasks__wrapper > li > a{
        padding: 10px 8px;
    }
}

#navigation > li{
    list-style: none;
}
#navigation > li > a{
    color: rgba(50, 58, 70, 0.7);
    display: block;
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
    line-height: 20px;
    padding: 20px 15px;
    position: relative;
}

@media (max-width: 1199px){
    html,body{
        -webkit-overflow-scrolling: auto!important;
        overflow: auto !important;
    }
}

#lead_activity .lead-pinned-log-message-on {
    display: none;
}
#lead_activity .feed-item:hover .lead-pinned-log-message-on {
    display: block;
}
.custom-link {
    color: var(--blue);
    cursor: pointer;
}
.custom-link:hover {
    color: var(--green);
}

@media (max-width: 768px) {
    .dropdown-menu--notification {
        transform: none!important;
    }
}

.template-task-checkbox {
    background-color: #f3f3f3;
}

.mdi {
    font-style: normal;
}

.modal-reminder, #proposal_send_to_customer, #_task_modal {
    z-index: 1051;
}

.dropdown-menu.show .inner {
    overflow-y: scroll !important;
    scrollbar-width: none;  /* Firefox */
}

#task-modal .horizontal-scrollable-tabs{
    margin-left: -10px;
    margin-right: -10px;
}
.option-vertical li span.text {
    display: flex !important;
    flex-direction: column !important;
}
.option-vertical li span.text small {
    padding-left: 0 !important;
}

.goal-progress {
    font-size: 22px!important;
}
.submenu.swap-rigth{
    left: unset !important;
    right: 100% !important;
}
.submenu.swap-rigth:before{
    left: unset !important;
    right: -20px !important;
    transform: rotate(180deg);
}
.submenu.swap-bottom{
    top: unset !important;
    bottom: 0% !important;
}
.submenu.swap-bottom:before{
    top: unset !important;
    bottom: 10px !important;
}
.table.invoice-items-table.items.table-main-invoice-edit .main .custom_field[data-id="4"] .dropdown-menu.show{
    transform: none !important;
}

.table-abc-report tfoot tr:nth-child(1n+2) td:nth-child(1), .table-abc-report tfoot tr:nth-child(1n+2) td:nth-child(2) {
    border: none;
}
.card-box .reply-image {
    margin-top: 3px;
}
.card-box .reply-info {
    margin-left: 50px;
}
table.table-tasks .dropdown-menu[aria-labelledby^=tableTaskPriority-]{
    min-width: auto !important;
}
@media (max-width: 767px){
    .staff_management.schedule .content-page > .content > .container-fluid{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
.avilable_merge_fields li.list-group-item{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.avilable_merge_fields li.list-group-item b{
    -webkit-box-flex: 1 !important;
    -ms-flex: 1 1 auto !important;
    flex: 1 1 auto !important;
}
.bank_statements_invoices .bootstrap-select .dropdown-menu li.active small {
    color: var(--gray) !important;
}
.i_groups{
    white-space: nowrap;
}
.expense-years {
    width: 110px;
}

.nav-tabs .nav-link:first-letter,
.btn:first-letter,
button:first-letter,
.radio label:first-letter,
thead tr th:first-letter,
.noty_bar .noty_body:first-letter,
.dropdown-menu .dropdown-item span:first-letter,
.tab-pane .nav .nav-link:first-letter,
#topnav .navigation-menu a:first-letter {
    text-transform: uppercase!important;
}

.dropdown-icon-item {
    display: block;
    width: 100%;
    padding: 5px;
    clear: both;
    font-weight: 400;
    color: var(--secondary);
    background-color: transparent;
    border: 0;
}

.dropdown-icon-item:hover, .dropdown-icon-item:focus {
    color: #272e37;
    text-decoration: none;
    background-color: #f8f9fa;
}

.dropdown-quick-actions {
    width: 400px;
}

.quick-actions-icon {
    font-size: 17px;
    vertical-align: middle;
}
.dropdown-quick-actions .dropdown-icon-item {
    padding: 5px 3px;
}

@media (max-width: 640px) {
    .ribbon-box .ribbon.float-right {
        margin-right: -6px;
    }
}

@media (max-width: 768px) {
    #task-modal .ribbon-box  {
       display: none;
    }

    .notification-icon__container{
        overflow-x: auto;
    }
}
.checklist-review label::before {
    height: 16px!important;
    width: 16px!important;
    border-radius: 30%!important;
    left: 1px;
}

.checklist-review input[type="checkbox"]:checked + label::before,
.checklist-review input[type="checkbox"].checked + label::before {
    background-color: var(--primary)!important;
    border-color: var(--primary)!important;
}

.checklist-review input[type="checkbox"]:checked + label::after,
.checklist-review input[type="checkbox"].checked + label::after {
    top: 5px;
    left: 7px;
}

body.projects .jquery-comments ul.main li.comment .wrapper{
    height: fit-content !important;
}

.bootstrap-select .dropdown-menu li.active small {
    color: #939596 !important;
}

.bootstrap-select button {
    text-transform: none;
}

.dropdown-menu .dropdown-item span:first-letter {
    text-transform: none !important;
}

@media (max-width: 640px) {
    .dropdown-item {
        white-space: normal;
    }
}

.form-wrap.form-builder .stage-wrap.pull-right .frmb{
    min-height: 200px!important;
}

@media (max-width: 720px) {
    .customer-profile .modal-dialog {
        margin-top: 70px;
    }
}

.contract-preview ._buttons .btn-group{
    margin-bottom: 0.375rem !important;
}

div.horizontalmod#fixed_block{
    width: 260px;
    background: white;
    height: 100vh;
    display: inline-block;
    position: fixed;
    right: 0;
    top: 0;
    container-type: inline-size;
    container-name: fixed_block;
}

#wrapper .with_fixed_block .navbar-custom,
#wrapper .with_fixed_block > div:not(#fixed_block),
#wrapper .with_fixed_block #topnav,
#wrapper .with_fixed_block .btn-bottom-toolbar{
    width: calc(100% - 260px);
}

#wrapper .with_fixed_block .btn-bottom-toolbar{
    left: 0;
}

#wrapper .with_fixed_block .content--calendar{
    min-width: unset !important;
    padding: 40px 12px 0px 12px;
    /*padding-top: 40px;*/
}

#fixed_block .scrtabs-tabs-fixed-container{
    height: 80px;
}

#fixed_block .scrtabs-tab-scroll-arrow{
    height: 70px;
    font-size: 20px;
    padding-top: 20px;
}

#fixed_block .horizontal-scrollable-tabs a.nav-link{
    padding: 0 14px !important;
    /* color: rgba(255, 255, 255, 0.6); */
    color: rgba(0, 0, 0, 0.7);
    min-width: 32px;
    display: block;
    line-height: 70px;
    text-align: center;
    max-height: 70px;
}

#fixed_block .horizontal-scrollable-tabs a.nav-link i{
    font-size: 21px;
}

#fixed_block .nav-bordered.fixed_block_tabs .active{
    border-bottom: 2px solid var(--primary) !important;
}

#fixed_block .tab-content .tab-pane ul{
    list-style-type: none;
    padding: 0.75rem;
}

#fixed_block .chat-submenu{
    z-index: 99999;
}

.horizontalmod .with_fixed_block .screen-options-btn {
    top: 180px;
    right: calc(340px - 68px);
    transform: rotate(0deg) translate3d(0, 0, 0);
}
.horizontalmod .with_fixed_block .navbar-custom > div,
.horizontalmod .with_fixed_block #topnav .topbar-menu {
    width: unset;
    margin: unset;
    padding-left: 6px;
    padding-right: 6px;
}

div#wrapper:has(.with_fixed_block) {
    width: 100%;
}

#fixed_block .todo__container{
    position: unset !important;
}

#fixed_block .tab-content .tab-pane ul.todo_list{
    padding: 0!important;
}
#fixed_block .tab-content .tab-pane .todo-checkbox .row .d-flex{
    max-width: 100%!important;
    font-size: small;
}

#fixed_block .tab-content .tab-pane .todo-checkbox__control{
    min-width: 70px!important;
}

#fixed_block .tab-content .tab-pane .todo-checkbox__control i{
    font-size: unset!important;
}
#fixed_block .todo__container_scrolable{
    display: flex;
    /*overflow-y: auto;*/
    height: calc(100vh - 100px);
    width: 100%;
    margin-top: 10px;
}

#fx_block_todos .todo-all{
    padding: 12px 20px;
}

#fixed_block .todo__container_scrolable .slimScrollDiv,
#fixed_block .todo__container_scrolable .slimscroll{
    height: inherit !important;
}

.kanban-mode-short .card{
    margin-bottom: 12px;
}

.leads-tab-has-submenu-more li.has-submenu{
    position: relative;
}

@media screen and (min-width: 1024px){
    .leads-tab-has-submenu-more li.has-submenu ul{
        padding-left: 0;
        display: none;
        list-style: none;
        position: absolute;
        right: 100%;
        top: 0%;
        min-width: 100%;
        max-height: calc(37px * 8);
        overflow-x: hidden;
        box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.1);
        background-color: #fff;
        z-index: 2;
    }
}

@media screen and (max-width: 1023px) {
    .leads-tab-has-submenu-more li.has-submenu ul {
        padding-left: 0;
        display: none;
        list-style: none;
        position: absolute;
        right: 0%;
        top: 100%;
        min-width: 100%;
        max-height: calc(37px * 8);
        overflow-x: hidden;
        box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.1);
        background-color: #fff;
        z-index: 2;
    }
}

.leads-tab-has-submenu-more li.has-submenu ul.show{
    display: block;
    white-space: nowrap;
    margin-top: 0px;
}
.leads-tab-has-submenu-more li.has-submenu ul.show li{
    background-color: #fff;
}
.leads-tab-has-submenu-more li.has-submenu ul.show:before{
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 10px;
    top: 0;
    left: 0;
    transform: translateY(-10px);
}

@media screen and (min-width: 1024px) {
    .leads-tab-has-submenu-more li.has-submenu ul.show:after {
        content: '';
        display: block;
        position: absolute;
        width: 10px;
        height: 10px;
        top: 10px;
        right: -1%;
        transform: translateY(-50%) rotate(-45deg);
        box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.1);
        background-color: #fff;
        z-index: -1;
    }
}
@media screen and (max-width: 1023px) {
    .leads-tab-has-submenu-more li.has-submenu ul.show:after {
        content: '';
        display: block;
        position: absolute;
        width: 10px;
        height: 10px;
        top: 0;
        right: 15%;
        transform: translateY(-50%) rotate(-45deg);
        box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.1);
        background-color: #fff;
        z-index: -1;
    }
}

body.fc-unselectable .tooltip{
    display: none!important;
}

td .with_reason span{
    width: fit-content;
}

#fixed_block [class*=" icon-"]:before,
#fixed_block [class^=icon-]:before{
    font-family: unset!important;
}

.with_fixed_block .btn-bottom-toolbar.card-box{
    padding-left: 150px;
}

.with_fixed_block .content-page .content:not(:has(.container-fluid)){
    width: 100%;
    padding-right: 12px;
    padding-left: 12px;
    margin-right: auto;
    margin-left: auto;
}

#contract-form{
    width: 100%;
}

.manage_contract_buttons{
    display: flex;
}

.manage_kanban_buttons{
    display: flex;
    gap: 5px;
}

.manage_project_buttons.manage_kanban_buttons{
    flex-wrap: wrap;
}

.manage_kanban_buttons a,
.manage_kanban_buttons button
{
    height: fit-content!important;
}

.manage_kanban_buttons .kanban-leads-sort{
    flex-grow: 0;
    flex-shrink: 0;
}

.manage_project_buttons.manage_kanban_buttons .kanban-leads-sort{
    flex: 1;
}

.kanban_view .top-row .leads_filters{
    width: calc(180px * 3);
}

.leads .kanban_view .top-row .kanban-presets-filter{
    flex: 1 1 100%;
}

@media only screen and (min-width: 768px) {
    .kanban_view .top-row .leads_filters .leads-filter-column:not(:first-child) {
        padding-left: 0px;
    }
    .manage_kanban_buttons .kanban-filter-column:not(:first-child) {
        padding-left: 0px;
    }
    .manage_kanban_buttons .projects-filters {
        width: calc(195px * 5);
    }
    .manage_contract_buttons .contracts-filters.kanban-sort-row{
        gap: 10px;
    }
}

.manage_contract_buttons .contracts-filters:not(.kanban-sort-row){
    width: calc(160px * 4);
}

@media only screen and (max-width: 1107px){
    .kanban_view .top-row .leads_filters {
        width: 100%;
    }
}

.manage_contract_buttons .contracts-filters > div:not(.hidden, :last-child) {
    padding-right: 10px;
}

@media only screen and (min-width: 1700px){
    .manage_contract_buttons .contracts-filters:not(.kanban-sort-row){
        width: calc(140px * 4);
    }
}

@media only screen and (min-width: 1900px){
    .manage_contract_buttons .contracts-filters:not(.kanban-sort-row){
        width: calc(150px * 4);
    }
}

@media only screen and (min-width: 1970px){
    .manage_contract_buttons .contracts-filters:not(.kanban-sort-row){
        width: calc(160px * 4);
    }
}

@media only screen and (max-width: 1800px){
    .manage_contract_buttons .kanban-sort-row{
        order: 1 !important;
        -webkit-box-pack: end !important;
        -ms-flex-pack: end !important;
        justify-content: flex-end !important;
    }

    .manage_contract_buttons .kanban-sort-row > div{
        padding: 0 5px;
    }

    .manage_contract_buttons .display-block{
        order: 2 !important;
    }

    .manage_contract_buttons .contracts-filters:not(.kanban-sort-row){
        order: 3 !important;
        width: 100%;
    }

    .manage_contract_buttons{
        flex-wrap: wrap;
    }
    .manage_contract_buttons #search {
        width: 180px;
    }
}


@media only screen and (max-width: 1900px),
only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 2560px) {
    .with_fixed_block .kanban_view .top-row .kanban-leads-sort{
        order: 3 !important;
        margin-left: 0 !important;
        -webkit-box-flex: 1 !important;
        -ms-flex: 1 1 auto !important;
        flex: 1 1 auto !important;
    }

    .with_fixed_block .kanban_view .top-row .leads-search{
        order: 4 !important;
        margin-left: 0;
        margin-top: 0.25rem;
    }

    .with_fixed_block .manage_contract_buttons{
        flex-wrap: wrap;
    }

    .with_fixed_block .manage_contract_buttons .contracts-filters:not(.kanban-sort-row){
        order: 3 !important;
        width: 100%;
    }

    .with_fixed_block .manage_contract_buttons .display-block {
        order: 2 !important;
    }

    .with_fixed_block .manage_contract_buttons .kanban-sort-row {
        order: 1 !important;
        -webkit-box-pack: end !important;
        -ms-flex-pack: end !important;
        justify-content: flex-end !important;
    }

    .tasks .with_fixed_block .kanban_view .top-row .leads-search{
        width: 20% !important;
    }

    .tasks .kanban_view .top-row .leads-search{
        order: 4 !important;
        width: 20% !important;
        padding-top: 0.25rem;
    }
    .tasks .kanban_view .top-row .kanban-leads-sort{
        order: 3 !important;
        -webkit-box-flex: 1 !important;
        -ms-flex: 1 1 auto !important;
        flex: 1 1 auto !important;
        width: 40%;
        padding-left: 0 !important;
    }
}

@media only screen and (max-width: 1357px),
only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1357px) {
    .with_fixed_block .manage_contract_buttons ._buttons {
        margin-right: 0!important;
    }
    .with_fixed_block .manage_contract_buttons .kanban-sort-row{
        margin-left: 0!important;
    }
}

@media only screen and (max-width: 1617px),
only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1617px) {
    .leads .kanban_view .leads-search  {
        order: 5 !important;
    }

    .leads .kanban_view .kanban-presets-filter  {
        order: 4 !important;
        flex: 1 1 auto !important;
    }

    .leads .kanban_view .kanban-presets-filter .form-group {
        min-width: 200px;
    }
}


@media only screen and (max-width: 1331px){
    .with_fixed_block .manage_contract_buttons .display-block{
        order: 1 !important;
        flex: 1 1;
    }

    .with_fixed_block .manage_contract_buttons .kanban-sort-row{
        order: 3!important;
    }

    .with_fixed_block .manage_contract_buttons .kanban-sort-row .kanban-leads-sort{
        -webkit-box-flex: 1 !important;
        -ms-flex-positive: 1 !important;
        flex-grow: 1 !important;
    }

    .with_fixed_block .manage_contract_buttons .contracts-filters:not(.kanban-sort-row){
        order: 2!important;
    }

    .with_fixed_block .kanban_view .top-row .leads_filters {
        width: 100%;
    }

    .kanban_view .top-row .kanban-leads-sort{
        order: 3 !important;
        margin-left: 0 !important;
        -webkit-box-flex: 1 !important;
        -ms-flex: 1 1 auto !important;
        flex: 1 1 auto !important;
    }

    .kanban_view .top-row .leads-search{
        order: 4 !important;
        margin-left: 0;
        width: 20% !important;
    }

    .leads .kanban_view .top-row .kanban-leads-sort{
        -webkit-box-flex: unset !important;
        -ms-flex: unset !important;
        flex: unset !important;
    }

    .leads .kanban_view .top-row .leads-search{
        order: 5 !important;
    }
}

@media only screen and (max-width: 1219px){
    .leads .kanban_view .top-row .kanban-leads-sort{
        order: 4 !important;
        flex: 1 1 60% !important;
    }

    .leads .kanban_view .top-row .kanban-presets-filter{
        order: 3 !important;
        flex: unset !important;
        padding-left: 10px !important;
        margin-bottom: 0.375rem;
    }
}

@media only screen and (max-width: 1206px){
    .manage_contract_buttons .kanban-sort-row{
        order: 3 !important;
        margin-left: 0 !important;
    }

    .manage_contract_buttons .kanban-sort-row .kanban-leads-sort{
        -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
    }

    .manage_contract_buttons .display-block{
        order: 1 !important;
        flex: 1 1;
    }

    .manage_contract_buttons .contracts-filters:not(.kanban-sort-row){
        order: 2 !important;
    }
}

@media only screen and (max-width: 1280px),
only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1280px) {
    .kanban_view .tasks_filters{
        padding-top: 0.25rem;
    }
}

@media only screen and (max-width: 1107px){
    .leads .kanban_view .top-row .kanban-leads-sort{
        order: 4 !important;
        flex: 1 1 60% !important;
    }

    .leads .kanban_view .top-row .kanban-presets-filter{
        order: 3 !important;
        flex: 1 1 100% !important;
        padding-left: unset !important;
        margin: 0.375rem 0;
    }
}

@media only screen and (max-width: 768px){
    .manage_contract_buttons .display-block ._filter_data{
        -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .manage_contract_buttons .display-block ._filter_data{
        width: 100%;
    }

    ._filter_data .dropdown-menu{
        width: 100%;
    }

    .manage_contract_buttons #search{
        width: 100%;
    }

    .manage_contract_buttons > div {
        width: 100% !important;
        flex-direction: column;
    }

    .manage_contract_buttons .contracts-filters > div:not(.hidden){
        padding: 0;
    }

    .manage_contract_buttons .display-block{
        order: 1 !important;
    }

    .kanban_view .top-row .kanban-leads-sort{
        order: 4 !important;
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
    }

    .kanban_view .top-row .leads-search{
        order: 3 !important;
        width: 100% !important;
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
    }

    .top-row ._buttons{
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .tasks .with_fixed_block .kanban_view .top-row .leads-search{
        width: 100% !important;
    }

    .tasks .kanban_view .top-row .leads-search{
        width: 100% !important;
    }

    .kanban_view .tasks_filters{
        width: 100% !important;
    }

    .kanban_view .tasks_filters .tasks-filter-column{
        padding-right: 0px;
    }

    .tasks .kanban_view .top-row .kanban-leads-sort{
        width: 100%;
        padding-left: 0 !important;
    }

    .leads .kanban_view .top-row .kanban-presets-filter{
        margin: 0;
    }

    .manage_contract_buttons .contracts-filters:not(.kanban-sort-row){
        flex-direction: column;
    }
}

@media only screen and (max-width: 768px){
    .manage_contract_buttons .display-block,
    .manage_contract_buttons,
    .manage_contract_buttons ._buttons
    {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        margin-right: 0 !important;
    }

    .manage_contract_buttons .display-block a,
    .manage_contract_buttons .display-block > div
    {
        margin: 0 0 5px 0;
    }

    .manage_contract_buttons .kanban-sort-row
    {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
    }

    .manage_contract_buttons .kanban-sort-row > div
    {
        margin: 0 0 5px 0;
        padding: 0 0 0 0;
    }
}

#kan-ban-tab.contracts-kan-ban{
    max-height: 100vh;
}

@media only screen and (max-width: 767px) {
    .leads__ribbon{
        top: -30px;
    }

    #manage-modules-table_wrapper .table__search{
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    #manage-modules-table_wrapper .table__search ._buttons{
        display: unset !important;
    }

    #manage-modules-table_wrapper .table__search ._buttons > div{
        margin-right: 0 !important;
    }
}

.proposal-kanban-card,
.contract-kan-ban{
    height: auto !important;
}

.kanban-leads-sort .kanban-leads-sort-inner{
    padding: 0.45rem 0;
}

#canvas-legend>ul {
    display: flex;
    justify-content: center;
}

#canvas-legend li {
    cursor: pointer;
    margin: 0px 10px;
    display: flex;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #757575;
}

#canvas-legend li span {
    font-family: Arial, Helvetica, sans-serif;
    padding-left: 8px;
    font-size: 12px;
    width: 38px;
    height: 14px;
    margin-top: 5px;
    border: 1px solid #999;
    margin-right: 5px;
}

.document_header {
    display: flex;
    flex-wrap: wrap;
}

.document_header :is(.document_number, .document_tags, .document_sale_agent) {
    flex: 1 1 auto;
}

.document_header .document_number {
    max-width: 60%;
}

.document_header .document_tags {
    max-width: 30%;
}

.document_header .document_sale_agent {
    max-width: fit-content;
}

@media (max-width: 1280px) {
    .document_header :is(.document_number, .document_sale_agent) {
        flex-basis: 50%;
    }

    .document_header .document_tags {
        flex-basis: 100%;
        max-width: 100%;
        order: 1;
    }
}

@media (min-width: 768px) {
    .kanban-filters-col-md-2 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .kanban-filters-col-md-3 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 33.33%;
        flex: 0 0 33.33%;
        max-width: 33.33%;
    }

    .kanban-filters-col-md-4 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }

    .kanban-filters-col-md-5 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }

    .tasks_filters .tasks-filter-column{
        padding-right: 0;
    }
}

.bootstrap-select .dropdown-menu li a.opt{
    padding-left: 0.25em;
}

@media screen and (min-width: 768px) {
    .reports [app-field-wrapper="leads_utm_mark[]"] .dropdown-menu.show {
        max-width: 400px !important;
    }
}

.knowledge_base #kan-ban .kan-ban-col-wrapper{
    width: 340px;
}

table:has(.sticky_column){
    border-collapse: separate;
    border-spacing: 0px;
}

table td.sticky_column, table th.sticky_column {
    position: sticky;
    left: 0;
    border: 1px solid #dee2e6;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: rgb(222, 226, 230);
    border-right-width: 1px;
    border-right-style: solid;
    border-right-color: rgb(222, 226, 230);
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: rgb(222, 226, 230);
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
}
table th.sticky_column{
    border-top: 0px solid #dee2e6;
    border-bottom: 0px solid #dee2e6;
}

table td.sticky_column{
    background-color: white;
}

#dashboard_grid_stack_body>.grid-stack-item>.grid-stack-item-content  {
    overflow: visible;
}

.widget-box-color {
    background-color: var(--white);
}
.grid-stack-item-widget_handler .header-title {
    padding-left: 12px;
}
.grid-stack-item-widget_handler{
    padding: 0.75rem;
}
.grid-stack-item-widget_handler:hover {
    background: rgba(0, 0, 0, 0.05);
    cursor: move;
}
.grid-stack-item-widget_header_item {
    padding-right: 2rem; padding-left: 2rem;
}
.grid-stack-item-widget_body {
    padding: 0.75rem 0.75rem 0.5rem 0.75rem;
}
.mentions-input-box .mentions{
    display: none;
}

.mentions-input-box .mentions-autocomplete-list {
    display: none;
    background: #fff;
    border: 1px solid #b2b2b2;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
    max-height: 75%;
    z-index: 700;
    margin-top: -2px;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.148438);
    -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.148438);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.148438);
}

.comment-input .mentions-input-box .mentions-autocomplete-list{
    bottom: 31px;
}

.newsfeed_post .mentions-input-box .mentions-autocomplete-list{
    max-height: 150px;
}

.mentions-input-box {
    position: relative;
}

.mentions-input-box .mentions-autocomplete-list ul {
    margin: 0;
    padding: 0;
}

.mentions-input-box .mentions-autocomplete-list li {
    background-color: #fff;
    padding: 0 5px;
    margin: 0;
    width: auto;
    border-bottom: 1px solid #eee;
    height: 26px;
    line-height: 26px;
    overflow: hidden;
    cursor: pointer;
    list-style: none;
    white-space: nowrap;
}

.mentions-input-box .mentions-autocomplete-list li>img,
.mentions-input-box .mentions-autocomplete-list li>div.icon {
    width: 16px;
    height: 16px;
    float: left;
    margin-top: 5px;
    margin-right: 5px;
    background-origin: 3px;
    -moz-background-origin: 3px;
    border-radius: 50%;
}

.mentions-input-box .mentions-autocomplete-list li em {
    font-weight: bold;
    font-style: none;
}

.mentions-input-box .mentions-autocomplete-list li:hover,
.mentions-input-box .mentions-autocomplete-list li.active {
    background-color: #f2f2f2;
}

.mentions-input-box .mentions-autocomplete-list li b {
    background: #ffff99;
    font-weight: normal;
}

.milestone-name {
    white-space: nowrap;
    overflow: hidden;
    width: calc(100% - 40px);
    display: inline-block;
    vertical-align: middle;
    text-overflow: ellipsis;
}

#fc-staffFilter-wrapper{
    width: 120px;
}

#fc-staffFilter-wrapper .bootstrap-select .dropdown-toggle .filter-option{
    display: flex;
    align-items: center;
}

.dropzone.no_border_dropzone{
    padding: 0;
    border: 0;
}

.dropzone .dz-preview .dz-progress{
    z-index: 99;
}

.sales-note-wrapper {
    word-break: break-word;
}