/*
    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;}
#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(/uploads/image/ejs/overlay.png) repeat 0 0;}
#colorbox{}
#cboxtopleft{width:21px; height:21px; background:url(/uploads/image/ejs/controls.png) no-repeat -100px 0;}
#cboxtopright{width:21px; height:21px; background:url(/uploads/image/ejs/controls.png) no-repeat -129px 0;}
#cboxbottomleft{width:21px; height:21px; background:url(/uploads/image/ejs/controls.png) no-repeat -100px -29px;}
#cboxbottomright{width:21px; height:21px; background:url(/uploads/image/ejs/controls.png) no-repeat -129px -29px;}
#cboxmiddleleft{width:21px; background:url(/uploads/image/ejs/controls.png) left top repeat-y;}
#cboxmiddleright{width:21px; background:url(/uploads/image/ejs/controls.png) right top repeat-y;}
#cboxtopcenter{height:21px; background:url(/uploads/image/ejs/border.png) 0 0 repeat-x;}
#cboxbottomcenter{height:21px; background:url(/uploads/image/ejs/border.png) 0 -29px repeat-x;}
#cboxcontent{background:#fff; overflow:hidden;font-size: 12px;}
#cboxerror{padding:50px; border:1px solid #ccc;}
#cboxloadedcontent{margin-bottom:28px;}
#cboxtitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;}
#cboxcurrent{position:absolute; bottom:4px; left:58px; color:#949494;}
#cboxslideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;}
#cboxprevious{position:absolute; bottom:0; left:0; background:url(/uploads/image/ejs/controls.png) no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px;}
#cboxprevious.hover{background-position:-75px -25px;}
#cboxnext{position:absolute; bottom:0; left:27px; background:url(/uploads/image/ejs/controls.png) no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;}
#cboxnext.hover{background-position:-50px -25px;}
#cboxloadingoverlay{background:url(/uploads/image/ejs/loading_background.png) no-repeat center center;}
#cboxloadinggraphic{background:url(/uploads/image/ejs/loading.gif) no-repeat center center;}
#cboxclose{position:absolute; bottom:0; right:0; background:url(/uploads/image/ejs/controls.png) no-repeat -25px 0; width:25px; height:25px; text-indent:-9999px;}
#cboxclose.hover{background-position:-25px -25px;}

/*
  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(/uploads/image/ejs/bordertopleft.png);}
.cboxie6 #cboxtopcenter{background:url(/uploads/image/ejs/bordertopcenter.png);}
.cboxie6 #cboxtopright{background:url(/uploads/image/ejs/bordertopright.png);}
.cboxie6 #cboxbottomleft{background:url(/uploads/image/ejs/borderbottomleft.png);}
.cboxie6 #cboxbottomcenter{background:url(/uploads/image/ejs/borderbottomcenter.png);}
.cboxie6 #cboxbottomright{background:url(/uploads/image/ejs/borderbottomright.png);}
.cboxie6 #cboxmiddleleft{background:url(/uploads/image/ejs/bordermiddleleft.png);}
.cboxie6 #cboxmiddleright{background:url(/uploads/image/ejs/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(, sizingmethod='scale')");
}