html,body {
	height: 100%;
}


* html .layer_board_bg,
* html .layer_board {
	position: absolute;
}

.layer_board_bg {
	position: fixed;
	width: 100%;
	height: 100%;
	
	z-index: 1000;
	
	top: 0;
	left: 0;
	
	display: none;
	cursor: pointer;
	background: #000;
}

.layer_board {
	display: none;
	position: fixed;
	width: 100%;
	max-width: 520px;
	left: calc(50% - 260px);
	top: 0;
	margin: 65px 0 0;
	
	padding: 20px;
	background: #FFF;
	
	text-align: center;
	z-index: 2000;
}

.layer_board{
	height: auto
}

.layer_board .btn_close{
	position: absolute;
	top: -50px;
	right: 0;
	width: 50px;
	height: 50px;
	background: #000;
}

.layer_board .btn_close:before{
	content:"";
	width: 30px;
	height: 30px;
	border-top: 3px solid #FFF;
	position: absolute;
	top: 17px;
	right: 20px;
	-ms-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}

.layer_board .btn_close:after{
	content:"";
	width: 30px;
	height: 30px;
	border-top: 3px solid #FFF;
	position: absolute;
	top: 17px;
	left: 20px;
	-ms-transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
}

@media screen and (max-width: 700px) {
.layer_board{
	left: 15px;
	max-width: calc(100% - 30px);
	
}
}