/*--------------------*/
/*-----For Header-----*/
/*--------------------*/


header{
    position: absolute;
    z-index: 11;
    width: 100%;
}

header .container{
    padding-top: 1rem;
}

header .container .main-logo-mobile{
    margin-top: 50px;
    padding-left: 20px;
    padding-right: 20px;
    z-index: 21;
}

header .main-logo-desktop {
    max-width:18rem;
}

header .main-logo-desktop svg {
    max-width: 100%;
}

.header-nav a{
    color: black;
    transition: border 0.1s linear;
    border-bottom: 0px solid black;
}

.header-nav a.underline:hover{
    border-bottom: 5px solid black;
}
header .burger-nav.mobile-only .spacer{
    width: 15vw;
    max-width: 63px;
}

header .burger-nav.mobile-only{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    cursor: pointer;
}

header .burger-nav.mobile-only .container-burger{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 15vw;
    aspect-ratio: 1 / 1;
    align-self: flex-start;
    max-width: 63px;
    z-index: 21;
}
header .burger-nav.mobile-only .container-burger .bar{
    width: 100%;
    height: 3px;
    background-color: black;
    transition: transform 0.3s linear, opacity 0.3s linear;
}

.mobile-nav-outer.mobile-only{
    background-color: var(--color-black);
    width: 100vw;
    height: 100vh;
    position: fixed;
    left: 0px;
    top: 0px;
    transform: translate(100vw, 0px);
    z-index: 20;
    transition: transform 0.3s linear;
}

.mobile-nav-outer.mobile-only #close-button{
    cursor: pointer;
    display: none;
}

.mobile-nav-outer.mobile-only #close-button h1{
    font-weight: 100;
}

.mobile-nav-outer.mobile-only.active{
    transform: translate(0px, 0px);
}

.mobile-nav-outer .mobile-nav{
    margin-top: calc(3rem + 200px);
    border-bottom: 1px solid var(--color-gray-medium);
    margin-bottom: 2rem;
}

.mobile-nav-outer .mobile-nav a{
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-top: 1px solid var(--color-gray-medium);
    width: 100%;
    margin-left: 0px;
    margin-right: 0px;
}

.floating-flag{
    position: fixed;
    right: 0px;
    height: 200px;
    width: 30px;
    z-index: 15;
    top: 200px;
}

.floating-flag img{
    height: 100%;
    object-fit: cover;
}

/*---------------------------*/
/*-----For Header Mobile-----*/
/*---------------------------*/

@media screen and (max-width:980px) {
    header .burger-nav.mobile-only .container-burger{
        width: 50px;
        max-width: 50px;
        min-width: 50px;
    }
    header{
        height: 200px;
        max-height: 200px;
        min-height: 200px;
    }
    header .container .main-logo-mobile{
        margin-top: 20px;
    }

    /* Rotate first bar */
    header .burger-nav.mobile-only .container-burger.change .bar.bar1 {
        transform: translate(0, 17px) rotate(-45deg);
        background-color: white;
    }
    
    /* Fade out the second bar */
    .change .bar2 {opacity: 0;}
    
    /* Rotate last bar */
    header .burger-nav.mobile-only .container-burger.change .bar.bar3 {
        transform: translate(0, -29px) rotate(45deg);
        background-color: white;
    }
    header .burger-nav.mobile-only .spacer{
        width: 50px;
        max-width: 50px;
        min-width: 50px;
    }
    header .main-logo-mobile.active svg path{
        stroke: white;
        fill: white;
    }
}

@media screen and (max-width:600px) {
    header .burger-nav.mobile-only .container-burger {
        width: 30px;
        max-width: 30px;
        min-width: 30px;
    }
    /* Rotate first bar */
    header .container .burger-nav.mobile-only .container-burger.change .bar.bar1 {
        transform: translate(0, 8.5px) rotate(-45deg);
    }
    
    /* Fade out the second bar */
    .change .bar2 {opacity: 0;}
    
    /* Rotate last bar */
    header .container .burger-nav.mobile-only .container-burger.change .bar.bar3 {
        transform: translate(0, -11.5px) rotate(45deg);
    }
    header .burger-nav.mobile-only .spacer{
        width: 30px;
        max-width: 30px;
        min-width: 30px;
    }
    
    header .burger-nav.mobile-only .container-burger{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 50px;
        aspect-ratio: 4 / 3;
        align-self: flex-start;
        z-index: 21;
    }
    header .burger-nav.mobile-only .container-burger .bar{
        height: 2px;
    }
}

/*--------------------*/
/*-----For Footer-----*/
/*--------------------*/

footer .container .inner{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding-top: 30px;
    border-top: 1px solid var(--color-gray-medium);
}

footer .container{
    padding-top: 30px;
    padding-bottom: 30px;
}

footer {
    background-color: white;
}

footer .container .inner > div{
    width: 50%;
}


footer .container .inner > .right img{
    margin-right: 40px;
}

footer .container .inner > .right p, footer .container .inner > .right a{
    font-size: 12px;
    color: #b8b8b8;
    text-decoration: none;
}

footer .container .inner .right .flex.column > div{
    margin-bottom: 20px;
}

footer .container .inner .right .flex{
    height: 100%;
    min-width: 50%;
}

footer .container .inner .left .contact-form{
    display: flex;
    flex-direction: column;
}

footer .container .inner .left .contact-form > h3{
    text-transform: capitalize;
    padding-bottom: 20px;
}

footer .container .inner .left .contact-form .grid{
    grid-gap: 20px;
}

footer .container .inner .left input{
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: transparent;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid var(--color-gray-medium);
}
footer .container .inner .left textarea#moreInput{
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: transparent;
    border: 1px solid var(--color-gray-medium);
    min-height: 100px;
}
footer .container .inner .left label{
    padding-top: 10px;
    padding-bottom: 0px;
    background-color: transparent;
    border-top: none;
    border-left: none;
    border-right: none;
    display: inline;
    font-weight: 400;
    color: #757575;
    font-size: 14px;
}

#footer-form > div#postSubmitMessage{
    display: none;
    width: 100%;
}

#footer-form.after #postSubmitMessage{
    display: block;
}

#footer-form.after > *{
    display: none;
}

#contact-footer-submit{
    border: none;
    background-color: transparent;
    margin-left: auto;
    height: 46px;
    margin-right: 10px;
    display: flex;
}

#contact-footer-submit p{
    padding-right: 10px;
    margin-top: auto;
    margin-bottom: auto;
    line-height: 90%;
}

#contact-footer-submit .arrow{
    margin-right: -10px;
    transition: margin 0.2s linear;
    position: absolute;
    right: 0px;
    width: 20px;
    font-size: 2rem;
    padding-right: 0px;
}

#contact-footer-submit:hover .arrow{
    margin-right: -15px;
}

/*---------------------------*/
/*-----For Footer Mobile-----*/
/*---------------------------*/

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

    footer .container .inner{
        flex-direction: column;
    }

    footer .container .inner > div{
        width: 100%;
    }
    footer .container .inner .right  .flex{
        height: 100%;
        width: 100%;
    }

    footer .container .inner .right .flex.row .right.flex.row{
        margin-left: 0px;
        border-top: 1px solid var(--color-gray-medium);
        padding-top: 30px;
        margin-top: 10px;
    }
}


/*--------------------------*/
/*-----Other Global CSS-----*/
/*--------------------------*/

#show-popup .actual-popup.center .popup-form > h1{
    font-size: 3rem;
}

#show-popup #close-schedule-popup{
    color: white;
    padding: 20px;
    margin-left: auto;
    cursor: pointer;
    width: fit-content;
    font-size: 60px;
}

#show-popup{
    display: flex;
    background-color: rgba(0,0,0,0.3);
    z-index: 25;
    position: fixed;
    transition: opacity 0.3s linear;
    margin: auto;
    width: 100vw;
    height: 100vh;
    top: 0px;
    left: 0px;
    opacity:0;
    pointer-events:none;
}
#show-popup.active{
    opacity: 1;
    pointer-events:all;
}

#show-popup .actual-popup .popup-form h1{
    color: white;
    text-transform: capitalize;
}

#show-popup .gradient{
    top: 0px;
    left: 0px;
    margin: auto;
    aspect-ratio: 4 / 3;
    height: 600px;
    box-shadow: 0px 0px 30px rgba(0,0,0,0.4);
    overflow: hidden;
    transition: transform 0.4s ease-out;
    transform: translateY(30px);
    display:flex;
    flex-direction:column;
}
#show-popup.active .gradient {
    transform: translateY(0px);
}
#show-popup .gradient .popup-top{
    background-image: url('/assets/images/popup_hero_image.jpg');
    background-size: cover;
    background-position: center;
}



#show-popup .actual-popup{
    width: 100%;
    margin-top: auto;
    background-color: var(--color-black);
    position: relative;
    z-index: 21;
    margin-top: 0;
    height: 100%;
}

#show-popup .actual-popup .popup-form{
    padding: 50px;
}

#show-popup .actual-popup .popup-form .grid{
    grid-row-gap: 20px;
    color: white;
    grid-column-gap: 40px;
}

#show-popup .actual-popup .popup-form .grid > div#postSubmit{
    display: none;
}

#show-popup .actual-popup .popup-form .grid.after > *{
    display: none;
}

#show-popup .actual-popup .popup-form .grid.after > div#postSubmit{
    display: block;
}

#show-popup .actual-popup .popup-form .grid > input{
    padding-top: 10px;
    padding-bottom: 10px;
    background: transparent;
    color: white;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    border-bottom: 2px solid var(--color-gray-medium);
}

#show-popup .actual-popup .popup-form .grid button{
    width: fit-content;
    background: transparent;
    border: 1px solid white;
    color:white;
    margin-top: auto;
    margin-bottom: auto;
    padding: 10px 20px;
}

#show-popup .gradient .popup-modal-image{
    display: flex;
    flex-direction: row;
}
#show-popup .gradient .popup-modal-image img{
    margin-left: auto;
    margin-right: auto;
    margin-top: -60px;
    padding-bottom: 40px;
}
.mobile-nav-outer .mobile-nav a {
    color:white;
}


/*---------------------------------*/
/*-----Other Global CSS Mobile-----*/
/*---------------------------------*/


@media screen and (max-width:600px) {
    header .container .mobile-only .main-logo-mobile {
        margin-top: 20px;
        max-width: 400px;
    }
}

@media screen and (max-width:980px) {
    header .container .mobile-only .main-logo-mobile {
        margin-top: 20px;
        max-width: 500px;
    }

    header .container .mobile-only .main-logo-mobile svg {
        max-width: 100%;
    }
}
@media screen and (max-width:980px) {
    header{
        position: absolute;
    }
    #show-popup .actual-popup.center .popup-form > h1{
        font-size: 2rem;
    }

    #show-popup .actual-popup .popup-form {
        padding: 20px;
    }

    #show-popup .actual-popup .popup-form .grid{
        grid-gap: 10px;
    }
    #show-popup .actual-popup .popup-form .grid .span-6{
        grid-column: span 12;
    }
    #show-popup .actual-popup .popup-form .grid > div.span-12.flex.row.space-between{
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        grid-column-gap: 10px;
        grid-row-gap: 10px;
    }
    #show-popup .actual-popup .popup-form .grid > div.span-12.flex.row.space-between input{
        grid-column: span 3;
    }
    #show-popup .actual-popup .popup-form .grid > div.span-12.flex.row.space-between label{
        grid-column: span 3;
    }

    #show-popup .gradient{
        top: 0px;
        left: 0px;
        margin: auto;
        aspect-ratio: auto;
        height: auto;
        Max-width: 90vw;
        }
}