body {
    font-family: 'Open Sans', sans-serif;
}

h1, h2 {
    font-weight: bold;
}

header {
    background: #c8141d;
    display: flex;
}

.navbar h1 {
    font-size: 1.5em;
    padding: 20px 0 10px 0;
}

.navbar h1 img {
    max-width: 100%;
}


.navbar-dark .navbar-toggler {
    display: none !important;
}

.navbar-dark .navbar-brand img {
    max-width: 100%;
}

.car-list-header {
    padding-left: 10px;
}

.car-list {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    padding: 0;
}

.car-list .car {
    margin: 1%;
    width: 31.333333%;
    display: flex;
    position: relative;
    flex-flow: column nowrap;
    border-radius: 6px;
    display: block;
    border: 1px solid #e8e8e8;
    background: #ffffff;
    box-shadow: 0 5px 15px 0 #e8e8e8;
}

.car-list .car figure {
    position: relative;
    width: 100%;
    padding-top: 66.7%;
    overflow: hidden;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.car-list .car figure img {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.car-list .car .car-details {
    padding: 16px 7% 24px;
    position: relative;
}

.car-list .car .car-details h2 > span { 
    font-size: 0.5em;
}

.car-list .car .car-details .car-description {
    min-height: 100px;
}

.car-list .car .car-details .car-price {
    font-size: 1.5em;
    font-weight: 700;
}

.car-list .car .car-details .car-contact {
    
}

.car-list .car-contact .button {  
  
    border-radius: 15px;
    margin: 20px 0px;
    text-align: center;
    border: 0px;
    color: #fff;
    font-weight: 400;
    width: 49%;
    transition: 0.2s;
}

.car-list .car-contact .button.contact-whatsapp {
    background: url('../img/svg/whatsapp-logo.svg') 15px 50% no-repeat #25D366;
    background-size: 15%;
    padding-left: 35px;
}

.car-list .car-contact .button.contact-phone {
    background: url('../img/svg/phone-icon.svg') 15px 50% no-repeat #34B7F1;
    background-size: 20px;
}

.car-list .car-contact .button:hover {
   transition: ease;
   background-color: #666;
}

.car-details h2 {
    line-height: 1rem;
    min-height: 50px;
}

.tools {
    margin: 20px;
}

.hero {
    background-image:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 1)),
    url('../img/road.jpg');
    background-position: 50% 60%;
    background-size: cover;
    color: #0f1113;
}

.hero .jumbotron {
    background: transparent;
    padding: 60px 10px;
}

.hero h1 {
    font-weight: bold;
    font-size: 3.25rem;
}

.hero p.lead {
    font-weight: 500;
}

form .form-group label {
    margin-top: 10px;

}

.contact-info {
    background-color: #343a40;
    padding: 50px 0;
    color: #fff;
}

.contact-info ul {
    list-style: none;
    padding: 10px 0;
}

.contact-info a {
    color: #fff;
    font-weight: 500;
}

.contact-info img {
    max-width: 100%;
}

.contact-info .contact-icon {
    padding-right: 10px;
    color: #fff;
}

.contact-info-item {
    padding: 10px 0;
    font-size: 1.5rem;
}

.seperator {
    display: block;
    height: 40px;
}
 
#Layer_1 {
    margin-top: 50px;
}

.center {
    text-align: center;
}

/* Admin */

.table td, .table th {
    vertical-align: middle;
}

tbody tr:nth-child(even){
  background-color: #e8e8e8;
}

tbody tr td.tools {
    text-align: right;
}

.thumb {
    width: 80px;
}

.user {
    background: #1a1a1a;
    padding: 10px;
}
.logged-in-user {
    color: #fff;
    text-align: right;
}

.modal-body img {
    max-width: 100%;
}

@media (max-width: 1200px) {

    .car-list .car {
        width: 48%;
    }

    .car-list .car-contact .button {
        width: 100% !important;       
        margin: 10px 0;
    }
    .car-list .car-contact .button {
        background-size: 20px !important;
    }

}

@media (max-width: 768px) {
   .car-list .car { 
        width: 98%;
    }
}