.ytplayer-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  z-index: 0;
}

.ytplayer-player {
  width: 100% !important;
  height: 100% !important;
}

.video-controls {
  z-index: 1;
}

.video-widget {
  height: 100%;
  margin: 2% 0;
}

.modal-video .video-widget {
  margin: 0;
}

.modal-video .close {
  font-size: 38px;
  opacity: 1;
  padding: 5px 7px !important;
  position: absolute;
  right: 0;
  top: 0;
}

.modal-body {
  padding: 0;
}

.centered-modal.in {
    display: flex !important;
}
.centered-modal .modal-dialog {
    margin: auto;
}

.open-modal-video.video-thumbnail {
  position: relative;
}

.open-modal-video.video-thumbnail .fa-play-circle {
  color: rgb(34,37,45);
  font-size: 9rem;
  opacity: 0.9;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 50px;
  width: 76px;
  height: 76px;
}

.open-modal-video.video-thumbnail .fa-play-circle::before {
  position: relative;
  top: -6px;
}

.container-center {
  margin-left: auto;
  margin-right: auto;
  float: none;
}

.mb_hero_video .btn,
.widget-hero-video-play-btn {
  padding-right: 50px;
  position: relative;
  text-align: left;
  min-width: auto;
}

.mb_hero_video .btn .fa,
.widget-hero-video-play-btn .fa {
  color: #fff;
  font-size: 3rem;
  opacity: 0.9;
  position: absolute;
  right: 8px;
  top: 8px;
}

.widget-with-background {
  background-position: center;
}

.mb_hero_video .btn .fa {
  color: #000;
}

.mb_hero_video .btn.btn-filled .fa {
  color: #fff;
}

.widget-with-background .btn-filled,
.widget-with-background .btn-filled:visited {
  background-color: #1aa3ca !important;
  border-color: #1aa3ca !important;
  color: #fff;
}

.widget-with-background .btn-filled.widget-hero-video-play-btn:hover {
  background-color: #1b6985 !important;
  border-color: #1b6985 !important;
  color: #fff !important;
}

.mb_hero_video .btn.btn-filled:hover {
  background-color: #1b6985 !important;
  color: #fff !important;
}


.mb_hero_video .btn.btn-filled:hover .fa {
  color: #fff;
}

.widget-with-background .widget-hero-video-play-btn:hover .fa {
  color: #000;
}

.size-widget-board-size {
  height: auto;
  width: 100%;
}

.img-overlay {
  color: #fff;
}

.img-overlay h1 {
  color: #fff;
}

.mb_hero_video .img-overlay h1 {
  margin-bottom: 50px;
}

.mb_hero_video .img-overlay .mb32 {
  margin-bottom: 50px;
}

@media (max-width: 767px) {
  .mb_hero_video .widget-with-background {
    padding: 40px 0;
  }
}

@media (min-width: 1200px) {
  .mb_hero_video .img-overlay h1 {
    margin-bottom: 32px;
  }
  .mb_hero_video .img-overlay p {
    margin-top: 0;
    margin-bottom: 32px;
  }
  .widget-with-background .btn {
    margin-bottom: 32px;
  }
  .widget-with-background.bp-bottom {
    background-position: bottom;
  }
  .widget-with-background.bp-top {
    background-position: top;
  }
  .widget-with-background.bp-left {
    background-position: left;
  }
  .widget-with-background.bp-right {
    background-position: right;
  }
  .widget-with-background.bp-center {
    background-position: center;
  }
}