/*
 * Compatibility helpers for pages that rely on wpDataTables' Bootstrap stack.
 * These aliases cover the Bootstrap 4 classes the theme still uses while the
 * plugin provides Bootstrap 3.x styles/components.
 */

.img-fluid {
  display: block;
  height: auto;
  max-width: 100%;
}

.w-100 {
  width: 100% !important;
}

.h-100 {
  height: 100% !important;
}

.d-flex {
  display: flex !important;
}

.justify-content-start {
  justify-content: flex-start !important;
}

.justify-content-center {
  justify-content: center !important;
}

.justify-content-end {
  justify-content: flex-end !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.align-items-start {
  align-items: flex-start !important;
}

.align-items-center {
  align-items: center !important;
}

.align-items-end {
  align-items: flex-end !important;
}

.embed-responsive {
  display: block;
  height: 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.embed-responsive.embed-responsive-16by9 {
  padding-bottom: 56.25%;
}

.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
  border: 0;
  bottom: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.modal.fade {
  opacity: 0;
  transition: opacity 0.2s linear;
}

.modal.fade.in,
.modal.in {
  opacity: 1;
}

.bvjw-footer-grid {
  margin-left: auto;
  margin-right: auto;
}

.bvjw-footer-col {
  box-sizing: border-box;
}

.bvjw-footer-icon-img {
  display: block;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}

@media (max-width: 767px) {
  .bvjw-footer-hide-mobile {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  .col-xl-1,
  .col-xl-2,
  .col-xl-3,
  .col-xl-4,
  .col-xl-5,
  .col-xl-6,
  .col-xl-7,
  .col-xl-8,
  .col-xl-9,
  .col-xl-10,
  .col-xl-11,
  .col-xl-12 {
    float: left;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
  }

  .col-xl-1 { width: 8.33333333%; }
  .col-xl-2 { width: 16.66666667%; }
  .col-xl-3 { width: 25%; }
  .col-xl-4 { width: 33.33333333%; }
  .col-xl-5 { width: 41.66666667%; }
  .col-xl-6 { width: 50%; }
  .col-xl-7 { width: 58.33333333%; }
  .col-xl-8 { width: 66.66666667%; }
  .col-xl-9 { width: 75%; }
  .col-xl-10 { width: 83.33333333%; }
  .col-xl-11 { width: 91.66666667%; }
  .col-xl-12 { width: 100%; }
}
