body,
html,
#footerimage {
  background: #ebeaf4;
}
#wrapper {
  border-color: #1e1e45;
}
#head {
  background: #fff;
}
#logo {
  position: absolute;
  left: 45px;
  top: 30px;
  width: 220px;
  height: 192px;
}
#footer {
  background: #1e1e45;
}
#mainnav {
  background: #1e1e45;
  top: 258px;
}
#mainnav li.on,
#mainnav li:hover,
#mainnav li:hover.on {
  background: #cf7d38;
  border-top: 7px solid #f19235;
  height: 28px;
}
#mainnav li.on a,
#mainnav li:hover a,
#mainnav li:hover.on a {
  line-height: 31px;
}
#mainnav li:hover,
#mainnav li:hover.on {
  background: #cf7d38;
  border-top: 7px solid #f19235;
}
#mainnav li.page-145.on,
#mainnav li.page-145:hover {
  background: #0598c6;
  border-top: 7px solid #00b2df;
}
#mainnav li.page-490.on,
#mainnav li.page-490:hover {
  background: #b1357e;
  border-top: 7px solid #cd3c89;
}
#mainnav li.page-491.on,
#mainnav li.page-491:hover {
  background: #8eb04c;
  border-top: 7px solid #a3ce4d;
}
#mainnav li.page-151.on,
#mainnav li.page-151:hover {
  background: #dfcb2e;
  border-top: 7px solid #ffe92a;
}
#subnav li.on a {
  background: none;
}
.page-ueber-uns #subnav li a {
  color: #0485ad;
}
.page-ueber-uns #subnav li a:hover {
  color: #00b2df;
}
.page-ueber-uns #subnav li.on > a {
  color: #00b2df;
}
.page-bewerben #subnav li a {
  color: #9d2f70;
}
.page-bewerben #subnav li a:hover {
  color: #cd3c89;
}
.page-bewerben #subnav li.on > a {
  color: #cd3c89;
}
.page-formulare #subnav li a {
  color: #809e44;
}
.page-formulare #subnav li a:hover {
  color: #a3ce4d;
}
.page-formulare #subnav li.on > a {
  color: #a3ce4d;
}
.page-kontakt #subnav li a {
  color: #d3bf20;
}
.page-kontakt #subnav li a:hover {
  color: #ffe92a;
}
.page-kontakt #subnav li.on > a {
  color: #ffe92a;
}
.csc-header b,
h1 {
  color: #1e1e45;
}
.box > h4,
.box > .h4 {
  background-color: #1e1e45;
}
.box.suche h4,
.box.suche .h4 {
  color: #1e1e45;
}
.footerlogo {
  position: absolute;
  right: 20px;
  z-index: 2;
}
.footerlogo.logo-bmi {
  bottom: 20px;
}
.footerlogo.logo-dik {
  bottom: 20px;
  right: 172px;
}
.footerlogo img {
  border: 1px solid #000;
  width: 140px;
  height: auto;
}
@media (max-width: 900px) {
  .footerlogo {
    position: absolute;
    right: 10px;
  }
  .footerlogo.logo-bmi {
    bottom: 12px;
    right: 122px;
  }
  .footerlogo.logo-dik {
    bottom: 38px;
    right: 10px;
  }
  .footerlogo img {
    border: 1px solid #000;
    width: 100px;
    height: auto;
  }
}
@media (max-width: 400px) {
  .footerlogo {
    position: absolute;
    right: 10px;
  }
  .footerlogo.logo-bmi {
    bottom: 40px;
    right: 90px;
  }
  .footerlogo.logo-dik {
    bottom: 58px;
  }
  .footerlogo img {
    border: 1px solid #000;
    width: 70px;
    height: auto;
  }
}
.text-center {
  text-align: center;
}
/* Well box */
.well {
  padding: 15px 25px;
  margin-left: -10px;
  margin-right: -10px;
  margin-bottom: 15px;
  max-width: calc(100% - 50px);
}
.well h1,
.well h2,
.well h3 {
  color: #003D8E;
  font-weight: 400;
}
@media only screen and (max-width: 900px) {
  .well {
    margin-left: -15px;
    margin-right: -15px;
  }
}
.well.well-lightgrey {
  background: #eef1f6;
}
.well.well-grey {
  background: #ceced2;
}
.well.well-lightgreen {
  background: #a6c2c0;
}
.well.well-green {
  background: #00968b;
}
.well.well-white {
  background: #ffffff;
}
.wide-homepage #content {
  max-width: 860px;
  width: 100%;
}
