﻿/*Popup Video */
.popupboxvideo {
	background-color: #fff;
	min-height: 100px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow: 0 17px 40px rgba(0, 0, 0, 0.35);
	box-shadow: 0 17px 40px rgba(0, 0, 0, 0.35);
	display: none;
	left: 50%;
	padding: 15px;
	position: fixed;
	top: 50%;
	width: 395px;
	z-index: 9999;
}

#fadevideo {
	display: none;
	background: #2e2335;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0.4;
	z-index: 300;
}

.video-overlay {
	display: none;
}

	.video-overlay.is-visible {
		display: block;
		position: fixed;
		height: 100%;
		/* width: calc(100% - 100px); */
		background: rgba(0, 0, 0, 0.9);
		top: 0;
		bottom: auto;
		right: 0;
		left: 0px;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
		-webkit-transition: 0.5s linear;
		transition: 0.5s linear;
		z-index: 9999;
		padding: 0;
		overflow: auto;
	}

#main-video.is-visible {
	box-shadow: none;
	transform: translateY(-50%);
	height: auto;
	/* padding: 0 0 30px 0; */
	margin: 0 auto;
	position: relative;
	top: 50%;
}

.overflow-hidden {
	overflow: hidden;
}

#main-video {
	background: none;
	width: 650px;
}

	#main-video .sfPageSliderCloseBtn {
		background: #9b6932;
		border-radius: 50%;
		cursor: pointer;
		display: block;
		height: 40px;
		line-height: 40px;
		right: -20px;
		top: -20px;
		width: 40px;
		position: fixed;
		text-align: center;
		font-size: 1rem;
	}

		#main-video .sfPageSliderCloseBtn:before {
			color: white;
			content: '\f00d';
			font-family: 'FontAwesome';
		}

.video-frame {
	text-align: center;
}

@media screen and (max-width: 768px) {
	.video-overlay iframe {
		height: 320px;
		width: auto;
	}
}

@media screen and (max-width: 576px) {
	#main-video {
		width: calc(100% - 40px);
	}

	.video-overlay iframe {
		height: 244px;
	}
}
