/*-----------------
    fleet page
------------------*/
.flip-card {
    background-color: transparent;
    width: 300px;
    height: 400px;
    perspective: 1000px;
    margin: 20px 0;
    border-radius: 5px;
}

/* This container is needed to position the front and back side */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 1s;
    transform-style: preserve-3d;
}
.flip-card-inner h3{
    padding: 10px 0 10px;
    margin-top: 20px;
}
/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
}
.flip-card .flip-card-front img,
.flip-card .flip-card-back img{
    height: auto;
} 
/* Style the front side (fallback if image is missing) */
.flip-card-front {
    background-color: #eaecee;
    color: #2C3E50;
}

/* Style the back side */
.flip-card-back {
    background-color: #eaecee;
    color: #2C3E50;
    transform: rotateY(180deg);
}
.flip-card-back a{
    display: inline-block;
    padding: 10px 20px;
    margin: 50px 0 0;
    background-color: #fff;
    border: 1px solid #FF700A;
    color: #000;
    border-radius: 20px;
    text-decoration: none;
    transition: all .5s ease-in-out;
}
.flip-card-back a:hover{
    background-color: #FF700A;
    color: #fff;
    text-decoration: none;
}

/*  Vehicles Gallery
======================*/
.row > .column {
    padding: 0 8px;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Create four equal columns that floats next to eachother */
.column {
    float: left;
    width: 25%;
}
.column img{
    width: 100%;
}

/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: black;
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 70%;
    max-width: 1200px;
}

/* The Close Button */
.close {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}

/* Hide the slides by default */
.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}
/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev,
.next{
    background-color: #FF700A;
    color: #fff;
    text-decoration: none;
}
.prev:hover,
.next:hover {
    color: #FF700A;
    background-color: #fff;
    text-decoration: none;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* Caption text */
.caption-container {
    text-align: center;
    background-color: black;
    padding: 2px 16px;
    color: white;
}

img.demo {
    opacity: 0.6;
}

.active,
.demo:hover {
    opacity: 1;
}

img.hover-shadow {
    transition: 0.3s;
}

.hover-shadow:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.row2{
    display: flex;
    flex-wrap: wrap;
}
.column{
    min-width: 155px;
    max-width: 200px;
    display:flex;
    flex-wrap: wrap;
    margin: 5px;
    cursor: pointer;
}
.vehicle-main{
    padding: 100px 0;
}
.vehicle-text{
    color: #2C3E50;
}
/*  Responsive Styles
=======================*/
@media(min-width:700px){
    
    .vehicle-main{
        display: grid;
        grid-template-columns: 2fr 1fr;
        column-gap: 30px;
    }
    .vehicle-text{
        border-left: 1px solid #999;
    }
}

@media(max-width:600px){
    .prev,
    .next{
    top: 20%;
    padding: 6px;
    margin-top: -50px;
}
}