

header {
    position: fixed;
    width: 100%;
    left: 0px;
    top: 0px;
    z-index: 420420420420;
}

    header button {
        background-color: transparent;
        border: none;
        cursor: pointer;
    }

    header * {
        box-sizing: border-box;
    }

    header .nav {
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 1.319vw 3.611vw;
        align-items: center;
        background-color: transparent;
        cursor: pointer;
        /* padding-right: 42px; */
    }

        header .nav.colorednav {
            background: #616897;
            box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.25);
        }

        header .nav .left {
            width: fit-content;
            height: fit-content;
        }

            header .nav .left img {
                object-fit: contain;
                object-position: center;
                height: 3.472vw;
                width: auto;
                /* padding-top: 10px; */
                display: block;
                border: 1px solid transparent;
            }

        header .nav .right img {
            display: block;
            border: 1px solid transparent;
            width: 3.819vw;
            height: 1.806vw;
            object-fit: contain;
        }

    header .nav-detail {
        position: absolute;
        top: 0px;
        right: 0px;
        width: 0%;
        /* max-width: 383px; */
        height: 100vh;
        background: #959BCD;
        box-shadow: -7.111px 0px 21.333px 0px rgba(0, 0, 0, 0.25);
        display: block;
        overflow: hidden;
        /* display: none; */
        transition: none;
    }

        header .nav-detail .topp {
            display: flex;
            width: 100%;
            text-align: right;
            align-items: flex-start;
            justify-content: flex-end;
            padding: 1.319vw 1.389vw;
        }

            header .nav-detail .topp .go-home {
                display: none;
            }

            header .nav-detail .topp button.control-close {
                background-image: url('/Files/templates/main-2024/images/icons/x.svg');
                width: 3.333vw;
                height: 3.333vw;
                background-position: center;
                background-repeat: no-repeat;
                background-size: 100%;
            }

                header .nav-detail .topp button.control-close:hover {
                    background-image: url('/Files/templates/main-2024/images/icons/x-brown.svg');
                }

        header .nav-detail .midd {
            padding: 20px 20px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            height: 75%;
        }

            header .nav-detail .midd .page-list {
                max-height: 100%;
                height: fit-content;
                display: block;
                overflow-y: auto;
                overflow-x: hidden;
            }

                header .nav-detail .midd .page-list::-webkit-scrollbar {
                    width: 8px;
                    background: #D9D9D9;
                }

                header .nav-detail .midd .page-list::-webkit-scrollbar-thumb {
                    background: #616897;
                    border-radius: 8px;
                }

                header .nav-detail .midd .page-list a.page-item {
                    display: block;
                    text-align: center;
                    color: #FCF4E7;
                    font-family: 'avenir-roman';
                    font-size: 2.083vw;
                    font-style: normal;
                    font-weight: 400;
                    line-height: normal;
                    text-decoration: none;
                    margin-bottom: 2.361vw;
                    transition: none;
                    text-transform: capitalize;
                }

                    header .nav-detail .midd .page-list a.page-item:hover {
                        color: #E9DCC7;
                        text-decoration: underline;
                    }

                    header .nav-detail .midd .page-list a.page-item:last-child {
                        margin-bottom: 0px;
                    }

        header .nav-detail .lowkey {
            position: absolute;
            bottom: 0px;
            left: 0px;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            /* min-height: 240px; */
            height: 23%;
            /* aspect-ratio: 38 / 24; */
        }

            header .nav-detail .lowkey .purple-haze {
                position: absolute;
                bottom: 0px;
                left: 0px;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            header .nav-detail .lowkey .purple-haze {
                position: absolute;
                bottom: 0px;
                left: 0px;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            header .nav-detail .lowkey .purple-haze {
                position: absolute;
                bottom: 0px;
                left: 0px;
                display: flex;
                align-items: center;
                justify-content: center;
                z-index: 0;
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: top;
            }

            header .nav-detail .lowkey button.inquire-today {
                border-radius: 2.778vw;
                border: 1px solid #959BCD;
                background: #FCF4E7;
                color: #959BCD;
                text-align: center;
                font-family: 'MontserratAlternates-Bold';
                font-size: 1.475vw;
                font-style: normal;
                font-weight: 700;
                line-height: normal;
                padding: 0.8vw 1.5vw;
                margin-top: 68px;
                position: relative;
                z-index: 19;
            }

                header .nav-detail .lowkey button.inquire-today:hover {
                    background-color: #959BCD;
                    border-radius: 40px;
                    border: 3px solid #FCF4E7;
                    color: #FCF4E7;
                }
    /*----------------------open-close-menu-button-START----------------------*/

    header .nav .right .control-opener {
        position: relative;
        cursor: pointer;
        z-index: 20;
    }

        header .nav .right .control-opener svg {
            stroke: var(--tinyscholars-light-cream);
            transition: .2s;
            height: 3.125vw;
            width: 3.125vw;
        }

            header .nav .right .control-opener svg:hover {
            }

            header .nav .right .control-opener svg g:first-child {
                opacity: 1;
                transition: opacity 0s .2s;
            }

                header .nav .right .control-opener svg g:first-child line {
                    transition: transform .2s .2s;
                    transform: translateY(0px);
                }

            header .nav .right .control-opener svg g:last-child {
                opacity: 0;
                transition: opacity 0s .2s;
            }

                header .nav .right .control-opener svg g:last-child line {
                    transition: transform .2s;
                    transform: rotate(0deg);
                    transform-origin: center;
                }

        header .nav .right .control-opener.-menu-open svg {
            stroke: var(--tinyscholars-light-cream);
        }

            header .nav .right .control-opener.-menu-open svg g:first-child {
                opacity: 0;
            }

                header .nav .right .control-opener.-menu-open svg g:first-child line:first-child {
                    transform: translateY(7px);
                }

                header .nav .right .control-opener.-menu-open svg g:first-child line:last-child {
                    transform: translateY(-7px);
                }

            header .nav .right .control-opener.-menu-open svg g:last-child {
                opacity: 1;
            }

                header .nav .right .control-opener.-menu-open svg g:last-child line:first-child {
                    transform: rotate(45deg);
                }

                header .nav .right .control-opener.-menu-open svg g:last-child line:last-child {
                    transform: rotate(-45deg);
                }
/*----------------------open-close-menu-button-END----------------------*/
@media only screen and (max-width : 1440px) {
    header {
        position: fixed;
        width: 100%;
        left: 0px;
        top: 0px;
        z-index: 420420420420;
    }

        header button {
            background-color: transparent;
            border: none;
            cursor: pointer;
        }

        header * {
            box-sizing: border-box;
        }

        header .nav {
            width: 100%;
            display: flex;
            justify-content: space-between;
            padding: 19px 52px;
            align-items: center;
            background-color: transparent;
            cursor: pointer;
            /* padding-right: 42px; */
        }

            header .nav.colorednav {
                background: #616897;
                box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.25);
            }

            header .nav .left {
                width: fit-content;
                height: fit-content;
            }

                header .nav .left img {
                    object-fit: contain;
                    object-position: center;
                    height: 4.167vw;
                    width: auto;
                    /* padding-top: 10px; */
                    display: block;
                    border: 1px solid transparent;
                }

            header .nav .right img {
                display: block;
                border: 1px solid transparent;
                width: 3.819vw;
                height: 1.806vw;
                object-fit: contain;
            }

        header .nav-detail {
            position: absolute;
            top: 0px;
            right: 0px;
            width: 0%;
            /* max-width: 383px; */
            height: 100vh;
            background: #959BCD;
            box-shadow: -7.111px 0px 21.333px 0px rgba(0, 0, 0, 0.25);
            display: block;
            overflow: hidden;
            /* display: none; */
            transition: none;
        }

            header .nav-detail .topp {
                display: flex;
                width: 100%;
                text-align: right;
                align-items: flex-start;
                justify-content: flex-end;
                padding: 19px 20px;
            }

                header .nav-detail .topp .go-home {
                    display: none;
                }

                header .nav-detail .topp button.control-close {
                    background-image: url('/Files/templates/main-2024/images/icons/x.svg');
                    width: 48px;
                    height: 48px;
                    background-position: center;
                }

                    header .nav-detail .topp button.control-close:hover {
                        background-image: url('/Files/templates/main-2024/images/icons/x-brown.svg');
                    }

            header .nav-detail .midd {
                height: calc(100% - 329px);
                padding: 20px 20px;
                display: flex;
                flex-direction: column;
                justify-content: center;
            }

                header .nav-detail .midd .page-list {
                    max-height: 100%;
                    height: fit-content;
                    display: block;
                    overflow-y: auto;
                    overflow-x: hidden;
                }

                    header .nav-detail .midd .page-list::-webkit-scrollbar {
                        width: 8px;
                        background: #D9D9D9;
                    }

                    header .nav-detail .midd .page-list::-webkit-scrollbar-thumb {
                        background: #616897;
                        border-radius: 8px;
                    }

                    header .nav-detail .midd .page-list a.page-item {
                        display: block;
                        text-align: center;
                        color: #FCF4E7;
                        font-family: 'avenir-roman';
                        font-size: 35px;
                        font-style: normal;
                        font-weight: 400;
                        line-height: normal;
                        text-decoration: none;
                        margin-bottom: 40px;
                    }

                        header .nav-detail .midd .page-list a.page-item:hover {
                            color: #E9DCC7;
                            text-decoration: underline;
                        }

                        header .nav-detail .midd .page-list a.page-item:last-child {
                            margin-bottom: 0px;
                        }

            header .nav-detail .lowkey {
                position: absolute;
                bottom: 0px;
                left: 0px;
                display: flex;
                align-items: center;
                justify-content: center;
                width: 100%;
                aspect-ratio: 38 / 24;
                min-height: 33%;
            }

                header .nav-detail .lowkey .purple-haze {
                    position: absolute;
                    bottom: 0px;
                    left: 0px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                }

                header .nav-detail .lowkey .purple-haze {
                    position: absolute;
                    bottom: 0px;
                    left: 0px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                }

                header .nav-detail .lowkey .purple-haze {
                    position: absolute;
                    bottom: 0px;
                    left: 0px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    z-index: 0;
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    object-position: top;
                }

                header .nav-detail .lowkey button.inquire-today {
                    border-radius: 40px;
                    border: 1px solid #959BCD;
                    background: #FCF4E7;
                    color: #959BCD;
                    text-align: center;
                    font-family: 'MontserratAlternates-Bold';
                    font-size: 27.168px;
                    font-style: normal;
                    font-weight: 700;
                    line-height: normal;
                    padding: 17px 36px;
                    margin-top: 68px;
                    position: relative;
                    z-index: 19;
                }

                    header .nav-detail .lowkey button.inquire-today:hover {
                        background-color: #959BCD;
                        border-radius: 40px;
                        border: 3px solid #FCF4E7;
                        color: #FCF4E7;
                    }

        header .nav .right .control-opener svg {
            height: 45px;
            width: 45px;
        }
}


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

    header .nav {
        padding: 26px 35px;
    }

        header .nav .left img {
            height: 60px;
            width: auto;
        }

        header .nav .right .control-opener img {
            width: 55px;
            height: 26px;
        }
}

@media only screen and (max-width : 834px) {
    header .nav {
        padding: 21px 24px 21px 24px;
    }

        header .nav .left img {
            height: 50px;
            width: auto;
        }

        header .nav .right .control-opener img {
            width: 55px;
            height: 26px;
        }

    header .nav-detail .topp {
        justify-content: space-between;
        align-items: center;
        padding-top: 17px;
        padding-left: 23px;
        padding-right: 25px;
    }

        header .nav-detail .topp .go-home {
            height: fit-content;
            width: fit-content;
            display: block;
        }

        header .nav-detail .topp button.control-close {
            width: 33px;
            height: 33px;
        }

        header .nav-detail .topp .go-home img {
            height: 60px;
            width: auto;
            padding-top: 10px;
        }

    header .nav-detail .midd .page-list a.page-item {
        font-size: 30px;
        margin-bottom: 34px;
    }

    header .nav .right .control-opener svg {
        height: 30px;
        width: 30px;
    }
}

@media only screen and (max-width : 600px) {
    header .nav-detail {
        max-width: unset;
    }

        header .nav-detail .midd {
            height: calc(100% - 270px);
        }
}

@media only screen and (max-width : 374px) {
    header .nav {
        padding: 17px 18px 17px 23px;
    }

        header .nav .left img {
            height: 40px;
            width: auto;
        }

        header .nav .right .control-opener img {
            width: 45px;
            height: 21px;
        }

    header .nav-detail .lowkey button.inquire-today {
        font-size: 22px;
    }

    header .nav-detail .midd .page-list a.page-item {
        font-size: 25px;
        margin-bottom: 28px
    }

    header .nav-detail .midd {
        height: calc(100% - 240px);
    }
}
