* {
    margin: 0;
    padding: 0;
}

:root {
    --text-color: black;
    --input-text-color: #99681e;
    --border-color: black;
    --main-color: beige;
    --second-color: #d3bfa0;
    --third-color: #8d7f6d;
    --missing-required-info-color: red;

    /* --text-color: black;
    --input-text-color: #99681e;
    --border-color: green;
    --main-color: lightgreen;
    --second-color: green; */
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Old versions of Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

html, body {
    height: 100%;
    overflow:hidden;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
}

#main-div {
    width: 100%;
    height: 100%;
    max-height: 100%;
    border: thin solid var(--border-color);
    border-radius: 20px;
    background-color: var(--main-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

#date-selector {
    width: 110px;
    color: var(--input-text-color);
}

.datepicker-date-display {
    display: none;
    background-color: var(--second-color) !important;
}

.datepicker-date-display .date-text,
.datepicker-date-display,
.year-text {
    color: var(--text-color) !important;
}

.datepicker-cancel,
.datepicker-clear,
.datepicker-today,
.datepicker-done
{
    color: var(--second-color) !important;
}

.is-today {
    color: var(--text-color) !important;
}

.datepicker-table td.is-selected {
    color: var(--text-color);
    background-color: var(--second-color);
}
.modal.datepicker-modal {
    width: 60%;
}

#select-date-div {
    height: 100%;
    font-family: 'Times New Roman', Times, serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px;
}

#confirm-date-button.btn-small {
    border-radius: 8px;
    padding: 0px;
    > span {
        font-size: 36px;
        color: black;
    }
}

#reload-page-button {
    background-color: var(--third-color) !important;
}

#back-to-date-button {
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#back-to-date-button.btn-small {
    border-radius: 8px;
    padding: 0px;
    >span {
        font-size: 36px;
        transform: rotate(180deg);
        color: black;
    }
}


#select-service-div, #select-section-div {
    width: 90%;
    height: 90%;
}

#days, #sections {
    width: 100%;
    height: calc(100vh - 145px);
    padding-top: 2%;
    overflow-y: auto;
    padding-right: 1%;
    margin-top: 1%;
}

#days, #sections {
    &::-webkit-scrollbar {
        width: 10px;
    }
    &::-webkit-scrollbar-thumb {
        background: #d3bfa0;
        border-radius: 6px;
    }
}

.day, .section {
    font-family: 'Times New Roman', Times, serif;
    width: 100%;
    border: thin solid;
    border-radius: 8px;
    margin-bottom: 5%;
    padding: 2%;
}

.selectable:hover {
    background-color: var(--second-color);
}

.day-title, .section-title {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.day-footer, .section-footer {
    display: flex;
    justify-content: right;
}

.expand-day-arrow, .collapse-day-arrow, .expand-section-arrow, .collaps-section-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
}

.services, .timeslots {
    margin-top: 2%;
}

.service, .timeslot {
    border-radius: 8px;
    margin-bottom: 1%;
    padding: 1%;
}

#back-to-service-button, #back-to-confirm-people-amount-button, #back-to-section-button {
    margin-right: auto;
    padding: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#back-to-service-button.btn-small {
    padding: 0px;
    border-radius: 8px;
    width: 5%;
    >span {
        color: black;
        font-size: 36px;
        transform: rotate(180deg);
    }
}

#select-people-amount {
    height: 90%;
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

#select-people-amount-inner-div {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 2%;
}
#select-people-selects-container {
    display: flex;
    flex-direction: row;
    gap: 16px;
    justify-content: start;
}

#error-people-amount {
    color: var(--missing-required-info-color);
}

#personal-information-div {
    width: 90%;
    height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#reservation-information-text {
    margin-bottom: 2%;
    font-size: large;
    font-weight: bold;
}

#input-fields {
    font-size: 1rem;
    height: 100%;
    width: 100%;
    overflow-y: scroll;
    margin-top: 1%;
    border-radius: 8px;
    -ms-overflow-style: none;

    &::-webkit-scrollbar {
        width: 10px;
    }
    &::-webkit-scrollbar-thumb {
        background: #d3bfa0;
        border-radius: 6px;
    }
    &::-webkit-scrollbar-track {
        background-color: var(--main-color);
    }
}

.personal-information-input {
    color: var(--input-text-color);
    border-color: var(--border-color) !important;
}

#input-notes {
    height: 50px !important;
    overflow-y: auto;
    color: var(--input-text-color);
    &::-webkit-scrollbar {
        width: 10px;
    }
    &::-webkit-scrollbar-thumb {
        background: #d3bfa0;
        border-radius: 6px;
    }
    &::-webkit-scrollbar-track {
        background-color: var(--main-color);
    }
}

.personal-information-input::placeholder {
    color: var(--second-color);
    font-weight: bold;
}

.dropdown-content li {
    background-color: var(--main-color) !important;
}

.dropdown-content li:hover {
    background-color: var(--second-color) !important;
}

.dropdown-content.select-dropdown {
    box-shadow: 0 24px 38px 3px rgba(0,0,0,0.14),0 9px 46px 8px rgba(0,0,0,0.12),0 11px 15px -7px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0 24px 38px 3px rgba(0,0,0,0.14),0 9px 46px 8px rgba(0,0,0,0.12),0 11px 15px -7px rgba(0,0,0,0.2);
}

.dropdown-content li:not(.disabled)>span {
    color: var(--text-color) !important;
}

.select-wrapper input.select-dropdown {
    color: var(--input-text-color) !important;
}

.select-wrapper input.select-dropdown:focus {
    border-bottom-color: var(--border-color) !important;
}

.select-wrapper .dropdown-content.select-dropdown {
    max-height: 250px;
    &::-webkit-scrollbar {
        width: 10px;
    }
    &::-webkit-scrollbar-thumb {
        background: #d3bfa0;
        border-radius: 6px;
    }
    &::-webkit-scrollbar-track {
        background-color: var(--main-color);
    }
}

textarea.materialize-textarea {
    border-color: var(--border-color) !important;
}

#submit-request-button {
    margin-top: 2%;
    font-size: 16px;
}

label {
    font-size: 1rem;
}

#message-div {
    width: 70%;
    height: 50%;
    display: flex;
    flex-direction: column;
}

#message-div-header {
    height: 30%;
    background-color: var(--third-color);
    font-size: 1.7rem;
}

#message-div-body {
    height: 70%;
    background-color: var(--second-color);
    font-size: 1rem;
}

#message-div-header, #message-div-body {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    padding: 2%;
}

.missing-required-info  > label, .missing-required-info {
    color: var(--missing-required-info-color) !important;
}

.missing-required-info-border {
    border: thin solid var(--missing-required-info-color);
}

.iconPointer {
    cursor: pointer;
}

#service-selection {
    font-size: small;
}

#sections-select-container {
    margin-top: 32px;
}

#sections-select-container #section-select-label {
    font-size: 1rem;
    color: #000000DE;
}

.inline-block {
    display: inline-block;
}

.vertical-align-middle {
    vertical-align: middle;
}

.errorColor {
    color: var(--missing-required-info-color);
}

.serviceButtons {
    background-color: var(--second-color);
    color: #000000DE;
    &:hover, &:focus {
        background-color: var(--second-color);
    }
}

.margin-right {
    margin-left: 8px;
}

.padding2px {
    padding: 2px;
}

[type="checkbox"].filled-in:not(:checked)+span:not(.lever):after {
    height: 15px;
    width: 15px;
    top: 5px;
}

[type="checkbox"]+span:not(.lever) {
    padding-left: 20px;
}

[type="checkbox"].filled-in:checked+span:not(.lever):after {
    background-color: transparent;
    width: 15px;
    height: 15px;
    top: 5px;
    border-color: #000000DE;
}

[type="checkbox"].filled-in:checked+span:not(.lever):before {
    border-right-color: #000000DE;
    border-bottom-color: #000000DE;
    top: 3px;
    left: 1px;
    width: 6px;
    height: 11px;
}

#additional-request-label {
    font-weight: 600;
}

.additional-informations-div {
    display: flex;
    flex-direction: row;
    > div {
        &:first-child {
            width: 52.5%;
        }
        &:last-child {
            flex: 1 1 auto;
        }
    }
}

#input-fields {
    > div {
        > div:first-child {
            padding-left: 2px;
        }
        > div:last-child {
            padding-right: 10px;
        }
    }
}
.btn-small {
    min-width: 60px;
    width: fit-content;
    color: #000000DE;
    font-weight: 600;
    background-color: var(--second-color);
    border-radius: 8px;

    &:hover {
        background-color: var(--third-color);
    }
    &:focus {
        background-color: var(--second-color); 
    }
}

#backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color:#000000DE;
    opacity: .5;
    z-index: 5;

    #backdrop-spinner {
        width: 50px;
        height: 50px;
        margin: calc((100vh - 50px) / 2) auto;

        > img {
            display: block;
            width: 100%;
            height: 100%;
        }
    }

}

.textColor {
    color: #000000DE;
}

.input-field {
    > label {
        color: #000000DE;
        font-size: 1.0rem;
    }
    margin-top: 1%;
    margin-bottom: 1%;
}

input:not([type]) {
    font-size: 13px;
}

input[type=text]:not(.browser-default):focus:not([readonly])+label, textarea:not(.browser-default):focus:not([readonly])+label {
    color: var(--third-color);
}

input[type=text]:not(.browser-default):focus:not([readonly]), textarea:not(.browser-default):focus:not([readonly]) {
    border-bottom: var(--third-color);
    box-shadow: 0 1px 0 0 var(--third-color);
}

.modal.datepicker-modal.open {
    height: min(calc(100vh - 20px), 345px);
    top: calc((100vh - min(calc(100vh - 20px), 345px)) / 2) !important;
    max-width: 365px;
}
.time-select-div {
    .dropdown-content.select-dropdown {
        top: 0px !important;
    }
}

.textColor {
    color: #000000DE;
}

.width10perc {
    width: 10%;
}

.opacity5 {
    opacity: .5;
}

.fullyBookedMessageDiv {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--missing-required-info-color);
}

#widget-extra-fields-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.widgetExtraFieldCheckboxLabel {
    height: 31px;
}