﻿.primary-header {
    box-sizing: border-box;
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    position: fixed;
    top: 0px;
    z-index: 100;
    -webkit-transform: translate3d(0px,0px,0);
    -ms-transform: translate3d(0px,0px,0);
    transform: translate3d(0px,0px,0);
    height: 60px;
    -webkit-transition: background .5s ease-in-out,-webkit-transform .4s ease-in-out;
    -webkit-transition: background .5s ease-in-out,transform .4s ease-in-out;
    transition: background .5s ease-in-out,transform .4s ease-in-out;
    will-change: transform,background;
}

.header-background {
    box-sizing: border-box;
    width: 100%;
    background-color: transparent;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    height: 90px;
    width: 100%;
    position: fixed;
    top: 0px;
    -webkit-transform: translate3d(0px,0,0);
    -ms-transform: translate3d(0px,0,0);
    transform: translate3d(0px,0,0);
    -webkit-transition: -webkit-transform .5s ease-in-out,background .5s ease-in-out,height .4s ease-in-out;
    -webkit-transition: transform .5s ease-in-out,background .5s ease-in-out,height .4s ease-in-out;
    transition: transform .5s ease-in-out,background .5s ease-in-out,height .4s ease-in-out;
    will-change: height,background,transform;
    background-color: var(--natural-green);
}

.header-container {
    box-sizing: border-box;
    padding: 1.125rem;
    padding-top: 9px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    z-index: 1;
    height: 60px;
    -webkit-transition: height .3s ease-in-out,padding-top .3s ease-in-out;
    transition: height .3s ease-in-out,padding-top .3s ease-in-out;
    will-change: height,padding-top;
}

@media screen and (min-width:900px) {
    .header-container {
        padding: 29px;
    }
}

@media screen and (min-width:1200px) {
    .header-container {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
    }
}

.menu-toggle {
    box-sizing: border-box;
    margin: 0;
    padding-top: 0.9375rem;
    padding-bottom: 0.9375rem;
    padding-left: 1.125rem;
    padding-right: 1.125rem;
    font-size: inherit;
    color: var(--sandstone);
    background-color: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: inline-block;
    text-align: center;
    line-height: inherit;
    -webkit-text-decoration: none;
    text-decoration: none;
    font-weight: bold;
    border: 0;
    border-radius: 4px;
    border-radius: 4px;
    position: absolute;
    top: 5px;
    right: 0;
    display: inline-block;
    outline: none;
    z-index: 5;
    background-color: var(--natural-green);
    border-color: #fff;
}

@media screen and (min-width:900px) {
    .menu-toggle {
        top: 25px;
    }
}

.menu-toggle * {
    fill: white;
}

.menu-toggle > span {
    height: 20px;
}

.menu-icon-container {
    width: 20px;
    display: inline-block;
    pointer-events: none;
}

.navigation-menu {
    box-sizing: border-box;
    margin: 0;
    padding: 60px 0 60px;
    width: 100%;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: absolute;
    height: 100vh;
    display: none;
}

.fixed-container {
    box-sizing: border-box;
    width: 100%;
    text-align: center;
    height: 100%;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: auto;
}

.navigation-links-list {
    box-sizing: border-box;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 160px;
    padding-bottom: 160px;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 100vh;
    min-height: 500px;
    list-style: none;
    padding: 0;
    margin: 0;
    -webkit-transition: padding-top 0.3s ease-in-out;
    transition: padding-top 0.3s ease-in-out;
    will-change: padding-top;
    overflow: hidden;
}

@media screen and (min-width:600px) {
    .navigation-links-list {
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

@media screen and (min-width:600px) {
    .navigation-links-list {
        height: calc(100vh - 40px);
    }
}

.nav-item {
    box-sizing: border-box;
    opacity: 0;
    top: 0px;
    -webkit-animation: fade-in-up 0.3s ease-in-out;
    animation: fade-in-up 0.3s ease-in-out;
    -webkit-animation-direction: normal;
    animation-direction: normal;
    -webkit-animation-delay: .1s;
    animation-delay: .1s;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

.nav-link {
    border: 0;
    color: #FFF;
}

@media screen and (min-width:0px) {
    .nav-link-label {
        font-weight: normal;
        font-family: Aime-Thin, serif;
        letter-spacing: -1.2px;
        line-height: 2;
        font-size: 2.6rem;
        -webkit-letter-spacing: -1.2px;
        -moz-letter-spacing: -1.2px;
        -ms-letter-spacing: -1.2px;
    }
}

.header-dropdown-wrapper {
    box-sizing: border-box;
    width: 100%;
    background-color: var(--natural-green);
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    left: 0;
    bottom: 0;
    position: fixed;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-transition: height .3s ease-in-out;
    transition: height .3s ease-in-out;
    opacity: 0;
    bottom: 0px;
    -webkit-animation: fade-in-up 0.3s ease-out;
    animation: fade-in-up 0.3s ease-out;
    -webkit-animation-direction: normal;
    animation-direction: normal;
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    white-space: nowrap;
}

    .header-dropdown-wrapper:before {
        content: "";
        position: absolute;
        left: -500%;
        width: 1000%;
        height: 1px;
        top: -1px;
        background: rgb(216, 216, 216);
    }

@media only screen and (max-width:900px) {
    .header-dropdown-wrapper {
        display: block;
        max-height: 100%;
        overflow: visible;
    }

        .header-dropdown-wrapper ul {
            -webkit-transition: height 0.3s ease-in-out;
            transition: height 0.3s ease-in-out;
            will-change: height;
        }

        .header-dropdown-wrapper > div > div:first-child {
            border-right: 1px solid #D8D8D8;
        }
}

.dropdown-overlay {
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    display: none;
    position: absolute;
    left: -500%;
    width: 1000%;
    height: 1000%;
    opacity: 0.8;
    top: calc(-1000% - 1px);
    background: rgb(126, 138, 74);
}

.dropdown-content-wrapper {
    box-sizing: border-box;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.dropdown-trigger {
    box-sizing: border-box;
    -webkit-flex: 1 0 50%;
    -ms-flex: 1 0 50%;
    flex: 1 0 50%;
    -webkit-flex: 1 0 50%;
    -ms-flex: 1 0 50%;
    flex: 1 0 50%;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.dropdown-header-container {
    box-sizing: border-box;
    padding: 15px 0;
    text-align: center;
}

.dropdown-header-section {
    -webkit-text-decoration: none;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    margin: auto;
    color: #FFF;
    display: block;
    text-align: center;
    width: 44px;
}

    .dropdown-header-section span {
        margin-right: 10px;
    }

        .dropdown-header-section span:nth-child(2) {
            position: relative;
            top: 3px;
        }

.profile-avatar-icon {
    width: 30%;
    height: 30%;
    display: inline-block;
    -webkit-transform: rotate(0);
    -ms-transform: rotate(0);
    transform: rotate(0);
    pointer-events: none;
}

.dropdown-arrow-icon {
    width: 7px;
    height: 12px;
    display: inline-block;
    -webkit-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
    float: none;
    pointer-events: none;
}

.dropdown-auth-list {
    box-sizing: border-box;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    overflow: auto;
    -webkit-transform-origin: 50% 0;
    -ms-transform-origin: 50% 0;
    transform-origin: 50% 0;
    -webkit-transform: scaleY(0);
    -ms-transform: scaleY(0);
    transform: scaleY(0);
    -webkit-transition: -webkit-transform 0.3s ease-in;
    -webkit-transition: transform 0.3s ease-in;
    transition: transform 0.3s ease-in;
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
    box-sizing: content-box;
    list-style: none;
    padding: 0;
    margin: 0;
    height: 0;
}

    .dropdown-auth-list span {
        opacity: 0;
        -webkit-transition: opacity 0.3s ease-in;
        transition: opacity 0.3s ease-in;
        -webkit-transition-delay: 0s;
        transition-delay: 0s;
    }

.dropdown-list-item {
    box-sizing: border-box;
    padding: 15px 0;
    display: block;
    text-align: center;
}

.active-language-item {
    box-sizing: border-box;
    padding: 15px 0;
    display: block;
    text-align: center;
}

@media screen and (min-width:600px) {
    .active-language-item {
        display: block;
    }
}

/* sc-component-id:  */
@media only screen and (min-width:900px) {
    .language-label::after {
        opacity: 0;
    }

    .language-label:hover::after {
        opacity: 1;
    }
}

.auth-link {
    display: block;
    border: 0;
    cursor: pointer;
    color: #FFF;
}

@media screen and (min-width:900px) {
    .auth-link {
        color: #FFF;
    }
}

.language-label-text {
    box-sizing: border-box;
    text-transform: capitalize;
}

@media screen and (min-width:0px) {
    .language-label-text {
        font-size: 12px;
    }
}

@media screen and (min-width:0px) {
    .language-label-text {
        font-family: BrownStd-Regular;
    }
}

@media screen and (min-width:0px) {
    .language-label-text {
        font-weight: normal;
    }
}

@media screen and (min-width:0px) {
    .language-label-text {
        line-height: 1;
    }
}

@media screen and (min-width:600px) {
    .language-label-text {
        line-height: 1;
    }
}

@media screen and (min-width:0px) {
    .language-label-text {
        -webkit-letter-spacing: 1px;
        -moz-letter-spacing: 1px;
        -ms-letter-spacing: 1px;
        letter-spacing: 1px;
    }
}

@media screen and (min-width:0px) {
    .language-label-text {
        text-transform: uppercase;
    }
}

.dropdown-language-label {
    box-sizing: border-box;
    text-transform: capitalize;
}

@media screen and (min-width:0px) {
    .dropdown-language-label {
        font-size: 12px;
    }
}

@media screen and (min-width:0px) {
    .dropdown-language-label {
        font-family: BrownStd-Regular;
    }
}

@media screen and (min-width:0px) {
    .dropdown-language-label {
        font-weight: normal;
    }
}

@media screen and (min-width:0px) {
    .dropdown-language-label {
        line-height: 1;
    }
}

@media screen and (min-width:0px) {
    .dropdown-language-label {
        -webkit-letter-spacing: 1px;
        -moz-letter-spacing: 1px;
        -ms-letter-spacing: 1px;
        letter-spacing: 1px;
    }
}

@media screen and (min-width:0px) {
    .dropdown-language-label {
        text-transform: uppercase;
    }
}

.dropdown-language-item {
    box-sizing: border-box;
    text-transform: capitalize;
}

@media screen and (min-width:0px) {
    .dropdown-language-item {
        font-size: 12px;
    }
}

@media screen and (min-width:0px) {
    .dropdown-language-item {
        font-family: BrownStd-Regular,sans-serif;
    }
}

@media screen and (min-width:0px) {
    .dropdown-language-item {
        font-weight: normal;
    }
}

@media screen and (min-width:0px) {
    .dropdown-language-item {
        line-height: 1;
    }
}

@media screen and (min-width:600px) {
    .dropdown-language-item {
        line-height: 1;
    }
}

@media screen and (min-width:900px) {
    .dropdown-language-item {
        line-height: 1;
    }
}

@media screen and (min-width:1800px) {
    .dropdown-language-item {
        line-height: 1;
    }
}

@media screen and (min-width:0px) {
    .dropdown-language-item {
        -webkit-letter-spacing: 1px;
        -moz-letter-spacing: 1px;
        -ms-letter-spacing: 1px;
        letter-spacing: 1px;
    }
}

@media screen and (min-width:0px) {
    .dropdown-language-item {
        text-transform: uppercase;
    }
}

.dropdown-header-content {
    -webkit-text-decoration: none;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    margin: auto;
    color: #FFF;
    display: block;
    text-align: center;
}

    .dropdown-header-content span {
        margin-right: 10px;
    }

        .dropdown-header-content span:nth-child(2) {
            position: relative;
            top: 3px;
        }

.dropdown-language-list {
    box-sizing: border-box;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    overflow: auto;
    -webkit-transform-origin: 50% 0;
    -ms-transform-origin: 50% 0;
    transform-origin: 50% 0;
    -webkit-transform: scaleY(0);
    -ms-transform: scaleY(0);
    transform: scaleY(0);
    -webkit-transition: -webkit-transform 0.3s ease-in;
    -webkit-transition: transform 0.3s ease-in;
    transition: transform 0.3s ease-in;
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
    box-sizing: content-box;
    list-style: none;
    padding: 0;
    margin: 0;
    height: 0;
}

.dropdown-language-list span {
    opacity: 0;
    -webkit-transition: opacity 0.3s ease-in;
    transition: opacity 0.3s ease-in;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

.active-language-link {
    display: block;
    border: 0;
    cursor: pointer;
    color: #FFF;
}

@-webkit-keyframes fade-in-up {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0,50px,0);
        -ms-transform: translate3d(0,50px,0);
        transform: translate3d(0,50px,0);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0,0,0);
        -ms-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0,50px,0);
        -ms-transform: translate3d(0,50px,0);
        transform: translate3d(0,50px,0);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0,0,0);
        -ms-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
    }
}

header .header-logo {
    height: 100%;
}

    header .header-logo svg {
        max-height: 50px;
        max-width: 100%;
        display: block;
        margin: 0 auto;
    }

@media screen and (min-width: 900px) and (max-width: 1200px) {
    header .header-logo svg {
        max-width: 90px;
        padding-top: 1.15rem;
    }
}

header div.white-background {
    background-color: white;
}

header nav ul.black-content li a {
    color: var(--sandstone);
}

header > div > nav div.black-content {
    background-color: var(--natural-green);
    color: var(--sandstone);
}

header > div > div > button.black-content * {
    fill: var(--sandstone);
}


header nav ul.open {
    overflow: auto;
    box-sizing: content-box;
    opacity: 1;
    height: auto;
    transform: scaleY(1);
    max-height: 480px;
    transition: transform 0.3s ease-in 0s;
    padding: 0px 60px;

}

    header nav ul.open span {
        opacity: 1;
    }

header nav span.upwards {
    transform: rotate(90deg);
}

header.full-height, header > :first-child.full-height {
    height: 100%;
}

header > :nth-child(2).full-height {
    height: 100vh;
}

header nav.show, header nav > :nth-child(2) > :first-child.show {
    display: block;
}

header.hidden, header > div.hidden {
    transform: translate3d(0px, -100px, 0px);
}

/*attempt at header css for Android*/
@media screen and (max-width: 900px) {
    header.full-height > div.full-height > nav > div.fixed-container {
        position: relative;
    }

        header.full-height > div.full-height > nav > div.fixed-container > ul {
            /*position: absolute;
        width: 100%;
        height: auto;*/
            overflow: hidden;
            overflow-y: scroll;
            padding-top: 8%;
            height: -webkit-fill-available;
        }
}

/*header css for iOS - working*/
@supports (-webkit-overflow-scrolling: touch) {
    header.hidden.full-height > div.full-height > nav {
        position: relative;
        max-height: 87%;
    }

    header.full-height > div.full-height > div {
        display: block;
    }

    header.full-height > div.full-height > nav {
        position: relative;
        padding-top: 0;
    }

        header.full-height > div.full-height > nav > div.fixed-container {
            position: absolute;
            max-height: 78%;
        }

            header.full-height > div.full-height > nav > div.fixed-container > ul {
                display: block;
                margin-bottom: 0;
                height: auto;
                padding-top: 15px;
                padding-bottom: 30px;
            }
}

header nav > :nth-child(2) > :nth-child(2) div.hidden {
    display: none;
    background-color: red;
}

.mobile-menu-open {
    overflow: hidden;
    position: fixed;
}

.header-content {
    box-sizing: border-box;
    margin: 0 auto;
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    height: auto;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

@media screen and (min-width:900px) {
    .header-content {
        height: auto;
    }
}