/*Fuentes*/
@font-face {
    font-family: 'Circular Std Book';
    src: url('fonts/CircularStd-Book.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/*Configuraciones globales*/
a{
    text-decoration: none !important;
    color: black;
}
header{
	border-bottom: 3px solid #1a7d3d;
}
summary {
    list-style: none;
    cursor: pointer;
}
summary::-webkit-details-marker {
    display: none;
}
summary:focus {
    outline: none;
    border: none;
}
summary.disabled {
    pointer-events: none;
    cursor: default;
}
.mob-only{
    display: none;
}
.arr-v {
    transition: transform 0.3s ease;
    display: inline-block;
}
details[open] .arr-v {
    transform: rotate(180deg);
}
.p20{
    font-size: 20px;
}
.vert{
    color: #1a7d3d;
}


/*Pagina de inicio*/
.width_1360px{
    max-width: 1360px;
    margin: 0 auto;
}
.e_container{
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

.e_column_logo {
    flex: 0 0 auto; /* tamaño fijo para el logo */
}

.logo_content img{
    max-width: 250px;
}

.e_column_content {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* alinea contenido a la derecha */
}

.e_column_contact {
    margin: 15px 0;
    text-align: right;
    font-family: 'Circular Std Book', sans-serif;
}

.e_column_menu ul{
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #fff;
}

.e_column_menu .e_menunv1 {
    display: flex;
    font-family: 'Circular Std Book', sans-serif;
    gap: 20px;
    position: relative;
    z-index: 99;
}

.e_column_menu .e_menunv2 {
    position: absolute;
    top: 24px;
    width: 200px;
    padding: 10px 5px 5px;
}

.e_column_menu .e_menunv2 li{
    padding: 5px 0;
}

.e_column_menu a {
    color: #333;
}

.e_column_menu a:hover, .e_column_menu li:hover {
    color: #1a7d3d; /* color cuando el cursor está encima */
}

.e_telephone{
    font-size: 26px;
    color: #1a7d3d;
    margin-bottom: 5px;
}

.e_horario{
    color: #c17a3a;
}

.btn-mob{
    width: 40px;
    height: 40px;
}
.navbar-toogle{
    font-size: 40px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    color: #1a7d3d;
    text-align: center;
    justify-content: center;
    padding: 5px 0; /* Asegura área táctil suficiente */
    margin: 0;
}
.navbar-toogle i {
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.navbar-toogle i.shrink {
    transform: scale(0);
    opacity: 0;
}
.navbar-toogle i.grow {
    transform: scale(1);
    opacity: 1;
}
.navbar-toogle:focus,
.navbar-toogle:active{
    outline: none;
    box-shadow: none;
}


@media screen and (max-width: 767px) {
    summary{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .desk-only{
        display: none;
    }
    .mob-only{
        display: flex;
    }
    .logo_content img{
        max-width: 100px;
    }
    .e_column_menu .e_menunv1 {
        display: block;
        width: 100%;
        position: absolute;
        left: 0;
        top: 75px;
        padding: 10px;
    }
    .e_column_menu .e_menunv2 {
        width: 100%;
        position: initial;
        border-top: 1px solid gray;
        padding: 0;
    }
    .e_column_menu .e_menunv1 li {
        padding: 5px 0;
    }
    .e_column_contact {
        margin: 5px 0;
        text-align: left;
    }
}

/*Datos del carrousel 1*/
#carousel_ind01 li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background-color: white;
    opacity: 0.7;
    margin: 0 5px;
    transition: all 0.3s ease;
}
#carousel_ind01 .active {
    background-color: transparent;
    opacity: 1;
}

#cprev_01,
#cnext_01 {
    background-size: 50% 50%; /* reduce el tamaño del ícono */
    border-radius: 50%; /* círculo */
    width: 40px;
    height: 40px;
    border: 2px solid #fff; /* contorno del círculo */
    background-position: center;
    background-repeat: no-repeat;
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

#cprev_01:hover,
#cnext_01:hover {
    background-color: rgb(26, 125, 61, 0.7); /* 0.7 es la opacidad */
    border-color: white;
}

#cprev_01 {
    left: 20px; /* más cerca del borde izquierdo */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

#cnext_01 {
    right: 20px; /* más cerca del borde derecho */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}


@media screen and (max-width: 1050px) and (orientation: portrait) {

    .viewport01 {
        width: 100%;
        padding-top: 70%;
        overflow: hidden;
        position: relative;
    }

    .pan-img00, .pan-img01 {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: auto !important;
        min-width: 100%;
    }

    .pan-img01{
        animation: panRight 5s ease-in-out forwards;
    }

    @keyframes panRight {
        from {
            transform: translateX(0%);
        }
        to {
            transform: translateX(-40%); /* Ajusta según el ancho real de tu imagen */
        }
    }
}

/*Datos del primer contenedor*/
.c_container {
    display: flex;
    justify-content: space-between;
}
.c_column{
    width: 50%;
    text-align:justify;
    padding: 0 5px;
    margin: 5px 0;
}
.s_column{
    padding: 0 5px;
}

@media screen and (max-width: 767px) {
    .c_container {
        display: block;
    }
    .c_column{
        width: 100%;
    }
}

/*Datos del carousel 2*/
.swiper {
    width: 100%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
}
.swiper-button-next, .swiper-button-prev {
    outline: none;
    padding: 10px;
}
.swiper-button-prev .swiper-navigation-icon{
    transform: rotate(180deg) !important; /*Corrige un problema de la flecha en movil*/
}
.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #444;
    display: flex;
    justify-content: center;
    align-items: center;
}
.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.swiper-slide {
    background-size: cover;
    background-position: center;
}
.mySwiper2 {
    height: auto;
    width: 100%;
    cursor: grab;
}
.carousel_02 {
    height: 20%;
    box-sizing: border-box;
    padding: 10px 0;
}
.carousel_02 .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.6;
}
.carousel_02 .swiper-slide-thumb-active {
    opacity: 1;
}

/*Datos del segundo contenedor y los demas*/
.col-md-4, .col-md-12{
    text-align:justify;
    margin: 5px 0;
    padding: 0 5px;
}
.img_tiny1 img{
    width: 100%;
    max-width: 300px;
}
.custom_background{
    background-image: url(img/Background_01.png);
    background-repeat: no-repeat;
    background-size: cover;
}
.ofedu_01{
    height: 500px;
}
.irfb-btn-wrap1 .irfb-btn, .irfb-btn-wrap1 .irfb-btn:hover{
    color: white;
}
.irfb-btn-wrap2 .irfb-btn, .irfb-btn-wrap2 .irfb-btn:hover{
    color: #1a7d3d;
}
.irfb-btn, .irfb-btn:hover {
    font-weight: 700;
    text-transform: uppercase;
    background-color: #61CE7000;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-radius: 8px 8px 8px 8px;
    padding: 8px 20px;
}
.img_post {
    width: 100%;
    max-width: 400px;
    position: relative;
    overflow: hidden;
    margin: 10px auto;
}

/* truco: padding-top = (alto/ancho)*100% = (3/4)*100% = 75% */
.img_post::before {
    content: "";
    display: block;
    padding-top: 75%; /* mantiene 4:3 */
}

.img_post img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease; /* transición suave */
}
.img_post img:hover {
    opacity: 0.7; /* más pálida al pasar el cursor */
}
.title_post a:hover {
    color: #1a7d3d !important; /* color cuando el cursor está encima */
}
.text-prev {
    display: -webkit-box;            /* caja flexible para WebKit */
    -webkit-box-orient: vertical;    /* orientación vertical */
    -webkit-line-clamp: 3;           /* número de líneas visibles */
    overflow: hidden;                /* oculta el resto */
}


@media screen and (max-width: 767px) {
    .custom_background {
        background-image: url(img/Background_01m.png);
    }
    .ofedu_01{
        height: auto;
        padding: 5px 0;
    }
    .irfb-button-wrapper{
        padding-bottom: 30px;
    }
}

/*Footer*/
footer{
    background-image: url(img/Background_01.png);
    background-repeat: no-repeat;
    background-size: cover;
}
.footer-container{
    padding-top: 10rem;
    max-width: 1360px;
    margin: 0 auto;
}
.row_footer{
    display: flex;
    flex-wrap: wrap;
    margin-right: 10px;
    margin-left: 10px;
    color: #fff;
}
.ic .footer-title, .cs-text-01, .cs-text-02{
    color: #fff;
    letter-spacing: -0.2px;
}
.cs-img-01{
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 2rem;
}
.footer-title, .footer-logo {
    font-size: 1.05rem;
    line-height: 1.5;
}
.footer-title{
    font-weight: 500;
    background-image: url(img/separator.png);
    background-repeat: no-repeat;
    background-position: bottom left;
    padding-bottom: 2px;
}
.cs-text-01{
    font-size: 1.2rem;
}
.cs-text-02:hover {
    color: #fff;
}
.footer-menu-linklist{
    list-style-type: none;
    padding: 0;
}
.footer-menu-element{
    padding: 5px 0;
}
.footer-svg-element, .footer-pol-element{
    display: inline-block;
    margin: 0 3px;
}
.footer-svg-element .ic {
    transition: transform 0.3s ease;
}
.footer-svg-element .ic:hover{
    transform: translateY(-3px); /* Lo alza ligeramente */
}
.footer-svg-element a, .footer-svg-element a:hover{
    color: white;
}
.copyright{
    border-top: 1px solid #fff !important
}
.copyright, .policies{
    padding: 10px 10px;
    text-align: center;
    color: white;
}
.cs-img-02{
    width: 100%;
    max-width: 120px;
}

.video-container {
    position: relative;
    width: 100%;          /* ocupa todo el ancho disponible */
    padding-bottom: 56.25%; /* 16:9 → (360/640)*100 = 56.25% */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
}

.img_page, .img_page img {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.img_c1{
    max-width: 1000px;
}

.img_c2{
    max-width: 600px;
}
#contact{
    display:none;
}


@media screen and (max-width: 720px) {
    .footer-pol-element{
        display: block;
        padding: 5px 0;
    }
    #contact{
        position:fixed;
        max-width: 80px;
        bottom: 15px;
        right: 15px;
        display: inline-flex; /* mantiene el contenido centrado */
        align-items: center;
        justify-content: center;
        width: 150px; /* tamaño del círculo */
        background-color: green;
        border: 5px solid green; /* color y grosor del borde */
        border-radius: 50%;
        z-index: 50;
    }
    #contact img{
        width: 100%;
        height: auto;
    }

}