
.cp-media-background-wrapper {
  background-size:cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: scroll;
  position: relative;
  overflow:hidden;
  min-height: inherit;
}
.parallax-on.cp-media-background-wrapper {
  background-position: 50% 50%;
  background-attachment: fixed;
}
.parallax-on .cp-media-local-video-background {
/*  making the video fullscreen  */
  position: fixed;
  min-height: 100%;
/* right: 0; */
/* bottom: 0; */
/* min-width: 100%; */
/* min-height: 100%; */
/* width: auto; */
/* height: auto; */
  z-index: -100;
  object-fit: cover;
  width: 100%;
  top: 50%;
  transform: translate(0, -50%);
}

.cp-media-background-wrapper.local-video-wrapper {
  /* padding-top:0; */
}
.cp-media-background-wrapper.local-video-wrapper .cp-media-content {
  margin-top:16px;
}
.cp-content-over-background .background-style-,
.cp-content-over-background .background-style-transparent {
  color:#fff;
  /* text-shadow: 0 0 5px rgba(0,0,0,0.5); */
}
.paragraph--type--cp-text-background-image .cp-heading {
  color:#fff;
  text-shadow: 0 0 5px rgba(0,0,0,0.5);
  text-align:center;
}
.cp-media-background-vid-wrap {
  position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.cp-media-background-vid-wrap iframe, .cp-media-background-vid-wrap video  {
  position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.cp-media-local-video-background {
/*  making the video fullscreen  */
position: absolute;
/* right: 0; */
/* bottom: 0; */
/* min-width: 100%; */
/* min-height: 100%; */
/* width: auto; */
/* height: auto; */
/* z-index: -100; */
  object-fit: cover;
  min-width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.cp-media-content {
  position: relative;
}
