/*rot*/
/*hellgrau*/
/**Vars/


/* --- 1280px --------------------------------------------- */
/* --- 1024px --------------------------------------------- */
@media only screen and (max-width: 1155px) {
  #header #bw_logo {
    margin-left: 25px;
  }
  #mainmenu a {
    font-size: 12px;
  }
  #content_li {
    display: none;
  }
  #content {
    width: 98%;
    padding-right: 10px;
  }
  #start_main {
    width: 100%;
    border-right: none;
    padding: 0;
    margin: 0;
  }
  #start_main .row {
    padding-left: 0;
  }
  #start_main .row .text {
    width: 100%;
  }
  #start_right {
    padding-left: 0;
    width: 90%;
  }
  #start_right .row {
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    width: 100%;
    float: none;
    border: 1px solid #cccccc;
    padding: 10px;
  }
  .schuelerstimmen .re {
    width: 100%;
  }
  #footer_wrapper .col {
    width: 40%;
    margin-bottom: 40px;
  }
  #footer_wrapper .col:nth-of-type(odd) {
    margin-right: 2%;
  }
  #footer .galerie {
    width: 44%;
  }
  #footer .galerie img {
    width: 32%;
  }
  #footer .galerie img.last {
    margin-right: 0;
  }
  #zusatz .element {
    margin-bottom: 20px;
  }
  #formular .row, #formular .trenner {
    width: 100%;
  }
  #formular .row .value, #formular .trenner .value {
    display: block;
  }
}
/* --- 915px --------------------------------------------- */
@media only screen and (max-width: 915px) {
  #header #sprachen, #header #suche {
    padding-right: 10px;
  }
  #header #sprachen {
    float: right;
    width: 75px;
    text-align: right;
    margin-top: 10px;
    margin-left: 0;
  }
  #header #bw_logo {
    float: right;
    margin-top: 10px;
  }
  #header #suche {
    margin-top: 20px;
    width: 97%;
  }
  #header #suche input[type="text"] {
    margin: 0;
    width: 100%;
  }
  #header #suche input[type="submit"] {
    right: 20px;
  }
  table, img {
    max-width: 100%;
    height: auto;
  }
  #nav li a {
    font-size: 11px;
    line-height: 1.2em;
  }
  #content, #content_re {
    width: 99%;
    max-width: 1120px;
    margin-left: 1%;
    width: calc(100% - 30px);
    font-size: 16px;
    line-height: 1.6em;
  }
  #content_re {
    width: 100%;
  }
  #start_right {
    width: calc(~'100% - 30px');
  }
  #start_main .row .img {
    width: 100%;
    padding-right: 0;
  }
  #footer_wrapper .col {
    padding-right: 0px;
  }
  #sitemap ul li {
    font-size: 16px;
    line-height: 2.5em;
  }
  #footer .galerie img {
    width: 48%;
  }
  #footer .galerie img.last {
    margin-right: 5px;
  }
}
/* --- 768px --------------------------------------------- */
@media only screen and (max-width: 767px) {
  body, #wrapper {
    /*overflow-x:hidden;*/
  }
  #mobilemenu {
    display: block;
  }
  #mainmenu {
    display: none;
  }
  #header {
    width: 100%;
    text-align: center;
  }
  #header #logo, #header #ih_logo, #header #bw_logo {
    width: 98%;
    text-align: center;
    margin-bottom: 20px;
  }
  #header #logo {
    width: 95%;
  }
  #header #logo img {
    width: 150px;
  }
  #header #slogan {
    position: absolute;
    width: 130px;
    top: 60px;
    margin: initial;
    right: 90px;
  }
  #header #ih_logo {
    margin-top: 0;
    width: 120px;
  }
  #header #ih_logo img {
    max-width: 100%;
    height: auto;
  }
  #header #sprachen {
    float: none;
    position: absolute;
    right: 0;
    top: 21px;
    margin-top: 0;
  }
  #header #sprachen.x {
    margin-top: initial;
  }
  #header #bw_logo {
    margin-top: 0;
    float: none;
    position: absolute;
    right: 6px;
    top: 70px;
    width: 75px;
    margin-left: 10px;
  }
  #header #bw_logo img {
    max-width: 100%;
    height: auto;
  }
  #header #suche {
    margin-top: 10px;
  }
  #topnavi_bg {
    display: none;
  }
  #topnavi {
    float: none;
    width: 100%;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
  }
  #topnavi ul {
    background-color: #d4d4d4;
  }
  #topnavi ul li {
    margin: 5px;
    padding: 0 10px 0 0;
  }
  #start_right .row {
    background-color: #d4d4d4;
  }
  .termine td, .preise td {
    font-size: 12px;
  }
  .termine thead tr:nth-of-type(2), .preise thead tr:nth-of-type(2) {
    white-space: initial;
  }
  #footer_wrapper .col {
    /*
			width:98%;
			margin:0 1% 30px 1%;
			*/
    width: 75%;
    margin: 0 auto 20px auto;
    float: none;
  }
  #footer_wrapper .col:nth-of-type(odd) {
    margin-right: auto;
  }
  #content_re .r-tabs .r-tabs-accordion-title .r-tabs-anchor {
    color: white;
    padding: 5px 7px;
  }
  #content_re .r-tabs-state-active {
    margin-bottom: 0;
  }
  #content_re .r-tabs-state-active a {
    color: #a52f30 !important;
  }
  #tabs > div.r-tabs-accordion-title.r-tabs-state-active {
    margin-bottom: 0px;
  }
}
/* --- 580px --------------------------------------------- */
@media only screen and (max-width: 584px) {
  #content_re table {
    width: 100% !important;
    max-width: 100% !important;
  }
  #content_re table col {
    max-width: 100% !important;
  }
  #content_re table tr td {
    display: block;
    max-width: 100% !important;
  }
  #content_re table.termine, #content_re table.preise {
    width: initial !important;
    max-width: initial !important;
  }
  #content_re table.termine col, #content_re table.preise col {
    max-width: initial !important;
  }
  #content_re table.termine tr td, #content_re table.preise tr td {
    display: table-cell !important;
  }
  #content_re table.preise tr td:nth-of-type(2) {
    text-align: right;
  }
  #header #slogan {
    right: 15px;
  }
}
/* --- 480px --------------------------------------------- */
/*@media only screen and (max-width: 479px) {*/
@media only screen and (max-width: 479px) {
  body {
    background-image: none !important;
  }
  #header #logo {
    margin-bottom: 10px;
  }
  #header #logo img {
    width: 175px;
    height: auto;
  }
  #header #logo.x {
    width: inherit;
  }
  #header #logo.x img {
    width: 150px;
  }
  #header #slogan {
    width: 90px;
    right: 20px;
    top: 100px;
  }
  #header #bw_logo {
    top: 60px;
  }
  #mobile_menuicon {
    margin-top: 20px;
  }
  #start_main .row .img {
    /*
				width:98%;
				width: calc(~'100% - 30px');*/
  }
  #start_main .row .img img {
    width: 100%;
    height: auto;
  }
  #footer .galerie img {
    width: 100%;
  }
  #footer #footer_navi li {
    float: none;
    font-size: 15px;
    line-height: 1.8em;
  }
}
/* --- 320px --------------------------------------------- */
