/*
    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: visible;}
#cboxWrapper {max-width:none;}
#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; -ms-interpolation-mode:bicubic;}
.cboxIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;}
#colorbox, #cboxContent, #cboxLoadedContent{ }
#cboxContent{
	-webkit-box-sizing:content-box;-webkit-box-shadow: 0 0px 5px rgba(0,0,0,0.5);
	-moz-box-shadow: 0 0px 5px rgba(0,0,0,0.5);
	box-shadow: 0 0px 5px rgba(0,0,0,0.5);}
#colorbox{
	padding: 0px;

}

/* 
    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-color:rgba(30,30,30,.95); opacity: 1 !important;}
#colorbox{outline:0;/* position: fixed !important; left: 50% !important; top:50% !important; margin-top: -215px; margin-left: -350px;*/}
#cboxContent{ margin: 0; overflow: visible; background: #FFF;}
.cboxIframe{background:#fff;}
#cboxError{padding:50px; border:1px solid #FFF;}
#cboxLoadedContent{	padding: 0px;}
#cboxLoadingGraphic,#cboxLoadingGraphic:before,#cboxLoadingGraphic:after {
	background-image: url(loading.png);
	background-repeat: no-repeat;
	background-position: center center;
    -webkit-background-size: 100%;
    background-size: 100%;
    width: 14px; height: 14px;
    top:50%; left: 50%;
    margin-top: -7px; margin-left: -7px;

}
#cboxLoadingGraphic:before,#cboxLoadingGraphic:after { position: absolute; content: ""; margin-left: 4px; animation: rorateLoading .8s ease-out infinite;}
#cboxLoadingGraphic:before { margin-left: -18px; animation-name: rorateLoading_reverse; }
@keyframes rorateLoading {
  from,to {
    left:50%;
    opacity: 1;
  }

  50% {
    left:90%;
    opacity: .2;
  }

}
@keyframes rorateLoading_reverse {
  from,to {
    left:50%;
    opacity: 1;
  }

  50% {
    left:10%;
    opacity: .2;
  }

}
#cboxLoadingOverlay{background:#FFF;}
#cboxTitle{position:absolute; top:-22px; left:0; color:#FFF;}
#cboxCurrent{position:absolute; top:-22px; right:205px; text-indent:-9999px;}

/* 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;
	text-indent: -9999px;
	width: 30px;
	height: 30px;
	position: absolute;
	top: 5px;
	right: 5px;
	/*background-image: url(../images/city_close.gif);
	background-repeat: no-repeat;
	background-position: 0 0;*/
	/*background-color: #8cb217;*/
}
#cboxClose:before,#cboxClose:after { content: ""; width: 30px; height: 3px; background-color: #000; display: block; transform: rotate(45deg); position: absolute; left: 3px; top: 16px; cursor: pointer; }
#cboxClose:after { transform: rotate(-45deg);}
        
        /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
        #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}

        #cboxPrevious{background-position:0px 0px; right:44px;}
        #cboxPrevious:hover{background-position:0px -25px;}
        #cboxNext{background-position:-25px 0px; right:22px;}
        #cboxNext:hover{background-position:-25px -25px;}
        #cboxClose{ top:-40px; right: 0; cursor: pointer; background-color: rgba(255,255,255,.8); height: 35px; width: 35px;}
        #cboxClose:hover{ opacity:0.5;/*background-position: 0px -30px;*/}
        .cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious{right:66px;}
        .cboxSlideshow_on #cboxSlideshow{background-position:-75px -25px; right:44px;}
        .cboxSlideshow_on #cboxSlideshow:hover{background-position:-100px -25px;}
        .cboxSlideshow_off #cboxSlideshow{background-position:-100px 0px; right:44px;}
        .cboxSlideshow_off #cboxSlideshow:hover{background-position:-75px -25px;}
