/* SECTIONS */

.section {
    position: relative;
    padding-top: 6.25rem;
    padding-bottom: 100px;
    min-height: 100vh;
}

.update-overlay {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #000;
    opacity: .1;
    /*z-index: 1050;*/
}
.section.updating .update-overlay {
    display: block;
}

.section.section-terms {
    padding-bottom: 350px;
}



/* EMPLOYEES  */

.employees-fixed-container {
    position: fixed;
    width: 100%;
    bottom: 60px;
    background-color: var(--background);
    box-shadow: 0 -0.5rem 1rem rgba(0, 0, 0, .15);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.employees-wrapper {
    overflow: auto;
}

.employees-wrapper::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.employees-wrapper::-webkit-scrollbar-track {
    border-radius: 4px;
    background: transparent;
}

.employees-wrapper::-webkit-scrollbar-track:hover {
    box-shadow: inset 0 0 4px var(--dark);
/*    border-radius: 4px;*/
    background: #000;
}

.employees-wrapper::-webkit-scrollbar-thumb {
    background: var(--dark);
    border-radius: 4px;
    border: 3px solid transparent;
    background-clip: padding-box;
}

.employees-wrapper::-webkit-scrollbar-thumb:hover {
    border-width: 0px;
    background: var(--dark);
}

.employees {
    display: flex;
    flex-wrap: nowrap;
}

.employees .employee-col {
    flex-basis: 22.5%;
    min-width: 22.5%;
    max-width: 100%;
    margin-bottom: 65px;
    padding: 0.5%;
}

.employees .employee {
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    aspect-ratio: 1 / 1;
    width: 100%;
    position: relative;
    user-select: none;
}

.employees .employee.disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

.employees .employee .rank {
    position: absolute;
    width: 10px;
    height: 6px;
    background-color: var(--text);
    border: 1px solid #000;
    left: 50%;
    transform: translate(-50%, 0);
}

.employees .employee .employee-price {
    position: absolute;
    bottom: -58px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    color: #ccc;
    padding: 0px 8px;
    border: 1px solid #000;
    border-radius: 0.25rem;
    left: 50%;
    transform: translate(-50%, 0);
    height: 24px;
    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;
}

.employees .employee.active .employee-price {
    color: #000;
    background-color: var(--primary);
    border: 1px solid var(--dark);
}

.employees .employee.active:hover .employee-price {
    background-color: var(--hover);
}

.employees .employee .employee-name {
    display: block;
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translate(-50%, 0);
    padding: 4px 8px;
    line-height: 1;
    background-color: #000;
    border: 1px solid var(--dark);
    border-radius: 0.25rem;
    color: var(--text);
    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;
}

.employees .employee .employee-rank {
    font-size: 9px;
    line-height: 9px;
    text-transform: uppercase;
}

.employees .employee:hover .employee-name {
    background-color: var(--background);
}

.employees .employee .rank-icon {
    display: block;
    position: relative;
    top: 1px;
    left: 0px;
    width: 10px;
    height: 24px;
    overflow: hidden;
    margin-right: 4px;
}
.employees .employee .rank-icon svg {
    width: 100%;
    left: 0;
}

.employees .employee.active .employee-name {
    background-color: var(--primary);
    color: #000;
    font-weight: 600;
}

.employees .employee.active:hover .employee-name {
    background-color: var(--hover);
}

.employees .employee.disabled .employee-name {
    color: var(--text);
    background-color: #000;
}

.employees .employee .employee-img {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    background-color: #000;
    border: 2px solid var(--dark);
    border-radius: 100%;
    overflow: hidden;
    text-align: center;
}

.employees .employee.active .employee-img {
    border-color: var(--primary);
}

.employees .employee.active:hover .employee-img {
    border-color: var(--hover);
}

.employees .employee .employee-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: 50% 0%;
}

.employees .employee.disabled .employee-img img {

}

@media (min-width:768px) {
    .employees .employee-col {
        flex-basis: 18.18%;
        min-width: 18.18%;
    }

    .employees .employee {
        font-size: 16px;
    }

    .employees .employee .employee-rank {
        font-size: 10px;
        line-height: 10px;
    }
}

@media (min-width:992px) {
    .employees .employee-col {
        flex-basis: 12.5%;
        min-width: 12.5%;
    }
}



/* SERVICES  */

.services-wrapper{
    padding: 0 0;
    width: 100%;
}

.services .service-group {
    margin-top: 1rem;
    /*margin-bottom: 3rem;*/
}

.services .service-group-title {
    text-transform: uppercase;
    padding-top: .5rem;
    padding-bottom: .5rem;
    /*margin-bottom: .5rem;*/
    font-size: 22px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--dark);
}

.services .service-group .service-group-title::after {
    content: '+';
}

.services .service-group.open .service-group-title::after {
    content: '-';
}

.services .service-group-items {
    padding-left: 10px;
    margin-bottom: 2rem;
}

.services .service-group.active .service-group-title {
    color: var(--primary);
    border-bottom: 1px solid var(--primary);
    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;
}

.services .service-group.active .service-group-title:hover {
    color: var(--hover);
    border-bottom: 1px solid var(--hover);
}

.services .service {
    border-bottom: 1px solid #454d55;
    font-size: 12px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.services .service p {
    margin-bottom: 0.5rem;
}

.services .service.disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

.services .service .service-row {
    display: flex;
    align-items: center;
    min-height: 42px;
    cursor: pointer;
    user-select: none;
}

.services .service.active .service-row {
    color: var(--primary);
    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;
}

.services .service.active .service-row:hover {
    color: var(--hover);
}

.services .service .service-icon {
    flex: 0 0 40px;
    max-width: 40px;
    padding-left: 15px;
    padding-right: 15px;
}

.services .service .service-icon i {
    font-size: 28px;
}

.services .service .service-name {
    font-size: 1.2em;
    font-weight: 500;
}

.services .service.active .service-name {
    font-weight: 600;
}

.services .service .service-time {
    font-size: 1em;
}

.services .service .service-price {
    font-size: 1em;
}

.services .service .service-details {
    padding-left: 40px;
}

.extra-services .extra-service {
/*    font-size: 14px;*/
}

.extra-services .extra-service.disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

.extra-services .extra-service .extra-service-row {
    display: flex;
    align-items: center;
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
    cursor: pointer;
    user-select: none;
    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;
}

.extra-services .extra-service:not(.active):not(.disabled) .extra-service-row {
    animation: fade 1s 1s infinite alternate-reverse;
}

.extra-services .extra-service.active .extra-service-row {
    color: var(--primary);
}

.extra-services .extra-service.active:hover .extra-service-row {
    color: var(--hover);
}

.extra-services .extra-service .extra-service-icon {
    flex: 0 0 40px;
    max-width: 40px;
    padding-left: 15px;
    padding-right: 15px;
}

.extra-services .extra-service .extra-service-icon i {
    font-size: 28px;
}

.extra-services .extra-service .extra-service-name {
    font-size: 1em;
    font-weight: 500;
}

.extra-services .extra-service.active .extra-service-name {
    font-weight: 600;
}

@media (min-width:768px) {
    .services .service {
        font-size: 14px;
    }
}



/* CALENDAR  */

.calendar-wrapper {
    width: 100%;
    height: 78px;
    background-color: #000;
    border: 1px solid #6f5f33;
    border-radius: 0.625rem;
    margin-bottom: 0.5rem;
    padding: 0 30px;
    position: relative;
    overflow: hidden;
}

.calendar-arrow-left,
.calendar-arrow-right {
    position: absolute;
    box-sizing: border-box;
    width: 30px;
    height: 76px;
    font-size: 36px;
    text-align: center;
    color: var(--primary);
    top: 0;
    cursor: pointer;
    z-index: 1;
    user-select: none;
    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;
}

.calendar-arrow-left:hover,
.calendar-arrow-right:hover {
    color: var(--hover);
}

.calendar-arrow-left {
    left: 0;
    border-right: 1px solid var(--dark);
}

.calendar-arrow-right {
    right: 0;
    border-left: 1px solid var(--dark);
}

.calendar {
    width: auto;
    height: 100px;
    overflow-x: scroll;
    position: relative;
}

.calendar::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #f5f5f5;
}

.calendar::-webkit-scrollbar {
    width: 6px;
    background-color: #f5f5f5;
}

.calendar::-webkit-scrollbar-thumb {
    background-color: #000;
}

.calendar .dates {
    height: 76px;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.calendar .day {
    flex: 0 0 76px;
    min-width: 76px;
    height: 76px;
    text-align: center;
    border-right: 1px solid var(--dark);
    box-sizing: border-box;
    color: var(--text);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    user-select: none;
    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;
}

.calendar .day:hover {
    background-color: var(--background);
}

.calendar .weekday {
    flex-basis: 28px;
    line-height: 28px;
    font-size: 12px;
}

.calendar .date {
    flex-basis: 20px;
    line-height: 20px;
    font-size: 28px;
}

.calendar .month {
    flex-basis: 28px;
    line-height: 28px;
    font-size: 12px;
}

.calendar .day.not-available {
    background-color: #000;
}

.calendar .day.not-available > * {
    /*color: #777 !important;*/
    opacity: .6;
}

.calendar .day.disabled {
    background-color: #000;
    cursor: not-allowed;
}

.calendar .day.disabled > * {
    /*color: #333 !important;*/
    opacity: .3;
}

.calendar .day.holiday > .date {
    color: #dc3545 !important;
}

.calendar .day.holiday.disabled > .date {
    opacity: .4;
}

.calendar .day.active {
    background-color: var(--primary);
    color: #000;
    font-weight: 600;
}

.calendar .day.active:hover {
    background-color: var(--hover);
}





/* SCHEDULE  */

.schedule-wrapper {
    position: relative;
    min-height: 550px;
}

.schedule {
    font-size: 14px;
}

.schedule .schedule-col {
    display: flex;
    flex-direction: column;
}

.schedule .schedule-col-title {
    text-align: center;
    color: var(--primary);
    text-transform: uppercase;
    padding: 0.5rem 1rem;
}

.schedule .term {
    text-align: center;
    font-size: 0.9em;
    background-color: #000;
    border: 1px solid var(--dark);
    border-radius: 0.625rem;
    padding: 0.75rem 0.25rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    user-select: none;
    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;
}

.schedule .term:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.schedule .term.disabled {
    background-color: #000;
    opacity: .2;
    cursor: not-allowed;
}

.schedule .term.active {
    background-color: var(--primary);
    color: #000;
    font-weight: 600;
}

.schedule .term.active:hover {
    background-color: var(--hover);
}

.schedule-notice-block {
    width: 100%;
    text-align: center;
    position: absolute;
    top: 0;
}

.schedule-notice {
    background-color: #000;
    border: 1px solid var(--dark);
    border-radius: 0.625rem;
    padding: 1rem;
    box-shadow: 0 -0.5rem 1rem rgba(0, 0, 0, .15);
}

.schedule-notice-text {

}

.schedule-notice .btn-option {
    display: block;
    width: 100%;
    margin: auto;
    max-width: 492px;
}

@media (min-width:768px) {
    .schedule .term {
        font-size: 1em;
        padding: 0.5rem;
        margin-bottom: 0.75rem;
    }
}



/* BOOKING */

.booking {
    font-size: 0.925rem;
}

.booking .table td,
.booking .table th {
    padding: 0.75rem 1.25rem;
}

.booking-employee .employee .employee-img img {
    border-radius: 50%;
    overflow: hidden;
    text-align: center;
}

.booking-feedback {
    padding: 1.25rem;
    border: 1px solid var(--hover);
    border-radius: 0.625rem;
    margin-bottom: 1rem;
}

.booking .booking-term {

}

.booking .price-small {
    font-size: 80%;
}

@media (min-width:768px) {
    .booking {
        font-size: 1rem;
    }
}



/* NAVIGATION  */

.navigation-wrapper {
    padding: 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1030;
}

.navigation {
    display: flex;
    flex-flow: row wrap;
    /*overflow: hidden;*/
    font-size: 14px;
    min-height: 64px;
    box-shadow: 0 -0.5rem 1rem rgba(0, 0, 0, .15);
}

.navigation .navigation-total {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 0.8rem 1.2rem;
    font-size: 0.9em;
    cursor: pointer;
}

.navigation .navigation-total-expanded {
    position: absolute;
    bottom: 0;
    height: auto;
    width: 100%;
    background-color: #343a40;
    border-radius: 0.625rem 0.625rem 0 0;
    box-shadow: 0 -0.5rem 1rem rgba(0, 0, 0, .15);
    z-index: 1;
    transition: height .15s ease-in-out, box-shadow .15s ease-in-out;
}

.navigation .navigation-select {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    font-size: 0.9em;
    position: absolute;
    top: 0;
}

.navigation .navigation-select-right {
    justify-content: right;
}

.navigation .navigation-button {
    width: 100%;
    height: 100%;
    border-radius: 0;
    font-size: 1.2em;
    font-weight: 600;
    position: absolute;
    top: 0;
    background-image: linear-gradient(to right, var(--primary) 0%, var(--primary2) 100%);
}

.navigation-button:hover {
    /*color: var(--text);*/
    background-color: var(--hover);
    background-image: linear-gradient(to right, var(--hover) 0%, var(--hover2) 100%);
    /*border-color: #6c757d;*/
}

.navigation-button.disabled, .navigation-button:disabled {
    color: var(--text);
    background-color: #6c757d;
    background-image: none;
    /*border-color: #6c757d;*/
}

@media (min-width:576px) {
    .navigation {
        border-radius: 0.625rem 0.625rem 0 0;
    }
    .navigation .navigation-button-right {
        border-radius: 0 0.625rem 0 0;
        overflow: hidden;
    }
}

@media (min-width:768px) {
    .navigation .navigation-button {
        font-size: 1.4em;
    }
    .navigation .navigation-total,
    .navigation .navigation-select {
        font-size: 1em;
    }
}



/* ANIMATIONS */

@keyframes fade {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
        ;
    }
}

.breathing {
    animation: fade 1s 0s infinite alternate-reverse;

}

.attention .service-group,
.attention .service:not(.disabled),
.attention .employee:not(.disabled),
.attention .term:not(.disabled) {
    animation: fade .2s 4 alternate-reverse;
}
