:root {
  --video-expand-height: 31.63rem;
}

.video_banner {
  display: flex;
  max-width: 100%;
  overflow: hidden;
}

.video {
  margin: 1.25rem 0rem 1.25rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  gap: 2rem; 
}

/*Banner content styles*/
.banner-content {
  font-size: 0.88rem;
  flex: 1 1 14.38rem;
  min-width: 14.38rem;
  max-width: 100%;
  overflow-y: auto;
}

/*Styles for expanded banner*/
.banner-expand {
  position: fixed;
  top: 0px;
  height: 31.63rem;
  width: 100%;
  left: 0;
  background-color: var(--gray-dark-docs-site);
  z-index: var(--z-video-page-play);
}

.banner-vid {
  flex: 0;
}

/*Hides banner content when the banner is expanded*/
.video_banner.banner-expand .banner-content {
  display: none;
}

/*Styles for when video is expanded*/
.video_banner.banner-expand .video {
  margin: auto;
}

.video_banner.banner-expand .banner-vid {
  text-align: center;
  width: 100%;
  float: none;
}

/*Minimize Icon Styles*/
.fa-compress {
  float: right;
  font-size: 1.44rem;
}

.exit .fa {
  color: var(--white-docs-site);
}

.exit {
  position: absolute;
  right: 0.88rem;
  top: 0.63rem;
}

.exit:hover {
  cursor: pointer;
}

.exiticon {
  display: none;
}

/*Video Link Styles*/
.video_link {
  cursor: pointer;
  font-weight: 500;
}

.divname::before {
  display: block;
  content: ' ';
  margin-top: -25.25rem;
  height: 25.25rem;
  visibility: hidden;
}

/*Responsive styles*/
.phonevid {
  display: none;
  text-align: center;
}

/*Replaces video banner with regular youtube video on mobile devices*/

@media only screen and (width < 56.5rem) {
  .phonevid {
    display: inline;
  }

  .phoneiframe {
    width: 100%;
    height: 21.88rem;
  }

  .video_banner {
    display: none;
  }
  
  main {
    margin-top: var(--page-header-height) !important;
  }
  
  main.with-mobile-cb {
    margin-top: calc(var(--page-header-height) + var(--mobile-cb-bar-height)) !important;
  }
}
