@charset "utf-8";
/* CSS Document */

.modalmask {
	position: fixed;
	font-family: Arial, sans-serif;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0, 67, 131, 0.839);
	z-index: 99999;
	opacity:0;
	-webkit-transition: opacity 400ms ease-in;
	-moz-transition: opacity 400ms ease-in;
	transition: opacity 400ms ease-in;
	pointer-events: none;
	overflow-y: scroll;
	/*max-height: calc(100vh - 210px);*/

}
.modalmask:target {
	opacity:1;
	pointer-events: auto;
}
.modalbox{
	width: 70%;
	position:relative;
	padding: 5px 10px 13px 15px;
	background-color: #ffffff;
	/*background-image:url(images/bgmodal.png);
	background-repeat:repeat;*/
	border-radius:5px;
	-webkit-transition: all 500ms ease-in;
	-moz-transition: all 500ms ease-in;
	transition: all 500ms ease-in;
	min-height: 180px;
	
}

.movedown {
	margin: 0 auto;
}
.rotate {
	margin: 10% auto;
	-webkit-transform: scale(-5,-5); 
	transform: scale(-5,-5);
}
.resize {
	margin: 10% auto;
	width:0;
	height:0;

}
.modalmask:target .movedown{		
	margin:10% auto;
}
.modalmask:target .rotate{		
	transform: rotate(360deg) scale(1,1);
    -webkit-transform: rotate(360deg) scale(1,1);
}

.modalmask:target .resize{
	width:495px;
	height:420px;
}



.close {
	background: #606061;
	color: #FFFFFF;
	line-height: 25px;
	position: absolute;
	right: 1px;
	text-align: center;
	top: 1px;
	width: 24px;
	text-decoration: none;
	font-weight: bold;
	border-radius:3px;
	font-size:16px;
}

.close:hover { 
	background: #FAAC58; 
	color:#222;
}

.modalbox h3 {
	font-size: 1.5em;
	margin: 0 0 10px;
	padding: 0;
	color: #060606;
}
.modalbox p {
	font-size: 1em;
	line-height: 1.5em;
	margin: 0 0 10px;
	padding: 0;
	color: #333;
}
