body{
    margin: 0px;
    padding: 0px;
    font-family: Segoe UI,Tahoma,Sans-Serif,Arial,Verdana,Helvetica;
    font-size: 16px;
    line-height: 20px;
    color: #58585A;
    border-top: 3px solid #81b4e6;
    overflow-x:hidden;
    overflow-y:scroll;
    width: 100%;
    transition: all 0.5s;
}

.wrapper{
    width: 1400px;
    margin: auto;
    transition: all 0.5s;
}

#nav1{
    padding: 4px;
    height: 100px;
}

#nav1 li{
    display: inline-block;
    list-style-type: none;
    text-transform: uppercase;
    font-size: 125%;
    padding: 24px 0 0 0;
    margin: 0 50px 0 0;
    transition: all 0.5s;
}

#nav1 li:first-child{
    float: right;
    padding: 0;
    margin: 0;
}

#nav1 li a[href]:link, #nav1 li a[href]:visited{
    color: #0064B4;
    padding: 20px 0 0 0;
    text-decoration: none;
    transition: all 0.5s;
}

#nav1 li a[href]:hover{
    color: #87C873;
    padding: 20px 0 0 0;
    text-decoration: none;
    transition: all 0.5s;
}

#nav1 li a[href].active{
    color: #87C873;
    padding: 20px 0 0 0;
    border-top: 5px solid #87C873;
    margin-top: 2px;
    text-decoration: none;
    transition: all 0.5s;
}

#quicklinkbox {
    position: fixed;
    top: 155px;
    right: 0px;
    z-index: 300;
    width: 300px;
    transition: all 0.5s;
    display: block;
}

#quicklinkbox a:link,#quicklinkbox a:visited {
    display: block;
    font-size: 130%;
    text-decoration:none;
    clear:both;
    margin-top: 5px;
    padding: 10px;
    color: white;
    font-weight: semi-bold;
    height: 25px;
    overflow: hidden;
    white-space:nowrap;
}

#quicklinkbox.small {
    width: 40px;
}

#quicklinkbox.small:hover {
    width: 300px;
}

#quicklinkbox i { margin-right: 1px; width: 30px;}

#quicklinkbox .quicklink_darkblue { background-color: #0064B4; }
#quicklinkbox .quicklink_lightblue { background-color: #81b4e6; }
#quicklinkbox .quicklink_green { background-color: #87C873; }
#quicklinkbox .quicklink_grey { background-color: #70787d; }


#logo{
    height: 100px;
    width: auto;
}

#header_start {
    height: 600px;
    border-bottom: 5px solid #87C873;
    position: relative;
    padding: 0px;
}

#header_start li {
    height: 600px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: absolute;
    list-style-type: none;
    display: block;
    width: 100%;
    transition: all 4s;
    opacity: 0;
    z-index: 100;
}
#header_start li.active {
    opacity: 1;
    z-index: 101;
}
#header_start .startmessagebox {
    position: absolute;
    background-color: rgba(0,0,0,0.5);
    padding: 50px;
    margin-left: -50px;
    margin-top: 100px;
    color: white;
    font-size: 135%;
    line-height: 135%;
    max-width: 350px;
    text-decoration:none;
}

#header_start .startmessagebox b {
    font-size: 150%;
    line-height: 110%;
    margin-bottom: 0px;
    display: block;
}

#header{
    height: 300px;
    background-repeat: no-repeat;
    background-size: cover;
    border-bottom: 5px solid #87C873;
    transition: all 0.5s;
    background-position: center;
}


#title{
    width: 250px;
    height: 30px;
    background-color: #0064B4;
    position: absolute;
    margin-top: -30px;
    text-transform: uppercase;
    color: #fff;
    font-size: 150%;
    text-align: center;
    padding: 110px 0;
    box-shadow: 10px 10px 10px rgba(0,0,0,0.2);
    transition: all 0.5s;
}

#main {
    background: linear-gradient(90deg, rgba(221,232,247,1) 0%, rgba(221,232,240,1) 38%, rgba(255,255,255,1) 38%, rgba(255,255,255,1) 100%);
    position: relative;
    margin-top: 50px;
}
#main #nav2 {
    background-color: #ecf4fb;
    display: block;
    width: 250px;
    height: 100%;
    position: absolute;
    border-right: 50px solid #ffffff;
    margin: 0 0 0 -50px;
    border-left: 50px solid #ecf4fb;
    padding: 0px 50px 0px 0px;
}

#main #nav2 li {
    list-style-type:none;
    border-bottom: 1px solid #0064B4;
}

#main #nav2 li:first-child {
    margin-top: 50px;
}
#main #nav2 li:last-child {
    border-bottom: none;
}

#main #nav2 li a:link, #main #nav2 li a:visited {
    color: #0064B4;
    text-decoration: none;
    padding-top: 10px;
    padding-bottom: 10px;
    display: block;
}

#main #nav2 li a:hover, #main #nav2 li a:active, #main #nav2 li a.active {
    color: #87c873;
    
}

#main #nav2 li h4{
    color: #0064B4;
    font-weight: 400;
    font-size: 130%;
    line-height: 120%;
}

#main #nav2 li p{
    color: #81b4e6;
    font-weight: 400;
    line-height: 140%;
}

#main #content {
    background-color: #ffffff;
    display: block;
    margin-left: 350px;
    height: 100%;
    position: relative;
    border-bottom: 5px solid #87C873;
    min-height:380px;
    line-height: 170%;
}

#main #content h1 {
    color: #87c873;
    font-size: 30px;
    font-size: 180%;
    line-height: 125%;
    font-weight: normal;
}
#main #content h2 {
    color: #0064b4;
    font-size: 25px;
    font-size: 130%;
    font-weight: normal;
}
#main #content h3 {
    color: #81b4e6;
    font-size: 110%;
    font-weight: normal;
}

#main #content p{
    text-align: justify;
}

#main #content .CMSImage{
    max-width: 100%;
    height: auto;
}

#main #content hr {
    height:3px;
    border-width:0;
    background-color: #87c873;
}

#main #content a[href]:link,#main #content a[href]:visited {
    color: #0064b4;
    text-decoration:none;
    transition: all 0.5s;
}

#main #content a[href]:hover,#main #content a[href]:active {
    text-decoration:underline;
    transition: all 0.5s;
}

#main #content label {
    display: block;
    font-size: 70%;
}
#main #content .error{
    font-weight: bold;
    margin: 15px 0;
}
#main #content input, #main #content textarea, #main #content select {
    display: inline-block;
    font-size: 110%;
    padding: 10px;
    border: 1px solid #81b4e6;
}
#main #content input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 5px;
    margin-left: 0px;
    border: 1px solid #81b4e6;
    display: inline-block;
    float: left;
    background-color: #fff;
    padding: 5px;
    font-size: 14px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;    
}
#main #content input[type="checkbox"]:checked {
    background-color: #0064B4;
}
#main #content textarea {
    width: 100%;
    height: 180px;
    font-size: 140%;
    font-family: Segoe UI, Verdana, Arial, Helvetica;
    resize: none;
}

#main #content #simplecaptcha{
    height: 35px;
    width: auto;
    max-width: 300px;
    margin: 0 auto 5px 0;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
}

#main #content .rating {
  display: inline-block;
  color: #81b4e6;
}
#main #content .rating * {
  float: right;
  margin: 3px 5px 5px 0;
}
#main #content .rating input {
  display: none;
}
#main #content .rating label {
  font-size: 30px;
  cursor: pointer;
}

#main #content .rating input:checked ~ label {
  color: #0064B4;
}

#main #content .rating label:hover,
#main #content .rating label:hover ~ label {
  color: #0064B4;
}

#main #content .rating input:checked ~ #main #content .rating label:hover,
#main #content .rating input:checked ~ #main #content .rating label:hover ~ label {
  color: #0064B4 !important;
}

#main #content button, #main #content input[type=submit] {
    background-color: #0064B4;
    color: #fff;
    padding: 13px;
    border: none;
    font-size: 120%;
    margin-bottom: 20px;
    cursor: pointer;
}

#main #content ::placeholder {
    color: #81b4e6;
    opacity: 1;
}

#main #content td{
    padding: 0 5px 0 5px;
}

#main #content .buttongreen{
    background-color: #87C873;
    color: #fff !important;
    text-decoration: none !important;
    padding: 13px;
    margin: 20px 0 20px 0;
    border: none;
    font-size: 120%;
}

#banner {
    margin-top: 50px;
    margin-bottom: 10px;
    background-color: #0064B4;
}
#banner .wrapper {
    padding: 50px;
    color: white;
    text-align: center;
    font-size: 180%;
    line-height: 120%;
}

#banner #loop{
    width: 100%;
    xheight: 80px;
    xmargin: 0 auto;
    overflow: hidden;
    white-space: nowrap;
    padding: 20px;
    color: white;
    text-align: center;
    font-size: 180%;
    line-height: 120%;
}

#banner #loop #loopcontent{
    display: inline-block;
    margin-top: 5px;
    animation: marquee 65s linear infinite;
}

#banner #loop #loopcontent #loopcontent1{
    position: relative;
    left: 0%;
    animation: swap 65s linear infinite;
}
@keyframes swap {
  0%, 50% {
    left: 0%;
  }
  50.01%,
  100% {
    left: 100%;
  }
}

#banner #loop #loopcontent #loopcontent1 img, #banner #loop #loopcontent #loopcontent2 img{
    height: 95px;
    width: auto;
    margin: 0 30px;
}

/* Transition */

@keyframes marquee {
  0% {
    transform: translateX(0)
  }
  100% {
    transform: translateX(-100%)
  }
}

#kontaktsektion {
    background: linear-gradient(90deg, rgba(221,232,247,1) 0%, rgba(221,232,240,1) 37%, rgba(236,244,251,1) 38%, rgba(236,244,251,1) 100%);
    position: relative;
    margin-bottom: 50px;
    margin-top: 40px;
    font-size: 80%;
}

#kontaktsektion a[href]:link,#kontaktsektion a[href]:visited, #kontaktsektion a[href]:hover {
    color: #0064b4;
    text-decoration:none;
    transition: all 0.5s;
}

#kontaktsektion #kontaktsektionsdaten {
    background-color: #ecf4fb;
    display: block;
    width: 300px;
    height: 100%;
    position: absolute;
    margin-left: -50px;
    border-left: 50px solid #ecf4fb;
}
#kontaktsektion #kontaktsektionsdaten h4 {
    display: block;
    color: #87C873;
}

#kontaktsektion #kontaktsektionsdaten a.linkbutton:link, #kontaktsektion #kontaktsektionsdaten a.linkbutton:visited {
    font-size: 130%;
    text-decoration:none;
    clear:both;
    margin-top: 5px;
    padding: 10px;
    color: white;
    font-weight: semi-bold;
    height: 25px;
    overflow: hidden;
    white-space:nowrap;
    background-color: #87C873;
}

#kontaktsektion #kontaktsektionsformular {
    background-color: #ecf4fb;
    display: block;
    margin-left: 300px;
    padding-left: 50px;
    height: 100%;
    position: relative;
    padding-top: 1px;
    padding-right: 65px;
}


#kontaktsektion #kontaktsektionsformular ::placeholder {
    color: #81b4e6;
    opacity: 1;
}

#kontaktsektion #kontaktsektionsformular h4 {
    display: block;
    color: #0064B4;
}
#kontaktsektion #kontaktsektionsformular span {
    display: inline-block;
    list-style-type:none;
    float: left;
    margin-right: 10px;
    margin-top: 10px;
}
#kontaktsektion #kontaktsektionsformular span:nth-child(3)
,#kontaktsektion #kontaktsektionsformular span:nth-child(5)
,#kontaktsektion #kontaktsektionsformular span:nth-child(6)
,#kontaktsektion #kontaktsektionsformular span:nth-child(7)
,#kontaktsektion #kontaktsektionsformular span:nth-child(8)
,#kontaktsektion #kontaktsektionsformular span:nth-child(9)
{
    clear:left;
}
#kontaktsektion #kontaktsektionsformular label {
    display: block;
    font-size: 70%;
}
#kontaktsektion #kontaktsektionsformular input, #kontaktsektion #kontaktsektionsformular textarea {
    display: inline-block;
    font-size: 130%;
    padding: 10px;
    border: 1px solid #81b4e6;
}
#kontaktsektion #kontaktsektionsformular input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 0px;
    margin-left: 0px;
    border: 1px solid #81b4e6;
    display: inline-block;
    float: left;
    background-color: white;
    padding: 5px;
    font-size: 14px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
#kontaktsektion #kontaktsektionsformular input[type="checkbox"]:checked {
    background-color: #0064B4;
}
#kontaktsektion #kontaktsektionsformular textarea {
    width: 604px;
    font-family: Segoe UI, Verdana, Arial, Helvetica;
    resize: none;
}

#kontaktsektion #kontaktsektionsformular button {
    background-color: #0064B4;
    color: white;
    padding: 13px;
    border: none;
    font-size: 120%;
    cursor: pointer;
}

#kontaktsektion #kontaktsektionsformular #captcha{
    clear:left;
}

#kontaktsektion #kontaktsektionsformular #simplecaptcha{
    height: 35px;
    width: auto;
    max-width: 300px;
    margin: 0 auto 5px 0;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
    clear:left;
}

.clearer {
    clear: both;
}

#footer{
    clear:both;
    background-color: #0064B4;
    text-align: center;
}

#nav3{
    margin: auto;
    padding: 0 0 20px 0;
    color: #fff;
    font-size: 100%;
}

#nav3 li{
    display: inline-block;
    list-style-type: none;
    margin: 20px 0 10px 0;
    padding: 0 30px 0 30px;
    border-right: 1px solid #fff;
}

#nav3 li:last-child{
    border: none;
}

#nav3 li a[href]:link, #nav3 li a[href]:visited, #nav3 li a[href]:hover{
    color: #fff;
    text-decoration: none;
}

#footerwrapper {
    border-top: 1px solid #fff;
    font-size: 90%;
}

#address{
    padding: 0;
    color: #fff;
    font-size: 80%;
    float: left;
}

#address li{
    display: inline-block;
    list-style-type: none;
    margin: 0;
    padding: 0 10px 0 10px;
    border-right: 1px solid #fff;
}

#address li:last-child{
    border: none;
}
#address li:first-child{
    padding-left: 0px;
}

#address li a[href]:link, #address li a[href]:visited, #address li a[href]:hover{
    color: #fff;
    text-decoration: none;
}

#impressumnav{
    padding: 0;
    color: #fff;
    font-size: 80%;
    float: right;
}

#impressumnav li{
    display: inline-block;
    list-style-type: none;
    padding: 0 10px 0 10px;
    border-right: 1px solid #fff;
}

#impressumnav li:last-child{
    border: none;
    padding-right: 0px;
}

#impressumnav li a[href]:link, #impressumnav li a[href]:visited, #impressumnav li a[href]:hover{
    color: #fff;
    text-decoration: none;
}

@media only screen and (max-width: 1440px) {
    .wrapper { width: 1200px;}
    
}

@media only screen and (max-width: 1240px) {
    .wrapper { width: 950px;}
    #kontaktsektion #kontaktsektionsformular textarea { width: 287px; }
    
}

@media only screen and (max-width: 1000px) {
    .wrapper { width: 750px;}
    #nav1 li { margin-right: 10px;}
    #main #nav2 { width: 220px; }
    #main #content { margin-left: 300px; padding-right: 20px;}
    #nav3 li { padding: 0 10px 0 10px; }
}

@media only screen and (max-width: 800px) {
    .wrapper { width: auto; padding-left: 20px; padding-right: 20px;}
    #cookiemessage {padding: 0px; }
    #nav1 { padding-left: 20px;}
    #kontaktsektion { background: #ecf4fb; padding: 10px 0; }
    #kontaktsektion #kontaktsektionsdaten { position: relative; }
    #kontaktsektion #kontaktsektionsformular { margin-left: 0; padding-left: 0;}
    #kontaktsektion #kontaktsektionsformular textarea { width: 605px; max-width: 100%; }
    #main #content {padding-right: 65px;}
    #main #content input{ width: 100%; }
    #header {margin-top: 50px; }
    #title { width: auto; margin-top: -30px; padding: 30px;}
    #quicklinkbox { top: 205px; }
    #nav1 li a[href].active { border-top: none; }
    #nav3 li { font-size: 90%; }
    #address li { display: block; border-right: none; text-align: left; padding-left: 0px; padding-bottom: 5px; padding-top: 5px;}
    
    #main #content a[href^="tel:"]:before { font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f2a0"; margin: 0 5px 0 5px; }
    #main #content a[href^="tel:"]:link,#main #content a[href^="tel:"]:visited { color: white; border: 1px solid white; background-color: #0064B4; padding: 5px; text-decoration:none; display: inline-block; transition: all 0.5s;}
    #main #content a[href^="tel:"]:hover,#main #content a[href^="tel:"]:active { background-color: #87c873; transition: all 0.5s; }
}

@media only screen and (max-width: 650px) {
    #nav1 { height: auto;}
    #nav1 li { font-size: 100%; }
    #kontaktsektion #kontaktsektionsformular input { width: 70vw; }
    #kontaktsektion #kontaktsektionsformular textarea { max-width: 70vw; }
    #main { background: white; }
    #main #nav2 { position: relative; width: 100%; }
    #main #content { margin-left: 0px; }
}