/********** Template CSS **********/
:root {
    --primary: #e67d1c;
    --light: #F5F5F5;
    --dark: #353535;
}

/*** 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;
}


/*** first style home ***/
.banimg .btn-get-started {
    font-family: "Poppins", sans-serif;
    /* estilo vertice cultural */
    text-transform: uppercase;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 8px 28px;
    border-radius: 50px;
    transition: 0.5s;
    margin: 10px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
}

.banimg .btn-get-started:hover {
    background: #c23d00;
    border: 2px solid #b13a03;
    /* estilo boton ver mas hover */
}

.banimg {
    position: absolute;
    /* estilo container vertice cultural */
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: left;
    flex-direction: column;
    text-align: center;

}

.vertice-container h2 {
    /* estilo h2 de  vertice cultural */
    color: #eee;
    margin-bottom: 50px;
    font-size: 30px;
    text-transform: uppercase;
    line-height: 20px;
    font-weight: 300;
    font-family: "Poppins", sans-serif;
}

.banner-image {
    /*  Imagen de fondo */
    background: linear-gradient(rgba(16, 14, 13, 0.4), rgba(16, 14, 13, 0.4)), url('../img/edificios/Edificio_Toyopan.jpg');
    /*"{% static 'img/edificios/Edificio_Toyopan.jpg' %}"*/
    background-size: cover;
    width: 100%;
    height: 100vh;
    background-size: 100% 100%;
    background-attachment: fixed;
    background-position: center;

}

.navbar-brand {
    /*  Estilo de letras brand */
    font-size: 22px;
    margin: 0;
    padding: 6px 0;
    line-height: 1;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.navbar-brand a {
    /*  Estilo de letras brand */
    color: #fff;
    font-size: 22px !important;
}

header {
    /*  Estilo etiqueta header */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    transition: 0.7s;
    padding: 30px 20px;
    z-index: 10;
}

.container {
    /*  espaciado container entre menu  */
    margin-top: 15px;
    /* Espacio superior deseado #484e53*/
}

.navbar-nav {
    display: flex !important;
    justify-content: center !important;
}

.bg-dark {
    background-color: #484e53 !important;
    /* Cambia el color de fondo del menu que traia por default */
}



/*--------------------------------------------------------------
  # Navigation Menu
  --------------------------------------------------------------*/

.primera-opcion {
    border-bottom: 2px solid orange;
    /* Linea activa de menu naranja */
}

@media (max-width: 768px) {

    /* Estilos específicos para dispositivos móviles con un ancho máximo de 768px */
    .navbar {
        background-color: #484e53 !important;
        /* Cambiar el color de fondo en dispositivos móviles */
    }
}

.navbar-nav,
.navbar-nav * {
    margin: 0;
    padding: 0;
    list-style: none;
}

.navbar-nav ul {
    position: absolute;
    display: none;
    top: 100%;
    left: 0;
    z-index: 99;
}

.navbar-nav li {
    position: relative;
    white-space: nowrap;
}

.navbar-nav>li {
    float: left;
}

.navbar-nav li:hover>ul,
.navbar-nav li.sfHover>ul {
    display: block;
}

.navbar-nav ul ul {
    top: 0;
    left: 100%;
}

.navbar-nav ul li {
    min-width: 180px;
}

.sf-arrows .sf-with-ul {
    padding-right: 30px;
}

.sf-arrows .sf-with-ul:after {
    content: "\f107";
    position: absolute;
    right: 15px;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
}

.sf-arrows ul .sf-with-ul:after {
    content: "\f105";
}

#navbar-nav-container {
    float: right;
    margin: 0;
}

@media (max-width: 1000px) {
    #navbar-nav-container {
        display: none;
    }
}

.navbar-nav a {
    padding: 0 8px 10px 8px;
    text-decoration: none;
    display: inline-block;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 17px;
    /*15*/
    outline: none;
    font-weight: bold;
}

.navbar-nav>li {
    margin-left: 10px;
}

.navbar-nav>li>a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #f09000;
    visibility: hidden;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

.navbar-nav a:hover:before,
.navbar-nav li:hover>a:before,
.navbar-nav .menu-active>a:before {
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

.navbar-nav ul {
    margin: 4px 0 0 0;
    border: 1px solid #e7e7e7;
}

.navbar-nav ul li {
    background: #fff;
}

.navbar-nav ul li:first-child {
    border-top: 0;
}

.navbar-nav ul li a {
    padding: 10px;
    color: #333;
    /*#333*/
    transition: 0.3s;
    display: block;
    font-size: 13px;
    text-transform: none;
}

.navbar-nav ul li a:hover {
    background: #f09000;
    color: #fff;
}

.navbar-nav ul ul {
    margin: 0;
}


/***  ***/

#boton_leermas {
    background-color: #764c26 !important;
    border: none !important;
}

.titles_style {
    color: #333;
    font-weight: 700;
    font-size: 32px;
}

.paragrahp_style {
    font-weight: 400;
    font-family: "Open Sans", sans-serif;
    color: #343a40 !important;
    box-sizing: border-box;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: justify !important;
    font-size: 17px;
    line-height: 26px;
    margin-bottom: 0;
}








/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {

    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {

    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text {
    border: 5px solid var(--light);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 700px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

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


/* Agenda
--------------------------------*/
#agenda {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url(../img/edificios/SantaElena.jpg) fixed center center;
    background-size: cover;
    padding: 90px 0;
}

#agenda .cta-title {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}

#agenda .cta-text {
    color: #fff;
}

@media (min-width: 769px) {
    #agenda .cta-btn-container {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
}

#agenda .cta-btn {
    font-family: "Poppins", sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 8px 30px;
    border-radius: 50px;
    transition: 0.5s;
    margin: 10px;
    border: 2px solid #fff;
    color: #fff;
}

#agenda .cta-btn:hover {
    background: #f09000;
    border: 2px solid #f09000;
}



/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-container {
    background-color: var(--color-primary);
    height: 100%;
    padding: 20px;
    border-radius: 10px 0 0 10px;
    box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
}

.contact .info-item {
    width: 100%;
    background-color: #343b40e6;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 10px;
    color: #fff;
}

.contact .info-item:last-child {
    margin-bottom: 0;
}

.contact .info-item i {
    font-size: 25px !important;
    color: #fff;
    float: left;
    width: 44px;
    height: 44px;
    background-color: #f09000;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
    margin-right: 15px;
}

.contact .info-item h4 {
    padding: 0;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact .info-item p {
    padding: 0;
    margin-bottom: 0;
    font-size: 14px;
}

.contact .info-item:hover i {
    background: #343b40e6;
    color: var(--color-primary);
}

.contact .form_contact {
    width: 100%;
    height: 100%;
    background: #fff;
    box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border-radius: 0 10px 10px 0;
}

.contact .form_contact .form-group {
    padding-bottom: 8px;
}

.contact .form_contact .error-message {
    display: none;
    color: #fff;
    background: #df1529;
    text-align: left;
    padding: 15px;
    font-weight: 600;
}

.contact .form_contact .error-message br+br {
    margin-top: 25px;
}

.contact .form_contact .sent-message {
    display: none;
    color: #fff;
    background: #059652;
    text-align: center;
    padding: 15px;
    font-weight: 600;
}

.contact .form_contact .loading {
    display: none;
    background: #fff;
    text-align: center;
    padding: 15px;
}

.contact .form_contact .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid#343b40e6;
    border-top-color: #fff;
    -webkit-animation: animate-loading 1s linear infinite;
    animation: animate-loading 1s linear infinite;
}

.contact .form_contact input,
.contact .form_contact textarea {
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
}

.contact .form_contact input[type=text],
.contact .form_contact input[type=email],
.contact .form_contact textarea {
    padding: 12px 15px;
}

.contact .form_contact input[type=text]:focus,
.contact .form_contact input[type=email]:focus,
.contact .form_contact textarea:focus {
    border-color: var(--color-primary);
}

.contact .form_contact textarea {
    padding: 10px 12px;
}

.contact .form_contact button[type=submit] {
    background: #343b40e6;
    border: 0;
    padding: 14px 45px;
    color: #fff;
    transition: 0.4s;
    border-radius: 50px;
}

.contact .form_contact button[type=submit]:hover {
    background: #f09000;
}

/*** Footer ***/
.footer {
    /*background: linear-gradient(rgba(53, 53, 53, .7), rgba(53, 53, 53, .7)), url() center center no-repeat;*/
    background-color: #484e53;
    background-size: cover;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    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;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

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

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




 /*** Estilo del botón Back to Top ***/
 #btn-back-to-top { 
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #f09000;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
  }
  
  /* Estilo del botón al hacer hover */
  #btn-back-to-top:hover {
    background-color: #ffcc02;
  }

  #darkseccion_nav {
    width: 100%;
    height: 26vh;
   background-color: #484e53;
   background-size:100% 100%;
  
  } 


  #darkseccion_nav .darksecc-container {
    position: absolute;
    bottom: 0;
    /*top: 10px;*/
    top: 0;
    /*left: 30px;*/
    left:0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
  }



/*** Adise Header ***/
.page-header {
    background: linear-gradient(rgba(53, 53, 53, .7), rgba(53, 53, 53, .7)),
    url(../img/edificios/Bosque_Nuboso_head.png ) center center no-repeat;/*"{% static 'img/edificios/Bosque_Nuboso_head.png' %}"*/
    background-size: cover;
    padding: 150px 0;
}


/*** Santa Elena Header ***/
.page-header2 {
    background: linear-gradient(rgba(53, 53, 53, .7), rgba(53, 53, 53, .7)),
    url(../img/edificios/Santa_Elena_Collage.png) center center no-repeat;/*"{% static 'img/edificios/Bosque_Nuboso_head.png' %}"*/
    background-size: cover;
    padding: 150px 0;
}




/*--------------------------------------------------------------
# adise Section
--------------------------------------------------------------*/
.adise h3 {
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 20px;
    font-family: var(--font-secondary);
}

.adise .call-us {
    left: 10%;
    right: 10%;
    bottom: 0;
    background-color: #fff;
    box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.08);
    padding: 20px;
    text-align: center;
}

.adise .call-us h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.adise .call-us p {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary);
}

.adise .content ul {
    list-style: none;
    padding: 0;
}

.adise .content ul li {
    padding: 0 0 10px 30px;
    position: relative;
}

.adise .content ul i {
    position: absolute;
    font-size: 20px;
    left: 0;
    top: -3px;
    color: var(--color-primary);
}

.adise .content p:last-child {
    margin-bottom: 0;
}

.adise .play-btn {
    width: 94px;
    height: 94px;
    background: radial-gradient(var(--color-primary) 50%, rgba(0, 131, 116, 0.4) 52%);
    border-radius: 50%;
    display: block;
    position: absolute;
    left: calc(50% - 47px);
    top: calc(50% - 47px);
    overflow: hidden;
}

.adise .play-btn:before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
    -webkit-animation: pulsate-btn 2s;
    animation: pulsate-btn 2s;
    -webkit-animation-direction: forwards;
    animation-direction: forwards;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: steps;
    animation-timing-function: steps;
    opacity: 1;
    border-radius: 50%;
    border: 5px solid rgba(0, 131, 116, 0.7);
    top: -15%;
    left: -15%;
    background: rgba(198, 16, 0, 0);
}

.adise .play-btn:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-40%) translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #fff;
    z-index: 100;
    transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.adise .play-btn:hover:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-40%) translateY(-50%);
    width: 0;
    height: 0;
    border: none;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #fff;
    z-index: 200;
    -webkit-animation: none;
    animation: none;
    border-radius: 0;
}

.adise .play-btn:hover:after {
    border-left: 15px solid var(--color-primary);
    transform: scale(20);
}

@-webkit-keyframes pulsate-btn {
    0% {
        transform: scale(0.6, 0.6);
        opacity: 1;
    }

    100% {
        transform: scale(1, 1);
        opacity: 0;
    }
}

@keyframes pulsate-btn {
    0% {
        transform: scale(0.6, 0.6);
        opacity: 1;
    }

    100% {
        transform: scale(1, 1);
        opacity: 0;
    }
}




    /*** junta-directiva ***/
    .team-item img {
        transition: .5s;
    }

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

    .team-item .team-social {
        position: absolute;
        width: 38px;
        top: 50%;
        left: -38px;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        background: #FFFFFF;
        transition: .5s;
    }

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

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

    .team-item:hover .team-social {
        left: 0;
    }




/*** Objetivos - Inaguración  ***/
.basic-1 {
    padding-top: 6.875rem;
}

.basic-1 .text-container {
    margin-bottom: 0;
}


/**************************************/
/********* Sobre Casa Toyopan *********/
/**************************************/
.about,
.single {
    position: relative;
    padding: 90px 0 60px 0;
    background: #ffffff;
}

.about .col-md-12,
.about .col-md-6,
.single .col-md-12,
.single .col-md-6 {
    margin-bottom: 30px;
}

.about .about-img,
.single .single-img {
    position: relative;
    overflow: hidden;
}

.about .about-img img,
.single .single-img img {
    width: 100%;
}

.about .about-content,
.single .single-content {
    position: relative;
    width: 80%;
    margin: -100px auto 0 auto;
    padding: 30px;
    background: #ffffff; 
}

.about .about-content h2,
.single .single-content h2 {
    font-size: 25px;
    font-weight: 700;
}

.about .about-content p,
.single .single-content p {
    font-size: 18px;
    font-weight: 300;
}

.about .btn,
.single .btn {
    font-size: 14px;
    letter-spacing: 1px;
    color: #ffffff;
    background: #999999;
    border-radius: 0;
}

.about .btn:hover,
.single .btn:hover {
    background: #4F84C4;
}

/**************************************/
/******** Sobre Casa Toyopan **********/
/**************************************/
.section-header {
    position: relative;
    max-width: 700px;
    margin: 0 auto 60px auto;
    padding-bottom: 25px;
}

.section-header h2 {
    color: #666666;
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 6px;
    text-align: center;
}

.section-header::after {
    content: '';
    position: absolute;
    display: inline-block;
    width: 100px;
    height: 5px;
    background: #cccccc;
    border-radius: 0 0 5px 5px;
    bottom: 0;
    left: calc(50% - 50px);
}

.section-header p {
    font-size: 17px;
    font-weight: 300;
    text-align: center;
    margin: 0;
}


.parrafo_adise {
    font-size: 17px;
    font-weight: 300;
    text-align: center;
    margin: 0;
}

/*--------------------------------------------------------------
# Acerca ADISE  Section
--------------------------------------------------------------*/
.accordion .accordion-title {
    display: inline-block;
    width: 50%;
    margin-top: 0.125rem;
    margin-bottom: 0.25rem;
    color: #484a46;
    font: 700 1.1rem/1.75rem "Montserrat", sans-serif;
    vertical-align: middle;
    cursor: pointer;
    transition: all 0.2s ease;
}

.accordion .accordion-item:hover .accordion-title {
    color: #f09000;
}

.accordion span[aria-expanded="true"] .accordion-title {
    color: #f09000;
}


/*--------------------------------------------------------------
# Recent Blog Posts Section
--------------------------------------------------------------*/
.recent-posts article {
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
background-color: #fff;
padding: 30px;
height: 100%;
border-radius: 10px;
overflow: hidden;
}

.recent-posts .post-img {
max-height: 240px;
margin: -30px -30px 15px -30px;
overflow: hidden;
}

.recent-posts .post-category {
font-size: 16px;
color: #6f6f6f;
margin-bottom: 10px;
}

.recent-posts .title {
font-size: 22px;
font-weight: 700;
padding: 0;
margin: 0 0 20px 0;
}

.recent-posts .title a {
color: var(--color-default);
transition: 0.3s;
}

.recent-posts .title a:hover {
color: var(--color-primary);
}

.recent-posts .post-author-img {
width: 50px;
border-radius: 50%;
margin-right: 15px;
}

.recent-posts .post-author {
font-weight: 600;
margin-bottom: 5px;
}

.recent-posts .post-date {
font-size: 14px;
color: #3c3c3c;
margin-bottom: 0;
}




    /* Hover Animation */
    .basic-1 .image-container {
        overflow: hidden;
        border-radius: 0.25rem;
    }
    
    .basic-1 .image-container img {
        margin: 0;
        border-radius: 0.25rem;
        transition: all 0.3s;
    }
    
    .basic-1 .image-container:hover img {
        -moz-transform: scale(1.15);
        -webkit-transform: scale(1.15);
        transform: scale(1.15);
    } 
    /* end of hover animation */






    /*** GALERIA DE HONOR ***/
    .card-size {
        width: 300px;
        height: 500px;
    }

    .card-img-overlay {
        transition: all 0.3s ease;
        opacity: 0;
    }

    .card:hover .card-img-overlay {
        opacity: 1;
    }

    .card-img-overlay img {
        display: none;
    }

    .card-img-overlay.active-img img {
        display: block;
    }

    .card-img-overlay img.black-ribbon {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 50px;
    }


    /* Estilo para la tarjeta */
    .card {
        position: relative;
        overflow: hidden;
    }

    /* Estilo para la imagen de la tarjeta */
    .card-img-top {
        transition: all 0.3s ease;
    }

    /* Estilo para el lazo negro */
    .card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    /* Estilo para el lazo negro cuando se pasa el mouse sobre la tarjeta */
    .card:hover::before {
        opacity: 1;
    }

    /* Estilo para el texto dentro de la tarjeta */
    .card-text {
        position: absolute;
        text-align: justify;
        padding-right: 20px;
        color: #000000;
        pointer-events: none;
    }

    .card-text-lazo {
        position: absolute;
        bottom: 10px;
        left: 10px;
        text-align: justify;
        padding-right: 20px;
        color: #ffffff;
        pointer-events: none;
    }

    /* Estilo para el lazo negro transparente en la esquina superior derecha */
    .card::after {
        content: "";
        position: absolute;
        top: 10px;
        right: 10px;
        width: 50px;
        height: 50px;
        background-image: url(../img/galeriadehonor/lazo_negro.png); /*"{% static 'img/galeriadehonor/lazo_negro.png' %}"*/
        background-size: cover;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

  
    /* Estilo para el lazo negro transparente cuando se pasa el mouse sobre la tarjeta */
    .card:hover::after {
        opacity: 1;
    }


 




    /*** Cards Junta Directiva***/
    .miembro {
        margin-bottom: 20px;
      }
      
      .info-miembro p{
          font-size: 22px;
      }
      
      .info-miembro h3{
          font-size: 25px;
      }
      
      .foto-miembro {
        width: 200px;
        height: 200px;
        border-radius: 500%;
        margin-left: 50px;
      }
      
      .info-miembro {
        margin-top: 10px;
      }


          /* Estilos específicos para dispositivos móviles */
    @media (max-width: 767px) {
        .mobile-style {
          /* Agrega aquí los estilos que deseas aplicar al div en dispositivos móviles */
          /*background-color: lightgray;*/
          text-align: center;
         
          /* Agrega otros estilos aquí */
        }
      }


    .tamaño_img_santaelena {
        height: 600px;
        object-fit: cover; 
    }

    /* Estilos para dispositivos móviles con un ancho máximo de 768px */
@media (max-width: 768px) {
    .carousel img {
      height: 300px; /* autoEsto permitirá que la altura de las imágenes se ajuste automáticamente */
      max-width: 100%; /* Asegura que la imagen no se desborde del carrusel */
    }
  }
  

  

  /* Estilos para el caption del carrusel en dispositivos móviles con un ancho máximo de 768px */
@media screen and (max-width: 768px) {
    .carousel-caption {
      background-color: #00000047; /* Fondo semi-transparente para mejorar la legibilidad */
      bottom: 0 !important;/* Colocar el caption en la parte inferior del carrusel */
      left: 0 !important;
      right: 0 !important;
      padding: 15px !important;
      z-index: 10 !important; /* Asegurar que el caption esté por encima de la imagen */
      display: flex !important; /* Asegurar que el contenido esté alineado verticalmente */
      align-items : center !important;
      justify-content: center !important;
    }
  
    .carousel-caption h5 {
      font-size: 18px !important; /* Tamaño de fuente adecuado para dispositivos móviles */
      color: #fff !important; /* Color del texto */
      text-align: center !important; /* Centrar el texto */
      margin: 0 !important; /* Eliminar márgenes para que el texto esté bien alineado */
    }
  }

  
/*--------------------------------------------------------------
# Junta Directiva Section
--------------------------------------------------------------*/
/*
.miembro {
    margin-bottom: 20px;
  }
  
  .info-miembro p{
      font-size: 22px;
  }
  
  .info-miembro h3{
      font-size: 25px;
  }
  
  .foto-miembro {
    width: 100px;
    height: 100px;
    border-radius: 50%;
  }
  
  .info-miembro {
    margin-top: 10px;
  }
*/