/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
    padding-top: 10.39rem;
    padding-bottom: 0px;
    color: rgb(var(--bs-tertiary-color-rgb));
}


/* CUSTOMIZE THE CAROUSEL
  -------------------------------------------------- */

/* Carousel base class */
.carousel {
    margin-bottom: 4rem;
}

/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    bottom: 3rem;
    z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
    height: 32rem;
}

.carousel-item img {
    object-fit: cover;
    /* Asegura que la imagen se recorte proporcionalmente para llenar el contenedor */
}

.bg-waras {
    background-color: #a01d2b;
}

.navbar-waras {
    margin-top: 100px;
}

.text-yellow {
    color: #f49f0b;
}

.text-light-gray {
    color: #888888;
}

.select2-container .select2-selection--single {
    height: 37px;
}

.btn-check:checked+.btn {
    background-color: #a01d2b;
    border-color: #a01d2b;
    color: #fff !important;
}

.btn-check+.btn:hover {
    border-color: #a01d2b;
    color: #a01d2b;
}

.btn-outline-dark-red {
    border-color: #a01d2b;
    color: #a01d2b;
}

.footer-waras {
    background-color: #a01d2b;
    color: #fff;
}

.footer-waras a {
    color: #fff;
}

.accordion-button::after {
    content: none !important;
}

.accordion-button.accordion-tittle,
.accordion-button.accordion-tittle:hover {
    border-color: #1e4993;
    color: #fff !important;
    background-color: #1e4993;
}

.accordion-body {
    padding: 0px !important;
}

.accordion-button:not(.collapsed) {
    background-color: #fff;
    color: #000;
}

.accordion-button:hover,
.accordion-button.active {
    color: #fff;
    background-color: #a01d2b;
}

.list-group {
    --bs-list-group-border-width: none !important;
    border-radius: 0px !important;
    border-width: 0px;
}

.list-group-item-action:focus,
.list-group-item-action:hover {
    background-color: #a01d2b;
    color: #fff;
}

.image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.image-container img {
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: block;
    width: 100%;
    height: auto;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgb(160, 29, 43, 1);
    height: 0;
    transition: height 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.open-modal-text {
    color: #fff;
    font-size: 14px;
    /* Tama«Šo de texto reducido */
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-container:hover img {
    opacity: 0.7;
}

.image-container:hover .overlay {
    height: 30px;
    /* Ajusta la altura a 30px */
}

.image-container:hover .open-modal-text {
    opacity: 1;
}

.text-bg-waras {
    background-color: #a01d2b;
}

/* RESPONSIVE CSS
  -------------------------------------------------- */

@media (min-width: 40em) {

    /* Bump up size of carousel content */
    .carousel-caption p {
        margin-bottom: 1.25rem;
        font-size: 1.25rem;
        line-height: 1.4;
    }

    .featurette-heading {
        font-size: 50px;
    }
}

@media (min-width: 62em) {
    .featurette-heading {
        margin-top: 7rem;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 7.0rem;
    }

    .navbar-waras {
        margin-top: 46px;
    }

    .carousel {
        margin-bottom: 1rem;
    }

    .carousel-item {
        height: 12rem;
    }
}