/*Global rules*/

* {
    padding: 0;
    margin: 0 auto;
    box-sizing:border-box;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}

textarea {
    resize: none;
}

.highlight {
    font-style: normal;
    font-weight: 800;
    display: inline-block;
}

#wrapper {
    position: relative;
    width: 80%;
    text-align: center;
    padding-top: 50px;
}

#wrappershort{
    width: 90%;
}

.btn {
    display: block;
    background-color: #0086C9;
    color: #fff;
    padding: 10px 60px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color .2s;
}

.contactbtn {
    display: block;
    background-color: #0086C9;
    color: #fff;
    padding: 10px 60px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color .2s;
}

.btn:hover {
    background-color: #003D7F;
}
.contactbtn:hover {
    background-color: #003D7F;
}

.btnactive {
    display: block;
    background-color: #003D7F;
    color: #fff;
    padding: 10px 60px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color .2s;
}

.contactbtnactive {
    display: block;
    background-color: #003D7F;
    color: #fff;
    padding: 10px 60px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color .2s;
}

.btnhome {
    display: block;
    background-color: #660033;
    color: #fff;
    padding: 15px 20%;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color .2s;
    box-shadow: 0px 6px 12px -8px rgba(0,0,0,0.8);
}

.btnhome:hover {
    background-color: #820141;
}
body, html {
    height: 100%;
}

form h4{
    margin: 5px auto;
}

#herofront {
    background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url("../img/home0.JPG");
    height: 40%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    max-width: 900px;
    margin-bottom: 50px;
}

.herotext {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-shadow: 2px 2px 6px #000;
}
.herotext h1 {
    font-size: 24px;
}

#headline {
    text-align: center;
    font-size: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    margin: 20px auto;
}

/*Chrismas*/

#christmas {
    max-width: 500px;
    padding-top: 47px;
}

#christmas img{
    width: 100%;
}

#christmas p {
    text-align: center;
    width: 90%;
    color: #660033;
    font-weight: 700;
    padding-bottom: 10px;
}

@media (min-width: 800px) {
    #christmas {
        max-width: 500px;
        padding-top: 0;
    }
}

/*footer */

footer {
    margin-top: 40px;
    border-top: 2px solid #f2f2f2;
    padding: 10px 0;
    width: 100%;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
}
/* header items */

    #desktopheader {
        display: none;
        max-width: 1400px;
    }

/* Mobile header */

#mobilelogo {
    margin-top: 3px;
    height: 40px;
}

#mobileheader {
    max-width: 1000px;
    background: #fff;
    text-align: center;
    color: #000;
    position: fixed;
    width: 100%;
    z-index: 1;
}

.nav-toggle {
    display: none;
}

.toggle-label {
    position: absolute;
    top: 0;
    left: 0;
    margin-left: 15px;
    height: 100%;
    display: flex;
    align-items: center;
}

.toggle-label span,
.toggle-label span::before,
.toggle-label span::after {
    display: block;
    background: #333;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    position: relative;
}

.toggle-label span::before,
.toggle-label span::after {
    position: absolute;
    content: '';
}

.toggle-label span::before {
    bottom: 8px;
}

.toggle-label span::after {
    top: 8px;
}

#menu {
    position: absolute;
    background: #fff;
    top: 100%;
    width: 100%;
    text-align: center;
    transform: scale(1,0);
    transform-origin: top;
    border-bottom: .5px solid #ddd;
}

#menu ul {
    list-style: none;
    text-align: left;
}

#menu li {
    padding: 20px 5px;
    border-bottom: .5px solid #ddd;
}

#menu a {
    text-decoration: none;
    color: #555;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 20px 14px;
}

#menu a:hover {
    color: #660033;
}

#nav-toggle:checked ~ #menu {
    transform: scale(1,1);
}

#nav-toggle:checked ~ #menu a {
}


/*Button selection */

.btnselection {
    display: flex;
    flex-direction: column;
    max-width: 1000px;
}
.btnbox {
    flex-basis: 99%;
    width: 100%;
    margin: 3px auto;
}

.contactbtnbox {
    flex-basis: 99%;
    width: 100%;
    margin: 3px auto;
}

/* about page */

.aboutheromini {
    margin: 12px auto;
}

.abouthero img {
    margin-top: 10px;
    width: 100%;
}
.infotext {
    margin-bottom: 40px;
    max-width: 800px;
}
.infotext p {
    text-align: left;
    margin: 15px 0;
    font-size: 16px;
}
.infotext h2 {
    margin-top: 20px;
}

.infotext h4 {
    text-align: left;
}

.infotext h5 {
    margin: 20px auto;
    font-size: 18px;
    font-weight: 200;
}

.infotext h3 {
    margin: 25px auto;
}
.infobtn {
    width: 250px;
    display: block;
    font-size: 20px;
    padding: 7px 15px;
    margin: 20px auto;
    color: #fff;
    background-color: #660033;
    text-decoration: none;
}

.infobtn:hover {
    background-color: #820141;
}

/*infotext50%*/

#textboxeshome {
    display: flex;
    flex-direction: column;
}

#textboxes {
    display: flex;
    flex-direction: column;
}

.infotexthalf {
    margin-bottom: 40px;
}
.infotexthalf h1 {
    text-align: left;
    font-size: 20px;
}
.infotexthalf p {
    text-align: left;
    margin: 9px 0;
    font-size: 16px;
}

.infotexthalf h3 {
    margin-top: 25px;
}

.infoimghalf img{
    height: 100%;
    width: 100%;
}

.infoimghalf .imglogo {
    width: 200px;
}

.infoimghalf .imgsmall {
    width: 250px;
}

/*about tables*/

#tableproducts {
    border-collapse: collapse;
}

#tableproducts th {
    font-size: 13px;
    word-break: break-all;
}

#tableproducts th, #tableproducts td {
    border: 1px solid #717171;
    padding: 8px;
}


#tableproducts .pdfbtn {
    display: inline-block;
    padding: 6px;
    top: 1px;
}

#tableproducts #pdfimg {
    margin-left: 0;
    height: 25px; 
}


/*Contact */

#contactus {
    margin: 20px auto;
}

.networking {
    text-align: center;
    margin-bottom: 50px;
}
.networking a{
    text-decoration: underline;
}

/*aktuellt*/

#aktusection{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.aktutext{
    margin: 10px 0;
    width: 100%;
    text-align: left;
}

.aktutext p {
    font-size: 14px;
}

.aktutext a{
    text-decoration: underline;
}


/*Archive*/

#archive {
    text-align: left;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    max-width: 800px;
}

#archive h3 {
    text-align: center;
    font-size: 16px;
    margin: 10px auto;
}

.archivelink{
    margin: 2px 0;
}

.archivelink p {
    display: inline-block;
}

.archivelink h4 {
    display: inline-block;
}

.archivelink a{
    display: inline-block;
    text-decoration: underline;
}

/* LINKS */

.linkunder {
    text-decoration: underline;
}

#links {
    display: flex;
    flex-direction: column;
    font-size: 18px;
}

.linkbox {
    width: 100%;
    text-align: left;
}

.linkbox a{
    display: block;
    margin-bottom: 15px;
}

.pdfbtn {
    top: 10px;
    position: relative;
    padding: 5px;
    background-color: #ddd;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    text-transform: capitalize;
    transition: all .3s;
    border: 1px solid #000;
}

.alignleft{
    text-align: left;
}

.pdfbtnsmall {
    margin: 0;
    padding: 3px;
    display: inline-block;
    position: relative;
    background-color: #ddd;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    text-transform: capitalize;
    transition: all .3s;
    border: 1px solid #000;
}

.pdfbtnsmall:hover {
    color: #660033;
    border: 1px solid #660033;
}


.pdfbtn:hover {
    color: #660033;
    border: 1px solid #660033;
}

#pdfimg {
    margin-left: 5px;
    vertical-align: middle;
    height: 20px;
    width: 20px;
}

/*Multilinks*/

.multilinks {
    display: flex;
    flex-direction: column;
}

.multilinks .pdfbtn {
    top: 0;
}

.multilinks h4 {
    margin: 10px 0;
}

.multilinks a {
    display: block;
    margin: 4px auto;
}


#korsimg {
    margin-top: 40px;
    width: 70px;
    height: 70px;
}

@media (min-width: 800px) {
    .aktutext {
        margin: 10px 0;
        width: 50%;
        text-align: left;
    }
    .abouthero img {
        width: 500px;
    }
    #desktopheader {
        display: flex;
    }
    #desktopheader {
        margin-top: 12px;
        align-items: center;
        padding-bottom: 5px;
        border-bottom: 2px solid #f2f2f2;
    }
    .headerquote {
        font-size: 20px;
        font-weight: 300;
        color: #660033;
    }
    #mobilelogo {
        display: none;
    }
    .toggle-label {
        display: none;
    }
    #mobileheader {
        position: relative;
    }
    #wrapper {
        padding-top: 10px;
        width: 80%;
    }
    #mobileheader .containerheader {
        display: flex;
    }

    #mobileheader #logo {
        flex: 1;
    }
    #menu a {
        opacity: 1;
    }
    #menu {
        all: unset;
        flex: 2;
    }
    #menu ul {
        display: flex;
        height: 100%;
        align-items: center;
        justify-content: flex-end;
        width: 100%;
    }
    #menu li {
        margin: auto;
        border: none;
    }
    .btnhome {
        width: 300px;
        padding: 17px 20px;
        font-size: 18px;
        margin-top: 20px;
    }

    @media (min-width: 1000px) {
        #menu ul {
            width: 90%;
        }
    }

    /*about buttons*/
    .btnselection {
        flex-direction: row;
        justify-content: center;
    }
    .btnbox {
        margin: 1px 1px;
    }
    .contactbtnbox {
        margin: 1px 1px;
        width: 250px;
        flex-basis: 20%;
    }
    .btn {
        display: block;
        padding: 10px 10px;
        height: 100%;
    }
    .btnactive {
        padding: 10px 10px;
        height: 100%;
    }
    /*network*/
    #links {
        flex-direction: row;
        justify-content: center;
        box-sizing: border-box;
    }
    .linkbox {
        justify-content: center;
        margin: 0 20px;
        width: 30%;
        text-align: center;
    }
    /*contactform*/
    #contactform {
        max-width: 700px;
        margin: 20px auto;
    }
    /*about*/
    #textboxes {
        flex-direction: row;
        max-width: 900px;
    }
    #textboxeshome {
        flex-direction: row;
        max-width: 900px;
        align-items: center;
    }
    .infotexthalf {
        padding: 0 20px;
        min-width: 350px;
        max-width: 550px;
    }
    .infoimghalf {
        padding: 0 20px;
        min-width: 350px;
        max-width: 550px;
        font-size: 13px;
    }
}