/*
    ColorBox Core Style
    The following rules are the styles that are consistant between themes.
    Avoid changing this area to maintain compatability with future versions of ColorBox.
*/
#colorbox, #cboxOverlay, #cboxWrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    outline: 0;
}

#cboxOverlay {
    position: fixed;
    width: 100%;
    height: 100%;
}


#cboxMiddleLeft, #cboxBottomLeft {
    clear: left;
}

#cboxContent {
    position: relative;
    -webkit-box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

#cboxLoadedContent {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#cboxLoadedContent iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

#cboxTitle {
    margin: 0;
}

#cboxLoadingOverlay, #cboxLoadingGraphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow {
    cursor: pointer;
}

/* 
    ColorBox example user style
    The following rules are ordered and tabbed in a way that represents the
    order/nesting of the generated HTML, so that the structure easier to understand.
*/

#cboxOverlay {
    background: #000;
    box-sizing:border-box;
    -moz-box-sizing:border-box; /* Firefox */
}

#cboxLoadedContent {
    background: #fff;
    padding: 0px;
}

#cboxTitle {
    position: absolute;
    top: -20px;
    left: 0;
    color: #fff;
}

#cboxCurrent {
    position: absolute;
    top: -20px;
    right: 0px;
    color: #ccc;
}

#cboxSlideshow {
    position: absolute;
    top: -20px;
    right: 90px;
    color: #fff;
}

#cboxPrevious {
    position: absolute;
    bottom: -20px;
    right: 20px;
    display: block;
    background: url(../images/Colorbox/controls.png) top left no-repeat;
    width: 12px;
    height: 11px;
    text-indent: -9999px;
}

#cboxPrevious.hover {
    background-position: bottom left;
}

#cboxNext {
    position: absolute;
    bottom: -20px;
    right: 0;
    display: block;
    background: url(../images/Colorbox/controls.png) top right no-repeat;
    width: 12px;
    height: 11px;
    text-indent: -9999px;
}

#cboxNext.hover {
    background-position: bottom right;
}

#cboxLoadingOverlay {
    background: #000;
}

#cboxLoadingGraphic {
    background: url(../images/Colorbox/loading.gif) center center no-repeat;
}
/*#cboxClose{position:absolute; top:-20px; right:5px; display:block; background:url(../icons/colorbox/controls.png) top center no-repeat; width:48px; height:11px; }*/
#cboxClose {
    background: url(../images/Colorbox/colorbox-sprite.png) no-repeat -5px -5px;
    cursor: pointer;
    height: 12px;
    position: absolute;
    right: 0;
    top: -1em;
    width: 48px;
    z-index: 5;
    text-indent: -9999px;
    border: none;
}

#cboxClose.hover {
    background-position: bottom center;
}
