@font-face {
    font-family: 'Continuum-Light';
    src: local('Continuum Light'), local('Continuum-Light'),
        url(../fonts/contl-webfont.woff) format('woff'),
        url(../fonts/contl-webfont.woff2) format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Continuum-Medium';
    src: local('Continuum Medium'), local('Continuum-Medium'),
        url(../fonts/contm-webfont.woff) format('woff'),
        url(../fonts/contm-webfont.woff2) format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Continuum-Bold';
    src: local('Continuum Bold'), local('Continuum-Bold'),
        url(../fonts/contb-webfont.woff) format('woff'),
        url(../fonts/contb-webfont.woff2) format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Merriweather Sans';
    font-style: normal;
    font-weight: 300;
    src: url(../fonts/merriweather-sans-v10-latin-300.eot);
    src: local('Merriweather Sans Light'), local('MerriweatherSans-Light'),
        url(../fonts/merriweather-sans-v10-latin-300.eot?#iefix) format('embedded-opentype'),
        url(../fonts/merriweather-sans-v10-latin-300.woff2) format('woff2'),
        url(../fonts/merriweather-sans-v10-latin-300.woff) format('woff'),
        url(../fonts/merriweather-sans-v10-latin-300.ttf) format('truetype'),
        url(../fonts/merriweather-sans-v10-latin-300.svg#MerriweatherSans) format('svg');
}

@font-face {
    font-family: 'Merriweather Sans';
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/merriweather-sans-v10-latin-regular.eot);
    src: local('Merriweather Sans'), local('MerriweatherSans-Regular'),
        url(../fonts/merriweather-sans-v10-latin-regular.eot?#iefix) format('embedded-opentype'),
        url(../fonts/merriweather-sans-v10-latin-regular.woff2) format('woff2'),
        url(../fonts/merriweather-sans-v10-latin-regular.woff) format('woff'),
        url(../fonts/merriweather-sans-v10-latin-regular.ttf) format('truetype'),
        url(../fonts/merriweather-sans-v10-latin-regular.svg#MerriweatherSans) format('svg');
}

:root {
    --padding: 2rem;
    --gap: 2.5rem;
    --column: calc((100vw - var(--padding) * 2 - var(--gap) * 11) / 12);
    --transition: 0.3s ease all;

    --orange: #fabb00;
    --blue: #0061a0;
    --grey: #888;
    --grey: #555;
    --darkgrey: #333;
    --white: #ffffff;

    --col_12: calc(var(--column) * 12 + var(--gap) * 12 - 1);
    --col_11: calc(var(--column) * 11 + var(--gap) * 11 - 1);
    --col_10: calc(var(--column) * 10 + var(--gap) * 10 - 1);
    --col_9: calc(var(--column) * 9 + var(--gap) * 9 - 1);
    --col_8: calc(var(--column) * 8 + var(--gap) * 8 - 1);
    --col_7: calc(var(--column) * 7 + var(--gap) * 7 - 1);
    --col_6: calc(var(--column) * 6 + var(--gap) * 6 - 1);
    --col_5: calc(var(--column) * 5 + var(--gap) * 5 - 1);
    --col_4: calc(var(--column) * 4 + var(--gap) * 4 - 1);
    --col_3: calc(var(--column) * 3 + var(--gap) * 3 - 1);
    --col_2: calc(var(--column) * 2 + var(--gap) * 2 - 1);
    --col_1: calc(var(--column) * 1 + var(--gap) * 1 - 1);
}

header,
footer {
    padding: 2rem var(--padding);
}

main {
    margin: auto;
    padding: 2rem 0;
}

body {
    min-width: 100%;
    background-image: url(../img/struktur-intranet.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;

    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 300;
    color: var(--grey);
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

h1 {
    text-align: center;
    font-family: 'Continuum-Light', sans-serif;
    text-transform: uppercase;
    color: var(--blue);
    font-weight: 400;
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    text-transform: uppercase;
    color: var(--blue);
    font-weight: 400;
    line-height: 1.2;
    font-size: 2rem;
}


/* HEADER */

header a{
	line-height: 1.2;
}

.header {
    top: 0;
    position: sticky;
    width: 100%;
    min-height: 100px;
    background: rgba(255, 255, 255, .9);
    z-index: 10;
    transition: height 0.3s ease;
}

.header-items {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, .3);
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    flex-wrap: wrap;
}

.header-items .logo {
    max-width: calc(100% - (2.5em + var(--gap)));
}

.header.smaller {
    height: 80px;
}

.header.smaller .header-items {
    padding: 0;
    height: 80px;
}

.header-items.header-fadeout {
    background: rgba(0, 0, 0, .3);
}

.special-header-items {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .3);
    background: #333;
}

.header-items .nav ul{
	align-items:center
}

.header-items .nav ul li {
    font-family: 'Continuum-Medium', sans-serif;
    font-size: 2.4rem;
	line-height:1.2;
}

/* logo */
.header .logo img {
    max-width: 300px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    width: 300px;
    height: auto;
}

.logo a {
    display: inline-block;
}

.logo-img {
    /* margin-left:50px; */
    width: 100%;
}

/* nav */
nav {
    width: auto;
    text-align: right;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    hyphens: none;
}

nav ul {
    /* margin:15px 80px 20px 20px; .nav ul li a*/
    display: flex;
    justify-content: center;
    gap: 0 2rem;
    flex-wrap: wrap;
}

nav li {
    padding: 0;
    list-style: none;
    display: inline-block;
    position: relative;
	width: fit-content;
	min-width: min-content;
}

nav a {
    color: #0061a0;
    font-size: 20px;
    transition: 0.2s ease;
    font-family: 'Continuum-Medium', sans-serif;
    text-decoration: none;

}

nav a:hover {
    /* color: #fabb00; */
    border-bottom: 2px solid #fabb00;
}

nav a.active {
    border-bottom-color: #fabb00;
}

/**/

input[type^='text'] {
    width: 100%;
    border: 0.2rem solid #0061a0;
    font-size: 1.6rem;
    color: #0061a0;
}

select {
    font-size: 1.6rem;
    border: 0;
}

select:active,
select:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none;
}

label,
label a {
    font-size: 1.5rem;
}

input,
textarea {
    font-size: 1.5rem;
    padding: 1.4rem 1.6rem;
    border: 0.2rem solid #0061a0;
    background: 0 0;
}

/* BUTTON */
.button {
    position: relative;
    display: inline-block;
    padding: 1em 1.5em 1em;
    text-transform: uppercase;
    font: inherit;
    color: var(--blue);
    background: none;
    cursor: pointer;
    font-weight: 400;
    text-align: center;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
    text-decoration: none;
}

.button-box {
    padding-left: calc((100% / 2) + 2rem);
}

.button::after,
.button::before {
    content: '';
    position: absolute;
    width: 40%;
    height: 70%;
    -webkit-transition: 0.3s ease;
    transition: 0.3s ease;
}

.button::before {
    border-top: 0.2rem solid #0061a0;
    border-left: 0.2rem solid #0061a0;
    left: 0;
    top: 0;
}

.button::after {
    bottom: 0;
    right: 0;
    border-bottom: 0.2rem solid #fabb00;
    border-right: 0.2rem solid #fabb00;
}

.button:hover:after,
.button:hover:before {
    width: 90%;
    height: 90%;
}

section {
   background-color: rgba(255, 255, 255, 0.9);
   padding: 2rem;
   max-width: 100rem;
   margin: auto;
}

#loginform label + input {
    width: 100%;
}

.date-box {
    margin: 1rem auto;
    max-width: 100rem;
}

.date-box span {
    padding: .5em 2rem;
    background-color: rgba(255, 255, 255, 0.9);
    width: fit-content;
    display: inline-block;
}

.entry a {
    text-transform: unset;
}

@media (max-width: 768px) {
    
    #hamburger {
        width: 2.5em;
        aspect-ratio: 1.33;
        background-image: linear-gradient(transparent calc(50% - 1px), currentColor calc(50% - 1px), currentColor calc(50% + 1px), transparent calc(50% + 1px));
        position: relative;
        color: var(--blue);
        transition: all .3s ease;
        background-color: transparent;
    }
    
    #hamburger:before,
    #hamburger:after {
        content: '';
        display: block;
        position: absolute;
        height: 2px;
        width: 100%;
        background-color: currentColor;
        transition: all .3s ease;
    }
    
    #hamburger:before {
        top: 0;
        left: 50%;
        transform: translate(-50%, 0%);
    }
    #hamburger:after {
        bottom: 0;
        left: 50%;
        transform: translate(-50%, 0%);
    }
    
    #hamburger.open {
        background: none;
    }
    
    #hamburger.open:before {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(45deg);
    }
    #hamburger.open:after {
        bottom: 50%;
        left: 50%;
        transform: translate(-50%, 50%) rotate(-45deg);
    }

    #hamburger:not(.open) ~ #main_nav {
        display: none;
    }

    #main_nav {
        width: 100%;
    }

    #main_nav ul {
        flex-direction: column;
        padding: var(--gap) 0;
        gap: 1em;
        width: 100%;
    }
}
