/*
    ColorBox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox,
#cboxWrapper,
#cboxTopCenter,
#cboxMiddleLeft,
#cboxContent,
#cboxLoadedContent,
#cboxMiddleRight,
#cboxBottomCenter {
  -moz-transition: top 0.3s ease, left 0.3s ease;
  -webkit-transition: top 0.3s ease, left 0.3s ease;
  -o-transition: top 0.3s ease, left 0.3s ease;
  transition: top 0.3s ease, left 0.3s ease;
}

#colorbox, #cboxOverlay, #cboxOverlayWait, #OverglayWaitGraphic, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxOverlayWait{position:fixed; width:100%; height:100%; background: url(../img/loading_background.png) no-repeat center center; z-index:10000;}
#OverglayWaitGraphic{position:fixed; width:100%; height:100%; background: url(../img/loading.gif) no-repeat center center; z-index:10001}

#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative; overflow: hidden;}
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; z-index:2; top:18px; left:18px; width:32px; height:32px;}
#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 Style:
    Change the following styles to modify the appearance of ColorBox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay{background:black;}
#colorbox{
    background:white; 
    box-shadow:0 0 15px #555; 
    -moz-box-shadow:0 0 15px #555; 
    -webkit-box-shadow:0 0 15px #555; 
}

.titleMargin #cboxLoadedContent { margin:40px; }
#cboxLoadedContent h2 { background:#232323; color: #9e9e9e; height:45px; line-height:45px; text-transform: uppercase; font-weight:normal; padding:0 20px 0 50px; }


.noBorder #cboxLoadedContent,
.noBorder #cboxContent {margin:0;}

#cboxCurrent{position:absolute; top:11px; left:17px; color:#949494;}
/*#cboxLoadingOverlay{background:url(../img/loading_background.png) no-repeat center center;}*/
#cboxLoadingGraphic{background:url(../img/loading.gif) no-repeat center center;}

/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }

/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}

#cboxSlideshow{position:absolute; top:4px; right:30px; color:#0092ef;}
#cboxPrevious{position:absolute; top:50%; margin-top:-11px; left:10px; background:url(../img/prevnext.png) no-repeat; width:10px; height:11px; text-indent:-9999px;}
#cboxPrevious:hover{background-position:0 -39px;}

#cboxNext{position:absolute; top:50%; margin-top:-11px; right:10px; background:url(../img/prevnext.png) no-repeat -41px 0; width:10px; height:11px; text-indent:-9999px;}
#cboxNext:hover{background-position:-41px -39px;}

#cboxClose{position:absolute; top:10px; right:10px; background:url(../img/close.png) no-repeat top left; width:16px; height:16px; text-indent:-9999px;}
#cboxClose:hover{background-position:-17px 0;}