/*
    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:visible; -webkit-transform: translate3d(0,0,0);}
#cboxWrapper {max-width:none;}
#cboxOverlay{position:fixed; width:100%; height:100%; cursor: default !important;}
#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%;}
#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.
*/
#colorbox, #cboxOverlay, #cboxWrapper { 
  overflow: visible; 
}
#colorbox {
  outline:0;
}
#cboxContent{ 
  overflow:visible;
  background:transparent;
  box-shadow: 0 0 15px 0 #333;
  margin: 45px 30px 30px;
}
@media screen and (max-width: 600px) {
  #cboxContent {
    margin: 15px;
  }
}
#cboxWrapper .lightbox {
  display: block;
}
        #cboxError{padding:50px; border:1px solid #ccc;}
        #cboxLoadingGraphic{background:url(colorboximages/loading.gif) no-repeat center center;}
        #cboxLoadingOverlay{background:#000;}
        #cboxTitle{position:absolute; top:-22px; left:0; color:#000;}
        
#cboxTitle {
  top: auto;
  bottom: -1em;
  left: -1em;
  float: none;
  width: 100%;
  padding: 1em 1em;
  text-align: center;
  background-color: rgba(34,34,34,.95);
  color: #fff;
  display: none !important;
}
#cboxContent:hover #cboxTitle {
  display: block !important;
}
#cboxCurrent  {
  position: absolute;
  width: 100%;
  bottom: 100%;
  text-align: center;
  color: #fff;
  padding: .25em 1em;
  box-sizing: border-box;
  font-size: .9em;
  font-weight: bold;
}

/* buttons */
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {
  border: 0;
  padding: .25em 1em;
  margin: 0;
  position: absolute;
  background-color: transparent;
  color: #fff;
  font-size: .9em;
}
#cboxPrevious, #cboxNext {
  height: 100%;
  width: 240px;
  bottom: 0;
  background-repeat: no-repeat;
}
#cboxPrevious {
  left: -30px;
  background-image: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 8 8"><path d="M4 0l-4 4 4 4v-8z" transform="translate(2)" fill="rgb(256,256,256)"/></svg>');
  background-position: 0 calc(50% - 15px);
}
#cboxNext {
  right: -30px;
  background-image: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 8 8"><path d="M0 0v8l4-4-4-4z" transform="translate(2)" fill="rgb(256,256,256)"/></svg>');
  background-position: 100% calc(50% - 15px);
}
#cboxPrevious:hover {
  background-image: linear-gradient(to right, rgba(0,0,0,.3) 0%, rgba(0,0,0,.3) 12.5%, rgba(0,0,0,0) 12.5%, rgba(0,0,0,0) 100%), url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 8 8"><path d="M4 0l-4 4 4 4v-8z" transform="translate(2)" fill="rgb(256,256,256)"/></svg>');
}
#cboxNext:hover {
  background-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 87.5%, rgba(0,0,0,.3) 87.5%, rgba(0,0,0,.3) 100%), url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 8 8"><path d="M0 0v8l4-4-4-4z" transform="translate(2)" fill="rgb(256,256,256)"/></svg>');
}
#cboxClose {
  right: auto;
  left: 100%;
  bottom: 100%;
  top: auto;
  display: block;
  width: 40px;
  height: 46px;
  text-align: center;
  font-family: Arial;
  font-size: 28px;
  padding: 0;
}
@media screen and (max-width: 600px) and (orientation:portrait) {
  #cboxClose {
    right: 0;
    left: auto;
  }
  #cboxTitle {
    top: 100%;
    bottom: auto;
  }
}
@media screen and (max-width: 600px) and (orientation:landscape) {
  #cboxClose {
    bottom: auto;
    top: 0;
  }
}        
        /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
        #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}
