/**
 * Colorbox Core Style:
 * The following CSS is consistent between example themes and should not be altered.
 * angepasst fuer zfmk
 * auf der startseite werden die Stile nicht angewendet, nur fuer den Button gibt es einen Stil
 */

body.not-front #colorbox, body.not-front #cboxOverlay, body.not-front #cboxWrapper {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  overflow: hidden;
}

body.not-front #cboxOverlay {
  position: fixed;
  width: 100%;
  height: 100%;
}

body.not-front #cboxMiddleLeft, body.not-front #cboxBottomLeft {
  clear: left;
}

body.not-front #cboxContent {
  position: relative;
}

body.not-front #cboxLoadedContent {
  overflow: auto;
}

body.not-front #cboxTitle {
  margin: 0;
}

body.not-front #cboxLoadingOverlay, body.not-front #cboxLoadingGraphic {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

body.not-front #cboxPrevious, body.not-front #cboxNext, body.not-front #cboxClose, body.not-front #cboxSlideshow {
  border: 0;
  padding: 0;
  margin: 0;
  overflow: visible;
  width: auto;
  background: none;
  cursor: pointer;
}

body.not-front #cboxPrevious:active, body.not-front #cboxNext:active, body.not-front #cboxClose:active, body.not-front #cboxSlideshow:active {
  outline: 0;
}

body.not-front .cboxPhoto {
  float: left;
  margin: auto;
  border: 0;
  display: block;
  max-width: none;
}

body.not-front .cboxIframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

body.not-front #colorbox, body.not-front #cboxContent, body.not-front #cboxLoadedContent {
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

body.not-front #cboxOverlay {
  background: #b9b7ae;
}

body.not-front #colorbox {
  outline: 0;
}

body.not-front #cboxWrapper {
  background: #fff;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

body.not-front #cboxTopLeft {
  width: 15px;
  height: 15px;
}

body.not-front #cboxTopCenter {
  height: 15px;
}

body.not-front #cboxTopRight {
  width: 15px;
  height: 15px;
}

body.not-front #cboxBottomLeft {
  width: 15px;
  height: 10px;
}

body.not-front #cboxBottomCenter {
  height: 10px;
}

body.not-front #cboxBottomRight {
  width: 15px;
  height: 10px;
}

body.not-front #cboxMiddleLeft {
  width: 15px;
}

body.not-front #cboxMiddleRight {
  width: 15px;
}

body.not-front #cboxContent {
  background: #fff;
  overflow: hidden;
}

body.not-front #cboxError {
  padding: 50px;
  border: 1px solid #ccc;
}

body.not-front #cboxLoadedContent {
  margin-bottom: 28px;
}

/*fuer zfmk angepasst*/

body.not-front #cboxTitle {
  position: absolute;
  left: 0;
  color: #535353;
  width: 100%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: block !important;
  bottom: 2px;
  left: 0;
  text-align: center;
}

body.not-front #cboxCurrent {
  position: absolute;
  bottom: 2px;
  left: 60px;
  color: #949494;
}

body.not-front .cboxSlideshow_on #cboxSlideshow {
  position: absolute;
  bottom: 0px;
  right: 30px;
  background: url(images/controls.png) no-repeat -75px -50px;
  width: 25px;
  height: 25px;
  text-indent: -9999px;
}

body.not-front .cboxSlideshow_on #cboxSlideshow:hover {
  background-position: -101px -50px;
}

body.not-front .cboxSlideshow_off #cboxSlideshow {
  position: absolute;
  bottom: 0px;
  right: 30px;
  background: url(images/controls.png) no-repeat -25px -50px;
  width: 25px;
  height: 25px;
  text-indent: -9999px;
}

body.not-front .cboxSlideshow_off #cboxSlideshow:hover {
  background-position: -49px -50px;
}

body.not-front #cboxPrevious {
  position: absolute;
  bottom: 0;
  left: 0;
  background: url(images/controls.png) no-repeat -75px 0px;
  width: 25px;
  height: 25px;
  text-indent: -9999px;
}

body.not-front #cboxPrevious:hover {
  background-position: -75px -25px;
}

body.not-front #cboxNext {
  position: absolute;
  bottom: 0;
  left: 27px;
  background: url(images/controls.png) no-repeat -50px 0px;
  width: 25px;
  height: 25px;
  text-indent: -9999px;
}

body.not-front #cboxNext:hover {
  background-position: -50px -25px;
}

body.not-front #cboxLoadingOverlay {
  background: #fff;
}

body.not-front #cboxLoadingGraphic {
  background: url(images/loading_animation.gif) no-repeat center center;
}

body.not-front #cboxClose {
  position: absolute;
  bottom: 0;
  right: 0;
  background: url(images/controls.png) no-repeat -25px 0px;
  width: 25px;
  height: 25px;
  text-indent: -9999px;
}

body.not-front #cboxClose:hover {
  background-position: -25px -25px;
}

/*Auf der Startseite kann ein Störer eingeblendet werden. Button zum Schließen oben rechts positionieren*/
body.front #cboxClose {
  position: absolute;
  right: -20px;
  top: -20px;
  background: url(images/popup_close.png) no-repeat 0px 0px;
  background-color: none;
  width: 50px;
  height: 50px;
  text-indent: -9999px;
}


/* Hintergrund abblenden*/
body.front #cboxOverlay {
  background-color: #b9b7ae !important;
  opacity: 0.8 !important;
}
