/* --- 1660px --------------------------------------------- */
@media only screen and (max-width: 1600px) {
  #nav li.last ul li ul {
    left: -75px;
    top: 20px;
  }
}
/* --- 1280px --------------------------------------------- */
@media only screen and (max-width: 1280px) {
  #nav a {
    padding: 3px 12px;
  }
}
/* --- 1024px --------------------------------------------- */
@media only screen and (max-width: 1024px) {
  img {
    max-width: 100%;
    height: auto;
  }
  .border {
    width: auto;
  }
  #kopfgrafik {
    width: 100%;
    padding: 0px;
  }
  #kopfgrafik div {
    width: 100%;
  }
  #kopfgrafik img {
    width: 100% !important;
    height: auto;
  }
  #kopfgrafik_decker {
    display: none;
  }
  #nav {
    display: none;
  }
  #navV2 {
    display: none;
  }
  #icon_menu_mobile {
    display: block;
  }
  #mobilemenu {
    display: block;
  }
  #container {
    max-width: 98%;
  }
  #content_wrapper {
    width: 98%;
    padding: 0px 1%;
    margin-left: 0px;
    margin-bottom: 10px;
  }
  #content,
  .nosidebar #content {
    width: 100%;
    padding: 0px;
  }
  #startbox_container {
    padding-left: 0px;
  }
  #startbox_containerV2 .startbox_text {
    max-width: 100%;
  }
  #right {
    width: 80%;
    margin-right: 10%;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #cccccc;
    padding: 0;
  }
  .element_right {
    margin-top: 0;
  }
  #slideshow DIV IMG {
    border-radius: 5px;
    border: 1px solid black;
  }
  .startbox {
    margin-bottom: 10px;
    width: 31%;
    margin-left: 1%;
    margin-right: 1%;
  }
  #startbox_ct_outer.slider {
    top: initial;
  }
  #qt_banner {
    width: 200px;
    padding: 0;
  }
  #qt_banner a {
    font-size: 12px;
  }
  #login_me_portal {
    font-size: 12px;
    right: 134px;
    top: 3px;
    width: 170px;
    padding: 2px 0 1px 40px;
    background-color: #004478;
    color: White;
  }
  #login_me_portal:before {
    background-image: url('/intern/pics/key_w.png');
    background-size: 27px auto;
    content: '';
    width: 10px;
    height: 22px;
    top: 0;
    background-position: 5px 6px;
  }
  #helpcenter {
    top: 75px;
    right: -260px;
    width: 300px;
  }
  #helpcenter #helpcenter_head {
    padding: 4px 11px 0px 37px;
    font-size: 18px;
  }
  #helpcenter #helpcenter_head img {
    width: 30px;
    height: auto;
    padding-left: 4px;
    padding-top: 2px;
  }
  #schriftgroesse,
  #bf_navi_open {
    top: 2px;
  }
  #news_slider_ct #news_slider .item {
    margin-bottom: 30px;
  }
  #news_slider_ct #news_slider .item img {
    line-height: 0;
    width: 100%;
    height: auto;
  }
  #news_slider_ct #news_slider .item .text {
    position: initial;
    height: auto;
    width: calc(100% - 40px);
  }
  #starttext .text {
    max-width: 96%;
  }
  #left {
    padding: 0px;
    width: 100%;
    margin-top: 0;
  }
  .txt_links_box {
    float: left;
    width: 29%;
    margin: 0px 1%;
    border: 1px solid #E6E6E6;
    border-radius: 5px;
    padding: 1%;
    min-height: 100px;
  }
  .txt_links_box img {
    margin: auto;
    text-align: center;
  }
  input[type="submit"],
  input[type="button"],
  input[type="reset"],
  .button {
    border: 1px solid #8F8F8F;
    background-color: #EBE9E9;
    padding: 10px;
  }
  #logo {
    float: none;
    margin: 0 auto;
    max-width: 60%;
    height: auto;
  }
  #logo20,
  #logo2024 {
    float: none;
    margin: 0 auto;
    max-width: 60%;
    height: auto;
  }
  #logo2024 {
    max-width: 50%;
  }
  #mm_container {
    height: 80px;
  }
  .embed-container {
    min-height: 180vh;
    /*width:90%;
		min-width:320px;
		margin:0 auto;
		*/
  }
  #wl_ct #bild {
    width: 100% !important;
    float: none !important;
  }
  #wl_ct #liste {
    width: 100% !important;
    float: none !important;
  }
  #wl_ct #liste div {
    float: left;
  }
  #wl_ct #liste div:first-of-type {
    margin-right: 20px;
  }
  .fancybox-wrap {
    width: 80% !important;
  }
  .fancybox-inner {
    width: 100% !important;
  }
  #vergabe_form form .row .bez,
  #vergabe_form form .row .val {
    width: 100% !important;
  }
  .stellen_form .row .bez,
  .stellen_form .row val {
    width: 100%;
  }
  .stellen_form .row.head {
    margin-left: 0;
  }
  .stellen_form .row .val {
    width: 95%;
  }
  .stellen_form .row .val.submit {
    width: 100%;
    text-align: center;
  }
}
@media only screen and (max-width: 750px) {
  #news_slider_ct #news_slider .item .text a h3 {
    font-size: 22px;
    line-height: 1.2em;
  }
  #starttext .text {
    width: 95%;
  }
  #starttext .bild {
    width: 95%;
    float: none;
    text-align: center;
    margin-bottom: 20px;
    display: inline-block;
  }
  .tbl_resp {
    width: 100%;
    max-width: 100%;
  }
  .tbl_resp td {
    display: block;
    width: 100%;
  }
  .tbl_resp td input,
  .tbl_resp td textarea,
  .tbl_resp td select {
    width: 95%;
    margin-bottom: 20px;
    padding: 8px 5px;
  }
  .tbl_resp td input#plz,
  .tbl_resp td textarea#plz,
  .tbl_resp td select#plz {
    width: 9%;
  }
  .tbl_resp td input#ort,
  .tbl_resp td textarea#ort,
  .tbl_resp td select#ort {
    width: 84%;
  }
  .tbl_resp td input[type="checkbox"] {
    width: initial;
    padding: initial;
  }
  .tbl_resp td select {
    width: 96.5%;
  }
  .tbl_resp td input[type="submit"] {
    width: calc(100% - 40px);
  }
  .ex_form input[type="text"],
  .ex_form input[type="email"],
  .ex_form input[type="text"].vn,
  .ex_form input[type="text"].nn {
    width: 95%;
  }
  .ex_form input[type="text"].vn,
  .ex_form input[type="email"].vn,
  .ex_form input[type="text"].vn.vn,
  .ex_form input[type="text"].nn.vn {
    margin-bottom: 20px;
  }
  .ex_form input[type="text"].plz {
    width: 20%;
  }
  .ex_form input[type="text"].ort {
    width: 66%;
  }
  .ex_form .ct_submit #submitbutton {
    width: 100%;
  }
}
/* --- 960px --------------------------------------------- */
@media only screen and (max-width: 960px) {
  #qt_banner img {
    display: none;
  }
}
/* --- 700px --------------------------------------------- */
@media only screen and (max-width: 700px) {
  .startbox {
    width: 100%;
    margin: 10px 0px;
  }
  .txt_links_box {
    width: 80%;
    float: none;
    margin: auto;
  }
  h1.startseite {
    font-size: 30px;
    left: 20px;
  }
  #logo {
    max-width: 60%;
    height: auto;
    top: 0;
  }
  #logo img {
    height: auto;
  }
  #footer {
    width: 96%;
    padding: 20px 5px;
  }
  #footer #metanav {
    height: auto;
  }
  #footer #metanav ul li {
    display: block;
  }
  #footer #metanav ul li:after {
    content: none;
  }
  #footer #metanav ul li a {
    font-size: 16px;
  }
  .box {
    margin: 20px 10px 10px 5px;
  }
  #left .content .asp {
    padding: 30px 10px 20px 15px;
  }
}
@media only screen and (max-width: 640px) {
  #easyspar {
    width: 80px;
    top: 4px;
    right: 4px;
  }
  #easyspar img {
    top: 0;
  }
  #schriftgroesse,
  #bf_navi_open {
    display: none;
  }
  #infobanner {
    bottom: initial;
    top: 0;
    max-height: 100vh;
  }
  #infobanner .inner {
    padding: 25px 30px 40px 30px;
    top: 30px;
    overflow-y: auto;
    max-width: 75%;
    max-height: 90vh;
  }
  #infobanner .inner #infobannerCloser {
    top: 15px;
    right: 15px;
  }
  .fs_ct {
    justify-content: center;
  }
  .stellen_head {
    width: 100%;
    max-width: initial;
  }
  .stellen_form .row .val.submit input {
    width: 100%;
  }
  #map_canvas,
  #mapdiv {
    height: 250px;
  }
}
/* --- 580px --------------------------------------------- */
@media only screen and (max-width: 584px) {
  #kontakt_karte {
    float: none !important;
  }
  .hoverparts {
    display: none !important;
  }
  .left.wl_strassen_li {
    float: none;
    width: 100%;
    max-width: 100%;
  }
  .right.wl_strassen_re {
    width: 90%;
    max-width: 90%;
  }
  h1 {
    font-size: 26px;
  }
  h2 {
    font-size: 22px;
  }
  h3 {
    font-size: 18px;
  }
  h1.startseite {
    font-size: 16px;
  }
  #neubau_uebersicht {
    width: 100%;
  }
  #neubau_uebersicht a .item,
  #neubau_uebersicht a .item img {
    width: 100%;
    height: auto;
  }
  #neubau_uebersicht .item .text {
    display: block;
    color: #3C3A3A;
    top: inherit;
    top: 85%;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px;
  }
  #qt_banner,
  #login_me_portal {
    right: initial;
    left: 10px;
  }
  #startbox_ct_outer #startbox_ct h2 {
    display: block;
  }
  #startbox_ct_outer #startbox_ct .item {
    width: 96%;
  }
  #startbox_ct_outer #startbox_ct .item .link_ct {
    width: 80%;
  }
  #startbox_ct_outer #startbox_ct .item.js.x {
    margin-top: 20px;
  }
  #startbox_ct_outer #startlinks {
    margin-bottom: 20px;
  }
  #startbox_ct_outer #startlinks .item {
    float: none;
    transform: none;
  }
  #startbox_ct_outer #startlinks .item.qt {
    width: 250px;
    margin: 0 auto;
  }
  .immo .item {
    width: 100%;
    margin-right: 0;
  }
  .immo .item img {
    margin: 0 auto;
  }
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  select,
  textarea {
    padding: 8px 5px;
    width: 100%;
  }
  #mitarbeiter .ma_ct .ma_bild {
    display: none;
  }
  #mitarbeiter .ma_ct .ma_bild_mobil {
    display: block;
    text-align: center;
    padding-top: 20px;
  }
  form .row {
    width: 100%;
  }
  form .row .val {
    width: 100%;
  }
  form .row .val input[type="text"],
  form .row .val input[type="email"],
  form .row .val input[type="password"],
  form .row .val select {
    width: 100%;
  }
  form .row.ct_submit button {
    width: 95%;
  }
  .ct_submit input[type="submit"],
  .ct_submit input[type="button"],
  .ct_submit button[type="submit"] {
    width: 94%;
  }
  #vertreterform .bez {
    width: 100%;
  }
  #vertreterform input[type="text"] {
    width: 100%;
  }
  #vertreterform input[type="submit"] {
    width: 93%;
  }
}
/* --- 480px --------------------------------------------- */
/*@media only screen and (max-width: 479px) {*/
@media only screen and (max-width: 479px) {
  #logo20 {
    max-width: 150px;
    margin-top: 10px;
  }
  #ct_vertreter .row .kurz {
    width: 300px !important;
    max-width: 100%;
  }
  #ct_vertreter .row .kurz:first-of-type {
    margin-bottom: 10px;
  }
}
/* --- 350px --------------------------------------------- */
@media only screen and (max-width: 360px) {
  .tbl_resp td {
    /*display:flex;
			align-items:flex-start;
			column-gap:2px;
			*/
  }
  .tbl_resp td input#plz {
    width: 14%;
  }
  .tbl_resp td input#ort {
    width: 78%;
  }
  .tbl_resp td input[type="checkbox"] {
    margin-right: 5px;
  }
}
