/*
    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;}
#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:
    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:#000; opacity: 0.9; filter: alpha(opacity = 90);}
#colorbox{outline:0;}
.cboxIframe{background:#fff;}
#cboxError{padding:50px; border:1px solid #ccc;}
#cboxLoadedContent{border:20px solid #fff; border-top: 50px solid #fff; margin-left: 80px; margin-right: 80px }
#cboxTitle{position:absolute; bottom:5px; left:0; color:#000; font-size: 14px; width: 100%; text-align: center }
#cboxCurrent{position:absolute; top:15px; left:100px; color:#000; font-size: 24px; }
div#cboxCurrent{display:block !important}
#cboxLoadingGraphic{/*background:url(/images/loader.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 {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }

/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}

#cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;}

#cboxPrevious, #cboxNext { position:absolute; top:50%; margin-top:-25px; width:50px; height:50px; filter:alpha(opacity=50); -moz-opacity:0.5; -khtml-opacity:0.5; opacity:0.5 }
#cboxPrevious{ left:0; /*background:url(/images/cboxPrevious.png) no-repeat top left; background-size: 100% 100%*/ }
#cboxPrevious:hover, #cboxNext:hover { filter:alpha(opacity=100); -moz-opacity:1; -khtml-opacity:1; opacity:1 }
#cboxNext{ right:0; /*background:url(/images/cboxNext.png) no-repeat top right; background-size: 100% 100%*/ }

#cboxPrevious:before, #cboxNext:before { font-family: "iconfont"; font-size: 36px; color: #fff }
#cboxPrevious:before { content: "\e7b5" }
#cboxNext:before { content: "\e7b6" }

#cboxClose{position:absolute; top:10px; right:95px; display:block; width:30px; height:30px }
#cboxClose .icon-close { font-size: 30px; position: absolute; top:0; left:0; transition: all ease-out .1s; -webkit-transition: all ease-out .1s; -moz-transition: all ease-out .1s; -o-transition: all ease-out .1s }
#cboxClose:hover .icon-close { transform:rotate(90deg);
-ms-transform:rotate(90deg); 	/* IE 9 */
-moz-transform:rotate(90deg); 	/* Firefox */
-webkit-transform:rotate(90deg); /* Safari 和 Chrome */
-o-transform:rotate(90deg); 	/* Opera */ }
@media ( max-width:999px ) {
.teamBox #olorbox {margin-top: 30px;}
#cboxLoadedContent {border-top:40px solid #fff !important;width: 300px;margin-left: 10px;margin-right: 10px;}
#cboxLoadedContent img {margin: auto; width: 100% !important;height: auto !important;}
#cboxTitle {bottom: 10px!important;padding-left: 30px!important;padding-right: 30px!important;}
.teamBox{width: calc(100vw - 100px);}
#cboxClose {top: 5px;right: 25px;width: 20px;height: 20px;}

#cboxPrevious{ left:-6px;}
#cboxNext{ right:-6px;}
#cboxPrevious:before, #cboxNext:before {font-size: 24px !important; color: #000 !important }
}
