@charset "utf-8";

.modal {
	display:none;
	position:fixed;
	z-index:100000;
	left:0;
	top:0;
	width:100%;
	height:100%;
	overflow:hidden;
	background-color:rgb(0,0,0);
	background-color:rgba(0,0,0,0.4);
}

.modal-content {
	width:100%;
	max-width:800px;
	height:auto;
	margin:0 auto;
	margin-top:200px;
	background-color:#fff;
	position:relative;
	border:2px solid #454545;
}

#modal_file .modal-content {
	width:240px;
	height:160px;
	position:absolute;
	top:50%;
	margin-top:-100px;
	left:50%;
	margin-left:-150px;
	border:1px solid #454545;
	font-size:12px;
}

.modal-close {
	position:absolute; 
	top:-60px;
	left:50%;
	margin-left:-20px;
	color:#5f5f5f;
	font-size:26px;
	background:#fff;
	line-height:40px;
	width:40px;
	height:40px;
	border-radius:40px 40px;
	cursor:pointer;
	display:block;
	text-align:center;
}
#modal_file .modal-close {display:none;}

.animate {
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s
}

@-webkit-keyframes animatezoom {
    from {-webkit-transform: scale(0)} 
    to {-webkit-transform: scale(1)}
}

@keyframes animatezoom {
    from {transform: scale(0)} 
    to {transform: scale(1)}
}

@media only screen and (max-width:768px) {
	.modal-content {max-width:96%;}
}