﻿.card img, 
.media-object {
    min-height: 5.1rem;
    max-height: 5.1rem;
}

.item {
    white-space: nowrap;
    text-align: center;
}

.item > img {
    vertical-align: middle;
    max-height: 18.8rem;
    border-radius: 0.3rem;
    cursor: pointer;
}

.imgHelper {
    display: inline-block;
    vertical-align: middle;
}

.bi-grid-3x3-gap-fill {
    font-size: 1.3rem;
}

.media-object {
    width: 3.1rem;
}

.media{
    padding: 0.9rem;
}

.media-body {
    padding-left: 1%;
}

.media > .media-left {
    padding-top: 0 !important;
    border-radius: 0.3rem;
    min-width: 4.7rem;
    text-align: center;
    width: 10%;
}

.media-left > .inlineSVG {
    margin-top: -2.6rem;
}

.media > .media-left img,
.media-img > img {
    margin: auto;
    vertical-align: top;
    padding: 0 0.2em;
}

.media-img > img {
    max-height: 18.8rem;
}

.media-img {
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media (min-width: 767px) {
    .media-img {
        margin-top: 5%;
    }
}

@media (max-width: 767px) {
    .card img,
    .media-object {
        min-height: 5.5rem;
        max-height: 5.5rem;
    }

    .media {
        flex-direction: column;
    }

    .media-left, 
    .media-left-icon {
        font-size: 4.5rem;
        margin: 0 auto !important;
    }

    .media-left > .thumbnailSVG {
        margin-top: 1rem;
        height: 4rem;
    }

    .dc-text-container {
        padding-top: 0;
    }
}

.media-img {
    padding: 1%;
    cursor: pointer;
    position: relative;
}

.linksHeader {
    font-size: 1.6rem !important;
    font-family: inherit;
    font-weight: normal;
    padding-bottom: 0;
    margin-bottom: 0.1rem;
    width: 100%;
    height: 3rem;
}

.btn-group a {
    padding: 0.6rem 0;
}

.card.card-default > .card-heading {
    background: #ecf5ff;
}

.text-center{
    padding-top: 0;
}

.text-center > button {
    margin: 0 0.9rem;
    margin-bottom: 0.9rem;
}

/*#region Modal Popup*/

/* Style the Image Used to Trigger the Modal */

.media-img {
    padding: 0;
}

.media-img-popup-overlay {
    opacity: 0;
    background: url('/Content/SVG/Icons/ExternalLink.svg') no-repeat center center #ecf5ff;
    background-size:3rem;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: opacity 0.2s linear;
    border-radius: 0.3rem;
    cursor: pointer;
}

.media-img:hover .media-img-popup-overlay {
    opacity: 0.8;
}

.media-img, 
.media-img > img, 
.media-img-popup-overlay {
    border-radius: 0.3rem;
}

/* The Modal (background) */

#modal-gallery {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1031;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.9);
    text-align: center;
    color: #ccc;
}

.modal-image-header {
    clear: both;
    max-height: 9%;
    font-size: 3.1rem;
    margin-top: -0.3rem;
    margin-bottom: 1.2rem;
}

/* Modal Content (Image) */
.modal-image {
    display: block;
    max-width: 90%;
    max-height: 82%;
    margin: auto;
    border-radius: 0.3rem;
}

@media (max-width: 767px) {
    .modal-image {
        max-height: 70%;
    }
}

img[src*="svg"].modal-image {
    height: 82%;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#modal-caption {
    margin-top: 1%;
    margin: auto;
    max-width: 90%;
    text-align: center;
    padding-top: 1%;
}

/* Add Animation - Zoom in the Modal */

.modal-image, 
#modal-caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* The Close Button */
.modal-close {
    position: absolute;
    top: 2%;
    right: 3%;
    color: #f1f1f1;
    font-size: 2.5rem;
    font-weight: bold;
    transition: 0.3s;
}

@media (max-width: 767px) {
    .modal-close {
        top: 0;
        right: 1%;
        font-size: 1.9rem
    }
}

.modal-close:hover,
.modal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
/*#endregion Modal Popup*/

.strataFeatureRows > .row {
    padding-bottom: 3%;
    border-radius: 0.3rem;
}

.strataFeatureRows > .row:nth-child(even) {
    background: #ecf5ff;
}

@media(max-width: 992px){
    .strataSection > .row:nth-child(even), 
    .DataCollectionSection > .row:nth-child(odd) {
        flex-direction: column-reverse;
    }
}

/*#region New stylings demo modal*/
.btn-disabled {
    pointer-events: none;
    opacity: 0.7;
}

.modal-promise {
    font-size: 0.9rem;
    color: gray;
}

#demo-form{
    margin-top: -0.9rem;
    padding: 0.9rem;
    padding-bottom: 0;
}

.form-group{
    margin: 0;
}

.form-group > label, 
input, ::-webkit-input-placeholder {
    font-size: 0.9rem;
    margin: 0.2rem 0;
}

.form-group > label{
    margin-top: 0.5rem;
}

.form-group > button{
    margin: 0.8rem 0;
    width: 100%;
    font-size: 1.05rem;
}

input{
    margin: 0;
}

.no-display {
    transform: scale(0);
    padding: 0;
    margin: 0;
    display: none;
    height: 0;
    width: 0;
}

textarea {
    resize: none;
}

.btn btn-primary {
    outline: none !important;
}

.grecaptcha-badge {
    visibility: hidden;
}

.captcha-message {
    color: gray;
    font-size: 0.7rem;
}

.success-message {
    font-size: 2rem;
    margin: 2rem auto;
}

.fail-message {
    color: red;
    font-size: 0.7rem;
}

.messages{
    margin-top: 0.26rem;
}

@media(max-width: 400px) and (min-height: 680px){
    .messages > button {
        position: absolute;
        bottom: 0;
        width: 85%;
        margin-bottom: 2rem;
    }
}

.messages > p{
    margin: 0;
}

@media screen and (max-width: 600px) {
    .media-body, 
    .media-left, 
    .media-img {
        margin-top: 0.4rem;
    }

    .dc-text-container {
        margin-bottom: 0.9rem;
    }
}

@media screen and (max-width: 380px) {
    .appsSpacer {
        font-size: 2rem !important;
    }

    .collection-options{
        flex-direction: column;
    }
}

@media screen and (max-width: 280px) {
    .appsSpacer {
        font-size: 1.7rem !important;
    }
}

#loading-spinner {
    margin: 0 auto;
    margin-top: 0.4rem;
    font-size: 0.6rem;
    height: 1.3rem;
    width: 1.3rem;
}

.hidden {
    display: none;
}

/*full screen modal*/
@media(max-width: 400px) {
    .demo-form-body {
        overflow: scroll;
        overflow-x: hidden;
    }

    .demo-form-body::-webkit-scrollbar {
        width: 0.4rem;
    }

    .demo-form-body::-webkit-scrollbar-thumb {
        background: #D3D3D3;
        border-radius: 0.6rem;
        width: 0.3rem;
        height: 0.3rem;
    }
}
/*#endregion*/

/*#region Data Collection Intro */

.dc-intro {
    margin-bottom: -1.3rem;
    margin-top: -0.9rem;
}

.dc-text-container {
    padding-top: 1.3rem;
    padding-left: 0;
    margin-left: 1.15rem;
}

.dc-intro-text {
    width: 80%;
}

.media > .media-left-icon {
    margin-left: 0.2rem;
}

@media (max-width:1200px){
    .dc-intro-text {
        width: 100%;
    }
}

@media (max-width: 767px){
    .dc-text-container {
        margin-left: 0;
        padding-top: 0.5rem;
    }
}
/*#endregion*/

/*#region Carousel, Features, and SVGs*/
.strataApps > .card{
    margin-top: 1.8rem;
}

.card-title {
    font-size: 1.9rem;
    padding: 0.4rem 0.9rem;
    display: flex;
    justify-content: space-between;
    background: #ecf5ff;
}

.card-title > .inlineSVG,
.card-title > img {
    margin: auto 0;
    margin-right: .8rem;
    min-height: auto;
    max-height: auto;
    height: 1.1em;
    padding: 0.1em;
}

.thumbnailSVG {
    font-size: 3.8rem;
    text-align: center;
}

.thumbnailStrataSVG {
    width: 100%;
    font-size: 1.2rem;
    text-align: center;
    margin: auto;
    overflow: hidden;
}

.card .thumbnailStrataSVG img {
    min-height: 2rem;
    max-height: 2rem;
}

@media (max-width: 575px) {
    .thumbnailStrataSVG {
        font-size: 1.5rem;
    }
}

.spacerSVG {
    font-size: 2.6rem;
}

.pageColorSpacer {
    /*scroll-snap-align: start;
    scroll-margin: 6.5rem;*/
    margin-bottom: 2rem;
}

.pageColorSpacer > h3 {
    margin: 1rem auto;
    margin-top: 1rem;
    width: 70%;
    text-align: center;
}

.collection-options {
    display: flex;
    justify-content: space-between;
}

.dataFeed-image {
    height: 9.4rem;
}

.scalability-image {
    height: 13.8rem;
}

.appSVG {
    font-size: 1.6rem;
}

.FeatureGlance{
    margin-top: 0.9rem;
}

.FeatureGlance .card {
    padding:0.2em;
    min-height: 10.2rem;
    text-decoration: none !important;
    transition: all 0.5s ease;
}

@media (max-width: 575px) {
    .FeatureGlance .card {
        min-height: 8rem;
    }
}

.FeatureGlance .card img {
    max-width: 85%;
    padding-bottom: 0.25em;
}

.FeatureGlance .card:hover {
    border: 0.06rem solid #337ab7 !important;
}

.FeatureGlance .card:hover img {
    opacity: 1;
}

.FeatureGlance .card p {
    text-align: center !important;
    color: #337ab7;
    padding-top: 0.5rem;
    font-size: 0.93rem;
    margin-bottom: 0;
}

.carousel > .carousel-inner {
    margin-bottom: 0.6rem;
}

.carousel-item {
    position: relative;
    overflow: hidden;
    padding-bottom: 56.25%;
}

.carousel-item > iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90%;
}

ol.carousel-indicators {
    position: absolute;
    bottom: 0;
    margin: 0;
    left: 0;
    right: 0;
    width: auto;
    height: 10%;
    margin-bottom: 0.1rem;
}

.carousel-indicators li {
    background-color: #999;
    height: 0.5em !important;
    margin-bottom: 0.5em !important;
}

.carousel-indicators .active {
    background-color: #337AB7;
}

@media (max-width: 400px) {
    .FeatureGlance .card p {
        font-size: 1.05rem !important;
    }
}
/*#endregion*/

/*#region thumbnail header */
.items-container{
    margin-top: 1.05rem;
}

.row-line{
    height: 0.09rem;
    background-color: lightgray;
}
/*#endregion*/

.media {
    padding-bottom: 0;
    margin-top: -0rem !important;
    margin-bottom: 0 !important;
}

/*Fixes card width in IE*/
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .card-rows > .row{
        width: 100vw;
    }
}

/*Fixes snap scrolling on tablets*/
@media (max-height: 1367px) and (min-height: 769px) and (min-width: 769px) and (max-width: 1025px) {
    html {
        scroll-padding-bottom: 55rem;
    }
}

@media(max-width: 767px) {
    html {
        scroll-padding-bottom: 5rem;
    }
}

/*https://stackoverflow.com/a/60975588/2311918 - Fix scroll position when using #div[Target] as part of URL*/
.strataFeatureRows > div.fadeInRow {
    scroll-margin-top: 110px;
}