/*:root {*/
/*    --pye_verde: rgb(119, 188, 31);*/
/*    --pye_amarillo: rgb(255, 163, 0);*/
/*    --pye_azul: rgb(29, 65, 137);*/
/*    --pye_rojo: rgb(216, 38, 46);*/
/*    --pye_negro: rgb(35, 31, 32);*/

/*}*/

:root {
    --pye_azul: #013281;
    --pye_verde: #a0d688;
    --pye_amarillo: #fad155;

    --pye_amarillo_oscuro: #f9b858;
    --pye_rojo: #f93548;
    --pye_rojo_oscuro: #c9233b;
    --pye_naranja: #ff9a4a;
    --pye_celeste: #1e86ff;
    --pye_verde_oscuro: #40ad6f;
    --pye_lila: #9d62da;
    --pye_rosado: #cc60b5;
    --pye_negro: rgb(35, 31, 32);
    --pye_blanco: #F0F7F7;
}

.inter-pyeduca {
    font-family: "Public Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

body {
    height: 100%;
    margin: 0;
    overflow-x: hidden;
    font-family: "Public Sans", sans-serif !important;
    font-optical-sizing: auto;
    font-style: normal;
}

body {
    display: flex;
    flex-direction: column;
}

html {
    scroll-behavior: smooth;
}

.text_pye_item {
    color: var(--pye_negro);
}

.text_portal {
    padding: 5px 10px !important;
    font-size: 15px !important;
    font-weight: bold !important;
}

.container_pyeduca {
    max-width: calc(100vw - 15vw);
    margin: auto;
    flex: 1;
}

.btn_pyeduca {
    color: white !important;
    margin: auto;
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 25px;
}

.btn_portalmeta {
    color: white;
    margin: auto;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 25px;
    background-color: var(--pye_azul);
}

.bg_pyeduca {
    background-image: url(/static/pyeduca/images/fondo_noticias_2.png) !important;
    background-repeat: space;
    background-position: unset;
    background-size: cover;
    background-color: var(--pye_celeste);
    width: 100%;
    height: 100%;
    min-height: 700px;
    border-radius: 20px;
}

.width_item_pyeduca {
    width: 40px;
}

.dotted_azul {
    border-right: 5px dotted var(--pye_azul);
}

.column-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.menu_desktop_pye {
    display: block;
}

.justificado {
    text-align: justify;
}


.menu_mobile_pye {
    display: none;
}

.rowbtn {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}

.itembtn {
    display: flex;
    flex-direction: column;
}

#div1 {
    order: 1;
}

#div2 {
    order: 2;
}

#div3 {
    order: 3;
}

#div4 {
    order: 4;
}

.pd_pyeduca {
    padding: 50px;
    width: 70vw;
}

.justify_content {
    justify-content: left !important;
    margin-left: 3vw;
}

.mg_li {
    margin-bottom: 0;
}

.mg_li::before {
    content: none;

}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/*.custom-animated.custom-fadeInDown {*/
/*    animation: fadeInDown 1s ease-out;*/
/*}*/


.custom-box:nth-child(3n+1) {
    animation-delay: 0s;
}

.custom-box:nth-child(3n+2) {
    animation-delay: 0.3s;
}

.custom-box:nth-child(3n+3) {
    animation-delay: 0.6s;
}

.custom-box:nth-child(n+4):nth-child(-n+6) {
    animation-delay: 1s;
}

.custom-box:nth-child(n+5):nth-child(-n+7) {
    animation-delay: 1.3s;
}

.custom-box:nth-child(n+6):nth-child(-n+8) {
    animation-delay: 1.6s;
}


/* Estilos del contenedor */
.custom-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
}

.custom-box {
    /*margin: 20px;*/
    /*padding: 20px;*/
    /*border: 1px solid #ccc;*/
    /*border-radius: 8px;*/
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
    width: calc(33.33% - 40px);
    /*background-color: #fff;*/
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInDown 1s forwards;
    max-width: 25vw;
    padding: 3vw;
}

/*.custom-box:hover {*/
/*    transform: translateY(-10px);*/
/*    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);*/
/*}*/

.custom-inner {
    display: flex;
}

.custom-inner-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.custom-button {
    margin-top: auto;
    margin-bottom: 50px;
    /*  margin-bottom: 20px;*/
    /*margin-top: 30px;*/
}

.custom-image img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.custom-heading h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
}

/*.custom-text {*/
/*    padding: 2vw;*/
/*}*/

.custom-text p {
    font-size: 1em;
    /*color: #666;*/
    margin-bottom: 15px;
}

.custom-text_project {
    margin-bottom: 30px;
}

.custom-text_project p {
    color: white;
}

.custom-btn {
    padding: 10px 20px;
    background-color: transparent;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    border: 2px solid white;
}

.custom-btn:hover {
    background-color: white;
    text-decoration: none;
    color: var(--pye_negro);
}

.an_box_newspye {
    margin-bottom: 0;
    border-radius: 8px;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-width: 500px;
}

.p_summary {
    font-size: 20px;
    margin-top: 3px !important;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-weight: normal;
}

.height_div_b {
    height: 950px;
}

.height_div_nb {
    height: 700px !important;
}

.custom-text_project {
    height: 300px;
}

.beneficiarios_box {
    height: 160px;
    margin: 10px 0 0 0;
}

.beneficiarios_box > p {
    margin: auto;
}

.btn_info {
    text-align: center;
    margin: 10px;
}

.div_menu {
    margin: auto !important;
    justify-content: center;
    display: flex;
}

.div_contacto {
    border-radius: 8px 8px 0 0;
    height: 100%;
    margin: auto 20vw !important;
    min-height: 20vh;
}

.div_direction {
    margin: 20vh auto !important;
    text-align: center;
    color: var(--pye_blanco);
}

.span_contac_text {
    text-align: center; margin: 0 auto 10vh;color: white;font-size: 25px;
}

.div_iframe_form {
    background-color: var(--pye_amarillo_oscuro);
    border-radius: 25px;
    margin: 10px;
    transform: scale(0.9);
}

@media (max-width: 991px) {
    #div1 {
        order: 1;
    }

    #div3 {
        order: 2;
    }

    #div2 {
        order: 3;
    }

    #div4 {
        order: 4;
    }

    .div_direction {
        margin: 5vh auto !important;
    }

    .div_iframe_form {
        transform: none;
        height: 1800px!important;
    }
}

@media (max-width: 1200px) {
    .width_item_pyeduca {
        width: 50px;
    }

    .pd_pyeduca {
        width: 90vw;
    }

    .an_box_newspye {
        max-width: 100%;
    }
}

@media (max-width: 1130px) {
    .text_item_py {
        font-size: 15px;
    }
}

@media (max-width: 1128px) {
    .menu_desktop_pye {
        display: none;
    }

    .menu_mobile_pye {
        display: block;
    }
}

@media (max-width: 1000px) {
    .btn_pyeduca {
        font-size: 20px;
    }

    .p_summary {
        -webkit-line-clamp: 2;
        display: -webkit-box !important;
    }
}

@media (max-width: 991px) {
    .mrg_top {
        margin-top: 20px;
    }

    .div_menu {
        margin-top: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
}

@media (max-width: 800px) {
    .justify_content {
        margin-left: 0;
    }

}

@media (max-width: 767px) {
    .dotted_azul {
        border-right: none;
        border-bottom: 5px dotted var(--pye_azul);
    }

    .custom-box {
        width: calc(50% - 40px);
    }

    .custom-box:nth-child(2n+1) {
        animation-delay: 0s;
    }

    .custom-box:nth-child(2n+2) {
        animation-delay: 0.3s;
    }

    .p_summary {
        -webkit-line-clamp: 3;
        display: -webkit-box !important;
    }

    /*.height_div_b {*/
    /*    height: 1000px*/
    /*}*/
    /*.height_div_nb {*/
    /*    height: 800px*/
    /*}*/
}

@media (max-width: 480px) {
    .custom-box {
        width: 100%;
    }

    .custom-box:nth-child(1) {
        animation-delay: 0s;
    }

    .custom-box:nth-child(2) {
        animation-delay: 0.3s;
    }

    .custom-box:nth-child(3) {
        animation-delay: 0.6s;
    }
}

@media (max-width: 450px) {
    .pd_pyeduca {
        padding: 10px;
    }

    .p_summary {
        -webkit-line-clamp: 2;
        display: -webkit-box !important;
    }
}


@media (max-width: 767px) {
    .custom-box {
        height: auto !important;
    }
}

@media (min-width: 768px) {
    .custom-box {
        height: 900px;
    }

}

@media (max-width: 768px) {
    .custom-text_project {
        height: 250px;
    }

    .div_benef {
        display: flex;
    }

    .beneficiarios_box {
        height: 160px;
        margin: auto !important;
    }
}

@media (max-width: 500px) {
    .custom-text_project {
        height: 350px;
    }

    .btn_info {
        margin: 30px 0;
    }

    .custom-inner {
        margin: 0 !important;
    }
}
