/********** Template CSS **********/


:root {
    --primary: #122888;
    --secondary: #999999;
    --light: #fff;
    --dark: #111111;
    --button: #f7ce6b;
}

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

h4,
h5,
h6,
.h4,
.h5,
.h6 {
    font-weight: bold !important;
}
/** Inria Serif **/
@import url('https://fonts.googleapis.com/css2?family=Inria+Serif:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');

/** Hero **/
.bg-inicio{
    background-image: url("../img/portada/Portada1.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.bg-about{
    background-image: url("../img/fotografias/about.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.bg-services{
    background-image: url("../img/portada/services.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.bg-flota{
    background-image: url("../img/portada/flota.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

@media only screen and (min-width: 100px)  {
    .bg-inicio,.bg-about, .bg-services, .bg-flota{
        height: 40vh;
    }
    .display-2{
        font-size: calc(1rem + 3.9vw);
    }
}
@media only screen and (min-width: 744px)  {
    .bg-inicio,.bg-about, .bg-services, .bg-flota{
        height: 60vh;
    }
    .display-2{
        font-size: calc(1rem + 3.9vw);
    }
}
@media only screen and (min-width: 888px)  {
    .bg-inicio{
        height: 70vh;
    }
    .display-2{
        font-size: calc(1rem + 3.9vw);
    }
}
@media only screen and (min-width: 1032px)  {
    .bg-inicio{
        height: 80vh;
    }
    .display-2{
        font-size: calc(1rem + 3.9vw);
    }
}


.mb-3{
    color: #122888;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
}

/*** 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 {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #000;
    font-size: 1.5rem;
}

.blue{
    color: #122888 !important;
    font-weight: 700;
    border-radius: 10px;
}

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

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

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

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

.btn-service{
    position: relative;
    top: -15px;
    background-color: var(--button);
}


/*** Navbar ***/
.navbar{
    min-height: 100px;
}
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
    line-height:3;
}

.navbar .navbar-brand {
    height: 75px;
    margin: 5px 16px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    /* padding: 25px 0; */
    color: var(--primary);
    font-weight: 800;
    font-size: 1.1rem;
    outline: none;
    font-family: 'Mont', sans-serif;
}

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

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

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.navbar .btn:hover {
    color: #FFFFFF !important;
    background: var(--primary) !important;
}


/*** Header ***/
.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--secondary);
}


/*** Service ***/
.service-item {
    position: relative;
    overflow: hidden;
}

.service-item::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: -80px;
    right: -80px;
    border: 80px solid;
    transform: rotate(45deg);
    opacity: 1;
    transition: .5s;
}

.service-item.bg-white::after {
    border-color: transparent transparent var(--light) transparent;
}

.service-item.bg-light::after {
    border-color: transparent transparent #FFFFFF transparent;
}

.service-item:hover::after {
    opacity: 0;
}


/*** Roadmap ***/
.roadmap-carousel {
    position: relative;
}

.roadmap-carousel::before {
    position: absolute;
    content: "";
    height: 0;
    width: 100%;
    top: 20px;
    left: 0;
    border-top: 2px dashed var(--secondary);
}

.roadmap-carousel .roadmap-item .roadmap-point {
    position: absolute;
    width: 30px;
    height: 30px;
    top: 6px;
    left: 50%;
    margin-left: -15px;
    background: #FFFFFF;
    border: 2px solid var(--primary);
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.roadmap-carousel .roadmap-item .roadmap-point span {
    display: block;
    width: 18px;
    height: 18px;
    background: var(--primary);
}

.roadmap-carousel .roadmap-item {
    position: relative;
    padding-top: 150px;
    text-align: center;
}

.roadmap-carousel .roadmap-item::before {
    position: absolute;
    content: "";
    width: 0;
    height: 115px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-right: 2px dashed var(--secondary);
}

.roadmap-carousel .roadmap-item::after {
    position: absolute;
    content: "";
    width: 14px;
    height: 14px;
    top: 111px;
    left: 50%;
    margin-left: -7px;
    transform: rotate(45deg);
    background: var(--primary);
}

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

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

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


/*** FAQs ***/
.accordion .accordion-item {
    border: none;
    margin-bottom: 15px;
}

.accordion .accordion-button {
    background: var(--light);
    border-radius: 2px;
}

.accordion .accordion-button:not(.collapsed) {
    color: #FFFFFF;
    background: var(--primary);
    box-shadow: none;
}

.accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion .accordion-body {
    padding: 15px 0 0 0;
}


/*** 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;
    color: var(--light);
    margin-right: 10px;
}

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

.footer .btn.btn-square {
    color: var(--light);
    border: 1px solid var(--light);
}

.footer .btn.btn-square:hover {
    color: #FFFFFF;
    background: var(--light);
}

.footer .copyright {
    padding: 15px 0;
    border-top: 1px solid rgba(255, 254, 254, 0.342);
}

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

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

.footer .mb-4{
    color: var(--light);
}

.footer .mb-0{
    color: var(--light);
}

.footer .h5{
    color: var(--light);
}

.footer p{
    color: var(--light);
}

.text-md-end{
    color: #fff;
}

/** Conctact **/
.bg-contact{
    background-color: #7495b7;
    border-radius: 20px;
    height: 335px;
    padding: 20px;
}

.img-contact{
    width: 130px;
    height: 130px;
    position: relative;
    display: inline-block;
    padding: 14px;
    border-radius: 50%;
    background-color: white;
}

.img-contact img{
    position: relative;
    width: 75%;
    top: 10px;
}

.img-servicios{
    border-radius: 20px;
}




/** EXTRA **/

.h-center{
    display: flex;
    align-items: center;
}

.right{
    text-align: right;
}
.inline-block{
    display: inline-block;
}

.white{
    color: white;
}

.white-shadow{
    color: white;
    text-shadow: 0em 0em 0.2em black;
}

.amarillo{
    color: #f7ce6b;
}

.justify{
    text-align: justify;
}

.max-icon{
    max-width: 20%;
}


/** CARDS **/

.body__card_front img{
    width: 40% !important;
}

/** FLOTA **/

.vehiculo>div>h4{
    font-family: 'Inria Serif', serif !important;
}

.vehiculo>div{
    position: relative;
}

.vehiculo>div>img{
    width: 100%;
    padding-bottom: 15px;
    border-radius: 20px;
}

.padding-10{
    padding-bottom: 20px;
}

#v-hover{
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 30%;
}

.vehiculo>div:hover{
    background-color: #1b329748;
    border-radius: 20px;
}

.vehiculo>div:hover > #v-hover{
    display: block;
}

.carrusel {
    height: 100vh;
    display: flex;
    align-items: center;
}

.carrusel-items {
    display: flex;
    overflow-x: hidden;
    overflow-y: hidden;

}

.carrusel-item {
    min-width: 300px;
    max-width: 300px;
    cursor: pointer;
    margin: auto;
}   

.carrusel-item:hover {
    transform: scale(1.1);
}

/**ENLACES ID**/

#bus, #minibus, #camioneta, #equipamiento{
    position: relative;
    top: -90px;
}

/**Carpuseñ vehículos*/

.vehiculo-carousel{
    border: 2px solid #999999;
    border-radius: 20px;
}

.vehiculo-carousel img{
    border-radius: 20px 20px 0px 0px;
    padding-bottom: 10px;
}
.vehiculo>h4{
    font-family: 'Inria Serif', serif !important;
}

.text-carousel{
    position: absolute;
    z-index: 2;
    top: 20%;
    left: 10%;
}

.carousel-inner>.carousel-item>img{
    min-height: 300px;
}

/** TAJOS **/

.tajo1{
    background-image: url("../img/vectores/10.png");
    background-repeat: no-repeat;
    background-position: left;
}
.tajo2{
    background-image: url("../img/vectores/11.png");
    background-repeat: no-repeat;
    background-position: right;
}
.tajo3{
    background-image: url("../img/vectores/12.png");
    background-repeat: no-repeat;
    background-position: left;
}
.tajo4{
    background-image: url("../img/vectores/13.png");
    background-repeat: no-repeat;
    background-position: left;
}
#hid-input{
    display:none;
}