html {
    height:100%;
    width:100%;
}
body{
    margin:0;
    /*min-width: 900px;*/
    height: 100%;
    font-size:16px;
}
.clear {
    clear:both;
}

.rahmen {
    position:relative;
    width:100%;
    min-height: 100%;
    height:auto !important;
    height:100%;
}
.leiste {
    background-color:#C9DB03;
    width:20px;
    position:absolute;
    height: 100%;
    top:0;
    left:0;
}

.logo {
    float:right;
    margin-right:10px;
}

.logo img {
    margin:20px;
    margin-right: 0;
    height:100px;
    width:auto;
}

.menu_oben > ul {
    float:left;
    margin:0 0 0 35px;
    padding:0;
    display:block;
    line-height: 2.5em;
}
.menu_oben > ul > li {
    display:inline;
    margin: 0 0.5em 0 0;
    padding:0;
}
.menu_oben > ul > li > a{
    white-space:nowrap;
    padding: 5px 10px;
    color:black;
    font-size:1.2em;
    transition:background-color 0.2s;
    -webkit-transition:background-color 0.2s;
    -moz-transition:background-color 0.2s;
    -o-transition:background-color 0.2s;
}

.menu_oben ul li ul {
    display: none;
}

.menu_oben > ul > li >  a:hover, .menu_oben > ul > li >  a:focus,.menu_oben > ul > li.current > a, .menu_oben> ul > li.active > a{
    background-color: #EEEEEE;
    text-decoration:none;
}


.impressumlink_oben {
    display: none;
}

/*.impressumlink_oben {
    float:right;
    margin-top: 1.4em;
    margin-right: 10px;
}

.impressumlink_oben a {
    text-decoration:none;
    color:#333333;
    -webkit-transition: text-shadow 0.2s,color 0.2s;
    -o-transition: text-shadow 0.2s,color 0.2s;
    -moz-transition: text-shadow 0.2s,color 0.2s;
    transition: text-shadow 0.2s,color 0.2s;
}

.impressumlink_oben a:hover,.impressumlink_oben a:focus {
    text-decoration:none;
    -webkit-text-shadow:1px 1px 15px #AAAAAA;
    -moz-text-shadow:1px 1px 15px #AAAAAA;
    -o-text-shadow:1px 1px 15px #AAAAAA;
    text-shadow:1px 1px 15px #AAAAAA;
    color:black;
}*/

.trenner1 {

    border-top-style: solid;
    border-top-width: 3px;
    border-top-color: #C9DB03;
    margin: 0 1% 0 30px;
}

.sidebar {
    float:left;
    min-height:300px;
    width:15em;
    margin:10px 0 0 0;
    padding:20px 0px 10px 15px;
    overflow:hidden;
    border-right:2px solid #CCCCCC;
    border-left: #C9DB03 20px solid;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.menu_links > ul {
    margin:0;
    padding:0;
    width:14em;
    line-height: 1.5em;
    display:inline-block;
}
.menu_links > ul > li {
    border-bottom: 1px solid #CCCCCC;
    display:block;
    margin:0;
}
.menu_links > ul > li:last-child {
    border-bottom-style:none;
}


.menu_links > ul > li > a {
    /*white-space:nowrap;*/
    padding: 0.5em 0 0.5em 0;
    color:#555555;
    font-size:1.2em;
    display:block;
    -webkit-transition: text-shadow 0.2s,color 0.2s;
    -o-transition: text-shadow 0.2s,color 0.2s;
    -moz-transition: text-shadow 0.2s,color 0.2s;
    transition: text-shadow 0.2s,color 0.2s;

}

.menu_links > ul > li > a:hover, .menu_links > ul > li > a:focus,.menu_links > ul > li.active > a, .menu_links > ul > li.current > a {
    text-shadow:1px 1px 15px #AAAAAA;
    -webkit-text-shadow:1px 1px 15px #AAAAAA;
    -moz-text-shadow:1px 1px 15px #AAAAAA;
    -o-text-shadow:1px 1px 15px #AAAAAA;
    color:black;
    text-decoration: none;
}


.content > div{
    margin-top:1em;
    margin-right:15px;
    margin-bottom:3em;
}

.content img {
    max-width: 100%;
    height: auto;
}

.content p {
    line-height: 120%;
}

.content_m {
    margin-left:37px;
    max-width:1040px;
}

.content_m > div {
    margin-left:16em;
}

.content_o {
    margin-left:20px;
    max-width:1300px;
}

.content_o > div {
   margin-left: 15px
}


.content::after {
   display:block;
   content:'\00a0';
}


.sidebar_border {
    height: 0;
    height: -moz-calc(100% - 400px - 1.7em - 3em);
    height: -webkit-calc(100% - 400px - 1.7em - 3em);
    height: calc(100% - 400px - 1.7em - 3em); /* Gesamthöhe - Kopfbereich(fest) - Kopfbereich(dynamisch) - Abstand(unten) */

    left: -webkit-calc(-1 * (100% - 100% - 35px - 15em));
    left: -moz-calc(-1 * (100% - 100% - 35px - 15em));
    left: calc(-1 * (100% - 100% - 35px - 15em));

    width: 0px;
    border-right:2px solid #CCCCCC;
    position:absolute;

    top:-webkit-calc(-1 * (100% - 100% - 400px - 1.7em));
    top:-moz-calc(-1 * (100% - 100% - 400px - 1.7em));
    top:calc(-1 * (100% - 100% - 400px - 1.7em)); /* Kopfbereich(fest) + Kopfbereich(dynamisch) */
}

.impressumlink_oben{
    display:none;
}


.impressumlink_unten a:hover, .impressumlink_unten a:focus {
    text-decoration:none;
    color: black;
}

.impressumlink_unten {
    display:block;
    background-color: #EEEEEE;
    width:100%;
    clear:both;
    padding:4px 4px 4px 24px;
    position:absolute;
    bottom:0;
    text-align: center;
}

.impressumlink_unten p {
    margin: 0;
}

.impressumlink_unten, .impressumlink_unten a {
    text-decoration:none;
    color:black;
    margin:0;
    font-family:sans-serif;
}

.impressumlink_unten .neos-contentcollection > * {
    margin-top: 0;
    margin-bottom: 0;
}


.bild_text {
    margin-top: 1em;
}

.bild_text > div {
    display: inline-block;
    width: 100%;
}

.bild_text > div p {
    margin-top: 0;
}

.bild_text > div > img, .bild_text > div > a > img {
    float: left;
    margin-right: 1em;
    margin-bottom: 1em;
}

.bild_text > div > div {
    float: left;
    width: -moz-calc(100% - 300px - 1em);
    width: -webkit-calc(100% - 300px - 1em);
    width: calc(100% - 300px - 1em); /* Gesamtbreite - Bildbreite - Abstand */
    min-width: 280px;
}

.bild_text > div > div:last-child {
    margin-bottom: 1em;
}


/*Fonts*/

@font-face {
    font-family: 'Adventor';
    src: url('../Fonts/Adventor-Regular.eot');
    src: url('../Fonts/Adventor-Regular.eot?#iefix') format('embedded-opentype'),
        url('../Fonts/Adventor-Regular.woff') format('woff'),
        url('../Fonts/Adventor-Regular.ttf') format('truetype'),
        url('../Fonts/Adventor-Regular.svg#AdventorRegular') format('svg');

    font-weight: normal;
    font-style: normal;
}

/*@media screen and (-webkit-min-device-pixel-ratio:0) {
    @font-face {
        font-family: 'Adventor';
        src: url('font/Adventor-Regular.svg#AdventorRegular') format('svg');
    }
}*/

.content {
    font-family: Arial,Helvetica,Verdana,sans-serif;
    /*font-weight: lighter;*/
}

.content h1 {
    font-family: Adventor,sans-serif;
    font-weight: normal;
}
.content h1:first-child {
    margin-top: 0.2em
}

.menu_links, .menu_links a{
    text-decoration:none;

    font-family: Adventor,sans-serif;
}

.menu_oben, .menu_oben a{
    text-decoration:none;
    color:black;
    font-family: Adventor,sans-serif;
}

/*.impressumlink_oben, .impressumlink_oben a{
    text-decoration:none;
    font-family: sans-serif;
}*/

@media (min-width: 500px) and (max-width: 899px) {

    body {
        min-width: 0;
    }

    .logo {
        float:none;
        margin:0;
    }

    .logo img {
        width:500px;
        height:auto;
        max-width: 60%;
        float:right;
        margin:5px 5px 20px 5px;
    }

    .menu_oben > ul > li {
        display:inline;
        margin: 0 0.5em 0 0;
        padding:0;
    }

    .menu_oben > ul > li > a{
        padding: 0.3em 0.3em 0.3em 0.3em;
        font-size:1em;
    }

    /*.impressumlink_oben {
        display:none;
    }*/

    .trenner1 {
        margin: 0 5px 0 30px;
    }

    .sidebar {
        min-height:0;
        float:none;
        width:auto;
        margin:0;
        padding:0 0px 0 35px;
        overflow:visible;
        border:none;
    }
    
    .menu_links > ul {
        width: auto;
    }

    .menu_links > ul > li {
        border:none;
        border-left: 1px solid #CCCCCC;
        float: left;
        margin-bottom: 5px;
        margin-top: 5px;
    }

    .menu_links > ul > li:last-child {
        border-right: 1px solid #CCCCCC;
    }

    .menu_links > ul > li > a {
        
        padding: 0.5em 5px 0.5em 5px;
        font-size:1em;

    }

    .content_m {
        margin-left:20px;
    }

    .content > div {
        margin-right:15px;
        margin-bottom:4em;
        margin-left:15px;
    }


    .sidebar_border {
        display:none;
    }

    @-moz-document url-prefix() { 
        .content img {
            /*max-width: 450px;*/
            height: auto;
        }
    }
}

@media (max-width: 499px) {
    body {
        min-width: 0;
    }

    .leiste {
        display:none;
    }

    .logo {
        padding: 0.2em 5px 1.2em 5px;
        border-left:#C9DB03 solid 10px;
        float:left;
        margin:0;
    }

    .logo img {
        width: 100%;
        height: auto;
        max-width:500px;
        margin:0;
    }
    .menu_oben {
        border-left:#C9DB03 solid 10px;
        padding: 0 0 0.2em 0;
    }

    .menu_oben > ul {
        float:none;
        padding:0;
        margin:0;
    }
    .menu_oben > ul > li {
        display: block;
        margin: 0.5em 0 0 0;
        padding: 0 5px 0 5px;

    }
    .menu_oben > ul > li > a{
        color:black;
        display:block;
        margin:0;
        font-size:1em;
        background-color: #f8f8f8;
        padding: 0.4em 0.3em 0.4em 0.3em;
        transition:background-color 0s;
        -webkit-transition:background-color 0s;
        -moz-transition:background-color 0s;
        -o-transition:background-color 0s;

    }


    .trenner1 {
        margin: 0.5em 0 0 0;
        border:none;

    }

    .sidebar_border {
        display:none
    }

    /*.impressumlink_oben {display:none;}*/

    .sidebar {
        min-height:0;
        float:none;
        width:auto;
        margin:0;
        padding:0;
        overflow:visible;
        border:none;
    }

    .menu_oben ul li > ul {
        display: block;
        width: 100%;
        min-width: 100%;
	padding-left: 1em;
    }
    .menu_oben ul li  > ul > li {
        display: block;
        margin: 0.5em 0 0 0;
        padding: 0 0 0 5px;
    }

    .menu_oben ul li > ul > li > a {
        color:black;
        display:block;
        margin:0;
        font-size:1em;
	margin-left: 1px;
	padding: 0.4em 0.3em 0.4em 0.3em;

    }

    .menu_oben ul li > ul > li > a:hover, .menu_oben ul li > ul > li > a:focus, .menu_oben ul li > ul > li.active > a, .menu_oben ul li > ul > li.current > a {
	border-left: 1px solid black;
	text-decoration:none;
	margin-left: 0;
    }

    .menu_oben a:focus, .menu_oben a:hover {
        -webkit-text-shadow:1px 1px 15px #AAAAAA;
        -moz-text-shadow:1px 1px 15px #AAAAAA;
        -o-text-shadow:1px 1px 15px #AAAAAA;
        text-shadow:1px 1px 15px #AAAAAA;
    }

    .menu_links {
        display: none;
    }

    .trenner2 {
        border-top-style: solid;
        border-top-width: 3px;
        border-top-color: #C9DB03;
        margin: 0;
    }


    .content {
	margin-left: 0em
    }

    .content > div {
        margin: 0.5em 15px 4em 15px;
    }


    .sidebar_border {
        display:none;
    }

    .impressumlink_unten {
        margin:0;
	padding: 3px;
    }


    /*@-moz-document url-prefix() {
        #inhalt img {
            max-width: 250px;
            height: auto;
        }
    }*/
}

@media (max-width: 699px) {

    .bild_text {
        margin-top: 1em;
    }

    .bild_text > div {
        display: inline-block;
    }

    .bild_text > div p {
        margin-top: 0;
    }

    .bild_text > div > img, .bild_text > div > a > img {
        float: none;
        display: block;
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 1em;
    }

    .bild_text > div > div {
        float: none;
        width: 100%
    }

    .bild_text > div > div:last-child {
        margin-bottom: 1em;
    }


}


.typo3-neos-alignment-right{float:right;margin-left:2em;margin-bottom:1em}.typo3-neos-alignment-left{float:left;margin-right:2em;margin-bottom:1em}.carousel{margin-bottom:1.5em}.carousel-indicators{bottom:0}.carousel-indicators li{width:16px;height:16px;margin:0;border-color:#ccc;background-color:#888;-moz-transition:box-shadow 0.1s;-o-transition:box-shadow 0.1s;-webkit-transition:box-shadow 0.1s;transition:box-shadow 0.1s;-moz-box-shadow:0 1px 3px rgba(0,0,0,0.2);-webkit-box-shadow:0 1px 3px rgba(0,0,0,0.2);box-shadow:0 1px 3px rgba(0,0,0,0.2)}.carousel-indicators .active{width:16px;height:16px;background-color:#00ADEE;-moz-box-shadow:0 1px 6px rgba(0,0,0,0.5);-webkit-box-shadow:0 1px 6px rgba(0,0,0,0.5);box-shadow:0 1px 6px rgba(0,0,0,0.5)}@media only screen and (max-width: 767px){.carousel-indicators{display:none}}.carousel-control.right,.carousel-control.left{background:none}.neos-backend .carousel-control{display:none}@media only screen and (max-width: 767px){.carousel-caption{font-size:15px;padding-bottom:0}}
ol.neos-list-decimal{list-style-type:decimal}ol.neos-list-decimal-leading-zero{list-style-type:decimal-leading-zero}ol.neos-list-lower-roman{list-style-type:lower-roman}ol.neos-list-upper-roman{list-style-type:upper-roman}ol.neos-list-lower-greek{list-style-type:lower-greek}ol.neos-list-lower-latin{list-style-type:lower-latin}ol.neos-list-upper-latin{list-style-type:upper-latin}ul.neos-list-disc{list-style-type:disc}ul.neos-list-circle{list-style-type:circle}ul.neos-list-square{list-style-type:square}.neos-nodetypes-textwithimage+*{clear:both}.neos-nodetypes-textwithimage div{min-width:15em;float:left}.neos-contentcollection>*{margin-top:1em;margin-bottom:1em}.neos-nodetypes-text::after{display:block;clear:both;content:''}table p{padding: 0;margin: 0}

