.alt-logo,
.main-logo,
#menu-toggle,
#close-menu,
#menu-toggle-mobile,
#close-menu-mobile,
.navigation__wrapper,
#masthead {
    transition: all 600ms ease-in-out;
}

#masthead {
    position: absolute;
    width: 100%;
    z-index: 10;
    display: flex;
    pointer-events: none;
}

/* #masthead * {
    pointer-events: none;
} */

.menu-active #masthead {
    z-index: 999999999;
}

.menu-active #masthead .header-right__bottom * {
    pointer-events: auto;
}

.site-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.site-header > * {
    width: auto;
}

.site-logo__wrapper {
    padding: 20px;
    pointer-events: auto;
}

#menu-toggle, #close-menu,
#menu-toggle-mobile, #close-menu-mobile {
    cursor: pointer;
    pointer-events: auto;
    /*width: 120px;*/
    height: 30px;
    display: flex;
    align-items: center;
    text-align: left;
}

#menu-toggle,
#menu-toggle-mobile {
    transform: translateY(100%);
    position: relative;
    z-index: 1;
}

#close-menu,
#close-menu-mobile {
    opacity: 0;
}

.navigation__wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    overflow-y: auto;
    z-index: 100;
    padding: 4rem 2rem 23px 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.navigation__wrapper.active {
    opacity: 1;
    pointer-events: auto;
}

.main-header-menu li a {
    text-decoration: none;
}

.main-header-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Social Active Custom Header */
.header-left {
    min-width: 165px;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid #fff;
}

.header-right {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.header-right__top {
    height: 81px;
    min-height: 81px;
    position: relative;
}

.header-right__top .language-switcher {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 9999;
    pointer-events: auto;
    height: 100%;
    background: #8dceeb;
    width: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 12px;
    cursor: pointer;
}

.language-switcher > .current-language:after {
    content: "^";
    font-family: serif;
    font-size: 15px;
    font-weight: 900;
    transform: rotate(180deg) translateY(3px);
    display: inline-block;
    margin-left: 4px;
}

/* .page-template-contact .header-right__top .language-switcher {
    right: 20px;
} */

.language-switcher a {
    color: #fff !important;
}

.language-switcher__dropdown {
    overflow: hidden;
    font-size: 12px;
    position: absolute;
    top: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    background: #8dceeb;
    border-top: 1px solid #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity 600ms ease;
}

.language-switcher:hover .language-switcher__dropdown {
    pointer-events: auto;
    opacity: 1;
}

.language-switcher__dropdown > * {
    padding: 10px 0;
    display: block;
    width: 100%;
}

.language-switcher__dropdown .current-language {
    opacity: .5;
    background: #72a7bf;
}

.language-switcher a:hover {
    color: #fff !important;
    background: #f26f26;
}

.lets-talk-cta {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    margin-left: auto;
    pointer-events: auto;
    transition: all 600ms ease;
    margin-right: 65px;
}

.lets-talk-cta span {
    transition: all 600ms ease;
}

.lets-talk-cta:hover {
    background: #fff;
}

.lets-talk-cta:hover span {
    color: #f26f26!important;
}

.hero-light .lets-talk-cta:hover {
    background: #FFEBDF;
}

.header-right__bottom {
    height: 100%;
    overflow: auto;
    position: relative;
}

.menu-toggle__wrapper {
    position: absolute;
    right: 30px;
    z-index: 101;
}

.alt-logo {
    transform: translateY(-100%);
    opacity: 0;
}

#page.menu-active #masthead {
    background-color: #27a8e0;
    position: fixed;
}

#page.menu-active #close-menu,
#page.menu-active #close-menu-mobile {
    opacity: 1;
    z-index: 2;
    position: relative;
}

#page.menu-active #menu-toggle,
#page.menu-active #menu-toggle-mobile {
    opacity: 0;
}

.header-right__top {
    border-bottom: 1px solid #fff;
}

.main-header-menu li a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
}

.main-header-menu li {
    list-style: none;
}

.main-header-menu .sub-menu li {
    margin-bottom: 5px;
}

.main-header-menu .sub-menu li a {
    color: #BEE5F6;
}

.main-header-menu .menu-item--big > a {
    font-size: 35px;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1;
}

.menu-item--big:not(.no--number) > a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.menu-item--big:not(.no--number) > a:before {
    font-size: 15px;
    display: block;
    color: #bee5f6;
    margin-top: -.9em;
    margin-right: 10px;
    width: 18px;
}

#primary-menu-1 .menu-item--big:not(.no--number):nth-child(1) > a:before { content: "01"; }
#primary-menu-1 .menu-item--big:not(.no--number):nth-child(2) > a:before { content: "02"; }
#primary-menu-1 .menu-item--big:not(.no--number):nth-child(3) > a:before { content: "03"; }
#primary-menu-1 .menu-item--big:not(.no--number):nth-child(4) > a:before { content: "04"; }

#primary-menu-2 .menu-item--big:not(.no--number):nth-child(1) > a:before { content: "05"; }
#primary-menu-2 .menu-item--big:not(.no--number):nth-child(2) > a:before { content: "06"; }
#primary-menu-2 .menu-item--big:not(.no--number):nth-child(3) > a:before { content: "07"; }
#primary-menu-2 .menu-item--big:not(.no--number):nth-child(4) > a:before { content: "08"; }

.menu-item--big > a:after {
    content: ".";
    color: #f26f26;
    font-size: 50px;
    margin-top: -.15em;
}

.menu-item--big:not(.no--number) {
    margin-bottom: 25px;
}

ul.sub-menu {
    margin-top: 15px;
}

.button-rotated {
    transform: rotate(-90deg);
    white-space: nowrap;
    width: 0;
    pointer-events: auto;
    margin-left: 9px;
}

.social-follow {
    pointer-events: auto;
}

.follow--header {
    margin-top: 60px;
    margin-bottom: 30px;
}

.social-icon svg {
    width: 18px;
    height: 18px;
    display: block;
    margin-bottom: 20px;
    transition: all 600ms ease;
}

.hero-light .social-icon svg {
    fill: #27a8e0;
}

span.social-icon:hover svg {
    fill: #fff;
}

.hero-light span.social-icon:hover svg{
    fill: #f26f26;
}

.social-follow .cols {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.menu-toggle__wrapper > div:hover .icon-dots svg {
    transform: rotate(180deg);
}

#menu-toggle .icon-dots svg,
#menu-toggle-mobile .icon-dots svg {
    width: 35px;
    height: 11px;
    display: block;
    margin-left: 10px;
    transition: all 600ms ease;
}

#close-menu .icon-dots svg,
#close-menu-mobile .icon-dots svg {
    width: 27px;
    height: 27px;
    display: block;
    margin-left: 10px;
    transition: all 600ms ease;
}

.menu-images {
    position: relative;
    height: 100%;
}

.menu-image:not(.visible) {
    opacity: 0;
}

.menu-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: opacity 900ms ease;
}

.menu-images img {
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    transform: translateX(-50%);
    transition: opacity 900ms ease;
}

ul.main-header-menu li.not-hovered-menu a {
    filter: blur(2px);
    opacity: .3;
}

@media (max-width: 1600px) {
    .menu-item--big > a:after,
    .main-header-menu .menu-item--big > a {
        font-size: calc(25px + 5 * (100vw - 320px) / 1180);
    }
    
    .main-header-menu li a { font-size: calc(10px + 4 * (100vw - 320px) / 1180); }

    .menu-item--big:not(.no--number) {
        margin-bottom: 1rem;
    }

    .main-header-menu .sub-menu li {
        margin-bottom: 5px;
    }

    .main-navigation__center {
        padding-bottom: 0;
    }
}

@media (max-width: 767px) {
    .navigation__wrapper {
        padding: 2rem;
    }

    .main-header-menu li a { font-size: 14px; }

    ul.sub-menu {
        padding-left: 5px;
        margin-bottom: 30px;
    }
}