﻿

.openoverlaytour {
    position: fixed;
    bottom: 21px;
    right: 58px;
    padding: 8px 20px;
    background-color: #3D5BA4;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 15px;
	z-index: 2000000000000000000000000000;
    border: 1px solid #fff;
	box-shadow: 5px 5px 10px rgba(0,0,0,.4);
}

.openoverlaytour:hover {
    cursor: pointer;
}

.overlaytour {
	visibility: hidden;
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	color: #fff;
	z-index: 20000000000000000000000000001;
}

.overlaytourbg {
	visibility: hidden;
	position: fixed;
	top: 20px;
	right: 0;
	width: 100%;
	height: 100%;
    background-color: rgba(15, 32, 105, 0.91);
	opacity: 0;
	color: #fff;
    overflow: hidden;
}

.overlaytourcontainer {
	visibility: hidden;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 98%;
	text-align: center;
}

.videoplayer {
	position: relative;
	max-width: 1080px;
	height: auto;
	width: 70%;
	margin: 0 auto;
	box-shadow: 20px 20px 60px rgba(0,0,0,.3);
	transform: translate(0px, 100px);
	visibility: hidden;
}

.videoplayer iframe {
	height: auto;
	border: 2px solid #ffffff;
}


/*   100% VIDEO EMBED   ================= */
.videoplayer .video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
	z-index: 5;
	margin: 0 auto;
	text-align: center;
	width: 100%;
}

.videoplayer .video-container iframe,
.videoplayer .video-container object,
.videoplayer .video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	/*max-width: 640px;*/
	height: 100%;
	/*max-height: 420px;*/
	z-index: 4001;
	margin: 0 auto;
	text-align: center;
}

.videotitle {
	top: 20px;
    clear: both;
    display: block;
    font-size: 24px;
    line-height: 28px;
    font-weight: 600;
    letter-spacing: .05em;
    padding-bottom: 16px;
    color: #fff;
    text-transform: uppercase;
}


/* =====================================================================
	KEYLEN  / NON-RESPONSIVE ELEMENTS 
===================================================================== */

#closeoverlaytour {
	visibility: hidden;
	position: absolute;
	right: -18px;
	top: 20px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	text-align: center;
	color: #3D5BA4;
	border: 1px solid #3D5BA4;
	background-color: #fff;
	box-shadow: 10px 10px 20px rgba(0,0,0,0.2);
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
	z-index: 6;
}

#closeoverlaytour i {
	font-size: 22px;
	margin-top: 8px;
}

#closeoverlaytour:hover {
	cursor: pointer;
	box-shadow: 5px 5px 10px rgba(0,0,0,0.3);
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
}


/* =================   1024  ======================================== */

@media only screen and (max-width: 1023px) {

/* =====================================================================
	VIDEO / MAX 1024
===================================================================== */
.videosection {
    min-height: 620px;
}


/* =====================================================================
	VIDEO POP UP / MAX 1024
===================================================================== */

.videoplayer {
    width: 94%;
}


.videoplayercontainer {
    width: 96%;
}

}


/* =================   640  ======================================== */

@media only screen and (max-width: 540px) {
.videotitle {
    font-size: 21px;
    line-height: 24px;
    letter-spacing: .02em;
    padding-bottom: 20px;
}

#closeoverlaytour {
    visibility: hidden;
    position: absolute;
    right: -12px;
    top: 28px;
    width: 36px;
    height: 36px;
}

#closeoverlaytour i {
    font-size: 19px;
    margin-top: 7px;
}



}

/* =================  444 ======================================== */

@media only screen and (max-width: 444px) {

.videotitle {
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0;
    padding-bottom: 20px;
}

#closeoverlaytour {
    visibility: hidden;
    position: absolute;
    right: -12px;
    top: 28px;
    width: 36px;
    height: 36px;
}

#closeoverlaytour i {
    font-size: 19px;
    margin-top: 7px;
}




}
