.center{
	position:absolute;
	width:700px;
	height:600px;
	top:60%;
	left:50%;
	margin-left:-350px;
	margin-top:-250px;	

}

.modalmask {
	position: fixed;
	font-family: 'Open Sans', sans-serif;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
	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;
}
.modalmask:target {
	opacity:1;
	pointer-events: auto;
}
.modalbox{
	width: 50%;
	position: relative;
	background: rgba(222,0,0,1);
background: -moz-linear-gradient(45deg, rgba(222,0,0,1) 30%, rgba(222,0,0,1) 36%, rgba(97,10,2,1) 100%);
background: -webkit-gradient(left bottom, right top, color-stop(30%, rgba(222,0,0,1)), color-stop(36%, rgba(222,0,0,1)), color-stop(100%, rgba(97,10,2,1)));
background: -webkit-linear-gradient(45deg, rgba(222,0,0,1) 30%, rgba(222,0,0,1) 36%, rgba(97,10,2,1) 100%);
background: -o-linear-gradient(45deg, rgba(222,0,0,1) 30%, rgba(222,0,0,1) 36%, rgba(97,10,2,1) 100%);
background: -ms-linear-gradient(45deg, rgba(222,0,0,1) 30%, rgba(222,0,0,1) 36%, rgba(97,10,2,1) 100%);
background: linear-gradient(45deg, rgba(222,0,0,1) 30%, rgba(222,0,0,1) 36%, rgba(97,10,2,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#de0000', endColorstr='#610a02', GradientType=1 );
	border-radius:0px;
	-webkit-transition: all 500ms ease-in;
	-moz-transition: all 500ms ease-in;
	transition: all 500ms ease-in;
	padding-top: 15px;
	padding-right: 50px;
	padding-bottom: 37px;
	padding-left: 50px;
}

.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:400px;
	height:200px;
}



.index {
	background: transparent;
	color: #fe3f3f;
	line-height: 40px;
	position: absolute;
	right: 10px;
	text-align: center;
	top: 10px;
	width: 24px;
	text-decoration: none;
	font-weight: lighter;
	font-size: 30px;
}

.index:hover {
	background: transparent;
	color: #fff;  
}

.nsc{
	position:absolute;
	bottom:40%;
	right:0;
}

@media screen and (max-width:480px) {
	.modalbox{
	width: 100%;
	height: 100%;
	position: relative;
	background: rgba(222,0,0,1);
background: -moz-linear-gradient(45deg, rgba(222,0,0,1) 30%, rgba(222,0,0,1) 36%, rgba(97,10,2,1) 100%);
background: -webkit-gradient(left bottom, right top, color-stop(30%, rgba(222,0,0,1)), color-stop(36%, rgba(222,0,0,1)), color-stop(100%, rgba(97,10,2,1)));
background: -webkit-linear-gradient(45deg, rgba(222,0,0,1) 30%, rgba(222,0,0,1) 36%, rgba(97,10,2,1) 100%);
background: -o-linear-gradient(45deg, rgba(222,0,0,1) 30%, rgba(222,0,0,1) 36%, rgba(97,10,2,1) 100%);
background: -ms-linear-gradient(45deg, rgba(222,0,0,1) 30%, rgba(222,0,0,1) 36%, rgba(97,10,2,1) 100%);
background: linear-gradient(45deg, rgba(222,0,0,1) 30%, rgba(222,0,0,1) 36%, rgba(97,10,2,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#de0000', endColorstr='#610a02', GradientType=1 );
	border-radius:0px;
	-webkit-transition: all 500ms ease-in;
	-moz-transition: all 500ms ease-in;
	transition: all 500ms ease-in;
	padding-top: 47%;
	padding-right: 5px;
	padding-bottom: 10px;
	padding-left: 5px;
	
}
.index {
	background: transparent;
	color: #000;
	line-height: 40px;
	position: absolute;
	right: 46%;
	text-align: center;
	top: 11%;
	width: 24px;
	text-decoration: none;
	font-weight: 100;
	border-radius:1px;
	font-size: 50px;
}
.index:hover {
	color: #de0000;  
}
.white-text2 { color: #333 !important;}
}
	
@media screen and (max-width:380px) {
	.modalbox{
	width: 100%;
	height: 100%;
	position: relative;
	background: rgba(222,0,0,1);
background: -moz-linear-gradient(45deg, rgba(222,0,0,1) 30%, rgba(222,0,0,1) 36%, rgba(97,10,2,1) 100%);
background: -webkit-gradient(left bottom, right top, color-stop(30%, rgba(222,0,0,1)), color-stop(36%, rgba(222,0,0,1)), color-stop(100%, rgba(97,10,2,1)));
background: -webkit-linear-gradient(45deg, rgba(222,0,0,1) 30%, rgba(222,0,0,1) 36%, rgba(97,10,2,1) 100%);
background: -o-linear-gradient(45deg, rgba(222,0,0,1) 30%, rgba(222,0,0,1) 36%, rgba(97,10,2,1) 100%);
background: -ms-linear-gradient(45deg, rgba(222,0,0,1) 30%, rgba(222,0,0,1) 36%, rgba(97,10,2,1) 100%);
background: linear-gradient(45deg, rgba(222,0,0,1) 30%, rgba(222,0,0,1) 36%, rgba(97,10,2,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#de0000', endColorstr='#610a02', GradientType=1 );
	border-radius:0px;
	-webkit-transition: all 500ms ease-in;
	-moz-transition: all 500ms ease-in;
	transition: all 500ms ease-in;
	padding-top: 47%;
	padding-right: 5px;
	padding-bottom: 10px;
	padding-left: 5px;	
}
.index {
	background: transparent;
	color: #000;
	line-height: 40px;
	position: absolute;
	right: 46%;
	text-align: center;
	top: 11%;
	width: 24px;
	text-decoration: none;
	font-weight: 100;
	border-radius:1px;
	font-size: 50px;
}
.index:hover {
	color: #de0000;  
}
.white-text2 { color: #333 !important;}
}
@media screen and (max-width:320px) {
	.modalbox{
	width: 100%;
	height: 100%;
	position: relative;
	background: rgba(222,0,0,1);
background: -moz-linear-gradient(45deg, rgba(222,0,0,1) 30%, rgba(222,0,0,1) 36%, rgba(97,10,2,1) 100%);
background: -webkit-gradient(left bottom, right top, color-stop(30%, rgba(222,0,0,1)), color-stop(36%, rgba(222,0,0,1)), color-stop(100%, rgba(97,10,2,1)));
background: -webkit-linear-gradient(45deg, rgba(222,0,0,1) 30%, rgba(222,0,0,1) 36%, rgba(97,10,2,1) 100%);
background: -o-linear-gradient(45deg, rgba(222,0,0,1) 30%, rgba(222,0,0,1) 36%, rgba(97,10,2,1) 100%);
background: -ms-linear-gradient(45deg, rgba(222,0,0,1) 30%, rgba(222,0,0,1) 36%, rgba(97,10,2,1) 100%);
background: linear-gradient(45deg, rgba(222,0,0,1) 30%, rgba(222,0,0,1) 36%, rgba(97,10,2,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#de0000', endColorstr='#610a02', GradientType=1 );
	border-radius:0px;
	-webkit-transition: all 500ms ease-in;
	-moz-transition: all 500ms ease-in;
	transition: all 500ms ease-in;
	padding-top: 47%;
	padding-right: 5px;
	padding-bottom: 10px;
	padding-left: 5px;
	
}
.index {
	background: transparent;
	color: #000;
	line-height: 40px;
	position: absolute;
	right: 46%;
	text-align: center;
	top: 11%;
	width: 24px;
	text-decoration: none;
	font-weight: 100;
	border-radius:1px;
	font-size: 50px;
}
.index:hover {
	color: #de0000;  
}
.white-text2 { color: #333 !important;}
}