: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;
    --danger: #fc2353;
    --light-gray: #ecedef;
    --stage-color: var(--light);
    --general-color: var(--secondary);
    --outline-green: #ebf9ee;
}


.hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.pointer {
    cursor: pointer;
}

.text-general{
    color: var(--general-color);
}

.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;
    margin-bottom: 0;
}

.progress.progress-bar-tasks {
    height: 20px;
    border-radius: .25rem;
}

.progress.progress-bar-tasks .progress-bar {
    filter: saturate(.5) brightness(1.5);
}

.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;
}

.border-dark50{
    border-color: var(--dark50);
}

.bg-none{
    background: unset !important;
    background-color: unset !important;
}

.font-12{
    font-size: 12px !important;
}

.list-devider:not(:first-child){
    border-top: 1px solid var(--light-gray);
}

@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 !important;
}

.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-submenu > .dropdown-menu .dropdown-item {
    white-space: initial;
}

.dropdown-item.active, .dropdown-item:active {
    color: var(--dark);
    text-decoration: none;
    background-color: #F0F0F0;
}

.dropdown-submenu > .dropdown-menu.dropdown-menu-right {
    right: 100% !important;
    top: 0 !important;
}

@media screen and (max-width: 728px) {
    .dropdown-submenu > .dropdown-menu.dropdown-menu-right {
        position: static !important;
        transform: none !important;
        right: auto !important;
        left: auto !important;
        top: auto !important;
        width: 100%;
        box-shadow: none;
        margin-left: 0.5rem;
        display: none;
    }

    .dropdown-submenu > .dropdown-menu.show.dropdown-menu-right {
        display: block !important;
    }
}

/*---------- 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;
}

#build-wrap ul.frmb {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -12px;
    margin-left: -12px;
}

#build-wrap ul.frmb li.form-field {
    width: 100%;
}

#build-wrap .frmb-placeholder {
    height: auto;
    width: auto;
    margin-bottom: 10px;         /* match other fields */
    background: #e0e0e0;         /* optional visible placeholder */
    border: 1px dashed #999;
    clip-path: none !important;  /* remove diamond shape */
    padding: 0 !important;
    overflow: hidden;
}

.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: 11.5px;
    line-height: 1.3;
    color: #2d2d2d;
}

.tags-label span.label-tag{
    display: inline-block;
}

.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-area.card-box {
    margin-bottom: 0;
}

[id*="screen-options-area"] {
    margin-top: 12px;
}

@media screen and (max-width: 1368px) {
    [id*="screen-options-area"] {
        margin-top: 25px !important;
    }
}

@media screen and (max-width: 768px) {
    [id*="screen-options-area"] {
        margin-top: 12px !important;
    }
}

.screen-options-btn {
    position: absolute;
    background: #ffffff;
    color: #636363;
    padding: 2px 10px;
    display: inline-block;
    z-index: 1;
    cursor: pointer;
    margin-top: -1px;
    top: 230px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;

    right: 11px;
    transform: translateY(-50%)  rotate(-90deg);
    transform-origin: center right;
}

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-text{
    line-height: 19.5px;
}

.input-group-select .input-group-append .input-group-text,
.input-group-select .input-group-prepend .input-group-text
{
    background-color: var(--light);
    border: none;
}

.input-group-select .bootstrap-select._select_input_group {
    width: 100px !important;
    flex: 1 1 auto;
}

.input-group-select:has(.input-group-append) .bootstrap-select .btn {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group-select .bootstrap-select .btn {
    height: 100%;
}

.input-group-prepend .input-group-text {
    color: var(--dark);
    font-size: 12px;
    font-weight: 500;
}


/*---------- Select with plus button ------------*/

/*---------- On - Off switch ------------*/
.onoffswitch {
    position: relative;
    width: 45px;
    -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: 25px;
    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.blue:checked + .onoffswitch-label {
    background-color: var(--blue);
}

.onoffswitch-checkbox.blue:checked + .onoffswitch-label,
.onoffswitch-checkbox.blue:checked + .onoffswitch-label:before {
    border-color: var(--blue);
}

.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: 380px;
    padding-left: 15px;
    padding-right: 5px;
}

#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.5rem;
    margin-bottom: 0.5rem;
    box-shadow: 0.1px 0.1px 3px #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;
}

#react_todo_wrapper .checkbox input[type="checkbox"]:disabled + label,
#react_todo_wrapper .btn.disabled, #react_todo_wrapper .btn:disabled
{
    opacity: 1 !important;
}

.alert-danger {
    color: #fc132c !important;
    background-color: #fdf1f3 !important;
    border-color: #fdf1f3 !important;
}

.alert-success {
    color: #3cbb42 !important;
    background-color: #f6f8f6 !important;
    border-color: #f6f8f6 !important;
}

.alert-warning {
    color: #fe9335 !important;
    background-color: #fdf7f1 !important;
    border-color: #fdf7f1 !important;
}

.alert-info {
    color: #2c77ec;
    background-color: #f2f6fc;
    border-color: #f2f6fc;
}

.widget__item--todos {
    color: inherit;
}

.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;
}

.ui-sortable-placeholder.not-allowed {
    background: #f1556c50 !important;
    border: 2px dashed var(--danger);
}

.widget__head--todos {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    line-height: 1;
    flex-wrap: wrap;
}

.todo-checkbox__control {
    margin-left: auto;
}

.todo-checkbox__control .btn {
    padding: 1px 1px;
}

.btn-xs {
    padding: 0.2rem 0.4rem;
}

@media screen and (min-width: 768px) {
    .btn-xs-md{
        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: 100%;
    position: relative;
}

#newsfeed {
    background: #e3e5e6;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
}

#newsfeed .close_newsfeed {
    right: 20px;
    background: #868686;
}

#newsfeed .close_newsfeed:hover, #newsfeed .close_newsfeed:active {
    color: #f0f0f0;
    background: #6b6b6b;
}

#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 .panel-footer {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

#newsfeed .newsfeed_post .post-content {
    border-bottom: 0;
    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;
}

.todo_resizable_wrapper {
    height: calc(100vh - 390px);
    overflow-y: auto;
    overflow-x: hidden
}

@media (max-width: 990px){
    .todo_resizable_wrapper {
        height: initial;
    }
}

@media (max-width: 1124px){
    .header-currency-wrap{
        display: none;
    }
}
@media screen and (max-width: 1365px) {
    #top_search {
        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: 60px !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%;
    }

    .topnav-menu .dropdown-menu.show, .topnav-menu .search-result__container {
        width: 90vw !important;
        max-height: calc(100% - 80px);
    }
}

/*///////////////////////////////////////*/
.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: 60px;
    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 .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-bottom: 1px solid var(--light-gray);
}

.notification-box-all img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.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 .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__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;
}

.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;
}

.staff-additional .card-box {
    overflow-y: auto;
    height: 600px;
}

@media screen and (max-width: 769px) {
    .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;
    }

    .show_quantity_as_wrapper .form-check-inline{
        display: block;
    }
}

.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: 0;
    border-top: 3px solid;
}

.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 li.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: 300px;
    margin-right: 6px;
    padding: 0;
    display: inline-block;
    float: left;
}
.ui-sortable-placeholder.kan-ban-col{
    width: 300px;
}

.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: 10px;
    border-top-right-radius: 10px;
    color: #fff;
}

#kan-ban .panel-heading-bg .badge {
    height: fit-content;
    padding: 4px 6px;
    border-radius: 10px;
}

#kan-ban .panel-heading-bg a {
    color: inherit;
}

.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;
}

.lead-field-heading:first-child {
    margin-top: 0;
}

@media (min-width: 768px) {
    .tabs-with-btns {
        min-width: 100%;
    }

    .tabs-with-btns.nav-bordered{
        min-height: 100%;
    }

    .tabs-with-btns .horizontal-tabs {
        flex: 1 1 70%;
    }

    .tabs-with-btns.nav-bordered .horizontal-tabs ul.nav{
        min-height: 100%;
        border: 0 !important;
    }
    .tabs-with-btns.nav-bordered .scrtabs-tabs-fixed-container{
        height: 100%;
    }

    .tabs-with-btns .scrtabs-tab-container{
        height: calc(100% + 10px);
    }

    .tabs-with-btns .lead-menu-btn-group a.btn-sm {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .tabs-with-btns .lead-menu-btn-group i{
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .lead-modal .lead-top-btn {
        width: 100%;
        margin: 5px 0 0.375rem 0 !important;
    }

    .tabs-with-btns.nav-bordered{
        height: unset;
        border: unset !important;
        gap: 10px;
    }
}

.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:not(.stages-v2) li span {
    color: #fff;
    font-weight: 300;
    font-size: 11px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

ul.leads-stages:not(.stages-v2) 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:not(.stages-v2) li {
        min-width: unset;
        flex-shrink: 0;
        margin-bottom: 20px;
    }
}
ul.leads-stages:not(.stages-v2) li:first-child {
    padding-left: 10px;
}

ul.leads-stages.clickable li {
    cursor: pointer;
}

ul.leads-stages:not(.stages-v2) li.active,
ul.leads-stages:not(.stages-v2) li.active:after,
ul.leads-stages:not(.stages-v2) li.active:before {
    background: inherit;
}

ul.leads-stages:not(.stages-v2) li:first-child {
    border-radius: 16px 0 0 16px;
}

ul.leads-stages:not(.stages-v2) li:after {
    bottom: 0;
    -webkit-transform: skew(-45deg) scaleY(1.01);
    -ms-transform: skew(-45deg) scaleY(1.01);
    transform: skew(-45deg) scaleY(1.01);
}

ul.leads-stages:not(.stages-v2) li:before {
    top: 0;
    -webkit-transform: skew(45deg) scaleY(1.01);
    -ms-transform: skew(45deg) scaleY(1.01);
    transform: skew(45deg) scaleY(1.01);
}

ul.leads-stages:not(.stages-v2) li:before,
ul.leads-stages:not(.stages-v2) 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:not(.stages-v2 li.active:before,
ul.leads-stages:not(.stages-v2 li.active:after {
    border-right: 1px solid transparent;
}*/

ul.leads-stages.leads-stages--small:not(.stages-v2) li {
    min-width: 15px;
}

ul.leads-stages.leads-stages--small:not(.stages-v2) li:after,
ul.leads-stages.leads-stages--small:not(.stages-v2) li:before {
    display: none;
}

ul.leads-stages.leads-stages--small:not(.stages-v2) li {
    border-right: 2px solid #fff;
}

ul.leads-stages.leads-stages--small:not(.stages-v2) li:last-child {
    border-radius: 0 6px 6px 0;
    border-right: 0;
}

ul.leads-stages.leads-stages--small:not(.stages-v2) li:first-child {
    border-radius: 6px 0 0 6px;
}

ul.leads-stages.leads-stages--small:not(.stages-v2) li:only-child {
    border-radius: 6px 6px 6px 6px;
}

ul.leads-stages.leads-stages--small:not(.stages-v2) li {
    min-width: 5px;
    flex-shrink: 0;
    padding-left: 0;
    padding-right: 0;
}

ul.leads-stages.leads-stages--small:not(.stages-v2) {
    padding-right: 0;
    margin-bottom: 0;
}

/*************************************************
    END:Leads Stages
*************************************************/

/*************************************************
    START:Leads Stages V2
*************************************************/
ul.stages-v2 {
    --s: 16px;
    width: 100%;
    height: 100%;
    margin: 0;
    list-style: none;
    display: flex;
    overflow: visible;
    padding: 3px 1px;
}

ul.stages-v2 li {
    flex: 1 1 0;
    position: relative;
    margin-right: -12px;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}

ul.stages-v2 li:not(.active):hover {
    --stage-color: var(--stage-hover);
    color: #FFFFFF;
}

ul.stages-v2 li .fill{
    min-width: 100px;
}

ul.stages-v2 li:not(.active) {
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
}

ul.stages-v2 li.active .fill {
    border-top: 1px solid var(--stage-color);
    border-bottom: 1px solid var(--stage-color);
}

ul.stages-v2 li:last-child {
    margin-right: 5px;
    border-radius: 0 19px 19px 0;
}

ul.stages-v2 li:first-child {
    border-radius: 19px 0 0 19px;
    margin-left: 5px;
}

ul.stages-v2 .shadow-wrap {
    height: 100%;
}

ul.stages-v2 li:not(.active) .shadow-wrap {
    position: relative;
    filter: drop-shadow(-1px 0 0 var(--light-gray));
}

ul.stages-v2 li.active .shadow-wrap {
    position: relative;
    filter: drop-shadow(-1px 0 0 var(--stage-color));
}

ul.stages-v2 li .fill {
    position: relative;
    background: var(--stage-color);
    padding: 7px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 20px;
    height: 100%;
}

ul.stages-v2 li:not(:first-child):not(:last-child) .fill {
    clip-path: polygon(0 0, calc(100% - var(--s)) 0, 100% 50%, calc(100% - var(--s)) 100%, 0 100%, var(--s) 50%);
}

ul.stages-v2 li:first-child .fill {
    clip-path: polygon(0 0, calc(100% - var(--s)) 0, 100% 50%, calc(100% - var(--s)) 100%, 0 100%);
    border-radius: 19px 0 0 19px;
}

ul.stages-v2 li:last-child .fill {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, var(--s) 50%);
    border-radius: 0 19px 19px 0;
}

ul.stages-v2 li:first-child:last-child .fill {
    clip-path: unset;
    border-radius: 19px;
}

ul.stages-v2 li.active {
    color: #fff;
}

ul.stages-v2 li .fill span {
    font-weight: 500;
    font-size: 13px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    position: relative;
    z-index: 1;
}

ul.stages-v2 .days-in-status {
    position: absolute;
    top: 4px;
    right: 3px;
}

ul.stages-v2 .days-in-status .diamond {
    width: 27px;
    height: 27px;
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    line-height: 0;
}

ul.stages-v2 .days-in-status .diamond > span {
    transform: rotate(-45deg);
}

ul.stages-v2 .days-in-status > span {
    transform: rotate(-45deg);
}

ul.stages-v2 li.active:has(.days-in-status) .fill{
    padding-right: 40px;
}
/*************************************************
    END:Leads Stages V2
*************************************************/

/*------------- 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;
}

.ticket-reply-attachments .preview_image img{
    max-height: 160px;
    height: inherit;
    object-fit: contain;
}

/*------------- 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 {
        width: 100%;
    }

    ._buttons .btn-group:not(._btn-group):has(.btn){
        margin-bottom: 0px !important;
    }

    ._buttons .btn{
        text-overflow: ellipsis;
        overflow: clip;
    }

    ._buttons .input-group-select .btn{
        margin-bottom: 0 !important;
    }

    .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: 1rem !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;
}

.table ul.tagit input[type="text"] {
    width: 100%;
}

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: 1px 0;
    margin: 5px 0;
    width: 100%;
}

ul.tagit li.tagit-choice .tagit-label:not(a) {
}

/*------------- Tagit plugin -----------------*/

/*------------- Staff and clients images -----------------*/
.client-profile-image-xs{
    --var-img-dimantion: 20px;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    object-fit: cover;
    max-width: unset;
}

.client-profile-image-small {
    --var-img-dimantion: 32px;
    height: 40px;
    width: 40px;
    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 {
    --var-img-dimantion: 10rem;
    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;
    justify-content: center;
}

.table-loading:before {
    margin: 30px 0;

    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;
    font-size: 60px;
}

.table-loading table {
    display: none;
}

.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,
.table-loading .table__footer {
    opacity: 0 !important;
}

.table th, .table td {
    padding: 0.7rem;
}

.table.has-calculations.items td{
    vertical-align: top;
}

#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;
    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 .onoffswitch {
    height: 20px;
}

.table__controls div.dt-buttons {
    margin-bottom: 0 !important;
    display: flex;
    flex-wrap: nowrap;
}

.table__controls div.dt-buttons .btn.open{
    background: var(--light);
    color: var(--dark);
}

.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:not(.items) thead th:first-child{
    min-width: 30px !important;
}

.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: 0.7rem;
}

.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.label-tag,
table.dataTable tbody tr td span.inline-block:not([class^=flatpickr-])
{
    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 tbody tr td span.inline-block.table-dropdown-group:not([class^="flatpickr-"]){
    gap: 3px;
    padding: 5px;
    position: relative;
}

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;
    flex-wrap: nowrap;
}

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.shown-subtable,
table.dataTable > tbody > tr.child-row,
table.dataTable > tbody > tr.child:hover
{
    background-color: var(--lt-color-background-light) !important;
}

table tr.child td.child{
    border-top: unset;
}

table tr.child td.child .dtr-data .text-center{
    text-align: left !important;
}

table.dataTable > tbody > tr.child-row td {
    border-top: none !important;
}
table.dataTable > tbody > tr.child-row td:first-child {
    padding-left: 23px !important;
}

.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;
        flex-wrap: wrap;
    }
}

@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;
    display: flex;
}

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;
    vertical-align: middle;
}

@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: 3px;
}
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;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.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 {
    text-align: center;
    color: inherit;
    margin: 0;
    border: 0;
    outline: 0;
    padding: 0 !important;
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: unset;
    border-bottom: 1px dashed #bbb;
    text-align: center;
    field-sizing: content;
}

.task-info-inline-input-edit.datetimepicker,
.task-info-inline-input-edit.task-datetimepicker {
    min-width: 15ch;
}

.task-info-inline-input-edit.datepicker,
.task-info-inline-input-edit.task-datepicker {
    min-width: 10ch;
}

.task-info-inline-input-edit[type="datetime-local"].datetimepicker,
.task-info-inline-input-edit[type="datetime-local"].task-datetimepicker {
    min-width: 19ch;
}

.task-info-inline-input-edit[type="date"].datepicker,
.task-info-inline-input-edit[type="date"].task-datepicker {
    min-width: 13ch;
}

.task-user {
    position: relative;
    display: inline-block;
}

.task-user .remove-task-user {
    position: absolute;
    left: 0;
    right: 0;
    top: 0%;
    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;
    }
}

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: 10px;
    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-modal .task-single-header__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 4px;
    color: #697586;
    font-size: 11px;
    line-height: 16px;
}

#task-modal .task-single-header {
    padding: 10px 16px;
}

#task-modal .task-single-header__content .modal-title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 400;
}

#task-modal .task-single-header__meta > span {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 16px 4px 0;
    white-space: nowrap;
}

#task-modal .task-single-header__meta > span + span::before {
    width: 1px;
    height: 20px;
    background: #d9dde4;
    content: '';
    margin-right: 16px;
}

#task-modal .nav_tabs_task_single .badge {
    position: static;
    top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 0 5px;
    padding: 2px 5px;
    vertical-align: middle;
    line-height: 1;
    transform: none;
}

#task-modal .task-single-header__billed {
    display: block;
    margin-top: 5px;
}

#task-modal .task-sidebar {
    align-self: flex-start;
    background-color: transparent;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0 12px 16px;
    min-width: 0;
}

#task-modal .task-participants-card {
    background: #fff;
    border: 1px solid #e7edf2;
    border-radius: 6px;
    padding: 14px;
}

#task-modal .task-sidebar .task-info-heading {
    font-size: 12px;
    line-height: 16px;
}

#task-modal .task-sidebar .task-info h5,
#task-modal .task-sidebar .task-info-heading {
    word-break: normal;
    overflow-wrap: break-word;
}

#task-modal .task-sidebar .task-info-heading__count {
    display: inline-flex;
    min-width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    padding: 0 5px;
    border-radius: 9px;
    background: #eef2f7;
    color: #667085;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    vertical-align: middle;
}

#task-modal .task-info-tags__list .tags-label {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 7px;
}

#task-modal .task-info-tags__list .label-tag {
    margin: 0;
}

#task-modal .task-info-tags__toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--blue);
    font-weight: 500;
    font-size: 12px;
    line-height: 18px;
}

#task-modal .task-info-tags__toggle:hover,
#task-modal .task-info-tags__toggle:focus {
    color: var(--blue);
    text-decoration: none;
}

#task-modal .task-info-tags__toggle .fe-plus {
    font-size: 16px;
}

#task-modal .task-info-tags-edit {
    min-width: 0;
}

#task-modal .task-info-tags-edit .tagit {
    margin: 0 0 7px;
}

#task-modal .task-info {
    margin: 0 0 5px;
}

#task-modal .task-info__row {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    color: #697586;
    font-size: 11px;
    line-height: 1.25;
}

#task-modal .task-info__label {
    display: inline-flex;
    flex: 1 1 auto;
    align-items: flex-start;
    min-width: 0;
    font-size: 11px;
    color: #697586;
}

#task-modal .task-info__label i {
    flex: 0 0 auto;
    margin-top: 1px;
}

#task-modal .task-info__value {
    display: block;
    flex: 0 0 auto;
    max-width: 50%;
    min-width: 0;
    color: #536274;
    font-weight: 500;
    text-align: right;
    overflow-wrap: anywhere;
}

#task-modal .task-info__badge {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 3px 6px;
    border: 0;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    line-height: 14px;
}

#task-modal .task-info__badge > span {
    color: inherit !important;
}

@media (max-width: 767px) {
    #task-modal .task-info__row {
        gap: 8px;
    }
}

#task-modal .task-info-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 6px;
    min-height: 32px;
    white-space: nowrap;
}

#task-modal .task-info-separator {
    margin: 7px 0;
}

#task-modal .task-checklist-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 10px;
    justify-content: space-between;
}

#task-modal .ui-checkbox-sortable-connect:not(:has(*)) ~ .task-checklist-toolbar__bottom {
    display: none;
}

#task-modal .task-checklist-toolbar > a,
#task-modal .task-checklist-toolbar > .checkbox,
#task-modal .task-checklist-toolbar > .task-checklist-refresh {
    flex: 0 0 auto;
    white-space: nowrap;
}

#task-modal .task-block-card {
    border: 1px solid var(--light-gray);;
    border-radius: 10px;
    padding: 10px
}

#task-modal .task-checklist-divider {
    display: flex;
    align-items: flex-start;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin-bottom: 10px;
}

#task-modal .task-divider__body {
    flex: 1 1 auto;
    min-width: 0;
    background: #f6f6f6;
    border: 1px solid #e7edf2;
    border-radius: 6px;
    padding: 9px 14px;
}

#task-modal .task-checklist-divider--expanded .task-divider__body {
    padding-bottom: 0;
}

#task-modal .task-checklist-divider--expanded .task-divider__items {
    padding: 10px 0;
    min-height: 40px;
    margin-left: -6px;
}

#task-modal .task-divider__items {
    min-height: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

#task-modal .task-divider__row {
    padding: 0;
    width: 100%;
    min-width: 0;
    flex-wrap: nowrap;
}

#task-modal .task-divider__priority {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: #3977b9;
    max-height: 40px;
}

#task-modal .task-divider__main {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: wrap;
}

#task-modal .task-divider__title {
    flex: 1 1 30%;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

#task-modal .task-divider__title span {
    word-break: break-word;
    overflow-wrap: break-word;
    width: 100%;
    display: block;
}

#task-modal .task-divider__details {
    display: grid;
    grid-template-columns: 105px minmax(25px, 150px) 105px;
    align-items: center;
    align-content: center;
    gap: 4px 10px;
    color: #6c757d;
    font-size: 12px;
}

#task-modal .task-divider__progress {
    height: 7px;
    margin: 0;
    background: #edf1f5;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
}

#task-modal .task-divider__review-progress {
    grid-column: 2;
    grid-row: 2;
    height: 7px;
    margin: 0;
    background: #edf1f5;
}

#task-modal .task-divider__review-progress .progress-bar {
    background: #6658dd;
}

#task-modal .checklist-priority-1 .task-divider__progress-bar {
    background: #808080;
}

#task-modal .checklist-priority-2 .task-divider__progress-bar {
    background: #0000ff;
}

#task-modal .checklist-priority-3 .task-divider__progress-bar {
    background: #dc143c;
}

#task-modal .task-divider__time {
    grid-column: 3;
    grid-row: 1;
    display: inline-flex;
    align-items: center;
    color: #8995a3;
    white-space: nowrap;
}

#task-modal .task-divider__time--overdue > span {
    color: #dc143c;
    font-weight: 600;
}

#task-modal .task-divider__progress-label {
    display: inline-block;
    white-space: nowrap;
    grid-column: 1;
    grid-row: 1;
    text-align: right;
}

#task-modal .task-divider__reviewed {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #6658dd;
    white-space: nowrap;
    grid-column: 1;
    grid-row: 2;
    justify-content: flex-end;
}

#task-modal .task-divider__members {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    min-width: 96px;
    margin-left: 6px;
}

#task-modal .task-divider__members img {
    width: 24px;
    height: 24px;
    border: 2px solid #fff;
    border-radius: 50%;
    margin-left: -6px;
}

#task-modal .task-divider__members-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-left: -6px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #e9eef3;
    color: #536273;
    font-size: 10px;
    font-weight: 700;
}

#task-modal .task-divider__actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 5px;
    justify-content: flex-end;
    max-height: 40px;
}

#task-modal .task-divider__dragger {
    display: inline-flex;
    flex: 0 0 25px;
    align-self: flex-start;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 40px;
    color: #ced4da;
    cursor: move;
    z-index: 1;
}

#task-modal .task-member-metrics {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 5px;
    color: #6c757d;
    white-space: nowrap;
}

#task-modal .task-member-metrics span {
    color: #38a169;
}

#task-modal .task-sidebar .task_users_wrapper {
    margin-bottom: 8px;
}

#task-modal .task-sidebar .task-participant-row {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    margin: 0 0 4px;
    font-size: 11px;
}

#task-modal .task-sidebar .task-participant-row__avatar {
    flex: 0 0 auto;
}

#task-modal .task-sidebar .task-participant-row__details {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px 6px;
    min-width: 0;
    line-height: 1.25;
    font-weight: 500;
}

#task-modal .task-sidebar .task-participant-row__details > a {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#task-modal .task-sidebar .task-participant-row .task-member-metrics {
    margin-left: 0;
    font-size: 11px;
}

#task-modal .task-sidebar .task-participant-row__image,
#task-modal .task-sidebar .staff-profile-image-small {
    width: 24px;
    height: 24px;
}

#task-modal .task-sidebar .bootstrap-select > .dropdown-toggle {
    min-height: 30px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 11px;
}

#task-modal .task-sidebar #task-attachment {
    min-height: 100px;
}

#task-modal .task-divider__title span:hover {
    background: #eef2f4;
}

#task-modal .task-checklist-divider .multi-checkbox__wrapper:hover {
    background: #f6f6f6;
}

#task-modal .task-sidebar__columns {
    column-gap: 6px;
}

#task-modal #checklist-items ul:not(.task-divider__items) {
    margin: 0 0 0 -10px;
}

@media screen and (min-width: 768px) {
    #task-modal .task-sidebar__columns {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        grid-auto-flow: row;
        gap: 16px;
        margin: 0;
        width: 100%;
    }

    #task-modal .task-sidebar__columns > .task-sidebar__block {
        width: auto;
        min-width: 0;
        max-width: none;
        padding: 0;
    }
}

@media screen and (min-width: 1200px) {
    #task-modal .task-view__row {
        display: grid;
        grid-template-columns: minmax(0, 1.75fr) minmax(360px, 1fr);
        gap: 16px;
        margin: 0;
    }

    #task-modal .task-view__row > .task-single-col-left,
    #task-modal .task-view__row > .task-single-col-right {
        width: auto;
        max-width: none;
        padding: 0;
    }

    #task-modal .task-sidebar {
        position: sticky;
        top: 12px;
        padding-right: 0;
        padding-left: 0;
        overflow-y: auto;
        overflow-x: hidden;
        max-height: calc(100vh - 12px);
    }
}

@media screen and (max-width: 1199px) {
    .task-view__row {
        flex-direction: column-reverse;
    }
}

@media screen and (max-width: 575px) {
    .task-summary .col-12.border-right {
        border-right: none !important;
    }
}

/* Task layout must follow the selected dialog size, not only the viewport. */
@media screen and (min-width: 1200px) {
    /*
     * The option values map to actual dialog widths as follows:
     * modal-sm (800px), modal-xxl (1060px), modal-lg (1300px), modal-xl (1500px).
     * Keep the task content readable at every width instead of applying the
     * large-dialog sidebar layout to every selected option.
     */
    #task-modal .modal-dialog.modal-sm .task-view__row {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    #task-modal .modal-dialog.modal-sm .task-view__row > .task-single-col-left,
    #task-modal .modal-dialog.modal-sm .task-view__row > .task-single-col-right {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }

    #task-modal .modal-dialog.modal-sm .task-sidebar {
        position: static;
        padding: 0;
    }

    #task-modal .modal-dialog.modal-sm .task-sidebar__columns {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    #task-modal .modal-dialog.modal-sm .task-divider__card > .task-divider__row,
    #task-modal .modal-dialog.modal-xxl .task-divider__card > .task-divider__row {
        align-items: flex-start;
    }

    #task-modal .modal-dialog.modal-sm .task-divider__actions {
        margin-left: auto;
    }

    #task-modal .modal-dialog.modal-xxl .task-sidebar__columns {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    #task-modal .modal-dialog.modal-lg .task-sidebar__columns {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    #_task_modal .modal-dialog.modal-sm .row > [class*='col-md-'] {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }
}

@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--------------------*/
.fc-center {
    margin-right: 10px;
    margin-left: 10px;
}

@media (max-width: 767px) {
    .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: auto;
    height: calc(100vh - 250px);
}

/* 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;
    margin-bottom: 0px !important;
}

.no-shadow {
    box-shadow: none !important;
    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_total_col {
    min-height: 105px;
}

.expenses_total_col:last-child {
    border-right: 0;
}

@media (max-width: 767px) {
    .expenses_total_col {
        border-right: 0;
        border-bottom: 1px solid #edf0f4;
    }
}

/* /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-overview {
    display: flex;
    align-items: stretch;
    width: 100%;
    flex-wrap: wrap;
    overflow: hidden;
}

.tickets-overview__item {
    display: flex;
    flex: 1 1 180px;
    align-items: center;
    min-width: 0;
    min-height: 88px;
    padding: 15px;
    gap: 15px;
    color: inherit;
    text-decoration: none;
}

@media screen and (min-width: 768px) {
    .tickets-overview__item{
        border-right: 1px solid #e8edf3;
    }
}

.tickets-overview__item:hover {
    color: inherit;
    text-decoration: none;
    background-color: #fafbfd;
}

.tickets-overview__item:last-child {
    border-right: 0;
}

.tickets-overview__icon {
    display: inline-flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 22px;
}

.tickets-overview__content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.tickets-overview__value {
    color: #2f4054;
    font-size: 22px;
    font-weight: 500;
}

.tickets-overview__label {
    overflow: hidden;
    font-size: 13px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.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) {
    .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;
    }
}

/*-------- 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;
    width: 100%;
    overflow-x: auto;
}

.notes-sortable.card-columns {
    column-count: 1;
}

@media screen and (min-width: 768px) {
    .notes-sortable.card-columns {
        column-count: 3;
    }
}

.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%;
    position: relative;
}
.notes-block .note_content {
    height: 150px;
    overflow-x: hidden;
    overflow-y: auto;
}

.notes_search_highlight {
    background-color: yellow;
}
.notes_search_highlight_active {
    background-color: #ff9632 !important;
}
.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;
}

#survey_questions li .box_area .checkbox,
#survey_questions li .box_area .radio{
    display: flex;
    flex: 1 1 auto;
}
#survey_questions li .box_area .checkbox > label,
#survey_questions li .box_area .radio > label{
    flex: 1 1 auto;
}
#survey_questions li .question > .row{
    margin-right: -7px;
    margin-left: -7px;
}

.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;
    border-radius: 6px;
    box-shadow: 0px 0px 3px var(--dark50);
    min-height: 45px;
    float: left;
    height: 100%;
    width: 100%;
    overflow-x: auto;
    background: white;
}

.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,
.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);
}

._transaction_form table.items{
    border-bottom: 0;
    border-right: 0;
    border-left: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

._transaction_form  table.items th:first-child {
    border-left: 1px solid #dee2e6;
}

._transaction_form  table.items th:last-child {
    border-right: 1px solid #dee2e6;
}

#invoice_preview_panes .dragger, ._transaction_form  table.items .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;
}

._transaction_form table.items .dragger:after{
    content: '☰';
    font-size: 1.5rem;
    color: #ced4da;
    position: absolute;
    top: 11px;
    right: 0;
    width: 20px;
    height: 32px;
    text-align: left;
    cursor: move;
}
._transaction_form table.items .dragger{
    min-width: 10px;
}

._transaction_form table.items input,
._transaction_form table.items .bootstrap-select
{
    min-width: 80px;
}

._transaction_form table.items .tox-tinymce
{
    border-radius: 6px;
    min-width: 150px;
}

@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: 650px;
    right: 0;
    transform: translateX(100%);
    transition: 0.25s;
}

.right-bar-enabled .right-bar {
    transform: translateX(18px);
    transition: 0.5s;
    margin-top: 121px;
    height: calc(100vh - 122px);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

@media screen and (max-width: 1625px) {
    .right-bar-enabled .right-bar {
        margin-top: 111px;
        height: calc(100vh - 112px);
    }
}
@media screen and (max-width: 1359px){
    .right-bar-enabled .right-bar {
        margin-top: 125px;
        height: calc(100vh - 125px);
    }
}

@media screen and (max-width: 768px) {
    .right-bar-enabled .right-bar {
        margin-top: 0px;
        height: 100vh;
    }
}

.right-bar__container {
    display: flex;
    flex-direction: row;
    max-height: 100%;
    height: 100%;
}

.right-bar__left {
    flex: 1;
    height: 100%;
    overflow-y: hidden;
    position: relative;
    border-right: 1px solid var(--light-gray);
}

.right-bar-support-block {
    display: flex;
    margin: 15px;
    padding: 10px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    justify-content: center;
    flex-direction: column;
}

.right-bar__right {
    flex: 2;
    height: 100%;
    overflow-y: hidden;
}

.right-bar__category {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: calc(100% - 200px);
    flex-wrap: nowrap;
    padding-left: 0px;
    padding-right: 0px;
    list-style: none;
    position: relative;
}

.right-bar__category .category__item {
    padding-right: 15px;
    padding-left: 15px;
    border-left: 0px solid rgba(255, 255, 255, 0);
}

.category__item:hover,
.category__item.active
{
    background-color: var(--light-gray);
}

.category__item a:hover,
.category__item.active a
{
    color: var(--blue);
}

.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: 123px;
    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 10px;
    font-size: 13px;
    display: flex;
    align-items: center;
    font-weight: 500;
    font-family: "Roboto";
}
.category__link{
    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;
    }
}

/*----------RIGHTBAR-menu----------*/

.page-item.active .page-link {
    background-color: var(--success);
    border-color: var(--success);
}

.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;
}
.tabs-with-btns ul li .nav-link.active{
    border-bottom: 2px solid var(--green) !important;
    color: 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.dt-buttons {
    gap: 5px;
}

div.dataTables_wrapper div.dataTables_filter label,
div.dataTables_wrapper div.dataTables_length label{
    margin-bottom: 0;
}

.table__controls div.dt-buttons > .btn-group,
.table__controls div.dt-buttons > .btn
{
    border-radius: 6px;
}

div.dataTables_wrapper div.dataTables_paginate {
    display: inline-block;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination{
    gap: 5px;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination a{
    border-radius: 6px;
}

.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;
    color: var(--gray-dark)
}

.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: 12rem;
    height: 34px;
    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: 12rem;
    height: 34px;
    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;
    transform: scale(0.9);
}

.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!important;
}

.checklist-priority-2 {
    border-left: 3px solid #0000ff!important;
}

.checklist-priority-3 {
    border-left: 3px solid #dc143c!important;
}

.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:not(.modal-open){
    overflow-y: scroll;
}
#invoice_preview_panes .sortable, ._transaction_form  table.items .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,
.child-no-margin > div,
.child-no-margin > p
{
    margin-bottom: 0;
}

.child-no-margin-all > *
{
    margin-top: 0 !important;
}

.remove-child-styling *
{
    margin: 0;
    font-size: inherit;
}

@media screen and (min-width: 768px) {
    .child-margin-top > div.form-group{
        margin-top: 0.375rem !important;
    }
}

.tasks__project-filter{
    max-height: 42px;
    width: 215px;
}
.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;
    }

    .tasks__project-filter{
        width: 100%;
    }
}

@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 > ul > li.has-submenu:hover > a {
    box-shadow: 0 2px 0 0 var(--green);
}
.horizontalmod .navigation-menu > li{
    background-color: #fff;
}
li.topnav__create.show a.nav-link {
    border-bottom: 3px solid var(--green);
}

.horizontalmod .navigation-menu > li > ul {
    margin-top: 0 !important;
    top: 100% !important;
}

.horizontalmod .navigation-menu > li > a {
    display: flex !important;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
    transition: none !important;
}

.horizontalmod .navigation-menu > li:hover:not(.not-cross) > a {
    border-bottom-color: transparent !important;
    box-shadow: inset 0 -2px 0 0 var(--green) !important;
    transition: none !important;
}

.breadcrumb-navigation.horizontalmod .screen-options-btn {
    top: 290px;
}
#topnav{
    z-index: 1000;
}
.horizontalmod #topnav{
    top: 60px;
}
.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;
}
.disabled-icon {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}
.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;
    border-radius: 0.25rem;
    background-color: #f7f7f7;
    display: block;
}
.leads-tab-has-submenu ul{
    padding-left: 0;
    padding-right: 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;
    max-height: calc(40px * 13);
    overflow: auto;
}

.leads-tab-has-submenu ul div.dropdown-devider{
    white-space: nowrap;
    min-width: 200px;
    padding: 0.325rem 20px;
    color: var(--gray);
}

.leads-tab-has-submenu ul div.dropdown-devider:not(:first-child) {
    border-top: 1px solid var(--light-gray);
}

.leads-tab-has-submenu ul li{
    white-space: nowrap;
}

.leads-tab-has-submenu.show ul{
    display: block;
    margin-top: 10px;
    transform: none !important;
    overflow-x: hidden;
}

.leads-tab-has-submenu.show ul:before{
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 10px;
    top: 0;
    left: 0;
    transform: translateY(-10px);
}
.leads-tab-has-submenu.show ul:after{
    content: '';
    display: block;
    position: absolute;
    width: 10px;
    height: 10px;
    top: 0;
    right: 15%;
    transform: translateY(-50%) rotate(-45deg);
    box-shadow: 1px -1px 0px 0px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    z-index: -1;
}

.leads-tab-has-submenu .nav-link{
    padding-left: 20px;
    padding-right: 20px;
}

.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 {
        white-space: nowrap;
    }
}

.lead-modal .nav-tabs-horizontal .nav-link {
    padding-left: 10px !important;
    padding-right: 10px !important;
    line-height: 19px;
    display: flex;
    align-items: center;
}

@media (min-width: 992px) {
    .lead-modal .row.multi-tab {
        margin-top: -12px;
    }

    .border-lg-right {
        border-right: 1px solid var(--light-gray);
    }
}

.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-left: 15px;
        padding-right: 5px;
    }
    .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: 150px;
        padding: 0 0 0 5px;
    }
}
.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;
    }

    .border-md-right {
        border-right: 1px solid var(--light-gray);
    }

    .border-md-left {
        border-left: 1px solid var(--light-gray);
    }
}
@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-item-content,
#notifications_all .notification_group_additional .notification-wrapper
{
    padding: 0 10px 0 20px;
}

.notification_group_additional .notification-box-all {
    border-bottom: none;
}

.notifications_full.notification_group_additional {
    margin-bottom: 10px;
}

.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%;
}

.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{
    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-event .fc-time, .fc-event .fc-title{
    margin-left: 0 !important;
    text-overflow: ellipsis;
    display: flex !important;
    justify-content: space-between;
    line-height: 20px;
}

.fc-event .fc-content {
    min-width: 0;
}

.fc-event .fc-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 1 1 auto;
}

.fc-event .fc-title .fc-title-wrapper {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fc-staff-block {
    display: flex;
}

.fc-staff-block a {
    position: relative;
    display: flex;
    margin-left: -10px;
}

.fc-staff-block a:first-child {
    margin-left: 0;
}

[class*="calendar_legend_"] {
    display: flex;
    flex-wrap: wrap;
}

.calendar-legend-item {
    display: flex;
}

.calendar-legend-icons {
    display: flex;
    align-items: center;
}

.calendar-legend-dot {
    display: block;
    width:15px;
    height:15px;
    border-radius:50%;
    box-sizing:border-box;
    border: 2px solid;
}

.calendar-legend-dot + .calendar-legend-dot{
    margin-left:-4px;
}

.input-group.date .flatpickr-wrapper{
    flex: 1;
}

@media screen and (max-width: 768px) {
    .task-single-col-right {
        margin-bottom: .5rem;
    }
}
.lead-information-col {
    margin-bottom: 0.75rem;
}

.lead-information-col > div {
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    padding: 15px;
}

.block-float-header{
    position: absolute;
    top: -10px;
    width: 100%;
    left: 0;
    text-align: center;
}

.block-float-header > small, .block-float-header > span{
    background-color: white;
    padding: 0 10px;
}

.lead-information-col .list-devider{
    margin-left: -15px;
    padding-left: 20px !important;
    margin-right: -15px;
}

.lead-information-col p {
    word-break: break-word;
}

.lead-information-col ul.multi-tab li[role="presentation"]{
    padding: 0.375rem !important;
}

.lead-information-col ul.multi-tab li[role="presentation"] > a.nav-link{
    padding: 0;
}

.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: 25px;
}
.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);
}

/* Project view header */
body.projects.project.view .content-breadcrumb .page-title {
    display: none;
}

body.projects.project.view .content-breadcrumb .page-title-right {
    width: 100%;
}

.project-view-panel .project-heading,
.project-view-panel #project_view_name,
.project-view-panel .project-heading__select {
    min-width: 0;
}

.project-view-panel #project_view_name {
    display: flex;
    align-items: center;
    width: 100%;
}

.project-view-panel .project-heading__select {
    position: relative;
    flex: 0 1 auto;
}

.project-view-panel .project-heading__name-fallback {
    position: relative;
    display: block;
    height: 41px;
    padding: 5px 28px 4px 10px;
    overflow: hidden;
    color: #323a46;
    font-size: 18px;
    font-weight: 500;
    line-height: 32px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-view-panel .project-heading__name-fallback::after {
    position: absolute;
    top: 4.5px;
    right: 10px;
    content: "\F140";
    font-family: "Material Design Icons";
    font-size: 18px;
}

.project-view-panel .project-heading__select > .bootstrap-select + .project-heading__name-fallback {
    display: none;
}

.project-view-panel .project-heading__select .filter-option-inner-inner {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-view-panel .project-heading__meta {
    flex: 0 0 auto;
    margin-left: 10px;
}

.project-view-panel__notice .project-due-notice {
    padding: 8px 12px;
    text-align: center;
}

@media (max-width: 768px) {
    .project-view-panel #project_view_name {
        margin-bottom: 10px;
    }

    .project-view-panel__notice,
    .project-view-panel__actions {
        margin-top: 10px;
    }
}

.project-overview-info-card,
.project-overview-team-card,
.project-overview-statistics-card {
    overflow: hidden;
}

.project-overview-info-card .project-info,
.project-overview-team-card .project-info {
    font-size: 14px;
    font-weight: 600;
}

.project-overview-table td {
    border-top: 0 !important;
    padding: 4px;
    font-size: 12px;
}

.project-overview-table td:first-child {
    font-weight: 600;
}

.project-overview-table .label {
    font-size: 11px;
    font-weight: 600;
}

.project-overview-left .project-percent-col {
    margin-top: 0;
    padding-top: 2px;
}

.project-overview-left .project-percent-col > p {
    margin-bottom: 5px;
    color: #526174;
    font-size: 12px;
}

.project-overview-description {
    font-size: 12px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.project-overview-team-card {
    padding: 14px 16px;
}

.project-overview-team-card .media {
    align-items: center;
    margin-top: 8px;
    font-weight: 600;
}

.project-overview-statistics-card {
    padding: 0;
}

.project-overview-statistics-card > .row:first-child,
.project-overview-logged-hours-finance,
.project-overview-expenses-finance {
    margin-right: 0;
    margin-left: 0;
}

.project-overview-statistics-card > .row:first-child {
    border-bottom: 1px solid #e9eef3;
}

.project-overview-statistics-card .project-progress-bars {
    padding: 15px 17px;
}

.project-overview-logged-hours-finance > [class*="col-"],
.project-overview-expenses-finance > [class*="col-"] {
    padding: 14px 16px;
    border-right: 1px solid #e9eef3;
    border-bottom: 1px solid #e9eef3;
}

.project-overview-logged-hours-finance > [class*="col-"]:last-child,
.project-overview-expenses-finance > [class*="col-"]:last-child {
    border-right: 0;
}

.project-overview-logged-hours-finance p,
.project-overview-expenses-finance p {
    margin-bottom: 6px;
    font-size: 11px;
}

.project-overview-logged-hours-finance .font-medium,
.project-overview-expenses-finance .font-medium {
    color: #526174;
    font-size: 12px;
}

.project-overview-timesheets-chart {
    padding: 14px 16px 12px;
}

.project-overview-timesheets-chart canvas {
    margin-top: 10px;
}

.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: 60px;
    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: 60px;
    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: 15px 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: 13px;
    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: -25px;
    position: absolute;
    right: 3px;
}
#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,
.accounting-template .s_table table.table th
{
    padding-left: 5px;
    padding-right: 5px;
}

@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;
    }

    ._transaction_form table.items{
        border-top: 0;
    }
}
@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: 1 1 40px;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .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{
    display: flex;
    justify-content: flex-end;
    flex-grow: 1;
    align-self: baseline;
    margin-right: 7px;
}
.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;
    background-color: #fafafa;
    flex: 1;
    border-radius: 3px;
    border: 0;
    outline: 0;
    padding-left: 5px;
}

.multi .checkbox__text {
    background-color: #f6f6f6;
}

.checklist.checklist-pretask,
#checklist-items .task-checkbox .task__checkbox,
#checklist-items .task-checkbox .checklist-item-info,
#checklist-items .task-checkbox .checklist-assignees {
    margin-left: 25px;
}

.task-checkbox .checkbox-dragger, .multi .checkbox-dragger{
    color: #ced4da;
}

.task-checkbox .checkbox-dragger,
.task-checkbox .tasks-comment-tippy:not(.checklist-has-comments),
.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;
}

.worktime_search_box {
    max-width: 250px;
}

@media screen and (max-width: 915px){
    .table__radio-container{
        flex-direction: column;
        width: 100%;
        align-items: flex-end;
    }

    .worktime_search_box {
        max-width: initial;
    }
}

#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;
    font-size: 0.7rem;
}

#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"],
.estimate-items-table input[name="quantity"],
.estimate-items-table input[data-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;
    margin-top: 5px;
    display: flex;
    align-items: center;
    grid-gap: 10px;
    flex-wrap: wrap;
}
.leads__top-controls .lead-potential:empty{
    display: none;
}

.leads__top-controls .lead-potential > div:not(:last-child) {
    padding-right: 10px;
    border-right: 1px solid var(--light-gray);
}
@media (max-width: 1023px){
    .leads__top-controls .lead-potential{
        width: 80%;
        margin-right: 0;
        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;
}
.contenteditable-trigger[contenteditable="true"] {
    padding: 3px 6px;
}
.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 .activity-log-pinned-message {
    opacity: 0;
}
#lead_activity .feed-item:hover .activity-log-pinned-message {
    opacity: 1;
}
.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;
}

#_task_modal .task-form-section {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #e4e9f0;
    border-radius: 6px;
    background: #fff;
}

#_task_modal .task-form-section__heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 700;
}

#_task_modal .task-form-section__heading i {
    color: #2f80ed;
    font-size: 16px;
}

.dropdown-menu.show .inner {
    overflow-y: scroll !important;
    scrollbar-width: none;  /* Firefox */
}

#task-modal .horizontal-scrollable-tabs{
    margin-left: 0px!important;
    margin-right: 0px!important;
    display: flex;
    align-items: flex-start;
}
#task-modal .horizontal-tabs{
    flex: 1;
    min-width: 0;
}
#task-modal .ribbon-box {
    flex: 0 0 auto;
    order: 2;
}
.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 .avatar-sm {
    min-width: 2.25rem;
}
@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;
}

#checklist-items li {
    list-style-type: none;
}
#checklist-items ul {
    margin-left: 0;
    padding-left: 0;
}
.checklist-comments-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    line-height: 1;
}
.checklist-comments-toggle.checklist-comments-has-unread,
.checklist-comments-toggle.checklist-comments-has-unread .checklist-comment-count {
    color: #f1556c !important;
    font-weight: 700;
}
.checklist-comment-count {
    display: block;
    min-width: 16px;
    max-width: 38px;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: rgba(57, 128, 206, .12);
    color: #3980ce;
    font-size: 11px;
    line-height: 16px;
    text-align: center;
    margin: auto -10px;
}
.checklist-has-comments {
    color: var(--success);
}
.checklist-dialog {
    padding: 12px 14px 14px;
    border-left: 2px solid #d6dce5;
    background: rgba(57, 128, 206, .04);
    border-radius: 6px;
    margin-left: 25px;
}
.checklist-dialog-legacy {
    margin-bottom: 10px;
    padding: 8px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .75);
    color: var(--secondary);
    font-style: italic;
}
.checklist-dialog-comment {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.checklist-dialog-comment:last-child {
    margin-bottom: 0;
}
.checklist-dialog-comment-unread .checklist-dialog-body {
    border-left: 3px solid #f1556c;
    padding-left: 9px;
}
.checklist-dialog-avatar {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e5e9f0;
    color: #6c757d;
    font-size: 11px;
    font-weight: 700;
}
.checklist-dialog-body {
    flex: 1;
    min-width: 0;
}
.checklist-dialog-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: #8a929d;
    font-size: 12px;
}
.checklist-dialog-meta strong {
    color: inherit;
    font-size: 13px;
}
.checklist-dialog-actions {
    margin-left: auto;
    display: inline-flex;
    gap: 8px;
}
.checklist-dialog-text {
    white-space: normal;
    overflow-wrap: anywhere;
}
.checklist-dialog-input-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 4px;
}
.checklist-dialog-input,
.checklist-comment-edit-text {
    min-height: 38px;
    resize: vertical;
}

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: 270px;
    background: white;
    /* height: 86vh; */
    bottom: 0;
    display: inline-block;
    position: fixed;
    top: 120px;
    right: 0;
    border: 0;
    container-type: inline-size;
    container-name: fixed_block;
}

@media screen and (max-width: 1625px) {
    div.horizontalmod#fixed_block {
        top: 110px;
        /* height: 87vh; */
    }
}

@media screen and (max-width: 1368px) {
    div.horizontalmod#fixed_block {
        top: 125px;
        /* height: 86vh; */
    }
}

@media screen and (max-width: 768px) {
    div.horizontalmod#fixed_block {
        top: 60px;
        /* height: 92vh; */
    }
}

#wrapper .with_fixed_block > div:not(#fixed_block),
#wrapper .with_fixed_block .btn-bottom-toolbar{
    width: calc(100% - 275px);
}

#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: 60px;
}

#fixed_block .scrtabs-tab-scroll-arrow{
    height: 60px;
    font-size: 20px;
    padding-top: 15px;
}

#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: 60px;
    text-align: center;
    max-height: 60px;
}

#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:not(#fx_block_chats) ul{
    list-style-type: none;
    padding: 0.75rem;
}

#fixed_block .chat-submenu{
    z-index: 99999;
}

.horizontalmod .with_fixed_block .screen-options-btn {
    right: 282px;
}
.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 i{
    font-size: unset!important;
}

#fixed_block .todo__container_scrolable {
    overflow-y: auto;
    width: 100%;
}

#fx_block_todos .todo-all{
    padding: 12px 20px;
}

.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;
    }

    .accounting-template .s_table table.table td
    {
        padding-left: 0px;
        padding-right: 0px;
    }
}

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;
    }
}

@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%;
    }
}

@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: 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;
    }

    .kanban_view .tasks_filters{
        width: 100% !important;
    }

    .kanban_view .tasks_filters .tasks-filter-column{
        padding-right: 0px;
    }

    .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: -135px;
    }

    #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: 57%;
}

.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;
    }

    .has-options .hover-options{
        display: none;
    }

    .has-options:hover .hover-options{
        display: block;
    }

    .position-md-absolute{
        position: absolute;
    }
}

.knowledge_base #kan-ban .kan-ban-col-wrapper{
    width: 300px;
}

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: 165px;
}

#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;
    top: 70%;
}

.sales-note-wrapper {
    word-break: break-word;
}

.btn {
    font-size: 12px;
    font-weight: 500;
}

.card-box {
    margin-bottom: 12px;
}

body {
    font-size: 13px;
}

#timenow {
    font-size: 13px;
}

.popover{
    font-weight: 500;
    font-size: 13px;
    border: none;
}

.popover-body{
    padding: 1rem;
    border-radius: 6px;
    box-shadow: 0px 0px 3px var(--dark50);
    height: 100%;
    width: 100%;
}

.popover-header + .popover-body {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

small{
    font-size: 11px;
}

.tippy-tooltip {
    font-size: 12px;
}

.effectiveness_monitor .progress {
    height: 16px;
}

.btn, .badge {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}

.btn::before, .badge::before, .dataTables_paginate .page-link::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
            repeating-linear-gradient(157deg, rgba(255, 255, 255, 0) .4px, rgba(255, 255, 255, .09) 11px, transparent 27px, transparent 19px),
            repeating-linear-gradient(161deg, rgba(255, 255, 255, 0) .1px, rgba(255, 255, 255, .05) 7px, transparent 25px, transparent 5px);
    mix-blend-mode: screen;
}

.badge::before {
    background:
            repeating-linear-gradient(157deg, rgba(255, 255, 255, 0) .4px, rgba(255, 255, 255, .09) 11px, transparent 27px, transparent 19px),
            repeating-linear-gradient(161deg, rgba(255, 255, 255, 0) .1px, rgba(255, 255, 255, .05) 7px, transparent 25px, transparent 5px);
}

body.main-todo-page .footer {
    margin-top: 0 !important;
}

.todo__container {
    padding: 0.5rem 1rem 0.5rem;
}

.dropdown-menu, .dropdown-menu .dropdown-header {
    font-size: 13px;
    font-weight: 500;
}

#todos_select_period_buttons .btn .badge {
    top: 4px;
    font-size: 11px;
}

body.main-todo-page .staff-profile-image-small {
    height: 29px;
    width: 29px;
}

#todos_select_period_buttons .badge-light {
    color: var(--blue);
}

.todo_finished_badge,
.todo_unfinished_badge,
.todo_failed_badge {
    height: fit-content;
}

.badge-light-gray {
    color: var(--blue);
    background-color: #f4f6f8;
}

.todo-checkbox p {
    margin-bottom: 0 !important;
}

.todo-checkbox .container-fluid {
    color: var(--gray) !important;
}

.widget__item--todos.alert-danger .todo-checkbox .container-fluid i {
    color: var(--danger);
}

.widget__item--todos .todo-checkbox .container-fluid i {
    color: var(--gray);
}

.modal {
    padding-right: 0 !important;
}

.todo_datas {
    position: relative;
    padding-right: 12px;
    padding-left: 12px;
}

.btn-sm {
    padding: 0.28rem 0.5rem;
}

.todo_option_block {
    width: 70px;
}
.notes_sort_line {
    padding: 5px 0;
}

.note_dateadded {
    font-size: 11px;
}
.notes_button_wrapper {
    min-width: 70px;
}
.notes_filters_wrapper {
    width: 40%;
}
.notes_filters_wrapper div.form-group {
    width: 49%;
}

.form-control {
    font-size: 13px;
}

.note_content, .note_footer {
    padding: 0 20px;
}

.note_footer {
    padding-top: 10px;
}

.notes_reorder.active {
    color: var(--green);
}

.note_drag_disabled {
    pointer-events: none;
    cursor: help !important;
}

.notes_icon {
    font-size: 15px;
    text-decoration: none;
    color: var(--gray);

}
.notes_icon.dragger {
    cursor: move;
}

.calendar_birthday_wrapper, .calendar_notes_wrapper {
    margin: 10px 0 0;
    box-shadow: 1px 0 0 #e6e6e6,-1px 0 0 #e6e6e6,0 1px 0 #e6e6e6,0 -1px 0 #e6e6e6,0 3px 13px rgba(0,0,0,0.08);
}
.fc-layout-body {
    display: flex;
    gap: 20px;
}

#calendar_day_sidebar {
    width: fit-content;
}

.calendar-note, .bordered-box-wrapper {
    padding: 1rem;
    border: 1px solid var(--light);
}

.calendar_notes_wrapper .card-box:last-child {
    margin-bottom: 0 !important;
}

@media (max-width: 767px) {
    #calendar_day_sidebar {
        display: none;
    }
}

.card-box-shadowed{
    padding: 1rem;
    border-radius: 6px;
    box-shadow: 0px 0px 3px var(--dark50);
    height: 100%;
    width: 100%;
}

.card-box-bordered{
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid var(--light-gray);
}

.card-box-header{
    margin-left: -1rem;
    margin-right: -1rem;
    padding: 0 1rem 1rem 1rem;
    margin-bottom: 0;
    background-color: var(--white);
    border-radius: 10px 10px 0 0;
    border-bottom: 1px solid var(--light-gray);
}

.card-box-footer{
    margin-left: -1rem;
    margin-right: -1rem;
    padding: 1rem 1rem 0 1rem;
    margin-bottom: 0;
    background-color: var(--white);
    border-radius: 0 0 10px 10px;
    border-top: 1px solid var(--light-gray);
}

.no-top-border-radius{
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

@media screen and (max-width: 766px) {
    .notes_filters_wrapper {
        width: 100%;
    }
}

.simplebar-track.simplebar-vertical {
    width: 8px;
}

.simplebar-track.simplebar-horizontal {
    height: 8px;
}

.simplebar-scrollbar::before {
    border-radius: 999px;
    background: rgba(120, 120, 120, .85);
    transition: background .2s ease, opacity .8s ease;
}
.post_comments_wrapper .comment {
    margin-bottom: .5rem;
}

.comment__like-icon {
    font-size: 14px;
}

.custom_badge {
    position: relative;
    padding: 1px 5px;
    border-radius: 6px;
    height: fit-content;
    overflow: hidden;
}
.custom_badge::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
            repeating-linear-gradient( 135deg, rgba(255,255,255,.1) 1px, rgba(255,255,255,.1) 1px, transparent 7px, transparent 6px ),
            repeating-linear-gradient( 45deg, rgba(255,255,255,.1) 1px, rgba(255,255,255,.1) 1px, transparent 7px, transparent 8px );
    mix-blend-mode: screen;
}

.flatpickr-calendar, .card-box {
    background: #fff;
    border-radius: 14px;

    box-shadow:
            0 1px 3px rgba(0,0,0,.03),
            0 8px 24px rgba(0,0,0,.04);

    transition: box-shadow .2s ease,
    transform .2s ease;
}

.card-box:hover {
    box-shadow:
            0 2px 6px rgba(0,0,0,.05),
            0 16px 40px rgba(0,0,0,.06);
}

.reminder_table_description {
    width: 450px;
}

@media (max-width: 767px) {
    .reminder_table_description {
        width: 300px;
    }
}

.notification_cells {
    display: flex;
    padding-right: 12px;
    border: 1px solid #f1f3f5;
    border-radius: 10px;
    height: 100%;
}

.notification_cells i {
    margin-left: 1px;
}

.notification_modal_button_group button {
    height: 30px;
}

.notification_modal_filter  {
    width: 30px;
}

.progress-bar.no-percent-text{
    font-size: 0;
}

i.icon-with-bg.font-16{
    --icon-font-size: 16px;
}
i.icon-with-bg.font-20{
    --icon-font-size: 20px;
}

i.icon-with-bg{
    display: flex;
    height: calc(var(--icon-font-size, 13px) * 2);
    min-width: calc(var(--icon-font-size, 13px) * 2);
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.notifications_settings_wrapper,
.right-bar-items
{
    border: 1px solid var(--light-gray);
    border-radius: 8px;
}

.right-bar-items a {
    display: flex;
}

.notification-analytic-wrapper:not(:last-child) {
    border-right: 1px solid var(--light-gray);
}


@media (max-width: 576px) {
    .notification-analytic-wrapper:not(:last-child) {
        border-right: none !important;
        border-bottom: 1px solid var(--light-gray);
    }
}

.notifications_settings_wrapper i {
    align-self: center;
}

.notifications_tabs .nav-bordered a.active {
    border-bottom: 2px solid var(--blue) !important;
}

.notification_checkbox_wrapper {
    padding: 0.75rem 0.75rem 0.75rem 55px;
}
.calendar-filters-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    min-width: 0;
}

.calendar-notify-filters {
    flex: 0 0 auto;
    min-width: 532px;
}

.calendar-filters-wrapper:not(:last-child) {
    border-right: 1px solid var(--light-gray);
}

#fc-staffFilter-wrapper button.btn {
    border: none !important;
}

.notify_dot {
    width:10px;
    height:10px;
    border-radius:50%;
}

.notify_dot_blue {
    background-color: var(--blue);
}

.notify_dot_light {
    background-color: var(--light);
}

#custom_fields_filter_calendar_staff {
    height: 32px !important;
}

.progress{
    border-radius: 10px;
}

.aword-ribbon-container{
    position: absolute;
    left: 10px;
}

.icon-award-ribbon {
    display: block;
    width: 40px;
    height: 40px;
    -webkit-mask: url(/assets/images/award-ribbon.svg) center/contain no-repeat;
    mask: url(/assets/images/award-ribbon.svg) center/contain no-repeat;
    position: relative;
}

.icon-award-ribbon[data-rank="1"]{
    background: gold;
}
.icon-award-ribbon[data-rank="2"]{
    background: silver;
}
.icon-award-ribbon[data-rank="3"]{
    background: #CD7F32;
}
.icon-award-ribbon::after {
    content: attr(data-rank);
    position: absolute;
    inset: 0;
    top: -8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font: 700 16px/1 sans-serif;
    color: #ffff;
}

@media (max-width: 769px) {
    .calendar-filters-wrapper {
        border: none !important;
    }

    .calendar_general > div,
    .calendar_sales > div,
    .calendar_notifications > div,
    .calendar_personnel > div {
        padding-left: 0 !important;
    }
}

@media (max-width: 769px) {
    .fc-right {
        display: flex !important;
        justify-content: start;
        flex-direction: column;
    }

    .fc-right > * {
        margin-bottom: 10px;
    }

    .fc-right button {
        width: 100%;
        text-align: left;
    }

    .fc-right .fc-button-group, .fc-right .fc-calendarFilter-button {
        margin-left: 0 !important;
    }

    .fc-right #fc-staffFilter-wrapper {
        width: initial !important;
    }

    button.fc-staffFilter-button {
        margin-bottom: 10px;
        height: 32px !important;
    }
}

#chartjs-tooltip {
    position: absolute;
    z-index: 999999;
    pointer-events: none;
    opacity: 0;
    transition: opacity .12s;
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
    padding: 10px 12px;
    max-width: 700px;
    max-height: 400px;
    overflow: auto;
}

#chartjs-tooltip .chart-tooltip-title {
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #ececec;
}

#chartjs-tooltip .chart-tooltip-body {
    display: grid;
    gap: 6px 20px;
}

#chartjs-tooltip .chart-tooltip-row {
    display: flex;
    align-items: center;
    min-width: 180px;
    white-space: nowrap;
}

#chartjs-tooltip .chart-tooltip-color {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
    border: 1px solid transparent;
    flex: none;
}

#chartjs-tooltip .chart-tooltip-label {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

#chartjs-tooltip .chart-tooltip-value {
    margin-left: 10px;
    font-weight: 600;
}


#fixed_block .tab-content {
    height: calc(100% - 60px);
}

#fixed_block #fx_block_chats,
#fixed_block #fx_block_notifications,
#fixed_block #fx_block_todos,
#fixed_block #fx_block_important_tasks,
#fixed_block #fx_block_projects,
#fixed_block #fx_block_hot_tasks,
#fixed_block .fixed-block-todo-type
{
    height: 100%;
}

#fixed_block .fixed-block-notifications {
    height: 98%;
}

#fixed_block .todo__container_scrolable {
    height: 96%;
}

#fixed_block .notification-box,
#fixed_block .todos-sortable
{
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    height: 98%;
}

#fixed_block .menu_tasks_marked_scroll_wrapper
{
    height: 100%;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.small-table tr.sv-row-selected{
    background-color: rgba(48, 178, 97, 0.1) !important;
}

.small-table tr.sv-row-selected td:first-child{
    border-left: 3px solid var(--green);
}

.divider-vertical{
    border-right: 1px solid var(--light-gray);
}

.divider-vertical:first-child,
.divider-vertical:last-child
{
    display: none;
}

.modal-header .divider-vertical{
    border-color: #d9dde4;
    line-height: 20px;
    height: 20px;
    align-self: center;
    margin: 0 10px;
}

.checkboxes-wrapper {
    padding-right: 12px;
    padding-left: 12px;
}

.buttons_wrapper {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px 5px;
}

.buttons_wrapper_right {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    min-width: 0; /* важно */
    gap: 10px 5px;
}

.buttons_wrapper_left {
    display: flex;
    flex-shrink: 0; /* никогда не сжимается */
    gap: 10px 5px;
}

.filters-wrapper-row {
    gap: 10px 0;
}

.filters-wrapper-row .form-group {
    margin-bottom: 0;
}

@media (max-width: 1200px) {
    .buttons_wrapper.xl {
        justify-content: start;
        flex-direction: column;
        gap: 5px;
    }

    .buttons_wrapper_left.xl,
    .buttons_wrapper_right.xl {
        flex-wrap: wrap;
        width: 100%;
        gap: 5px
    }

    .buttons_wrapper_left.xl > *,
    .buttons_wrapper_right.xl  > * {
        width: 100%;
        text-align: left;
    }

    .filters-wrapper-row {
        gap: 5px 0;
    }

    .buttons_wrapper.xl .double_buttons {
        text-align: left;
        flex-direction: column;
        gap: 5px 0;
    }

    .buttons_wrapper.xl .double_buttons button {
        text-align: left;
    }
}

@media (max-width: 992px) {
    .buttons_wrapper.lg {
        justify-content: start;
        flex-direction: column;
        gap: 5px;
    }

    .buttons_wrapper_left.lg,
    .buttons_wrapper_right.lg {
        flex-wrap: wrap;
        width: 100%;
        gap: 5px
    }

    .buttons_wrapper_left.lg > *,
    .buttons_wrapper_right.lg  > * {
        width: 100%;
        text-align: left;
    }

    .filters-wrapper-row {
        gap: 5px 0;
    }

    .buttons_wrapper.lg .double_buttons {
        text-align: left;
        flex-direction: column;
        gap: 5px 0;
    }

    .buttons_wrapper.lg .double_buttons button {
        text-align: left;
    }
}

@media (max-width: 769px) {
    .buttons_wrapper.md {
        justify-content: start;
        flex-direction: column;
        gap: 5px;
    }

    .buttons_wrapper_left.md,
    .buttons_wrapper_right.md {
        flex-wrap: wrap;
        width: 100%;
        gap: 5px
    }

    .buttons_wrapper_left.md > *,
    .buttons_wrapper_right.md  > * {
        width: 100%;
        text-align: left;
    }

    .filters-wrapper-row {
        gap: 5px 0;
    }

    .buttons_wrapper.md .double_buttons {
        flex-direction: column;
        gap: 5px 0;
    }

    .buttons_wrapper.md .double_buttons button {
        text-align: left;
    }
}

@media (max-width: 576px) {
    .buttons_wrapper.sm {
        justify-content: start;
        flex-direction: column;
        gap: 5px;
    }

    .buttons_wrapper_left.sm,
    .buttons_wrapper_right.sm {
        flex-wrap: wrap;
        width: 100%;
        gap: 5px
    }

    .buttons_wrapper_left.sm > *,
    .buttons_wrapper_right.sm  > * {
        width: 100%;
        text-align: left;
    }

    .filters-wrapper-row {
        gap: 5px 0;
    }

    .buttons_wrapper.sm .double_buttons {
        text-align: left;
        flex-direction: column;
        gap: 5px 0;
    }

    .buttons_wrapper.sm .double_buttons button {
        text-align: left;
    }
}

.btn:focus,
.btn.focus,
.btn-light:focus,
.btn-light.focus,
.btn-success:focus,
.btn-success.focus,
.btn-danger:focus,
.btn-danger.focus,
.btn-warning:focus,
.btn-warning.focus,
.btn-secondary:focus,
.btn-secondary.focus,
.btn-blue:focus,
.btn-blue.focus,
.btn-primary:focus,
.btn-primary.focus,
.btn-default:focus,
.btn-default.focus {
    box-shadow: none;
}

.staff_stats_wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.stat_staff_elem {
    flex: 1 1 220px;
    min-width: 240px;
}

.main-todo-page .footer {
    display: none;
}

.main-todo-page .content-page {
    min-height: initial;
}

.calendar_sales > div,
.calendar_notifications > div,
.calendar_personnel > div{
    padding-left: 25px;
}

.calendar_general > div {
    padding-left: 7px;
}

.calendar_notifications {
    column-count: 1;
}

.calendar_notifications:has(> :nth-child(7)) {
    column-count: 2;
}

@media (max-width: 1050px) {
    .calendar-notify-filters {
        flex: 0 0 auto;
        min-width: 240px;
    }
    .calendar_notifications {
        column-count: 1 !important;
    }
}

#calendar_day_sidebar .flatpickr-prev-month,
#calendar_day_sidebar .flatpickr-next-month {
    color: var(--blue);
}

#calendar_day_sidebar .flatpickr-prev-month svg,
#calendar_day_sidebar .flatpickr-next-month svg {
    fill: currentColor;
}

#calendar_day_sidebar .flatpickr-weekdaycontainer {
    display: flex;
}

#calendar_day_sidebar .flatpickr-weekday {
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
    text-transform: none;
}

#calendar_day_sidebar .dayContainer {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    gap: 0 10px;
}

#calendar_day_sidebar .flatpickr-day {
    border-radius: 50%;
    border: none;
    font-size: 13px;
    color: #374151;
    max-width: 30px;
    height: 30px;
    line-height: 30px;
}

#calendar_day_sidebar .flatpickr-day.today {
    border: 1px solid var(--blue);
    color: var(--blue);
}

#calendar_day_sidebar .flatpickr-day.selected,
#calendar_day_sidebar .flatpickr-day.startRange,
#calendar_day_sidebar .flatpickr-day.endRange {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

#calendar_day_sidebar .flatpickr-day:hover {
    background: rgba(109,92,232,.12);
}

#calendar_day_sidebar .prevMonthDay,
#calendar_day_sidebar .nextMonthDay {
    color: #c5cad4;
}

#calendar_day_sidebar .flatpickr-day.today.selected {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff;
}

#calendar_day_sidebar .flatpickr-day:nth-child(7n-1):not(.nextMonthDay, .prevMonthDay),
#calendar_day_sidebar .flatpickr-day:nth-child(7n):not(.nextMonthDay, .prevMonthDay) {
    color: #ef4444;
}

#calendar_day_sidebar .flatpickr-day.selected,
#calendar_day_sidebar .flatpickr-day.today.selected {
    color: #fff !important;
}

.nav-unbordered {
    border-bottom: none !important;
}

.img-with-indicator{
    position: relative;
}

.img-with-indicator span.indicator{
    position: absolute;
    z-index: 1;
    left: 25px;
    top: 20px;
    width: 12px;
    height: 12px;
    border: 2px solid white;
    border-radius: 50%;
    background: var(--gray);
}

.img-with-indicator span.indicator.online{
    background: var(--green);
}

.contact-img-placeholder{
    font-size: calc(var(--var-img-dimantion, 26px)/2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    border-radius: 50% !important;
    pointer-events: none;
}

.btn-outline {
    color: var(--success);
    background-color: var(--white);
    border-color: var(--success);
}

.btn-outline:hover {
    color: var(--success);
    background-color: var(--outline-green);
    border-color: var(--success);
}

.btn-outline.disabled, .btn-outline:disabled {
    color: var(--gray);
    border-color: var(--gray);
}

.btn-outline:not(:disabled):not(.disabled):active, .btn-outline:not(:disabled):not(.disabled).active,
.show > .btn-outline.dropdown-toggle {
    color: #029930;
    background-color: #e9ffed;
    border-color: #029930;
}

.slide-panel {
    display: flow-root;
}

.worktime_total_logged_time {
    display: flex;
    justify-content: end;
    gap: 0 15px;
}

.worktime_total_logged_time > div {
    padding-right: 15px;
}

.worktime_total_logged_time > div:not(:last-child) {
    border-right: 1px solid var(--light-gray);
}

.customer-profile-items .card-box{
    height: calc(100% - 12px);
}

button.fc-staffFilter-button {
    font-weight: 500;
    width: 165px;
}

button.fc-staffFilter-button::after {
    content: "\F140";
    display: inline-block;
    font-family: "Material Design Icons";
    margin-left: 41.5px;
    float: right;
}
.kb_categories_filter .nav-link {
    padding: 6px 10px;
}

.kb_categories_filter .nav-link.active {
    background-color: var(--light-gray);
    color: var(--success);
}

.kb_categories_filter .nav-link.active a {
    color: var(--success) !important;
}

.border-light-gray {
    border-color: var(--light-gray) !important;
}

.custom_badge_span_icon {
    display: flex;
    align-self: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 8px;
}

.custom_badge_span_icon i {
    align-self: center;
}

.custom_badge_span_icon.bold i {
    font-weight: 700;
}

.break-text-container {
    flex: 1;
    min-width: 0;
    max-width: calc(100% - 40px);
}

.break-text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.kanban-article-body {
    padding: 15px;
    border-radius: 8px;
}

.double_buttons {
    display: flex;
}

.double_buttons button.active_double {
    background-color: var(--secondary) !important;
    border-color: var(--secondary) !important;
    color: var(--white) !important;
}

.double_first {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.double_second {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.knowledge_base.view pre {
    padding: 1.5rem !important;
    border: 1px solid #dee2e6 !important;
    background-color: #f1f5f7;
}

.modal-header{
    display: flex;
    align-items: center;
}

.widget-calendar-container {
    container: widget-calendar / inline-size;
}

@container widget-calendar (max-width: 1050px) {
    .calendar-notify-filters {
        flex: 0 0 auto;
        min-width: 240px;
    }
    .calendar_notifications {
        column-count: 1 !important;
    }
}

#dashboard-select-block ~ .horizontal-scrollable-tabs a.active {
    color: var(--green);
}

.kb_kanban_search {
    width:  initial;
}

.change_staff_photo {
    flex-grow: 0;
    flex-shrink: 0;
    width: 175px;
    align-self: center;
    margin-top: -10px;
}

.rel-comments {
    margin-top: 15px;
}

.rel-comments__form {
    margin-bottom: 14px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    padding: 10px;
}

.rel-comments__form .tox-tinymce,
.rel-comments__form .rel-comments__input {
    border-color: var(--light-gray);
}

.rel-comments__form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 7px;
}

.rel-comments__dropzone {
    padding: 50px;
    text-align: center;
    min-height: 120px;
    max-height: 120px;
}

.rel-comments__dropzone-previews.dropzone-previews .dz-success-mark,
.rel-comments__dropzone-previews.dropzone-previews .dz-error-mark {
    display: none;
}

.rel-comments__attachments {
    margin-top: 10px;
}

.rel-comments__item {
    display: flex;
    gap: 10px;
    position: relative;
    margin-bottom: 8px;
    padding: 12px;
    border: 1px solid #e7edf4;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(31, 48, 70, 0.04);
}

.rel-comments__item:hover > .rel-comments__content-wrap > .rel-comments__reactions .reaction_toggle {
    opacity: 1;
}

#task-comments .task-comment.rel-comments__item,
.rel-comments--task .task-comment.rel-comments__item {
    display: block;
    min-height: 48px;
    margin-bottom: 8px;
    padding: 12px;
    border: 1px solid #e7edf4;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(31, 48, 70, 0.04);
}

#task-comments .task-comment .rel-comments__content-wrap,
.rel-comments--task .task-comment .rel-comments__content-wrap {
    margin-left: 50px !important;
    padding-left: 0 !important;
    min-width: 0;
}

#task-comments .task-comment .rel-comments__avatar,
.rel-comments--task .task-comment .rel-comments__avatar {
    float: left;
}

#task-comments .task-comment .task-date-as-comment-id,
.rel-comments--task .task-comment .task-date-as-comment-id {
    display: inline-flex;
    margin-right: 7px;
    color: var(--text-muted);
    font-size: 12px;
}

#task-comments .task-comment .rel-comments__text,
.rel-comments--task .task-comment .rel-comments__text {
    overflow-wrap: break-word;
}

#task-comments > .task-info-separator,
.rel-comments--task > .task-info-separator {
    display: none;
}

#task-comments .task-comment .actions.rel-comments__reactions,
.rel-comments--task .task-comment .actions.rel-comments__reactions {
    display: flex;
    align-items: center;
    gap: 8px;
}

#task-comments .task-comment > .float-right,
.rel-comments--task .task-comment > .float-right {
    margin-top: 2px;
    font-size: 13px;
}

.task-comment .rel-comments__mentions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    min-width: 0;
    font-size: 12px;
}

.task-comment .rel-comments__mentions-label {
    flex: 0 0 auto;
    font-weight: 600;
    color: var(--text-muted);
}

.task-comment .rel-comments__mentions-avatars {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    padding-left: 4px;
}

.task-comment .rel-comments__mentions-avatars a {
    display: inline-flex;
    margin-left: 4px;
    overflow: hidden;
    border-radius: 50%;
}

.task-comment .rel-comments__mentions-avatars a:first-child {
    margin-left: 0;
}

.rel-comments__avatar {
    flex: 0 0 auto;
}

.rel-comments__content-wrap {
    flex: 1 1 auto;
    min-width: 0;
}

.rel-comments__meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
}

.rel-comments__meta .font-weight-bold {
    color: var(--heading-color);
}

.rel-comments__text {
    margin-top: 7px;
    color: var(--text-color);
    overflow-wrap: break-word;
}

.rel-comments__reactions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
}

.rel-comments__reactions .reactions-container {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.rel-comments__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    float: right;
}

.rel-comments__actions a {
    color: #52708f;
    font-size: 16px;
}

.rel-comments__reply-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    padding: 6px 10px;
    border-radius: 5px;
    background: #edf5ff;
    color: #3376c3;
    font-weight: 600;
}

.rel-comments__reply-button:hover,
.rel-comments__reply-button:focus {
    color: #245d9f;
    background: #e1efff;
}

.rel-comments__replies {
    margin: 10px 0 0 16px;
    padding-left: 12px;
    border-left: 2px solid var(--light-gray);
}

.rel-comments__item--reply {
    margin-bottom: 8px;
    padding: 10px;
}

.rel-comments__reply-form,
.rel-comments__edit {
    margin-top: 10px;
}

.rel-comments__empty {
    padding: 14px 0;
}

.rel-comments__load-more {
    min-height: 34px;
}

.rel-comments__load-more.loading a {
    pointer-events: none;
    opacity: 0.55;
}

.sortable_elements .sortable_element:last-child hr{
    display: none;
}

.sortable_blocks .sortable_fields{
    min-height: 50px;
}

.interface_type_wrapper {
    display: flex;
    justify-content: center;
    flex-direction: column;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    padding: 15px;
    flex-wrap: wrap;
}

.interface_type_wrapper:has(input:checked) {
    border-color: var(--success);
}

.h_menu_mod_active_wrapper {
    background: url(../images/interface_types/h_menu_mod_active.png);
}

.h_menu_with_fixed_mod_active_wrapper {
    background: url(../images/interface_types/h_menu_with_fixed_mod_active.png);
}

.v_menu_mod_active_wrapper {
    background: url(../images/interface_types/v_menu_mod_active.png);
}

.h_menu_mod_active_wrapper,
.v_menu_mod_active_wrapper,
.h_menu_with_fixed_mod_active_wrapper {
    width: 250px;
    height: 150px;

    align-self: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.card-body.lead-body > div.row > div{
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.table-projects .project-table-billing {
    display: inline-block;
    max-width: 132px;
    color: #667587;
    font-size: 12px;
    line-height: 1.35;
}

.table-projects .project-table-progress {
    min-width: 88px;
}

.table-projects .project-table-progress > span {
    display: block;
    margin-bottom: 4px;
    color: #536274;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.table-projects .project-table-expenses {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.table-projects .project-table-expenses small {
    font-size: 11px;
    font-weight: 700;
}

.projects-activity_log-type {
    border-radius: 4px;
    font-weight: 600;
    padding: 1px 5px;
    display: inline-block;
}

.projects-activity_log-member,
.project-activity-member {
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-activity-text {
    font-weight: 500;
}

.project-activity-type {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.project-activity-type i {
    font-size: 18px;
}

.projects-overview #overview-projects-chart {
    min-height: 280px;
}

.projects-overview__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.projects-overview__card {
    display: flex;
    flex: 1 1 calc((100% - (10px * 5)) / 5);
    align-items: center;
    min-width: 240px;
    min-height: 76px;
    padding: 10px 12px;
    border: 1px solid #e7edf3;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(36, 61, 89, .04);
    color: #334155;
}

.projects-overview__icon {
    display: inline-flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-right: 10px;
    border-radius: 50%;
    font-size: 20px;
}

.projects-overview__content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.projects-overview__value {
    color: #253548;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.15;
}

.projects-overview__label {
    margin-top: 3px;
    color: #6b7785;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
}

.projects-overview__caption {
    margin-top: 1px;
    color: #8a97a6;
    font-size: 11px;
    line-height: 1.2;
}

.projects-overview__metric-value {
    overflow-wrap: normal;
    white-space: nowrap;
}

.project-discussions__subject,
.project-discussions__activity {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.project-discussions__subject > a,
.project-discussions__activity-name {
    color: #2c72b9;
    font-weight: 600;
}

.project-discussions__subject span,
.project-discussions__subject small,
.project-discussions__activity small {
    color: #8190a1;
    font-size: 12px;
}

.project-discussions__activity {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.project-discussions__activity > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.project-discussions__comments-count {
    display: inline-flex;
    min-width: 28px;
    min-height: 28px;
    align-items: center;
    justify-content: center;
    padding: 3px 8px;
    border-radius: 5px;
    background: #eef5ff;
    color: #2d85ff;
    font-weight: 700;
}

.project-discussions__access {
    display: inline-flex;
    padding: 4px 10px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.project-discussions__access--yes {
    border-color: #bcebc7;
    background: #effcf2;
    color: #30b261;
}

.project-discussions__access--no {
    border-color: #ffc5ce;
    background: #fff1f3;
    color: #fc2353;
}

.project-discussions__options {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.project-discussions__options a {
    color: #60758b;
    font-size: 17px;
}

.project-discussion__header,
.project-discussion__actions,
.project-discussion__customer-access {
    display: flex;
    align-items: center;
}

.project-discussion__header {
    justify-content: space-between;
    gap: 20px;
}

.project-discussion__summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
}

.project-discussion__closed {
    padding: 4px 9px;
    border-radius: 5px;
    background: #f2f4f6;
    color: #728093;
    font-size: 12px;
    font-weight: 600;
    vertical-align: middle;
}

.project-discussion__actions {
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.project-discussion__customer-access {
    flex-basis: 100%;
    justify-content: flex-end;
    gap: 8px;
    color: #66758a;
    font-size: 12px;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .project-discussion__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .project-discussion__actions {
        justify-content: flex-start;
    }

    .project-discussion__customer-access {
        justify-content: flex-start;
    }
}

.chatman-table-contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0
}

.chatman-table-contact__name {
    display: block;
    max-width: 100%;
    color: var(--secondary);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chatman-table-contact__subname {
    display: block;
    max-width: 100%;
    margin-top: 2px;
    color: var(--gray);
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chatman-table-message {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
}

.chatman-table-message__text {
    display: -webkit-box;
    max-width: 100%;
    font-weight: 400;
    white-space: normal;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.chatman-table-message__date {
    display: block;
    margin-top: 1px;
    color: var(--gray);
    font-weight: 400;
    white-space: nowrap;
}

.chatman-table-message__file {
    display: flex;
    align-items: center
}

.chatman-table-message__file>i {
    margin-right: 10px
}

.icons-selector .selector {
    height: 35.9px !important;
}

.icons-selector .selected-icon {
    display: flex !important;
    justify-content: center;
}

.icons-selector .selected-icon i {
    align-self: center;
}

.modal-header .tags-labels{
    display: flex;
    flex-wrap: wrap;
    max-width: 100% - 20px;
    align-items: center;
}

.not-clickable{
    pointer-events: none;
}

/*************************************************
    START:Stages V3
*************************************************/
ul.stages-v3 {
    --stage-color: var(--light);
    list-style: none;
    display: flex;
    align-items: stretch;
    width: 100%;
    margin: 0;
    padding: 6px 2px;
}

ul.stages-v3 li.stage {
    position: relative;
    flex: 1 1 fit-content;
    min-width: fit-content;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid transparent;
    transition: background-color .15s ease, border-color .15s ease;
    cursor: pointer;
    min-height: 44px;
}

ul.stages-v3 li.stage:not(.active) {
    background: var(--stage-color);
    border-color: var(--light-gray);
}

ul.stages-v3 li.stage:not(.active):hover {
    --stage-color: var(--stage-hover);
}

ul.stages-v3 li.stage.active, ul.stages-v3 li.stage:not(.active):hover {
    background: color-mix(in srgb, var(--stage-color) 10%, white);
    border-color: color-mix(in srgb, var(--stage-color) 28%, white);
    color: var(--stage-color);
}

ul.stages-v3 .stage-icon {
    position: relative;
    z-index: 1;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid var(--stage-color);
}

ul.stages-v3 li.stage.active:not(.cur) .stage-icon {
    background: var(--stage-color);
}
ul.stages-v3 li.stage.active:not(.cur) .stage-icon::after {
    content: '';
    width: 8px;
    height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg) translate(1px, 0px);
}

ul.stages-v3 li.stage.active .stage-icon {
    border-color: var(--stage-color);
}
ul.stages-v3 li.stage.cur .stage-icon::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--stage-color);
}

ul.stages-v3 .stage-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    min-width: 0;
    white-space: nowrap;
    font-weight: 600;
    min-width: 70px;
}

ul.stages-v3 li.stage.active .stage-name {
    color: var(--stage-color);
}
ul.stages-v3 li.stage .stage-date {
    font-size: 12px;
    color: var(--gray);
}

ul.stages-v3 .connector {
    position: relative;
    flex: 1 1 12px;
    min-width: 12px;
    align-self: stretch;
    margin-right: 1px;
}

ul.stages-v3 .connector::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--light-gray);
    transform: translateY(-50%);
}

ul.stages-v3 .connector::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 7px;
    height: 7px;
    border-top: 2px solid var(--light-gray);
    border-right: 2px solid var(--light-gray);
    transform: translateY(-50%) rotate(45deg);
}

.line-clamp-1{
    clear: both;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.stages-wrapper > .simplebar-track.simplebar-horizontal{
    bottom: -4px;
}

/*************************************************
    END: Stages V3
*************************************************/

.document-buttons-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px 20px;
    align-items: center;
}

.document-buttons-container .info-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
    align-items: start;
}

.document-buttons-container .item {
    flex: 1 1 auto;
    width: calc((100% - (21px * 7))/7);
}

.document-buttons-container .info-4-per-row .item{
    flex: 1 1 calc((100% - (21px * 4))/4);
    width: calc((100% - (21px * 4))/4);
}

.document-buttons-container .item .item-text {
    min-width: 0;
}

.document-buttons-container .item .line-clamp-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.document-buttons-container .divider-vertical {
    width: 1px;
    align-self: stretch;
    background: #e5e5e5;
    flex-shrink: 0;
}


@media screen and (min-width: 1665px) {
    .document-buttons-container .info-group:not(.info-4-per-row) .item:nth-child(13n) + .divider-vertical {
        display: none;
    }
}

@media screen and (min-width: 992px) {
    .document-buttons-container .document-buttons {
        flex: 0 0 auto;
        margin-left: auto;
    }

    .document-buttons-container .info-4-per-row .item:nth-child(7n) + .divider-vertical{
        display: none;
    }

    .ticket-right-block{
        position: sticky;
        overflow: auto;
    }
}

@media screen and (max-width: 1665px) {
    .document-buttons-container {
        flex-wrap: wrap;
    }

    .document-buttons-container .info-group {
        flex-wrap: wrap;
    }

    .document-buttons-container .item {
        flex: 1 1 calc((100% - (20px * 7)) / 7);
    }
}

@media screen and (max-width: 991px) {
    .document-buttons-container .divider-vertical {
        display: none;
    }

    .document-buttons-container .item {
        flex-basis: 100%;
        max-width: 100%;
    }

    .document-buttons-container .document-buttons {
        width: 100%;
    }
}

@media screen and (min-width: 480px) {
    .activity-feed .activity-log-empty{
        margin-left: -150px;
    }
}

.font-11{
    font-size: 11px;
}

.form-wrap.form-builder .frmb .field-actions a:before{
    mix-blend-mode: unset;
    margin: auto !important;
    align-self: center;
}

.p-none {
    pointer-events: none;
}

#proposal_activity_feed .badge.s-status{
    overflow: unset;
}

.logged-in-contacts-popover{
    margin-top: -10px;
}

.fab.fa-viber.colored{
    color: #7360f2;
}

.fab.fa-whatsapp.colored {
    color: #25D366;
}

.fab.fa-telegram.colored {
    color: #53c0f1;
}

.fe-instagram.colored {
    background: radial-gradient( circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90% );
    background-clip: border-box;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.fab.fa-facebook.colored {
    color: #1877F2;
}

.btn-prepend{
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    margin-right: -3px;
    z-index: 1;
    border-right: 1px solid var(--light-gray);
    padding-right: 10px;
}

.input-group:has(.input-group-append .input-group-btn){
    flex-wrap: nowrap;
}

.input-group-append .input-group-btn{
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0.4rem 0;
    margin-bottom: 0;
    color: #495057;
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    width: 45px;
    align-items: center;
    justify-content: center;
}

.form-control:not(.custom-select, textarea, .bootstrap-select) {
    height: calc(1.5em + 0.9rem + .5px);
    padding: 0.4rem 0.9rem;
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-link.active,
.nav-tabs .nav-link:hover,
.nav-tabs .nav-link.active {
    color: var(--success) !important;
}

.bulk_actions_form .alert .h5{
    color: var(--gray-dark);
}

.customer-tasks-tab hr{
    visibility: hidden;
    margin-top: 0;
}

body.knowledge_base :has(.kb-main-bar) .footer {
    display: none;
}

.kb_categories_filter {
    overflow-y: auto;
    max-height: var(--article-category-h);
    height: var(--article-category-h);
}

.kb-side-content {
    position: fixed;
    top: var(--acticle-block-margin);
    right: 2.5%;
    width: var(--acticle-block-width);
    max-height: var(--article-block-h);
    height: var(--article-block-h);
}

body.knowledge_base:has(#fixed_block) .kb-side-content {
    right: 287px;
    width: 19.5%;
}

@media screen and (min-width: 1640px) {
    body.knowledge_base:has(#fixed_block) .kb-side-content {
        width: 20.5%;
    }
}

@media screen and (max-width: 991px) {
    body.knowledge_base:has(#fixed_block) .kb-side-content {
        width: 100%;
    }
}

@media screen and (min-width: 1626px) {
    .kb-side-content {
        top: var(--acticle-block-margin) + 20px;
    }
}

@media screen and (max-width: 1368px) {
    .kb-side-content {
        top: var(--acticle-block-margin) + 10px;
    }
}

@media screen and (max-width: 991px) {
    .kb-side-content {
        position: initial;
        width: 100%;
        padding-right: 12px;
        padding-left: 12px;
    }

    .customer_profile.content-page{
        overflow-y: hidden;
    }
}

.modal-header-subtext{
    word-break: break-word;
}

.ticket-assignees .remove-ticket-user{
    position: absolute;
    left: 0;
    right: 0;
    top: 6px;
    transform: translateY(-19%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgb(0 0 0 / .5);
    text-align: center;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ticket-assignees .remove-ticket-user:hover{
    opacity: 1;
}

.card-box.ticket-card-box{
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

body.right-bar-enabled:not(.horizontalmod) .right-bar {
    margin-top: 61px !important;
    height: calc(100vh - 62px) !important;
}

@media screen and (max-width: 768px) {
    body.right-bar-enabled:not(.horizontalmod) .right-bar {
        margin-top: 0px !important;
        height: 100vh !important;
    }
}

#top_search:not(.d-none) ~ .noti-more--right,
#top_search:not(.d-none) ~ * .noti-more--right {
    display: none !important;
}

li.horizontal-user-info.show a.nav-link {
    border-bottom: 3px solid var(--green);
}

.checkbox._payments{
    margin-top: 0 !important;
}

.timesheets-table-wrapper {
    position: relative;
    min-height: 300px;
}

#timesheets-table {
    width: 100% !important;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

#timesheets-table.is-loaded {
    opacity: 1;
}

.tox-toolbar__group button[data-toolbar-item="fontselect"] {
    width: 75%;
}
.tox-toolbar__group button[data-toolbar-item="fontselect"] .tox-tbtn__select-label {
    flex: 1 1 100%;
}
.tox-toolbar__group button[data-toolbar-item="fontsizeselect"] {
    width: 25%;
}

.dropdown-menu--notification {
    top: 92% !important;
    left: 6px !important;
}

.header-notifications a.dropdown-toggle[aria-expanded="true"] {
    box-shadow: inset 0 -2px 0 0 var(--green) !important;
}

@media (min-width: 1600px) {
    .col-xxl {
        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: 100%;
    }

    .col-xxl-auto {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        width: auto;
        max-width: 100%;
    }

    .col-xxl-1 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 8.33333%;
        flex: 0 0 8.33333%;
        max-width: 8.33333%;
    }

    .col-xxl-2 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 16.66667%;
        flex: 0 0 16.66667%;
        max-width: 16.66667%;
    }

    .col-xxl-3 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-xxl-4 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 33.33333%;
        flex: 0 0 33.33333%;
        max-width: 33.33333%;
    }

    .col-xxl-5 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 41.66667%;
        flex: 0 0 41.66667%;
        max-width: 41.66667%;
    }

    .col-xxl-6 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-xxl-7 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 58.33333%;
        flex: 0 0 58.33333%;
        max-width: 58.33333%;
    }

    .col-xxl-8 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 66.66667%;
        flex: 0 0 66.66667%;
        max-width: 66.66667%;
    }

    .col-xxl-9 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 75%;
        flex: 0 0 75%;
        max-width: 75%;
    }

    .col-xxl-10 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 83.33333%;
        flex: 0 0 83.33333%;
        max-width: 83.33333%;
    }

    .col-xxl-11 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 91.66667%;
        flex: 0 0 91.66667%;
        max-width: 91.66667%;
    }

    .col-xxl-12 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .order-xxl-first {
        -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
        order: -1;
    }

    .order-xxl-last {
        -webkit-box-ordinal-group: 14;
        -ms-flex-order: 13;
        order: 13;
    }

    .order-xxl-0 {
        -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
        order: 0;
    }

    .order-xxl-1 {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }

    .order-xxl-2 {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
    }

    .order-xxl-3 {
        -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
        order: 3;
    }

    .order-xxl-4 {
        -webkit-box-ordinal-group: 5;
        -ms-flex-order: 4;
        order: 4;
    }

    .order-xxl-5 {
        -webkit-box-ordinal-group: 6;
        -ms-flex-order: 5;
        order: 5;
    }

    .order-xxl-6 {
        -webkit-box-ordinal-group: 7;
        -ms-flex-order: 6;
        order: 6;
    }

    .order-xxl-7 {
        -webkit-box-ordinal-group: 8;
        -ms-flex-order: 7;
        order: 7;
    }

    .order-xxl-8 {
        -webkit-box-ordinal-group: 9;
        -ms-flex-order: 8;
        order: 8;
    }

    .order-xxl-9 {
        -webkit-box-ordinal-group: 10;
        -ms-flex-order: 9;
        order: 9;
    }

    .order-xxl-10 {
        -webkit-box-ordinal-group: 11;
        -ms-flex-order: 10;
        order: 10;
    }

    .order-xxl-11 {
        -webkit-box-ordinal-group: 12;
        -ms-flex-order: 11;
        order: 11;
    }

    .order-xxl-12 {
        -webkit-box-ordinal-group: 13;
        -ms-flex-order: 12;
        order: 12;
    }

    .offset-xxl-0 {
        margin-left: 0;
    }

    .offset-xxl-1 {
        margin-left: 8.33333%;
    }

    .offset-xxl-2 {
        margin-left: 16.66667%;
    }

    .offset-xxl-3 {
        margin-left: 25%;
    }

    .offset-xxl-4 {
        margin-left: 33.33333%;
    }

    .offset-xxl-5 {
        margin-left: 41.66667%;
    }

    .offset-xxl-6 {
        margin-left: 50%;
    }

    .offset-xxl-7 {
        margin-left: 58.33333%;
    }

    .offset-xxl-8 {
        margin-left: 66.66667%;
    }

    .offset-xxl-9 {
        margin-left: 75%;
    }

    .offset-xxl-10 {
        margin-left: 83.33333%;
    }

    .offset-xxl-11 {
        margin-left: 91.66667%;
    }
}

.flatpickr-calendar.static.open-left {
    left: auto !important;
    right: 0;
}

.flatpickr-calendar.static.open-left:before,
.flatpickr-calendar.static.open-left:after{
    left: calc(100% - 22px);
}

.flatpickr-calendar.static.arrowBottom{
    position: absolute;
    bottom: calc(100% + 2px);
    top: auto !important;
}

.card-box:not(:has(> .card-box-header + ._open)) > .card-box-header {
    border-bottom: 0;
}

.tc-content img,
.activity_log_full_main img {
    object-fit: contain;
    height: 100%;
}

.dropzone .dz-preview .dz-details .dz-filename {
    overflow: hidden;
    text-overflow: ellipsis;
}

.badge-success-op20 {
    color: var(--success);
    background-color: color-mix(in srgb, var(--success) 20%, transparent);
}

.badge-secondary-op20 {
    color: var(--secondary);
    background-color: color-mix(in srgb, var(--secondary) 20%, transparent);
}

.fp-event-dots-container {
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    pointer-events: none;
}

.fp-event-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    display: inline-block;
}

.badge-dropdown{
    overflow: unset !important;
}

.invoice-items-preview-container table tr:not(.tr-total){
    color: inherit !important;
}

.invoice-items-preview-container table,
.invoice-items-preview-container table tr:not(tr-total)
{
    font-size: inherit !important;
}

.invoice-items-preview-container table.table tbody + tbody{
    border-top: none;
}

table.items td.text-right.price{
    position: relative;
}

table.items td.text-right.price .btn-calc{
    position: absolute;
    top: 10px;
    right: 10px;
}

.kb_last_article_block {
    padding: 8px 0 8px;
}

.kb_last_article_block:not(:last-child) {
    border-bottom: 1px solid var(--light-gray);
}

.kb_last_article_wrapper {
    height: calc(var(--article-category-h) + 10px);
}

#contact-form .contact-info-additional:has(> h5:only-child),
.client-form .contact-info-additional:has(> h5:only-child)
{
    display: none;
}

body.company .company_information {
    word-break: break-word;
}

.mw-md-200 {
    max-width: 200px;
}

@media (max-width: 769px) {
    .mw-md-200 {
        max-width: initial;
    }
}