.uds-card-and-image-container > .field > .field--item > .paragraph--type--cp-text > .paragraph-inner {
  padding:2rem;
}
.uds-image-overlap .content-wrapper > .field > .field--item > .paragraph--type--cp-text > .paragraph-inner {
  padding:2rem;
}
.paragraph-inner > .uds-image-overlap > .content-wrapper {
  padding:0;
  background-color: transparent;
}
/* make sure the uds-image-overlap component respects paragraph padding instead of adding its own */
.paragraph--type--cp-media-background > .paragraph-inner > .uds-image-overlap {
  padding-top: 0;
}
.uds-image-overlap .content-wrapper {
    overflow: visible!important;
}
.uds-image-overlap video,
.uds-image-overlap .yt-video {
  max-width: 100%;
}
@media (min-width: 992px) {
  .uds-image-overlap video {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    grid-column: 2/span 2;
    grid-row: 1/span 3;
  }
  .uds-image-overlap.content-left video {
      grid-column: 3/span 2;
      grid-row: 1/span 3;
  }
  .uds-image-overlap .yt-video {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    grid-column: 2/span 2;
    grid-row: 1/span 3;
    z-index: 1;
  }
  .uds-image-overlap.content-left .yt-video {
      grid-column: 3/span 2;
      grid-row: 1/span 3;
  }
  .uds-image-overlap .content-wrapper {
    z-index: 2;
  }
}

.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;
}
