/* mobile */
@media (max-width: 575px) {
    #vms-yellow-banner {
        top: 51rem;
    }

    #VMS-AutoIQ5 {
        float: none !important;
        max-width: 250px;
    }

    #vms-inventory {
        height: auto;
    }

    #cost-calculator {
        padding: 1rem 0.25rem !important;
    }

    #vms-ai {
        background-position: center bottom;
    }

    #homepage-video {
        height: 50vw;
    }

    #videoModal {
        top: 20vh;
    }

    .testimonial-video {
        height: 200px !important;
    }

    html {
        scroll-padding-top: 5rem !important;
    }

    #calculate-cost {
        width: 100% !important;
    }

    .square-image {
        height: 300px;
        top: 0 !important;
        margin-bottom: 1rem;
    }

    #homepage-logo {
        max-height: 140px;
    }

    #loyalty-bubble {
        width: 14rem;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .software-parent-card {
        min-height: 33vh;
    }

    h3 {
        font-size: 1.3rem !important;
    }

    h4 {
        font-size: 1.275rem !important;
    }

    h5 {
        font-size: 1.1rem !important;
    }

    p, li, h6 {
        font-size: 0.9rem !important;
    }

    .learn-more-mobile {
        margin-top: 0rem !important;
        margin-bottom: 3rem !important;
    }
}

/* sm down */
@media (max-width: 767px) {
    .navbar-expand-md .navbar-collapse {
        height: auto !important;
    }

    .vms-yellow-header-bg {
        background-image: url('/img/yellow-header-bg_mobile.svg');
    }

    /* features page */
    .mobile-padding {
        padding-left: 0;
        padding-right: 0;
    }

    .feature-img {
        max-height: 100vw !important;
    }

    .slanted-yellow-bg, .slanted-gray-bg {
        background-image: none !important;
    }

    .slanted-yellow-bg {
        background-color: #e3be49;
    }

    .slanted-blue-bg {
        background-image: linear-gradient(#293a47, #182129) !important;
    }

    .slanted-gray-bg {
        background-color: #d8d8d8;
    }

    .white-squares-bg {
        background-image: url('/img/white-squares-bg.jpg') !important;
    }
    
    .white-bg {
        background-image: url('/img/white-bg.jpg') !important;
    }    

    .yellow-lines-bg, .slanted-yellow-bg, .slanted-blue-bg,
    .slanted-gray-bg, .white-squares-bg, .white-bg { 
        max-height: 100% !important;
        min-height: auto !important;
    }
}

/* sm */
@media (min-width: 576px) and (max-width: 767px) {
   #vms-yellow-banner>h5 {
      font-size: 1rem;
   }

   #vms-yellow-banner {
      top: 26rem;
   }

   html {
      scroll-padding-top: 15rem !important;
   }

    .software-parent-card {
        min-height: 30vh;
    }
}

/* lg down */
@media (max-width: 992px) {
    .testimonial-video {
        height: 300px;
    }

    .nav-left-border {
        border-left: none;
    }

    .nav-btn {
        min-width: 200px;
    }

    #calculate-cost {
        width: 90%;
    }

    .large-features-row {
        height: 28% !important;
    }
}

/* lg up */
@media (min-width: 992px) {
    .large-features-row {
        height: 45% !important;
    }
}

/* xl down */
@media (max-width: 1200px) {
    .vms-hr {
        width: 95vw;
    }
}

/* xl */
@media (min-width: 992px) and (max-width: 1200px) {
    .software-parent-card {
        min-height: 50vh;
    }
}

/* xxl down */
@media (max-width: 1400px) {
    .slanted-yellow-bg, .slanted-blue-bg, .slanted-gray-bg,
    .white-squares-bg, .white-bg {
        max-height: 26vw;
    }

    .feature-img {
        max-height: 26vw;
    }
}