/* ##############################################
*
* RESPONSIVE DESIGN
*
* ###############################################
*/



@media screen {
  .highlight {
    font-weight: bold;
  }
  .sr-only {
    border: 0 none;
    clip: rect(0px, 0px, 0px, 0px);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  #sprachen {
    height: 24px;
    margin-left: 0.5em;
    width: 12.9em;
  }
  #sprachen a img{
    border: 1px solid #00008b;
    width: 35px;
  }
  #sprachen a:focus img,
  #sprachen a:hover img,
  #sprachen a:active img{
    border: 1px solid #FFF;
  }
  #spalteMitte {
    width: calc(100% - 17em);
/*	  width: calc(100% - 31em);*/
    float: left;
    margin: 0;
  }
  #inhalt.search_maximized_content .navigation {
    text-align: center;
  }
  #inhalt a:focus,
  #inhalt a:hover,
  #inhalt a:active {
    color: #ffffff;
    background-color: #476274;
  }

  .navi_desc {
    display: block;
    padding-bottom: 1em;
    padding-right: 0;
  }
  
  /* Formulare */
  #inhalt fieldset {
   /* clear: both;
    height: auto; */
    margin: 1em 0;
    padding: 0.5em;
    border: 1px solid #000;
  }
  #inhalt fieldset legend {
    display: block;
    font-size: 1em;
    padding: 5px;
  }
  label,
  .label {
    display: inline-block;
    font-weight: bold;
    width: auto;
  }
  label,
  select,
  input[type="checkbox"],
  input[type="radio"],
  input[type="button"],
  input[type="submit"],
  #inhalt form input[type="text"]  {
    cursor: pointer;
  }
  input[type="checkbox"],
  input[type="radio"],
  input[type="button"],
  input[type="submit"],
  #inhalt form input[type="text"],
  select  {
    /*margin-bottom: 15px;*/
  }
  #inhalt form input[type="text"] {
    border: 1px solid #000000;
    border-radius: 5px;
    padding: 5px 0;
    width: 100%;
  }
  form select {
    border: 1px solid #000000;
    border-radius: 5px;
    margin-bottom: 0;
    margin-top: 0;
    padding: 5px 0;
    width: 100%;
  }
  form p {
    font-size: 0.9em;
    padding-bottom: 0.6em !important;
  }
  form input[type="submit"] {
    border: 1px solid #000;
    border-radius: 5px;
    font-size: 0.9em;
    margin: 0 0.1em 0 0;
    padding: 10px;
  }
  form input[type="submit"]:focus,
  form input[type="submit"]:hover,
  form input[type="submit"]:active {
    background-color: #476274;
    color: #FFF;
  }
  #inhalt .adbklein {
    font-size: 70%;
}
  #inhalt .adbzeile1 {
    display: block;
    height: auto;
    position: relative;
    vertical-align: bottom;
    width: 100%;
    left: 0;
  }
  #inhalt .adbdiv1 {
    float: left;
    height: 2.5em;
    padding: 0.2em;
    position: relative;    
    width: 11em;
    left: 0;
  }
  #inhalt .adbdiv2 {
    float: right;
    height: 2.5em;
    margin-left: 0em;
    padding: 0.2em;
    position: relative;
    width: calc(100% - 12em);
    left: 0;
  }
  #inhalt .adbzeile2 {
    display: block;
    position: relative;
    vertical-align: bottom;
    left: 0;
    height: auto;
  }
  #inhalt .adbdiv3 {
    clear: both;
    height: 2.5em;
    padding-left: 0em;
    position: relative;
    left: 0;
    display: block;
    width: 100%;
    left: 0;
  }

  #btn-block {
    display: none;
  }
  #suchzeile {
    border: 1px solid #000;
    border-radius: 5px;
    margin-right: 5px;
    padding: 5px;
    vertical-align: super;
  }

  #fuss {
    padding: 5px;
    text-align: center;
  }
  #zusatznavi {
    font-size: 0.8em;
    margin: 0;
    padding: 0.5em 0;
  }
  #zusatznavi ul {
    margin: 0;
    padding: 0;
  }
  #zusatznavi li {
    display: inline;
    width: auto;
    padding: 0 5px 0 0;
  }
  #zusatznavi li:not(:last-of-type)::after {
    content: "|";
    padding-left: 8px;
    color: #476274;
  }
  #zusatznavi a:link,
  #zusatznavi a:visited {
    background-color: rgba(0, 0, 0, 0);
    color: #476274;
    display: inline;
    font-weight: normal;
    text-decoration: none;
    font-size: 1em;
  }
  #zusatznavi a:hover,
  #zusatznavi a:active,
  #zusatznavi a:focus {
    font-weight: normal;
    text-decoration: underline;
  }
  #zusatznavi p {
    color: #476274;
    margin: 1em;
    border-top: 1px dotted #476274;
    padding-top: 0.5em;
  }
  #fuss .screen {
    display: block;
    position: fixed;
    right: 0;
    bottom: 10px;
    margin-bottom: 10px;
    margin-right: 0;
    margin: 0 0 10px 0 0;
    border-top: none;
    padding-top: 0;
  }
  #fuss .screen a {
    background-color: #ededed;
    border-bottom: 1px solid #476274;
    border-left: 1px solid #476274;
    border-radius: 5px 0 0 5px;
    border-top: 1px solid #476274;
    box-shadow: 5px 5px 5px #476274;
    color: #476274;
    margin: 0;
    padding: 10px;
    text-decoration: none;
  }
  #fuss .screen a:focus,
  #fuss .screen a:hover,
  #fuss .screen a:active {
    background-color: #476274;
    color: #FFF !important;
  }
  #fuss .screen a.full {
    position: relative;
    display: block;
  }

}

@media screen and (max-width: 900px) {


  #kopf h1 {
    white-space: normal;
  }
  #mitte {
  }
  #spalteLinks {
  }
  #spalteMitte {
    float: right;
    margin: 0;
    padding-right: 0.5em;
    width: calc(100% - 16em);
  }
  #spalteRechts {
    float: right;
    padding-right: 0.5em;
    width: calc(100% - 16em);
  }
}
/*
@media screen and (max-width: 768px) {

  form select {
//    width: 100%;
    width: calc(100% - 1em);
  }
  #inhalt form input[type="text"] {
    width: calc(100% - 1em);
  }
  
  #inhalt .adbdiv1 ,
  #inhalt .adbdiv2 ,
  #inhalt .adbdiv3 {
      float: none;
      height: auto;
      width: 100%;
  }
  #inhalt .adbdiv3 {
    padding: 0.5em 0.2em;
  
}


*/
/*
@media screen and (min-width: 600px) and (max-width: 768px) {

}
*/


@media screen and (max-width: 950px) {

#inhalt .adbdiv1{
float:none;
    width:100%;
}

#inhalt .adbdiv2{
float: none;
    width:100%;

}

  body {
//    min-width: 335px;
  }
  #kopf {
    padding-top: 20px;
    padding-right: 5px;
    padding-left: 10.5em;
  }
  #logo {
    left: 0.25em;
    top: 0.6em;
  }
  #micronavi {
    padding-left: 11em;
    white-space: normal;
  }
  #micronavi div#links {
    margin-left: 1.6em;
  }
  #mitte {
  }
  #spalteLinks {
    width: 12.9em;
    padding-left: 0.5em;
  }
  #navi {
  }
  #navi ul ul a {
    font-size: 100%;
  }
  #spalteMitte {
    background: #ffffff none repeat scroll 0 0;
    padding-left: 0;
    width: calc(100% - 15em);
  }
  #inhalt div.bodyAttrib ul {
    margin-left: 1em;
  }
  #inhalt div.bodyAttrib ul ul,
  #inhalt div.bodyAttrib ul li {
    margin-top: 0.25em;
  }
  #spalteRechts {
    background: #FFF;
  }
  .mobile_block {
    display: block;
  }
  form select {
//    width: 100%;
    width: calc(100% - 1em);
  }
  #inhalt form input[type="text"] {
    width: calc(100% - 1em);
  }

}

@media screen and (min-width: 701px) {
  
  /* Javascript überschreiben */
  #navi {
    display: block !important;
  }
}
@media screen and (max-width: 700px) {
  body {
    background-position: left center;
  }
  #spalteLinks {
    width: calc(100% - 1em);
  }
  /* vorübergehend: rechte Spalte ausblenden 
  #spalteRechts {
    display: none;
  }*/
  
  
  #sprachen {
    margin-left: 0;
  }
  #btn-block {
    display: block;
  }
  #navi {
    margin-left: 0;
    margin-bottom: 1em;
    width: 100%;
  }
  /*#zusatznavi {
    margin: 1em 0 1em 0.5em;
    float: left;
  }
  #zusatznavi ul {
    margin-top: 0;
  }
  #zusatznavi p {
    color: #476274;
    margin: 1em 0 0em 0.5em;
}*/
  #zusatznavi {
    text-align: left;
  }
  #zusatznavi ul {
    margin:  0 0.7em;
    padding: 0;
    width: calc (100% - 2em)
}
  #zusatznavi li {
    display: block;
    width: 100%;
    padding: 0;
    font-size: 1em;
    padding: 5px;
  }
  #zusatznavi li:not(:last-of-type) {
    border-bottom: 1px solid #bfced8;
  }
  #zusatznavi li::after {
    content: none !important;
    padding-left: 8px;
  }
  #zusatznavi a:link,
  #zusatznavi a:visited {
    display: block;
  }
  
  #Suche-1 form {
    padding: 0.5em !important;
  }
  #suchzeile {
    width: calc(100% - 3em);
  }
  #spalteMitte {
    padding: 0.5em 1em;
    width: calc(100% - 2em);
  }
  #spalteRechts {
    width: calc(100% - 1em);
  }
  #spalteRechts div.content_cell {
    margin: 0 0.5em 0.5em 0;
  }
  #micronavi > div {
    display: none;
  }
  #micronavi {
    height: 15px;
    margin-bottom: 2em;
  }

  #btn-block {
    text-align: right;
  }
  .navbar-toggle {
    background-image: none;
    border: 1px solid #000;
    border-radius: 4px;
    margin-top: -14px;
    /*margin-right: 15px;*/
    padding: 9px 10px;
    position: relative;
    clear: both;
    background-color: rgba(0, 0, 0, 0);
    z-index: 100;
    background-color: #ededed;
    cursor: pointer;
    clear: both;
  }
  .navbar-toggle:focus,
  .navbar-toggle:hover,
  .navbar-toggle:active {
    background-color: #dddddd;
    border-color: #000;
  }
  .icon-bar {
    border-radius: 1px;
    display: block;
    height: 2px;
    width: 22px;
    background-color: #888888;
    cursor: pointer;
    box-sizing: border-box;
    overflow-y: auto;
  }
  .navbar-toggle .icon-bar + .icon-bar {
    margin-top: 4px;
  }
  .collapse {
   /* display: none;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;*/
  }
  .collapse.in {
    display: block;
    visibility: visible;
}
  .navbar-collapse {
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset;
    overflow-x: visible;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
  }
  #navi  ul{
    transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
  }


}
