@charset "utf-8";
/* CSS Document */
.overlay {
	background-color: rgba(0, 0, 0, 0.6);
	bottom: 0;
	cursor: default;
	left: 0;
	opacity: 0;
	position: fixed;
	right: 0;
	top: 0;
	visibility: hidden;
	z-index: 50;
	-webkit-transition: opacity .5s;
	-moz-transition: opacity .5s;
	-ms-transition: opacity .5s;
	-o-transition: opacity .5s;
	transition: opacity .5s;
}
.overlay:target {
	visibility: visible;
	opacity: 1;
}
img {
	padding: 0;
	margin: 0;
	font-size: 0;
}
.popup {
	background: #fff;
	border: 3px solid #fff;
	display: inline-block;
	left: 50%;
	opacity: 0;
	height: 80vh;
	width: 70%;
	overflow-y: auto;
	position: fixed;
	text-align: justify;
	top: 90%;
	visibility: hidden;
	z-index: 60;
	
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
	border-radius: 10px;
	

	-webkit-transition: opacity .5s, top .5s;
	-moz-transition: opacity .5s, top .5s;
	-ms-transition: opacity .5s, top .5s;
	-o-transition: opacity .5s, top .5s;
	transition: opacity .5s, top .5s;
}
.popup .tit {
	padding:20px;
	background: #3366cc;
}


.popup H2 {
	text-align: center;
	padding: 80px 0 10px 0;
	margin: 0;
	font-size: 40px;
	color: #fff;
}
@media all and (max-width:1100px) { .popup H2 {
	text-align: center;
	padding: 30px 0 10px 0;
	margin: 0;
	font-size: 30px;
	color: #fff;
}
}

.popup H4 {
	text-align: center;
	padding: 10px 0 80px 0;
	margin: 0;
	font-size: 18px;
	font-weight: normal;
	color: #fff;
}

@media all and (max-width:1100px) { .popup H4 {
	text-align: center;
	padding: 10px 0 30px 0;
	margin: 0;
	font-size: 14px;
	font-weight: normal;
	color: #fff;
}
}
.popup .middle_tit {
	position: relative;
	top: -5px;
	background: url(../images/portfolio_middle_tit_bg.png) no-repeat top;
	margin: 0;
	text-align: center;
	padding: 150px 0 35px 0;
	font-size: 18px;
	font-weight: bold;
	letter-spacing: 10px;
}

@media all and (max-width:1100px) { .popup .middle_tit {
	position: relative;
	top: -20px;
	background: url(../images/portfolio_middle_tit_bg.png) no-repeat top;
	margin: 0;
	text-align: center;
	padding: 80px 0 15px 0;
	font-size: 16px;
	font-weight: normal;
	letter-spacing: 5px;
}}

.popup .middle_con {
	padding: 0 25px;
	font-size:18px;
	line-height:28px;
	font-weight::800;
}
@media all and (max-width:1100px) { .popup .middle_con {
	padding: 0 10px ;
	font-size:13px;
	line-height:18px;

}}
.popup .middle_img {
	padding:50px;

}
@media all and (max-width:1100px) { .popup .middle_img {
	padding:10px;
} }

.popup .middle_img img {
	padding:20px 0 80px 0px;
	width:100%;

}
@media all and (max-width:1100px) {.popup .middle_img img {
	padding:10px 0 10px 0px;
	width:100%;
}}

.overlay:target+.popup {
	top: 50%;
	opacity: 1;
	visibility: visible;
}
.closepopup {
	background-color: rgba(0, 0, 0, 0.8);
	height: 30px;
	width: 30px;
	line-height: 30px;
	position: absolute;
	top: 10px;
	right: 10px;
	text-align: center;
	text-decoration: none;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	-ms-border-radius: 15px;
	-o-border-radius: 15px;
	border-radius: 15px;
}
.closepopup:before {
	color: rgba(255, 255, 255, 0.9);
	content: "X";
	font-size: 24px;
	text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
}
.closepopup:hover {
	background-color: rgba(64, 128, 128, 0.8);
}
