/*
    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; -webkit-transform: translate3d(0,0,0);}
#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{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}

/*
    User Style:
 * customized 20140815
 * @author Design
 */
#colorbox, #cboxWrapper {overflow: visible !important;}
#cboxOverlay{background:url(../images/overlay.png) repeat 0 0; opacity: 0.7; filter: alpha(opacity = 70); width: auto; height: auto; top: 0; right: 0; bottom: 0; left: 0;}
#colorbox{outline:0;}
    #cboxContent{overflow:visible; background:#fff; box-sizing: content-box; border-radius: 4px; border: 8px solid #fff; box-shadow: 0 0 0 8px rgba(0,0,0,0.8);}
        .cboxIframe{background:#fff;}
        #cboxError{padding:50px; border:1px solid #ccc;}
        #cboxLoadedContent{box-sizing: border-box;}
        #cboxTitle{position:absolute; top:-40px; left:-8px; color:#fff;}
        #cboxCurrent{display: none !important;}
        #cboxLoadingOverlay{background:#fff;}
        #cboxLoadingGraphic{background:url(../images/loading.gif) no-repeat center center;}

        /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
        #cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {
          position:absolute;
          top:-40px;
          display: block;
          width:32px;
          height:32px;
          padding:0;
          margin:0;
          border:0;
          background: none;
          overflow: hidden;
          text-indent: 120%;
          white-space: nowrap;
        }
        #cboxPrevious:hover, #cboxNext:hover, #cboxSlideshow:hover, #cboxClose:hover {opacity: 0.7;}

        /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
        #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}

        #cboxPrevious{right:76px; transform: rotate(180deg);}
        #cboxNext{right:32px;}
        #cboxSlideshow {right: 120px;}
        #cboxClose {right: -12px;}

        /* icons */
        #cboxPrevious::before,
        #cboxPrevious::after,
        #cboxNext::before,
        #cboxNext::after,
        #cboxSlideshow::before,
        #cboxSlideshow::after,
        #cboxClose::before,
        #cboxClose::after {
          position: absolute;
          box-sizing: border-box;
          display: block;
          content: "";
        }
        #cboxPrevious::before,
        #cboxNext::before{
          top: 14px;
          left: 10px;
          width: 8px;
          height: 3px;
          background: #fff;
        }
        #cboxPrevious::after,
        #cboxNext::after {
          top: 11px;
          left: 11px;
          width: 9px;
          height: 9px;
          border-top: 3px solid #fff;
          border-right: 3px solid #fff;
          transform: rotate(45deg);
        }
        #cboxSlideshow::before {
          top: 10px;
          left: 13px;
          border: 8px solid transparent;
          border-width: 6px 8px;
          border-left-color: #fff;
        }
        .cboxSlideshow_on #cboxSlideshow::before {
          top: 11px;
          left: 12px;
          width: 9px;
          height: 9px;
          border: 3px solid #fff;
          border-width: 0 3px;
        }
        #cboxClose::before,
        #cboxClose::after {
          top: 7px;
          left: 14px;
          width: 3px;
          height: 18px;
          background-color: #fff;
        }
        #cboxClose::before {
          transform: rotate(45deg);
        }
        #cboxClose::after {
          transform: rotate(-45deg);
        }
