/*
    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:2000; overflow:hidden;}
#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/fonportfol.png) repeat 0 0;}
#colorbox{}
    #cboxTopLeft{width:10px; height:10px; background:url(images/controls.png) no-repeat -100px 0;margin:0; padding:0;}
    #cboxTopRight{width:10px; height:10px; background:url(images/controls.png) no-repeat -140px 0;margin:0; padding:0;}
    #cboxBottomLeft{width:10px; height:10px; background:url(images/controls.png) no-repeat -100px -40px;margin:0; padding:0;}
    #cboxBottomRight{width:10px; height:10px; background:url(images/controls.png) no-repeat -140px -40px;margin:0; padding:0;}
    #cboxMiddleLeft{width:10px; background:url(images/controls.png) left top repeat-y;margin:0; padding:0;}
    #cboxMiddleRight{width:10px; background:url(images/controls.png) right top repeat-y;margin:0; padding:0;}
    #cboxTopCenter{height:10px; background:url(images/150.png"); 0 0 repeat-x;margin:0; padding:0;}
    #cboxBottomCenter{height:10px; background:url(images/150.png); 0 -36px repeat-x;margin:0; padding:0;}
    #cboxContent{background:#fff; overflow:hidden;}
        #cboxError{padding:50px; border:1px solid #ccc;}
        /*#cboxLoadedContent{margin-top:28px;}*/
        #cboxTitle{position:absolute; /*top:4px;*/ left:0; text-align:center; width:100%; color:#949494;}
        #cboxCurrent{position:absolute; top:4px; left:10px; color:#949494;padding-top:2px;}
        #cboxSlideshow{position:absolute; top:4px; right:30px; color:#0092ef;}
        /*#cboxPrevious{position:absolute; top:0; left:0; background:url(images/controls.png) no-repeat -75px 2px; width:25px; height:25px; text-indent:-9999px;}
        #cboxPrevious.hover{background-position:-75px -23px;}
        #cboxNext{position:absolute; top:0; left:27px; background:url(images/controls.png) no-repeat -50px 2px; width:25px; height:25px; text-indent:-9999px;}
        #cboxNext.hover{background-position:-50px -23px;}
		*/
		#cboxPrevious{position:absolute; top:50%; left:0px; margin-top:-32px; background:url(images/othercontrols.png) no-repeat top left; width:28px; height:65px; text-indent:-9999px; opacity:0.4;}
        #cboxPrevious:hover{background-position:bottom left;opacity:1;}
        #cboxNext{position:absolute; top:50%; right:0px; margin-top:-32px; background:url(images/othercontrols.png) no-repeat top right; width:28px; height:65px; text-indent:-9999px;opacity:0.4;}
        #cboxNext:hover{background-position:bottom right;opacity:1;}
        #cboxLoadingOverlay{background:url(images/40x40.png") no-repeat center center;}
        #cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
        /*#cboxClose{position:absolute; top:0; right:0; background:url(images/controls.png) no-repeat -25px 0; width:25px; height:25px; text-indent:-9999px;}
        #cboxClose.hover{background-position:-25px -25px;}
		*/
		#cboxClose{position:absolute; top:0px; right:0px; display:block; background:url(images/othercontrols.png) no-repeat top center; width:38px; height:19px; text-indent:-9999px;}
        #cboxClose:hover{background-position:bottom center;}
#cboxPages{position:absolute; top:2px; left:80px; height:28px; cursor:pointer;}
/*#cboxPagesLeft{position:absolute; top:4px; left:0px; height:30px; cursor:pointer;}*/
#cboxPagesLeft{position:absolute; top:2px; left:0px; height:26px; cursor:pointer;}
#cboxPages span{margin:0 2px; font-weight:bold; color:#ffffff;background:url(images/page_inactive.gif) center center repeat-x; display:block; float:left; padding:4px 8px; height:18px; text-align:center; border-top-right-radius:7px; border-top-left-radius:7px;}
#cboxPagesLeft span{margin:0 5px; font-weight:bold; color:#ffffff;background:url(images/page_inactive.gif) center center repeat-x; display:block; float:left; padding:5px 10px; height:18px; text-align:center; border-top-right-radius:7px; border-top-left-radius:7px;}
#cboxPages span.active{ background:url(images/page_active.gif) center center repeat-x;}
#cboxPagesLeft span.active{ background:url(images/page_active.gif) center center repeat-x;}
/*
  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 IE9.
*/
.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
*/
.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')");
}
.withpages #cboxLoadedContent {
	border-top:2px solid #36870a;
	padding-top:5px;
}
.withpages #cboxLoadedContent{
	
	/*padding-top:30px;*/
}
.withdesc #cboxLoadedContent{
	
	padding-top:24px;
}
.withadddesc #cboxLoadedContent{
	padding-bottom:60px;
}
#cboxDesc{
	top:34px;
	/*left:5px;*/
	
	width:100%;
	position:absolute;
	background:url(images/3x3.png);
	height:18px;
	overflow:hidden;
}
#cboxDesc .special_desc_text {
	/*height:18px;*/
	/*width:100%;*/
	padding:0 10px 5px;
}
/*#cboxDesc .special_desc_text{
	
	padding-bottom:5px;
}
*/
#cboxAddDesc{
	position:absolute;
	margin-top:-60px;
	padding:2px 5px;
}
.hidefulldesc, .showfulldesc{
	position:absolute;
	right:0;
}
.hidefulldesc {
	display:none;
	width:16px;
	height:16px;
	background:url(images/toggle_fulldesc.gif) 0 0 no-repeat;
	
}
.showfulldesc {
	
	width:16px;
	height:16px;
	background:url(images/toggle_fulldesc.gif) 0 -16px no-repeat;
	display:block;
}
#cboxTitle {
  bottom: 0;
  color: #FFFFFF;
  left: 0;
  /*padding: 3px;*/
  position: absolute;
  text-align: center;
  width: 100%;
  background: rgba(0,0,0,0.5);
}
