/**
 * Colorbox Core Style:
 * The following CSS is consistent between example themes and should not be altered.
 */
#colorbox, #cboxOverlay, #cboxWrapper {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  overflow: hidden;
}
#cboxOverlay {
  position: fixed;
  width: 100%;
  height: 100%;
}
#cboxMiddleLeft, #cboxBottomLeft {
  clear: left;
}
#cboxContent {
  position: relative;
}
#cboxLoadedContent {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
#cboxTitle {
  margin: 0;
}
#cboxLoadingOverlay, #cboxLoadingGraphic {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/**
 * These elements are buttons, and may need to have additional
 * styles reset to avoid unwanted base styles.
 */
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow {
  border: 0;
  padding: 0;
  margin: 0;
  overflow: visible;
  width: auto;
  background: none;
  cursor: pointer;
}
/**
 * Avoid outlines on :active (mouseclick),
 * but preserve outlines on :focus (tabbed navigating)
 */
#cboxPrevious:active, #cboxNext:active, #cboxClose:active, #cboxSlideshow:active {
  outline: 0;
}
.cboxPhoto {
  float: left;
  margin: auto;
  border: 0;
  display: block;
  max-width: none;
}
.cboxIframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
/* Reset box sizing to content-box if theme is using border-box. */
#colorbox, #cboxContent, #cboxLoadedContent {
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

/**
 * Colorbox module default style:
 * The styles are ordered & tabbed in a way that represents
 * the nesting of the generated HTML.
 */
#cboxOverlay {
  background-color: #292929;
  opacity: 0.8;
}
#colorbox {
  outline: 0;
  background-image: url(images/trans.png);
  background-repeat: repeat;
  background-color: transparent;
}
  #cboxWrapper {
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    -ms-border-radius: 0;
    border-radius: 0;

  }
    #cboxTopLeft,
    #cboxTopRight,
    #cboxBottomLeft,
    #cboxBottomRight{
      width: 10px;
      height: 10px;
    }
    #cboxTopCenter,
    #cboxBottomCenter {
      height: 10px;
    }
    #cboxMiddleLeft,
    #cboxMiddleRight{
      width: 10px;
    }

    #cboxContent {
      background: #fff;
      overflow: hidden;
    }
      #cboxError {
        padding: 50px;
        border: 1px solid #ccc;
      }
      #cboxLoadedContent {
        margin-bottom: 57px;
      }
      #cboxTitle {
        position: absolute;
        background: #292929;
        top: 0;
        left: 0;
        color: #FFFFFF;
        width: 100%;
        padding: 8px 4px 6px 15px;
        font-family: 'Fira Sans', sans-serif;
        font-size: 17px;
        text-transform: uppercase;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
      }
      #cboxCurrent {
        display: none;
      }
      .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;
      }
      .cboxSlideshow_on #cboxSlideshow:hover {
        background-position: -101px -50px;
      }
      .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;
      }
      .cboxSlideshow_off #cboxSlideshow:hover {
        background-position: -49px -50px;
      }
      #cboxPrevious,
      #cboxNext,
      #cboxClose{
        width: auto;
        height: auto;
        position: absolute;

        bottom: 0;
        font-family: 'Fira Sans', sans-serif;
        font-size: 13px;
        color: #666666;
        font-weight: normal;
        line-height: normal;
        text-decoration: none;
        padding: 20px 0;
      }
      #cboxPrevious,
      #cboxClose{
        padding-right: 21px;
        background: url("images/trenner.gif") no-repeat 100% 50%;
      }
      #cboxPrevious:hover,
      #cboxNext:hover,
      #cboxClose:hover
      {
        color: #000000;
      }
      #cboxPrevious{
        left: 123px;
      }
      #cboxNext {
        left: 265px;
      }
      #cboxLoadingOverlay {
        background: #fff;
      }
      #cboxLoadingGraphic {
        background: url(images/loading_animation.gif) no-repeat center center;
      }
      #cboxClose {
        left: 20px;
      }

@media (max-width: 479px){
  #cboxTitle{
    font-size: 14px;
    line-height: 16px;
  }
  #cboxPrevious, #cboxClose{
    padding-right: 15px;
  }
  #cboxClose{
    left: 10px;
  }
  #cboxPrevious{
    left: 103px;
  }
  #cboxNext {
    left: 230px;
    bottom: -8px;
  }
}