/**
 * 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: 9999;$
    overflow: hidden;
}

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

#cboxMiddleLeft,
#cboxBottomLeft {
    clear: left;
}

#cboxContent {
    position: relative;
}

#cboxLoadedContent {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#cboxTitle {
    margin: 0;
}

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

#cboxPrevious,
#cboxNext,
#cboxClose,
#cboxSlideshow {
    cursor: pointer;
}

.cboxPhoto {
    float: left;
    margin: auto;
    border: 0;
    display: block;
    max-width: none;
}

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

#colorbox,
#cboxContent,
#cboxLoadedContent{
    box-sizing: content-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
}


/**
 * User defined stylesheet
 */
#cboxOverlay.mkColorbox {
    background: #000;
}

#colorbox.mkColorbox {
    outline: 0;
}

#colorbox.mkColorbox #cboxTopLeft,
#colorbox.mkColorbox #cboxTopCenter,
#colorbox.mkColorbox #cboxTopRight,
#colorbox.mkColorbox #cboxBottomLeft,
#colorbox.mkColorbox #cboxBottomCenter,
#colorbox.mkColorbox #cboxBottomRight,
#colorbox.mkColorbox #cboxMiddleLeft,
#colorbox.mkColorbox #cboxMiddleRight {
    /**
    background: rgba(255, 255, 255, .6);
    background: #FFF\9 !important;
    filter: alpha(opacity=60);
    */
   background: #999;
}

#colorbox.mkColorbox #cboxTopLeft,
#colorbox.mkColorbox #cboxTopCenter,
#colorbox.mkColorbox #cboxTopRight,
#colorbox.mkColorbox #cboxBottomLeft,
#colorbox.mkColorbox #cboxBottomCenter,
#colorbox.mkColorbox #cboxBottomRight {
    height: 1px;
}

#colorbox.mkColorbox #cboxTopLeft,
#colorbox.mkColorbox #cboxTopRight,
#colorbox.mkColorbox #cboxBottomLeft,
#colorbox.mkColorbox #cboxBottomRight,
#colorbox.mkColorbox #cboxMiddleLeft,
#colorbox.mkColorbox #cboxMiddleRight {
    width: 1px;
}

#colorbox.mkColorbox #cboxContent {
    background: white;
    overflow: visible;
}

#colorbox.mkColorbox #cboxLoadedContent{
    margin-top: 37px;
}

#colorbox.mkColorbox #cboxTitle {
    position: absolute;
    left: 0;
    top: 0;
    padding: 8px 0 8px 0;
    width: 100%;
    height: 20px;
    line-height: 20px;
    font-weight: bold;
    font-size: 1em;
    border-bottom: 1px solid #ddd;
    background: #E6E5E5;
    text-align: center;
}

#colorbox.mkColorbox #cboxLoadingOverlay {
    background: white url('../../../images/loading.gif') no-repeat center center;
}

#colorbox.mkColorbox #cboxClose {
    position: absolute;
    right: 6px;
    top: 6px;
    display: block;
    width: 21px;
    height: 23px;
    border: 0;
    text-indent: -1000em;
    background: transparent url('../../../images/pop_close.gif') no-repeat 0 -24px;
}

#colorbox.mkColorbox #cboxClose:hover {
    background-position: 0 1px;
}

#colorbox.mkColorbox .cboxIframe {
    background: white;
}