/* For post editor page. */
div[data-type="acf/ibfvideothumbnail"] {
  height: 0;
  padding: 0;
  margin: 0;
}
.acf-block-preview .ibf-video-thumbnail-container.last-item-in-row {
  clear: both;
}

/* End post editor page. */

.ibf-video-thumbnail-container:hover {
  text-decoration: none;
}
.ibf-video-thumbnail-container {
  position: relative;
  text-decoration: none;
  width: 100%;
  float: left;
}
.ibf-video-thumbnail {
  position: relative;
  width: 100%;
}

body .ibf-video-thumbnail-thumb {
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.ibf-video-thumbnail-label {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  min-height: 75px;
  z-index: 3;
  top: 100%;
  text-align: left;
  padding: 10px 15px;
  left: 0;
  color: white;
  background-color: var(--primary-color);
}
.ibf-play-button {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.ibf-circle {
  display: inline-block;
  width: 134px;
  height: 134px;
  border: 5px solid white;
  border-radius: 50%;
  transition: border-color .5s ease-out;
}
.ibf-circle:after {
  content: '';
  display: inline-block;
  width: 0; 
  height: 0; 
  margin-top: 33px;
  margin-left: 40px;
  border-top: 30px solid transparent;
  border-bottom: 30px solid transparent;
  border-left: 50px solid white;
  transition: border-color .5s ease-out;
}
.ibf-circle.ibf-circle-w722 {
  width: 110px;
  height: 110px;
}
.ibf-circle.ibf-circle-w722:after {
  margin-top: 24px;
  margin-left: 35px;
  border-top: 27px solid transparent;
  border-bottom: 27px solid transparent;
  border-left: 41px solid white;

}

.acf-block-preview .ibf-circle:after {
  margin-left: 20px;
}
.ibf-video-thumbnail-container:hover .ibf-circle {
  border-color: var(--primary-color)
}
.ibf-video-thumbnail-container:hover .ibf-circle:after {
  border-left-color: var(--primary-color)
}

/* Video plugin modifications. */
body .YouTubePopUp-Wrap {
  top: 0 !important;
}
body .YouTubePopUp-Content iframe {
  height: calc(80vw * 2/3) !important;
  width: 80vw !important;
}
body .YouTubePopUp-Content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  max-width: inherit !important;
  height: 100vh !important;
  width: 100vw !important;
  top: 0;
  margin-top: 0;
  padding-top: 0;
  max-height: inherit !important;
}

