@font-face {
    font-family: 'FiraSansLight';
    src: url('../fonts/FiraSans-Light.woff2') format('woff2'),
        url('../fonts/FiraSans-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

body  {
  font-family: 'FiraSansLight',Verdana, Arial, Helvetica, sans-serif;
  background: #d4d4d4;
  margin: 10; /* Es empfiehlt sich, margin (Rand) und padding (Auffüllung) des Body-Elements auf 0 einzustellen, um unterschiedlichen Browser-Standardeinstellungen Rechnung zu tragen. */
  padding: 0;
  text-align: center; /* Hierdurch wird der Container in IE 5*-Browsern zentriert. Dem Text wird dann im #container-Selektor die Standardausrichtung left (links) zugewiesen. */
  color: #000000;
  font-size: 13px;
}
div#container {
  margin: 0 auto; /* Durch automatische Ränder (in Verbindung mit einer Breite) wird die Seite zentriert. */
  text-align: left; /* Hierdurch wird die Einstellung text-align: center im Body-Element überschrieben. */
  padding:1vh;
  margin-top: 0px;
  position: relative;
  display: flex;
}

div#logo {
  position: fixed;
  right:5px;
  top:3px;
  z-index: 100005;
  background-repeat: no-repeat;
  padding:0.2rem;
}
div#logo img{
  witdh:auto;
  height:50px;
}

/*--------------- Navigation rechts sidebar1 ###SUBNAVI###-------Anfang--------------------*/
div#sidebar1 {
  float: left;
  /* Da es sich hier um ein floatendes Element handelt, muss eine Breite angegeben werden. */
  width: 180px;
  background-color: #d4d4d4;
  margin-right: 0px;
  margin-top: 228px;
}


div#sidebar1 a {
  
  }

div#sidebar1 li {
  list-style-type: none;
  }
  
div#sidebar1 li a {
  
  text-decoration: none;
  padding-left: 10px;  
}

div#sidebar1 li a:hover {
  color: #172983;
  background-image: url(/fileadmin/templates/images/nav_dblau.gif);
  background-repeat: repeat-y;
  }
  
/*--------------- Navigation links-------Ende--------------------*/  

/*--------------- Navigation links-------TS--------------------*/
                
li.mainnav   {
  list-style-type: none;
  border-bottom-width: 1px;
  border-bottom-style: dotted;
  border-bottom-color: #999;
  }  

li.mainnav a {
  text-decoration:none;
  font-size: 12px;
  display: block;
  padding-top: 3px;
  padding-right: 10px;
  padding-bottom: 3px;

  }  
        
li.mainnav a:hover {
  font-weight: bold;
  color: #060;
  }

li.mainact {
  list-style-type: none;
  color: #FFF;
  text-decoration: none;
  border-bottom-width: 1px;
  border-bottom-style: dotted;
  border-bottom-color: #999;
  vertical-align: middle;
  padding-top: 3px;
  padding-bottom: 3px;
  background-image: url(/fileadmin/templates/images/navi_bg.jpg);
  background-repeat: repeat-y;
  }

li.mainact a {
  text-decoration:none;
  color: #FFF;
  font-weight: bold;
  padding-top: 3px;
  padding-bottom: 3px;
  }
          
li.subnav  {
  list-style-type: none;
  padding-left: 25px;
  border-bottom-width: 1px;
  border-bottom-style: dotted;
  border-bottom-color: #999;
  background-image: url(/fileadmin/templates/images/navi_bg_2.gif);
  background-repeat: repeat-y;
  }
        
li.subnav a {
  text-decoration:none;
  color:#000;
  font-size: 12px;
  padding-top: 3px;
  padding-bottom: 3px;
  display: block;
  }  
                    
li.subnav a:hover {
  
  }
  
  li.subact {
  list-style-type: none;
  padding-top: 3px;
  padding-bottom: 3px;
  padding-left: 25px;
  }
  
  li.subact a {
  text-decoration:none;
  color: #172983;
  font-weight: bold;
  }
  
/*--------------- Navigation links---TS----ende--------------------*/

div#mainContent {
  float: right;
  width: 830px;
}




/*-----top-###MENU_TOP###------*/
div#top {
  text-align: right;
  color: #333;
  font-size: 11px;
  padding-top: 12px;
  background-color: #d4d4d4;
}

div#top a {
  text-decoration: none;
  display: inline;
  }

div#top a:hover {
  color: #666;
  }
  
/*--------------- ###MENU_TOP###-activ--------------------*/
span.topact a {
  color: #1a63c6;
}
/*--------------- ###MENU_TOP###-activ--ende------------*/
  
  

div#trailer  {
  height: auto;
  position: relative;
  top: 1rem;
  }
  
  
/*-menu_oben-###MENU_OBEN###---------------------------------------------*/
.menu_oben {
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex: 1 1 auto;
  -webkit-box-flex: 1 1 auto;
  -moz-box-flex: 1 1 auto;
  -webkit-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  flex-direction: row;
  font-size: 1.1rem;
  justify-content: space-between;
  top: 1rem;
  width: 80vw;
  left: 9.5vw;
  z-index: 10;
  position: sticky;
}

.menu_oben li a {
  font-size: 1rem;
  text-decoration: none;
  background-color: #1a63c6;
  padding: 1.5rem 3rem 1.5rem 3rem;
  border: 1px solid #1a63c6;
  color:white;
  flex: 1 1 auto;
  font-size:1.7rem;
}

.menu_oben a:hover {
  background-color: #999;
  border: 1px solid #999;
  }

.menuobentext a {
  color: #FFF;
  }

/*-###MENU_OBEN###-activ-----------------------------------------*/
.menuobentext .active {
  background-color: #FFF;
  border: 1px solid #666;
}

/*-###MENU_OBEN###-activ--ende-----------------------------------*/

.labelWrap {
  background-color: #C00;
}


  
.clearfloat { /* Diese Klasse sollte in einem div- oder break-Element platziert werden und das letzte Element vor dem Schließen eines Containers sein, der wiederum einen vollständigen Float enthalten sollte. */
  clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}



/*--------- Nur IE ----------------*/

/* Fügen Sie CSS-Korrekturen für alle IE-Versionen in diesen bedingten Kommentar ein. */
* html div#sidebar1 { padding-top: 30px; }
* html div#mainContent { zoom: 1; }
* html div#sidebar1 {
  width: 185px;
  text-align: left;
  margin-left: 0px;
  padding-left: 0px;
}

* html div#trailer  {
  height: 192px;
  }

* html li.mainnav {
  margin-left: 0px;
  padding-left: 0px;
}


#container h1 {
  font-size:1.8rem;
  padding:0.6rem;
  border-bottom: 1px dotted grey;
  margin:0px;
  }

#container h2 {
  font-weight: bold;
  color: #333;
  font-size: 100%;
  font-style: normal;
  font-variant: normal;
}
#container p {
  font-size: 1rem;
  line-height: 150%;
  padding:0.2rem 1rem;
  }
#container a {
  color: #1A63C6;
  text-decoration: none;
}
#container ul, #container li {
  font-size: 1rem;
  line-height: 150%;
  font-weight: normal;
}
a {
  text-decoration: none;
  display: inline;
  color: #333;
  }
  
a.internal-link {
  color: #1A63C6;
  font-size: 100%;
  line-height: 140%;
  text-decoration: underline;
  }

.divider {
  background-image: url(/fileadmin/templates/images/trenner.gif);
  background-repeat: repeat-x;
}

.align-justify {
  text-align: justify;
  }
.align-right {
  text-align: right;
  }
.align-left {
  text-align: left;
  }
.align-center {
  text-align: center;
  }  
.important {
  color: #F00;
  text-decoration: blink;
  }
a.external-link-new-window {
  color: #1A63C6;
  text-decoration: none;
  }
  
a.external-link-new-window a {
  color: #1A63C6;
  text-decoration: none;
  }  
/* Contact Form */
.csc-mailform { border: none; }
.csc-mailform input,  .csc-mailform textarea { padding: 3px; }
.csc-mailform-field label { width: 100px; display:block; float: left; /*! font-size:11px; */  }
.csc-mailform-field { padding-bottom: 10px; }
div.csc-mailform-field field-_17 {margin-top: 10px;}
textarea#mailform_22 {}

.tx-rgsmoothgallery-pi1 {
  background: none !important;;
}

.suche {
  position:relative;
  z-index:100000;

  width:50%;
  margin-left:calc(50% - 80px);
}
.suche form {
  display: flex;
  position: relative;
  justify-content: right;

}
input#mailformsword, input#mailformsubmit {
  height: 30px;
  width:20vw;
  font-size:1rem;
  padding:6px;

}
input#mailformsubmit {
  width:auto;
  margin-left:10px;
  font-size: 1rem;
  height: 46px;
  border: 1px solid grey;
  text-transform: uppercase;
}
input#mailformsubmit:hover {
  cursor: pointer;
}


.csc-mailform-field label, .csc-mailform-field form{
  font-size: 1rem;
  padding: 0.5rem 0rem;
}
.csc-mailform-field, .csc-mailform-field form{
  margin: 0px;
}
.csc-mailform-field input{
  padding: 0.5rem 0.5rem;
  font-size: 1rem;
  width: calc(100% - 1.1rem);
}
fieldset {
  padding: 0px;
  margin: 0px;
  
}

#container #left, #container #rechts, #container #inhalt{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: -o-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  justify-content: space-between;
  -ms-flex-pack: justify;
  display: 1 1 auto;
}
#container #rechts{
  margin:0.4%;
}
#container #left, #container #inhalt{
}

#container #left div, #container #right div, #container #inhalt div{
  flex: 1 1 20%;
  width: auto;
  max-width: 100%;
  flex-flow: column wrap;
  background-color: white;
  margin:0.5%;
}
#container .csc-textpic-imagewrap {
  padding-left:1rem;
  padding-right: 1rem;
}

#breadcrump {
font-size: 0.8rem;
color: black;
margin-top: 2rem;
padding-left: 1rem;
text-align: left;
padding-left: 2rem;
z-index: 10;
position: relative;
}


@media all and (max-width:999px) {
  #container #left, #container #rechts, #container #inhalt{
  flex-direction:column;
  }
  #container{
  flex-direction:column;
  }
  .suche {
  margin-top:70px;
  margin-left:20%;
  width:80%;
  z-index:10;
  }
  .suche #mailformsword{
    width:50%;
  }
  div#logo img{
  witdh:auto;
  height:40px;
  padding-top: 4px;
}
  img {
    max-width: 93vw;
    height: auto;
  }
  div#trailer {
    width: 80vw !important;
    height: auto;
  }
  .csc-mailform-field {
    max-width: 90vw;
    font-size: 1rem;
    padding:0px;
    margin: 0px;
    padding-bottom: 1rem;
  }
}  
  
@media all and (min-width:1000px) and (max-width:1400px) {
#container #left div, #container #right div, #container #inhalt div{
  flex: 1 1 30%;
}

}
@media all and (min-width:1400px),only screen and (min-resolution:192dpi) and (min-width:1300px),only screen and (min-resolution:2dppx) and (min-width:1300px) {

}
