/**
* POPUP CONTAINER STYLES
*/
#popupMask {
	position: absolute;
	z-index: 200;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	opacity: .4;
	filter: alpha(opacity = 40);
	/* this hack is so it works in IE
* I find setting the color in the css gives me more flexibility
* than the PNG solution.
*/
	background-color: transparent !important;
	background-color: #333333;
	/* this hack is for opera support
* you can uncomment the background-image if you don't care about opera.
* this gives you the flexibility to use any bg color that you want, instead of the png
*/
	background-image /**/: url("images/maskBG.png") !important; // For
	browsers Moz, Opera, etc. background-image : none;
	background-repeat: repeat;
	display: none;
}

#popupContainer {
	position: absolute;
	z-index: 201;
	top: 230px !important;
	left: 38% !important;
	display: none;
	padding: 0px;
	right: 0;
	margin: auto;
	width: 500px !important;
}

#popupInner {
	border: 2px solid #000000;
	background-color: #ffffff;
	position: absolute;
	width: 502px;
	max-height: 405px;
	left: 0px !important;
}

#popupFrame {
	margin: 0px;
	width: 100%;
	height: 368px !important;
	position: relative;
	z-index: 202;
	max-height: 368px;
	overflow-y: auto;
}

#popupTitleBar {
	background-color: #486CAE;
	color: #ffffff;
	font-weight: bold;
	height: 33px !important;
	padding: 5px;
	border-bottom: 1px solid #000000;
	border-top: 1px solid #78A3F2;
	border-left: 1px solid #78A3F2;
	border-right: 1px solid #204095;
	position: relative;
	z-index: 203;
}

#popupTitle {
	float: left;
	font-size: 1.1em;
	padding-left: 10px;
}

#popupControls {
	float: right;
	cursor: pointer;
	cursor: hand;
}

@media ( max-width : 576px) {
	#popupContainer {
		top: 190px !important;
		right: 0px !important;
		left: 0px !important;
	}
}

#popupWrapper {
	height: 368px;
	max-height: 368px;
	-webkit-overflow-scrolling: touch;
}

@media ( max-width :576px) {
	#popupContainer {
		width: 100% !important;
	}
	#popupInner {
		width: 100% !important;
	}
	#popupWrapper iframe {
		width: 100% !important;
	}
}

@media ( min-width :567px) and (max-width: 991px) {
	#popupContainer {
		top: 400px !important;
		left: 0px !important;
	}
}

@media ( min-width :992px) and (max-width: 1200px) {
	#popupContainer {
		left: 40% !important;
	}
}