/*

    Colorbox Core Style:

    The following CSS is consistent between example themes and should not be altered.

*/

#colorbox, #cboxOverlay, #cboxWrapper {
	position: fixed !important;
	top: 0;
	left: 0;
	z-index: 9999;
	-webkit-transform: translate3d(0, 0, 0);
}
#cboxWrapper {
	max-width: none;
}
/*#cboxOverlay {
	position: fixed;
	width: 100%;
	height: 100%;
}*/
#cboxOverlay {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
#cboxMiddleLeft, #cboxBottomLeft {
	clear: left;
}
#cboxContent {
	position: relative;
}
#cboxLoadedContent {
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}
#cboxTitle {
	margin: 0;
	display: none !important;
}
#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;
}
#cboxContent {
	border: 5px solid #57bf35;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	background: #ffffff;
}
/* 

    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.6;
	filter: alpha(opacity = 60);
}
#colorbox {
    outline: 0;
    top: 50% !important;
    margin-top: -20%;
}
#cboxContent {
	margin-top: 20px;
	background: none;
}
.cboxIframe {
	background: #fff;
}
#cboxError {
	padding: 50px;
	border: 1px solid #ccc;
}
#cboxLoadedContent {
	border: none;
	background: none;
}
#cboxTitle {
	position: absolute;
	top: -20px;
	left: 0;
	color: #ccc;
}
#cboxCurrent {
	position: absolute;
	top: -20px;
	right: 0px;
	color: #ccc;
	display: none !important;
}
#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 {
	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{position:absolute; top:37%; left:0px; margin-top:-32px; background:#fe1f1f; width:68px; height:30px; text-indent:-9999px;}
#cboxPrevious:hover{ background:#015272; }
#cboxPrevious:after {
	width:13px; height:9px;
	background:url(../images/next-prev1.png) no-repeat;
	position:absolute; right:22px; top:10px;
	content:'';
}
#cboxNext{position:absolute; top:37%; right:0px; margin-top:-32px; background:#fe1f1f; width:68px; height:30px; text-indent:-9999px;}
#cboxNext:hover{background:#015272;}
#cboxNext:after {
	width:13px; height:9px;
	background:url(../images/next-prev1.png) no-repeat;
	position:absolute; left:22px; top:10px;
	background-position:-36px 0;
	content:'';
}
#cboxClose {
	position: absolute;
	top: -17px;
	right: -17px;
	display: block;
	background: url(../images/cbox-close.png) no-repeat top center;
	width: 31px;
	height: 31px;
	text-indent: -9999px;
}
#cboxClose:hover {
	background-position: 0 -44px;
}

@media (max-width:767px) {
#cboxPrevious {
	width: 30px;
	height: 30px;
	left: 0;
	position: absolute;
	top: 30%;
}
#cboxPrevious:after {
	left: 10px;
}
#cboxNext {
	width: 30px;
	height: 30px;
	right: 0;
	top: 30%;
}
#cboxNext:after {
	left: 6px;
}
.teampopupbx {
	padding: 0 30px;
}
}
