/*
    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:50%; left:50%; width:100%; height: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:#fff;}
#colorbox{}
    #cboxTopLeft{width:48px; height:48px; background:url("/card/js/colorbox/images/card/border1.png") no-repeat 0 0;}
    #cboxTopCenter{height:48px; background:url("/card/js/colorbox/images/card/border1.png") repeat-x 0 -96px;}
    #cboxTopRight{width:48px; height:48px; background:url("/card/js/colorbox/images/card/border1.png") no-repeat -48px 0;}
    #cboxBottomLeft{width:48px; height:48px; background:url("/card/js/colorbox/images/card/border1.png") no-repeat 0 -48px;}
    #cboxBottomCenter{height:48px; background:url("/card/js/colorbox/images/card/border1.png") repeat-x 0 -144px;}
    #cboxBottomRight{width:48px; height:48px; background:url("/card/js/colorbox/images/card/border1.png") no-repeat -48px -48px;}
    #cboxMiddleLeft{width:48px; background:url("/card/js/colorbox/images/card/border2.png") repeat-y 0 0;}
    #cboxMiddleRight{width:48px; background:url("/card/js/colorbox/images/card/border2.png") repeat-y -48px 0;}
    #cboxContent{background:#fff; display:inline-block;}
        .cboxIframe{background:#fff;}
        #cboxError{padding:50px; border:1px solid #ccc;}
        #cboxTitle{position:absolute; bottom:0px; left:0; text-align:center; width:100%; color:#999;}
        #cboxCurrent{position:absolute; bottom:0px; left:100px; color:#999;}
        #cboxSlideshow{position:absolute; bottom:0px; right:42px; color:#444;}
        #cboxPrevious{width:40px; height:40px; position:absolute; top:50%; left:-75px; color:#444; background:url("/card/js/colorbox/images/card/prev.png") no-repeat top center; font-size: 0.1em; text-indent: -9999px;}
        #cboxNext{width:40px; height:40px; position:absolute; top:50%; right:-75px; color:#444; background:url("/card/js/colorbox/images/card/next.png") no-repeat top center; font-size: 0.1em; text-indent: -9999px;}
        #cboxLoadingOverlay{background: url("/card/js/colorbox/images/card/loading.gif") no-repeat 5px 5px;}
        #cboxClose{position:absolute; top:-24px; right:-24px; display:block; width:14px; height:14px; background:url("/card/js/colorbox/images/card/17summer_p1_overlay_close.gif") no-repeat top left; font-size: 0.1em; text-indent: -9999px;}
        #colorbox{box-shadow: none;}

/*
  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);
}




/*   2013/06/11 add
----------------------------------------------------------------------------------*/

#cboxTopLeft { width:24px; height:24px; background-position: 0 0; }
#cboxTopCenter { height:24px; background-position:0 -94px; }
#cboxTopRight { width:24px; height:24px; background-position: -72px 0; }
#cboxBottomLeft { width:24px; height:24px; background-position: 0 -70px; }
#cboxBottomCenter { height:24px; background-position: 0 -169px; }
#cboxBottomRight { width:24px; height:24px; background-position: -72px -70px; }
#cboxMiddleLeft { width:24px; background-position: 2px 0; }
#cboxMiddleRight { width:24px; background-position:  -74px 0; }
#cboxClose { top:20px; right:20px; }
#cboxClose:hover{ opacity: 0.6; }

/*   2014/08/21 add 
----------------------------------------------------------------------------------*/
#colorbox,#cboxWrapper { padding: 0 !important; }

body.modal .wrapper { background: #FFF; min-width: 840px; }
body.modal #contents { padding-bottom: 0; }
body.modal #contents .contentsIn { padding-left: 0; padding-right: 0; width: 840px; margin: 0 auto;}
body.modal #contents .contentsIn #contentsWrapper,
body.modal #contents .contentsIn #contents2014 .modalArea,
body.modal #contents .contentsIn #contents2014 { width: 840px; }
body.modal #contents .contentsIn #contentsWrapper { margin-top: 0; margin-bottom: 0; }
body.modal #contents .contentsIn #contents2014 .modalArea h3 { line-height: 1.6; }