/*
    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; 
    overflow:visible;
}

body.use-iframe #colorbox {
    -webkit-box-shadow: 0 0 15px 2px rgba(0,0,0,0.4);
            box-shadow: 0 0 15px 2px rgba(0,0,0,0.4);
}

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

#cboxMiddleLeft, 
#cboxBottomLeft {
    clear:left;
}

#cboxContent { 
    position:relative; 
    overflow:visible;
    padding:10px;
}

#cboxLoadedContent {
    overflow:auto;
}

#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:#2277a7;}*/
#cboxOverlay {
    background:#000;
}

body.use-iframe #cboxOverlay {
    display: none !important;
}

#colorbox {
}

#cboxTopLeft {
    width:14px; 
    height:14px; 
    background:#FFF;
}

#cboxTopCenter {
    height:14px; 
    background:#FFF;
}

#cboxTopRight {
    width:14px; 
    height:14px; 
    background:#FFF;
}

#cboxBottomLeft {
    width:14px; 
    height:9px; 
    background:#FFF;
}

#cboxBottomCenter {
    height:9px; 
    background:#FFF;
}

#cboxBottomRight {
    width:14px; 
    height:9px; 
    background:#FFF;
}

#cboxMiddleLeft {
    width:14px; 
    background:#FFF;
}

#cboxMiddleRight {
    width:14px;
    background:#FFF;
}

#cboxContent {
    background:#fff;
}

#cboxLoadedContent {
    margin-bottom:5px;
    padding: 0 15px 5px 5px;
}

#cboxLoadingOverlay {
    background:url([colorbox-images-url]/loading_background.png) center center no-repeat;
}

#cboxLoadingGraphic {
    background:url([colorbox-images-url]/loading.gif) center center no-repeat;
}

#cboxTitle {
    position:absolute; 
    bottom:-25px; 
    left:0; 
    text-align:center; 
    width:100%; 
    font-weight:bold; 
    color:#7C7C7C;
}

#cboxCurrent {
    position:absolute; 
    bottom:-25px; 
    left:58px; 
    font-weight:bold; 
    color:#7C7C7C;
}

#cboxPrevious, 
#cboxNext, 
#cboxClose, 
#cboxSlideshow {
    position:absolute; 
    bottom:-29px; 
    background:url([colorbox-images-url]/controls.png) 0px 0px no-repeat; 
    width:23px; 
    height:23px; 
    text-indent:-9999px;
}

#cboxPrevious {
    left:0px; 
    background-position: -51px -25px;
}

#cboxPrevious.hover {
    background-position:-51px 0px;
}

#cboxNext {
    left:27px; 
    background-position:-75px -25px;
}

#cboxNext.hover {
    background-position:-75px 0px;
}

#cboxClose {
    right:12px;
    top:9px;
    width:17px;
    display:none;
    background:none;
    text-indent:0;
    font-size:20px;
}

/*#cboxClose{display:none !important;right:0; background-position:-100px -25px;}
#cboxClose.hover{background-position:-100px 0px;}*/

#cboxPrevious, 
#cboxNext, 
#cboxSlideshow {
    bottom: 5px;
}

#cboxCurrent, 
#cboxTitle {
    bottom: 5px; 
    color: #444;
}

#cboxCurrent {
    background: transparent; 
    padding: 3px 5px 2px;
}

#cboxTitle {
    background: #FFF; 
    opacity: 0.6; 
    filter:alpha(opacity=60); 
    margin-right:5px; 
    padding: 3px 0px 2px;
}

.cboxSlideshow_on #cboxSlideshow {
    background-position:-125px 0px; 
    right:27px;
}

.cboxSlideshow_on #cboxSlideshow.hover {
    background-position:-150px 0px;
}

.cboxSlideshow_off #cboxSlideshow {
    background-position:-150px -25px; 
    right:27px;
}

.cboxSlideshow_off #cboxSlideshow.hover {
    background-position:-125px 0px;
}

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