/*=== Main Sidebar ===*/
#content-sidebar,
#content-sidebar > div,
#content-sidebar.collapsed #main-sidebar-toggle i {
    -webkit-transition: all 0.35s cubic-bezier(0.76, 0, 0.24, 1);
    -o-transition: all 0.35s cubic-bezier(0.76, 0, 0.24, 1);
    transition: all 0.35s cubic-bezier(0.76, 0, 0.24, 1);
}
#content-sidebar,
#content-sidebar .sidebar-container {
    flex: 0 0 240px;
    width: 240px;
    opacity: 1;
}

#content-sidebar.collapsed {
    flex: 0 0 1.5rem;
}
#content-sidebar.collapsed > div {
    opacity: 0;
    pointer-events: none;
}

#main-sidebar-toggle {
    z-index: 99;
    width: calc(1.5em + 0.25rem + 2px);
    line-height: 1.5;
}
#content-sidebar.collapsed #main-sidebar-toggle i {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

#content-sidebar .sidebar-content >ul > li >div >a i {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}
#content-sidebar .sidebar-content >ul > li >div >a.collapsed i {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
}
/*=== End Main Sidebar ===*/

/*=== forms ===*/

.form-control:disabled, .form-control[readonly],
.form-control.disabled, .form-control.readonly {
    background-color: var(--bs-light);
    opacity: 1;
}

/*=== End forms ===*/

.hidden {
    display: none !important;
    visibility: hidden !important;
}

.w-0 {
    width: 0 !important;
}

.h-0 {
    height: 0 !important;
}

.tx-9 {
    font-size: 9px;
}

.tx-10 {
    font-size: 10px;
}

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

.tx-12 {
    font-size: 12px; }

.tx-13 {
    font-size: 13px;
    line-height: 1.3; }

.tx-14 {
    font-size: 14px;
}

.z-10 {
    z-index: 10;
}

.ui-widget
{
    font-family: "Cerebri Sans", "Courier New", Courier, monospace !important;
}
.muki-dialog
{
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0.5em !important;
}

.muki-dialog-header
{
    padding: 1em 1em !important;
    border-left-width: 0px !important;
    border-right-width: 0px !important;
    border-top-width: 0px !important;
    border-radius: 0.5em 0.5em 0px 0px !important;
}


.muki-dialog-button
{
    border-radius: 0px 0px 4px 4px !important;
}

.btn-dialog
{
    font-family: "Cerebri Sans", "Courier New", Courier, monospace !important;
    font-size: small !important;
}

.ui-widget-header
{
    padding: 15px 20px !important;
    background-color: rgb(250, 250, 250) !important;
}
.ui-dialog-title
{
    font-size: small !important;
}


.ui-muki-alert .jBox-content {
    padding: 0px !important;
}

.ui-muki-alert .content {
    padding: 1em 1em !important;
}

.ui-muki-alert .footer {
    border-top: 1px solid #e5e5e5;
    padding: 1em 1em !important;
}

.ui-muki-alert .type {
    border-radius: 0.5em 0.5em 0px 0px !important;
    height: 3px;
    padding: 0px;
}

.ui-muki-alert .type-success {
    background-color: green;
}

.ui-muki-alert .type-error {
    background-color: red;
}

.ui-muki-alert .type-warning {
    background-color: orange;
}

.ui-muki-alert .type-info {
    background-color: dodgerblue;
}

.ui-muki-alert-overlay
{
    background-color: rgba(0,0,0,.10)!important;
}

.muki-drawer-element .offcanvas-header
{
    background-color: rgb(250, 250, 250) !important;
}

.muki-modal-element .modal-header
{
    background-color: rgb(250, 250, 250) !important;
}


div.hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #eee;
    text-align: center;
    height: 0px;
    line-height: 0px;
}

.hr-title {
    padding-left: 10px;
    padding-right: 10px;
    background-color: #fff;
}

div.hr2 {
    display: flex;
    align-items: center;
    gap: 10px;
}

div.hr2:before,
div.hr2:after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #eee;
}

div.hr2 .title {
    padding: 0 10px;
    white-space: nowrap;
}


/*=== Sort Tables ===*/
.table > thead .Sort {
    position: relative;
    padding-right: 12px;
}
.table > thead .Sort:before,
.table > thead .Sort:after {
    display: block;
    position: absolute;
    top: 0; right: 0; bottom: 0;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}
.table > thead .Sort:before {
    content: "\f0dc";
    color: rgba(0,0,0,0.25);
}
.table > thead .Sort:after {
    color: #2c7be5;
}

.table > thead .headerSortDown,
.table > thead .headerSortUp {
    background: #d5e5fa!important;
    color: #2c7be5;
}

.table > thead .headerSortDown .Sort:after {
    content: "\f0de";
}
.table > thead .headerSortUp .Sort:after {
    content: "\f0dd";
}

/*=== OffCanvas Custom Sizes ===*/
@media (min-width: 768px) {
    .offcanvas-size-md.muki-drawer-element {
        width: 600px;
        margin: 0 auto;
    }
}

@media (min-width: 992px) {
    .offcanvas-size-lg.muki-drawer-element {
        width: 900px;
    }
}

@media (min-width: 768px) {
    .offcanvas-size-xl.muki-drawer-element {
        width: 90%;
        max-width:1200px;
    }
}


/*=== Layout 10 ===*/

/* Inner content */
/*.inner-content-area .inner-content-left-menu {
    flex: 0 0 200px;
    margin: 0 20px 0 -20px;
    border: 1px solid #EEE;
    border-radius: 0 5px 5px 0;
    box-shadow: 1px 0 2px rgba(0,0,0,0.03);
    -webkit-transition: all 0.3s cubic-bezier(0.76, 0, 0.24, 1);
    transition: all 0.3s cubic-bezier(0.76, 0, 0.24, 1);
}
.inner-content-area .inner-content-left-menu .menu-items {
    max-height: 100%;
    margin: 0; padding: 0;
    list-style: none;
    overflow: auto;
}
.inner-content-area .inner-content-left-menu .menu-items li {
    border-bottom: 1px solid #DDD;
}
.inner-content-area .inner-content-left-menu .menu-items li a {
    display: block;
    padding: 12px 15px 12px 25px;
    color: #666;
}
.inner-content-area .inner-content-left-menu .menu-items li a:hover,
.inner-content-area .inner-content-left-menu .menu-items li a:focus {
    background: rgba(0,0,0,0.025);
    color: #007DD1;
    text-decoration: none;
}
.inner-content-area .inner-content-left-menu .menu-items li.active a {
    box-shadow: inset 4px 0 #007DD1;
    color: #007DD1;
    font-weight: bold;
}

!* Hidden sidebar styles *!
.inner-content-area.sidebar-hidden .inner-content-left-menu {
    margin-left: -220px;
}*/


.inner-content-area .inner-content-sidebar {
    /*-webkit-box-flex: 1;
    -ms-flex: 1 0 40%;
    flex: 1 0 40%;
    margin: 0 20px 0 0;
    padding: 20px 15px 10px;
    background: #FFF;
    overflow-y: auto;*/
    -webkit-transition: all 0.35s cubic-bezier(0.76, 0, 0.24, 1);
    -o-transition: all 0.35s cubic-bezier(0.76, 0, 0.24, 1);
    transition: all 0.35s cubic-bezier(0.76, 0, 0.24, 1);
}
.inner-content-area .inner-content-sidebar.small {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 250px;
    flex: 1 0 250px;
}
.inner-content-area.sidebar-hidden .inner-content-sidebar.small {
    margin-left: -250px;
}
.inner-content-area .inner-content-sidebar.medium {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 350px;
    flex: 1 0 350px;
}
.inner-content-area.sidebar-hidden .inner-content-sidebar.medium {
    margin-left: -350px;
}
.inner-content-area .inner-content-sidebar.large {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 500px;
    flex: 1 0 500px;
}
.inner-content-area.sidebar-hidden .inner-content-sidebar.large {
    margin-left: -500px;
}

.inner-content-area .inner-content-sidebar .main-client-info .img-circle {
    max-width: 50px;
    margin-right: 10px;
}
.inner-content-area .inner-content-sidebar .main-client-info h4 {padding-top: 5px;}
.inner-content-area .inner-content-sidebar .main-client-info dl dt,
.inner-content-area .inner-content-sidebar .complementary-data dt {margin-top: 15px;}

.inner-content-area .inner-content-section {
    width: 100%;
    /*border: 1px solid #DDD;*/
}
.inner-content-area .inner-content-sidebar hr {
    width: 100%;
}


/* Drawer modal */
/*.modal-drawer .modal-backdrop.fade.in {
    background: #1f434d;
    opacity: 0.75;
}
.modal-drawer .modal-dialog {
    position: fixed;
    top: 0; left: auto; bottom: 0; right: 0;
    margin: 0
}
.modal-drawer .modal-dialog .modal-content {
    height: 100%;
    border: none;
    border-radius: 0;
}
.modal-drawer .modal-dialog .modal-content .modal-header {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    border-bottom: 0;
}
.modal-drawer .modal-dialog .modal-content .modal-header .modal-subtitle {
    color: rgba(0,0,0,0.5);
}
!* Modal navbar *!
.modal-drawer .modal-dialog .modal-content .modal-navs {
    margin: 0;
    padding: 0 15px;
    background: #FCFCFC;
    border-top: 1px solid #EEE;
    border-bottom: 1px solid #DDD;
}
.modal-drawer .modal-dialog .modal-content .modal-navs ul {
    margin: 0;
}
.modal-drawer .modal-dialog .modal-content .modal-navs ul li {
    margin-right: -3px;
    padding: 0;
}
.modal-drawer .modal-dialog .modal-content .modal-navs ul li a {
    display: block;
    padding: 12px 15px 6px;
    color: #556677;
}
.modal-drawer .modal-dialog .modal-content .modal-navs ul li.active a,
.modal-drawer .modal-dialog .modal-content .modal-navs ul li.active a:hover,
.modal-drawer .modal-dialog .modal-content .modal-navs ul li.active a:focus {
    box-shadow: inset 0 -2px 0 #007DD1;
    color: #007DD1;
}
.modal-drawer .modal-dialog .modal-content .modal-navs ul li a:hover,
.modal-drawer .modal-dialog .modal-content .modal-navs ul li a:focus {
    background: #F5F5F5;
    text-decoration: none;
}

.modal-drawer .modal-dialog .modal-content .modal-body {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 100%;
    flex: 1 1 100%;
    overflow-y: auto;
    background: #FAFAFA;
}
.modal-drawer .modal-dialog .modal-content .modal-body .row {margin: 0 -5px;}
.modal-drawer .modal-dialog .modal-content .modal-body .row div[class*="col-"] {padding: 0 5px;}
.modal-drawer .modal-dialog .modal-content .modal-body .panel {margin: 0 0 10px}
.modal-drawer .modal-dialog .modal-content .modal-footer {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
}
!* Drawer modal animations *!
.modal-drawer.fade .modal-dialog {
    -webkit-transition: -webkit-transform .3s ease-out;
    -o-transition:      -o-transform .3s ease-out;
    transition:         transform .3s ease-out;
    -webkit-transform: translate(30%, 0);
    -ms-transform: translate(30%, 0);
    -o-transform: translate(30%, 0);
    transform: translate(30%, 0);
}
.modal-drawer.in .modal-dialog {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
}*/


/* Layout 10 Media Queries */


@media screen and (max-width: 991px) {

    .inner-content-area .inner-content-sidebar {
        -ms-flex: 1 0 30%;
        flex: 1 0 30%;
    }
    .inner-content-area.sidebar-hidden .inner-content-sidebar {
        margin-left: 30%;
    }
    .inner-content-area .inner-content-sidebar.small {
        -ms-flex: 1 0 180px;
        flex: 1 0 180px;
    }
    .inner-content-area.sidebar-hidden .inner-content-sidebar.small {
        margin-left: -180px;
    }
    .inner-content-area .inner-content-sidebar.medium {
        -ms-flex: 1 0 250px;
        flex: 1 0 250px;
    }
    .inner-content-area.sidebar-hidden .inner-content-sidebar.medium {
        margin-left: -250px;
    }
    .inner-content-area .inner-content-sidebar.large {
        -ms-flex: 1 0 350px;
        flex: 1 0 350px;
    }
    .inner-content-area.sidebar-hidden .inner-content-sidebar.large {
        margin-left: -350px;
    }

}

@media screen and (max-width: 767px) {

    .inner-content-area .inner-content-sidebar {
        -ms-flex: 1 0 20%;
        flex: 1 0 20%;
    }
    .inner-content-area.sidebar-hidden .inner-content-sidebar {
        margin-left: -20%;
    }
    .inner-content-area .inner-content-sidebar.small {
        -ms-flex: 1 0 120px;
        flex: 1 0 120px;
    }
    .inner-content-area.sidebar-hidden .inner-content-sidebar.small {
        margin-left: -120px;
    }
    .inner-content-area .inner-content-sidebar.medium {
        -ms-flex: 1 0 200px;
        flex: 1 0 200px;
    }
    .inner-content-area.sidebar-hidden .inner-content-sidebar.medium {
        margin-left: -200px;
    }
    .inner-content-area .inner-content-sidebar.large {
        -ms-flex: 1 0 350px;
        flex: 1 0 350px;
    }
    .inner-content-area.sidebar-hidden .inner-content-sidebar.large {
        margin-left: -350px;
    }

}

@media screen and (max-width: 640px) {
/*    .inner-content-area {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }*/

    .inner-content-area .inner-content-sidebar ,
    .inner-content-area .inner-content-sidebar.small ,
    .inner-content-area .inner-content-sidebar.medium ,
    .inner-content-area .inner-content-sidebar.large {
        -ms-flex: 1 0 100%;
        flex: 1 0 100%;
        margin-left: calc(-100% + 15px);
    }
    .inner-content-area.sidebar-hidden .inner-content-sidebar ,
    .inner-content-area.sidebar-hidden .inner-content-sidebar.small ,
    .inner-content-area.sidebar-hidden .inner-content-sidebar.medium ,
    .inner-content-area.sidebar-hidden .inner-content-sidebar.large {
        -ms-flex: 1 0 calc(100% - 35px);
        flex: 1 0 calc(100% - 35px);
        margin-left: 0;
        width: calc(100% - 35px);
    }

}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.is-invalid .select2-selection {
    border-color: rgb(185, 74, 72) !important;
}


/* Dropdown circular button */
.dropdown-btn-pill,
.dropdown-btn-circle {
    display: inline-block;
    height: 21px;
    border: 1px solid #DDD;
    border-radius: 50px;
    font-size: 12px;
    text-align: center;
    color: #999;
}
.dropdown-btn-pill:hover,
.dropdown-btn-pill:focus,
.dropdown-btn-circle:hover,
.dropdown-btn-circle:focus {
    background: #F1F1F1;
    border-color: #777;
    color: #777;
    text-decoration: none;
}
.dropdown-btn-pill {
    padding: 2px 10px;
}
.dropdown-btn-circle {
    width: 21px;
    padding: 2px 0;
}
.dropdown-btn-pill.red         {border-color: #e55039; color: #ca3b25;}
.dropdown-btn-pill.red:hover   { background: rgba(200,60,40,0.1);}
.dropdown-btn-pill.green       {border-color: #78e08f; color: #3ba552;}
.dropdown-btn-pill.green:hover { background: rgba(60,170,80,0.1)}
.dropdown-btn-pill.blue        {border-color: #4a69bd; color: #34519f;}
.dropdown-btn-pill.blue:hover  { background: rgba(50,80,100,0.1)}



/* Cards - Info cards */
.card.infocard {
    padding: 0 8px 0 8px;
    border-color: rgba(83,118,150,0.25);
    color: #565758;
    font-size: 12px;
}

.card.infocard.hover:hover,
.card.infocard.hover:focus {
    box-shadow: 2px 2px 6px -1px rgba(0,0,0,0.075) !important;
}

.card.infocard.flat-t { border-top-left-radius: 0 !important; border-top-right-radius: 0 !important; }
.card.infocard.flat-r { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }
.card.infocard.flat-b { border-bottom-left-radius: 0 !important; border-bottom-right-radius: 0 !important; }
.card.infocard.flat-l { border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }

.card.infocard .card-header {
    padding: 5px;
    height: auto;
}

.card.infocard .card-body {
    padding: 10px;
}

.card.infocard .card-footer {
    padding: 5px;
    color: #999;
}


.btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.btn-rounded-circle-xs {
    padding: 1px 1px !important;
    max-width: 21px !important;
    display: inline-block;
    height: 21px;
    border-radius: 50px;
    font-size: 10px;
    text-align: center;


}

/*=== activity cards ===*/

.card-followup.activity-type-other {
    border-left: 4px solid #b0c0d5;
}

.card-followup.activity-type-other .card-header strong {
    color: #b0c0d5;
}

.card-followup.activity-type-issue {
    border-left: 4px solid #2b90d9 !important;
}

.card-followup.activity-type-issue .card-header strong {
    color: #2b90d9 !important;
}

.card-followup.activity-type-comment {
    border-left: 4px solid #3b5998 !important;
}

.card-followup.activity-type-comment .card-header strong {
    color: #3b5998 !important;
}

.card-followup.activity-type-call-attempt {
    border-left: 4px solid #6441a4 !important;
}

.card-followup.activity-type-call-attempt .card-header strong {
    color: #6441a4 !important;
}

.card-followup.activity-type-call {
    border-left: 4px solid #6441a4 !important;
}

.card-followup.activity-type-call .card-header strong {
    color: #6441a4 !important;
}

.card-followup.activity-type-visit {
    border-left: 4px solid #4a154b !important;
}

.card-followup.activity-type-visit .card-header strong {
    color: #4a154b !important;
}

.card-followup.activity-type-email {
    border-left: 4px solid #922f88 !important;
}

.card-followup.activity-type-email .card-header strong {
    color: #922f88 !important;
}



/*=== custom default ===*/

.card-default.card-type-all {
    border-left: 4px solid #b0c0d5;
}

.card-default.card-type-all .card-header strong {
    color: #b0c0d5;
}


.form-box {
    padding: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid #e9ecef;
    border-left-width: .25rem;
    border-radius: .25rem;
}

.form-box-data {
    border-left-color: #3498DB;
}

/*=== custom Icon status colors ===*/

.icon.active.primary::after {
background-color: #2c7be5;
}
.icon.active.secondary::after {
background-color: #6e84a3;
}
.icon.active.success::after {
background-color: #00d97e;
}
.icon.active.info::after {
background-color: #39afd1;
}
.icon.active.warning::after {
background-color: #f6c343;
}
.icon.active.danger::after {
background-color: #e63757;
}
.icon.active.light::after {
background-color: #edf2f9;
}
.icon.active.dark::after {
background-color: #12263f;
}
.icon.active.white::after {
    background-color: #fff;
}
.dropdown-remove-caret::after {
    content: none !important;
}


/* breadcerumb*/
.breadcrumb-item+.breadcrumb-item:before {float: left!important}



/**
 * ----------------------------------------
 * animation box shadow
 * ----------------------------------------
 **/
.attention-cue-anim {
    -webkit-animation: shadow-drop-2-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) 4 alternate both;
    animation: shadow-drop-2-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) 4 alternate both;
}

@-webkit-keyframes shadow-drop-2-center {
    0% {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-box-shadow: 0 0 0 0 transparent;
        box-shadow: 0 0 0 0 transparent;
    }
    100% {
        -webkit-transform: translateZ(50px);
        transform: translateZ(50px);
        -webkit-box-shadow: 0 0 4px 2px var(--bs-primary);
        box-shadow: 0 0 4px 2px var(--bs-primary);
    }
}
@keyframes shadow-drop-2-center {
    0% {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-box-shadow: 0 0 0 0 transparent;
        box-shadow: 0 0 0 0 transparent;
    }
    100% {
        -webkit-transform: translateZ(50px);
        transform: translateZ(50px);
        -webkit-box-shadow: 0 0 4px 2px var(--bs-primary);
        box-shadow: 0 0 4px 2px var(--bs-primary);
    }
}


/**
 * ----------------------------------------
 * Entity Summary
 * ----------------------------------------
 **/

 .entity-summary {
     margin: 0;
     padding: 15px 0;
     border-top: 1px solid #EEE;
     border-bottom: 1px solid #EEE;
 }
.entity-summary a::not(.btn) {
    color: #537696;
}


.entity-summary .entity-main-data p {
    margin: 0;
}
.entity-summary .entity-top-info {
    margin: 0;
}
.entity-summary .entity-top-info li {
    border-left: 1px solid #F1F1F1;
    padding: 0 15px;
    font-size: 12px;
}
.entity-summary .entity-top-info li > * {
    display: block;
    margin: 0;
    color: #777;
    white-space: nowrap;
}
.entity-summary .entity-top-info strong:not(.strong-badge) {
    font-size: 11px;
    color: #343536;
}
.entity-summary .entity-top-info li a[data-toggle="collapse"] {
    display: inline-block;
    padding: 6px 12px;
    font-size: 12px;
    border: 1px solid #537696;
    color: #537696;
    font-weight: bold;
    border-radius: 3px;
}
.entity-summary .entity-top-info li a[data-toggle="collapse"]:hover,
.entity-summary .entity-top-info li a[data-toggle="collapse"]:focus {
    text-decoration: none;
    background: rgba(83,118,150,0.75);
    color: #FFF;
}
.bg-success {
    background-color: #087308 !important;
}

@media screen and (max-width: 991px) {

    .entity-summary {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .entity-summary .entity-main-data {
        -ms-flex-item-align: start;
        align-self: flex-start
    }
    .entity-summary .entity-top-info {
        -ms-flex-item-align: end;
        align-self: flex-end
    }

    #QuoteDetailsCollapse .panel-quotestate {
        flex: 0 0 240px;
    }
}

@media screen and (max-width: 767px) {

    .entity-summary .entity-top-info {
        margin-top: 10px;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .entity-summary .entity-top-info .align-self-center {
        text-align: right;
        margin: 5px;
        padding-top: 5px;
        border-top: 1px solid #EEE;
        border-left: none;
        width: 100%;
    }


    #QuoteDetailsCollapse .well {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    #QuoteDetailsCollapse .panel-quotestate-container {
        flex: 0 0 auto;
        width: 100%;
    }

    .purchase-order-block {
        max-width: none;
        width: 100%;
        margin: 0 0 20px;
    }
    .quotedetails-container {
        width: 100%;
    }
}
/* jexcel */

.jexcel > thead > tr > td
{
    z-index: auto !important;
}

.ck-character-categories{
    display: none;
}


.ck.ck-balloon-panel.ck-powered-by-balloon {

    --ck-powered-by-background: transparent;
    --ck-powered-by-border-color: transparent;
    opacity: 0.5;
    z-index: -999 !important;
    position: absolute;
    pointer-events: none;
}

.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by .ck-powered-by__label {
    text-transform: none;
    font-family: var(--main-font-family);
    padding-left: 2px;
    color: var(--main-text-color);
    opacity: 0.5;
}

.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by .ck-icon {
    filter: brightness(90);
    display: none;
}

.ck.ck-balloon-panel.ck-powered-by-balloon {
    box-shadow: none;
}

/** Week picker **/
.muki-week-picker {
    position: absolute;
    background: white;
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
    z-index: 1000;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    display: none;
}

.cursor-pointer {
    cursor: pointer;
}

.no-select {
    user-select: none;
    -webkit-user-select: none; /* Chrome/Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* Internet Explorer/Edge */
}

/* Bootstrap input group with text fix */
.input-group > div {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}
.input-group > div:not(:last-child) > .form-control,
.input-group > div:not(:last-child) > .form-select {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.input-group > div:not(:first-child) > :not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    margin-left: calc(var(--bs-border-width) * -1);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.input-group > div:not(:first-child) > .form-control,
.input-group > div:not(:first-child) > .form-select {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

#topbar.is-demo {
    border-top: 4px solid #dc3545;
}


#topbar.is-demo .navbar-brand {
    position: relative; /* Necesario para posicionar el ::before relativo a esto */
    display: inline-block; /* O 'block' si es apropiado en tu layout */
}

#topbar.is-demo .navbar-brand::before {
    content: 'DEMO';
    position: absolute;

    top: 0px;
    left: 0px;

    background-color: #dc3545;
    color: white;
    padding: 1px 6px;
    font-size: 9px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 3px;
    z-index: 10;
    line-height: 1.2;
    pointer-events: none;
}

#topbar.is-demo .navbar-user .dropdown .avatar {
    position: relative !important; /* CONTEXTO NECESARIO */
    /* Asegura que el enlace tenga dimensiones para contener el icono */
    display: inline-block; /* O block, según layout */
    vertical-align: middle; /* Alinea el bloque del enlace si es inline-block */
}

/* 2. Estiliza y posiciona el icono 'fa-ban' */
#topbar.is-demo .navbar-user .dropdown .avatar .demo-ban-icon-overlay {
    position: absolute; /* Posición absoluta relativa al enlace 'a' */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 2.0em; /* Ajusta tamaño del icono */
    color: rgba(220, 53, 69); /* Rojo semi-transparente */

    /* No necesitamos border-radius aquí, el icono se centra */
    z-index: 5;           /* Encima del img/span */
    pointer-events: none; /* Permite clics en el enlace */
    text-align: center;
}



.modal-dialog.is-demo .modal-header, .muki-drawer-element.is-demo .offcanvas-header {
    position: relative !important;
    overflow: hidden !important;
}

.modal-dialog.is-demo .modal-header::before, .muki-drawer-element.is-demo .offcanvas-header::before {
    content: 'DEMO';
    position: absolute;
    top: 5px;
    right: -25px;
    width: 120px;
    padding: 4px 0;
    background-color: #dc3545;
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 10px;
    text-transform: uppercase;
    transform: rotate(45deg);
    z-index: 1;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}


.modal-dialog .modal-header, .offcanvas .offcanvas-header
{
    height: 40px !important;
}


.muki-confirm-container {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0.5rem;
}


.muki-confirm-btn {
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.3rem 0.5rem;
    border-radius: 0.25rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, color 0.15s ease-in-out;
}

.muki-confirm-btn-xs {
    padding: 0.15rem 0.3rem;
    font-size: 0.75rem;
}

.muki-confirm-btn-sm {
    padding: 0.25rem 0.4rem;
    font-size: 0.875rem;
}

.muki-confirm-btn-md {
    padding: 0.375rem 0.6rem;
    font-size: 1rem;
}

.muki-confirm-btn-lg {
    padding: 0.5rem 0.8rem;
    font-size: 1.25rem;
}

.muki-confirm-btn--confirm {
    color: #16A34A;
    border-color: #D1FAE5;
}

.muki-confirm-btn--confirm:hover {
    background-color: #D1FAE5;
    color: #15803D;
    border-color: #A7F3D0;
}

.muki-confirm-btn--cancel {
    color: #DC2626;
    border-color: #FEE2E2;
}

.muki-confirm-btn--cancel:hover {
    background-color: #FEE2E2;
    color: #B91C1C;
    border-color: #FECACA;
}

/* Clase para ocultar el elemento original mientras se confirma */
.muki-confirm-hidden {
    display: none !important;
}


.muki-flyout-container {
    z-index: 1060;
    min-width: 16rem;
    background-color:  #fff;

    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;

    transition: opacity 0.15s ease-in-out, transform 0.15s ease-in-out, visibility 0s linear 0.15s;

}


.muki-flyout-container.muki-flyout-sm {
    width: 20rem;
    min-width: 20rem;
}


.muki-flyout-container.muki-flyout-md {
    width: 30rem;
    min-width: 30rem;
}


.muki-flyout-container.muki-flyout-lg {
    width: 45rem;
    min-width: 45rem;
}


.muki-flyout-body {
    max-height: 45vh;
    overflow-y: auto;
}

.muki-flyout-header {
    height: auto !important;
    background-color: var(--bs-tertiary-bg, #f8f9fa) !important;
}

.muki-flyout-header h6 {
    margin-bottom: 0;
    font-weight: 500;
    color: #191919 !important;
}

.muki-flyout-footer {
    background-color: var(--bs-tertiary-bg, #f8f9fa);
}


.muki-flyout-container.muki-flyout-entering,
.muki-flyout-container.muki-flyout-visible {

    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    transition-delay: 0s;
}

.muki-flyout-container.card {
    position: absolute;
    border: 1px solid var(--bs-border-color-translucent);
    border-radius: var(--bs-card-border-radius);
}


/* --- Estilos Base para Comentarios Estilo Facebook --- */

.card-comment {
    position: relative;
}

.card-comment-avatar {
    width: 38px;
    height: 38px;
}
.card-comment-avatar.avatar-sm {
    width: 32px;
    height: 32px;
}
.card-comment-avatar .avatar-title {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: #6c757d; /* Color de fondo por defecto */
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}
.card-comment-avatar.avatar-sm .avatar-title {
    font-size: 0.8rem;
}


.card-comment-main {
    /* Ocupa el espacio restante */
}

.card-comment-content {
    background-color: #f0f2f5;
    border-radius: 18px;
    padding: 8px 12px;
    display: inline-block;
    max-width: 100%;
    width: fit-content;
    min-width: 150px;
}

.card-comment-header {
    /* ... */
}

.card-comment-author-name {
    font-weight: 600;
    color: #050505;
    font-size: 0.875rem; /* ~14px */
    margin-right: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    margin-bottom: 2px;
}

.card-comment-body {
    color: #050505;
    font-size: 0.9rem; /* ~14.4px */
    line-height: 1.35;
}
.card-comment-body p {
    margin-bottom: 0;
}


.card-comment-actions {
    font-size: 0.75rem; /* ~12px */
    color: #65676b;
    padding-left: 12px; /* Alinea con el texto de la burbuja */
}

.card-comment-action-link {
    color: #65676b;
    font-weight: 600;
    text-decoration: none;
    padding: 2px 4px;
    border-radius: 3px;
}
.card-comment-action-link:hover {
    color: #333;
    background-color: rgba(0, 0, 0, 0.05);
    text-decoration: underline;
}

/* Estilo opcional para botones de icono */
.card-comment-action-btn {
    /* Descomenta y ajusta si quieres que parezcan links */
    /* background: none !important; border: none !important; color: #65676b !important; */
    /* font-weight: 600; font-size: 0.75rem; padding: 2px 4px !important; box-shadow: none !important; */
}
.card-comment-action-btn:hover {
    /* background-color: rgba(0, 0, 0, 0.05) !important; color: #333 !important; */
}


.card-comment-metadata {
    color: #65676b;
    font-size: 0.75rem;
}
/* Opcional: separador
.card-comment-metadata::before {
    content: "·";
    margin: 0 4px;
}
*/

/* Botón de opciones (...) */
.card-comment-options-btn {
    background: transparent !important;
    border: none !important;
    color: #65676b;
    padding: 0 4px !important;
    line-height: 1;
    box-shadow: none !important;
}
.card-comment-options-btn:hover,
.card-comment-options-btn:focus {
    background-color: rgba(0, 0, 0, 0.1) !important;
    color: #050505;
}

/* --- Estilos para Caja de Respuesta (Nueva) --- */
.card-comment-reply-form {
    /* Padding izquierdo para alinear con las respuestas (avatar pequeño + gap) */
    padding-left: calc(32px + 0.5rem);
    /* Puedes añadir más estilos específicos aquí si es necesario */
}
.card-comment-reply-form .form-control {
    /* Ajusta el estilo del textarea si quieres */
    /* border-radius: 18px; */ /* Para que coincida con las burbujas? */
}


/* --- Estilos para Respuestas Existentes --- */
.card-comment-replies {
    padding-left: calc(38px + 0.5rem); /* Ancho del avatar principal + gap */
    position: relative;
}

/* Línea de conexión vertical (opcional) */
.card-comment-replies::before {
    content: "";
    position: absolute;
    left: 19px; /* Centrado con el avatar principal (38px / 2) */
    top: -15px;  /* Ajusta inicio */
    bottom: 15px; /* Ajusta fin */
    width: 2px;
    background-color: #e4e6eb;
    z-index: 0; /* Puede ir detrás o delante dependiendo de otros elementos */
}

.card-comment.is-reply {
    position: relative; /* Necesario si la línea debe conectar exactamente */
    z-index: 1; /* Asegura que la respuesta esté sobre la línea */
}

/* Ajustes para la burbuja en respuestas */
.card-comment.is-reply .card-comment-content {
    /* padding: 6px 10px; */
    min-width: 100px;
}

.card-comment.is-reply .card-comment-author-name {
    font-size: 0.8rem;
}
.card-comment.is-reply .card-comment-body {
    font-size: 0.85rem;
}
.card-comment.is-reply .card-comment-actions {
    padding-left: 10px; /* Alinea con texto de burbuja respuesta */
    font-size: 0.7rem;
}
.card-comment.is-reply .card-comment-metadata {
    font-size: 0.7rem;
}


/* Añade esto a tu CSS */
.form-switch.form-switch-sm {
    margin-bottom: 0.5rem;
}

.form-switch.form-switch-sm .form-check-input {
    height: 1rem;
    width: 1.75rem;
    border-radius: 2rem;
    margin-top: 0.25rem;
}

.form-switch.form-switch-md {
    margin-bottom: 1rem;
}

.form-switch.form-switch-md .form-check-input {
    height: 1.5rem;
    width: 2.5rem;
    border-radius: 3rem;
}

.form-switch.form-switch-lg {
    margin-bottom: 1.5rem;
}

.form-switch.form-switch-lg .form-check-input {
    height: 2rem;
    width: 3.5rem;
    border-radius: 4rem;
}


.custom-bs-switch .form-check-input {
    width: 2em;
    height: 1em;
    margin-left: 0;
    vertical-align: top;
    background-color: var(--bs-secondary-bg, #dee2e6);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
    border-radius: 2em;
    border: var(--bs-border-width, 1px) solid var(--bs-border-color, #dee2e6);
    transition: background-position 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-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.custom-bs-switch .form-check-input:checked {
    background-position: right center;
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

.custom-bs-switch .form-check-input:focus {
    outline: 0;
    border-color: var(--bs-primary-border-subtle);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

.custom-bs-switch .form-check-input:disabled {
    pointer-events: none;
    filter: none;
    opacity: var(--bs-form-check-input-disabled-opacity, 0.5);
    background-color: var(--bs-secondary-bg);
    border-color: var(--bs-border-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");
}

.custom-bs-switch .form-check-input:disabled ~ .form-check-label {
    opacity: var(--bs-form-check-label-disabled-opacity, 0.5);
}


/* file  */
.file-dropdown-wrapper {}

.file-dropdown-wrapper .file-dropdown-toggle {}
.file-dropdown-wrapper .file-dropdown-toggle .fe {}

.file-dropdown-wrapper .file-dropdown-menu {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    min-width: 280px;
    max-width: 400px;
    overflow-x: hidden;
}

.file-dropdown-wrapper .dropdown-menu .file-dropdown-item {
    background-color: transparent !important;
    color: var(--bs-body-color);
    padding: 0.75rem 1.25rem;
    transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
    white-space: normal;
    line-height: 1.4;
    border-radius: var(--bs-border-radius);
    margin: 0 0.5rem;
    width: calc(100% - 1rem);
    overflow: hidden;
}

.file-dropdown-wrapper .file-dropdown-item .file-dropdown-item-content {
    flex-grow: 1;
    min-width: 0;
}

.file-dropdown-wrapper .file-dropdown-item .file-dropdown-item-title {
    color: var(--bs-emphasis-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.file-dropdown-wrapper .file-dropdown-item .file-dropdown-item-desc {}

.file-dropdown-wrapper .file-dropdown-item .file-dropdown-item-meta {
    margin-top: 0.35rem;
}

.file-dropdown-wrapper .file-dropdown-item .file-dropdown-item-meta .fe {
    vertical-align: middle;
}

.file-dropdown-wrapper .dropdown-menu .file-dropdown-item:hover,
.file-dropdown-wrapper .dropdown-menu .file-dropdown-item:focus {
    background-color: var(--bs-tertiary-bg) !important;
    color: var(--bs-emphasis-color) !important;
    background-image: none;
    outline: 0;
}

.file-dropdown-wrapper .dropdown-menu .file-dropdown-item.active,
.file-dropdown-wrapper .dropdown-menu .file-dropdown-item:active {
    background-color: var(--bs-primary) !important;
    color: var(--bs-light) !important;
    background-image: none;
}

.file-dropdown-wrapper .dropdown-menu .file-dropdown-item > .d-flex > .fe {}



.activities-timeline-container-line::before {
    content: '';
    position: absolute;
    left: calc(1.5rem + 22px);
    transform: translateX(-50%);
    top: calc(0.375rem + 22px);
    bottom: 1.5rem;
    width: 2px;
    background-color: var(--bs-border-color-translucent);
    z-index: 0;
}

.activities-timeline-item-base:last-child {
    padding-bottom: 0 !important;
}

.activities-timeline-marker-area {
    width: 44px;
    position: relative;
    min-height: 1px;
}

.activities-timeline-marker {

    width: 36px;
    height: 36px;
    left: 50%;
    transform: translateX(-50%);
    top: 0.375rem;
    border-color: var(--bs-card-bg) !important;
    z-index: 1;
}

.activities-timeline-file-pill{
    transition:background-color .15s ease-in-out,border-color .15s ease-in-out}.activities-timeline-file-pill:hover{background-color:var(--bs-secondary-bg)!important;border-color:var(--bs-border-color)!important;color:var(--bs-emphasis-color)!important
}


.activities-actions-drag-over {
    border: 2px dashed var(--bs-primary) !important; /* Bootstrap primary color */
    background-color: rgba(13, 110, 253, 0.1);
}


/*=== Month picker ===*/
.vanilla-month-picker { position: fixed; width: 290px; background-color: #fff; border: 1px solid #dee2e6; border-radius: 0.375rem; box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; z-index: 1060; transition: opacity 0.15s ease-in-out, transform 0.15s ease-in-out; display: none; opacity: 0; transform: translateY(10px); }
.vanilla-month-picker.visible { display: block; opacity: 1; transform: translateY(0); }
.vmp-header { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 1rem; background-color: #f8f9fa; border-bottom: 1px solid #dee2e6; }
.vmp-year-display { font-size: 1rem; font-weight: 600; cursor: pointer; padding: 0.25rem 0.5rem; border-radius: 0.25rem; transition: background-color 0.2s; }
.vmp-year-display:hover { background-color: #e9ecef; }
.vmp-nav { background: none; border: none; cursor: pointer; width: 2rem; height: 2rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #495057; }
.vmp-nav:hover { background-color: #e9ecef; }
.vmp-content { padding: 0.75rem; }
.vmp-year-input-container { padding: 0 0 0.75rem; display: none; }
.vmp-year-manual-input { text-align: center; }
.vmp-year-manual-input::placeholder { font-style: italic; font-size: 0.9em; }
.vmp-grid { display: grid; gap: 0.5rem; }
.vmp-months-grid { grid-template-columns: repeat(3, 1fr); }
.vmp-years-grid { grid-template-columns: repeat(4, 1fr); max-height: 180px; overflow-y: auto; padding-right: 5px; }
.vmp-item { text-align: center; padding: 0.625rem 0.3125rem; cursor: pointer; border-radius: 0.25rem; font-size: 0.9rem; transition: background-color 0.2s, color 0.2s; }
.vmp-item:hover { background-color: #e9ecef; }
.vmp-item.selected { background-color: #0d6efd; color: #fff; font-weight: bold; }


/** === Header Main Menu === **/
.header-main-menu-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 0.6rem;
    text-decoration: none;
    color: #495057;
    font-weight: 500;
    transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
    white-space: nowrap;
}

.header-main-menu-item:not(:last-child) {
    border-right: 1px solid #dee2e6;
}

.header-main-menu-item:first-child {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}
.header-main-menu-item:last-child {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.header-main-menu-item:hover {
    background-color: #e9ecef;
    color: #000;
}

.header-main-menu-item.active {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    color: #000 !important;
    font-weight: 600;
}

/** === Table responsive dropdown === **/
.table-responsive-dropdown {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
    .table-responsive-dropdown {
        overflow-x: visible;
    }
}