html {
   scroll-behavior: smooth;
   scroll-padding-top: 5rem;
}

#main-nav {
    top: -1px;
}

.vms-yellow {
   background-color: #FFC200;
}

.vms-black-btn {
   background-color: #000;
   color: #FFC200 !important;
}

.white-bg {
    background-image: url('/img/whitebackground.jpg') !important; 
    background-size: cover;
    background-position: left center;
}

.min-vh {
    min-height: 100vh !important;
}

.pricing-page>#cost-calculator {
    border: 0 !important;
}

.gray-box {
    background-color: #F0F0F0;
    border-radius: 13px;
}

/* features column backgrounds */
.features-column-bg {
    background-size: contain;
    background-position: right;
    background-repeat: no-repeat;
}

.yellow-lines-bg {
    background-image: url('/img/yellow_lines.svg') !important;
    background-size: contain;
    background-position: center center;
    min-height: 400px;
    background-repeat: no-repeat;
}

.flip-h {
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
}

.slanted-yellow-bg, .slanted-blue-bg, .slanted-gray-bg,
.white-squares-bg, .white-bg {
    min-height: 16.25vw;
    max-height: 20vw;
}

.slanted-yellow-bg {
    background-image: url('/img/slanted-yellow-bg.svg') !important;
}

.slanted-blue-bg {
    background-image: url('/img/slanted-blue-bg.svg') !important;
}

.slanted-gray-bg {
    background-image: url('/img/slanted-gray-bg.svg') !important;
}

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

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

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

#vms-inventory {
    max-height: 35rem;
    height: 57vw;
}

.vms-yellow-header-bg {
    background-image: url('/img/yellow-header-bg.svg');
    background-size: cover;
    max-width: 45rem;
}

/* navbar */
.nav-left-border {
   border-left: solid 1px #000;
}

.nav-item, .nav-btn {
    font-size: 0.8rem !important;
}

.navbar-social-icon { 
    height: 25px !important;
}

.nav-link:hover {
    cursor: pointer;
}

.vms-yellow-bullets>li::marker {
   color: #FFC200;
}

.vms-y-borders {
   border-top: 1px solid #FFC200;
   border-bottom: 1px solid #FFC200;
}

.vms-hr {
    border-top: 2px solid #FFC200;
    opacity: 1;
}

.vms-image-border {
   border: 4px solid white;
}

.border-radius-30 {
    border-radius: 30px;
}

.yellow-hr {
   background-color: #FFC200;
   color: #FFC200;
   opacity: 1;
   width: 90%;
   height: 2px;
}

.text-dark-gray {
   color: #535353;
}

.dark-gray-bg {
   background-color: #363636;
}

.drop-shadow-8 {
   filter: drop-shadow(4px 3px 8px #0000007e);
}

.drop-shadow-8-white {
    filter: drop-shadow(5px 6px 9px #ffffff87);
}

.drop-shadow-4 {
   filter: drop-shadow(4px 3px 4px #0000007e);
}

.vms-container {
   max-width: 1200px;
}

.vms-container-larger {
    max-width: 1400px;
}

.demo-btn {
   max-width:350px;
}

.square-image {
    height: 350px;
    border-radius: 12px;
    position: relative;
    top: 2vw;
    border: 1px solid #707070;
    filter: drop-shadow(4px 3px 8px #0000008e);
}

.green-check-li {
    height: 18px;
}

.benefit-list {
    font-size: 1.2rem;
}

.storage-benefit-square {
    background-color: #f0f0f0;
    border: 1px solid #707070;
    color: #000;
    width: 100%;
    height: 19rem;
    position: relative;
}

.storage-benefit-square-bottom-button {
    position: absolute;
    bottom: 0;
}

#maps-screen {
    border: 2px solid #ffffff50;
    border-radius: 10px;
}

.vms-ai-square {
    background-color: #fff;
    color: black;
    width: 80%;
    height: 95%;
}

.vms-ai-icon {
    height: 80px;
}

.vms-ai-banner::before {
    background-color: #FFC200;
    content: '';
    position: absolute;
    height: 70%;
    width: 99%;
    top: 15%;
    left: -1%;
    z-index: -1;
}

.vms-ai-banner {
    z-index: 1000;
    position: relative;
    width: 115%;
    left: -1rem;
    top: 0.5rem;
}

.storage-benefit-square, .vms-ai-square {
    filter: drop-shadow(3px 3px 6px #0000007e);
    border-radius: 25px;
}

.storage-benefit-square>p, .vms-ai-square>p {
   width: 90%;
   margin-right: auto;
   margin-left: auto;
}

#vms-ai {
    background-image: url('/img/tech-bg.jpg');
    background-size: cover;
}

.benefit-icon {
   height: 60px;
}

.quote-icon { 
   height: 50px;
}

.testimonial-row {
   background-color: #fff;
}

.testimonial-text {
   font-family: sans-serif !important;
}

.testimonial-video {
   height: 360px;
}

.carousel-control-prev, .carousel-control-next,
.carousel-control-prev:hover, .carousel-control-next:hover {
   opacity: 0.5 !important;
}

.carousel-arrow-icon {
   color: black;
   font-size: 3rem;
}

.alliance-row {
   width: fit-content;
   margin-left: auto;
   margin-right: auto;
}

.alliance-logo {
   max-width: 215px;
   display: inline;
}

#vms-main {
   background-image: url('/img/VMS-HomeBanner.jpg'); 
   background-position: top; 
   background-repeat: repeat-x; 
   background-size: cover; 
}

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

#homepage-video {
    height: 30vw;
}

/* responsive homepage cards */
.software-learn-more {
    position: relative;
    bottom: 0px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.software-parent-card {
    position: relative;
    min-height: 36vh;
}

.main-logo {
    width: 130px;
}

#vms-iq {
   background-image: url('/img/car_background.jpg'); 
   background-position: center; 
   background-repeat: repeat-x; 
   background-size: cover; 
}

#vms-yellow-banner {
   position: relative;
   z-index: 1000;
   top: 28rem;
}

#testimonials {
   background-image: url('/img/testimonials-bg.jpg'); 
   background-position: top; 
   background-repeat: repeat-x; 
   background-size: cover; 
}

.smaller-container {
   max-width: 900px;
}

.ai-card-container {
    max-width: 1000px;
}

#VMS-AutoIQ5 {
   max-height: 500px;
}

/* accordions for "read more" function */
.accordion-button.accordion-gray {
    background-color: #efefef !important;
}

.accordion-button {
    text-align: center !important;
    color: #000 !important;
    box-shadow: none !important;
    background-color: #fff !important;
}

.accordion-button>h6 {
    margin-left: auto !important;
    margin-bottom: 0 !important;
    font-weight: 400 !important;
}

.accordion-button::after {
    margin-left: 1rem !important;
    margin-right: auto !important;
    filter: brightness(0.0) !important;
}

.truncate-fade {
    width: 100%;
    padding-bottom: 5px;
    max-height: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    content: "";
    position:relative;
}

.truncate-fade:before {
    content:'';
    width: 100%;
    height: 100%;    
    position: absolute;
    left: 0;
    top: 0;
}

.truncate-fade:before {
    background: linear-gradient(transparent 150px, white);
}

.truncate-fade.gray:before {
    background: linear-gradient(transparent 150px, #efefef);
}

.truncate-fade-open {
    width: 100%;
    max-height: 100%;
    content: "";
    position:relative;
}

.truncate-fade-open {
    background: none !important;
}

.truncate-fade, .truncate-fade-open {
    transition: all 0.2s ease-in-out !important;
}

/* this only shows on the request demo form, 
and when it shows up on mobile it looks really bad 
hiding it is more consistient */
.grecaptcha-logo {
    display: none !important;
}

/* quote table */
td, th {
    padding-right: .5rem !important;
    padding-left: .5rem !important;
}

.product-col { width: 26vw; }
.price-col { width: 5vw; }
.quantity-col { width: 6vw; }
.total-col { width: 8vw; }

table tr:nth-child(even) {
    background-color: rgba(180,181,180,255)
}

table tr:nth-child(odd) {
    background-color: rgba(215,216,214,255)
}

.total { border-top: 2px solid black; }

/* Spinner */
#loader {
   position: fixed;
   display: block;
   width: 100%;
   height: 100%;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background-color: rgba(0, 0, 0, 0.5);
   z-index: 2000;
   cursor: pointer;
}

.lds-ring div {
   box-sizing: border-box;
   display: block;
   position: absolute;
   width: 64px;
   height: 64px;
   margin: 8px;
   border: 8px solid #FFC200;
   border-radius: 50%;
   animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
   border-color: #FFC200 transparent transparent transparent;
   top: 52%; 
   left: 48%;
}

.lds-ring div:nth-child(1) {  animation-delay: -0.45s; }
.lds-ring div:nth-child(2) { animation-delay: -0.3s; }
.lds-ring div:nth-child(3) { animation-delay: -0.15s; }

@keyframes lds-ring {
   0% { transform: rotate(0deg); }
   100% { transform: rotate(360deg); }
}