body[data-header-resize="0"] .container-wrap, body[data-header-resize="0"] .project-title {

    padding-top: 0px !important;
}

#ajax-content-wrap {
    margin-top: -135px;
}

@media only screen and (max-width: 999px){
    #ajax-content-wrap {
    margin-top: -44px;
    }
}

div#header-outer {
    background: transparent !important;
}

div#header-outer.BG_Negro{
    background: #000 !important;
}

#header-outer[data-box-shadow="large"], body.material[data-hhun="1"] #header-outer[data-header-resize="0"][data-box-shadow="large"][data-remove-fixed="0"]:not(.transparent):not(.invisible), body.material[data-hhun="1"] #header-outer[data-header-resize="0"][data-box-shadow="large"][data-remove-fixed="1"]:not(.transparent) {
    box-shadow: none !important;
}

body #header-outer.scrolling, body[data-header-color="dark"] #header-outer.scrolling {
    background-color: #000 !important
}

body #header-outer #top nav > ul > li > a{
    color: #fff !important;
    opacity: 0.75 !important ;
}

body #header-outer #top nav > ul > li > a:hover{
    opacity: 1 !important ;
}

body .ocm-effect-wrap #header-outer[data-lhe="default"] #top nav .sf-menu > .current-menu-item > a, body .ocm-effect-wrap #header-outer[data-lhe="default"] #top nav .sf-menu > .current_page_item > a{
    color: #FF6633 !important;
}

#Cabecera {
    height: 100vh;
    justify-content: center;
    align-items: center;
}

#Cabecera .Background {
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: 1;
}

#Cabecera .Background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#Cabecera .BOX-Titulo {
    z-index: 1;
    text-align: center;
    padding: 0px 40px;
}

#Cabecera .BOX-Titulo h1 {
    color: #fff;
    font-size: 90px;
    line-height: 95px;
    position: relative;
}

#Cabecera .BOX-Titulo .TXT-BLC-Trans{
    opacity: 0.7;
}

@media only screen and (max-width: 1500px){
    #Cabecera .BOX-Titulo h1 {
    font-size: 80px;
    line-height: 80px;
    }
}


@media only screen and (max-width: 780px){
    #Cabecera .BOX-Titulo h1 {
        font-size: 60px;
        line-height: 65px;
    }
}

@media only screen and (max-width: 600px){
    #Cabecera .BOX-Titulo h1 {
        font-size: 40px;
        line-height: 45px;
    }

}

@media only screen and (max-width: 420px){
    #Cabecera .BOX-Titulo h1 {
        font-size: 38px;
        line-height: 42px;
    }

}

@media only screen and (max-width: 389px){
    #Cabecera .BOX-Titulo h1 {
        font-size: 30px;
        line-height: 35px;
    }
 
}

#ROW_Filtro {
    margin-bottom: 80px;
    flex-wrap: nowrap;
}

#ROW_Filtro .cursor-parpadeante {
    width: 20px;
    animation: blink 0.7s infinite alternate;
    float: left;
    width: 24px;
    shape-outside: inset(0px);
    clip-path: inset(0px);
    margin: 35px 9px 0px 0px;
}

#ROW_Filtro .Cabecera{
    width: 100%;
}

/* Estilos para el contenedor del select */
.Filtro {
    position: relative;
    display: inline-block;
    width: 248px;
    margin-left: auto;
}

/* Estilos para el select personalizado */
.custom-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url('/wp-content/uploads/2025/02/Flechas_Filtro.webp') no-repeat right center;
    background-size: 12px;
    padding-right: 30px;
    border-bottom: 1px solid #ccc;
    border-radius: 0px;
    padding: 8px 12px 8px 0px;
    font-size: 16px;
    cursor: pointer;
    border-right-width: 0px;
    border-left-width: 0px;
    border-top-width: 0px;
    border-bottom-width: 1px
}

/* Estilos para el hover y focus */
.custom-select:hover,
.custom-select:focus {
    border-color: #888; /* Cambia el color del borde al interactuar */
    border: unset;
    border-bottom: 1px solid #ccc;
    box-shadow: none !important;
    border-radius: 0px;
}

/* Estilos para el contenedor del select en navegadores antiguos */
.Filtro::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    pointer-events: none; /* Evita que el pseudo-elemento interfiera con el clic */
    /*background: url('/wp-content/uploads/2025/02/Flechas_Filtro.webp')*/ no-repeat center center;
    background-size: contain;
    width: 20px;
    height: 20px;
}

#Grid-Noticias .Grid_Posts{
    gap: 40px;
}

#Grid-Noticias .Grid_Posts .CELL-Post {
    flex-basis: calc(33.3% - 27px);
    flex-direction: column;
    display: flex
    margin-bottom: 40px;
}

#Grid-Noticias .Grid_Posts .BOX-Titulo {
    background: #151716;
    padding: 40px 50px;
    justify-content: center;
    align-content: center;
    overflow: hidden;
    margin-bottom: 20px;
    flex-grow: 1;
    min-height: 22vh;
}

#Grid-Noticias .Grid_Posts .CELL-Post.CasoExito .BOX-Titulo {
    background: #FF6633;
}

#Grid-Noticias .Grid_Posts .BOX-Titulo h4 {
    color: #fff;
    right: 18px;
    bottom: 4px;
    font-size: 11px;
    font-weight: 400;
    margin-bottom: 0px;
}

#Grid-Noticias .Grid_Posts .CELL-Post.CasoExito .BOX-Titulo h4 {
    color: #fff;
}

#Grid-Noticias .Grid_Posts .BOX-Titulo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    z-index: 1;
}

#Grid-Noticias .Grid_Posts .CELL-Post:hover img{
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

#Grid-Noticias .Grid_Posts .BOX-Titulo h3{
    color: #fff;
    padding: 0px;
    text-align: center;
    text-transform: uppercase;
    z-index: 2;
    font-weight: 700 !important;
    margin: 0px;
}

@media only screen and (max-width: 1500px){

    #Grid-Noticias .Grid_Posts .BOX-Titulo {
    min-height: 27vh;
    }

    #ROW_Filtro .cursor-parpadeante {
    margin: 25px 9px 0px 0px;
    }

}

@media only screen and (max-width: 999px){
    #ROW_Filtro .cursor-parpadeante {
        width: 19px;
        margin: 18px 9px 0px 0px;
    }
}

@media only screen and (max-width: 700px){

    #Grid-Noticias .Grid_Posts .CELL-Post {
    flex-basis: calc(50% - 20px);
    }

    #Grid-Noticias .Grid_Posts .BOX-Titulo img {
    opacity: 1;
    }

    #ROW_Filtro .Cabecera {
    width: fit-content;
    }
    #ROW_Filtro .Cabecera h2{
    width: 205px;
    }

    #Grid-Noticias .Grid_Posts .BOX-Titulo h4 {
    z-index: 9;
    }

    #ROW_Filtro .cursor-parpadeante {
    width: 16px;
    margin: 20px 5px 0px 0px;
    }

}

@media only screen and (max-width: 500px){

    #ROW_Filtro {
    margin-bottom: 80px;
    flex-wrap: wrap;
    }

.Filtro {
    margin-top: 40px;
    width: 248px;
    margin-left: 0;
}
    #Grid-Noticias .Grid_Posts .CELL-Post {
    flex-basis: calc(100% - 0px);
    }
    #Grid-Noticias .Grid_Posts .CELL-Post a{
    font-size: 16px;
    }

}
