/****
 CSS Versions of SCSS include: _images
****/
/*
// Responsive images (ensure images don't scale beyond their parents)
//
// This is purposefully opt-in via an explicit class rather than being the default for all `<img>`s.
// We previously tried the "images are responsive by default" approach in Bootstrap v2,
// and abandoned it in Bootstrap v3 because it breaks lots of third-party widgets (including Google Maps)
// which weren't expecting the images within themselves to be involuntarily resized.
// See also https://github.com/twbs/bootstrap/issues/18178
*/
.img-fluid {
  max-width: 100%;
  height: auto;
}

/* Lazy Load Images */
/* LazyLoad Issue #152: https://github.com/verlok/lazyload/issues/152 */
img[data-src],
img[data-srcset] {
  /* display: block; */
  min-width: 1px;
  min-height: 1px;
}


/*
    Image Oversize
    - styles to allow images to extend beyond viewport in some sizes, used with modified container classes like container-mw1250
*/
.img--sm-oversize, .img--md-oversize, .img--lg-oversize, .img--xl-oversize {width: 100%;}
@media (min-width: 1200px) {
    .img--xl-oversize {
        position: relative;
        width: 110%;
        max-width: 110%;
    }

    .img--xl-oversize-left {
        left: -20%;
    }

    .img--xl-oversize-right {
        right: -10%;
    }
}

@media (min-width: 992px) {
    .img--lg-oversize {
        position: relative;
        width: 110%;
        max-width: 110%;
    }

    .img--lg-oversize-left {
        left: -20%;
    }

    .img--lg-oversize-right {
        right: -10%;
    }
}

@media (min-width: 768px) {
    .img--md-oversize {
        position: relative;
        width: 110%;
        max-width: 110%;
    }

    .img--md-oversize-left {
        left: -20%;
    }

    .img--md-oversize-right {
        right: -10%;
    }
}

@media (min-width: 576px) {
    .img--sm-oversize {
        position: relative;
        width: 110%;
        max-width: 110%;
    }

    .img--sm-oversize-left {
        left: -20%;
    }

    .img--sm-oversize-right {
        right: -10%;
    }
}

.img--oversize {
    position: relative;
    width: 110%;
    max-width: 110%;
}

.img--oversize-left {
    left: -20%;
}

.img--oversize-right {
    right: -10%;
}

/* Image Thumbnails */
.img-thumbnail {
  padding: 0.25rem;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  max-width: 100%;
  height: auto;
}

/* Video Thumbnails */
.img-vthumbnail {
  display: block;
  position: relative;
}
.img-vthumbnail__icon {
  box-shadow: 0 0 12px 0 rgba(0,0,0,0.25);
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
}
.img-vthumbnail__icon--play {
  background: #fff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  top: auto;
  bottom: 20px;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-transition: background .4s;
  transition: background .4s;
}
a .img-vthumbnail__icon--play::after {
  border-left: 15px solid rgb(43,87,201);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  content: '';
  margin-top: -10px;
  margin-left: -5px;
  left: 50%;
  top: 50%;
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  -webkit-transition: border-color .4s;
  transition: border-color .4s;
}
a:hover .img-vthumbnail__icon--play {
  background: rgb(43,87,201);
}
a:hover .img-vthumbnail__icon--play::after {
  border-left-color: #fff;
}

/* Figures */
.figure {
  display: inline-block;
}

.figure-img {
  margin-bottom: 0.5rem;
  line-height: 1;
}

.figure-caption {
  font-size: 90%;
  color: #6c757d;
}
