/* =Typography
--------------------------------------------------------------------------------------------------*/
/* Setting up the fonts */
html {
    height: 100%;
}

body {
    min-height: 100%;
    height: 100%;
    color: #000;
    font-weight: normal;
    font-family: 'Roboto Slab', serif;
    font-size: 18px;
}

input, button, select, textarea {
    font-family: 'klavikaRegular', Sans-Serif;
}

#header:after,
section:after {
    content: '';
    display: block;
    clear: both;
}

/* End Typography
--------------------------------------------------------------------------------------------------*/

#main {
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
}

/* =Headings
--------------------------------------------------------------------------------------------------*/
#header {
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    overflow: hidden;
    z-index: 60;
    padding-bottom: 14px;
    max-height: 79px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

#header.fixed-bg, #header.static {
    -webkit-box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.35);
    box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.35);
}

#header.fixed-bg:before, #header.static:before {
    -webkit-box-shadow: none;
    box-shadow: none;
}

#header:before {
    position: absolute;
    content: '';
    left: 103%;
    width: 100%;
    top: 0;
    height: 100%;
    z-index: -1;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.35);
    box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.35);
}

#header.active {
    overflow: visible;
}

#header.active:before {
    left: 0;
}

#header .logo {
    float: left;
    background: url(../img/logo-2.png) no-repeat;
    width: 260px;
    height: 80px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    margin: 3px 0 0 17px;
    background-size: 100% auto;
}

#header.active .logo, #header.static .logo {
    background: url(../img/logo.png) no-repeat;
    background-size: 100% auto;
}

#header.active .logo-2 {
    background: url(../img/logo-text-2.png) no-repeat 75px 40px;
}

#header nav {
    float: right;
    padding: 23px 0 0;
}

#header nav a {
    text-decoration: none;
}

#header nav ul {
    overflow: hidden;
    -webkit-transition: margin-right 0.3s ease-in-out;
    transition: margin-right 0.3s ease-in-out;
    margin-right: -1920px;
    white-space: nowrap;
}

#header.active nav ul {
    margin-right: 0;
}

#header nav ul li a {
    color: #fff;
    opacity: 0.7;
    font-size: 21px;
    line-height: 44px;
    letter-spacing: -0.025em;
}

#header.active nav ul li a {
    color: #fff;
    opacity: 0.7;
    font-size: 21px;
    line-height: 44px;
    letter-spacing: -0.025em;
}

#header nav ul li a {
    font-family: 'klavikaRegular';
}

#header nav ul li.active a {
    font-size: 44px;
    color: #fff;
    font-weight: 300;
    letter-spacing: 0.025em;
    font-family: 'Roboto Slab', serif;
    position: absolute;
    right: 40px;
    top: 20px;
}

#header.active nav ul li.active a {
    font-size: 21px;
    color: #fff;
    font-weight: 400;
    font-family: 'klavikaRegular';
    letter-spacing: -0.025em;
    position: static;
    left: 0;
    top: 0;
}

#header nav ul li {
    display: inline-block;
    vertical-align: top;
    margin: 0 28px;
}

#header nav > a {
    float: right;
    margin-left: 34px;
    width: 25px;
}

#header nav > a span {
    display: block;
    vertical-align: top;
    width: 9px;
    height: 9px;
    border-radius: 100%;
    background: #fff;
    margin: 0 0 8px;
}

#header.active nav > a {
    margin: 18px 10px 0 2px;
    width: auto;
}

#header.active nav > a span {
    display: inline-block;
    margin: 0 2px;
}

/* End Headings
--------------------------------------------------------------------------------------------------*/
/* =Footer
--------------------------------------------------------------------------------------------------*/
#footer {
    color: #fff;
    font-weight: 700;
    padding: 31px 18px 35px;
    letter-spacing: -0.025em;
    line-height: 25px;
}

#footer a {
    color: #fff;
    text-decoration: none;
}

#footer a:hover {
    text-decoration: underline;
}

#footer .row {
    max-width: 1317px;
    margin: 0 auto;
    overflow: hidden;
}

#footer .row .col {
    width: 50%;
    float: left;
}

#footer .row .col:last-child {
    text-align: right;
}

/* End Footer
--------------------------------------------------------------------------------------------------*/

/* adaptions for static pages */

#header.static {
    position: relative;
}

#footer, #header.static {
    background: #c00c1a;
}

#footer, #footer a, input[type='submit'] {
    color: #fff;
}

a {
    color: #c00c1a;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

#content-main {
    padding: 31px 18px 35px;
    overflow: hidden;
}

#content-main .row {
    max-width: 1317px;
    margin: 0 auto;
}

html, body, p {
    margin: 0;
}

.shattered-bg {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23949494' fill-opacity='0.18' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
}

.ac {
    text-align: center;
}

.bold {
    font-weight: bold;
}

.not-found-image {
    box-shadow: 0 0 5px rgba(0, 0, 0, .5);
    margin: 15px;
}

.cc-window.cc-floating {
    padding: 1em;
    width: 25%;
    max-width: 100%;
    min-width: 280px;
}

.page-template-onepager .cc-window.cc-floating {
    max-width: 300px;
}

#the-landing .cc-window.cc-bottom {
    bottom: 3em;
}

#the-landing .cc-window.cc-left {
    left: 0;
}

.cc-revoke {
    display: none !important;
}

@media screen and (max-width: 1140px) {
    #the-landing .cc-window.cc-left {
        left: 1em;
    }
}

@media screen and (max-width: 590px) {
    #the-landing .cc-window.cc-left {
        width: 80%;
        left: 10%;
        bottom: 1em;
        min-width: 0;
    }
}

/* additions for download functionality 01-19 // changed 04-19 */
.onepager-download-section #mne_dl_certificates .flex {
    height: 100%;
}

.onepager-download-section .mne_certificate {
    width: calc(100% / 3);
    margin-bottom: 10px;
    height: 150px;
    overflow: hidden;
    display: flex;
    padding-right: 10px;
    box-sizing: border-box;
}

.onepager-download-section .mne_certificate > div:first-child {
    width: 25%;
}
.onepager-download-section .mne_certificate > div:last-child {
    width: 75%;
}

@media screen and (max-width: 1024px) {
    .onepager-download-section .mne_certificate {
        width: calc(100% / 2);
    }
}
@media screen and (max-width: 600px) {
    .onepager-download-section .mne_certificate {
        width: 100%;
    }
}

.onepager-download-section .mne_certificate_illustration {
    background-repeat: no-repeat;
    background-position: left top;
    background-size: contain;
    min-width: 100px;
    height: 100%;
    margin-right: 15px;
}

.onepager-download-section .mne_certificate_title {
    margin-top: 10px;
    font-size: 21px;
    display: inline-block;
}

.onepager-download-section .mne_certificate_downloadlink {
    color: black;
    font-size: 19px;
    font-weight: bold;
}

.onepager-download-section .flex {
    display: flex;
}

.onepager-download-section .flex-wrap {
    flex-wrap: wrap;
}
.onepager-download-section h1 {
    margin-top: 0;
    margin-bottom: 40px;
}