
/* Popup overlay */
.overlay-2024 {
    z-index: 1000;
    position: fixed;
    height: 800px;
    width: 520px;
    top: 50%;
    left: 50%;
    display: none;
    background: var(--tinyscholars-lavender);
    transform: translate(-50%, -50%);
    border-radius: 30px;
    box-shadow: 0px 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.overlay-2024 .popup-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 7%;
}


.overlay-2024 .popup-title {
    font-size: 40px !important;
}

.overlay-2024 .popup-content {
    width: 80% !important;
}

.overlay-2024 .popup-title {
    color: var(--tinyscholars-light-cream);
}

.overlay-2024 .popup-text-collection {
    display: flex;
    flex-direction: column;
    row-gap: 5px;
    padding-bottom: 25px;
}

.overlay-2024 .popup-text {
    color: var(--tinyscholars-light-cream);
    font-size: 18px;
    line-height: 160%;
}

.overlay-2024 input {
    width: 100%;
    height: 40px;
    background: var(--tinyscholars-light-cream);
    font-weight: 800;
    color: var(--tinyscholars-black);
    font-family: Avenir-Medium;
    border: none;
    border-radius: 10px;
    /*margin-bottom: 13px;*/
}

.overlay-2024 .input-group {
    margin-top: 13px;
}

.overlay-2024 textarea {
    width: 100%;
    background: var(--tinyscholars-light-cream);
    font-weight: 800;
    color: var(--tinyscholars-black);
    font-family: Avenir-Medium;
    border: none;
    border-radius: 10px;
    margin-top: 13px;
    margin-bottom: 20px;
}

.overlay-2024 input,
.overlay-2024 textarea {
    text-indent: 15px;
}

    .overlay-2024 input:focus,
    .overlay-2024 textarea:focus {
        outline: none;
    }

.overlay-2024 ::placeholder {
    color: var(--tinyscholars-lavender);
    margin-left: 10px;
    font-family: Avenir-Roman;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
}

    .overlay-2024 .popup-button {
        background: var(--tinyscholars-light-cream);
        color: var(--tinyscholars-lavender);
        border: none;
        border-radius: 30px;
        cursor: pointer;
    }

.book-button {
    width: 150px;
    height: 60px;
}

.inquiry-button {
    padding: 17px 36px;
}

.overlay-2024 .popup-button:hover {
    background: var(--tinyscholars-lavender);
    border: 2px solid var(--tinyscholars-light-cream) !important;
}

.overlay-2024 .popup-content textarea {
    resize: none;
    padding-top: 5px;
}

.overlay-2024 .popup-button-text {
    font-size: 20px;
    font-family: 'MontserratAlternates-Bold';
    color: var(--tinyscholars-lavender) !important;
    font-weight: 900;
}

    .overlay-2024 .popup-button:hover .popup-button-text {
        color: var(--tinyscholars-light-cream) !important;
    }

.overlay-2024 .mat-close-popup {
    background: url(/Files/templates/main-2024/images/icons/popup-close.svg) 0% 0% no-repeat;
    background-size: 43px 43px;
    padding: 15px 15px !important;
    background-position: center;
}

.overlay-2024 .popup-close-button:hover .mat-close-popup {
    background: url(/Files/templates/main-2024/images/icons/popup-close-hover.svg) 0% 0% no-repeat;
    background-size: 43px 43px;
    padding: 15px 15px !important;
    background-position: center;
}

.overlay-2024 .popup-close-button {
    background: none;
    border: none;
    cursor: pointer;
    align-self: flex-end;
    width: 43px;
    height: 43px;
}

.blur {
    filter: blur(5px);
    transition: filter 0.3s;
}

.blur-header {
    z-index: 999;
    filter: blur(5px);
    transition: filter 0.3s;
}

.overlay-2024 .custom-dropdown {
    position: relative;
    height: fit-content;
}

    .overlay-2024 .custom-dropdown input.fakeselect {
        font-weight: 800;
        color: var(--tinyscholars-black);
        font-family: Avenir-Medium;
        width: 100%;
        height: 40px;
        border: none;
        outline: unset !important;
        background-color: #FCF4E7;
        border-radius: 8px;
        font-size: 15px;
        cursor: pointer;
    }

        .overlay-2024 .custom-dropdown input.fakeselect::placeholder {
            color: #959BCD;
            font-family: 'avenir-roman';
        }


    .overlay-2024 .custom-dropdown .fakeselect-rap {
        position: relative;
    }

        .overlay-2024 .custom-dropdown .fakeselect-rap .down-arrow {
            position: absolute;
            right: 12px;
            top: 18px;
        }

    .overlay-2024 .custom-dropdown .fake-dropdown {
        display: none;
        position: absolute;
        left: 0px;
        top: 41px;
        background-color: #FCF4E7;
        flex-direction: column;
        width: 100%;
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
        text-align: left;
        border-radius: 8px;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 11px 0px;
        z-index: 42069;
    }

        .overlay-2024 .custom-dropdown .fake-dropdown button {
            background-color: #FCF4E7;
            border: none;
            outline: none;
            text-align: left;
            color: #959BCD;
            font-family: Avenir-Medium;
            font-size: 15px;
            font-style: normal;
            font-weight: 800;
            line-height: 180%;
            padding: 2px 18px;
            display: block;
            cursor: pointer;
            width: 100%;
        }

            .overlay-2024 .custom-dropdown .fake-dropdown button:hover {
                background-color: rgba(149, 155, 205, 0.30);
            }

@media (max-width: 560px) {
    .overlay-2024 {
        height: 520px !important;
        width: 320px !important;
    }

    .overlay-2024 .popup-title {
        font-size: 24.52px !important;
        line-height: 26.97px;
    }

    .overlay-2024 .popup-content {
        width: 85% !important;
    }

    .overlay-2024 .popup-main {
        padding-top: 5% !important;
    }

    .overlay-2024 .popup-close-button {
        width: 30px !important;
        height: 30px !important;
    }

    .overlay-2024 .mat-close-popup {
        background-size: 30px 30px !important;
        padding: 10px 10px !important;
    }

    .overlay-2024 input {
        height: 24px !important;
    }

    .overlay-2024 textarea {
        margin-bottom: 15px !important;
    }

    .popup-text-collection {
        padding-bottom: 5px !important;
    }
/*
    .overlay-2024 .popup-button {
        width: 100px !important;
        height: 40px !important;
    }*/

    .book-button {
        width: 100px !important;
        height: 40px !important;
    }

    .inquiry-button {
        padding: 10.421px 22.069px;
    }

    .overlay-2024 .popup-button-text {
        font-size: 16.654px !important;
    }

    .overlay-2024 .popup-text {
        font-size: 11px !important;
        line-height: 160% !important;
        padding-bottom: 12px;
    }

    .overlay-2024 input::placeholder {
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 180%
    }

    .overlay-2024 textarea::placeholder {
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 180%
    }

    input[type="tel"] {
        font-size: 12px;
    }

    input[type="text"] {
        font-size: 12px;
    }

    textarea {
        font-size: 12px;
    }

    .overlay-2024 .custom-dropdown input.fakeselect {
        font-size: 12px;
    }

    .overlay-2024 .custom-dropdown .fake-dropdown button {
        font-size: 12px;
    }

    .overlay-2024 .custom-dropdown .fakeselect-rap .down-arrow {
        top: 10px;
    }

    .overlay-2024 .custom-dropdown .fake-dropdown {
        top: 25px !important;
    }
}

.overlay-2024 .error-alert-message {
    display: none;
    max-height: 100px;
    transition: 0.28s;
    overflow: hidden;
    color: var(--tinyscholars-light-cream);
    text-align: right;
    font-family: 'Avenir-Roman';
    font-size: 11px;
    width: 100%;
}

.overlay-2024 .error {
    border: 2px solid rgba(234, 83, 83, 1) !important;
}

.overlay-2024 .error-div {
    margin-top: 0 !important;
}