/* GENERAL */
body{
    font-family: 'Roboto', sans-serif;
}
h1{
    text-align: center;
    color: white;
    font-size: 1rem;
}
h2{
    text-align: center;
    font-size: 24px;
    color: #AE161F;
    font-weight: 200;
}
h2 strong, h3 strong{
    font-weight: 600;
}
h3{
    font-size: 15px;
    color: #575756;
    font-weight: 300;
    line-height: 25px;
}
h5{
    font-size: 0.75rem;
}
p, li, a{
    font-size: 15px;
    color: #575756;
    font-weight: 300;
}
a:hover{
    color: #575757;
    text-decoration: none;
}
label{
    font-size: 16px;
    color: #575756;
    font-weight: 300;
    margin-top: 20px;
}
.form-check label{
    margin-top: 0;
    font-size: 13px;
    margin-right: 50px;
}
.p-inline {
    display: flex;
}
.p-inline p{
    display: inline-flex;
    width: 50%;
}

.c-red{
    color: #AE161F;
}
.c-white{
    color: white;
}
.c-gray{
    color: #575756;
}
.f-light{
    font-weight: 300;
}
.sep-red {
    width: 100%;
    border: 1px solid #AE161F;
    margin: 10px 0;
}

section, footer {
    padding: 35px 0 50px 0;
}

.section-shadow{
    -webkit-box-shadow: 0px 0px 10px 3px lightgray;
    box-shadow: 0px 0px 10px 3px lightgray;
}

.section-red{
    background: rgb(174,22,31);
    background: linear-gradient(90deg,  rgba(160,35,39,1) 00%, rgba(201,44,44,1) 100%);
}

/* NAVBAR */
.navbar-margin{
    margin-bottom: 100px;
}
nav.navbar{
    background-color: white;
    border-bottom: 1px solid lightgray;
}
.navbar-brand img{
    width: 200px;
}


.nav-link {
    text-transform: uppercase;
    padding-bottom: 0;
    text-align: center;
    font-size:15px !important;
}
.dropdown-menu{
    border: none;
    color: rgba(0, 0, 0, 0.5)
}


.nav-link {
    font-size: 12px;
}
.dropdown-item{
    font-size: 10px;
}


.nav-link:hover, .nav-link.active {
    border-bottom: 2px solid #AE161F;
    margin-bottom: -2px;
}


/* SOCIAL ICONS */
.social-link-menu {
    position: absolute;
    top: 10px;
    right: 0;
}

.social-link {
    display: inline-block;
    padding: 0 5px;
}

.social-link img{
    width: 28px;
}

/* CAROUSEL */
#carousel-home-container{
    position: relative;
}
.carousel-home-bg{
    width: 100%;
    height: 100%;
    position: absolute;
    top:0;
    z-index: -1;
    background: rgb(174,22,31);
    background: linear-gradient(90deg, rgba(174,22,31,1) 0%, rgba(0,0,0,1) 50%, rgba(174,22,31,1) 100%);
}
.carousel-home-bg:after{
    position: absolute;
    bottom: 0;
    height: 10px;
    content: '';
    background-color: white;
    left: 0;
    width: 100%;
}

.carousel-caption {
    max-width: 100%;
    width: 100%;
    background-color: rgba(102,14,19,.8);
    left: 0;
    bottom: 10px;
    padding: 2px;
}

.carousel-caption h5{
    font-size: 1rem;
}

.carousel-indicators li {
    width: 15px;
    height: 15px;
    border-radius: 100%;
    background-color: lightgrey;

}.carousel-indicators li.active{
     background-color: rgba(174,22,31,1);

 }
.carousel-indicators {
    bottom: -50px;
}

/* DOTS */
.big-dots-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
a.big-dot-item{
    display: block;
    text-align: center;
    text-decoration: none;
    margin: 15px;
}
.big-dot-item img {
    border-radius: 100%;
    border: 10px solid rgb(233,233,233);
    width: 200px;
}
.big-dot-item p {
    font-size: 20px;
    font-weight: 400;
    color:#AE161F;
    text-align: center;
    margin-top: 4px;
}


/* PARALLAX */
.parallax {
    /* Full height */
    height: 200px;

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}



/* INSURANCE ICONS */
.insurances-dot-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.insurances-dot-item {
    margin: 15px;
}

.insurances-dot-img-container {
    width: 100px;
    height: 100px;
    border-radius: 100%;
    margin: auto;
    box-shadow: 0px 0px 10px 3px lightgray;
}

.insurances-dot-img {
    width: 100%;
    height: 100%;
    background-color: white; /* fallback color */
    background-position: center;
    background-size: 50%;
    background-repeat: no-repeat;
    border-radius: 100%;
    margin: auto;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

.insurances-dot-img-container:hover .insurances-dot-img,
.insurances-dot-img-container:focus .insurances-dot-img {
    transform: scale(1.2);
}

.insurances-dot-item p {
    text-align: center;
    margin-top: 15px;
    font-size: 15px;
    color:#AE161F;
}

/* CONTACT FORM */
textarea::placeholder{
    font-size: 16px;
    color: #575756;
    font-weight: 300;
}
#contact textarea.form-control {
    height: auto;
}
#contact .form-control {
    color: #575756;
    border: 1px solid #575756;
}
[type="radio"]:checked,
[type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}
[type="radio"]:checked + label,
[type="radio"]:not(:checked) + label {
    position: relative;
    padding-left: 28px;
    margin-right: 75px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
    color: #575756;
    padding-top: 1px;
}
[type="radio"]:checked + label:before,
[type="radio"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border: 1px solid #575756;
    border-radius: 100%;
    background: #fff;
}
[type="radio"]:checked + label:after,
[type="radio"]:not(:checked) + label:after {
    content: '';
    width: 8px;
    height: 8px;
    background: #575756;
    position: absolute;
    top: 6px;
    left: 6px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
[type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}
[type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}
.form-check-red[type="radio"]:checked + label:before,
.form-check-red[type="radio"]:not(:checked) + label:before {
    border: 1px solid #AE161F;
}
.form-check-red[type="radio"]:checked + label:after,
.form-check-red[type="radio"]:not(:checked) + label:after {
    background: #AE161F;
}
button.form_btn {
    background-color: white;
    border: 2px solid #AE161F;
    color: #AE161F;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 600;
    margin-top: 60px;
    margin-bottom: 35px;
    padding: 5px;
    width: 300px;
}
button.form_btn:hover{
    transition: all 0.3s ease;
    background-color: #AE161F;
    color: white;
}

/* COMMENTS */
.comment-container {
    display: block;
    margin-top: 30px;
}
.comment-img-container {
    width: 100px;
    height: 100px;
    border-radius: 100%;
    margin: auto;
    margin-top: 10px;
    overflow: hidden;
}

.comment-img {
    width: 100%;
    height: 100%;
    background-color: white; /* fallback color */
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    border-radius: 100%;
    margin: auto;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

.comment-img-container:hover .comment-img,
.comment-img-container:focus .comment-img {
    transform: scale(1.2);
}

.quotes {
    font-size: 45px;
    line-height: 1px;
    font-weight: 600;
    transform: translateY(15px);
    display: inline-block;
}

/* FOOTER */
footer{
    border-top: 1px solid #dddd;
}
footer img{
    max-width: 300px;
}

footer p, footer a {
    font-size: 15px;
    text-decoration: none;
    color: #575756;
}

footer a:hover {
      color: #575756;
  }


/* TOP TITLES */
#section-top{
    position: relative;
}
.section-top-bg{
    width: 100%;
    height: 100%;
    position: absolute;
    top:0;
    z-index: -1;
    background: rgb(174,22,31);
    background: linear-gradient(90deg, rgba(174,22,31,1) 0%, rgba(0,0,0,1) 50%, rgba(174,22,31,1) 100%);
}
.section-top-bg:after{
    position: absolute;
    bottom: 0;
    height: 22px;
    content: '';
    background-color: white;
    left: 0;
    width: 100%;
}

.section-top-caption {
    max-width: 100%;
    width: 100%;
    background-color: rgba(102,14,19,.8);
    left: 0;
    bottom: 0;
    padding: 2px;
    position: absolute;
    margin: 0;
}

/* CONTACT PAGE */
.contact-map iframe {
    width: 100%;
    height: 285px;
    margin-top: -50px;
}

/* CONTACT DOUBT*/
.contact-doubt{
    margin: 0 0 3rem 0;
}
.contact-doubt-btn {
    background-color: #AE161F;
    display: block;
    max-height: 28px;
    width: 150px;
    border-radius: 5px;
    font-weight: 600;
    color: white !important;
    box-shadow: 0px 0px 10px 3px lightgrey;
    margin: auto;
    margin-bottom: 15px;
}

.contact-doubt-phone{
    margin: 0 30px;
    display: block;
 }
.contact-doubt-phone img, .contact-doubt-whatsapp img{
    width: 30px;
    margin-right: 5px;
    display: inline-block;
}

.contact-doubt-phone p, .contact-doubt-whatsapp p{
    display: inline-block;
    font-weight: 600;
}


/* SQUARE LOGO */
.square-logo {
    position: relative;
    width: 70%;
    margin: 3rem auto;
    border: 3px solid #AE161F;
    border-radius: 20px;
    min-width: 300px;
    padding: 10px;
}

.square-logo img {    width: 22%;
    max-width: 90px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -64%);
    background-color: white;
    padding: 10px;
}

/* INSURANCES OPTION SECTION */

#i-opt-sec{
    background-color: #eeeeee;
}
.i-opt-sec-container {
    display: block;
    margin-top: 30px;
}

.i-opt-sec-container img {
    height: 60px;
}


/* VEHICLES */

.search-container h5{
    color:#575756;
}
.search-container form{
    max-height: 0px;
    height: 100%;
    overflow: hidden;
    transition: max-height 1s ease;
}
.search-container form.active{
    max-height: 1000px;
}
.search-container .form-control {
    color: #70757b;
    border: 2px solid #ced4da;
    font-weight: 300;
}
.from-group-inline label {
    color: #70757b;
    display: block;
}
.from-group-inline select {
    width: 49%;
    display: inline-block;
}

.search-container {
    border-top: 2px solid #dddddd;
    border-bottom: 2px solid #dddddd;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-top: 10px;
    position: relative;
}

.search-container-filters {
    position: absolute;
    top: 2px;
    right: 10px;
    font-size: 20px;
}

.search-container label{
    font-size: 15px;
    margin-bottom: 0px;
}

.search-container .form-group {
    margin-bottom: 0;
}
.row-car-list {
    text-align: center;
    margin-bottom: 25px;
}
.img-car-list {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 200px;
    width: 300px;
    margin: 20px auto;
}

.car-list-seperator {
    width: 100%;
    height: 2px;
    background-color: #dddddd;
    margin: 10px 0;
}

.car-list-seperator {}

.row-car-list p,.row-desc-car p {
    margin: 0;
}
.list-price {
    text-align: right;
    font-size: 15px;
    font-weight: 600;
    background-color: #dddd;
    padding: 5px;
}
.paginator{
    text-align: center;
}
.paginator a {
    width: 25px;
    height: 25px;
    display: inline-block;
    line-height: 25px;
    font-size: 12px;
    margin: 0 2px;
    border: 1px solid black;
    border-radius: 50%;
    transition: background .5s ease;
}

.paginator a:hover,.paginator a.act{
    background-color: black;
    color: white;
}
.row-info-car p{
    margin: 0;
}

/* Bootstrap 4 breakpoints */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    /* GENERAL */
    h2{
        font-size: 35px;
    }

    h3 {
        font-size: 20px;
        line-height: 35px;
    }

    h5{
        font-size: 1rem;
    }
    section, footer {
        padding: 40px 0 75px 0;
    }
    p, li, a{
        font-size: 18px;
    }
    label{
         font-size: 18px;
     }
    .form-check label{
        font-size: 14px;
        margin-right: 20px;
    }




    .navbar-margin{
        margin-bottom: 125px;
    }
    .navbar-brand img{
        width: 90%;
    }

    .navbar-brand{
        margin-right: 0px;
    }



    /* DOTS */
    .big-dot-item{
        margin: 20px;
    }
    .big-dot-item img {
        width: 245px;
    }
    .big-dot-item p {
        font-size: 25px;
    }

    /* INSURANCE ICONS */
    .insurances-dot-img-container {
        width: 200px;
        height: 200px;
    }

    .insurances-dot-item p {
        font-size: 25px;
    }

    /* CONTACT FORM */
    textarea::placeholder{
        font-size: 18px;
    }

    .paginator a {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 13px;
    }

    .search-container-filters {
        top: 6px;
    }
}



/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 768px) {
    /* GENERAL */
    h1{
        font-size: 2rem;
    }

    h2{
        font-size: 43px;
    }

    h3 {
         font-size: 24px;
         line-height: 45px;
     }

    h5{
        font-size: 1.25rem;
    }
    p, li, a{
        font-size: 18px;
    }label{
         font-size: 18px;
         margin-top: 20px;
     }
    .form-check label{
        font-size: 18px;
        margin-right: 50px;
    }

    section, footer {
        padding: 50px 0 100px 0;
    }

    .nav-link {
        font-size: 16px;
    }
    .dropdown-item{
        font-size: 14px;
    }


    /* CAROUSEL */
    .carousel-caption h5{
        font-size: 2rem;
    }

    .carousel-caption {
        bottom: 25px;
        padding: 5px;
    }

    .carousel-home-bg:after{
        height: 25px;
    }



    /* DOTS */
    .big-dot-item img {
        width: 290px;
    }
    .big-dot-item p {
        font-size: 28px;
    }



    /* PARALLAX */
    .parallax {
        height: 400px;
    }


    /* CONTACT FORM */
    [type="radio"]:checked + label,
    [type="radio"]:not(:checked) + label {
        padding-left: 35px;
        margin-right: 75px;
        padding-top: 3px;
    }
    [type="radio"]:checked + label:before,
    [type="radio"]:not(:checked) + label:before {
        width: 25px;
        height: 25px;
    }
    [type="radio"]:checked + label:after,
    [type="radio"]:not(:checked) + label:after {
        width: 11px;
        height: 11px;
        top: 7px;
        left: 7px;
    }
    textarea::placeholder{
        font-size: 18px;
    }button.form_btn {
         font-size: 20px;
         margin-top: 60px;
     }

    /* COMMENTS */
    .comment-container{
        display: flex;
        margin-top: 80px;
    }
    .comment-img-container {
        width: 160px;
        height: 160px;
    }


    /*SECTIOn OTP*/
    .section-top-bg:after{
        height: 40px;
    }

    /* CONTACT PAGE */
    .contact-map iframe {
        width: 100%;
        height: 400px;
        margin-top: -75px;
    }

    /* CONTACT DOUBT*/
    .contact-doubt-btn {
        display: inline-block;
        margin: initial;
    }
    .contact-doubt-phone {
        display: inline-block;
    }
    .contact-doubt-phone{
        margin: 0 30px;
    }

    #i-opt-sec{
        padding: 50px 0;
    }
    .i-opt-sec-container {
        display: flex;
    }

    .i-opt-sec-container img {
        height: 90px;
    }

    /*VEHICLES */
    .search-container-filters {
        top: 10px;
    }
    .search-container {
        margin-bottom: 30px;
    }
    .row-car-list {
        text-align: left;
        margin-bottom: 50px;
    }
    .img-car-list {
        width: 100%;
        height: 100%;
        margin: auto;
    }

    .list-price {
        font-size: 20px;
    }

    .paginator a {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 15px;
    }
}


/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    /* GENERAL */
    h1{
        font-size: 3rem;
    }


    .nav-item{
        margin-left: 0px;
    }
    .navbar-nav {
        place-content: flex-end;
    }

    /* CAROUSEL */
    .carousel-caption h5{
        font-size: 3rem;
    }

    .carousel-caption {
        bottom: 50px;
        padding: 10px;
    }

    .carousel-home-bg:after{
        height: 50px;
    }

    /* INSURANCE ICONS */
    .insurances-dot-item {
        margin: 30px;
    }

    /* CONTACT FORM */
    #contact .form-control {
        height: calc(1.5em + 1rem + 2px);
        padding: 0.5rem 1rem;
        font-size: 1.25rem;
        line-height: 1.5;
        border-radius: 0.3rem;
    }



    /*SECTIOn OTP*/
    .section-top-bg:after{
        height: 60px;
    }

    #team .comment-img-container {
        width: 250px;
        height: 250px;
        -webkit-box-shadow: 0px 0px 10px 3px lightgray;
        box-shadow: 0px 0px 10px 3px lightgray;
    }

    /*VEHICLES */
    .search-container {
        padding-right: 10px;
        padding-bottom: 30px;
        padding-top: 30px;
        margin-bottom: 0;
    }

    .search-container form{
        max-height: 1000px;
    }

    .search-container-filters{
        display: none;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .nav-item{
        margin-left: 15px;
    }
}

@media (min-width: 991px) and (max-width:1200px ){
    .navbar-expand-lg .navbar-nav .nav-link{
        padding-right: 0.3rem !important;
        padding-left: 0.3rem !important;
    }
}
