/**
 * Colorbox minimalistic style
 * Author: J. Krausz
 * Version 1.0
 */

#cboxWrapper,
#cboxWrapper *,
#cboxWrapper * ::before,
#cboxWrapper * ::after{
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
box-sizing:border-box;
}

#cboxWrapper{
max-width:none;
}

#colorbox,
#cboxOverlay,
#cboxWrapper{
position:absolute;
top:0;
left:0;
z-index:9999;
overflow:hidden;
-webkit-transform: translate3d(0,0,0);
transform: translate3d(0,0,0);
}

#cboxOverlay{
position:fixed;
width:100%;
height:100%;
background:#000;
}

#cboxTopLeft, #cboxTopCenter, #cboxTopRight,
#cboxMiddleLeft, #cboxMiddleRight,
#cboxBottomLeft, #cboxBottomCenter, #cboxBottomRight{
width:0!important;
height:0!important;
display:none;
}

#cboxContent{
position:relative;
margin:0;
z-index:9999;
background:#ddd;
}

#cboxContent #cboxLoadedContent{
overflow:auto;
-webkit-overflow-scrolling:touch;
margin-bottom:0;
background:#ddd;
padding:0;
border:none;
}

#cboxContent img.cboxPhoto{
float:left;
margin:auto;
border:0;
display:block;
max-width:none;
-ms-interpolation-mode:bicubic;
}

#cboxContent .cboxIframe{
width:100%;
height:100%;
display:block;
border:0;
padding:0;
margin:0;
}

#cboxContent #cboxPrevious,
#cboxContent #cboxNext,
#cboxContent #cboxClose,
#cboxSlideshow{
position:absolute;
background:none;
border:none;
cursor:pointer;
width:64px;
height:64px;
overflow:hidden;
text-indent:96px;
white-space:nowrap;
color:rgba(255,255,255,0.85);
z-index:10;
opacity:0.85;
}

#cboxContent #cboxPrevious:hover,
#cboxContent #cboxNext:hover,
#cboxContent #cboxClose:hover{
opacity:1;
}

#cboxContent #cboxPrevious{
margin:-32px 0 0;
top:50%;
left:0;
right:auto;
}
#cboxContent #cboxNext{
margin:-32px 0 0;
top:50%;
left:auto;
right:0;
}
#cboxContent #cboxClose{
margin:0;
top:0;
right:0;
bottom:auto;
left:auto;
}

#cboxContent #cboxPrevious:before,
#cboxContent #cboxNext:before,
#cboxContent #cboxClose:before{
content:"";
position:absolute;
top:0;
right:0;
bottom:0;
left:0;
background:transparent url(images/prev-next-close.svg) center center no-repeat;
}

#cboxContent #cboxPrevious:before{
background-position:-128px -64px;
}

#cboxContent #cboxNext:before{
background-position:-128px -128px;
}

#cboxContent #cboxClose:before{
background-position:-128px 0;
}

#cboxContent #cboxCurrent,
#cboxContent #cboxTitle{
position:absolute;
top:auto;
left:0;
right:0;
bottom:0;
color:#eee;
font-weight:normal;
text-align:center;
text-indent:0;
opacity:0.85;
-webkit-transition:all 0.6s;
transition:all 0.6s;
}

#cboxLoadingOverlay,
#cboxLoadingGraphic{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
}

#cboxContent #cboxCurrent{
float:none!important;
padding:0 1.5em;
line-height:2;
height:2.5em;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
pointer-events:none;
}

#cboxContent #cboxTitle{
margin:0;
background:rgba(0,0,0,0.85);
padding:1.25em 1.5em 3em 1.5em;
}

#cboxContent #cboxTitle:empty{
display:none!important;
}

