/********** Template CSS **********/
:root {
    --primary: #a91917;
    --secondary: #E93C05;
    --tertiary: #ffffff;
    --light: #DFE4FD;
    --dark: #222222;
    --golden: #CD9834;
}
.body{
    background-color: #121212;
}
.text-red{
    color: #a91917 !important;
}

.bb-red{
    border-bottom: 5px solid var(--primary);
}

.br-50{
    border-radius: 50px !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}

i{
    font-size: 1.5rem !important;
}
i.fa-whatsapp{
    font-size: 2.2rem !important;
}

.wg-100{
    font-weight: 100 !important;
}
.wg-200{
    font-weight: 200 !important;
}
.wg-300{
    font-weight: 300 !important;
}
.wg-400{
    font-weight: 400 !important;
}
.wg-500{
    font-weight: 500 !important;
}
.wg-600{
    font-weight: 600 !important;
}

.wg-700{
    font-weight: 700 !important;
}

.wg-800{
    font-weight: 800 !important;
}

.wg-900{
    font-weight: 900 !important;
}

.mt--50{
    margin-top: -50px !important;
}

.text-primary {
    color: var(--primary) !important;
}
small{
    color: white !important;
}

small .text-dark {
    color: var(--dark) !important;
}

small a {
    color: #ffffff;
    text-decoration: none;
}

small a:hover {
    color: var(--primary);
    text-decoration: none;
}

.mask{
    mask-image: linear-gradient( black 1%, transparent);
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 68px;
    height: 68px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


.br-bottom{
    border-radius: 0 0 50px 50px;
}

/*** Navbar ***/

@media (min-width: 992px) {
    .px-lg-5 {
        padding-right: 1rem !important;
        padding-left: .7rem !important;
    }
}

.bg-dark{
    color: #121212 !important;
}
.fixed-top {
    transition: .5s;
}

.fixed-top.bg-dark{
    border-bottom: 2px solid var(--primary) !important;
    border: 2px solid var(--primary) !important;
    margin-top: 15px;
    border-radius: 100px;
    width: 95%;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(255,255,255, .07);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    padding: 25px 15px;
    color: var(--tertiary);
    font-weight: 700;
    outline: none;
    text-transform: uppercase;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .nav-item .dropdown-menu .dropdown-item {
    color: #fff !important;
    font-weight: 700;
    outline: none;
    text-transform: uppercase;
}

.navbar .nav-item .dropdown-menu .dropdown-item:hover, .navbar .nav-item .dropdown-menu .dropdown-item:focus {
    color: #fff !important;
    background-color: var(--primary);
    font-weight: 700;
    outline: none;
    text-transform: uppercase;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: #FFFFFF;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
        background-color: #121212;
        border-radius: 0px 0px 10px 10px;
        border:none;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/

.w-100{
    height: auto;
    max-height: 580px !important;
    background-size: cover;
}
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 3rem;
}
.carousel-control-next {
    right: 40px;
}
.carousel-control-prev {
    left: 40px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

.carousel-control-prev-icon {
    border-radius: 3rem;
}

.carousel-control-next-icon {
    border-radius: 3rem;
}

.encabezado-renault{
    height: 580px;
    background-size: cover;
    background-image: url(../img/carousel-1.jpg);
    background-position: center center;
}

.encabezado-chevrolet{
    height: 580px;
    background-size: cover;
    background-image: url(../img/carousel-2b.jpg);
    background-position: center center;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.carousel-inner {
    border-radius: 0 0 50px 50px !important;
}

.page-header {
    padding-top: 12rem;
    padding-bottom: 7rem;
    background: url(../img/header.jpg) top center no-repeat;
    background-size: cover;
}
.page-header-nosotros {
    padding-top: 12rem;
    padding-bottom: 7rem;
    background: url(../img/header-nosotros.jpg) top center no-repeat;
    background-size: cover;
}

.page-header-renault {
    padding-top: 12rem;
    padding-bottom: 7rem;
    background: url(../img/header-renault.jpg) top center no-repeat;
    background-size: cover;
}

.page-header-chevrolet {
    padding-top: 12rem;
    padding-bottom: 7rem;
    background: url(../img/header-chevrolet.jpg) top center no-repeat;
    background-size: cover;
}

.page-header-especiales {
    padding-top: 12rem;
    padding-bottom: 7rem;
    background: url(../img/header-especiales.jpg) top center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a,
.page-header-nosotros .breadcrumb-item,
.page-header-nosotros .breadcrumb-item a,
.page-header-renault .breadcrumb-item,
.page-header-renault .breadcrumb-item a,
.page-header-chevrolet .breadcrumb-item,
.page-header-chevrolet .breadcrumb-item a,
.page-header-especiales .breadcrumb-item,
.page-header-especiales .breadcrumb-item a {
    color: var(--primary);
    font-weight: 500;
}
.page-header .breadcrumb-item a:hover, .page-header-renault .breadcrumb-item a:hover, .page-header-chevrolet .breadcrumb-item a:hover, , .page-header-especiales .breadcrumb-item a:hover, .page-header-nosotros .breadcrumb-item a:hover {
    color: white;
}

.page-header .breadcrumb-item+.breadcrumb-item::before, .page-header-renault .breadcrumb-item+.breadcrumb-item::before, .page-header-renault .breadcrumb-item+.breadcrumb-item::before, .page-header-nosotros .breadcrumb-item+.breadcrumb-item::before {
    color: #121212;
}
.page-header .breadcrumb-item+.breadcrumb-item::before, .page-header-chevrolet .breadcrumb-item+.breadcrumb-item::before, .page-header-chevrolet .breadcrumb-item+.breadcrumb-item::before, .page-header-nosotros .breadcrumb-item+.breadcrumb-item::before {
    color: #121212;
}
.page-header .breadcrumb-item+.breadcrumb-item::before, .page-header-especiales .breadcrumb-item+.breadcrumb-item::before, .page-header-especiales .breadcrumb-item+.breadcrumb-item::before, .page-header-nosotros .breadcrumb-item+.breadcrumb-item::before {
    color: #121212;
}

.page-header .breadcrumb-item.active, .page-header-renault .breadcrumb-item.active, .page-header-chevrolet .breadcrumb-item.active, .page-header-especiales .breadcrumb-item.active, .page-header-nosotros .breadcrumb-item.active {
    color: #121212;
}

/*** Facts ***/
.facts {
    background: linear-gradient(rgba(53, 94, 252, .95), rgba(53, 94, 252, .95)), url(../img/bg.png);
}


/*** Callback ***/
.callback {
    position: relative;
}

.callback::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/bg-2.png);
    background-attachment: fixed;
    background-size: cover;
    background-position: bottom center;
    z-index: -1;
}

.callback.renault::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/bg-2-renault.png);
    background-attachment: fixed;
    background-size: cover;
    background-position: bottom center;
    z-index: -1;
}

.callback.chevrolet::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/bg-2-chevrolet.png);
    background-attachment: fixed;
    background-size: cover;
    background-position: bottom center;
    z-index: -1;
}


/*** Feature ***/
.feature .feature-box,
.feature .feature-box * {
    transition: .5s;
}

.feature .feature-box:hover {
    background: var(--primary);
    border-color: var(--primary) !important;
}

.feature .feature-box:hover * {
    color: #FFFFFF !important;
}


/*** Service ***/
.service .nav .nav-link {
    transition: .5s;
}

.service .nav .nav-link.active {
    border-color: var(--primary) !important;
    background: var(--primary);
}

.service .nav .nav-link.active h5 {
    color: #FFFFFF !important;
}

.service .nav .nav-link.active h5 i {
    color: #FFFFFF !important;
}


/*** Project ***/
.project-item,
.project-item .project-img {
    position: relative;
}

.project-item .project-img a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    opacity: 0;
    transition: .5s;
}

.project-item:hover .project-img a {
    opacity: 1;
}

.project-item .project-title {
    position: absolute;
    top: 3rem;
    right: 0;
    bottom: 0;
    left: 3rem;
    border: 1px solid var(--light);
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    z-index: -1;
    transition: .5s;
}

.project-item:hover .project-title {
    background: var(--primary);
    border-color: var(--primary);
}

.project-item .project-title h4 {
    transition: .5s;
}

.project-item:hover .project-title h4 {
    color: #FFFFFF;
}

.project-carousel .owl-nav {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Team ***/
.team-item {
    position: relative;
    padding: 4rem 0 0;
}

.team-item img {
    position: relative;
    z-index: 2;
    transform: scale(1);
    transition: .3s;
    border-radius: 150px !important;
}

.team-item .team-text {
    position: absolute;
    top: 140px;
    right: 1rem;
    bottom: -60px;
    left: 1rem;
    padding: 15px;
    border: 2px solid var(--light);
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    transition: .5s;
    z-index: 1;
}

.team-item:hover .team-text {
    background: var(--primary);
    border-color: var(--primary);
}
.team-item:hover img {
    position: relative;
    z-index: 2;
    transform: scale(0.95);
    transition: .3s;
}

.team-item .team-text h4 {
    font-size: 1em;
    text-align: center;
    transition: .5s;
    color: #222;
}

.team-item:hover .team-text h4 {
    color: #FFFFFF;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item:hover .team-social .btn {
    background: #FFFFFF;
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Testimonial ***/
.testimonial-item {
    position: relative;
    text-align: center;
    padding-top: 30px;
}

.testimonial-item .testimonial-text {
    position: relative;
    text-align: center;
}

.testimonial-item .testimonial-text .btn-square {
    position: absolute;
    width: 60px;
    height: 60px;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-item .testimonial-text::before {
    position: absolute;
    content: "";
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    border: 30px solid;
    border-color: var(--light) transparent transparent transparent;
}

.testimonial-item .testimonial-text::after {
    position: absolute;
    content: "";
    bottom: -59px;
    left: 50%;
    transform: translateX(-50%);
    border: 30px solid;
    border-color: #FFFFFF transparent transparent transparent;
}

.testimonial-carousel .owl-item img {
    margin: 0 auto;
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots {
    margin-top: 25px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 30px;
    height: 30px;
    border: 1px solid var(--light);
    border-radius: 30px;
    transition: .5s;
}

.testimonial-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 16px;
    height: 16px;
    top: 6px;
    left: 6px;
    border-radius: 16px;
    background: var(--light);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    border-color: var(--primary);
}

.testimonial-carousel .owl-dot.active::after {
    background: var(--primary);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: var(--light);
    background: #000B1C;
}

.copyright a {
    color: var(--light);
}

.copyright a:hover {
    color: var(--primary);
}


/* ///////  ESTILO DARWIN REPUESTOS /////// */

.no-display{
    display: none !important;
}

.black{
    color: #222222 !important;
}
.white{
    color: #ffffff !important;
}
.btn-item{
    letter-spacing: 5px;
}
.btn-item b{
  color: #fff;
  display: inline-block;
  padding: 5px 0;
  position: relative;
  transition: all 0.3s ease-in-out;
  font-size: 4rem;
}

.bg-yellow{
    background-color: #a91917 !important;
}
.text-grey{
    color: #888;
}
.text-dark{
    color: #222 !important;
}
.text-yellow{
    color: var(--primary) !important;
}

.border-2{
    background-color: var(--primary);
    color: #fff !important;
}

.btn-primary{
    background-color: var(--primary) !important;
    color: #fff !important;
    transition: all ease .2s;
    font-weight: 600;
    border: none;
    border-radius: 50px;
}
.btn-primary:hover{
    background-color: #121212 !important;
    color: #fff !important;
    transition: all ease .2s;
}

.bg-yellow{
    background-color: var(--primary) !important;
}

a.border-bottom{
    color: #fff;
    font-weight: 500;
    border: 1px solid !important;
    border-color: #fff !important;
    padding: 5px 10px;
    border-radius: 50px;
    background-color: transparent;
    text-decoration: none !important;
    transition: all ease .3s;
}

a.border-bottom:hover{
    color: #222;
    border-color: var(--primary) !important;
    background-color: white;
    transition: all ease .3s;
}

.btn-whatsapp{
    background-color: #25d366 !important;
    color:white !important;
    font-size: 1.6em;
    line-height: 1.2em;
}

.btn-whatsapp:hover{
    background-color: #fff !important;
    color: #000 !important;
    transform: scale(1.1);
    box-shadow: 0px 4px 15px -4px rgba(0,0,0,0.7);
}

.whatsapp-btn{
    position: fixed;
    bottom: 3vh;
    right: 2vw;
    z-index: 9999;
}

.grecaptcha-badge{
    display: none;
}

.navbar .nav-item .dropdown-menu .dropdown-item.active, .dropdown-item:active {
    color: #fff !important;
    text-decoration: none;
    background-color: var(--primary);
}

.hidden-desktop{
    display: none;
}
.navbar-light .navbar-toggler-icon {
    background-image: url(../img/burger-menu.png);
}

.navbar-light .navbar-toggler {
    color: rgba(0, 0, 0, 0);
    border-color: rgba(0, 0, 0, 0);
}

.pt-15{
    padding-top: 15px !important;
}

.wsp{
    color: white;
}
.wsp:hover{
    color: var(--primary);
}

.display-7 {
    font-size: calc(1.375rem + 0.3vw);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 0px !important;
}

.bg-light {
    background-color: #f1f1f1 !important;
}

.navbar-light .navbar-nav .nav-link:focus {
    color: rgba(255, 255, 255, 1);
}

@media (min-width: 330px) and (max-width: 768px){
    .fixed-top.bg-dark{
        border-bottom: 0px solid var(--primary) !important;
        border: 0px solid var(--primary) !important;
        margin-top: 0px;
        border-radius: 0px 0px 50px 50px;
        width: 100%;
    }
    .hidden-desktop{
        display: block;
    }
    .px-5 {
        padding-right: 2rem !important;
        padding-left: 2rem !important;
    }
    .p-5 {
        padding: 1.5rem !important;
    }
    .carousel-control-prev-icon, .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
    top: 25vh !important;
    position: relative;
    }
    .carousel-control-prev {
    left: 30px;
    }
    .carousel-control-next {
    right: 30px;
    }
    .display-6 {
    font-size: calc(1.375rem + 3vw);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0px !important;
    padding-left: 0px;
    }
    .display-1 {
    font-size: calc(1.625rem + 3.5vw);
    font-weight: 700;
    line-height: 1.2;
    padding-left: 0px;
    }
    .navbar .navbar-nav {
    margin-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, .07);
    background: #222;
    }
    .dropdown-menu {
    background-color: #222;
    }
    .text-mobile-center{
        text-align: center;
    }
    h1.text-mobile-center{
        font-size: 2em;
        padding-left: 0px !important;
    }
    .team-item .team-text h4 {
    font-size: 1.5em;
    text-align: center;
    transition: .5s;
    color: #222;
    }
    .team-item {
        position: relative;
        padding: 6rem 0 0;
    }

    .encabezado-chevrolet {
        height: 580px;
        background-size: cover;
        background-image: url(../img/carousel-2b.jpg);
        background-position: bottom right;
    }

    .encabezado-renault {
        height: 580px;
        background-size: cover;
        background-image: url(../img/carousel-1.jpg);
        background-position: bottom right;
    }

    .encabezado-renault::before, .encabezado-chevrolet::before{
        content: '';
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        background-color: rgba(255,255,255,0.6);
        z-index: 1;
    }

    .btn-item b {
        font-size: 2.6rem;
    }    
    iframe.br-50{
        height: 300px !important;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        left: 165px;
        overflow: visible;
    }
    .page-header {
        padding-top: 9rem;
        padding-bottom: 20rem;
        background: url(../img/header-2.jpg) top left no-repeat;
        background-size: cover;
    }

    .page-header-renault {
        padding-top: 9rem;
        padding-bottom: 20rem;
        background: url(../img/header-renault-2.jpg) top left no-repeat;
        background-size: cover;
    }

    .page-header-chevrolet {
        padding-top: 9rem;
        padding-bottom: 20rem;
        background: url(../img/header-chevrolet-2.jpg) top left no-repeat;
        background-size: cover;
    }
    .copyright {
        padding-bottom: 30px !important;
    }
    .team-item img {
        position: relative;
        z-index: 2;
        transform: scale(1);
        transition: .3s;
        border-radius: 200px !important;
    }

    .team-item .team-text {
        position: absolute;
        top: 260px;
        right: 1rem;
        bottom: -90px;
        left: 1rem;
        padding: 15px;
        border: 2px solid var(--light);
        border-radius: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: end;
        transition: .5s;
        z-index: 1;
    }
}

.no-padding{
    padding: 0px !important;
}

.foto-footer{
    border-radius: 30px;
    filter: drop-shadow(0px 14px 10px rgba(0, 0, 0, 0.6));
}

article{
  position: relative;
  width: 250px;
  transition: all .3s ease;
}

article img:first-child {
  /*box-shadow: 0 10px 10px 10px rgba(0,30,255,0.5);*/
  border-radius: 4px;
  object-fit: cover;
  width: 100%;
}
article img:last-child {
  position: absolute;
  width: 200px;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  transform: translateY(25%);
  transition: .3s ease;
  opacity: 0;
}

article:hover{
  transform: perspective(0px) rotateX(0deg) translateY(-15%) translateZ(0);
}

article::before{
  content: '';
  position: absolute;
  bottom: 0;
  height: 100%;
  width: 100%;
  /*background-image: linear-gradient(to bottom, transparent 10%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.8) 95%);*/
  opacity: 0;
  transition: .3s ease;
}

article:hover::before{
  opacity: 1;
}

article:hover img:first-child{
  opacity: 0;
  transform: translateY(0%);
  transition: .3s ease;
}

article:hover img:last-child{
  opacity: 1;
  transform: translateY(10%);
  transition: .6s ease;
}