/* Settings - feel free to play with these */
/**
 * This part should be set separately for each video
 * if there are multiple videos in your site.
 * I.e. '.demo-video-wrapper' is the name of this particular video
 */
.demo-video-wrapper {
	background-repeat: no-repeat;
	background-position: center top;
	background-color: #00609C;
	position: relative;
}






/* Video overlay and content */
.video-overlay {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	pointer-events: none;
  /* Allows right click menu on the video */
  /*background: url("https://d3k5xyayaartr5.cloudfront.net/_assets/pattern-overlays/patterns/black-medium-checks.png") left top repeat;
  opacity: 0.3;*/
}

.video-hero--content {
	position: relative;
	color: #FFF;
	margin-top: 240px;
	margin-right: 0%;
	margin-bottom: 0px;
	margin-left: 0%;
	width: 100%;
}

.video-hero--content h5 {
	font-size: 60px;
	color: #FFF;
	font-weight: 600;
	text-align: left;
	line-height: 64px;
	margin-top: 0px;
	margin-right: 0;
	margin-bottom: 0px;
	margin-left: 0;
	display: block;	/*text-shadow: 0 0 10px #000000;*/
}
.video-hero--content h1 {
	font-size: 60px;
	color: #FFF;
	font-weight: 600;
	text-align: left;
	line-height: 64px;
	margin-top: 0px;
	margin-right: 0;
	margin-bottom: 0px;
	margin-left: 0;
	display: block;	/*text-shadow: 0 0 10px #000000;*/
}


.video-hero--content h6 {
	font-size: 26px;
	margin: 0;
	color: #FFF;
	text-align: center;
	font-weight: 400;
	line-height: 30px;
	text-shadow: 0 0 10px #666666;
}

.cf:before,
.cf:after {
  content: " ";
  display: table;
}

.cf:after {
  clear: both;
}





/* CSS from jQuery Background Video plugin */
/**
 * Set default positioning as a fallback for if the plugin fails
 */
.jquery-background-video-wrapper {
	position: relative;
	overflow: hidden;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	height: 600px;
}

.jquery-background-video {
	position: absolute;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	top: 160px;
	left: 1105px;
	-o-object-fit: contain;
	object-fit: contain;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

/**
 * Fade in videos
 * Note the .js class - so non js users still
 * see the video
 */
.js .jquery-background-video {
  opacity: 0;
  transition: opacity 300ms linear;
}

.js .jquery-background-video.is-visible {
  opacity: 1;
}

/**
 * Pause/play button
 */
.jquery-background-video-pauseplay {
	position: absolute;
	background: transparent;
	border: none;
	box-shadow: none;
	width: 20px;
	height: 20px;
	top: 15px;
	right: 15px;
	padding: 0;
	cursor: pointer;
	outline: none !important;
	display: none;
}
.award {
	height: 197px;
	width: 197px;
	position: absolute;
	right: 30px;
	bottom: 15px;
	z-index: 999;
}

.jquery-background-video-pauseplay span {
  display: none;
}

.jquery-background-video-pauseplay:after,
.jquery-background-video-pauseplay:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  transition: all .3s ease;
}

.jquery-background-video-pauseplay.play:before {
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #FFF;
}

.jquery-background-video-pauseplay.pause:before,
.jquery-background-video-pauseplay.pause:after {
  border-top: 10px solid #FFF;
  border-bottom: 10px solid #FFF;
  border-left: 5px solid #FFF;
}

.jquery-background-video-pauseplay.pause:after {
  left: 10px;
}


@media all and (max-width : 950px) {

TABLET {
}
.jquery-background-video-wrapper {
	height: 350px;
}

.award {
	height: 147px;
	width: 147px;
	position: absolute;
	right: 20px;
	bottom: 10px;
	z-index: 999;
}

.video-hero--content {
	margin-top: 80px;
}

.video-hero--content h5 {
	font-size: 50px;
	line-height: 53px;
}
.video-hero--content h1 {
	font-size: 50px;
	line-height: 53px;
}


.video-hero--content h6 {
	font-size: 24px;
	line-height: 28px;
}    
  
}


@media only screen and (max-width: 700px) {

TABLET SMALL {
}
.jquery-background-video-wrapper {
	height: 250px;
}
.demo-video-wrapper {
	height: 250px;
	background-position: center;
}

.award {
	position: absolute;
	right: 30px;
	bottom: 30px;
	z-index: 999;
	display: none;
}

.video-hero--content {
	margin-top: 60px;
	width: 100%;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}

.video-hero--content h5 {
	font-size: 32px;
	line-height: 34px;
}
.video-hero--content h1 {
	font-size: 32px;
	line-height: 34px;
}


.video-hero--content h6 {
	font-size: 20px;
	line-height: 24px;
}  
}
