
/* Overlay */

body.ovl-opened {
	overflow: hidden !important;
}
body.ovl-opened .ovl,
body.ovl-opened .ovl-fade {
	opacity: 1;
	visibility: visible;
}
.ovl-fade {
	background: rgba(4,8,12,0.7);
	height: 100%;
	left: 0;
	opacity: 0.7;
	visibility: hidden;
	overflow-y: scroll;
	position: fixed;
	top: 0;
	transition: opacity 0.2s, visibility 0.2s;
	width: 100%;
	z-index: 111;
}
.ovl-wrap {
	position: fixed;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	overflow-y: scroll;
	text-align: center;
	white-space: nowrap;
	z-index: 112;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-justify-content: center;
			-ms-flex-pack: center;
					justify-content: center;
	-webkit-align-items: center;
			-ms-flex-align: center;
					align-items: center;
}
.ovl {
	opacity: 0;
	visibility: hidden;
	position: relative;
	white-space: normal;
	transition: opacity 0.2s, visibility 0.2s;
	color: #fff;
	text-align: left;
	margin: auto;
	padding: 32px;
}
.ovl.is-block {
	padding: 0;
}
@media only screen and (max-width: 1080px) {
	.ovl.is-block {
		width: 100%;
	}
}
.ovl-close {
	width: 17px;
	height: 17px;
	background-image: url("../../../img/wf/icon-close.png");
	background-position: center center;
	position: absolute;
	right: 10px;
	top: 10px;
	cursor: pointer;
}
.ovl-align {
	width: 100%;
	min-width: 1060px;
	padding: 32px;
	box-sizing: border-box;
	background: #1f262c;
}
@media only screen and (max-width: 1080px) {
	.ovl-align {
		min-width: 100%;
	}
}
.ovl-video {
	width: 100%;
	height: 458px;
	background: #000;
}
.ovl img {
	max-width: 1000px;
	display: block;
}
.ovl > img {
	width: 100%;
	height: auto;
}
.ovl__header {
	position: relative;
	margin: 0;
	padding: 13px 22px 11px;
	font-size: 12px;
	border-bottom: 1px solid transparent;
	cursor: default;
  background: #191e23;
}
.ovl__header .ovl-close {
	top:0;
	bottom:0;
	margin: auto;
	right:15px;
}
.ovl__header .ovl-arr {
	display: inline-block;
  width: 20px;
  height: 18px;
	cursor: pointer;
	margin: 0 5px 0 0;
  background: url(/img/wf/media_sprite.png) no-repeat 0 0 ;
  opacity: 0.5;
}
.ovl__header .ovl-arr--prev {
  background-position: -2px -3px;
}
.ovl__header .ovl-arr--next {
  background-position: -21px -3px;
}
.ovl__header .ovl-arr:hover {
  opacity: 1;
}
.ovl-bt {
	background: #fe303d;
	border: none;
	color: #fff;
	text-transform: uppercase;
	font: 18px/35px Quantico, Arial, Helvetica, sans-serif;
	text-align: center;
	cursor: pointer;
	box-sizing: border-box;
	text-decoration: none;
  display: inline-block;
  margin: 20px 20px 0;
  height: 35px;
  padding: 0 20px;
  min-width: 220px;
}
	.ovl-bt:hover {
		text-decoration: none;
		background: #fff;
		color: #000;
	}
	.ovl-bt:focus {
		outline: none;
	}
  .ovl-bt.ovl-bt_white {
    background: none;
    border: 1px solid #fe303d;
    color: #fe303d;
  }
  .ovl-bt.ovl-bt_white:hover {
    background: #fff;
    border: 1px solid #fff;
    color: #000;
  }
@media screen and (max-width: 1220px) {
  .wf__ovl-content {
    width: 100%;
  }
  .wf__ovl {
    padding: 70px 30px;
  }
  .wf__ovl + .ovl-close {
    left: auto;
    right: 10px;
  }
}

@media screen and (max-width: 720px) {
  .wf__ovl {
    margin: 0;
    width: 100%;
  }
  .wf__button.ovl-bt {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
  .ovl-close {
    top: -25px;
  }
}
