﻿body{
	position: relative;
}
.modal{
	display: block;
	max-width: 1000px;
	width: 90%;
	margin: 0 auto;
}
.modal .modal_cont{
	display: none;
	background: #fff;
	border-radius: 20px;
}
.overlay{
	display: none;
	z-index: 10000;
	background: rgba(130,113,87,0.9);
	position: fixed;
	width: 100%;
	padding: 100px 7%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow-y: auto;
	@media (width <= 450px) {
		padding: 50px 7%;
	}
}
.wrapper.fixed{
	position: fixed;
	width: 100%;
}
.overlay .close_btn{
	text-align: center;
	position: fixed;
	top: 50px;
	right: 3%;
	width: 10%;
	z-index: 10001;
	@media (width <= 1400px) {
		width: 6%;
	}
}
.overlay .next_btn{
	text-align: center;
	position: fixed;
	top: calc(50vh - 100px);
	right: 3%;
	z-index: 10001;
	width: 10%;
	@media (width <= 1400px) {
		width: 6%;
	}
	@media (width <= 1000px) {
		top: calc(50vh);
	}
}
.overlay .prev_btn.none,
.overlay .next_btn.none{
	display: none;
}
.overlay .prev_btn{
	text-align: center;
	position: fixed;
	top: calc(50vh - 100px);
	left: 3%;
	z-index: 10001;
	width: 10%;
	@media (width <= 1400px) {
		width: 6%;
	}
	@media (width <= 1000px) {
		top: calc(50vh);
	}
}
.overlay .prev_btn p,
.overlay .next_btn p{
	font-size: 1.5vw;
	color: #fff;
	line-height: 1.5;
	padding-top: 13px;
	text-align: center;
}
