/* Autor: Twinix Design // http://www.twinix.de */

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-transition: width .75s ease-out;
    -webkit-transition: width .75s ease-out;
    transition: width .75s ease-out;
}

/* body style */
body {
    background: #B7CEE8;
    background-image: url("../grafiken/pattern.png");
    color: #000000;
    font-family: Corbel, Arial, Helvetica, sans-serif;
    font-size: 18px;
    margin: 0;
    padding: 0;
}

/* allgemeine Links */
a {
    color: #577399;
    text-decoration: none;
}

a:link,
a:visited,
a:active {
    color: #577399;
    text-decoration: none;
}

a:hover {
    color: #ff9603;
}

:hover {
    transition: color 0.4s ease 0s;
}

/* header title */
.header h1 {
    font-size: 4em;
    text-transform: uppercase;
    font-family: verdana;
    font-weight: 700;
    color: #fff;
    opacity: .8;
    text-shadow: 1px 1px 1px #919191,
        1px 2px 1px #919191,
        1px 3px 1px #919191,
        1px 4px 1px #919191,
        1px 5px 1px #919191,
        1px 6px 1px #919191,
        1px 7px 1px #919191,
        1px 8px 1px #919191,
        1px 9px 1px #919191,
        1px 10px 1px #919191,
        1px 18px 6px rgba(16, 16, 16, 0.4),
        1px 22px 10px rgba(16, 16, 16, 0.2),
        1px 25px 35px rgba(16, 16, 16, 0.2),
        1px 30px 60px rgba(16, 16, 16, 0.4);
}

.navi h2 {
    color: #000;
    background: #577399;
    box-shadow: 0.1em 0.1em 0.1em 0 hsl(0, 0%, 50%);
    padding: 0.2em 0.2em 0.2em 2em;
    width: 10em;
    margin-left: -.6em;
    position: relative;
}

.navi h2::before {
    content: "";
    position: absolute;
    display: block;
    height: 0;
    width: 0;
    top: 1em;
    left: -0.6em;
    border-style: solid;
    border-width: 0.6em;
    border-color: transparent hsl(215, 27%, 47%) transparent transparent;
    z-index: -1;
}

.navi h2::after {
    content: "";
    position: absolute;
    display: block;
    height: 0;
    width: 0;
    top: -0.2em;
    right: -0.25em;
    border-style: solid;
    border-width: 1em;
    border-color: transparent white transparent transparent;
}

/* social media */
.social-links {
    flex: 100%;
    text-align: right;
    margin-bottom: 0.278em;
}

.social-links a {
    width: 1.667em;
    height: 1.667em;
    line-height: 25px !important;
    position: relative;
    margin: 0 0.278em;
    text-align: center;
    display: inline-block;
    color: #000;
    -webkit-transition: all 0.27s cubic-bezier(0.300, 0.100, 0.580, 1.000);
    -moz-transition: all 0.27s cubic-bezier(0.300, 0.100, 0.580, 1.000);
    -o-transition: all 0.27s cubic-bezier(0.300, 0.100, 0.580, 1.000);
    -ms-transition: all 0.27s cubic-bezier(0.300, 0.100, 0.580, 1.000);
    transition: all 0.27s cubic-bezier(0.300, 0.100, 0.580, 1.000);
}

.social-links a i,
.social-links a span {
    position: relative;
    top: 0.111em;
    left: 0.056em;
}

.social-links a:before {
    content: "";
    display: inline-block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: 1px solid #577399;
    -webkit-border-radius: 0.111em;
    -moz-border-radius: 0.111em;
    border-radius: 0.111em;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all 0.27s cubic-bezier(0.300, 0.100, 0.580, 1.000);
    -moz-transition: all 0.27s cubic-bezier(0.300, 0.100, 0.580, 1.000);
    -o-transition: all 0.27s cubic-bezier(0.300, 0.100, 0.580, 1.000);
    -ms-transition: all 0.27s cubic-bezier(0.300, 0.100, 0.580, 1.000);
    transition: all 0.27s cubic-bezier(0.300, 0.100, 0.580, 1.000);
}

.social-links a:hover {
    color: #fff;
}

.social-links a:hover:before {
    background: #ff9603;
}

/* seiten container */
#wrap {
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
    padding: 0;
}

.topbar {
    flex: 100%;
    min-height: 2.222em;
    border-bottom: 0.167em solid #819196;
    background: #fff;
    opacity: .7;
}

.dot {
    height: 0.667em;
    width: 0.667em;
    background-color: #ff9603;
    border-radius: 50%;
    display: inline-block;
    margin-left: 0.556em;
    margin-top: 0.556em;
}

/* header */
.header {
    padding: 1.111em;
    flex: 100%;
    background-image: url("../grafiken/header.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 15.556em;
    margin: 0 auto;
    text-align: center;
    border-bottom: 0.167em solid #819196;
}

/* column container (.side & .main) */
.contwrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 85%;
    margin: 0 auto;
    margin-top: 0.556em;
    margin-bottom: 0.556em;
    background: #fff;
    opacity: .7;
    border: 0.167em solid #577399;
    border-radius: 0.556em;
}

/* sidebar / left column */
.side {
    flex: 15%;
}

/* main column / content */
.main {
    flex: 60%;
    padding: 20px;
}

/* footer */
.footer {
    padding: 0.556em;
    text-align: center;
    background: #fff;
    border-top: 0.167em solid #577399;
    opacity: .7;
}

/* navigation */
input#responsive-nav,
label.responsive-nav-label {
    display: none;
    margin: auto;
}

.navbar {
    display: flex;
    width: 100%;
    background: #fff;
    padding: 0.278em 0.278em 0.278em 0.833em;
}

#mainmenu {}

ul.mainmenu {
    margin: 0;
    padding: 0;
}

li.mainmenu {
    display: block;
    width: 100%;
    margin: 0;
}

li.mainmenu a {
    padding: 0.444em 0.889em;
    border-left: 0.167em solid #577399;
    text-decoration: none;
}

li.mainmenu a:hover {
    border-left: 0.167em solid #ff9603;
}

a.menu {
    display: block;
    color: #000;
    text-decoration: none;
}

a.menu:hover {
    color: #ff9603;
}

a.menuactive {
    display: block;
    font-weight: bold;
    color: #000;
    text-decoration: none;
}

a.menuactive:hover {
    color: #ff9603;
}

/* submenu */
ul.submenu {
    margin: 0em;
    padding: 0em;
}

li.submenu {
    margin: 0em;
    padding: 0em;
    list-style-type: none;
}

a.submenu {
    display: block;
    color: #000;
}

a.submenu:hover {
    color: #ff9603;
}

a.submenuactive {
    display: block;
    font-weight: bold;
    color: #ff9603;
}

a.submenuactive:hover {
    color: #ff9603;
}

/* detailmenu */
ul.detailmenu {
    margin: 0;
    padding: 0;
}

li.detailmenu {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

li.detailmenu a {
    text-decoration: none;
    color: #000;
}

/* ----------- mozilo syntax ------------- */
hr {
    border: none;
    border-top: .059em #577399 dotted;
    max-width: 100%;
    margin: .625em 0;
}

.leftcontentimage {
    float: left;
}

.rightcontentimage {
    float: right;
}

.alignleft {
    text-align: left;
}

.aligncenter {
    text-align: center;
}

.alignright {
    text-align: right;
}

.alignjustify {
    text-align: justify;
}

.highlight {
    padding: .059em;
    background: #dd0000;
    color: #fff;
}

.unorderedlist,
.orderedlist {
    padding-left: 1.471em;
}

.col-75 input[type=text],
input[type=email],
input[type=url],
select,
textarea {
    background-color: #577399;
}

/* ----------- tabelle ------------- */
table.contenttable {
    width: 100%;
    height: auto;
    border: .059em solid #000;
    border-collapse: collapse;
    padding: .294em;
}

th.contenttable {
    border: .059em solid #000;
    text-align: center;
    padding: .294em;
    background: #577399;
    color: #000;
}

td.contenttable1,
td.contenttable2 {
    border: .059em solid #000;
    text-align: center;
    padding: .294em;
}

/* sitemap */
.sitemap {
    padding: 0 0 .588em 0.778em;
}

.sitemap h2 {
    margin: 1.176em .882em .588em 0;
    padding-bottom: .118em;
    border-bottom: .059em #000 dotted;
}

.sitemap li {
    padding-bottom: .294em;
}

.sitemap a {
    text-decoration: none;
}

/* bilder */
img {
    border: none;
    max-width: 100%;
    vertical-align: top;
}

.contentimage {
    display: inline-block;
    max-width: 100%;
    -webkit-box-shadow: 0.412em 0.412em 0.294em 0em rgba(50, 50, 50, 0.75);
    -moz-box-shadow: 0.412em 0.412em 0.294em 0em rgba(50, 50, 50, 0.75);
    box-shadow: 0.412em 0.412em 0.294em 0em rgba(50, 50, 50, 0.75);
}

span.imagesubtitle {
    display: block;
    font-size: .706em;
    color: #000;
    line-height: .824em;
    text-align: center;
}

img.leftcontentimage {
    max-width: 14.706em;
}

span.leftcontentimage {
    float: left;
    max-width: 14.706em;
    margin: .235em .588em .588em 0;
}

img.rightcontentimage {
    max-width: 14.706em;
}

span.rightcontentimage {
    float: right;
    max-width: 14.706em;
    margin: .235em 0 .588em .588em;
}

/* ----------- Media Querry ------------- */
/* ---------- max-width 900px ----------- */
@media only screen and (max-width: 900px) {
    .contwrap {
        flex-direction: column;
    }

    .contwrap,
    .side,
    .main {
        width: 100%;
    }

    .contwrap {
        border: none;
        margin-top: 0;
        margin-bottom: 0;
        border-radius: 0em;
    }

    .side {
        border-bottom: 0.167em solid #577399;
    }

    .icon-bar {
        display: none;
    }

    .navi h2 {
        display: none;
    }

    label.responsive-nav-label {
        position: absolute;
        top: -7px;
        right: 27px;
        display: block;
        padding: 1.176em;
        cursor: pointer;
        color: #000;
    }

    label.responsive-nav-label span {}

    .line {
        position: absolute;
        left: 10px;
        height: 4px;
        width: 40px;
        background: #000;
        border-radius: 50%;
        display: block;
        transition: 0.7s;
        transform-origin: center;
    }

    .line:nth-child(1) {
        top: 12px;
    }

    .line:nth-child(2) {
        top: 24px;
    }

    .line:nth-child(3) {
        top: 36px;
    }

    #responsive-nav:checked+.responsive-nav-label .line:nth-child(1) {
        transform: translateY(12px) rotate(-45deg);
    }

    #responsive-nav:checked+.responsive-nav-label .line:nth-child(2) {
        opacity: 0;
    }

    #responsive-nav:checked+.responsive-nav-label .line:nth-child(3) {
        transform: translateY(-12px) rotate(45deg);
    }

    .navbar {
        position: absolute;
        top: -9999px;
        padding: .588em;
    }

    input#responsive-nav[type=checkbox]:checked~.navbar {
        position: relative;
        top: 0;
    }

    .navbar>ul {
        width: 100%;
        background: #fff;
    }

    .navbar ul a {
        text-align: left;
        width: 100%;
        height: auto;
        border-bottom: 0.056em dotted #000;
    }

    .navbar>ul,
    nav>ul>li {
        float: none;
    }

    .navbar>ul>li>ul {
        visibility: visible;
        opacity: 1;
        transition: none;
    }

    .navbar>ul>li>ul,
    nav>ul>li:hover>ul {
        position: relative;
    }

    .navbar>ul>li>ul>li:hover>ul {
        position: relative;
        left: 0;
    }

    .navbar ul>li>ul>li a {
        width: 100%;
        color: #000;
        background-color: #f9f9f9;
        padding-left: 1.471em;

    }

    .navbar>ul>li>ul>li>ul>li>a {
        font-style: italic;
        padding-left: 2.941em;
    }

    .navbar ul>li>ul>li:last-child a {
        border-radius: none;
    }

    .navbar>ul>li {
        display: block;
    }

    .navbar>ul {
        display: block;
    }

    .navbar ul li ul {
        display: block;
    }
}

/* ---------- max-width 720px ----------- */
@media only screen and (max-width: 720px) {
    .header h1 {
        font-size: 3em;
    }

    #mainmenu,
    .main,
    .footer {
        font-size: 90%;
    }
}

/* ---------- max-width 600px ----------- */
@media only screen and (max-width: 600px) {
    .header h1 {
        font-size: 2em;
    }

    .header {
        min-height: 8.333em;
    }

    #mainmenu,
    .main,
    .footer {
        font-size: 86%;
    }

    .social-links {
        text-align: center;
    }
}