@import url(https://fonts.googleapis.com/css2?family=Roboto&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700;800&display=swap);

/*
 * Globals
 */
* {
    font-family: 'Roboto', sans-serif;
}

.titles {
    font-family: 'Montserrat', sans-serif;
    font-size: large;
    /* color: #c8202e; */
}

.alert {
    display: none;
}

#nav-text {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: large;
    font-weight: 700;
}

body {
    overflow-x: hidden;
    padding-top: 0px;
    margin: 0;
    padding: 0;
    /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
}

.padding-y {
    padding-top: 5%;
    padding-bottom: 5%;
}

.padding-y-sm {
    padding-top: 3%;
    padding-bottom: 3%;
}

.padding-x {
    padding-left: 10px;
    padding-right: 10px;
}

#footer-pad {
    padding-left: 1em;
}

.carousel-caption {
    color: #c8102e;
    top: 0;
    bottom: auto;
    left: auto;
    right: 0;
    position: relative;
}

.carousel-caption h1 {
    font-weight: 500;
    /* background-color: rgba(255, 255, 255, .6); */
}

.dropdown-submenu {
    position: relative;
}


.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

#indicator {
    background-color: #c8102e;
    width: 10px;
    height: 10px;
    border-radius: 100%;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-backdrop {
    position: static;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
}

footer p {
    font-size: small;
}

#back-1 {
    background-image: url('/img/back/Fondo-1.jpg');
}

#back-2 {
    background-image: url('/img/back/Fondo-2.jpg');
}

#back-3 {
    background-image: url('/img/back/Fondo-3.jpg');
}

#back-4 {
    background-image: url('/img/back/Fondo-4.jpg');
}

#back-foot {
    background-image: url('/img/back/Fondo_footer_1.jpg');
}

#back-mesa {
    background-image: url('/img/back/Fondo_mesa_1.jpg');
}

#back-1,
#back2,
#back-3,
#back-4,
#back-foot,
#back-mesa {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

blockquote {
    font-family: 'Roboto', sans-serif;
}

h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bolder;
}

h3,
h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}

.title-border {
    border-bottom: 5px solid #c8102e;
}

.lead {
    padding-top: 0.75rem;
}

.card-item {
    flex: 1 0 21%;
}

.info-items {
    column-gap: 4%;
}

/* INDEX IMG HOVER */

.hover-img-wrap {
    position: relative;
    align-items: center;
    display: flex;
}

.text-layer {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    visibility: hidden;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    /* transition effect. not necessary */
    transition: opacity .5s, visibility .5s;
}

.img-text {
    transition: .2s;
}

.hover-img-wrap:hover .text-layer {
    visibility: visible;
    opacity: 1;
}

.red-sm::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 0;
    height: 60px;
    width: 70px;
    border-bottom: 5px solid #C8102E;
}

.material-icons-lg {
    font-size: 50px;
    color: #c8102e;
}

.material-icons-md {
    font-size: 18px;
}

.card-grid {
    column-gap: 16%;
}

.contact-container {
    padding-top: 3%;
}

.contactar-img {
    inline-size: auto;
    max-inline-size: 80%;
}

.silver-cont {
    background-color: rgba(150, 150, 150, 1);
}

.description {
    padding-top: 20px;
    padding-bottom: 20px;
    font-family: 'Roboto', sans-serif;
}

.col-centered {
    float: none;
    margin: 0 auto;
}

.anchor1 {
    display: block;
    height: 92px;
    margin-top: -92px;
    visibility: hidden;
}

.bg-white:hover .hr-card {
    width: 30%;
}

.hr-card {
    width: 20%;
    margin: auto;
    border-color: #c8102e;
    border-width: 2px;
    transition-property: width;
    transition-duration: .3s;
}

#banner-image {
    min-height: 400px;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.banner-text {
    background-color: rgba(200, 16, 46, .60);
    padding: 2%;
}

/* 
.logo {
    border-radius: 50%;
    transition-duration: .3s;
    transition-property: box-shadow;
}

.logo:hover {
    box-shadow: 0 0 0 2px #c8102e;
} */


.carousel-inner img {
    margin: auto;
}


@media screen and (max-width: 3840px) {
    .logo {
        width: 500px;
    }

    #transporte-1 {
        inline-size: 80%;
    }

    .index-card {
        width: 30rem;
    }

    .service-card {
        width: 25rem;
        margin: 0;
    }

    .navbar-nav {
        justify-content: space-evenly;
    }
}

@media screen and (max-width: 1920px) {
    .service-card {
        width: 20rem;
        margin: 0;
    }

    .index-card-container {
        padding-left: 3%;
        padding-right: 3%;
    }

    /* .navbar {height: 75px;} */
    .navbar-nav {
        justify-content: space-around;
    }

    .logo {
        width: 300px;
    }

    .index-card {
        width: 18rem;
    }

    #transporte-1 {
        inline-size: 90%;
    }

    .wrap {
        background-color: #c8202e;
        height: 250px;
        margin-top: 200px;
        position: absolute;
        z-index: 0;
    }

}

@media screen and (max-width: 768px) {
    .carousel-inner {
        padding-top: 35px;
    }

    .service-card {
        width: 70%;
    }

    #indicator {
        margin-bottom: 10px;
    }

    .index-card-container {
        padding-right: 0;
        padding-left: 0;
    }

    .logo {
        width: 250px;
    }

    .index-card {
        width: 15rem;
    }

    .navbar-nav {
        justify-content: right;
    }

    #transporte-1 {
        inline-size: 80%;
    }

    #back-foot,
    #back-1 {
        background-position: right;
    }

    #nav-logo {
        height: 50px;
    }

    .wrap {
        height: 0;
    }

    .top-sm-p {
        padding-top: 5%;
    }
}

.font-lg {
    font-size: 20px;
}