:root {
	 --main-color: #385B7E;
	 --menu-fontcolor: red;
	 --head-fontfamily: 'Arial', sans-serif;
	 --menu-hover-fontcolor: blue;
	 --highlight-color: #5A919F;
	 --main-fontfamily: 'Arial', sans-serif;
	 --main-fontcolor: purple;
	 --bgcolor: #fff2da;
}
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    padding:0px; 
    margin:0px;
}

body {
    font-size:10px;
    height:100.01%;
    color:#000000;
    background-color: var(--bgcolor);
    text-align:center;
    padding:25px;
    font-family: var(--main-fontfamily);
    font-size: 14px;
    line-height: 20px;
}

a {
    height:100.01%;
    color:#000000;
    color: var(--main-color);
    text-decoration:none;    
}

#main {
    position: relative;
    background-image: url(/fileadmin/template/img/mainbg.gif);
    background: #fff;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 964px;
    min-height: 651px;
    margin: auto;
    text-align: left;
    display: block;
}

@media (max-width: 500px) {
    body {
        background-color: #fff;
        padding: 0;
    }
}

#header,
#contentWrap,
#images {
    padding-left: 70px;
    padding-right: 70px;
}

@media (max-width: 1000px) {
    #header,
    #contentWrap,
    #images {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 500px) {
    #header,
    #contentWrap,
    #images {
        padding-left: 20px;
        padding-right: 20px;
    }
}

#header {
    border-bottom: 3px solid #5A919F;
    float: left;
    padding-top: 10px;
    padding-bottom: 10px;
    position: relative;
    width: 100%;
    min-height: 112px;
    display: flex;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
    -o-justify-content: space-between;
    justify-content: space-between;
    align-items: end;
}

#header:after {
    background-color: #5A919F;
    bottom: 2px;
    content: "";
    display: block;
    height: 1px;
    left: 0;
    position: absolute;
    width: 100%;
}

#main #menu {
    position: relative;
}

#logo {
    position: relative;
}

#logo img {
	height: 74px;
}

#images {
    position: relative;
    width: 100%;
    padding-top: 12px;
    padding-bottom: 12px;
    overflow: hidden;
    float: left;
    margin: 0;
}

#images img {
    width: 100%;
    height: auto;
}

#content2 {
    display:none;
}

#contentWrap {
    padding-top: 20px;
    padding-bottom: 20px;
    position: relative;
    float: left;
    width: 100%;
    overflow: auto;
}

#small #contentWrap,
#impressum #contentWrap {
    float: left;
    position: relative;
    width: 100%;
}

#small #contentWrapInner,
#impressum #contentWrapInner {
    margin-left: -25px;
    margin-right: -25px;
    display: flex;
    -webkit-flex-flow: row wrap;
    -moz-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    -o-flex-flow: row wrap;
    flex-flow: row wrap;
    justify-content: space-between;
}

#small #content2,
#impressum #content2 {
    display: block;
}

#small #content,
#small #content2,
#impressum #content,
#impressum #content2 {
    width: 50%;
    padding-left: 25px;
    padding-right: 25px;
}

#impressum #content {
    width: 35%;
}

#impressum #content2 {
    width: 65%;
}

@media (max-width: 767px) {
    #small #content,
    #small #content2,
    #impressum #content,
    #impressum #content2 {
        width: 100%;
    }
}

#content2 p {
    padding-right:10px;
}

#footer {
    position: absolute;
    right: 10px;
    bottom: -27px;
    height: 20px;
}

#footer li {
    float:left;
    padding-left:15px;
    list-style:none;
}

#footer li a {
    font-family:Arial;
    color:#777777;
    font-size:10px;
    text-decoration:none;
}

#menu li {
    float:left;
    list-style:none;
    margin-right:30px;
}

#menu li.menu0 a {
    text-transform: uppercase;
    font-family: var(--main-fontfamily);
    text-decoration:none;
    color:#3d7397;
    font-size:13px;
    font-weight:bold;
}

#menu li.menu0_act a {
    text-transform: uppercase;
    font-family: var(--main-fontfamily);
    text-decoration:none;
    color: var(--main-color);
    font-size:13px;
    font-weight:bold;
}


#images .csc-textpic {
    margin-left:-20px;
}



h1 {
    color: var(--main-color);
    font-size:22px;
    line-height: 1.2em;
    padding-top:2px;
    padding-bottom:2px;
    /*margin-top:-4px;
    height:33px;*/
    top:-4px;
    display:block;
    margin-bottom: 10px;
}

h2 {
    color: var(--main-color);
    font-size:18px;
    line-height: 1.2em;
    padding-top:2px;
    padding-bottom:2px;
    /*margin-top:-4px;
    height:33px;*/
    top:-4px;
    display:block;
    margin-bottom: 10px;
}

.csc-header {
    margin-top:5px;
    height:30px;
}
#header2 {
    color: var(--main-color);
    margin-left:5px;
    margin-top:10px;

}

.csc-firstHeader {
    float:left;
}

p {
    color: var(--main-color);
}

#small p {
    color: var(--main-color);
}

p a {
    text-decoration:none;
    color: var(--main-color);
}

#content ul {
    margin-left: 20px;
}

#content li {
    list-style-type:disc;
    text-decoration:none;
    color: var(--main-color);
}

/*#content li a {
    color:#3d7397;
    text-decoration:none;
}*/

#content li a:hover {
    color: var(--main-color);
}



.tx-thmailformplus-pi1 {
    float:right;
}

.tx-thmailformplus-pi1 td {
    color: var(--main-color);
}

.tx-thmailformplus-pi1 .kontakt-input {
    background-color:#d6e7f0;
    bordeR:none;
    height:20px;
    width:300px;
    color:#3d7397;
}

.tx-thmailformplus-pi1 .kontakt-ort {
    background-color:#d6e7f0;
    bordeR:none;
    height:20px;
    width:230px;
    color:#3d7397;
}

.tx-thmailformplus-pi1 .kontakt-plz {
    background-color:#d6e7f0;
    bordeR:none;
    height:20px;
    width:65px;
    color:#3d7397;
}


.tx-thmailformplus-pi1 textarea {
    background-color:#d6e7f0;
    bordeR:none;
    height:80px;
    color:#3d7397;
    width:300px;
}


#content td {
    margin:0px;padding:2px;
}

#content td p {
    color:#3d7397;
}

#small table {
    margin: 0 0 20px;
    padding:0px;
    border-spacing:0px;
}

#small table td {
    color:#3d7397;
    padding:4px;
    padding-left:10px;
    padding-right:15px;
    margin:0px;
    font-size:12px;
}


#small table tr
{
    background-color:#ffffff;
}

#small table tr:nth-child(2n)
{
    background-color:#d6e7f0;
}

#hellblau {
color:#3d7397;
}

#pop {
    position: absolute;
}

#home #content2 {
    display: block;
}

.elastic {
    position: relative;
    padding-bottom: 55%;
    padding-bottom: 69%;
    height: 0;
    overflow: hidden;
}
.elastic iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 920px) {
    #menu {
        display: none;
    }

    /*#header {
        -webkit-justify-content: revert;
        -moz-justify-content: revert;
        -ms-justify-content: revert;
        -o-justify-content: revert;
        justify-content: revert;
        align-items: end;
    }*/
}