/*Farben nach Blau*/
.presse-uebersicht #myform .pm-suche input[type*=submit],
.pm-topnews #myform .pm-suche input[type*=submit] {
  background: #009BC2;
}

.presse-uebersicht #myform .pm-suche .pm-suche-buttons input,
.pm-topnews #myform .pm-suche .pm-suche-buttons input {
  background: #009BC2;
}
.presse-uebersicht #myform .tischkalender div.tabbedCalendarYears a,
.pm-topnews #myform .tischkalender div.tabbedCalendarYears a {
  color: #009BC2;
}
.presse-uebersicht #myform .tischkalender div.tabbedCalendarYears ul li.active a,
.pm-topnews #myform .tischkalender div.tabbedCalendarYears ul li.active a,
.presse-uebersicht #myform .tischkalender div.tabbedCalendarMonths ul li.active a,
.pm-topnews #myform .tischkalender div.tabbedCalendarMonths ul li.active a {
  color: #009BC2 !important;
}
.presse-uebersicht #myform .tischkalender div.tabbedCalendarYears ul li.inactive a,
.pm-topnews #myform .tischkalender div.tabbedCalendarYears ul li.inactive a,
.presse-uebersicht #myform .tischkalender div.tabbedCalendarMonths ul li.inactive a,
.pm-topnews #myform .tischkalender div.tabbedCalendarMonths ul li.inactive a {
  color: #009BC2;
}
.home .pm-topnews .pm-meldung .pm-head h3:before {
  color: #009BC2;
}
.home .pm-topnews .pm-meldung .pm-detaillink:before {
  color: #009BC2;
}

.home .homeBox:nth-of-type(2) {margin: 0 2%;}

.inputButton {
  background: #009BC2;
}
.hrefButton {
  background: #009BC2;
}
a {
  color: #009BC2;
}
button,
input[type*=submit] {
  background: #009BC2;
}
button:hover,
input[type*=submit]:hover {
  background: #009BC2;
}
table.show-grid td {
  border-bottom: 1px solid #009BC2;
}
table th {
  color: #009BC2;
  background-color: #fff7e3;
}

.even {
  background-color: #fff7e3;
}

h1,
h2,
h3 {
  color: #009BC2;
}

body #header .flexnav li ul li a.active {
  color: #009BC2 !important;
}
body #header .flexnav li.current,
body #header .flexnav li.currentParent {
  border-top: 5px solid #009BC2;
}

#header .ym-wrapper {
  min-width: 960px;
}
#header #topnav-bar .ym-g100.ueberbreite {
  border-bottom: 5px solid #009BC2;
  background: #009BC2;
 }

.ym-col1 {
  background: #009BC2;
}
.ym-col2 #content h1:before {
  color: #009BC2;
 }
.ym-col2 #content h2 {
  color: #009BC2;
}

.ym-col2 #content .pager .pagerInner .ui-state-default {
  border: 1px solid #009BC2;
}
.ym-col2 #content .pager .pagerInner .ui-state-active {
  border: 1px solid #009BC2;
}
.ym-col2 .downloadlist th.ui-state-default,
.ym-col2 .downloadlist th.ui-state-active {
  background: #009BC2;
}
.ym-col2 .downloadlist td, .ym-col2 .downloadlist td.dlType, .ym-col2 .downloadlist th {
    padding: 4px 5px;
}

.ym-col2 .toggle_title {
  color: #009BC2;
  background: none repeat scroll 0 0 #fff7e3;
}

.ym-col2 .ui-accordion .ui-accordion-header a {
  color: #009BC2;
}

.ym-col2 .searchForm #searchTypeSpan a {
  background: #009BC2;
}
.ym-col2 .searchForm #searchTypeSpan a:hover {
  background: #009BC2;
}
.ym-col2 .searchForm .searchSort img {
  border: 1px solid #009BC2;
}

#footer .centrifier:first-child {
  background-color: #009BC2;
}

#footer .centrifier .ym-grid ul li a::before {
  color: #009BC2;
}
body.home .ym-col2 #content h2:before {
  color: #009BC2;
}
body.home .ym-col2 #content .startLink a {
  background: #009BC2;
}

body.home .ym-col2 #content .wetter h3 {
  color: #009BC2;
}

body.home .ym-col2 #content .homeBox .pm-meldung .pm-head h3:before {
  color: #009BC2;
}
body.home .ym-col2 #content .homeBox .basecontent-ueberschrift-1:before,
body.home .ym-col2 #content .homeBox h2:before {
  color: #009BC2;
}
body.home .ym-col2 #content .homeBox .carryOn .internerLink {
  background-color: #009BC2;
}

body.home .ym-col2 #content article .homeBox:nth-child(3) {
  margin: 0;
}
.home .pm-topnews .pm-meldung .pm-bild {
    max-height: 130px;
}

.homeBoxes {
  margin-top: 20px;
}
.homeBoxes img {
    width: 100%;
}
.homeBoxes .ym-g33 {
  width: 32%;
  margin: 10px 0 0;
}
.homeBoxes .ym-g33:nth-child(2) {
  margin: 10px 2% 0;
}

.sb-slidebar {
  background: #009BC2;
}

.sb-slidebar .flexnav li ul {
  background-color: #009BC2;
}

.sb-slidebar .flexnav li ul li ul {
  background-color: #009BC2;
}

.hlist .currenttop li.current a:before {
  color: #009BC2;
}

.hlist .currenttop li.currentParent a:before {
  color: #009BC2;
}

.basecontent-form-editor .ym-form fieldset.formButtonContainer .ym-fbox-button input {
  background: #009BC2;
}
.basecontent-form-editor .ym-form .requiredMark {
  color: #009BC2;
}

.body_contentmail #content input {
  background: #009BC2;
}

#zmSuche .abschnittLabel {
  color: #009BC2;
}

#zmSuche fieldset .zmSuchButton input {
  background: #009BC2;
}

#zmEListe #zmDataItems .zmItem .titel {
  color: #009BC2;
}

#zmEListe .zmzursuche a {
  background: #009BC2;
}

#zmDetail .zmnav .zmzureu a,
#zmDetail .zmnav .zmzursuche a {
  background: #009BC2;
}

.Veranstaltungskalender #zmDetail .zmnav > div a {
  background: #009BC2;
}

.basecontent-dvv-zm-kalenderblatt div.containerCalendarDays ul li a {
  background: #009BC2;
}

.basecontent-dvv-zm-vk .item .datum:before {
  color: #009BC2;
}

.Firmen #zmSuche .zmVolltextSuche label {
  color: #009BC2;
}

.basecontent-dvv-service-bw-beh-rdendaten .rumpf .family-name {
  color: #009BC2;
}

#lpSeite input {
  background: #009BC2;
}

#lpSeite .lpBAnsprechpartnerEintrag .lpBAnsprechNameDiv {
  color: #009BC2;
}

#lpSeite .anfangsbuchstabenLeiste {
  border-top: 1px solid #009BC2;
  border-bottom: 1px solid #009BC2;
}


/*Logo Position*/
#header #topnav-bar .ym-g100.ueberbreite2 .logo {
  margin-top: 2px;
  max-width: 230px;
}


/*Navi Position*/
body #header .flexnav li.current a, body #header .flexnav li.currentParent a {
    padding: 33px 0 0 0;
}

body #header .flexnav li a {
    padding: 38px 0 0 0;
}

.hauptnavi #quicksearch {
  top: 26px;
}
#header .quickLinks a, #header .quickLinks a:hover, #header .quickLinks a.active {
  color: #fff;
}

#footer .centrifier .ym-grid #sitemap {
  width: 100%;
}

#footer .centrifier .ym-grid .footerContact {
  margin-top: 0;
}

#footer .centrifier .ym-grid ul > li::before {
    color: #009BC2;
}

#bottom {
  display: none;
}

#topbild {
  background-color: rgba(0, 155, 194, 0.26);
}
#topbild .topbild {
  background: url(../img/headerimg.jpeg) #fff;
  background-size: cover;
}

#footer .centrifier .ym-grid .sitemap {
  width: 74%;
}

#footer .centrifier .ym-grid .footerContact {
  width: 26%;
}

#footer .centrifier .ym-grid .footerContact li ul {
  width: 100%;
}

@media (min-width: 980px) {
  body.home .ym-col2 #content .homeBox {
    max-width: 100%;
    height:initial;
  }
  body #header .flexnav {
      width: 520px;
  }
  body #header .flexnav li {
    margin-top: 0;
  }
}

@media (max-width: 980px) and (min-width: 781px) {
  body #footer .centrifier .ym-grid .footerContact li ul {
    width: 100%;
  }
  body #header .flexnav {
    width: 520px;
  }
  body #header .flexnav li {
    margin-top: 0;
  }
    body.home .ym-col2 #content .homeBox {
      max-width: 100%;
      height:auto;
  }

}

@media (max-width: 780px) and (min-width: 481px) {
  body #header #nav {
      float: right;
      margin: 20px 20px 0 0;
  }
  body.home .ym-col2 #content .homeBox {
    max-width: 100%;
    height: auto; 
  }
  body.home .ym-col2 #content article .homeBox:nth-child(3) {
    margin: 0 0 0 2%
  }
  body.home .ym-col2 #content article .homeBox:nth-child(5) {
    max-width: 100%;
    height: inherit;
  }
  body.home .ym-col2 #content article .homeBox:nth-of-type(2) {
    margin: 0 0 0 2%;
  }
  body.home .ym-col2 #content article .homeBox:nth-of-type(3) {
    width:100%;
    max-width:100%;
  }
  #footer .centrifier .ym-grid .sitemap {
    width: 66%;
  }
  #footer .centrifier .ym-grid .footerContact {
    width: 34%;
  }
  body #footer .centrifier .ym-grid #sitemap .sitemap > li {
    padding-bottom: 20px;
    width: 50%;
  }
  body #footer .centrifier .ym-grid #sitemap .footerContact li ul {
    width: 100%;
  }
}

@media (max-width: 480px) {
  body.home .ym-col2 #content .homeBox {
    max-width: 100%;
    height: inherit;
    margin: 10px 0 0;
  }
  body.home .ym-col2 #content article .homeBox:nth-child(3) {
    margin: 10px 0 0;
  }
  .homeBoxes .ym-g33, #footer .centrifier .ym-grid .footerContact {
    width: 100%;
  }
}

body #header .smallsearch {
  top: 22px !important;
  z-index: 1;
}

/* Ausnahme für Startseite Schule */
#cc_11656482 {display:flex;flex-wrap:wrap;}
#row_11969987 > .ym-g33 {width:100%;}