/*-------------------------------

	POPUP.CSS

-------------------------------*/

.popup_back {
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 100;
}

.popup_cont {
	position: fixed;
	z-index: 102;
}

.preloader {
	z-index: 101;
}

/*---------------------

	EDIT BELOW

*/

.popup_close {
	color: #888;
	cursor: pointer;
	position: absolute;
	padding: 5px;
	right: 5px;
	top: 0;
}

.popup_close:hover {
	color: #111;
}

.popup_back {
	cursor: pointer;
	background-color: #222;
}

div.popup {
	background: #fff;
	padding: 25px;
	box-shadow: 0 3px 10px #222;
}

.preloader {
	left: 50%;
	margin: -10px 0 0 -25px;
	position: fixed;
	top: 50%;
}

/*---------------------

	INDEX POPUP

*/
.popup-wrap {
	position: fixed;
	background: rgba(0,0,0,.6);
	width: 100%;
	height: 100%;
	z-index: 101;
	font-family: "微軟正黑體","華康粗黑體";
}
.popup-inner {
	position: fixed;
	background: #fff;
	left: 50%;
	top: 0;
	height: 68%;
	border-radius: 5px;
	padding: 50px 25px;
	box-shadow: 0 0 10px 0 #000;
	z-index: 102;
	-moz-transform: translate(-50%, 0);
	-ms-transform: translate(-50%, 0);
	-webkit-transform: translate(-50%, 0);
	transform: translate(-50%, 0);
}
.popup-content {
	height: 98%;
	overflow: auto;
	padding: 10px 20px;
	overflow-x: hidden;
}
.popup-content img{
	max-width: 850px; 
	height: auto;
	display: block;
}
.popup-close {
	position: absolute;
	color: #212121;
	right: 15px;
	top: 10px;
	text-align: center;
	font-size: 18px;
	cursor: pointer;
}
.popup-close:hover{
	opacity: .8;
}
@media only screen and (min-width: 1280px){
	.popup-content img{
		max-width: 980px;
	}
}