/* Settings - feel free to play with these */
@import url(https://fonts.googleapis.com/css?family=Roboto:400,700);
/**
 * 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-image: url(https://d3k5xyayaartr5.cloudfront.net/_assets/home-video/beach-waves-loop.jpg);
}

/* 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 */
  opacity: 0.3;
}

.video-hero--content {
  position: relative;
  text-align: center;
  color: #FFF;
  margin: 150px 0;
}

.video-hero--content h2 {
  font-size: 34px;
  margin: 0 0 10px;
}

.video-hero--content p {
  font-size: 20px;
  margin: 0;
}



/* 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;
}

.jquery-background-video {
  position: absolute;
  min-width: 100%;
  min-height: 100%;
  width: 100% !important;
  height: auto;
  top: 50%;
  left: 50%;
  -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;
  -webkit-transition: opacity 300ms linear;
  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;
  width: 100px;
  height: 100px;
  top: 15% !important;
  right: 47% !important;
  padding: 0;
  cursor: pointer;
  outline: none !important;
  border:#fff solid 1px;
  border-radius:50%;
}

.jquery-background-video-pauseplay-new {
	position: absolute;
  background: transparent;
  border: none;
  width: 100px;
  height: 100px;
  top: 40% !important;
  right: 40% !important;
  padding: 0;
  cursor: pointer;
  outline: none !important;
  border:#fff solid 1px;
  border-radius:50%;
}

.jquery-background-video-pauseplay span {
  display: none;
}

.jquery-background-video-pauseplay:after,
.jquery-background-video-pauseplay:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
}

.jquery-background-video-pauseplay.play:before {
  border-bottom: 43px solid transparent;
    border-left: 35px solid #fff;
    border-top: 40px solid transparent;
    margin: 9px 0 0 43px;
}

.jquery-background-video-pauseplay.pause:before,
.jquery-background-video-pauseplay.pause:after {
  border-top:40px solid #FFF;
  border-bottom:30px solid #FFF;
  border-left:5px solid #FFF;
  margin:12px 0 0 40px;
}

.jquery-background-video-pauseplay.pause:after {
  left: 15px;
}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
	.jquery-background-video-pauseplay.play::before {
    	border-bottom: 15px solid transparent;
    	border-left: 15px solid #fff;
    	border-top: 15px solid transparent;
    	margin: 9px 0 0 20px;
	}
	
	.jquery-background-video-pauseplay {
		width:50px;
		height:50px;
		right:40% !important;
	}
	
	.jquery-background-video-pauseplay.pause::before, .jquery-background-video-pauseplay.pause::after {
    	border-bottom: 0 solid #fff;
    	border-left: 6px solid #fff;
    	border-top: 25px solid #fff;
    	margin: 12px 0 0 14px;
	}
}

@media only screen and (device-width: 480px) and (orientation: landscape) {
	.jquery-background-video-pauseplay {
    	height: 50px;
    	right: 44% !important;
    	width: 50px;
	}
}

@media only screen and (min-device-width: 480px) and (max-device-width: 800px) {
	.jquery-background-video-pauseplay {
    	height: 50px;
    	right: 44% !important;
    	width: 50px;
	}
	.jquery-background-video-pauseplay.play::before {
    	border-bottom: 15px solid transparent;
    	border-left: 15px solid #fff;
    	border-top: 15px solid transparent;
    	margin: 9px 0 0 20px;
	}
	
	.jquery-background-video-pauseplay.pause::before, .jquery-background-video-pauseplay.pause::after {
    	border-bottom: 0 solid #fff;
    	border-left: 6px solid #fff;
    	border-top: 25px solid #fff;
    	margin: 12px 0 0 14px;
	}
}








