﻿@media (min-width: 1600px) {
    .container.portal-container {
        max-width: 1280px;
    }
}

@media (min-width: 1640px) {
    .page-content.container:not(.container.portal-container) {
        padding: 1.25rem 1.375rem 0.625rem;
    }
}

@media (min-width: 1840px) {
    .page-content.portal-container {
        padding: 1.25rem 1.375rem 0.625rem;
    }
}

@media (min-width: 1750px) {
    .portal-container .sidebar-h .sidebar-section:first-child .sidebar-section-item.fadeable-center:first-child .fadeable, .sidebar-h .portal-container .sidebar-section:first-child .sidebar-section-item.fadeable-center:first-child .fadeable {
        left: 50% !important;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }

        .portal-container .sidebar-h .sidebar-section:first-child .sidebar-section-item.fadeable-center:first-child .fadeable .sub-arrow, .sidebar-h .portal-container .sidebar-section:first-child .sidebar-section-item.fadeable-center:first-child .fadeable .sub-arrow {
            left: calc(50% - 0.625rem) !important;
        }
}

.sidebar-white .submenu .nav-item.active:not(.open) > .nav-link > .nav-text::before {
    content: "";
    display: block;
    opacity: 1;
    display: none;
}

.sidebar-white .submenu .nav-text::before {
    display: none;
    position: absolute;
    left: 2em;
    z-index: 1;
    opacity: 0.65;
    top: calc(50% - 0.1875rem);
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 0.75rem;
    background-color: currentColor;
}

.sidebar-white .submenu .nav-item > .nav-link:hover > .nav-text::before {
    content: "";
    display: none;
    opacity: 0.8;
}

.page-content {
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    padding: 1rem 0.875rem 0rem;
}

@media (min-width: 768px) {
    .page-content {
        padding: 1.25rem 1.125rem 0rem;
    }
}

@media (min-width: 1200px) {
    .page-content {
        padding: 1.25rem 1.125rem 0rem;
    }
}

@media (min-width: 1400px) {
    .page-content {
        padding: 1.25rem 1.125rem 0rem;
    }
}

@media (min-width: 1600px) {
    .page-content {
        padding: 1.25rem 1.125rem 0rem;
    }
} 


@media (min-width: 992px) {
    .bgc-lg-white {
       background-color: #fff;
       border: none;
    }
}     

.lh-11 {
    line-height: 1.1;
}

.lh-12 {
    line-height: 1.2;
}

.lh-13 {
    line-height: 1.3;
}

.mh-50 {
    min-height: 50px;
}
.mh-55 {
    min-height: 55px;
}
.mh-60 {
    min-height: 60px;
}

.mh-240 {
    min-height: 240px;
}

.mh-250 {
    min-height: 250px;
}

.mh-260 {
    min-height: 260px;
}

.mh-270 {
    min-height: 270px;
}

.mh-280 {
    min-height: 280px;
}

.mh-290 {
    min-height: 290px;
}

.mh-300 {
    min-height: 300px;
}

.mh-340 {
    min-height: 340px;
} 

.mh-350 {
    min-height: 350px;
}

.mh-360 {
    min-height: 360px;
}


.mh-370 {
    min-height: 370px;
}

.mh-380 {
    min-height: 380px;
}

/*Max Heigh*/
.maxh-340 {
    max-height: 340px;
}

.maxh-350 {
    max-height: 350px;
}

.maxh-360 {
    max-height: 360px;
}

.maxh-370 {
    max-height: 370px;
}

.maxh-380 {
    max-height: 380px;
}

@media (max-width: 576px) {

    .maxh-380 {
        height: auto;
    }
}

.w-7 {
    width: 3.5rem;
}
.w-8 {
    width: 4rem;
}
.w-9 {
    width: 4.5rem;
}
.w-10 {
    width: 5rem;
}

.mw-25 {
    min-width: 25px;
}

.mw-35 {
    min-width: 35px;
}

.mw-40 {
    min-width: 40px;
}

.mw-45 {
    min-width: 45px;
}
.mw-60 {
    min-width: 60px;
}
.mw-80 {
    min-width: 80px;
}
.mw-90 {
    min-width: 90px;
}

.mw-100 {
    min-width: 100px;
}

.mw-110 {
    min-width: 110px;
}

.mw-120 {
    min-width: 120px;
}

.mw-130 {
    min-width: 130px;
}

.mw-140 {
    min-width: 140px;
}

.mw-150 {
    min-width: 150px;
}
.mw-160 {
    min-width: 160px;
}
.mw-170 {
    min-width: 170px;
}
.mw-180 {
    min-width: 180px;
}
.mw-200 {
    min-width: 200px;
}

.mw-300 {
    min-width: 300px;
}

.maxw-120 {
    max-width: 120px;
}
.maxw-130 {
    max-width: 130px;
}
.maxw-140 {
    max-width: 140px;
}
.maxw-150 {
    max-width: 150px;
}
.maxw-160 {
    max-width: 160px;
}
.maxw-170 {
    max-width: 170px;
}
.maxw-180 {
    max-width: 180px;
}
.maxw-200 {
    max-width: 200px;
}
.maxw-300 {
    max-width: 300px;
}

.w-65
{
    width:65px;
    min-width: 65px;
    max-width: 65px;
}

@media (min-width: 768px) {
    .mw-md-60 {
        min-width: 60px;
    }

    .mw-md-140 {
        min-width: 140px;
    }
    .mw-md-200 {
        min-width: 200px;
    }


    .maxw-md-140 {
        max-width: 140px;
    }

    .maxw-md-200 {
        max-width: 200px;
    }
}

    div.popup-errors {
        padding: 0.5rem 0.5rem;
        border: none;
        margin-top: -0.75rem;
        margin-left: -0.75rem;
        margin-right: -0.75rem;
        margin-bottom: 0.5rem;
    }

    ul.popup-errors {
        padding: 4px 4px;
        border: none;
        margin-bottom: 0px;
        list-style-type: none;
    }

        ul.popup-errors > li {
            color: #dc3545;
            font-size: 12px;
            padding: 0;
        }

    ul.alert-errors {
        padding: 0;
        border: none;
        margin-bottom: 0px;
        list-style-type: none;
    }

        ul.alert-errors > li {
            color: #dc3545;
            font-size: 14px;
            padding: 0;
        }

    input.no-spin::-webkit-outer-spin-button,
    input.no-spin::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    input.no-spin {
        -moz-appearance: textfield;
    }


    .blazored-typeahead {
        color: #51575d;
        background-color: #fff;
        border: 1px solid #e5e4e4;
        border-radius: 0.125rem;
        font-family: inherit;
        transition-duration: 120ms;
    }

    .blazored-typeahead__input {
        border-radius: 0.125rem;
    }

    .blazored-typeahead.valid.modified {
        outline: none !important;
        border: 1px solid #e5e4e4;
    }

    .blazored-typeahead:focus-within {
        box-shadow: 0px 0px 0px 2px rgba(245, 153, 66, 0.2);
        color: rgb(105, 105, 105);
        background-color: rgb(255, 255, 255);
        border-color: rgb(245, 153, 66);
        outline: none;
    }

    .blazored-typeahead__input:focus {
        box-shadow: none;
        color: rgb(105, 105, 105);
        background-color: rgb(255, 255, 255);
        border-color: rgb(245, 153, 66);
        outline: none;
    }

    .blazored-typeahead__input-icon:focus {
        outline: none;
        box-shadow: none;
    }

    .blazored-typeahead__input-icon:hover {
        background-color: #fff;
    }

    .blazored-typeahead__active-item, .blazored-typeahead__result:hover, .blazored-typeahead__result:focus {
        background-color: #007bff40;
        border-top: 1px solid #007bff40;
        border-bottom: 1px solid #007bff40;
        color: #104680;
        cursor: pointer;
    }

    .blazored-typeahead__selected-item {
        background-color: rgba(15,23,42,.06);
    }

    .blazored-typeahead__input-mask {
        display: block;
        align-items: center;
        flex: 1;
        border-radius: 5px 0 0 5px;
        padding: .25rem .50rem;
        line-height: 1.1;
        cursor: pointer;
    }

    .blazored-typeahead__results {
        box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
        border: 1px solid #dbdbdb;
        min-height: 2rem;
        max-height: 10rem;
        overflow-y: scroll;
        width: 100%;
        background: #fff;
    }

    .blazored-typeahead__results-header {
        cursor: pointer;
    }

    .blazored-typeahead__result, .blazored-typeahead__notfound, .blazored-typeahead__results-help-template, .blazored-typeahead__results-header, .blazored-typeahead__results-footer {
        padding: .25rem .50rem;
        border-top: 1px solid #fff;
        border-bottom: 1px solid #fff;
        line-height: 1.1;
    }

    .blazored-typeahead__input-mask-wrapper--disabled {
        background-color: #fcfcfc;
        cursor: not-allowed;
        border-radius: 5px 0 0 5px;
        color: grey;
        min-height: 40px;
    }

    .blazored-typeahead__input-icon--disabled,
    .blazored-typeahead__input-icon--disabled:hover
    .blazored-typeahead__input-icon--disabled:focus {
        background-color: #fcfcfc;
        cursor: not-allowed;
        display: none;
    }

    btn.[disabled] {
        color: #848484;
        background-color: #fcfcfc !important;
        cursor: not-allowed;
    }

    .form-control[disabled] {
        color: #848484;
        background-color: #fcfcfc !important;
        cursor: not-allowed;
    }

    #blazor-error-ui {
        background: lightyellow;
        bottom: 0;
        box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
        display: none;
        left: 250px;
        padding: 0.6rem 1.25rem 0.7rem 1.25rem;
        position: fixed;
        width: 100%;
        z-index: 1000;
    }

        #blazor-error-ui .dismiss {
            cursor: pointer;
            position: absolute;
            right: 0.75rem;
            top: 0.5rem;
        }


    .form-control {
        color: #51575d;
        background-color: #fff;
        border: 1px solid #e5e4e4;
        border-radius: 0.125rem;
        font-family: inherit;
        transition-duration: 120ms;
    }

    .form-group label {
        max-width: 100%;
        margin-bottom: 2px;
        font-weight: normal;
        font-size: 13px;
        color: #104680;
    }

    .form-group-sm label {
        max-width: 100%;
        margin-bottom: 1px;
        font-weight: normal;
        font-size: 12px;
        color: #104680;
    }


    /*Menu*/
    a.nav-link, a.blzclick {
        cursor: pointer;
    }

    .underlined {
        text-decoration: underline;
    }

    .tableResults {
        table-layout: fixed;
        width: 100%;
    }

        .tableResults tr td {
            padding: 0.50rem 0.50rem 0.25rem 0.50rem;
            font-size: 12px;
            line-height: 0.9rem;
        }

        .tableResults thead th {
            position: sticky;
            top: 0;
            z-index: 2;
            padding: 0.40rem 0.50rem;
            font-size: 13px;
            background: #f8f9fa;
            border: none !important;
        }

    .text-mw-100 {
        display: block;
        width: 100px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }


    .text-mw-180 {
        display: block;
        width: 180px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .text-mw-200 {
        display: block;
        width: 200px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .text-hidden {
        display: none;
    }


    /*Validation*/

    .validation-message {
        margin-left: 2px;
        font-size: 11px;
        color: #ed5565;
    }

    .field-validation-error {
        font-size: 11px;
        color: #ed5565;
    }

    .input-validation-error {
        border-color: #dc3545;
    }

    .form-control.invalid {
        border-color: #dc3545;
    }

    ul.validation-errors {
        padding: 10px 35px;
        border: 1px solid transparent;
        border-radius: 4px;
        background-color: #f8ecec;
        border-color: #ebccd1;
    }

    ul > li.validation-message {
        color: #dc3545;
        font-size: 13px;
    }

    .validation-summary-valid {
        display: none;
    }

    .validation-summary-errors {
        color: #ed5565;
        font-size: 13px;
    }

    a .text-expanded {
        display: none;
    }

    a:not(.collapsed) .text-expanded {
        display: inline;
    }

    a:not(.collapsed) .text-collapsed {
        display: none;
    }


    /*Top Wizard*/

    .sw-theme-circles {
        width: 100%;
    }

        .sw-theme-circles > ul.step-anchor {
            display: -ms-flexbox;
            display: flex;
            -ms-flex-pack: distribute;
            justify-content: space-around;
            margin-bottom: 1.25rem;
            width: 100%;
        }


    .sw-main > ul.step-anchor > li.wizard-progressbar {
        position: absolute;
        z-index: 2;
        top: 1rem;
        bottom: 0;
        height: 0.25rem;
        background-color: #2c87d3;
        transition: all 150ms;
    }

    .sw-theme-circles > ul.step-anchor > li .step-description {
        position: absolute;
        left: 0;
        width: 100%;
        text-align: center;
        margin-top: 0.15rem;
        font-size: 12px;
    }

    .sw-theme-circles > ul.step-anchor > li.done > a:hover, .sw-theme-circles > ul.step-anchor > li.active ~ li.done > a:hover {
        border-width: 4px;
        font-size: 12px;
    }

    .sw-theme-circles > ul.step-anchor > li.nav-item.active > a, .sw-theme-circles > ul.step-anchor > li.nav-item.done > a {
        background-color: #fff;
        color: #45464b;
        border-color: inherit !important;
    }

    .sw-theme-circles > ul.step-anchor > li.nav-item > a, .sw-theme-circles > ul.step-anchor > li.nav-item.active ~ li.done > a {
        position: relative;
        z-index: 3;
        margin: 0 auto;
        padding: 0;
        width: 2.25rem;
        height: 2.25rem;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-pack: center;
        justify-content: center;
        color: #45464b;
        font-size: 11px;
        background-color: #fff;
        border: 4px solid;
        border-color: inherit !important;
        border-radius: 50%;
        box-shadow: none !important;
    }




    /* Services */
    .tblServices {
        margin-top: 10px;
        margin-bottom: 10px;
    }

        .tblServices th, .tblServices td {
            vertical-align: middle;
            border-top: 1px solid #dee2e6;
            line-height: 1.2;
        }

        .tblServices tr:first-child td {
            border: none;
        }

        .tblServices tr:last-child td {
        }

        .tblServices .min {
            width: 1%;
        }


    .categoryShimmer {
        height: 53px;
        background: linear-gradient(90deg, rgba(15,23,42,.06) 0%, rgba(15,23,42,.10) 35%, rgba(255,255,255,.65) 50%, rgba(15,23,42,.10) 65%, rgba(15,23,42,.06) 100%);
        background-size: 220% 100%;
        animation: ccs-shimmer 1.35s ease-in-out infinite;
    }

    @media (max-width: 420px) {

        .tblServices th, .tblServices td {
            padding: 0.5rem 0.25rem;
        }
    }

    .dp-below {
        z-index: 999999;
    }


    /* Date / Callendar */
    select.calendar-select {
        position: relative;
        cursor: pointer;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        width: 100%;
        height: 37.33px;
        padding-left: 0.5rem;
        border: 1px solid #b3b4b6;
        border-radius: 3px;
        background-color: #fff;
        background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
        background-position: calc(100% - 1.125rem) center, calc(100% - 0.75rem) center;
        background-size: 0.375rem 0.375rem, 0.375rem 0.375rem;
        background-repeat: no-repeat;
    }

    .calendar2 {
        display: grid;
        grid-template-columns: repeat(7, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .day {
        min-width: 0; /* critical */
    }


    .btnCalendar2 {
        width: 100%;
        box-sizing: border-box;
        padding: 8px 0;
        margin: 0;
        min-width: 0;
        font-size: 12px;
        border-radius: 4px;
    }

        .btnCalendar2:disabled {
            background-color: #fad6dc;
            border-color: #eca7c2;
        }

        .btnCalendar2 .fill {
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            height: var(--percent);
            background: #2d81e739;
            transition: height 0.3s ease;
            color: #ffffff;
        }


    .outofmonth:not(.btn-blue) {
        color: #52555a8b;
    }

    .outofmonth:disabled {
        color: #52555a8b;
    }

    .calendarShimmer {
        height: 35px;
        background: linear-gradient(90deg, rgba(15,23,42,.06) 0%, rgba(15,23,42,.10) 35%, rgba(255,255,255,.65) 50%, rgba(15,23,42,.10) 65%, rgba(15,23,42,.06) 100%);
        background-size: 220% 100%;
        animation: ccs-shimmer 1.35s ease-in-out infinite;
        border: 1px solid rgba(15,23,42,.3);
    }


    .timeslots-panel {
        margin-bottom: 0;
    }


    @media (max-width: 576px) {

        .timeslots-panel {
            height: auto;
        }
    }

    .timeslots {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .btn-timeslot {
        width: 100%;
        box-sizing: border-box;
        padding: 8px 0;
        margin: 0;
        min-width: 0;
        font-size: 12px;
        border-radius: 4px;
    }


    @media (max-width: 420px) {
        .timeslots {
            gap: 6px;
        }
    }


    /*Google auto complete*/
    .pac-container {
        z-index: 9000;
    }


    /*tools*/

    .rightLine {
        border-right: 1px solid #e4e9ee !important;
    }

    @media (max-width: 576px) {

        .rightLine {
            border-right: none !important;
        }
    }

    .expandToBottom {
        height: calc(100vh - 230px);
        overflow-y: auto;
    }

    .minToBottom {
        min-height: calc(100vh - 220px);
    }

    /*Summary*/
    .tableSummary {
        margin-bottom: 0;
    }

        .tableSummary .min {
            width: 1%;
        }

        .tableSummary tr td {
            padding: 0.50rem 0.50rem 0.25rem 0.50rem;
            line-height: 0.9rem;
        }

        .tableSummary thead th {
            padding: 0.40rem 0.50rem;
            font-size: 13px;
        }

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

    /*admin  Summary*/
    .adminSummary {
        margin-bottom: 0;
    }

        .adminSummary tr td {
            padding: 0.25rem;
            font-size: 15px;
        }

        .adminSummary .min {
            width: 1%;
            white-space: nowrap;
        }



    select.styledOpts option:disabled {
        color: #c3c3c3;
    }


    .buttons-row > [class*="col-"]:only-child {
        margin-left: auto;
    }

    /*Modals*/
    .modal-header:has(ul.nav-tabs) {
        padding: 0;
    }


    .modal-header > ul.nav-tabs + button.close {
        /* styles apply to the button */
        padding: 0.25rem 0.5rem;
        margin: 1rem 0.75rem 0.75rem auto;
    }

    .modal-body > div.tab-sliding {
        transition: ease;
    }


    .bgc-footer {
        border-top-color: #e4e9ee !important;
        background-color: #eff3f8 !important;
    }

    @media (min-width: 992px) {
        .modal-lg, .modal-xl {
            max-width: 800px;
        }
    }

    @media (min-width: 1200px) {
        .modal-xl {
            max-width: 1140px;
        }
    }


    @keyframes ccs-shimmer {
        0% {
            background-position: 120% 0;
        }

        100% {
            background-position: -120% 0;
        }
    }

