
.js-modal {

}

.js-embed {
	position: relative;
}

.js-embed iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 3;
}


.js-modalOverlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
}

.js-modalWindow {
	display: none;
	z-index: 100;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	width: 100%;
	height: 100%;
	max-width: 640px;
	max-height: 400px;
	background: #fff;
	border-radius: 5px;
}
.js-modalWindow__body {
	padding: 1em;
}
.js-modalWindow__body iframe{
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
}

.js-modalWindow__btn {
	cursor: pointer;
	display: block;
	width: 36px;
	height: 36px;
	position: absolute;
	top: -16px;
	right: -16px;
	overflow: hidden;
	background-color : rgba(0, 0, 0, 0.7);
	text-align: center;
	border-radius: 50%;
	text-indent: -999px;
	transition: .7s ease;
	transition-property: background-color;
}
.js-modalWindow__btn:before,
.js-modalWindow__btn:after{
	content: "";
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	width: 60%;
	height: 2px;
	background-color : #FFF;
}
.js-modalWindow__btn:before { transform: rotate(45deg); }
.js-modalWindow__btn:after  { transform: rotate(-45deg); }

.js-modalWindow__btn:hover{
	background-color : red;
}
.js-modalWindow__btn:active{
	background-color : red;
	transform: scale(.9);
}