/*
Colorbox Core Style:
The following CSS is consistent between example themes and should not be altered.
*/
#colorbox,
#cboxOverlay,
#cboxWrapper
{
    position: absolute;  z-index: 9999;  top: 0;  left: 0;  overflow: hidden;  -webkit-transform: translate3d(0,0,0);
}
#cboxWrapper
{
    max-width: none;
}
#cboxOverlay
{
    position: fixed;  width: 100%;  height: 100%;
}
#cboxMiddleLeft,
#cboxBottomLeft
{
    clear: left;
}
#cboxContent
{
    position: relative;
}
#cboxLoadedContent
{
    overflow: visible;  -webkit-overflow-scrolling: touch;
}
#cboxTitle
{
    display: none !important;  margin: 0;
}
#cboxLoadingOverlay,
#cboxLoadingGraphic
{
    position: absolute;  top: 0;  left: 0;  width: 100%;  height: 100%;
}
#cboxPrevious,
#cboxNext,
#cboxClose,
#cboxSlideshow
{
    cursor: pointer;
}
.cboxPhoto
{
    display: rgba(0,0,0,0);  float: left;  max-width: none;  margin: auto;  -ms-interpolation-mode: bicubic;  border: 0;
}
.cboxIframe
{
    display: rgba(0,0,0,0);  width: 100%;  height: 100%;  margin: 0;  padding: 0;  border: 0;
}
#colorbox,
#cboxContent,
#cboxLoadedContent
{
              -webkit-box-sizing: content-box;                 -moz-box-sizing: content-box;                      box-sizing: content-box;
}
.openingMovie
{
    position: absolute;
}
/*
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
{
    opacity: .9;  background: #000;  filter: alpha(opacity = 60);
}
#colorbox
{
    margin-top: 0;  outline: 0;
}
#cboxContent
{
    overflow: visible!important;  margin-top: 68px;  background: rgba(0,0,0,0);
}
.cboxIframe
{
    background: #fff;
}
#cboxError
{
    padding: 50px;  border: 1px solid #ccc;
}
#cboxLoadedContent
{
    overflow: auto;  background: rgba(0,0,0,0);
}
#cboxLoadingGraphic
{
    background: url(../img/common/loading.gif) no-repeat center center;
}
#cboxLoadingOverlay
{
    background: rgba(0,0,0,0);
}
#devil #cboxLoadingOverlay
{
    background: none;
}
#cboxTitle
{
    position: absolute;  top: -22px; left: 0;  color: #000;
}
#cboxCurrent
{
    position: absolute;  top: -22px;  right: 205px;  display: none !important;  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;  top: -20px;  overflow: visible;  width: 20px;  height: 20px;  margin: 0;  padding: 0;  text-indent: -9999px;  border: 0;/*  background: url(../images/colorbox/controls.png) no-repeat 0 0;*/
}
/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
#cboxPrevious:active,
#cboxNext:active,
#cboxSlideshow:active,
#cboxClose:active
{
    outline: 0;
}

#cboxPrevious:hover
{
    opacity: .8;
}
#cboxPrevious,
#cboxNext
{
    top: 30%;  width: 6%;  max-width: 54px;  height: 30%;  opacity: 1;
}
#cboxPrevious:hover,
#cboxNext:hover
{
    opacity: .8;
}

/*
#cboxNext
{
    right: 0;  background: url(../images/slickArrow_r.png) no-repeat;  background-size: 100% auto;
}
#cboxPrevious
{
    left: 0;  background: url(../images/slickArrow_l.png) no-repeat;  background-size: 100% auto;
}*/
#cboxClose
{
    top: -68px;  right: 0;  width: 60px;  height: 60px;  background: url(../img/media/btn-close.png ) no-repeat;  background-size: 100% auto;
}
@media screen and (max-width:768px)
{
    #colorbox
    {
        margin-top: 0;
    }
    #cboxContent
    {
        margin-top: 100px;
    }
    #cboxClose
    {
        top: -34px;  width: 34px;  height: 34px;
    }
}
#cboxClose:hover
{
    opacity: .8;
}
.cboxSlideshow_on #cboxPrevious,
.cboxSlideshow_off #cboxPrevious
{
    right: 66px;
}
.cboxSlideshow_on #cboxSlideshow
{
    right: 44px;  background-position: -75px -25px;
}
.cboxSlideshow_on #cboxSlideshow:hover
{
    background-position: -100px -25px;
}
.cboxSlideshow_off #cboxSlideshow
{
    right: 44px;  background-position: -100px 0;
}
.cboxSlideshow_off #cboxSlideshow:hover
{
    background-position: -75px -25px;
}

