/*RESPONSIVE*/

/*Movil*/

@media screen and (min-width: 0px) and (max-width: 767px) and (min-resolution:1dppx), only screen and (min-device-width: 0px) and (max-device-width: 767px) and (-webkit-min-device-pixel-ratio: 2) {
    nav {
        display: block;
    }

    .buscadorGeneral {
        display: block;
    }

    html {
        /*font-size: 16px*/
    }

    body {
        height: auto;
        font-size: 1em;
    }

    .container {
        display: grid;
        display: -ms-grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto 20px 1fr auto auto auto;
        -ms-grid-columns: 1fr 1fr;
        -ms-grid-rows: auto 20px 1fr auto auto auto;
        border: 2px solid #ffffff;
        background-color: #ffffff !important;
    }

    h2.titulo2 {
        text-align: center;
        background: none;
        margin-top: 0px;
        margin-left: 0px;
        grid-column: 1 / span 2;
        grid-row: 1/ 2;
        -ms-grid-column: 1;
        -ms-grid-row: 1;
        -ms-grid-column-span: 2;
        -ms-grid-row-span: 1;
        padding: 0px 0px 10px 5px;
    }

    /*ESTILOS CABECERA */
    /*buscador*/
    .container:has(.actualidad) .buscador {
        margin-top: 25px;
    }

        .container:has(.actualidad) .buscador .btnbuscar input[type=text] {
            /*width: 95vw;*/
            left: 0px;
        }

        .container:has(.actualidad) .buscador .btnbuscar button {
            top: -10px;
            background-position: 0px center;
            right: 0px;
            margin-top: 0px;
            position: relative;
            float: right;
            background-position: 10px center !important;
        }


    .container:has(.actualidad) .filaB {
        grid-template-columns: none !important;
    }
    /*RASTRO DE MIGA Y CONTROL DE IMPRESION*/
    .migaimp {
        margin: auto;
        width: 100%;
        float: none;
        display: grid;
        display: -ms-grid;
        grid-area: migas;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        -ms-grid-columns: 1fr;
        -ms-grid-rows: auto;
        background-color: #fff;
        grid-column: 1 / span 2;
        grid-row: 2 /3;
        -ms-grid-column: 1;
        -ms-grid-row: 2;
        -ms-grid-column-span: 2;
        -ms-grid-row-span: 1;
    }

    .migas {
        float: none;
        width: 100%;
        max-width: none;
        grid-column: 1 / span 2;
        grid-row: 1 / 3;
        -ms-grid-column: 1;
        -ms-grid-row: 1;
        -ms-grid-column-span: 2;
        -ms-grid-row-span: 3;
        display: none;
    }

    .impresion {
        display: none;
    }

    /*Carrusel*/
    .destacado {
        display: grid;
        display: -ms-grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        -ms-grid-columns: 1fr 1fr;
        -ms-grid-rows: auto auto;
        grid-column: 1 / span 2;
        grid-row: 3/ 4;
        -ms-grid-column: 1;
        -ms-grid-row: 3;
        -ms-grid-column-span: 2;
        -ms-grid-row-span: 1;
        width: 100%;
    }

        .destacado .carrusel {
            background: none;
            height: 100%;
            padding-bottom: 15px;
            display: flex;
            margin-top: 10px;
            margin-bottom: 0px;
            float: none !important;
            grid-column: 1 / span 2;
            grid-row: 3/ 4;
            -ms-grid-column: 1;
            -ms-grid-row: 2;
            -ms-grid-column-span: 2;
            -ms-grid-row-span: 1;
            flex-flow: column;
            width: 99.5%;
        }

            .destacado .carrusel .carruselnoticias .escritorio {
                display: none;
            }

            .destacado .carrusel .carruselnoticias .movil {
                display: block;
                width: auto;
            }

            .destacado .carrusel .carruselnoticias {
                background-color: #254489;
                margin: 0 5px;
                height: auto;
                margin: 0 0px 0px 0px;
                max-height: initial;
                min-height: 360px;
            }

                .destacado .carrusel .carruselnoticias #splide-track ul {
                    height: 320px;
                }

                    .destacado .carrusel .carruselnoticias #splide-track ul li {
                        background-size: cover !important;
                    }

                        .destacado .carrusel .carruselnoticias #splide-track ul li.splide__slide > a {
                            margin: 0;
                            width: 100%;
                            aspect-ratio: 8/4.8;
                            height: auto !important;
                            display: flex;
                        }

                        .destacado .carrusel .carruselnoticias #splide-track ul li.splide__slide img {
                            width: 100%;
                            height: 100%;
                            min-height: auto;
                            object-fit: cover;
                            overflow: hidden;
                            min-width: auto;
                        }

                        .destacado .carrusel .carruselnoticias #splide-track ul li div {
                            padding: 4px;
                            box-sizing: border-box;
                            height: 130px;
                            max-height: 130px;
                            top: 245px;
                            bottom: initial;
                            display: block;
                        }

                            .destacado .carrusel .carruselnoticias #splide-track ul li div p {
                                font-size: 1.067rem;
                                padding: 3px 0 0 10px;
                                display: -webkit-box;
                                -webkit-line-clamp: 2;
                                -webkit-box-orient: vertical;
                                overflow: hidden;
                            }

                .destacado .carrusel .carruselnoticias .splide__arrows {
                    position: absolute;
                    top: 110px;
                    width: 100%;
                    left: 0;
                    bottom: initial;
                }

                    .destacado .carrusel .carruselnoticias .splide__arrows button {
                        background-color: #254489 !important;
                        border-radius: 20px !important;
                        width: 2em !important;
                    }

                    .destacado .carrusel .carruselnoticias .splide__arrows .splide__arrow--prev {
                        left: 0.3em;
                    }

                    .destacado .carrusel .carruselnoticias .splide__arrows .splide__arrow--next {
                        right: 0.3em;
                    }

                .destacado .carrusel .carruselnoticias .splide__optional-button-container {
                    top: 225px;
                    left: 20vw;
                }

                .destacado .carrusel .carruselnoticias .splide__pagination {
                    top: 233px;
                    left: 31vw !important;
                    border-left: 1px solid #fff;
                    height: 15px;
                    padding-top: 3px;
                    box-sizing: border-box;
                }

                    .destacado .carrusel .carruselnoticias .splide__pagination li {
                        padding-right: 10px;
                        box-sizing: border-box;
                        position: relative;
                        top: -3px;
                    }

                .destacado .carrusel .carruselnoticias .fondo_controles {
                    width: 100%;
                    left: 0px;
                    position: absolute;
                    top: 220px;
                    border-radius: 0;
                    border-top: 1px solid #fff;
                    border-bottom: 1px solid #fff;
                }

                .destacado .carrusel .carruselnoticias .mostrar {
                    display: block;
                    width: auto;
                    left: 0px;
                    position: absolute;
                    top: 330px;
                    border-radius: 0;
                    border-top: 3px solid #fff;
                    width: 100%;
                    padding: 0;
                    display: flex;
                    justify-content: center;
                    bottom: initial;
                }

                .destacado .carrusel .carruselnoticias .mostrar {
                    width: 100%;
                    background: #254489;
                }

                    .destacado .carrusel .carruselnoticias .mostrar a {
                        margin-top: 1px;
                        border-radius: 0;
                        width: auto;
                        /*background-image: none;*/
                        position: relative;
                    }

                        .destacado .carrusel .carruselnoticias .mostrar a:before {
                            content: url(../img-home/ico-noticias.html);
                            position: absolute;
                            left: 15px;
                            top: 12px;
                        }

    /*CINTLLO*/
    section.banners-cintilloInformativo,
    section:has(.cintillo) {
        grid-row: 1 / 2;
        grid-column: 1 / span 2;
        width: 99.5% !important;
    }

    .cintillo {
        padding: 8px;
    }

    /*AVISO*/
    .bannerAviso {
        grid-column: 1 / span 2;
        width: 99.5%;
    }

    .bannerAvisoDana {
        flex-flow: column;
    }

        .bannerAvisoDana .bloqueA {
            width: 100%;
        }
    /*CONTENIDO CENTRAL*/
    .central {
        width: auto;
        padding-bottom: 0px;
        clear: both;
        display: grid;
        display: -ms-grid;
        grid-column: 1 / span 2;
        grid-row: 5/ 6;
        -ms-grid-column: 1;
        -ms-grid-row: 4;
        -ms-grid-column-span: 2;
        -ms-grid-row-span: 1;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        -ms-grid-columns: 1fr;
        -ms-grid-rows: auto auto;
    }

    .inspector-hide-shortcut__ {
        visibility: visible !important;
    }

    .actualidad {
        width: 100%;
        /* max-width: 100%; */
        grid-row: 1 / 2 !important;
    }

        .actualidad h2.titulo2 {
            margin-bottom: 30px;
        }

        .actualidad .grupo {
            grid-template-columns: 1fr;
            grid-template-rows: auto auto;
            width: 100%;
        }
            /*noticias*/
            .actualidad .grupo .bloquenoticias {
                grid-column: 1;
                grid-row: 1/2;
                width: 100%;
            }

                .actualidad .grupo .bloquenoticias .noticia {
                    flex-direction: column;
                    width: auto;
                    min-height: auto;
                    padding: 25px 15px;
                }

                    .actualidad .grupo .bloquenoticias .noticia .imagen-noticia {
                        width: 100%;
                        min-width: 100%;
                        max-width: 100%;
                        display: flex;
                        justify-content: center;
                    }

                        .actualidad .grupo .bloquenoticias .noticia .imagen-noticia img {
                            position: relative;
                            width: fit-content;
                            min-height: auto;
                            max-height: 20.83vh;
                            min-width: 70vw;
                            max-width: 70vw;
                            max-height: 100%;
                            max-width: 100%;
                            max-height: 100%;
                            height: auto;
                        }

                    .actualidad .grupo .bloquenoticias .noticia .texto {
                        margin-top: 20px;
                        width: 100%;
                    }

                        .actualidad .grupo .bloquenoticias .noticia .texto .titulo-noticia {
                            line-height: 1.6rem;
                            margin: 10px 0;
                        }

                .actualidad .grupo .bloquenoticias .botonera {
                    justify-content: center;
                    width: 100%;
                    margin-right: 0px;
                }

                    .actualidad .grupo .bloquenoticias .botonera a {
                        height: 55px;
                        width: 80vw;
                        padding: 0px 30px 0px 30px;
                        border-radius: 10px;
                    }
        /*bloque lateral*/
        .actualidad .bloquelateral {
            grid-column: 1;
            grid-row: 2/3;
        }
            /*canal twitter*/
            .actualidad .bloquelateral .feed-twitter {
                display: flex;
                justify-content: center;
                flex-direction: column;
                align-items: center;
            }

                .actualidad .bloquelateral .feed-twitter img {
                    width: 65vw !important;
                }

                .actualidad .bloquelateral .feed-twitter .boton_seguir,
                .actualidad .bloquelateral .feed-twitter .timeline {
                    width: 65vw;
                    width: 80vw;
                }

                    .actualidad .bloquelateral .feed-twitter .boton_seguir a {
                        height: 55px;
                        line-height: 50px;
                        /* font-size: 1rem; */
                    }

                        .actualidad .bloquelateral .feed-twitter .boton_seguir a:before {
                            content: url('../img/ico-x.svg');
                            position: relative;
                            top: 0.06vh;
                            margin-right: 2.57vw;
                        }

    /*banner Sede*/
    .banner_Sede {
        display: flex;
        justify-content: center;
    }

        .banner_Sede a {
            width: 80vw !important;
            max-width: initial;
            min-width: initial;
        }

            .banner_Sede a img {
                object-fit: initial;
            }

    /*boton suscribete*/
    #subscribeButton {
        width: 100% !important;
        float: none;
        min-width: auto;
        left: 0px !important;
        display: flex;
        padding: 20px 12px;
        margin-bottom: 10px;
    }

        #subscribeButton p {
            width: 100% !important;
            display: flex;
            justify-content: center;
            padding: 0px;
        }

        #subscribeButton button#btnSuscribete {
            width: 80vw !important;
            background-position: 27% center, top left !important;
            background-image: none;
            font-size: 19px;
        }

            #subscribeButton button#btnSuscribete:before {
                content: url('../img/ico-suscribete.svg');
                position: relative;
                top: 3px;
                left: -10px;
            }

    /*calendario*/
    .actualidad .calendario {
        float: none;
        display: flex;
        justify-content: center;
        margin-top: 20px;
        min-width: 100%;
        width: 100%;
    }

    #div-calendarioAgenda-app .rw-header {
        display: inline-flex !important;
    }

    #div-calendarioAgenda-app .rw-calendar .rw-header .rw-btn-left.rw-btn,
    #div-calendarioAgenda-app .rw-calendar .rw-header .rw-btn-right.rw-btn {
        width: 28px !important;
        height: 23px !important;
    }

    #div-calendarioAgenda-app > div:first-of-type {
        position: relative;
        top: 7px;
        display: flex !important;
        justify-content: center;
        width: 100%;
        margin: 0px 20px;
    }

    #div-calendarioAgenda-app .enlaces div {
        height: 23px;
    }

        #div-calendarioAgenda-app .enlaces div:nth-child(1) {
            width: 60% !important;
        }

        #div-calendarioAgenda-app .enlaces div:nth-child(2) {
            width: 40% !important;
            vertical-align: middle;
            height: auto;
        }


        #div-calendarioAgenda-app .enlaces div p {
            display: inline-flex !important;
            padding: 0 !important;
            margin: 0 !important;
            position: relative;
            top: 1px
        }

    #div-calendarioAgenda-app > div:first-child div:nth-child(1) p {
        display: inline-block !important;
        width: 100% !important;
        text-align: right;
        height: 400px;
        margin: 0 !important;
    }

    #div-calendarioAgenda-app div:first-child div:nth-child(2) p#anyoAgendaEventos {
        display: inline-block !important;
        text-align: left;
        font-size: 0.975rem !important;
    }

    #div-calendarioAgenda-app .enlaces .enlacemes p {
        display: block !important;
        padding-left: 15px !important;
    }

    #div-calendarioAgenda-app .enlaces .enlacemes a {
        width: 100% !important;
        text-align: right !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    #div-calendarioAgenda-app .enlaces .enlacemes a,
    #div-calendarioAgenda-app .enlaces .enlaceanyo p {
        /* display: block !important; */
        font-size: 0.875rem !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    #div-calendarioAgenda-app .enlaces .enlaceanyo p {
        padding: 0 !important;
    }

    #div-calendarioAgenda-app .rw-header {
        margin: 0 !important;
        padding: 0 1.3vw;
        box-sizing: border-box;
        width: 100% !important;
    }


    .calendario div .loaderDiv {
        margin-top: 50px;
        left: 47%;
        transform: translate(-47%, 0);
    }

    /*Banners Principales*/
    .banners-principales {
        max-width: 100%;
        grid-row: 3 / 4;
    }

        .banners-principales .grupo {
            width: 100%;
        }

            .banners-principales .grupo ul {
                width: auto;
                flex-wrap: wrap;
                justify-content: center;
                gap: 5px;
                display: flex;
            }

                .banners-principales .grupo ul li {
                    width: 65vw !important;
                    width: 100% !important;
                }

    /*Directo a*/
    .directo-a {
        /*width: 100%*/
        grid-row: 5/6;
    }

        .directo-a h2.titulo2 {
            justify-content: center;
            margin-bottom: 30px;
        }

        .directo-a .grupo {
            width: 100%;
            max-width: 100%;
            grid-template-columns: 1fr;
            grid-template-rows: auto auto auto;
            gap: initial;
        }

            .directo-a .grupo h2 {
                grid-column: 1;
                grid-row: 1;
                margin-bottom: 30px;
            }
            /*Banners*/
            .directo-a .grupo .banners {
                grid-column: 1;
                grid-row: 2;
                grid-template-columns: 1fr;
            }

                .directo-a .grupo .banners .enlace {
                    display: flex;
                    padding-left: 0px;
                    border: none;
                    justify-content: center;
                    padding-bottom: 10px;
                }

                    .directo-a .grupo .banners .enlace a {
                        text-align: center;
                        align-items: center;
                    }

            /*Contacto*/
            .directo-a .grupo .contacto {
                grid-column: 1;
                grid-row: 3;
                margin-top: 40px;
            }

    /*Banners Institucionales */
    .banners-institucionales .grupo {
        width: 100%;
        max-width: 100%;
    }

        .banners-institucionales .grupo ul {
            width: auto;
            flex-wrap: wrap;
            justify-content: center;
            padding: 0px 0px;
        }

            .banners-institucionales .grupo ul li {
                width: 65vw !important;
                width: 100% !important;
            }

    /*Datos y Publicaciones*/
    .datos-publicaciones .grupo {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        .datos-publicaciones .grupo h2 {
            margin-bottom: 30px;
        }

        /*bloque botones CDI*/
        .datos-publicaciones .grupo > div {
            display: grid;
            grid-template-columns: 1fr;
            grid-template-rows: auto auto;
            gap: 4% 0;
            max-height: 100%;
            min-height: auto;
            padding: 0px 5px;
        }

        .datos-publicaciones .grupo .bloque-botones-cdi {
            grid-column: 1;
            grid-row: 1;
        }

            .datos-publicaciones .grupo .bloque-botones-cdi ul {
                width: auto;
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
                row-gap: 1vh;
                /*margin: auto 5px;*/
            }

                .datos-publicaciones .grupo .bloque-botones-cdi ul li {
                    width: 100%;
                    height: 15vh;
                }

                    .datos-publicaciones .grupo .bloque-botones-cdi ul li a img {
                        width: calc(100% - 1vw);
                        height: calc(100% - 4vh);
                    }

        .datos-publicaciones .grupo .bloque-graficas-cdi .grafica img {
            max-width: 45vw;
        }
        /*bloque graficas CDI*/
        .datos-publicaciones .grupo .bloque-graficas-cdi {
            grid-column: 1;
            grid-row: 2;
            grid-template-columns: 1fr;
            row-gap: 2vh;
        }

            .datos-publicaciones .grupo .bloque-graficas-cdi .grafica {
                min-width: auto;
                margin: auto 0px;
            }

    /*PIE*/
    p.imgnoticia {
        min-height: 100%;
        height: auto;
        min-height: auto;
    }

        p.imgnoticia a {
            margin-top: 0px;
            width: 100%;
        }

    /*Top BotÃ³n*/
    .TopBoton {
        left: 76%;
    }

        .TopBoton .scrollToTopBoton {
            height: 70px;
            width: 70px;
        }

            .TopBoton .scrollToTopBoton:hover {
                background-color: rgba(255, 0, 23, 0.55) !important
            }

    /*Estilos css especÃ­ficos Safari cualquier versiÃ³n para mÃ³vil
        @media screen and (min-color-index:0) and(-webkit-min-device-pixel-ratio:0) {
            @media only screen and (max-width: 767px) {
                .TopBoton {
                    left: 77% !important;
                }
            }
        }*/
    /*pÃ¡gina de error*/
    .alert {
        font-size: 1.1em;
        min-height: 10em;
        padding-top: 0em;
        position: relative;
        width: 100%;
    }

        .alert p.iconalert {
            text-align: center;
        }

        .alert p.titalert {
            color: #49659d;
            font-size: 1.2em;
            font-weight: bold;
            font-family: Arial, Helvetica, sans-serif;
            text-align: center;
        }

    .alerterror {
        border: 1px solid #dbdcde;
        background: #f5f5f5;
        width: 800px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 1rem;
        color: #333;
        padding: 10px;
        margin-bottom: 20px;
    }

    .alertline {
        text-align: center;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 1rem;
        color: #333;
        border-top: 1px solid #DBDCDE;
        margin-left: auto;
        margin-right: auto;
        width: 800px;
        padding: 10px;
        padding-top: 0px;
    }
}

@media screen and (min-width: 380px) and (max-width: 767px) and (min-resolution:1dppx), only screen and (min-device-width: 380px) and (max-device-width: 767px) and (-webkit-min-device-pixel-ratio: 2) {
    .banners-institucionales .grupo ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 0px 5px;
    }
}

@media only screen and (min-width: 0px) and (max-width: 767px) and (min-resolution: 2dppx), only screen and (min-device-width: 0px) and (max-device-width: 767px) and (-webkit-min-device-pixel-ratio: 2) {
    .actualidad .bloquelateral .feed-twitter .boton_seguir a {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .actualidad .grupo .bloquenoticias .botonera a {
        width: 80vw;
    }

    .container:has(.actualidad) .buscador .btnbuscar button {
        right: 10px;
    }
}

@media screen and (min-width: 580px) and (max-width: 767px) and (min-resolution:1dppx), only screen and (min-device-width: 580px) and (max-device-width: 767px) and (-webkit-min-device-pixel-ratio: 2) {
    .banners-principales .grupo ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 0px 0px;
        gap: 10px;
    }

        .banners-principales .grupo ul li {
            width: 100% !important;
            max-width: 100% !important;
            min-width: auto !important;
        }

    .banners-institucionales .grupo ul {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        padding: 0px 5px;
    }

        .banners-institucionales .grupo ul li {
            width: 100% !important;
        }

    .datos-publicaciones .grupo > div {
        grid-template-columns: 1fr 1fr;
    }

    .datos-publicaciones .grupo .bloque-botones-cdi {
        grid-column: 1 / span 2;
    }

    .datos-publicaciones .grupo .bloque-graficas-cdi {
        grid-column: 1 / span 2;
    }

    .datos-publicaciones .grupo .bloque-botones-cdi ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 2%;
        margin: 0px;
    }
}
/*Movil (Landscape)*/

@media screen and (min-width: 0px) and (max-width: 767px) and (min-resolution: 1dppx) and (orientation: landscape), only screen and (min-device-width: 0px) and (max-device-width: 767px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {

    h2.titulo2 {
        font-size: 1.4em;
        margin-bottom: 20px !important;
    }

    .container {
        display: grid;
        display: -ms-grid;
        grid-template-columns: 1fr 1fr;
        /* grid-template-rows: auto auto auto auto auto auto; */
        grid-template-rows: auto 20px auto auto auto !important;
    }



    .migas {
        margin-top: 20px;
    }

    .migaimp {
        margin-bottom: 20px !important;
    }

    .destacado .carrusel .carruselnoticias .movil {
        width: 65vw;
        height: auto;
    }

    .actualidad .grupo .bloquenoticias .noticia {
        align-items: center;
    }

        .actualidad .grupo .bloquenoticias .noticia .imagen-noticia {
            width: 45vw;
            max-width: auto;
            min-width: auto;
        }

            .actualidad .grupo .bloquenoticias .noticia .imagen-noticia img {
                min-height: auto;
                max-height: 28.83vh !important;
                max-height: 100% !important;
                height: 100%;
                min-width: 100%;
                max-height: none;
            }

    .actualidad .bloquelateral .feed-twitter img {
        width: 45vw !important;
    }

    .actualidad .bloquelateral .feed-twitter .boton_seguir,
    .actualidad .bloquelateral .feed-twitter .timeline {
        width: 45vw;
    }

    .bloquelateral .feed-twitter .boton_seguir a {
        height: 10.75vh !important;
        line-height: 9.85vh !important;
    }

    #subscribeButton button#btnSuscribete {
        width: 45vw !important;
        background-position: 31% center, top left !important;
        font-size: 19px;
    }

    .banners-principales .grupo ul {
        flex-direction: row;
        align-items: center;
        width: 100%;
        grid-gap: 2%;
        justify-content: center;
        padding: 0px 5px;
    }

        .banners-principales .grupo ul li {
            width: auto !important;
            max-width: 40vw;
            min-width: 40vw;
            max-width: 47vw;
            min-width: 47vw;
            max-width: 100%;
            min-width: auto;
            width: 100% !important;
        }

    .directo-a .grupo .banners {
        grid-template-columns: 1fr 1fr;
        grid-gap: 30px 25px;
    }

        .directo-a .grupo .banners .enlace {
            width: 45vw
        }

    .directo-a .grupo .contacto {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

        .directo-a .grupo .contacto ul {
            width: auto;
        }

    .banners-institucionales .grupo {
        width: 100%;
    }

        .banners-institucionales .grupo ul {
            flex-direction: row;
            align-items: center;
            width: 100%;
        }

            .banners-institucionales .grupo ul li {
                /*width: 35vw !important;*/
            }

    .datos-publicaciones .grupo > div {
        width: 65vw !important;
        width: 100% !important;
    }

    .datos-publicaciones .grupo .bloque-botones-cdi ul li {
        height: 20vh;
    }

    #div-calendarioAgenda-app .rw-header {
        display: inline-flex !important;
        width: 42vw !important;
    }

    .TopBoton {
        left: 83%;
    }

        .TopBoton .scrollToTopBoton {
            height: 70px;
            width: 70px;
        }
}

@media only screen and (min-width: 0px) and (max-width: 767px) and (min-resolution: 2dppx), only screen and (min-device-width: 0px) and (max-device-width: 767px) and (-webkit-min-device-pixel-ratio: 2) {

    .container:has(.actualidad) .filaB {
        grid-template-columns: none !important;
    }

    .container:has(.actualidad) .buscador {
        margin-top: 25px;
    }

    .container:has(.actualidad) .btnbuscar button {
        top: 0px;
        width: auto;
        background-position: 2px center;
    }
}


/*Tablet*/
@media screen and (min-width: 767px) and (max-width: 1140px), only screen and (min-width: 768px) and (max-width: 1140px) and (min-resolution: 2dppx), only screen and (min-device-width: 768px) and (max-device-width: 1140px) and (-webkit-min-device-pixel-ratio: 2) {
    .banners-principales .grupo ul {
    }

        .banners-principales .grupo ul li {
        }

    .container:has(.actualidad) .filaB {
        grid-template-columns: none !important;
    }

    .container:has(.actualidad) .buscador .btnbuscar input[type=text] {
        margin-top: 25px;
    }
}

@media only screen and (min-width: 767px) and (max-width: 1140px) and (min-resolution: 2dppx), only screen and (min-device-width: 767px) and (max-device-width: 1140px) and (-webkit-min-device-pixel-ratio: 2) {
    .container:has(.actualidad) .buscador {
        width: 99.9vw;
    }

        .container:has(.actualidad) .buscador .btnbuscar {
            margin: 0px;
        }

            .container:has(.actualidad) .buscador .btnbuscar input[type=text] {
                margin-top: 0px;
            }

            .container:has(.actualidad) .buscador .btnbuscar button {
                top: -5px;
                position: absolute;
                right: 0;
            }

    .buscador {
        grid-column: 1 / span 3;
        width: auto !important;
        grid-row: 2 / 3;
        height: auto;
        min-height: auto;
        display: flex;
    }
    /*.buscador {
            grid-template-rows: 55px;
        }
        .buscador .btnbuscar {
            grid-row: 1;
            grid-column: 1;
        }*/
}

@media screen and (min-width: 767px) and (max-width: 1140px), only screen and (min-width: 768px) and (max-width: 1140px) and (min-resolution: 2dppx), only screen and (min-device-width: 768px) and (max-device-width: 1140px) and (-webkit-min-device-pixel-ratio: 2) {
    html {
        font-size: 16px;
    }

    body {
        height: auto;
        font-size: 1em;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    /*RASTRO DE MIGA Y CONTROL DE IMPRESION*/
    .migaimp {
        /* display: block; */
        /* grid-column: 1; */
        /* grid-row: 1; */
        width: 100%;
        padding-top: 0px;
        background: none;
        margin: auto;
        float: none;
        display: grid;
        display: -ms-grid;
        grid-area: migas;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        -ms-grid-columns: 1fr;
        -ms-grid-rows: auto;
        grid-column: 1 / span 4;
        grid-row: 2 /3;
        -ms-grid-column: 1;
        -ms-grid-row: 2;
        -ms-grid-column-span: 4;
        -ms-grid-row-span: 1;
        font-size: 0.8em;
        margin-bottom: 20px !important;
    }
    /*
        .migas {
            float: none;
            font-size: .7em;
            font-family: Arial, Helvetica, sans-serif;
            margin-right: 0px;
            width: 100%;
            min-height: auto;
            max-width: none;
            clear: both;
            grid-column: 1 / span 2;
            grid-row: 1 / 3;
            -ms-grid-column: 1;
            -ms-grid-row: 1;
            -ms-grid-column-span: 2;
            -ms-grid-row-span: 3;
            display: flex;
            padding-left: 10px;
        }
    */

    .migas {
        display: none !important;
    }

        .migas ol {
            margin-top: 0px;
            margin-bottom: 1em;
            font-size: 0.875rem;
        }

    .impresion {
        display: none;
    }

    /*CARRUSEL*/
    .destacado {
        width: auto;
        /* margin-top: -20px; */
        color: #4a5f8a;
        margin-left: auto;
        margin-right: auto;
    }

        .destacado .carrusel {
            margin: 0 10px;
            /* width: auto;*/
            box-sizing: border-box;
        }

            .destacado .carrusel img {
                width: 100%;
                height: 100%;
                min-height: auto;
                min-width: auto;
            }

    #splide-track ul li div {
        /* top: 380px; */
        height: 70px;
    }

    .destacado .carrusel .fondo_controles {
        /* top: 325px; */
    }

    .destacado .carrusel .splide__optional-button-container {
        /* top: 330px; */
        left: 35px;
    }

    .destacado .carrusel .splide__arrows {
        top: 290px;
        width: 99%;
        left: 0px;
        bottom: initial;
    }

        .destacado .carrusel .splide__arrows button {
            background-color: #254489 !important;
            border-radius: 20px !important;
            width: 2em !important;
        }

            .destacado .carrusel .splide__arrows button:nth-child(1) {
                left: 0px;
            }

            .destacado .carrusel .splide__arrows button:nth-child(2) {
                right: 60px;
            }

    .destacado .carrusel .splide__pagination {
        /* top: 333px; */
        border-left: 2px solid #fff;
        height: 25px;
        bottom: 9.3vh;
    }

    .destacado .carrusel .fondocarrusel {
        background-color: transparent !important;
    }

    .carruselnoticias .mostrar {
        /* top: 326px; */
    }


    /*CONTENIDO CENTRAL*/
    .central {
        height: 100%;
        /* margin-left: 5px;
            margin-right: 5px;*/
        width: auto;
        padding-bottom: 0px;
        clear: both;
        display: grid;
        display: -ms-grid;
        grid-column: 1 / span 4;
        grid-row: 5/ 6;
        -ms-grid-column: 1;
        -ms-grid-row: 3;
        -ms-grid-column-span: 4;
        -ms-grid-row-span: 4;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        -ms-grid-columns: 1fr;
        -ms-grid-rows: auto auto;
    }

    /*Actualidad*/
    .actualidad {
        width: auto;
        max-width: initial;
    }

        .actualidad .grupo {
            grid-template-columns: 1fr;
            grid-template-rows: auto auto;
        }

            .actualidad .grupo .bloquenoticias {
                grid-column: 1;
                grid-row: 1;
            }

                .actualidad .grupo .bloquenoticias .noticia .imagen-noticia {
                    max-width: 15.49vh;
                    max-width: 23vh;
                    max-width: 150px;
                    height: auto;
                    height: 85px;
                }

                .actualidad .grupo .bloquenoticias .botonera {
                    margin-right: 0px;
                    margin-top: 5px;
                    /* justify-content: center; */
                    max-height: 45px;
                }

        .actualidad .bloquelateral {
            grid-column: 1;
            grid-row: 2;
            display: grid;
            grid-template-columns: 1.6fr 1fr;
            grid-template-rows: auto auto;
            grid-gap: 2%;
        }


            .actualidad .bloquelateral .feed-twitter {
                grid-column: 1;
                grid-row: 1/span 2;
                display: flex;
                flex-direction: column;
                /* padding: 20px 10px; */
                justify-content: flex-start;
                align-items: flex-start;
            }

                .actualidad .bloquelateral .feed-twitter img {
                    width: 80%;
                    max-width: auto;
                    height: auto;
                }

                .actualidad .bloquelateral .feed-twitter .boton_seguir {
                    justify-content: flex-start;
                }

                    .actualidad .bloquelateral .feed-twitter .boton_seguir a {
                        height: 65px;
                        line-height: 3.5;
                        width: 30vw;
                    }

                        .actualidad .bloquelateral .feed-twitter .boton_seguir a:before {
                            margin-right: 0.95vw;
                        }

                .actualidad .bloquelateral .feed-twitter .timeline {
                    width: 100%;
                    max-height: 250px;
                }

                    .actualidad .bloquelateral .feed-twitter .timeline div {
                        left: -20px;
                        margin-right: 0px;
                    }

            /*banner Sede*/
            .actualidad .bloquelateral:has(.banner_Sede) {
                grid-template-columns: 1fr !important;
            }


                .actualidad .bloquelateral:has(.banner_Sede) > div {
                    grid-column: 1 !important;
                }

                .actualidad .bloquelateral:has(.banner_Sede) .banner_Sede {
                    grid-row: 2;
                }

                .actualidad .bloquelateral:has(.banner_Sede) #calendarioAgenda-app {
                    grid-row: 3;
                }

                .actualidad .bloquelateral:has(.banner_Sede) #subscribeButton {
                    display: flex;
                    justify-content: center;
                    grid-row: 2;
                }

                    .actualidad .bloquelateral:has(.banner_Sede) #subscribeButton p {
                        width: 100%;
                        padding-bottom: 15px;
                    }

                    .actualidad .bloquelateral:has(.banner_Sede) #subscribeButton button#btnSuscribete {
                        max-width: 45vw !important;
                        padding: 5px 5px 5px 35px;
                        background-image: none;
                        background-position: 32% 52% !important;
                    }

                        .actualidad .bloquelateral:has(.banner_Sede) #subscribeButton button#btnSuscribete:before {
                            content: url('../img/ico-suscribete.svg');
                            position: relative;
                            top: 3px;
                            left: -10px;
                        }

                .actualidad .bloquelateral:has(.banner_Sede) .banner_Sede {
                    display: flex;
                    justify-content: center;
                    grid-row: 1;
                }

                    .actualidad .bloquelateral:has(.banner_Sede) .banner_Sede a {
                        max-width: 45vw !important;
                        min-width: inherit;
                    }

                        .actualidad .bloquelateral:has(.banner_Sede) .banner_Sede a img {
                            object-fit: initial;
                        }

                .actualidad .bloquelateral:has(.banner_Sede) #calendarioAgenda-app {
                    width: 100%;
                    display: flex;
                    justify-content: center;
                    min-width: 100%;
                    align-items: center;
                    grid-row: 3 !important;
                }

                    .actualidad .bloquelateral:has(.banner_Sede) #calendarioAgenda-app > div {
                        max-width: 45vw !important;
                    }


    /*Suscribete*/
    #subscribeButton {
        grid-column: 2;
        grid-row: 1;
        height: auto !important;
        margin: 0;
        /* padding: 20px 10px; */
        width: 100% !important;
        float: none;
        left: 0 !important;
    }

        #subscribeButton p {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            padding-top: 20px;
            box-sizing: border-box;
        }

        #subscribeButton button#btnSuscribete {
            background-position: 32% 52% !important;
        }


        #subscribeButton button.SuscrModal-TopBtn {
            /* width: 200px !important; */
            height: 65px !important;
            font-size: 19px;
        }

    /*Calendario*/
    .calendario {
        grid-column: 2;
        grid-row: 2;
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
        padding: 10px 10px;
        align-items: flex-start;
        align-content: flex-start;
    }

    #div-calendarioAgenda-app {
        /* max-width: 27vw; */
        position: relative;
        top: 0;
        left: 0;
    }

        #div-calendarioAgenda-app .rw-calendar .rw-header .rw-btn-left.rw-btn,
        #div-calendarioAgenda-app .rw-calendar .rw-header .rw-btn-right.rw-btn {
            width: 23px !important;
            height: 23px !important;
        }

        #div-calendarioAgenda-app > div:first-of-type {
            height: 30px !important;
            top: 0px;
            left: 0;
            width: 100%;
            display: flex;
            justify-content: center;
        }

        #div-calendarioAgenda-app .enlaces div {
            height: 23px;
        }

            #div-calendarioAgenda-app .enlaces div:nth-child(1) {
                width: 10vw !important;
                display: inline-flex;
                padding-right: 5px;
                box-sizing: border-box;
                justify-content: flex-end;
            }

            #div-calendarioAgenda-app .enlaces div:nth-child(2) {
                width: 6vw !important;
                display: inline-flex;
            }


            #div-calendarioAgenda-app .enlaces div p {
                display: inline-flex !important;
                padding: 0 !important;
                margin: 0 !important;
                position: relative;
                top: 1px
            }

        #div-calendarioAgenda-app > div:first-child div:nth-child(1) p {
            display: inline-block !important;
            margin-right: 0px !important;
        }

        #div-calendarioAgenda-app div:first-child div:nth-child(2) p#anyoAgendaEventos {
            display: inline-block !important;
            text-align: left;
            font-size: 1.2em !important;
        }

        #div-calendarioAgenda-app .enlaces .enlacemes p {
            display: block !important;
            /* padding-left: 15px !important; */
        }

        #div-calendarioAgenda-app .enlaces .enlacemes a {
            width: 100% !important;
            text-align: right !important;
            padding: 0 !important;
            margin: 0 !important;
        }

        #div-calendarioAgenda-app .enlaces .enlacemes a,
        #div-calendarioAgenda-app .enlaces .enlaceanyo p {
            display: block !important;
            font-size: 0.875rem !important;
            padding: 0 !important;
            margin: 0 !important;
        }

        #div-calendarioAgenda-app .enlaces .enlaceanyo {
            position: relative;
            top: -1px;
        }

            #div-calendarioAgenda-app .enlaces .enlaceanyo p {
                padding: 0 !important;
            }

    #calendarDiv {
        position: relative;
        top: 0px !important;
    }

    #div-calendarioAgenda-app .rw-header {
        margin: 0 !important;
        padding: 0 0.5vw;
        box-sizing: border-box;
    }

    .calendario div .loaderDiv {
        margin-top: 30px;
        left: 14% !important;
        transform: translate(-14%, 0) !important;
        /*margin-top: 40px;
            left: 18%;
            transform: translate(-18%, 0);*/
    }

    /*Banners Principales*/
    .banners-principales .grupo {
        width: auto;
    }

        .banners-principales .grupo ul {
            flex-direction: row;
            align-items: center;
            width: auto;
            flex-wrap: wrap;
            justify-content: center;
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-gap: 2.5%;
        }

            .banners-principales .grupo ul li {
                width: auto !important;
                max-width: 45.7vw;
                min-width: 45.7vw;
            }

    /*Directo a*/
    .directo-a {
        width: 100%;
    }

        .directo-a .grupo {
            max-width: 100%;
            grid-template-columns: 1fr;
            gap: 6vh 0;
        }

            .directo-a .grupo .banners {
                grid-column: 1;
                grid-row: 1;
                grid-template-columns: 1fr 1fr 1fr;
                padding-left: 15px;
                padding-left: 2.8vh;
                padding-top: 10px;
                box-sizing: border-box;
                padding-left: 0px;
                width: 94vw;
            }

            .directo-a .grupo .contacto {
                grid-column: 1;
                grid-row: 2;
                display: flex;
                align-items: center;
                width: 100%;
            }

                .directo-a .grupo .contacto ul {
                    display: grid;
                    grid-template-columns: repeat(3, 1fr);
                    align-items: center;
                    width: 100%;
                    grid-gap: 0 4%;
                }

                    .directo-a .grupo .contacto ul li:nth-child(1) {
                        grid-column: 1;
                        grid-row: 1;
                    }

                    .directo-a .grupo .contacto ul li:nth-child(2) {
                        grid-column: 2;
                        grid-row: 1;
                    }

                    .directo-a .grupo .contacto ul li:nth-child(3) {
                        grid-column: 3;
                        grid-row: 1;
                    }

                    .directo-a .grupo .contacto ul li:nth-child(4) {
                        grid-column: 1;
                        grid-row: 2;
                    }

                    .directo-a .grupo .contacto ul li:nth-child(5) {
                        grid-column: 2;
                        grid-row: 2;
                    }

    /*Banners Institucionales*/
    .banners-institucionales .grupo {
        width: auto;
        width: 95%;
    }

        .banners-institucionales .grupo ul {
            display: flex;
            /*justify-content: flex-start;*/
            flex-wrap: wrap;
            width: 100%;
            /*padding-left: 30px;*/
            box-sizing: border-box;
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            grid-gap: 4%;
            padding-bottom: 6%;
        }

            .banners-institucionales .grupo ul li {
                width: auto;
                /*width: calc(30% - 1vw);*/
            }

                .banners-institucionales .grupo ul li a {
                    justify-content: center;
                }

                    .banners-institucionales .grupo ul li a img {
                        width: auto;
                    }

    /*Datos y Publicaciones*/
    .datos-publicaciones .grupo {
        max-width: 100%;
        width: 100%;
    }

    .datos-publicaciones h2.titulo2 {
        margin-left: 0px;
        padding: 0 0 10px 2.4%;
    }

    .datos-publicaciones .grupo > div {
        display: grid;
        grid-template-columns: 1fr;
        gap: 4%;
        box-sizing: border-box;
        max-height: 100%;
        min-height: auto;
        padding: 10px;
        padding: 10px 2.5%;
    }

    .datos-publicaciones .grupo .bloque-botones-cdi {
        grid-column: 1;
        grid-row: 1;
    }

        .datos-publicaciones .grupo .bloque-botones-cdi ul {
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-gap: 2%;
        }

            .datos-publicaciones .grupo .bloque-botones-cdi ul li {
                width: auto;
                height: auto;
                min-height: 12vh;
                max-height: 12vh;
            }

                .datos-publicaciones .grupo .bloque-botones-cdi ul li a img {
                    width: auto;
                    height: calc(100% - 2vh);
                }

    .datos-publicaciones .grupo .bloque-graficas-cdi {
        grid-column: 1;
        grid-row: 2;
        grid-template-columns: 1fr 1fr;
        grid-gap: 2%
    }

        .datos-publicaciones .grupo .bloque-graficas-cdi .grafica {
            min-width: auto;
        }

            .datos-publicaciones .grupo .bloque-graficas-cdi .grafica a {
                display: flex;
                justify-content: center;
                width: 100%;
            }

            .datos-publicaciones .grupo .bloque-graficas-cdi .grafica img {
                width: auto;
                height: auto;
                max-width: 215px;
            }

    /*PIE*/
    /*.pie {
            display: grid !important;
            grid-column: 1/span 4;
            grid-row: 6/7;
            -ms-grid-column: 1;
            -ms-grid-row: 4;
            -ms-grid-column-span: 4;
            -ms-grid-row-span: 1;
            grid-template-columns: 1fr;
            grid-template-rows: 1fr auto;
            -ms-grid-columns: 1fr;
            -ms-grid-rowsp: 1fr auto;
            position: relative !important;
        }

        .pie .listados {
            width: 100%;
            margin: auto;
            min-height: auto;
            grid-template-columns: 1fr;
            margin-bottom: 30px;
        }

        .pie .listados .textos {
            width: auto;
            height: auto;
        }

        .pie .listados .textos ul {
            display: inline-grid;
            grid-template-columns: auto auto;
            grid-template-rows: auto auto auto auto;
            padding-top: 2%;
            width: auto;
        }

        .pie .listados .textos ul li {
            border-bottom: none;
            padding: 1%;
            text-decoration: underline;
            text-underline-offset: 0.5em;
            width: 100%;
            line-height: 25px;
            margin-right: 30px;
        }
    */
    .pie .listados .textos ul li:hover {
        opacity: 100%;
        border-bottom: 0;
    }

    .pie .listados .textos ul li:nth-child(1) {
        grid-column: 1;
    }

    .pie .listados .textos ul li:nth-child(2) {
        grid-column: 1;
    }

    .pie .listados .textos ul li:nth-child(3) {
        grid-column: 1;
    }

    .pie .listados .textos ul li:nth-child(4) {
        grid-column: 2;
        grid-row: 1;
    }

    .pie .listados .textos ul li:nth-child(5) {
        grid-column: 2;
        grid-row: 2;
    }

    .pie .listados .textos ul li:nth-child(6) {
        grid-column: 2;
        grid-row: 3;
    }

    .pie .listados .textos a {
        font-size: .9rem;
    }

    .pie .listados .direccionSocial {
        grid-column: 1;
        grid-row: 3;
        margin-left: 14px;
        margin-top: 20px;
    }

    .pie .redesSociales {
        width: auto;
        grid-column: 1;
        grid-row: 2;
        display: flex;
        justify-content: center;
        flex-flow: column;
        align-items: flex-start;
        margin-left: 10px;
        margin-top: 20px;
    }




    /*TOP BUTTON*/
    .TopBoton {
        bottom: 19%;
        left: 85%;
    }

        .TopBoton .scrollToTopBoton {
            height: 70px;
            width: 70px;
        }

            .TopBoton .scrollToTopBoton:hover {
                background-color: rgba(255, 0, 23, 0.55) !important
            }

    /*pÃ¡gina de error*/
    .alert {
        font-size: 1.1em;
        min-height: 10em;
        padding-top: 0em;
        position: relative;
        width: 100%;
    }

        .alert p.iconalert {
            text-align: center;
        }

        .alert p.titalert {
            color: #49659d;
            font-size: 1.2em;
            font-weight: bold;
            font-family: Arial, Helvetica, sans-serif;
            text-align: center;
        }

    .alerterror {
        border: 1px solid #dbdcde;
        background: #f5f5f5;
        width: 800px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 1rem;
        color: #333;
        padding: 10px;
        margin-bottom: 20px;
    }

    .alertline {
        text-align: center;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 1rem;
        color: #333;
        border-top: 1px solid #DBDCDE;
        margin-left: auto;
        margin-right: auto;
        width: 800px;
        padding: 10px;
        padding-top: 0px;
    }
}


@media screen and (min-width: 955px) and (max-width: 1140px), only screen and (min-width: 955px) and (max-width: 1140px) and (min-resolution: 2dppx), only screen and (min-device-width: 955px) and (max-device-width: 1140px) and (-webkit-min-device-pixel-ratio: 2) {
    .banners-institucionales .grupo ul {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

@media screen and (min-width: 981px) and (max-width: 1140px), only screen and (min-width: 981px) and (max-width: 1140px) and (min-resolution: 2dppx), only screen and (min-device-width: 981px) and (max-device-width: 1140px) and (-webkit-min-device-pixel-ratio: 2) {
    .directo-a h2.titulo2 {
        padding: 0 0 10px 0px;
    }

    .directo-a .grupo .banners {
        /*padding-left: 2%;*/
    }
}

@media only screen and (min-width: 0px) and (max-width: 1024px) and (min-resolution: 1dppx), only screen and (min-device-width: 0px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) {
    .destacado .bannerAviso {
        grid-row: 2 / 3;
        grid-column: 1 / span 2;
    }
}

@media screen and (min-width: 768px) and (max-width: 1180px) and (min-resolution:2dppx) and ( orientation: landscape), only screen and (min-device-width: 768px) and (max-device-width: 1180px) and (-webkit-min-device-pixel-ratio: 2) and ( orientation: landscape) {
}

@media screen and (min-width: 1025px) and (max-width: 1140px), only screen and (min-width: 1025px) and (max-width: 1140px) and (min-resolution: 2dppx), only screen and (min-device-width: 768px) and (max-device-width: 1140px) and (-webkit-min-device-pixel-ratio: 2) {
    .bannerAviso {
        height: 160px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 900px) and (min-resolution: 2dppx), only screen and (min-device-width: 768px) and (max-device-width: 900px) and (-webkit-min-device-pixel-ratio: 2) {
    .buscador {
        padding: 0 20px;
    }
}

@media only screen and (min-width: 901px) and (max-width: 1140px) and (min-resolution: 2dppx), only screen and (min-device-width: 901px) and (max-device-width: 1140px) and (-webkit-min-device-pixel-ratio: 2) {
    .buscador {
        padding: 0 25px;
    }
}

@media only screen and (min-width: 1141px) and (min-resolution: 2dppx), only screen and (min-device-width: 1141px) and (-webkit-min-device-pixel-ratio: 2) {
    .directo-a h2.titulo2 {
        padding: 0 0 10px 0px;
        width: 50%;
        display: flex;
        top: 5%;
        position: relative;
        max-width: 1440px;
        width: 94.5vw;
    }
}


@media only screen and (min-width: 1140px) and (min-resolution: 1dppx), only screen and (min-device-width: 1140px) and (-webkit-min-device-pixel-ratio: 2) {
    .splide__slide img {
        position: relative;
        top: 0px;
        min-height: 580px;
        /*min-height: 90vh;*/
    }

    .actualidad .grupo .bloquenoticias .noticia .imagen-noticia {
        min-height: 120px;
    }

        .actualidad .grupo .bloquenoticias .noticia .imagen-noticia img {
            min-height: 120px;
        }
}

@media screen and (min-width: 768px) and (max-width: 1180px) and (min-resolution:2dppx) and ( orientation: landscape), only screen and (min-device-width: 768px) and (max-device-width: 1180px) and (-webkit-min-device-pixel-ratio: 2) and ( orientation: landscape) {
}


@media only screen and (min-width: 768px) and (max-width: 1140px) and (min-resolution: 2dppx), only screen and (min-device-width: 768px) and (max-device-width: 1140px) and (-webkit-min-device-pixel-ratio: 2) {
    .actualidad .grupo .bloquenoticias .noticia .imagen-noticia {
        max-width: 23vh;
        max-width: 150px;
    }

        .actualidad .grupo .bloquenoticias .noticia .imagen-noticia img {
            max-width: 150px;
        }

    .visible_menu .panelNavegacion {
        z-index: 9999 !important;
    }

    .visible_menu .central, .visible_menu .migas, .visible_menu .pie, .visible_menu .filaA, .visible_menu .destacado, .visible_menu .bloquebanners, .visible_menu .buscador, .visible_menu .bandera {
        -webkit-filter: blur(3px);
        -moz-filter: blur(3px);
        -o-filter: blur(3px);
        -ms-filter: blur(3px);
        filter: blur(3px);
        opacity: .6;
    }

    .visible_menu .idioma {
        border-bottom: 0;
    }

    .visible_menu .central, .visible_menu .destacado, .visible_menu .bloquebanners, .visible_menu .filaA, .visible_menu .pie, .visible_menu .bandera, .visible_menu .buscador {
        display: grid !important;
        z-index: 0;
    }

    .visible_menu .destacado {
        display: flex !important;
        margin-top: 40px !important;
    }

    .visible_menu .filaA {
        grid-row: 1 / 1;
        height: 115px;
    }

    .visible_menu .filaB {
        grid-row: 2;
    }

    .visible_menu .buscador {
        display: flex;
    }

    .visible_menu .bandera {
        display: grid !important;
        width: calc(100% + 15vw);
    }
}
