/*
    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: hidden;
}
#cboxOverlay
{
    position: fixed;
    width: 100%;
    height: 100%;
}
#cboxMiddleLeft, #cboxBottomLeft
{
    clear: left;
}
#cboxContent
{
    position: relative;
}
#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: #787878;
}

#colorbox
{
}
#cboxContent
{
    margin-top: 20px;
}
#cboxLoadedContent
{
    background: #fff; 
    padding: 40px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px; /* future proofing */
    -khtml-border-radius: 20px; /* for old Konqueror browsers */
}
.post-type-archive-filmlibrary #cboxLoadedContent,
.page-template-filmlibrary-map-php  #cboxLoadedContent
{
    padding: 0 40px 40px;
}
#cboxTitle
{
    position: absolute;
    top: 0px;
    left: 20px;
    color: #ccc;
    z-index: -1;
}
#cboxCurrent
{
    position: absolute;
    top: 0px;
    right: 20px;
    color: #ccc;
    z-index: -1;
}
#cboxSlideshow
{
    position: absolute;
    top: -20px;
    right: 90px;
    color: #fff;
}
#cboxPrevious
{
    position: absolute;
    top: 50%;
    left: 5px;
    margin-top: -32px;
    background: url(images/controls.png) top left no-repeat;
    width: 28px;
    height: 65px;
    text-indent: -9999px;
    border: 0;
}
#cboxPrevious.hover
{
    background-position: bottom left;
}
#cboxNext
{
    position: absolute;
    top: 50%;
    right: 5px;
    margin-top: -32px;
    background: url(images/controls.png) top right no-repeat;
    width: 28px;
    height: 65px;
    text-indent: -9999px;
    border: 0;
}
#cboxNext.hover
{
    background-position: bottom right;
}
#cboxLoadingOverlay
{
    background: #fff;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px; /* future proofing */
    -khtml-border-radius: 20px; /* for old Konqueror browsers */
}
#cboxLoadingGraphic
{
    background: url(images/loading.gif) center center no-repeat;
}
#cboxClose
{
    position: absolute;
    top: 10px;
    right: 6px;
    display: block;
    background: url(images/controls.png) top center no-repeat;
    width: 38px;
    height: 28px;
    text-indent: -9999px;
    border: none;
}
#cboxClose.hover
{
    background-position: bottom center;
}
