/*
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;
}
#cboxWrapper  {
  max-width: none;
  position: fixed;  
  top: 0; 
  left: 0;  
  z-index: 9999;  
  overflow: initial;  
  right: 0; 
  bottom: 0;  
  margin: auto;
}
#cboxOverlay {
  position: fixed;
  width: 100%;
  height: 100%;
}
#cboxMiddleLeft,
#cboxBottomLeft {
  clear: left;
}
#cboxContent {
  position: relative;
}
#cboxLoadedContent {
  overflow: auto;
  -webkit-overflow-scrolling:  touch;
}
#cboxLoadingOverlay,
#cboxLoadingGraphic {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#cboxPrevious,
#cboxNext,
#cboxClose,
#cboxSlideshow {
  cursor: pointer;
}
.cboxPhoto {
  float: left;
  margin: auto;
  border: 0;
  display: block;
  max-width: none;
  -ms-interpolation-mode: bicubic;
}
.cboxIframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  padding: 0;
  margin: 0;
}
#colorbox,
#cboxContent,
#cboxLoadedContent {
  box-sizing: content-box;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
}

/* 
User Style: 
Change the following styles to modify the appearance of Colorbox.  They are
ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay {
  background: #000;
  opacity:  0.5;
  filter:  alpha(opacity = 95);
}
#colorbox {
  outline: 0;
}
#cboxContent{
  margin-top: 32px;
  overflow: visible;
  padding: 40px;
  background: #000;
  border-radius: 8px;
}
.cboxIframe{
  background: #000;
}
#cboxError{
  padding: 50px;
  border: 1px solid #000;
}
#cboxLoadedContent{
  background: #000;
  padding: 1px;
}
#cboxLoadingGraphic {
  width: 100%;
  height: 100%;
  text-align: center;
}
#cboxLoadingGraphic::before  {
  display: inline-block;
  content: "";
  width: 49px;
  height: 49px;
  margin: 0 auto;
  border: 2px solid #aaa;
  border-radius: 50%;
  border-left-color: transparent;
  border-right-color: transparent;
  animation: cssload-spin 575ms infinite linear;
  -o-animation: cssload-spin 575ms infinite linear;
  -ms-animation: cssload-spin 575ms infinite linear;
  -webkit-animation: cssload-spin 575ms infinite linear;
  -moz-animation: cssload-spin 575ms infinite linear;
  top: 50%;
  position: absolute;
  margin-top: -25px;
  left: 50%;
  margin-left: -25px;
}

@keyframes cssload-spin  {
  100% {
    transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-o-keyframes cssload-spin  {
  100% {
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-ms-keyframes cssload-spin  {
  100% {
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-webkit-keyframes cssload-spin  {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-moz-keyframes cssload-spin  {
  100% {
    -moz-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

#cboxLoadingOverlay {
  background: transparent;
}
#cboxTitle{
  position: absolute;
  right: 0;
  color: #eee;
  top: -28px;
  margin: 0;
}
#cboxCurrent{
  position: absolute;
  top: -22px;
  right: 205px;
  text-indent: -9999px;
}

/* these elements are buttons,
and may need to have additional styles reset to avoid unwanted base styles */
#cboxPrevious,
#cboxNext,
#cboxSlideshow,
#cboxClose {
  position: absolute;
  border: 0;
  padding: 0;
  margin: 0;
  overflow: visible;
  text-indent: -9999px;
  width: 48px;
  height: 48px;
  top: -48px;
  background:transparent;
}
#cboxClose {
  position: fixed;
  right: 6%;
  top: 120px;
  width: 72px;
  height: 72px;
}
#cboxClose::before,
#cboxClose::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: #eee;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
#cboxClose::after {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
/* avoid outlines on : active (mouseclick),
but preserve outlines on : focus (tabbed navigating) */
#cboxPrevious: active,
#cboxNext: active,
#cboxSlideshow: active,
#cboxClose: active {
  outline: 0;
}

.cboxSlideshow_on #cboxPrevious,
.cboxSlideshow_off #cboxPrevious{
  right: 66px;
}
.cboxSlideshow_on #cboxSlideshow,
.cboxSlideshow_off #cboxSlideshow{
  right: 44px;
}

