* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Geogrotesque-Regular;
    letter-spacing: -0.03px;
    font-size: 14px;
    display: grid;
    grid-template-rows: minmax(100vh, 100%) auto;
    background-color: #E5E5E5;
}

.container {
    position: relative;
    max-width: 1280px;
    margin: auto;
    padding: 0 85px 0 85px;
}

.navbar {
    position: fixed;
    left: 0;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    width: 100%;
    height: 60px;
    padding: 0;
    z-index: 1000;
}

.blur {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.logo {
    position: absolute;
    top: 15px;
    width: 96px;
}

.nav-bg {
    background: white;
    width: 100%;
    height: 44px;
}

.background {
    height: 100%;
    width: 100%;
}

.footer {
    background: #E5E5E5;
    border-top: solid 2px white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #797D81;
    height: 44px;
}

.footer-content:first-of-type {
    border-bottom: 1px solid #BFC1C2;
}

.footer-content a {
    color: inherit;
}

.footer-content a:hover {
    color: #43474C;
}

.copyright {
    text-align: right;
}

.navbar .container {
    display: flex;
    align-items: center;
    color: #797D81;
    height: 100%;
}

.icon_nav>ul>li>label, .icon_nav>ul>li>a {
    padding: 0 10px 0 10px;
}

@media (max-width: 650px) {
    .navbar .container {
        margin-left: -15px;
    }

    .container>a:first-child {
        margin-left: 15px;
    }
}

/*
.app_nav ul {
    grid-column-gap: max(10px, min(calc(22% - 70px), 30px));
}
*/

/* emulated */

.app_nav ul {
    --gap: max(10px, min(calc(22% - 70px), 30px));
    margin: 0 0 0 calc(-1 * var(--gap));
    width: calc(100% + var(--gap));
}

.app_nav ul > * {
    margin: 0 0 0 var(--gap);
}


.navbar i {
    font-size: 115%;
    height: 28px;
}

.navbar nav {
}

.navbar nav li {
    font-family: Geogrotesque-Regular;
    font-size: 14px;
    letter-spacing: -0.03px;
    line-height: 17px;
}

.navbar a {
    color: #797D81;
}

.navbar a:hover {
    color: #43474C;
}

.navbar label:hover {
    cursor: pointer;
    color: #43474C;
}

.navbar a.active {
    color: black;
}

/*
.icon_nav ul {
    grid-column-gap: 10px;
}
*/

/* emulated */

.icon_nav ul {
    --gap: 10px;
    margin: 0 0 0 calc(-1 * var(--gap));
    width: calc(100% + var(--gap));
}

.icon_nav ul > * {
    margin: 0 0 0 var(--gap);
}


.icon_nav {
    flex: 1;
}

.logo_stub {
	position: absolute;
	left: 85px;
    flex: 1 1 5%;
    top: 0px;
}

.app_nav {
    margin-left: max(10px, min(calc(14% - 70px), 30px));
    flex: 7;
}

.social {
    display: flex;
    align-items: center;
}

.social .fab {
    font-size: 19px;
    padding: 2px;
    border-radius: 2px;
    color: white;
    background-color: #797D81;
    text-align: center;
    min-width: 23px;
}

.fab:hover {
    background-color: #43474C;
}

.locale {
    display: none;
    position: absolute;
    top: 44px;
}

.locale:active, .locale:hover {
    display: block;
}

.arrow-up {
    position: absolute;
    top: -6px;
    left: 50%;
    width: 10px;
    height: 10px;
    border-top: 1px solid #BFC1C2;
    border-left: 1px solid #BFC1C2;
    transform: rotate(45deg) skew(3deg, 3deg);
    background-color: white;
}

.locale-shift {
    position: absolute;
}

.navbar .locale .locale-shift>ul {
    position: relative;
    display: block;
    left: -50%;
    list-style: none;
    background-color: #fff;
    padding: 0 15px 0 15px;
    border: 1px solid #BFC1C2;
    border-radius: 2px;
    margin: 0;
    width: auto;
}

.locale a, .locale li  {
    padding-top: 13px;
    padding-bottom: 13px;
    line-height: 17px;
    margin: 0;
}

.locale li:not(li:last-child) {
    border-bottom: 1px solid #BFC1C2;
}

#locale-show {
    padding-top: 13px;
    padding-bottom: 13px;
}

#locale-show:focus+div, #locale-show:active+div, #locale-show:hover+div {
    display: block;
}

.arrow-shift {
    position: relative;
    left: -10px;
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    /* column-gap: 15px; */
}

/* emulated */

nav ul {
    --gap: 15px;
    margin: 0 0 0 calc(-1 * var(--gap));
    width: calc(100% + var(--gap));
}

nav ul > * {
    margin: 0 0 0 var(--gap);
}

nav ul li {
    white-space: nowrap;
}

.flex-center {
    display: flex;
    align-items: center;
}


.menu_center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nowrap {
    white-space: nowrap;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1 {
    font-family: Geogrotesque-Light;
    font-size: 44px;
    letter-spacing: -0.09px;
    font-weight: 300;
}

h2 {
    font-family: Geogrotesque-Light;
    font-size: 36px;
    line-height: 45px;
    letter-spacing: -0.07px;
    font-weight: 300;
}

h4 {
    font-family: Geogrotesque-Regular;
    font-size: 22px;
    line-height: 27px;
    letter-spacing: -0.04px;
    font-weight: 300;
}

.btn-primary {
    padding: 5px 15px 6px 15px;
    color: white !important;
    background-color: #316094;
    font-family: Geogrotesque-Medium;
    font-size: 16px;
    letter-spacing: -0.03px;
    line-height: 19px;
    border: none;
    border-radius: 2px;
    text-decoration: none;
    align-self: start;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #7DA1C4;
}


#menu, #locale_menu {
    display: none;
}

#menu_button:checked~.layout {
    display: none;
}

#menu_button:checked~#menu {
    display: block;
}

#locale_button:checked~.layout {
    display: none;
}

#locale_button:checked~#locale_menu {
    display: block;
}

.menu_nav {
    margin-top: 60px;
    padding: 15px;
}

.menu_nav ul {
    display: flex;
    flex-direction: column;
}

.menu_nav ul>li {
    display: flex;
    align-items: center;
    height: 44px;
    width: 100%;
}

.menu_nav ul>li:not(:last-child) {
    border-bottom: 1px solid #BFC1C2;
}

.menu_nav i {
    font-size: 16px;
    margin-right: 10px;
}

.menu_nav ul>li>label {
    display: flex;
    align-items: center;
}

.menu_nav .active {
    font-family: Geogrotesque-SemiBold;
}


#menu_label, #locale_label {
    display: none;
}

.footer_nav {
    display: none;
}

.bi {
    line-height: 0;
}

.mobile {
    display: none;
}

@media (max-width: 650px) {
    .footer_nav {
        display: block;
    }

    #menu_label, #locale_label {
        display: block;
    }

    #locale-show {
        display: none;
    }

    .container {
        padding: 0 30px 0 30px;
        margin: 0;
        color: #43474C;
    }

    .logo {
        left: -40px;
    }

    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }

    .footer>.container {
        padding: 0 15px 0 15px;
    }

    .navbar .app_nav {
        display :none;
    }

    /*
    .icon_nav>ul {
        grid-column-gap: 0;
    }
    */

    /* emulate gap */

    .icon_nav>ul {
        --gap: 0;
        margin: 0 0 0 calc(-1 * var(--gap));
        width: calc(100% + var(--gap));
        position: absolute;
        right: 22px;
    }

    .icon_nav>ul > * {
        margin: 0 0 0 var(--gap);
    }

    .footer-content {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        color: #43474C;
    }

    .footer-content:last-of-type {
        font-size: 11px;
        letter-spacing: -0.02px;
        line-height: 14px;
        height: auto;
    }

    .social .fab {
        background-color: #43474C;
    }

    .links {
        display: flex;
        align-items: center;
        height: 44px;
    }

    .breadcrumbs {
        display: none;
    }

    .footer {
        padding-bottom: 12px;
    }

    h1 {
        font-family: Geogrotesque-Light;
        font-size: 36px;
        letter-spacing: -0.07px;
        font-weight: 300;
    }

    h2 {
        font-family: Geogrotesque-Light;
        font-size: 26px;
        line-height: 32px;
        letter-spacing: -0.05px;
        font-weight: 300;
    }

    h4 {
        font-family: Geogrotesque-Regular;
        font-size: 16px;
        line-height: 19px;
        letter-spacing: -0.03px;
    }

    input {
        font-size: 20px;
        letter-spacing: -0.04px;
        line-height: 25px;
    }

    .subpage {
        margin-top: 90px;
    }
}
