#mask {
	display: none;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	opacity: 0.95;
	background-color: #000;
	z-index: 9999
}

#dialogbox {
	display: none;
	position: fixed;
	background: #ccc;
	z-index: 9999;
	margin: 0 auto;
	padding: 0;
	width: 40%;
	left: 30%;
	max-width: 700px;
	top: 100px;
}

#dialogboxheader {
	background: #ccc;
	font-size:19px;
	padding:10px;
	color:#c3801a;
	}

#dialogboxbody {
	background:#ddd;
	padding:20px;
	color:#000;
}

#dialogboxfooter {
	background: #ccc;
	text-align: right;
}
#dialogboxfooter a {
	display: block;
	background: #c3801a;
	color: #fff;
	padding: 0.5em 1em;
	margin-left: 0.2em;
	float: right;
	cursor: pointer;
}

#loader{
	display : none;
}

#loader.show {
	display : block;
	position : fixed;
	z-index: 100;
	background-image : url('../images/loader.gif');
	background-color:#666;
	opacity : 0.4;
	background-repeat : no-repeat;
	background-position : center;
	background-size: 13%;
	left : 0;
	bottom : 0;
	right : 0;
	top : 0;
}

.loading:before {
    position: fixed;
    content: '';
    background: url(images/loading.gif) no-repeat;
    background-size: 60px;
    background-position: center;
    width: 60%;
    height: 100px;
    pointer-events: none;
    z-index: 1400;
    opacity: 0.9
}

iframe {border: none;}

#videopop {
	display: none;
	position: fixed;
	z-index: 9999;
	margin: 0 auto;
	padding: 0;
	top: 0;
	left: 10%;
	width: 80%;
	height: 80%;
}

#videopop > p {
	font-weight: bold;
	font-size: 2em;
	text-align: center;
	color: white;
	background: black;
	padding: 0.3em 1em;
}

#videopop iframe {
	width: 100%; 
	height: 80%; 
}

#videoclose {
	color: red;
	font-size: 0.6em;
	cursor: pointer;
}

#videoclose:hover {
	color: white;
}