/*
    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;background: transparent; padding:0px;}
#cboxLoadedContent{overflow:auto;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay {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:
    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:#dddddd;}
#colorbox{outline:none;}
#cboxContent{margin-top:0px;}
#cboxError{padding:50px; border:1px solid #ccc;}
#cboxLoadedContent{padding:0px;margin:10px;}
#cboxTitle{display:none;position:absolute; bottom:0px; left:0; color:#252525;padding:5px 20px;}
#cboxCurrent{position:absolute; top:-20px; right:0px; color:#ccc;}
#cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;}
#cboxPrevious{border:0px;position:absolute; top:50%; left:0px; margin-top:-15px; background:url(/img/controls_new.png) no-repeat top left; width:30px; height:30px; text-indent:-9999px;}
#cboxPrevious:hover{background-position:bottom left;}
#cboxNext{border:0px;position:absolute; top:50%; right:0px; margin-top:-15px; background:url(/img/controls_new.png) no-repeat top right; width:30px; height:30px; text-indent:-9999px;}
#cboxNext:hover{background-position:bottom right;}
#cboxLoadingOverlay{background:transparent;}
#cboxLoadingGraphic{margin: auto;}
#cboxClose{border:0px;position:absolute; top:0px; right:0px;background:url(/img/controls_new.png) no-repeat top center; width:30px; height:30px; text-indent:-9999px;}
#cboxClose:hover{background-position:bottom center;}

/*------- Loader Animation ------- */
#cboxLoadingGraphic {
    float: none !important;
    position: relative;
    background-color: #999999;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    animation: cbLoad 1s infinite ease-in-out;
}

@keyframes cbLoad {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 0;
    }
}