@import url('/assets/styles/global.css');

/* ###### CSS PENCIL ICON ##### */
/*.pencil {
    width: 2px;
    height: 18px;
    background-color: var(--background-color-bright);
    position: absolute;
}

.pencil::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 2.5px;
    background-color: var(--background-color-bright);
    top: -4px;
}

.pencil::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    border-top: 5px solid rgb(255, 255, 255);
    bottom: -5.5px;
    left: 0px;
}*/
/* ######################## */

/* ###### CSS PENCIL ICON ##### */
.pencil {
    width: 4px;
    height: 25px;
    background-color: var(--background-color-bright);
    position: absolute;
}

.pencil::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 3.5px;
    background-color: var(--background-color-bright);
    top: -7px;
}

.pencil::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 8px solid rgb(255, 255, 255);
    bottom: -10.5px;
    left: -0.5px;
}
/* ######################## */

header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: var(--header-height);
    background-color: transparent;
    padding: var(--header-padding-top-bottom) var(--header-padding-left-right);
    margin-bottom: Calc(var(--header-height) * (-1));
    position: relative;
    margin-top: 20px;
}

header .header-wrapper {
    opacity: 1;
    transition: opacity 0.5s;
    -webkit-transition: opacity 0.5s;
    -moz-transition: opacity 0.5s;
    -ms-transition: opacity 0.5s;
    -o-transition: opacity 0.5s;
}

header.menu-open .header-wrapper {
    opacity: 0;
}

/* ###### NAV POPUP ###### */
header .nav-popup {
    position: absolute;
    left: 10px;
    top: -100vh;
    width: 100%;
    width: calc(100% - 20px);
    height: 80vh;
    height: calc(100vh - 20px);
    cursor: default;
    padding: 0 10px 10px 10px;
    opacity: 1;
    transition: opacity 0.5s, top.5s;
    -webkit-transition: opacity 0.5s, top.5s;
    -moz-transition: opacity 0.5s, top.5s;
    -ms-transition: opacity 0.5s, top.5s;
    -o-transition: opacity 0.5s, top.5s;
}

/*header .nav-popup.popup-open {
    top: 10px;
}*/

header .nav-popup.popup-open {
    top: -10px;
}

header .nav-popup-inner {
    z-index: 2;
    position: relative;
    padding: 15px;
    height: 100%;
}

header .nav-popup-inner:before {
    content: '';
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/Logo.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.03;
}

@media screen and (max-height: 450px) {
    header .nav-popup-inner:before {
        background-size: 20%;
    }
}

header .popup-glass-bg {
    background-color: rgba(0, 0, 0, 0.14);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backdrop-filter: blur(80px);
    -webkit-backdrop-filter: blur(80px);
    -moz-backdrop-filter: blur(80px);
    -ms-backdrop-filter: blur(80px);
    -o-backdrop-filter: blur(80px);
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    z-index: 1;
}

header .nav-popup-close {
    text-align: right;
    padding: 20px;
    display: flex;
    /*justify-content: end;*/
    justify-content: start;
    margin-left: 300px;
}

.nav-popup-close-icon {
    width: 35px;
    height: 35px;
    cursor: pointer;
}

header .nav-popup-close span {
    text-transform: uppercase;
    font-family: 'Montserrat';
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: center;
}

header .nav-popup-close span::before {
    content: '';
    position: absolute;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: #ffffff;
    transition: width 0.3s;
    -webkit-transition: width 0.3s;
    -moz-transition: width 0.3s;
    -ms-transition: width 0.3s;
    -o-transition: width 0.3s;
}

header .nav-popup-close span:hover::before {
    width: 100%;
}

header .nav-popup-content {
    display: flex;
    margin-left: 300px;
    margin-top: 50px;
    height: 80%;
    align-items: center;
}

@media screen and (max-width: 1140px) {
    header .nav-popup-content,
    header .nav-popup-close {
        margin-left: 15vw;
    }
}

@media screen and (max-width: 860px) {
    header .nav-popup-content,
    header .nav-popup-close {
        margin-left: 5vw;
    }
}

@media screen and (max-width: 690px) {
    header .nav-popup-content {
        margin-left: 0;
        margin-top: 0;
    }
    header .nav-popup-close {
        margin-left: 0;
    }
}

@media screen and (max-height: 450px) {
    header .nav-popup-content {
        margin-left: 0;
        margin-top: 20px;
        align-items: start;
    }
}

header .nav-popup-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 2;
}

@media screen and (max-height: 450px) {
    header .nav-popup-links {
        flex-direction: row;
    }
}

@media screen and (max-height: 450px) and (max-width: 1200px) {
    header .nav-popup-links {
        overflow-x: scroll;
    }
}

header .nav-popup-link {
    opacity: 0;
    top: 20px;
    position: relative;
    top: 50px;
}

header .nav-popup-link span {
    font-size: 7em;
    font-family: 'Montserrat-Semi-Bold';
    cursor: pointer;
    font-weight: 700;
    display: inline;
    width: auto;
    position: relative;
}

@media screen and (max-width: 860px) {
    header .nav-popup-link span {
        font-size: 5em;
    }
}

@media screen and (max-width: 690px) {
    header .nav-popup-link span {
        font-size: 3em;
    }
}

@media screen and (max-height: 915px) {
    header .nav-popup-link span {
        font-size: 5em;
    }
}

@media screen and (max-height: 710px) {
    header .nav-popup-link span {
        font-size: 3em;
    }
}

@media screen and (max-height: 9150px) and (max-width: 690px) {
    header .nav-popup-link span {
        font-size: 3em;
    }
}

@media screen and (max-height: 450px) {
    header .nav-popup-link span::after {
        content: '|';
        margin-left: 20px;
        font-weight: 100;
    }
}

header.menu-open .nav-popup-link {
    animation: slideUpVisible 1.5s ease forwards;
    -webkit-animation: slideUpVisible 1.5s ease forwards;
}

header.menu-open .nav-popup-link:nth-child(1) {
    animation-delay: 0.5s;
}

header.menu-open .nav-popup-link:nth-child(2) {
    animation-delay: 0.8s;
}

header.menu-open .nav-popup-link:nth-child(3) {
    animation-delay: 1.1s;
}

header.menu-open .nav-popup-link:nth-child(4) {
    animation-delay: 1.4s;
}

header.menu-open .nav-popup-link:nth-child(5) {
    animation-delay: 1.7s;
}

@keyframes slideUpVisible {
    0% {
        opacity: 0;
        top: 50px;
    }
    100% {
        opacity: 1;
        top: 0px;
    }
}

header .nav-popup-link span:before {
    content: '';
    position: absolute;
    bottom: 0;
    width: 0;
    height: 3px;
    background-color: #ffffff;
    transition: width 0.5s;
    -webkit-transition: width 0.5s;
    -moz-transition: width 0.5s;
    -ms-transition: width 0.5s;
    -o-transition: width 0.5s;
}

header .nav-popup-link span:hover:before {
    width: 100%;
}

header .nav-popup-link span:hover {
    font-style: italic;
    font-weight: 800;
    color: #ffffff;
    -moz-transition: all 1s;
    -webkit-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
}

header .nav-popup-social {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: end;
    justify-content: start;
    margin-top: 20px;
    gap: 20px;
}

@media screen and (max-height: 450px) {
    header .nav-popup-social {
        margin-top: 0;
    }
}

header .nav-popup-social-item svg {
    width: 50px;
    height: 50px;
    fill: #ffffff;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 180px;
    object-fit: contain;
    height: 20px;
    height: calc(
        var(--header-height) - calc(1.5 * var(--header-padding-top-bottom))
    );
}

/* ##### HAMBURGER MENU ###### */
/*.hamburger-menu {
    position: relative;
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    transform: rotateZ(90deg);
    -webkit-transform: rotateZ(90deg);
    -moz-transform: rotateZ(90deg);
    -ms-transform: rotateZ(90deg);
    -o-transform: rotateZ(90deg);
}*/

/*.hamburger-menu {
    position: relative;
    height: var(--menu-btn-size);
    width: var(--menu-btn-size);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    transform: rotateZ(90deg);
    -webkit-transform: rotateZ(90deg);
    -moz-transform: rotateZ(90deg);
    -ms-transform: rotateZ(90deg);
    -o-transform: rotateZ(90deg);
}*/

.hamburger-menu {
    position: relative;
    height: var(--menu-btn-size);
    width: var(--menu-btn-size);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
}

.menu-bar {
    width: var(--menu-btn-size);
    height: 2px;
    background-color: white;
    opacity: 1;
    position: absolute;
    transition: width 0.3s;
    -webkit-transition: width 0.3s;
    -moz-transition: width 0.3s;
    -ms-transition: width 0.3s;
    -o-transition: width 0.3s;
}

.menu-bar:nth-child(1) {
    top: calc(var(--menu-btn-size) / 3);
}

.menu-bar:nth-child(2) {
    top: calc(var(--menu-btn-size) / 1.7);
    width: calc(var(--menu-btn-size) / 1.5);
    left: 0;
}

.hamburger-menu:hover .menu-bar:nth-child(2) {
    width: var(--menu-btn-size);
}

/*.menu-stroke {
    transition: top 0.5s, transform 0.5s, margin-top 0.5s, margin-left 0.5s,
        opacity 0.5s;
    top: 5px;
    opacity: 1;
}*/

.menu-stroke {
    transition: top 0.5s, transform 0.5s, margin-top 0.5s, margin-left 0.5s,
        opacity 0.5s;
    top: 13px;
    opacity: 1;
}

.menu-stroke:nth-child(1) {
    margin-left: -20px;
    transform: rotateZ(180deg);
    -webkit-transform: rotateZ(180deg);
    -moz-transform: rotateZ(180deg);
    -ms-transform: rotateZ(180deg);
    -o-transform: rotateZ(180deg);
}

/*.menu-stroke:nth-child(2) {
    top: unset;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
}*/

.menu-stroke:nth-child(2) {
    top: unset;
    width: var(--menu-btn-size);
    height: var(--menu-btn-size);
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
}

.menu-stroke:nth-child(3) {
    margin-right: -20px;
    transform: rotateZ(180deg);
    -webkit-transform: rotateZ(180deg);
    -moz-transform: rotateZ(180deg);
    -ms-transform: rotateZ(180deg);
    -o-transform: rotateZ(180deg);
}

/*.menu-stroke:nth-child(4) {
    width: 30px;
    height: 30px;
    top: unset;
    position: absolute;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    transform: rotateZ(225deg);
    -webkit-transform: rotateZ(225deg);
    -moz-transform: rotateZ(225deg);
    -ms-transform: rotateZ(225deg);
    -o-transform: rotateZ(225deg);
}*/

.menu-stroke:nth-child(4) {
    width: var(--menu-btn-size);
    height: var(--menu-btn-size);
    top: unset;
    position: absolute;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    transform: rotateZ(225deg);
    -webkit-transform: rotateZ(225deg);
    -moz-transform: rotateZ(225deg);
    -ms-transform: rotateZ(225deg);
    -o-transform: rotateZ(225deg);
}

/*.menu-stroke:nth-child(4) .draw-line {
    width: 30px;
    height: 1px;
    position: absolute;
    background-color: #ffffff;
    display: none;
}*/

.menu-stroke:nth-child(4) .draw-line {
    width: var(--menu-btn-size);
    height: 1px;
    position: absolute;
    background-color: #ffffff;
    display: none;
}

/* ############################################# */

/* ###### Hamburger Menu Button Animation ###### */
.hamburger-menu:hover .menu-stroke:nth-child(1) {
    top: -50px;
    opacity: 0;
}

.hamburger-menu:hover .menu-stroke:nth-child(2) {
    transform: rotateZ(-45deg);
    -webkit-transform: rotateZ(-45deg);
    -moz-transform: rotateZ(-45deg);
    -ms-transform: rotateZ(-45deg);
    -o-transform: rotateZ(-45deg);
}

.hamburger-menu:hover .menu-stroke:nth-child(3) {
    top: 50px;
    opacity: 0;
}

.hamburger-menu.menu-open .menu-stroke:nth-child(4) .draw-line {
    display: block;
    animation: menu_button_show_stroke 0.3s linear;
    -webkit-animation: menu_button_show_stroke 0.3s linear;
    -moz-animation: menu_button_show_stroke 0.3s linear;
    -ms-animation: menu_button_show_stroke 0.3s linear;
    -o-animation: menu_button_show_stroke 0.3s linear;
}

.hamburger-menu.menu-open .menu-stroke:nth-child(2) {
    animation: menu_button_move_pencil 0.6s linear forwards;
    -webkit-animation: menu_button_move_pencil 0.6s linear forwards;
    -moz-animation: menu_button_move_pencil 0.6s linear forwards;
    -ms-animation: menu_button_move_pencil 0.6s linear forwards;
    -o-animation: menu_button_move_pencil 0.6s linear forwards;
}

.hamburger-menu.menu-open .menu-stroke:nth-child(1),
.hamburger-menu.menu-open .menu-stroke:nth-child(3) {
    opacity: 0;
}

@keyframes menu_button_show_stroke {
    0% {
        width: 0px;
    }

    100% {
        width: 30px;
    }
}

@keyframes menu_button_move_pencil {
    0% {
        margin-left: 0px;
        margin-top: 0px;
        transform: rotateZ(-45deg);
        -webkit-transform: rotateZ(-45deg);
        -moz-transform: rotateZ(-45deg);
        -ms-transform: rotateZ(-45deg);
        -o-transform: rotateZ(-45deg);
    }

    45% {
        margin-left: -55px;
        margin-top: -55px;
        transform: rotateZ(-45deg);
        -webkit-transform: rotateZ(-45deg);
        -moz-transform: rotateZ(-45deg);
        -ms-transform: rotateZ(-45deg);
        -o-transform: rotateZ(-45deg);
    }

    65% {
        margin-left: 0px;
        margin-top: 0px;
        transform: rotateZ(-45deg);
        -webkit-transform: rotateZ(-45deg);
        -moz-transform: rotateZ(-45deg);
        -ms-transform: rotateZ(-45deg);
        -o-transform: rotateZ(-45deg);
    }

    100% {
        transform: rotateZ(45deg);
        -webkit-transform: rotateZ(45deg);
        -moz-transform: rotateZ(45deg);
        -ms-transform: rotateZ(45deg);
        -o-transform: rotateZ(45deg);
    }
}

/* ############################################# */

/* ##### CONTACT BUTTON ###### */
.contact-button {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.contact-button .contact-button-text {
    font-family: 'Montserrat';
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 10pt;
    position: absolute;
    white-space: nowrap;
    left: 0;
    opacity: 0;
    height: 30px;
    display: flex;
    align-items: center;
    padding-left: 20px;
    transition: left 0.3s, bottom 0.3s, right 0.3s, opacity 0.3s;
    -webkit-transition: left 0.3s, bottom 0.3s, right 0.3s, opacity 0.3s;
    -moz-transition: left 0.3s, bottom 0.3s, right 0.3s, opacity 0.3s;
    -ms-transition: left 0.3s, bottom 0.3s, right 0.3s, opacity 0.3s;
    -o-transition: left 0.3s, bottom 0.3s, right 0.3s, opacity 0.3s;
    color: var(--font-bright);
}

.contact-button-icon {
    width: 45px;
    height: 45px;
}

.contact-button .contact-popup {
    position: absolute;
    top: -360px;
    width: 270px;
    cursor: default;
    padding: 0 10px 10px 10px;
    opacity: 0;
    transition: opacity 0.5s, top 0.5s;
    -webkit-transition: opacity 0.5s, top 0.5s;
    -moz-transition: opacity 0.5s, top 0.5s;
    -ms-transition: opacity 0.5s, top 0.5s;
    -o-transition: opacity 0.5s, top 0.5s;
}

.contact-button .contact-popup.popup-open {
    opacity: 1;
    top: 60px;
}

@media screen and (max-width: 1970px) {
    .contact-button .contact-popup {
        right: 0;
    }
}

@media screen and (max-width: 500px) {
    .contact-button .contact-popup {
        width: 90vw;
    }
}

.contact-button .contact-popup-inner {
    z-index: 2;
    position: relative;
    padding: 15px;
}

.contact-button .popup-glass-bg {
    background-color: rgba(0, 0, 0, 0.14);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backdrop-filter: blur(80px);
    -webkit-backdrop-filter: blur(80px);
    -moz-backdrop-filter: blur(80px);
    -ms-backdrop-filter: blur(80px);
    -o-backdrop-filter: blur(80px);
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    z-index: 1;
}

.contact-button .direct-contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-button .direct-contact-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: background-color 0.3s;
    -webkit-transition: background-color 0.3s;
    -moz-transition: background-color 0.3s;
    -ms-transition: background-color 0.3s;
    -o-transition: background-color 0.3s;
    cursor: pointer;
    text-decoration: none;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    flex: 1 1 0px;
}

.contact-button .direct-contact-button-icon {
    width: 25px;
    height: 25px;
}

.contact-button .direct-contact-button-text {
    font-size: 10pt;
    position: relative;
    margin-top: 5px;
    font-family: 'Montserrat';
}

.contact-button .contact-popup-find-us .headline {
    font-family: 'Montserrat';
    margin-bottom: 15px;
    display: block;
}

.contact-button #sallyta-search-route-form input {
    width: 100%;
}

.contact-button #sallyta-search-route-form input:focus {
    outline: none;
}

.contact-button #sallyta-search-route-form input[type='text'] {
    background: transparent;
    border: none;
    padding: 10px;
    color: #ffffff;
    font-family: 'Montserrat';
}

.contact-button #sallyta-search-route-form input[type='text']::placeholder {
    color: #ffffff;
    font-family: 'Montserrat';
}

.contact-button #sallyta-search-route-form input[type='submit'] {
    background: transparent;
    border: none;
    padding: 15px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s, border-radius 0.3s;
    -webkit-transition: background-color 0.3s, border-radius 0.3s;
    -moz-transition: background-color 0.3s, border-radius 0.3s;
    -ms-transition: background-color 0.3s, border-radius 0.3s;
    -o-transition: background-color 0.3s, border-radius 0.3s;
    font-family: 'Montserrat';
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    cursor: pointer;
}

.contact-button #sallyta-search-route-form input[type='submit']:hover {
    background-color: var(--ci-blue);
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.contact-button .contact-popup-details {
    margin-top: 15px;
}

.contact-button .contact-details-row {
    font-family: 'Montserrat';
    font-size: 10pt;
    display: block;
}

.contact-button .contact-details-row:nth-child(1) {
    font-size: 12pt;
    font-weight: bold;
    margin-bottom: 5px;
}

.contact-button .direct-contact-button:hover {
    background-color: var(--ci-blue);
}

.contact-button:hover .contact-button-text {
    left: 30px;
    opacity: 1;
}

@media screen and (max-width: 1830px) {
    .contact-button .contact-button-text {
        left: unset;
        right: 0;
    }

    .contact-button:hover .contact-button-text {
        left: unset;
        right: 30px;
        padding-right: 20px;
        padding-left: 0;
    }
}

@media screen and (max-width: 640px) {
    .contact-button .contact-button-text {
        left: unset;
        right: 0;
        bottom: 0;
    }

    .contact-button:hover .contact-button-text {
        left: unset;
        right: 0;
        bottom: -30px;
        padding-right: 0;
        padding-left: 0;
    }
}

/* ############################################### */
