/*

    ColorBox Core Style:

    The following CSS is consistent between example themes and should not be altered.

*/
#colorbox, #cboxOverlay, #cboxWrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 49999;
    overflow: hidden;
}

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

#cboxMiddleLeft, #cboxBottomLeft {
    clear: left;
}

#cboxContent {
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
}

#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;
}

.cboxPhoto {
    float: left;
    margin: auto;
    border: 0;
    display: block;
}

.cboxIframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

/*

    User Style:

    Colorbox à la Bootstrap (inspiré de https://gist.github.com/2012466)

*/

#cboxOverlay {
    background: #000
}

#colorbox {
    border: 1px solid #999;
    border: 1px solid rgba(0, 0, 0, 0.3);
    *border: 1px solid #999;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
    margin: 0 !important;
}

#cboxLoadedContent {
    margin: 15px;
    margin-bottom: 59px;
    max-height: none;
    background: url('../static/images/loading.gif') fixed 50% 50% no-repeat;
}

#cboxTitle {
    padding: 9px 15px 0px 15px;
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
}

#cboxPrevious,
#cboxNext,
#cboxSlideshow,
#cboxClose {
    border: 0;
    position: absolute;
    line-height: 20px;
    margin-top: -16px;
    outline: 0;
    width: 32px;
    height: 32px;
    text-indent: -9999px;
}

#cboxPrevious.hover,
#cboxNext.hover,
#cboxSlideshow.hover,
#cboxClose.hover {
    opacity: 1
}

#cboxCurrent {
    position: absolute;
    bottom: 9px;
    left: 70px;
    color: #999;
    visibility: hidden;
}

#cboxPrevious {
    background: url(../static/images/controls.png) no-repeat 0 -32px !important;
    left: 5px;
    top: 50%;
}

#cboxNext {
    background: url(../static/images/controls.png) no-repeat -43px -32px !important;
    right: 5px;
    top: 50%;
}

#cboxSlideshow {
    left: 45px;
}

#cboxClose {
    right: 0;
    top: 13px;
    width:auto;
    text-indent: 0;
    height: 20px;
    font-weight: bold;
    line-height: normal;
}

#cboxLoadingGraphic {
    background: url(../static/images/loading.gif) no-repeat center center
}