/*
    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; 
    outline: none;
    /*overflow:hidden;*/
}
#colorbox button { border:none !important; outline: none;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto;}
#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:
    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:url(images/overlay.png) repeat 0 0;	*/
	background-color: #000;
}
#colorbox{
    /*max-width: 1000px !important;*/
    transition: none !important;
    -webkit-transition: none !important;
    -moz-transition: none !important;

    /*margin-top: -20vh !important;*/
/*    top: 150px;*/
}

    #cboxTopLeft{/*width:21px;*/ width:0; /*height:21px;*/ height:0; background:url(images/controls.png) no-repeat -101px 0;}
    #cboxTopRight{/*width:21px;*/ width:0; /*height:21px;*/ height:0; background:url(images/controls.png) no-repeat -130px 0;}
    #cboxBottomLeft{/*width:21px;*/ width:0; /*height:21px;*/ height:0; background:url(images/controls.png) no-repeat -101px -29px;}
    #cboxBottomRight{/*width:21px;*/ width:0; /*height:21px;*/ height:0; background:url(images/controls.png) no-repeat -130px -29px;}
    #cboxMiddleLeft{/*width:21px;*/ width:0; background:url(images/controls.png) left top repeat-y;}
    #cboxMiddleRight{/*width:21px;*/ width:0; background:url(images/controls.png) right top repeat-y;}
    #cboxTopCenter{/*height:21px;*/ height:0; background:url(images/border.png) 0 0 repeat-x;}
    #cboxBottomCenter{/*height:21px;*/ height:0; background:url(images/border.png) 0 -29px repeat-x;}
    #cboxContent{background:url(images/loading.jpg) no-repeat center center #fff; 
        /*overflow:hidden;*/
    }
        .cboxIframe{background:#fff;}
        #cboxError{padding:50px; border:1px solid #ccc;}
        #cboxLoadedContent {background:url(images/loading.jpg) no-repeat center center #fff; margin-bottom:0;}
        #cboxTitle { visibility:visible; position:absolute; display: block; bottom: 0; left: 0; height: 60px; padding: .5em 90px .5em .5em !important; right: 0; color: white !important; z-index: 90; text-align:left; background: rgba(0,0,0,.5); font-size: 110%; }
        @media (max-width: 768px) {
            #cboxTitle { font-size: 100%; }
        }
        #cboxTitle:empty { visibility:hidden !important }
		#cboxContent:hover #cboxTitle { 
		/* opacity: 0.7; filter: alpha(opacity=70); */ }
        #cboxCurrent { visibility:visible; position:absolute; bottom: 0; height: 60px; right: 0; width: 90px; font-size: 32px; color: white !important; padding: 5px .5em; text-align: right; z-index: 100;}
        #cboxSlideshow{
			position:absolute; 
			bottom: 0; 
			color: #fff; 
			left: 50%; 
			top:50%;
			margin-left: -50px;
			margin-top: -50px;
			background: rgba(0,0,0,0.3);
/*			border-radius: 50%;*/
			height: 100px;
			width: 100px;
			font: bold 50px Arial;
			vertical-align: center;
			line-height: 90px;
			padding: 0;
			opacity: 0; filter: alpha(opacity=0);
			text-align: center;
		}
        #cboxContent:hover #cboxCurrent, #cboxContent:hover #cboxTitle {
            visibility:visible;
        }
		#cboxContent:hover #cboxSlideshow {
			opacity: 1; filter: alpha(opacity=100);		
		}
		#cboxContent:hover #cboxSlideshow:hover {
			opacity: 1; filter: alpha(opacity=100);		
		}
        #cboxPrevious{position:absolute; bottom:0; left:0; background:url(images/arrow-left.png) no-repeat center center rgba(0,0,0,.5); width:100px; height:100px; left:0; top:50%; margin-top:-50px; text-indent:-9999px; opacity: 0; filter: alpha(opacity=0);}
        #cboxNext{position:absolute; bottom:0; left:70%; background:url(images/arrow-right.png) no-repeat center center rgba(0,0,0,.5); width:100px; height:100px; left:100%; top:50%; margin-left:-100px; margin-top:-50px; text-indent:-9999px; opacity: 0; filter: alpha(opacity=0);}

/*        #cboxPrevious{position:absolute; bottom:0; left:0; background:url(images/arrow-left.png) no-repeat 3% 45%; width:30%; height:100%; text-indent:-9999px; opacity: 0; filter: alpha(opacity=0);}*/
        #cboxContent:hover #cboxPrevious , #cboxContent:hover #cboxNext {opacity: 0.8; filter: alpha(opacity=80); }
		#cboxContent:hover #cboxPrevious:hover, #cboxContent:hover #cboxNext:hover {opacity: 1; filter: alpha(opacity=100); }
        /*#cboxNext{position:absolute; bottom:0; left:70%; background:url(images/arrow-right.png) no-repeat 97% 45%; width:30%; height:100%; text-indent:-9999px; opacity: 0; filter: alpha(opacity=0);}*/
        /*#cboxLoadingOverlay{background:url(images/loading_background.png) no-repeat center center;}*/
        #cboxLoadingOverlay{background:url(images/loading.jpg) no-repeat center center;}
        #cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
        #cboxClose{position:absolute; z-index: 100000; right:-10px; top: -10px; background:url(images/closebox.png) no-repeat 0 0; /* background:url(images/controls.png) no-repeat -25px 0; */ width:30px; height:30px; text-indent:-9999px; opacity: .8; filter: alpha(opacity=80);}
        #cboxContent:hover #cboxClose {opacity: 0.8; filter: alpha(opacity=80); }
		#cboxContent:hover #cboxClose:hover {opacity: 1; filter: alpha(opacity=100);}

/*
  The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill
  when an alpha filter (opacity change) is set on the element or ancestor element.  This style is not applied to or needed in IE9.
  See: http://jacklmoore.com/notes/ie-transparency-problems/
*/
.cboxIE #cboxTopLeft,
.cboxIE #cboxTopCenter,
.cboxIE #cboxTopRight,
.cboxIE #cboxBottomLeft,
.cboxIE #cboxBottomCenter,
.cboxIE #cboxBottomRight,
.cboxIE #cboxMiddleLeft,
.cboxIE #cboxMiddleRight {
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
}

/*
  The following provides PNG transparency support for IE6
  Feel free to remove this and the /ie6/ directory if you have dropped IE6 support.
*/
.cboxIE6 #cboxTopLeft{background:url(images/ie6/borderTopLeft.png);}
.cboxIE6 #cboxTopCenter{background:url(images/ie6/borderTopCenter.png);}
.cboxIE6 #cboxTopRight{background:url(images/ie6/borderTopRight.png);}
.cboxIE6 #cboxBottomLeft{background:url(images/ie6/borderBottomLeft.png);}
.cboxIE6 #cboxBottomCenter{background:url(images/ie6/borderBottomCenter.png);}
.cboxIE6 #cboxBottomRight{background:url(images/ie6/borderBottomRight.png);}
.cboxIE6 #cboxMiddleLeft{background:url(images/ie6/borderMiddleLeft.png);}
.cboxIE6 #cboxMiddleRight{background:url(images/ie6/borderMiddleRight.png);}

.cboxIE6 #cboxTopLeft,
.cboxIE6 #cboxTopCenter,
.cboxIE6 #cboxTopRight,
.cboxIE6 #cboxBottomLeft,
.cboxIE6 #cboxBottomCenter,
.cboxIE6 #cboxBottomRight,
.cboxIE6 #cboxMiddleLeft,
.cboxIE6 #cboxMiddleRight {
    _behavior: expression(this.src = this.src ? this.src : this.currentStyle.backgroundImage.split('"')[1], this.style.background = "none", this.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src=" + this.src + ", sizingMethod='scale')");
}
