/*******************************************
Hero
*******************************************/
.hero {
    background-image: url("/files/excavator-truck.jpg");
    background-position: center;
    background-size: cover;
    position: relative;
    color: white;
}

.hero-background {
    position: absolute;
    background-color: black;
    opacity: 0.5;
    z-index: 10;
}

.hero-content {
    margin: 10rem 0 10rem 0;
    z-index: 15;
}

.hero-text {
    font-size: 20px;
}

.btn-hero-servicios {
    border: solid 3px white;
    color: white;
    font-weight: bold;
    padding: 0.5rem 1.7rem;
    border-radius: 0.2rem;
    margin-right: 1rem;
}

.btn-hero-servicios:hover {
    border: solid 3px white;
    color: #04557a
}

.btn-hero-contacto {
    border: solid 3px #04557a;
    background-color: #04557a;
    color: white;
    font-weight: bold;
    padding: 0.5rem 1.7rem;
    border-radius: 0.2rem;
}

.btn-hero-contacto:hover {
    border: solid 3px #04557a;
    color: #04557a
}

.flag-container {
    position: absolute;
    top: 10px;
    right: 10px;
}

.flag-container img {
    width: 75px;
    margin-right: 10px;
}

@media (max-width: 992px) {
    .hero {
        min-height: 50vh;
    }

    .hero-content {
        width: 90% !important;
    }

    .hero-pretitle {
        font-size: 3rem !important;
    }

    .hero-title {
        font-size: 5rem;
    }

    .hero-text {
        font-size: 2.5rem;
    }

    .hero-button-container .btn {
        font-size: 3rem;
        margin-bottom: 15px;
        max-width: 70%;
    }

    .hero-button-container {
        display: flex;
        flex-direction: column;
    }

}

/*******************************************
Carousel
*******************************************/
@media (max-width: 992px) {

    .slick-arrow::before {
        color: grey;
        font-size: 2.5rem;
    }

    .slick-dots li button:before {
        font-size: 1.5rem;
    }

    .carousel-slide img {
        width: 80%;
        margin: auto;
        margin-bottom: 2rem;
    }
}

/*******************************************
Blocks General
*******************************************/

.block {
    width: 60%;
}

.block-container {
    margin-bottom: 10rem;
}

.block-pretitle {
    color: grey;
}

.block-title {
    font-weight: bold;
    font-size: 50px;
    max-width: 75%;
}

@media (max-width: 992px) {
    .block {
        width: 90%;
    }

    .block-pretitle {
        font-size: 3rem;
    }

    .block-title {
        font-size: 4.5rem;
        max-width: 100%;
    }
}

/*******************************************
Tabs
*******************************************/

.tab-pane {
    padding: 1rem;
    border: 1px solid #d7d7d7;
}

.tab-pane img {
    width: 100%;
}

.block .nav-tabs button {
    font-weight: bolder;
    font-size: 18px;
    color: black;
    padding: 0.5rem 2rem;
}

.block .nav-item {
    border-bottom: none;
    transform: translate(0px, 1px);
}

@media (max-width: 992px) {

    .block .nav.nav-tabs {
        flex-direction: column;
    }

    .block .nav-link {
        width: 100%;
        text-align: left;
        font-size: 3rem !important;
        font-weight: 400 !important;
        border: 5px solid #d7d7d7;
    }

}

/*******************************************
Block 1
*******************************************/

.block-1-container {
    margin-top: 10rem;
}

.block-1-content {
    margin-bottom: 8rem;
}

@media (max-width: 992px) {
    .block-1 .carousel-container {
        width: 70%;
    }

    .block-1 {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

}

/*******************************************
Block 2
*******************************************/

.block-2-content p {
    font-size: 17px;
}

@media (max-width: 992px) {

    .block-2-content h4 {
        font-size: 3.5rem;
    }

    .block-2-content {
        width: 80%;
        margin: auto;
    }

    .block-2-content p {
        font-size: 2.5rem;
        margin: 3rem 0;
    }

}

/*******************************************
Block 3
*******************************************/

/*******************************************
Block 4
*******************************************/

.block-4 h2 {
    font-weight: bold;
    font-size: 40px;
}

.block-4 p {
    font-size: 17px;
}

@media (max-width: 992px) {

    .block-4 h2 {
        font-size: 4rem;
    }

    .block-4 p {
        font-size: 2.5rem;
    }

}

/*******************************************
Block 5
*******************************************/
.block-5 .tab-content p,
.block-5 .tab-content ul {
    margin: 1rem 2rem;
}

@media (max-width: 992px) {

    .block-5 .tab-pane li,
    .block-5 .tab-pane p {
        font-size: 2.5rem;
    }

}

/*******************************************
Block 6
*******************************************/
.block-6-content p {
    font-size: 18px;
    text-align: justify;
}

.block-6-content i {
    font-size: 55px;
    color: #0D6694 !important;
    margin-bottom: 1rem;
}

.carousel-maquinas .carousel-slide {
    display: flex;
    justify-content: center;
}

@media (max-width: 992px) {

    .block-6-content p {
        font-size: 2.7rem;
    }

    .block-6-icons {
        flex-direction: column;
    }

    .block-6-icons div {
        width: 90%;
        margin: 5rem;
    }

    .block-6-icons div i {
        font-size: 7rem;
    }

    .block-6-icons div h3 {
        font-size: 4rem;
    }

}