@import url(meanmenu.min.css);
/* mobile.css */
/***********************************************************************************************************************************************************/
/* Mixins */
/***********************************************************************************************************************************************************/
body.mean-container > .ym-wrapper {
  padding: 50px 0 0;
}
.mean-container a.meanmenu-reveal span {
  display: flow-root;
  margin-top: 7px;
}
.mean-wrapper {
  height: 100%;
  margin: 0 auto;
  position: absolute;
  width: 100%;
  z-index: 990;
}
.mean-nav .icon {
  display: none;
}
.mean-container .mean-nav ul {
  font-size: 15px;
}
.mean-container .mean-nav ul li a {
  color: #000;
}
.mean-container .mean-bar {
  background: #CE211C;
  z-index: 992;
}
.mean-container .mean-bar,
.mean-container .mean-nav ul li a.mean-expand:hover,
.mean-container .mean-nav ul li a:hover {
  /*background: #afaf09;
	color: #fff;*/
  color: #000;
}
.mean-container .mean-nav ul li a.mean-expand {
  height: auto;
}
.mean-container #header .BGtop,
.mean-container.nohome .stageNav,
.home #header .navigation {
  display: none;
}
.mean-container #header .ym-wrapper {
  height: auto;
}
.mean-container.home #header .ym-wrapper {
  height: auto;
}
.mean-nav-txt {
  color: #fff;
  font-weight: bold;
  position: absolute;
  right: 45px;
  top: 10px;
  z-index: 999;
}
.mean-nav-txt .fa-arrow-right {
  margin: 0 0 0 5px;
}
.mean-container div.wayhome {
  /*background: #afaf09;*/
}
.mean-container .mean-nav ul li a.mean-expand:hover {
  background: gray;
}
/**********************************************************************************************/
/* RESPONSIVE */
/**********************************************************************************************/
@media screen and (min-width: 1599px) and (max-width: 1920px) {
  html {
    font-size: 15px;
  }
  .bx-wrapper {
    /*max-width: 648px !important;*/
  }
  .pageService {
    display: none;
  }
  .ym-form {
    font-size: 14px;
  }
  #main .ym-form input,
  #main .ym-form fieldset,
  #main input[type="text"],
  #main input[type="password"] {
    font-size: 14px !important;
  }
}
@media screen and (min-width: 1400px) and (max-width: 1599px) {
  html {
    font-size: 15px;
  }
  .bx-wrapper {
    /*max-width: 648px !important;*/
  }
  .pageService {
    display: none;
  }
  .ym-form {
    font-size: 14px;
  }
  #main .ym-form input,
  #main .ym-form fieldset,
  #main input[type="text"],
  #main input[type="password"] {
    font-size: 14px !important;
  }
}
@media screen and (min-width: 1130px) and (max-width: 1399px) {
  html {
    /*font-size: 11.91px;*/
    font-size: 12.1px;
  }
  .bx-wrapper {
    /*max-width: 648px !important;*/
  }
  .pageService {
    display: none;
  }
  .ym-form {
    font-size: 14px;
  }
  #main .ym-form input,
  #main .ym-form fieldset,
  #main input[type="text"],
  #main input[type="password"] {
    font-size: 14px !important;
  }
  .home #main #content .ym-g33:nth-child(3) .bx-wrapper .bx-controls-direction a {
    top: 25% !important;
  }
  .home #main #content .ym-g33:nth-child(3) .bx-wrapper .bx-controls-direction i {
    font-size: 30px !important;
  }
}
/*****************************************************************/
@media screen and (min-width: 830px) and (max-width: 1129px) {
  html {
    font-size: 8.11px;
    font-size: 8.91px;
    /*font-size: 12px;*/
  }
  .bx-wrapper {
    /*max-width: 648px !important;*/
  }
  .pageService {
    display: none;
  }
  .ym-form {
    font-size: 14px;
  }
  #main .ym-form input,
  #main .ym-form fieldset,
  #main input[type="text"],
  #main input[type="password"] {
    font-size: 14px !important;
  }
  #header {
    background: none;
  }
  #header .dvvToolbar {
    display: none;
  }
  #header .headerimg {
    height: 250px !important;
  }
  body.home #header .headerimg .slideshowNeu .bx-wrapper .bx-controls-direction a i {
    font-size: 50px;
  }
  body.home #header .headerimg .slideshowNeu .bx-wrapper .bx-pager.bx-default-pager {
    bottom: 150px;
  }
  body.home #header .headerimg .slideshowNeu .bx-wrapper .bx-pager.bx-default-pager a {
    border-radius: 10px;
    height: 20px;
    width: 20px;
  }
  #header .wetterSlot {
    display: none;
  }
  #header .wayhome {
    /*display: none;*/
    padding-top: 10px !important;
    font-size: 16px !important;
  }
  #header .wayhome {
    /*margin: 10px 10px 0px 10px;*/
    width: 100%;
  }
  #header .wayhome * {
    font-size: 16px !important;
  }
  #header .wayhome .wayhome span:before {
    font-size: 16px !important;
  }
  #header .ym-g100.firstTop {
    position: relative;
    width: 100%;
    height: inherit !important;
    display: table;
    background: none;
  }
  #header .ym-g100.firstTop .ym-g40.logo {
    width: auto !important;
    float: none;
  }
  #header .ym-g100.firstTop .ym-g40.logo .logoTop {
    width: 100% !important;
    top: 0;
  }
  #header .ym-g100.firstTop .ym-g40.logo .logoTop img.Logo {
    width: 50% !important;
    height: 50% !important;
    margin-top: 0 !important;
  }
  /************************************/
  /*****Icons**************************/
  #header .ym-g100.firstTop .ym-g40.top-flinksIcons {
    margin-top: 10px;
    text-align: left !important;
    display: table;
    width: 100% !important;
  }
  #header .ym-g100.firstTop .ym-g40.top-flinksIcons ul li * {
    font-size: 16px !important;
  }
  #header .ym-g100.firstTop .ym-g40.top-flinksIcons ul a.fa.fa-facebook.circle::before {
    font-size: 16px !important;
    margin-left: -10px !important;
  }
  #header .ym-g100.firstTop .ym-g40.top-flinksIcons ul li:nth-child(2) {
    margin-left: 5px !important;
  }
  #header .ym-g100.firstTop .ym-g40.top-flinksIcons ul li:nth-child(3) {
    margin-left: 16px !important;
  }
  /************************************/
  /*****Suche**************************/
  #header .ym-g100.firstTop .ym-g20.topsearch {
    width: 100% !important;
  }
  #header .ym-g100.firstTop .topsearch {
    margin-top: 10px;
    background: none !important;
    padding-left: 0;
    padding-bottom: 10px;
  }
  #header .ym-g100.firstTop .topsearch input#qs_query {
    font-size: 20px !important;
    width: 96% !important;
    padding-left: 0px !important;
  }
  #header .ym-g100.firstTop .topsearch input.quicksearchimg {
    width: inherit !important;
    height: inherit !important;
    background: none !important;
  }
  #header .LogoNavi {
    display: none;
  }
  /************************************/
  /*****MAIN**************************/
  .home #main .ym-col1,
  .home #main .ym-col3 {
    display: inherit;
    width: 100% !important;
    margin: 0;
  }
  .home #main .ym-col2,
  #main .ym-col2 {
    width: 100% !important;
    margin-right: 0;
    padding: 0;
    background: #F6F6F6 !important;
  }
  .home #main .ym-col2 H2 {
    font-size: 16px !important;
    display: none;
  }
  .home #main .ym-col2 H2:first-letter {
    font-size: 20px !important;
  }
  .home #main #content .ym-g33:nth-child(1) {
    margin: 0 0 10px 0 !important;
    width: 100%;
  }
  .home #main #content .ym-g33:nth-child(2) {
    margin: 0 0 10px 0 !important;
    width: 100%;
  }
  .home #main #content .ym-g33:nth-child(3) {
    margin: 0 !important;
    width: 100%;
  }
  .home #main #content .ym-g33:nth-child(3) .SliderSpalteDrei figure.image {
    height: inherit;
  }
  .home #main #content .ym-g33:nth-child(3) .bx-wrapper .bx-controls-direction i {
    font-size: 50px !important;
  }
  .home #main .ym-g33 article {
    height: inherit !important;
  }
  .home #main video {
    margin-top: 10px;
  }
  .home #main .ym-col2 #content *,
  #main .ym-col2 #content *,
  #main .ym-col2 #content p {
    font-size: 14px;
    line-height: 1.5;
  }
  #header div.ym-wrapper,
  #main div.ym-wrapper,
  #footer div.ym-wrapper {
    width: 90%;
    /*padding: 30/16rem 0 15/16rem 0;*/
    padding: 0rem 0 0rem 0;
    /* oben Null da Wayhome, unten 2 mal after je 17px gleich 34px*/
  }
  #main .ym-col1 {
    display: none;
  }
  #main .ym-col2 #content .basecontent-attachment img {
    height: 16px;
    width: 16px;
  }
  #main .ym-col2 #content p a:before {
    display: none;
  }
  #main .ym-col2 #content p a {
    padding-left: 0 !important;
  }
  #main .ym-col2 #content .rumpf * {
    font-size: 14px;
    line-height: 1.5;
  }
  #main .basecontent-dvv-service-bw-beh-rdendaten * {
    font-size: 14px !important;
  }
  #main .ym-col2 #lpSeite .anfangsbuchstabenLeiste a {
    font-size: 14px;
    line-height: 0.7;
  }
  #landeszusatz,
  #main .ym-col2 #lpSeite #bwHausContent,
  #main .ym-col2 #lpSeite #bwPostContent,
  #main .ym-col2 #lpSeite #bwKontaktTable,
  #main .ym-col2 #lpSeite .lpBAnsprechpartnerEintrag {
    font-size: 14px;
    line-height: 1.5;
  }
  #main .ym-col2 .rumpf *:before {
    display: none;
  }
  #main .ym-col2 #lpSeite *:before {
    display: none;
  }
  #main .ym-col2 #lpSeite li,
  #main .ym-col2 #lpSeite a.mailLink {
    padding-left: 0;
  }
  #main .ym-col2 .rumpf * {
    padding-left: 0;
  }
  #main .ym-col2 .basecontent-list li {
    padding-left: 14px;
  }
  #main .ym-col2 .basecontent-list li:before {
    font-size: 14px;
    line-height: 20px;
  }
  #search_form #ergebnisse .ergebnisseRumpf ul li a[href*="vbid"],
  #search_form #ergebnisse .ergebnisseRumpf ul li a[href*="llmid"],
  #search_form #ergebnisse .ergebnisseRumpf ul li a[href*="amtsID"],
  #search_form #ergebnisse .ergebnisseRumpf ul li a[href*="stmid"] {
    background: transparent url("../img/sbw-logo.png") no-repeat scroll 0 0.1875rem;
    margin: 0;
    padding-left: 50px;
  }
  #main .ym-col2 #content H1 {
    font-size: 24px;
    line-height: 30px;
  }
  #main .ym-col2 #content H2 {
    font-size: 20px;
    line-height: 26px;
  }
  #main .ym-col2 #content H3 {
    font-size: 16px;
    line-height: 26px;
  }
  #main .ym-col2 #content figure img {
    width: 100% !important;
    max-width: 100% !important;
  }
  #main .ym-col2 #content figure a.externerLink {
    display: inherit;
  }
  #main .ym-col2 #content .galleryImage {
    margin: 0 !important;
  }
  #main .ym-col2 #content .galleryImage figure.basecontent-external-image {
    width: 100% !important;
    max-width: 1129px !important;
  }
  #main .ym-col2 #content .composedcontent-image-gallery.imageGallery.gallery4cols * {
    width: 100% !important;
  }
  #main .ym-col2 #content .composedcontent-image-gallery.imageGallery.gallery4cols .galleryImage {
    width: 48% !important;
    margin: 0 !important;
  }
  #main .ym-col2 #content .composedcontent-image-gallery.imageGallery.gallery4cols .galleryImage:nth-child(odd) {
    margin-right: 1% !important;
  }
  #main .ym-col2 #content .composedcontent-image-gallery.imageGallery.gallery3cols * {
    width: 100% !important;
  }
  #main .ym-col2 #content .composedcontent-image-gallery.imageGallery.gallery3cols .galleryImage {
    width: 48% !important;
    margin: 0 !important;
  }
  #main .ym-col2 #content .composedcontent-image-gallery.imageGallery.gallery3cols .galleryImage:nth-child(odd) {
    margin-right: 1% !important;
  }
  #main .ym-col2 #content figure.image img {
    border-top: 0 solid #b7b7b7;
    max-width: 100%;
    float: none;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
  }
  #main .ym-col2 #content .float-right.letztes {
    margin-left: 0 !important;
    /*float: none !important;*/
  }
  #main .ym-col2 #content .float-right {
    float: none !important;
  }
  #main .ym-col2 #content .float-left {
    float: none !important;
  }
  #main .ym-col2 #content a:before {
    display: none;
  }
  #main .ym-col2 #content p a {
    padding-left: 0px !important;
  }
  #main .ym-col2 #content .toggle_title {
    padding: 0 0 0 20px !important;
  }
  #main .ym-col3 {
    width: 100%;
    margin-right: 0%;
  }
  .home #main .ym-col3 #service *,
  #main .ym-col3 #service * {
    font-size: 14px;
    line-height: 1.5;
    /*background: #1ea;*/
  }
  #main .ym-col3 #service H2 {
    font-size: 24px;
  }
  #main .ym-col3 #service H3 {
    font-size: 20px;
  }
  #main .ym-col3 #service p a:before {
    display: none;
  }
  #main .ym-col3 #service p a {
    padding-left: 0 !important;
  }
  #main .ym-col3 #service figure.image {
    max-width: 100% !important;
    width: inherit !important;
  }
  #main .ym-col3 #service figure.image img {
    max-width: 100% !important;
    width: inherit !important;
  }
  #main .ym-col3 #service .rumpf * {
    font-size: 14px;
    line-height: 1.5;
    /*background: #ded;*/
  }
  #main .ym-col3 #service .rumpf a:before {
    display: none;
  }
  #main .ym-col3 #service .rumpf span:before {
    display: none;
  }
  #main .ym-col3 #service .rumpf a {
    padding-left: 0 !important;
  }
  #main .ym-col3 #service .rumpf span {
    padding-left: 0 !important;
  }
  #main .ym-col3 #service .rumpf img {
    display: none;
  }
  /*vCard-Icon ausblenden*/
  #main .ym-col3 #service .bez {
    width: 100px;
    display: none;
  }
  #footer * {
    font-size: 14px !important;
    line-height: 1.5;
  }
  #footer .wbottom .ym-g33:nth-child(3) {
    padding-bottom: 10px !important;
  }
  #footer .wbottom .NLP_Logo {
    margin-top: -30px !important;
    margin-top: 0px !important;
    background: #3D3D3C !important;
    width: 100%;
    padding: 10px 0;
  }
  #footer .wbottom .NLP_Logo_Logo {
    text-align: center !important;
  }
  /*
  #footer .ym-wrapper {

  	overflow: unset !important;
  } 
  */
}
/*****************************************************************/
@media only screen and (min-width: 600px) and (max-width: 829px) {
  html {
    font-size: 6.95px;
    font-size: 5.95px;
    /*font-size: 9px;*/
  }
  .bx-wrapper {
    /*max-width: 502px !important;*/
  }
  .pageService {
    display: none;
  }
  .ym-form {
    font-size: 14px;
  }
  #main .ym-form input,
  #main .ym-form fieldset,
  #main input[type="text"],
  #main input[type="password"] {
    font-size: 14px !important;
  }
  #header {
    background: none;
  }
  #header .dvvToolbar {
    display: none;
  }
  #header .headerimg {
    height: 150px !important;
  }
  body.home #header .headerimg .slideshowNeu .bx-wrapper .bx-controls-direction a i {
    font-size: 50px;
  }
  body.home #header .headerimg .slideshowNeu .bx-wrapper .bx-pager.bx-default-pager {
    bottom: 120px;
  }
  body.home #header .headerimg .slideshowNeu .bx-wrapper .bx-pager.bx-default-pager a {
    border-radius: 10px;
    height: 20px;
    width: 20px;
  }
  #header .wetterSlot {
    display: none;
  }
  #header .wayhome {
    /*display: none;*/
    padding-top: 10px !important;
    font-size: 16px !important;
  }
  #header .wayhome {
    /*margin: 10px 10px 0px 10px;*/
    width: 100%;
  }
  #header .wayhome * {
    font-size: 16px !important;
  }
  #header .wayhome .wayhome span:before {
    font-size: 16px !important;
  }
  #header .ym-g100.firstTop {
    position: relative;
    width: 100%;
    height: inherit !important;
    display: table;
    background: none;
  }
  #header .ym-g100.firstTop .ym-g40.logo {
    width: auto !important;
    float: none;
  }
  #header .ym-g100.firstTop .ym-g40.logo .logoTop {
    width: 100% !important;
    top: 0;
  }
  #header .ym-g100.firstTop .ym-g40.logo .logoTop img.Logo {
    width: 50% !important;
    height: 50% !important;
    margin-top: 0 !important;
  }
  /************************************/
  /*****Icons**************************/
  #header .ym-g100.firstTop .ym-g40.top-flinksIcons {
    margin-top: 10px;
    text-align: left !important;
    display: table;
    width: 100% !important;
  }
  #header .ym-g100.firstTop .ym-g40.top-flinksIcons ul li * {
    font-size: 16px !important;
  }
  #header .ym-g100.firstTop .ym-g40.top-flinksIcons ul a.fa.fa-facebook.circle::before {
    font-size: 16px !important;
    margin-left: -12px !important;
  }
  #header .ym-g100.firstTop .ym-g40.top-flinksIcons ul li:nth-child(2) {
    margin-left: 5px !important;
  }
  #header .ym-g100.firstTop .ym-g40.top-flinksIcons ul li:nth-child(3) {
    margin-left: 16px !important;
  }
  /************************************/
  /*****Suche**************************/
  #header .ym-g100.firstTop .ym-g20.topsearch {
    width: 100% !important;
  }
  #header .ym-g100.firstTop .topsearch {
    margin-top: 10px;
    background: none !important;
    padding-left: 0;
    padding-bottom: 10px;
  }
  #header .ym-g100.firstTop .topsearch input#qs_query {
    font-size: 20px !important;
    width: 94% !important;
    padding-left: 0px !important;
  }
  #header .ym-g100.firstTop .topsearch input.quicksearchimg {
    width: inherit !important;
    height: inherit !important;
    background: none !important;
  }
  #header .LogoNavi {
    display: none;
  }
  /************************************/
  /*****MAIN**************************/
  .home #main .ym-col1,
  .home #main .ym-col3 {
    display: inherit;
    width: 100% !important;
    margin: 0;
  }
  .home #main .ym-col2,
  #main .ym-col2 {
    width: 100% !important;
    margin-right: 0;
    padding: 0;
    background: #F6F6F6 !important;
  }
  .home #main .ym-col2 H2 {
    font-size: 16px !important;
    display: none;
  }
  .home #main .ym-col2 H2:first-letter {
    font-size: 20px !important;
  }
  .home #main #content .ym-g33:nth-child(1) {
    margin: 0 0 10px 0 !important;
    width: 100%;
  }
  .home #main #content .ym-g33:nth-child(2) {
    margin: 0 0 10px 0 !important;
    width: 100%;
  }
  .home #main #content .ym-g33:nth-child(3) {
    margin: 0 !important;
    width: 100%;
  }
  .home #main #content .ym-g33:nth-child(3) .SliderSpalteDrei figure.image {
    height: inherit;
  }
  .home #main #content .ym-g33:nth-child(3) .bx-wrapper .bx-controls-direction i {
    font-size: 50px !important;
  }
  .home #main .ym-g33 article {
    height: inherit !important;
  }
  .home #main video {
    margin-top: 10px;
  }
  .home #main .ym-col2 #content *,
  #main .ym-col2 #content *,
  #main .ym-col2 #content p {
    font-size: 14px;
    line-height: 1.5;
  }
  #header div.ym-wrapper,
  #main div.ym-wrapper,
  #footer div.ym-wrapper {
    width: 90%;
    /*padding: 30/16rem 0 15/16rem 0;*/
    padding: 0rem 0 0rem 0;
    /* oben Null da Wayhome, unten 2 mal after je 17px gleich 34px*/
  }
  #main .ym-col1 {
    display: none;
  }
  #main .ym-col2 #content .basecontent-attachment img {
    height: 16px;
    width: 16px;
  }
  #main .ym-col2 #content p a:before {
    display: none;
  }
  #main .ym-col2 #content p a {
    padding-left: 0 !important;
  }
  #main .ym-col2 #content .rumpf * {
    font-size: 14px;
    line-height: 1.5;
  }
  #main .basecontent-dvv-service-bw-beh-rdendaten * {
    font-size: 14px !important;
  }
  #main .ym-col2 #lpSeite .anfangsbuchstabenLeiste a {
    font-size: 14px;
    line-height: 0.7;
  }
  #landeszusatz,
  #main .ym-col2 #lpSeite #bwHausContent,
  #main .ym-col2 #lpSeite #bwPostContent,
  #main .ym-col2 #lpSeite #bwKontaktTable,
  #main .ym-col2 #lpSeite .lpBAnsprechpartnerEintrag {
    font-size: 14px;
    line-height: 1.5;
  }
  #main .ym-col2 .rumpf *:before {
    display: none;
  }
  #main .ym-col2 #lpSeite *:before {
    display: none;
  }
  #main .ym-col2 #lpSeite li,
  #main .ym-col2 #lpSeite a.mailLink {
    padding-left: 0;
  }
  #main .ym-col2 .rumpf * {
    padding-left: 0;
  }
  #main .ym-col2 .basecontent-list li {
    padding-left: 14px;
  }
  #main .ym-col2 .basecontent-list li:before {
    font-size: 14px;
    line-height: 20px;
  }
  #search_form #ergebnisse .ergebnisseRumpf ul li a[href*="vbid"],
  #search_form #ergebnisse .ergebnisseRumpf ul li a[href*="llmid"],
  #search_form #ergebnisse .ergebnisseRumpf ul li a[href*="amtsID"],
  #search_form #ergebnisse .ergebnisseRumpf ul li a[href*="stmid"] {
    background: transparent url("../img/sbw-logo.png") no-repeat scroll 0 0.1875rem;
    margin: 0;
    padding-left: 50px;
  }
  #main .ym-col2 #content H1 {
    font-size: 24px;
    line-height: 30px;
  }
  #main .ym-col2 #content H2 {
    font-size: 20px;
    line-height: 26px;
  }
  #main .ym-col2 #content H3 {
    font-size: 16px;
    line-height: 26px;
  }
  #main .ym-col2 #content figure img {
    width: 100% !important;
    max-width: 100% !important;
  }
  #main .ym-col2 #content figure a.externerLink {
    display: inherit;
  }
  #main .ym-col2 #content .galleryImage {
    margin: 0 !important;
  }
  #main .ym-col2 #content .galleryImage figure.basecontent-external-image {
    width: 100% !important;
    max-width: 829px !important;
  }
  #main .ym-col2 #content .composedcontent-image-gallery.imageGallery.gallery4cols * {
    width: 100% !important;
  }
  #main .ym-col2 #content .composedcontent-image-gallery.imageGallery.gallery4cols .galleryImage {
    width: 48% !important;
    margin: 0 !important;
  }
  #main .ym-col2 #content .composedcontent-image-gallery.imageGallery.gallery4cols .galleryImage:nth-child(odd) {
    margin-right: 1% !important;
  }
  #main .ym-col2 #content .composedcontent-image-gallery.imageGallery.gallery3cols * {
    width: 100% !important;
  }
  #main .ym-col2 #content .composedcontent-image-gallery.imageGallery.gallery3cols .galleryImage {
    width: 48% !important;
    margin: 0 !important;
  }
  #main .ym-col2 #content .composedcontent-image-gallery.imageGallery.gallery3cols .galleryImage:nth-child(odd) {
    margin-right: 1% !important;
  }
  #main .ym-col2 #content figure.image img {
    border-top: 0 solid #b7b7b7;
    max-width: 100%;
    float: none;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
  }
  #main .ym-col2 #content .float-right.letztes {
    margin-left: 0 !important;
    /*float: none !important;*/
  }
  #main .ym-col2 #content .float-right {
    float: none !important;
  }
  #main .ym-col2 #content .float-left {
    float: none !important;
  }
  #main .ym-col2 #content a:before {
    display: none;
  }
  #main .ym-col2 #content p a {
    padding-left: 0px !important;
  }
  #main .ym-col2 #content .toggle_title {
    padding: 0 0 0 20px !important;
  }
  #main .ym-col3 {
    width: 100%;
    margin-right: 0%;
  }
  .home #main .ym-col3 #service *,
  #main .ym-col3 #service * {
    font-size: 14px;
    line-height: 1.5;
    /*background: #1ea;*/
  }
  #main .ym-col3 #service H2 {
    font-size: 24px;
  }
  #main .ym-col3 #service H3 {
    font-size: 20px;
  }
  #main .ym-col3 #service p a:before {
    display: none;
  }
  #main .ym-col3 #service p a {
    padding-left: 0 !important;
  }
  #main .ym-col3 #service figure.image {
    max-width: 100% !important;
    width: inherit !important;
  }
  #main .ym-col3 #service figure.image img {
    max-width: 100% !important;
    width: inherit !important;
  }
  #main .ym-col3 #service .rumpf * {
    font-size: 14px;
    line-height: 1.5;
    /*background: #ded;*/
  }
  #main .ym-col3 #service .rumpf a:before {
    display: none;
  }
  #main .ym-col3 #service .rumpf span:before {
    display: none;
  }
  #main .ym-col3 #service .rumpf a {
    padding-left: 0 !important;
  }
  #main .ym-col3 #service .rumpf span {
    padding-left: 0 !important;
  }
  #main .ym-col3 #service .rumpf img {
    display: none;
  }
  /*vCard-Icon ausblenden*/
  #main .ym-col3 #service .bez {
    width: 100px;
    display: none;
  }
  #footer * {
    font-size: 14px !important;
    line-height: 1.5;
  }
  #footer .wbottom .ym-g33:nth-child(3) {
    padding-bottom: 10px !important;
  }
  #footer .wbottom .NLP_Logo {
    margin-top: -30px !important;
    margin-top: 0px !important;
    background: #3D3D3C !important;
    width: 100%;
    padding: 10px 0;
  }
  #footer .wbottom .NLP_Logo_Logo {
    text-align: center !important;
  }
  /*
  #footer .ym-wrapper {

  	overflow: unset !important;
  } 
  */
}
/*****************************************************************/
@media only screen and (min-width: 480px) and (max-width: 599px) {
  html {
    font-size: 5.2px;
    /*font-size: 6px;*/
  }
  .bx-wrapper {
    /*max-width: 340px !important;*/
  }
  .pageService {
    display: none;
  }
  .ym-form {
    font-size: 14px;
  }
  #main .ym-form input,
  #main .ym-form fieldset,
  #main input[type="text"],
  #main input[type="password"] {
    font-size: 14px !important;
  }
  #header {
    background: none;
  }
  #header .dvvToolbar {
    display: none;
  }
  #header .headerimg {
    height: 150px !important;
  }
  body.home #header .headerimg .slideshowNeu .bx-wrapper .bx-controls-direction a i {
    font-size: 50px;
  }
  body.home #header .headerimg .slideshowNeu .bx-wrapper .bx-pager.bx-default-pager {
    bottom: 90px;
  }
  body.home #header .headerimg .slideshowNeu .bx-wrapper .bx-pager.bx-default-pager a {
    border-radius: 10px;
    height: 20px;
    width: 20px;
  }
  #header .wetterSlot {
    display: none;
  }
  #header .wayhome {
    /*display: none;*/
    padding-top: 10px !important;
    font-size: 16px !important;
  }
  #header .wayhome {
    /*margin: 10px 10px 0px 10px;*/
    width: 100%;
  }
  #header .wayhome * {
    font-size: 16px !important;
  }
  #header .wayhome .wayhome span:before {
    font-size: 16px !important;
  }
  #header .ym-g100.firstTop {
    position: relative;
    width: 100%;
    height: inherit !important;
    display: table;
    background: none;
  }
  #header .ym-g100.firstTop .ym-g40.logo {
    width: auto !important;
    float: none;
  }
  #header .ym-g100.firstTop .ym-g40.logo .logoTop {
    width: 100% !important;
    top: 0;
  }
  #header .ym-g100.firstTop .ym-g40.logo .logoTop img.Logo {
    width: 50% !important;
    height: 50% !important;
    margin-top: 0 !important;
  }
  /************************************/
  /*****Icons**************************/
  #header .ym-g100.firstTop .ym-g40.top-flinksIcons {
    margin-top: 10px;
    text-align: left !important;
    display: table;
    width: 100% !important;
  }
  #header .ym-g100.firstTop .ym-g40.top-flinksIcons ul li * {
    font-size: 14px !important;
  }
  #header .ym-g100.firstTop .ym-g40.top-flinksIcons ul a.fa.fa-facebook.circle::before {
    font-size: 14px !important;
    margin-left: -11px !important;
  }
  #header .ym-g100.firstTop .ym-g40.top-flinksIcons ul li:nth-child(2) {
    margin-left: 5px !important;
  }
  #header .ym-g100.firstTop .ym-g40.top-flinksIcons ul li:nth-child(3) {
    margin-left: 16px !important;
  }
  /************************************/
  /*****Suche**************************/
  #header .ym-g100.firstTop .ym-g20.topsearch {
    width: 100% !important;
  }
  #header .ym-g100.firstTop .topsearch {
    margin-top: 10px;
    background: none !important;
    padding-left: 0;
    padding-bottom: 10px;
  }
  #header .ym-g100.firstTop .topsearch input#qs_query {
    font-size: 20px !important;
    width: 94% !important;
    padding-left: 0px !important;
  }
  #header .ym-g100.firstTop .topsearch input.quicksearchimg {
    width: inherit !important;
    height: inherit !important;
    background: none !important;
  }
  #header .LogoNavi {
    display: none;
  }
  /************************************/
  /*****MAIN**************************/
  .home #main .ym-col1,
  .home #main .ym-col3 {
    display: inherit;
    width: 100% !important;
    margin: 0;
  }
  .home #main .ym-col2,
  #main .ym-col2 {
    width: 100% !important;
    margin-right: 0;
    padding: 0;
    background: #F6F6F6 !important;
  }
  .home #main .ym-col2 H2 {
    font-size: 16px !important;
    display: none;
  }
  .home #main .ym-col2 H2:first-letter {
    font-size: 20px !important;
  }
  .home #main #content .ym-g33:nth-child(1) {
    margin: 0 0 10px 0 !important;
    width: 100%;
  }
  .home #main #content .ym-g33:nth-child(2) {
    margin: 0 0 10px 0 !important;
    width: 100%;
  }
  .home #main #content .ym-g33:nth-child(3) {
    margin: 0 !important;
    width: 100%;
  }
  .home #main #content .ym-g33:nth-child(3) .SliderSpalteDrei figure.image {
    height: inherit;
  }
  .home #main #content .ym-g33:nth-child(3) .bx-wrapper .bx-controls-direction i {
    font-size: 50px !important;
  }
  .home #main .ym-g33 article {
    height: inherit !important;
  }
  .home #main video {
    margin-top: 10px;
  }
  .home #main .ym-col2 #content *,
  #main .ym-col2 #content *,
  #main .ym-col2 #content p {
    font-size: 14px;
    line-height: 1.5;
  }
  #header div.ym-wrapper,
  #main div.ym-wrapper,
  #footer div.ym-wrapper {
    width: 90%;
    /*padding: 30/16rem 0 15/16rem 0;*/
    padding: 0rem 0 0rem 0;
    /* oben Null da Wayhome, unten 2 mal after je 17px gleich 34px*/
  }
  #main .ym-col1 {
    display: none;
  }
  #main .ym-col2 #content .basecontent-attachment img {
    height: 16px;
    width: 16px;
  }
  #main .ym-col2 #content p a:before {
    display: none;
  }
  #main .ym-col2 #content p a {
    padding-left: 0 !important;
  }
  #main .ym-col2 #content .rumpf * {
    font-size: 14px;
    line-height: 1.5;
  }
  #main .basecontent-dvv-service-bw-beh-rdendaten * {
    font-size: 14px !important;
  }
  #main .ym-col2 #lpSeite .anfangsbuchstabenLeiste a {
    font-size: 14px;
    line-height: 0.7;
  }
  #landeszusatz,
  #main .ym-col2 #lpSeite #bwHausContent,
  #main .ym-col2 #lpSeite #bwPostContent,
  #main .ym-col2 #lpSeite #bwKontaktTable,
  #main .ym-col2 #lpSeite .lpBAnsprechpartnerEintrag {
    font-size: 14px;
    line-height: 1.5;
  }
  #main .ym-col2 .rumpf *:before {
    display: none;
  }
  #main .ym-col2 #lpSeite *:before {
    display: none;
  }
  #main .ym-col2 #lpSeite li,
  #main .ym-col2 #lpSeite a.mailLink {
    padding-left: 0;
  }
  #main .ym-col2 .rumpf * {
    padding-left: 0;
  }
  #main .ym-col2 .basecontent-list li {
    padding-left: 14px;
  }
  #main .ym-col2 .basecontent-list li:before {
    font-size: 14px;
    line-height: 20px;
  }
  #search_form #ergebnisse .ergebnisseRumpf ul li a[href*="vbid"],
  #search_form #ergebnisse .ergebnisseRumpf ul li a[href*="llmid"],
  #search_form #ergebnisse .ergebnisseRumpf ul li a[href*="amtsID"],
  #search_form #ergebnisse .ergebnisseRumpf ul li a[href*="stmid"] {
    background: transparent url("../img/sbw-logo.png") no-repeat scroll 0 0.1875rem;
    margin: 0;
    padding-left: 50px;
  }
  #main .ym-col2 #content H1 {
    font-size: 24px;
    line-height: 30px;
  }
  #main .ym-col2 #content H2 {
    font-size: 20px;
    line-height: 26px;
  }
  #main .ym-col2 #content H3 {
    font-size: 16px;
    line-height: 26px;
  }
  #main .ym-col2 #content figure img {
    width: 100% !important;
    max-width: 100% !important;
  }
  #main .ym-col2 #content figure a.externerLink {
    display: inherit;
  }
  #main .ym-col2 #content .galleryImage {
    margin: 0 !important;
  }
  #main .ym-col2 #content .galleryImage figure.basecontent-external-image {
    width: 100% !important;
    max-width: 599px !important;
  }
  #main .ym-col2 #content .composedcontent-image-gallery.imageGallery.gallery4cols * {
    width: 100% !important;
  }
  #main .ym-col2 #content .composedcontent-image-gallery.imageGallery.gallery4cols .galleryImage {
    width: 48% !important;
    margin: 0 !important;
  }
  #main .ym-col2 #content .composedcontent-image-gallery.imageGallery.gallery4cols .galleryImage:nth-child(odd) {
    margin-right: 1% !important;
  }
  #main .ym-col2 #content .composedcontent-image-gallery.imageGallery.gallery3cols * {
    width: 100% !important;
  }
  #main .ym-col2 #content .composedcontent-image-gallery.imageGallery.gallery3cols .galleryImage {
    width: 48% !important;
    margin: 0 !important;
  }
  #main .ym-col2 #content .composedcontent-image-gallery.imageGallery.gallery3cols .galleryImage:nth-child(odd) {
    margin-right: 1% !important;
  }
  #main .ym-col2 #content figure.image img {
    border-top: 0 solid #b7b7b7;
    max-width: 100%;
    float: none;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
  }
  #main .ym-col2 #content .float-right.letztes {
    margin-left: 0 !important;
    /*float: none !important;*/
  }
  #main .ym-col2 #content .float-right {
    float: none !important;
  }
  #main .ym-col2 #content .float-left {
    float: none !important;
  }
  #main .ym-col2 #content a:before {
    display: none;
  }
  #main .ym-col2 #content p a {
    padding-left: 0px !important;
  }
  #main .ym-col2 #content .toggle_title {
    padding: 0 0 0 20px !important;
  }
  #main .ym-col3 {
    width: 100%;
    margin-right: 0%;
  }
  .home #main .ym-col3 #service *,
  #main .ym-col3 #service * {
    font-size: 14px;
    line-height: 1.5;
    /*background: #1ea;*/
  }
  #main .ym-col3 #service H2 {
    font-size: 24px;
  }
  #main .ym-col3 #service H3 {
    font-size: 20px;
  }
  #main .ym-col3 #service p a:before {
    display: none;
  }
  #main .ym-col3 #service p a {
    padding-left: 0 !important;
  }
  #main .ym-col3 #service figure.image {
    max-width: 100% !important;
    width: inherit !important;
  }
  #main .ym-col3 #service figure.image img {
    max-width: 100% !important;
    width: inherit !important;
  }
  #main .ym-col3 #service .rumpf * {
    font-size: 14px;
    line-height: 1.5;
    /*background: #ded;*/
  }
  #main .ym-col3 #service .rumpf a:before {
    display: none;
  }
  #main .ym-col3 #service .rumpf span:before {
    display: none;
  }
  #main .ym-col3 #service .rumpf a {
    padding-left: 0 !important;
  }
  #main .ym-col3 #service .rumpf span {
    padding-left: 0 !important;
  }
  #main .ym-col3 #service .rumpf img {
    display: none;
  }
  /*vCard-Icon ausblenden*/
  #main .ym-col3 #service .bez {
    width: 100px;
    display: none;
  }
  #footer * {
    font-size: 14px !important;
    line-height: 1.5;
  }
  #footer .wbottom .ym-g33:nth-child(3) {
    padding-bottom: 10px !important;
  }
  #footer .wbottom .NLP_Logo {
    margin-top: -30px !important;
    margin-top: 0px !important;
    background: #3D3D3C !important;
    width: 100%;
    padding: 10px 0;
  }
  #footer .wbottom .NLP_Logo_Logo {
    text-align: center !important;
  }
  /*
  #footer .ym-wrapper {

  	overflow: unset !important;
  } 
  */
}
/*****************************************************************/
/*****************************************************************/
@media only screen and (max-width: 479px) {
  html {
    font-size: 2.8px;
    /*font-size: 4.5px;*/
  }
  .bx-wrapper {
    /*max-width: 260px !important;*/
  }
  .pageService {
    display: none;
  }
  .ym-form {
    font-size: 14px;
  }
  #main .ym-form input,
  #main .ym-form fieldset,
  #main input[type="text"],
  #main input[type="password"] {
    font-size: 14px !important;
  }
  #header {
    background: none;
  }
  #header .dvvToolbar {
    display: none;
  }
  #header .headerimg {
    height: 150px !important;
    display: none;
  }
  body.home #header .headerimg .slideshowNeu .bx-wrapper .bx-controls-direction a i {
    font-size: 50px;
  }
  body.home #header .headerimg .slideshowNeu .bx-wrapper .bx-pager.bx-default-pager {
    bottom: 10px;
  }
  body.home #header .headerimg .slideshowNeu .bx-wrapper .bx-pager.bx-default-pager a {
    border-radius: 10px;
    height: 20px;
    width: 20px;
  }
  #header .wetterSlot {
    display: none;
  }
  #header .wayhome {
    /*display: none;*/
    padding-top: 10px !important;
    font-size: 16px !important;
  }
  #header .wayhome {
    /*margin: 10px 10px 0px 10px;*/
    width: 100%;
  }
  #header .wayhome * {
    font-size: 16px !important;
  }
  #header .wayhome .wayhome span:before {
    font-size: 16px !important;
  }
  #header .ym-g100.firstTop {
    position: relative;
    width: 100%;
    height: inherit !important;
    display: table;
    background: none;
  }
  #header .ym-g100.firstTop .ym-g40.logo {
    width: auto !important;
    float: none;
  }
  #header .ym-g100.firstTop .ym-g40.logo .logoTop {
    width: 100% !important;
    top: 0;
  }
  #header .ym-g100.firstTop .ym-g40.logo .logoTop img.Logo {
    width: 50% !important;
    height: 50% !important;
    margin-top: 0 !important;
  }
  /************************************/
  /*****Icons**************************/
  #header .ym-g100.firstTop .ym-g40.top-flinksIcons {
    margin-top: 10px;
    text-align: left !important;
    display: table;
    width: 100% !important;
  }
  #header .ym-g100.firstTop .ym-g40.top-flinksIcons ul li * {
    font-size: 14px !important;
  }
  #header .ym-g100.firstTop .ym-g40.top-flinksIcons ul a.fa.fa-facebook.circle::before {
    font-size: 14px !important;
    margin-left: -14px !important;
  }
  #header .ym-g100.firstTop .ym-g40.top-flinksIcons ul li:nth-child(2) {
    margin-left: 5px !important;
  }
  #header .ym-g100.firstTop .ym-g40.top-flinksIcons ul li:nth-child(3) {
    margin-left: 16px !important;
  }
  /************************************/
  /*****Suche**************************/
  #header .ym-g100.firstTop .ym-g20.topsearch {
    width: 100% !important;
  }
  #header .ym-g100.firstTop .topsearch {
    margin-top: 10px;
    background: none !important;
    padding-left: 0;
    padding-bottom: 10px;
  }
  #header .ym-g100.firstTop .topsearch input#qs_query {
    font-size: 20px !important;
    width: 94% !important;
    padding-left: 0px !important;
  }
  #header .ym-g100.firstTop .topsearch input.quicksearchimg {
    width: inherit !important;
    height: inherit !important;
    background: none !important;
  }
  #header .LogoNavi {
    display: none;
  }
  /************************************/
  /*****MAIN**************************/
  .home #main .ym-col1,
  .home #main .ym-col3 {
    display: inherit;
    width: 100% !important;
    margin: 0;
  }
  .home #main .ym-col2,
  #main .ym-col2 {
    width: 100% !important;
    margin-right: 0;
    margin-top: 20px;
    /*wenn kein Headerbild*/
    padding: 0;
    background: #F6F6F6 !important;
  }
  .home #main .ym-col2 H2 {
    font-size: 16px !important;
    display: none;
  }
  .home #main .ym-col2 H2:first-letter {
    font-size: 20px !important;
  }
  .home #main #content .ym-g33:nth-child(1) {
    margin: 0 0 10px 0 !important;
    width: 100%;
  }
  .home #main #content .ym-g33:nth-child(2) {
    margin: 0 0 10px 0 !important;
    width: 100%;
  }
  .home #main #content .ym-g33:nth-child(3) {
    margin: 0 !important;
    width: 100%;
  }
  .home #main #content .ym-g33:nth-child(3) .SliderSpalteDrei figure.image {
    height: inherit;
  }
  .home #main #content .ym-g33:nth-child(3) .bx-wrapper .bx-controls-direction i {
    font-size: 50px !important;
  }
  .home #main .ym-g33 article {
    height: inherit !important;
  }
  .home #main video {
    margin-top: 10px;
  }
  .home #main .ym-col2 #content *,
  #main .ym-col2 #content *,
  #main .ym-col2 #content p {
    font-size: 14px;
    line-height: 1.5;
  }
  #header div.ym-wrapper,
  #main div.ym-wrapper,
  #footer div.ym-wrapper {
    width: 90%;
    /*padding: 30/16rem 0 15/16rem 0;*/
    padding: 0rem 0 0rem 0;
    /* oben Null da Wayhome, unten 2 mal after je 17px gleich 34px*/
  }
  #main .ym-col1 {
    display: none;
  }
  #main .ym-col2 #content .basecontent-attachment img {
    height: 16px;
    width: 16px;
  }
  #main .ym-col2 #content p a:before {
    display: none;
  }
  #main .ym-col2 #content p a {
    padding-left: 0 !important;
  }
  #main .ym-col2 #content .rumpf * {
    font-size: 14px;
    line-height: 1.5;
  }
  #main .basecontent-dvv-service-bw-beh-rdendaten * {
    font-size: 14px !important;
  }
  #main .ym-col2 #lpSeite .anfangsbuchstabenLeiste a {
    font-size: 14px;
    line-height: 0.7;
  }
  #landeszusatz,
  #main .ym-col2 #lpSeite #bwHausContent,
  #main .ym-col2 #lpSeite #bwPostContent,
  #main .ym-col2 #lpSeite #bwKontaktTable,
  #main .ym-col2 #lpSeite .lpBAnsprechpartnerEintrag {
    font-size: 14px;
    line-height: 1.5;
  }
  #main .ym-col2 .rumpf *:before {
    display: none;
  }
  #main .ym-col2 #lpSeite *:before {
    display: none;
  }
  #main .ym-col2 #lpSeite li,
  #main .ym-col2 #lpSeite a.mailLink {
    padding-left: 0;
  }
  #main .ym-col2 .rumpf * {
    padding-left: 0;
  }
  #main .ym-col2 .basecontent-list li {
    padding-left: 14px;
  }
  #main .ym-col2 .basecontent-list li:before {
    font-size: 14px;
    line-height: 20px;
  }
  #search_form #ergebnisse .ergebnisseRumpf ul li a[href*="vbid"],
  #search_form #ergebnisse .ergebnisseRumpf ul li a[href*="llmid"],
  #search_form #ergebnisse .ergebnisseRumpf ul li a[href*="amtsID"],
  #search_form #ergebnisse .ergebnisseRumpf ul li a[href*="stmid"] {
    background: transparent url("../img/sbw-logo.png") no-repeat scroll 0 0.1875rem;
    margin: 0;
    padding-left: 50px;
  }
  #main .ym-col2 #content H1 {
    font-size: 24px;
    line-height: 30px;
  }
  #main .ym-col2 #content H2 {
    font-size: 20px;
    line-height: 26px;
  }
  #main .ym-col2 #content H3 {
    font-size: 16px;
    line-height: 26px;
  }
  #main .ym-col2 #content figure img {
    /*width: 100% !important;*/
    max-width: 100% !important;
  }
  #main .ym-col2 #content figure a.externerLink {
    display: inherit;
  }
  #main .ym-col2 #content .galleryImage {
    margin: 0 !important;
  }
  #main .ym-col2 #content .galleryImage figure.basecontent-external-image {
    /*width: 100% !important;*/
    max-width: 479px !important;
  }
  #main .ym-col2 #content .composedcontent-image-gallery.imageGallery.gallery4cols * {
    width: 100% !important;
  }
  #main .ym-col2 #content .composedcontent-image-gallery.imageGallery.gallery3cols * {
    width: 100% !important;
  }
  #main .ym-col2 #content figure.image img {
    border-top: 0 solid #b7b7b7;
    max-width: 100%;
    float: none;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
  }
  #main .ym-col2 #content .float-right.letztes {
    margin-left: 0 !important;
    /*float: none !important;*/
  }
  #main .ym-col2 #content .float-right {
    float: none !important;
  }
  #main .ym-col2 #content .float-left {
    float: none !important;
  }
  #main .ym-col2 #content a:before {
    display: none;
  }
  #main .ym-col2 #content p a {
    padding-left: 0px !important;
  }
  #main .ym-col2 #content .toggle_title {
    padding: 0 0 0 20px !important;
  }
  #main .ym-col3 {
    width: 100%;
    margin-right: 0%;
  }
  .home #main .ym-col3 #service *,
  #main .ym-col3 #service * {
    font-size: 14px;
    line-height: 1.5;
    /*background: #1ea;*/
  }
  #main .ym-col3 #service H2 {
    font-size: 24px;
  }
  #main .ym-col3 #service H3 {
    font-size: 20px;
  }
  #main .ym-col3 #service p a:before {
    display: none;
  }
  #main .ym-col3 #service p a {
    padding-left: 0 !important;
  }
  #main .ym-col3 #service figure.image {
    max-width: 100% !important;
    width: inherit !important;
  }
  #main .ym-col3 #service figure.image img {
    max-width: 100% !important;
    width: inherit !important;
  }
  #main .ym-col3 #service .rumpf * {
    font-size: 14px;
    line-height: 1.5;
    /*background: #ded;*/
  }
  #main .ym-col3 #service .rumpf a:before {
    display: none;
  }
  #main .ym-col3 #service .rumpf span:before {
    display: none;
  }
  #main .ym-col3 #service .rumpf a {
    padding-left: 0 !important;
  }
  #main .ym-col3 #service .rumpf span {
    padding-left: 0 !important;
  }
  #main .ym-col3 #service .rumpf img {
    display: none;
  }
  /*vCard-Icon ausblenden*/
  #main .ym-col3 #service .bez {
    width: 100px;
    display: none;
  }
  #footer * {
    font-size: 14px !important;
    line-height: 1.5;
  }
  #footer .wbottom .ym-g33:nth-child(3) {
    padding-bottom: 10px !important;
  }
  #footer .wbottom .NLP_Logo {
    margin-top: -30px !important;
    margin-top: 0px !important;
    background: #3D3D3C !important;
    width: 100%;
    padding: 10px 0;
  }
  #footer .wbottom .NLP_Logo_Logo {
    text-align: center !important;
  }
  /*
  #footer .ym-wrapper {

  	overflow: unset !important;
  } 
  */
}

