/****
 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;
}

/*Rocket Flourishes*/
/**/
.img-rocket--br {
    position: absolute;
    width: 300px;
    bottom: -110px;
    transform: rotate(-12deg);
    right: calc(50% - 650px);
    z-index: 1;
}
@media only screen and (min-width: 1920px) {
    .img-rocket--br {
        width: 300px;
        bottom: -90px;
    }
}
@media only screen and (max-width: 1360px) {
    .img-rocket--br {
        width: 300px;
        right: 30px;
    }
}
@media only screen and (max-width: 1200px) {
    .img-rocket--br {
        width: 250px;
        bottom: -90px;
    }
}
@media only screen and (max-width: 960px) {
    .img-rocket--br {
        bottom: -80px;
    }
}
@media only screen and (max-width: 768px) {
    .img-rocket--br {
        position: absolute;
        bottom: -60px;
        width: 200px;
    }
}
@media only screen and (max-width: 650px) {
    .img-rocket--br {
        display: none;
    }
}

/* Figures */
.figure {
    display: inline-block;
}

.figure-img {
    margin-bottom: 0.5rem;
    line-height: 1;
}

.figure-caption {
    font-size: 90%;
    color: #6c757d;
}


.features-hero {
    box-sizing: border-box;
    font-size: 16px;
    position: relative;
    padding: 60px 0;
    overflow: hidden;
    width: 100%;
}
.features-hero__image {
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 0;
    -webkit-transform: translateY(-50%) translateX(40%);
    -ms-transform: translateY(-50%) translateX(40%);
    transform: translateY(-50%) translateX(40%);
    width: 150%;
}

.features-hero__image img {
    width: 100%;
}


@media only screen and (max-width: 767px) {
    .features-hero__image {
        position: relative;
        top: 0;
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
        width: 100%;
    }

    .features-hero__image--crop-bottom {
        margin-bottom: -200px;
    }
    
       .features-hero__image--bottom {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
        padding-top: 70px;
    }


}