@charset "utf-8";
/* CSS Document */
/**************************VERSIÓN RESPONSIVE*******************************/
/***************************************************************************/
/*ESTILOS  DISPOSITIVO MÓVIL   - PORTRAIT  */
/***************************************************************************/
@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) {

    /*ESTILOS CABECERA */
    .centrarCabecera {
        /*rejilla*/
        display: grid;
        display: -ms-grid;
        grid-template-columns: 85% 1fr !important;
        grid-template-rows: 95px 68px;
        -ms-grid-columns: 1fr;
        -ms-grid-rows: auto auto auto;
        /*posicion*/
        grid-column: 1 / span 2;
        grid-row: 1 / 2;
        -ms-grid-column: 1;
        -ms-grid-column-span: 2;
        -ms-grid-row: 1;
        -ms-grid-row-span: 1;
        /*estilos*/
        background-color: transparent !important;
        padding-top: 0px;
        /* max-height: 90px; */
        /* min-height: 90px; */
        margin-bottom: 0px;
    }

    .filaA {
        /*rejilla*/
        display: grid;
        display: -ms-grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        -ms-grid-columns: 1fr;
        -ms-grid-rows: auto;
        /*posicion*/
        grid-column: 1 / span 1;
        grid-row: 1 / 1;
        -ms-grid-column: 1;
        -ms-grid-column-span: 1;
        -ms-grid-row: 1;
        -ms-grid-row-span: 1;
        /*estilos*/
        background-color: #FFDB00 !important;
        padding: 0px;
        position:relative; 
        z-index:99999;
    }

    .cabeceraEscudo {
        /*rejilla*/
        display: grid;
        display: -ms-grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        -ms-grid-columns: 1fr;
        -ms-grid-rows: auto; 
        /*posicion*/
        grid-column: 1 / span 1;
        grid-row: 1 / 2;
        -ms-grid-column: 1;
        -ms-grid-column-span: 1;
        -ms-grid-row: 1;
        -ms-grid-row-span: 1;
        /*estilos*/
        text-align: center;
    }

    .cabeceraEscudo h1 {
        display: flex;
        /*flex-flow: column*/ /*estilo antiguo*/
        flex-flow: row; /*estilo nuevo*/
        margin: 0px;
        margin-left: 20px;
        align-self: center;
        /*estilos nuevos*/
        height: 100%;
        /*position: relative;
        top: -1px;*/
    }

    .cabeceraEscudo span {
        font-size: 0.9rem;
        display: block;
        display: flex;
        /* justify-content: center; */
        color: #ffffff;
        font-weight: bold;
        font-family: Arial !important;
    }

    .cabeceraEscudo span:first-child {
        /* margin-left: 40px; */
        box-sizing: border-box;
        margin-left: 0px;
        margin-top: auto;
        display: flex;
        align-items: center;
        /*estilos nuevos*/
        height: 100%;
        width: auto;
    }

    .cabeceraEscudo span:nth-child(2) {
        flex-direction: column;
        margin-top: 10px;
    }

    .cabeceraEscudo span:nth-child(2) img {
        width: auto;
        height: 85%;
    }


    .cabeceraEscudo span:last-child {
        font-size: 1.2rem;
        padding: 15px 0px;
        width: 100%;
    }

    .cabeceraEscudo span img {
        width: auto;
        height: 62px;
    }

    .cabeceraEscudo .cabeceraBanners {
        padding: 0px 10px;
    }

    .cabeceraEscudo .cabeceraBanners a {
        margin-top: 0px;
    }

    .cabeceraEscudo span a {
        float: left;
        margin: 0px;
    }

    .filaB {
        /*rejilla*/
        display: grid;
        display: -ms-grid;
        grid-template-columns: 1fr!important;
        grid-template-rows: 95px 8px 60px;
        -ms-grid-columns: 1fr;
        -ms-grid-rows: auto;
        /*posicion*/
        grid-column: 1 / span 2;
        grid-row: 1 / 3;
        -ms-grid-column: 1;
        -ms-grid-column-span: 1;
        -ms-grid-row: 2;
        -ms-grid-row-span: 3;
        /*estilos*/
    }

    .panelNavegacion {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto;
        grid-column: 1 / span 2;
        grid-row: 2/span 1;
        position: absolute;
        top: 0;
        right: 0px;
        bottom: 0;
        width: 100%;
        z-index: -1;
        padding: 0em 0px;
        background: #6a94ea;
        background: transparent;
        /* opacity: 0; */
        transition: none;
        transition: background-color 0.75s ease;
        font-size: 1.2em;
        overflow-y: auto;
    }

    .navSuperior {
        grid-column: 1/span 2;
        grid-row: 1;
        /*overflow: hidden;*/
    }

    .menuprincipal {
        display: none
    }

    .separador {
        display: none;
    }

    .idioma {
        display: none;
    }

    /*buscador */
    .buscador {
        width: 100%;
        display: flex;
        grid-row: 3;
        position: relative;
        /* left: 0px; */
        grid-column: 1 / span 2;
        justify-content: center;
        /* display: grid; */
        align-items: baseline;
        align-content: flex-end;
    }

    .buscador label {
        display: none;
    }

    .buscador .btnbuscar {
        /* margin: 5px 20px; */
        border: 0px;
        width: 100%;
        left: 0px;
        /*top: 0px;*/
        /* position: absolute; */
        margin: 0px 20px;
        box-sizing: border-box;
    }

    .buscador .btnbuscar input[type="text"] {
        width: 100%;
        background: none;
        transition: none;
        color: #1D1D1B !important;
        display: flex;
        justify-content: center;
        height: 40px;
        border: 1px solid rgba(97, 97, 97, 0.5);
        padding: 0px 20px;
        margin-top: 28px;
    }

    .buscador .btnbuscar input[type="text"]:focus {
        width: 100%;
        background: none;
    }

    .buscador .btnbuscar input[type="text"]:focus:hover {
        background: none;
        border: 1px solid rgba(97, 97, 97, 0.5);
    }

    .buscador .btnbuscar button {
        padding: 3px 25px 1px 0px;
        /*background: url(/Style%20Library/MINHAC.SP.Portal/img/btnSearch.png) 10% 15px no-repeat;*/
        background-image: url(/Style%20Library/MINHAC.SP.Portal/img/btnSearch.svg);
        background-repeat: no-repeat;
        background-position: 10% 15px;
        background-size: 16px;        
        height: 40px;
        top: 28px;
        z-index: 999;
        position: relative;
    }

    .filaC {
        /*rejilla*/
        display: grid;
        display: -ms-grid;
        grid-column: 2 / span 1;
        grid-row: 1 /2;
        /*posicion*/
        -ms-grid-column: 1;
        -ms-grid-column-span: 1;
        -ms-grid-row: 3;
        -ms-grid-row-span: 1;
        /*estilos*/
        position: relative;
        text-align: right;
        display: flex;
        justify-content: flex-end;
        display: block !important;
        /* height: 50px; */
        background-color: #FFDB00 !important;
        padding: 0px;
    }

    .bandera {
        /*rejilla*/
        display: grid;
        display: -ms-grid;
        grid-column: 1 /span 2;
        grid-row: 2;
        /*posicion*/
        -ms-grid-column: 1;
        -ms-grid-column-span: 2;
        -ms-grid-row: 2;
        /* padding-top: 0px; */
        grid-template-columns: 25% 50% 25%;
    }



    body {
        -ms-overflow-x: hidden;
    }


    .panelNavegacion {
        /* opacity: 0; */
        /* transition: opacity 0.5s ease; */
        height: 0;
        background: #ffdb00;
    }

    .panelNavegacion .canales,
    .panelNavegacion .idioma,
    .panelNavegacion .enlacesAyuda,
    .panelNavegacion .redesSociales {
        display: none;
    }



    /*ESTILOS MENU DE NAVEGACION GENERAL*/
    * {
        box-sizing: border-box;
    }

    .visible_menu .centrarCabecera {
        /*rejilla*/
        display: grid;
        display: -ms-grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr !important;
        -ms-grid-columns: 1fr;
        -ms-grid-rows: auto auto auto;
        /*posicion*/
        grid-column: 1 / span 2;
        grid-row: 1 / 2;
        -ms-grid-column: 1;
        -ms-grid-column-span: 2;
        -ms-grid-row: 1;
        -ms-grid-row-span: 1;
        /*estilos*/
        height: 100%;
        z-index: 1;
        grid-row: none;
        position: static;
        left: 0;
        background-color: #6a94ea;
        /*padding-right:10px;*/
    }

    .visible_menu .filaA {
        grid-row: none;
    }

    .visible_menu .panelNavegacion {
        display: grid;
        display: -ms-grid;
        grid-template-columns: 1fr;
        -ms-grid-columns: 1fr;
        -ms-grid-rows: auto auto auto auto;
        grid-column: 1 / span 2;
        -ms-grid-column: 1;
        -ms-grid-column-span: 2;
        position: absolute;
        right: 0px;
        opacity: 1;
        overflow-x: hidden;
        z-index: 99;
        height: 100%;
        min-height: 100%;
        top: 0px;
        width: 100%;
        display: flex;
        flex-flow: column;
        /* padding: 0px; */
        background-color: #FFDB00;
    }

    .visible_menu .navSuperior {
        grid-column: 1 / span 2;
        grid-row: 1 / 2;
        -ms-grid-column: 1;
        -ms-grid-column-span: 1;
        -ms-grid-row: 1;
        -ms-grid-row-span: 1;
        /*estilos*/
        text-align: left;
        padding: 25px 0px 15px 0px !important;
        border-bottom: 3px solid rgba(0, 0, 0, 0.1);
        order: 1;
        display: inline-block;
    }

    .visible_menu .idioma {
        /*posicion*/
        /* grid-column: 1 / span 2; */
        /* grid-row: 1 / 2; */
        display: block !important;
        /*estilos*/
        /* text-align: left; */
        padding-left: 20px;
        order: 1;
    }
    
    .visible_menu .idioma div {
        display: flex;
        justify-content: flex-start;
    }

    .visible_menu .idioma div select {
        text-align: left;
        border: 0;
    }


    .visible_menu .idioma div select:hover {
        background-color: transparent;
        box-shadow: none;
    }

    .visible_menu .separador,
    .visible_menu .buscador {
        display: none;
    }

    .visible_menu .menuprincipal {
        order: 2;
        display: block;
        padding-top: 0px;
    }


    .visible_menu .menuprincipal ul {
        display: flex;
        flex-flow: column;
        justify-content: stretch;
        margin: 0px;
        padding: 0;
        width: 100%;
        margin-top: 0px;
        margin-bottom: 0px;
        /*posicion*/
        -ms-grid-column: 2;
        -ms-grid-column-span: 1;
        -ms-grid-row: 1;
        -ms-grid-row-span: 1;
    }


    .visible_menu .menuprincipal ul li {
        list-style-type: none;
        font-weight: 400;
        height: auto;
        padding: 13px 0px;
        border-bottom: 1px solid #FABD00 !important;
        margin-left: 0px;
        padding-left: 25px;
        box-sizing: border-box;
        font-size: 16px;
        max-width: 100%;
        top: 0px;
    }

    .visible_menu .menuprincipal ul li:last-of-type {
        /*border-bottom: 0px !important;*/
    }

    .visible_menu .menuprincipal ul li a {
        width: auto;
        overflow: hidden;
        text-overflow: initial;
    }

    .visible_menu .menuprincipal ul li a:hover,
    .visible_menu .menuprincipal ul li a:active {
        border-bottom: none;
    }

    .visible_menu .filaC {
        height: auto !important;
        background-color: transparent !important;
    }

    .botonera {
        display: grid;
        display: -ms-grid;
        grid-column: 1 / span 1;
        grid-row: 2 / 3;
        -ms-grid-column: 1;
        -ms-grid-column-span: 1;
        -ms-grid-row: 2;
        -ms-grid-row-span: 1;
        display: flex;
        justify-self: flex-end;
        flex-flow: row;
        height: 100%;
        margin-right: 20px;
    }

    #menu_on {
        display: inline-block;
        width: 24px;
        height: 25px;
        position: relative;
        z-index: 2;
        margin-top: 0px;
        /*margin-right:20px;*/
    }

    div.botMenuGeneral {
        position: relative;
        padding: 0px;
        z-index: 2;
        text-align: right;
        transition: opacity .25s ease-in-out;
        border-radius: 30px;
        left: -6px;
        width: 100%;
        margin-right: 0px;
        margin-top: 0px;
        display: flex !important;
        justify-content: flex-end;
        align-items: flex-start;
        margin-top: 33px;
    }



    div.botMenuGeneral #menu_on span:nth-child(2) {
        top: calc(30% - 1px);
    }

    div.botMenuGeneral #menu_on span:nth-child(3) {
        top: calc(60% - 1px);
    }


    div.botMenuGeneral #menu_on span:nth-child(4) {
        top: calc(95% - 1px);
        background: none;
        font-family: 'Open Sans', sans-serif;
        font-size: 14px;
        font-weight: 400;
        color: #1D1D1B;
        left: -5px;
        display: block !important;
        margin-top: 5px;
    }

    div.botMenuGeneral #menu_on span {
        width: 24px;
        height: 2px;
        border-radius: 4px;
        display: block;
        position: absolute;
        background: #1D1D1B;
        transition: all 0.25s ease;
        transform-origin: 0px 100%;
    }

    div.botMenuGeneral #menu_on span span.oculto {
        display: none;
    }



    .visible_menu #menu_on {
        text-align: right;
        left: 6.5px;
        width: 35px;
        height: 30px;
        margin-top: 0px;
    }

    .visible_menu div.botMenuGeneral #menu_on span {
        background: #1D1D1B;
    }

    .visible_menu div.botMenuGeneral span:nth-child(1) {
        transform: rotate(45deg) translate(7px,5px);
    }

    .visible_menu div.botMenuGeneral span:nth-child(2) {
        opacity: 0;
    }

    .visible_menu div.botMenuGeneral span:nth-child(3) {
        transform: rotate(-45deg) translate(-4px,8px);
    }


    .visible_menu div.botMenuGeneral span:nth-child(4) {
        opacity: 0;
    }

    .visible_menu div.botMenuGeneral {
        /* top: 140px; */
        top: 0px;
        position: fixed;
        z-index: -1;
        display: block !important;
        z-index: 999;
        border-radius: 30px;
        background-color: #fff;
        display: block;
        padding: 3px;
        left: 83%;
        box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
        margin-top: 20px;
        width: 40px;
    }

    .visible_menu .filaA,
    .visible_menu .bandera,
    .visible_menu .buscador,
    .visible_menu .migaimp,
    .visible_menu .destacado,
    .visible_menu .central,
    .visible_menu .bloquebanners,
    .visible_menu .pie {
        display: none !important;
    }

    .visible_menu .container {
        grid-template-rows: 1fr;
        grid-template-columns: 1fr;
        height: 100%;
        position: static;
        width: 100%;
    }

    .visible_menu .centrarCabecera {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr !important;
        position: static;
    }

    .visible_menu .filaB {
        display: grid;
        display: -ms-grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-column: 1 / span 1;
        grid-row: 1 / 1;
    }
    
    /*boton suscribete*/
    #subscribeButton {
        float: none;
        grid-column: 1 / span 1;
        grid-row: 1/ 2;
        -ms-grid-column: 1;
        -ms-grid-row: 1;
        -ms-grid-column-span: 1;
        -ms-grid-row-span: 2;
        grid-template-columns: 1fr;
        -ms-grid-columns: 1fr;
        width: auto !important;
        margin-left: 0px;
        display: flex;
        justify-content: center;
        left: 5px !important;
        margin-bottom: 25px;
    }

    #subscribeButton button#btnSuscribete {
        width: 65vw !important;
        background-position: 85% center, top left !important;
        font-size: 19px;
    }

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

    div.botMenuGeneral #menu_on span.oculto {
        display: block !important;
        background: transparent !important;
    }

    .pie .listados .iconosacc ul li a img {
        width: 100%;
        height: auto;
    }

    .calendario div .loaderDiv {
        margin-top: 50px;
        left: 47%;
        transform: translate(-47%, 0);
    }

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

/**************************************************************************************/
/*ESTILOS CABECERA DISPOSITIVO MÓVIL(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) {
    .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;
    }

    .centrarCabecera {
        /*grid-template-columns: 92% 1fr !important;*/
    }

    .buscador .btnbuscar {
        margin-top: 0px;
    }

    .buscador .btnbuscar input[type="text"] {
        top: 0px;
        margin-top: 28px;
    }
    
    .buscador .btnbuscar button{
        margin-top: 0px;
        top: 25px;
    }
    
    .migas{
        margin-top: 20px;
    }
    
    .visible_menu .panelNavegacion {
        display: grid;
        grid-template-rows: 80px auto;
    }
    
    .visible_menu .navSuperior {
        display: flex;
        grid-column: 1 / span 1;
        grid-row: 1 / 1;
        min-height: 80px;
        justify-content: flex-start;
    }
    
    .visible_menu .idioma {
        border-bottom: 0px !important;
    }

    .visible_menu .menuprincipal {
      grid-row: 2 / 3;
      grid-column: 1 / span 1;
    }
    
    .visible_menu div.botMenuGeneral {
        /*top: 130px;*/
        top: 0px;
        left: 90%;
    }

    .visible_menu .centrarCabecera {
        width: 100%;
    }

    .TopBoton {
        left: 83%;
    }

    .TopBoton .scrollToTopBoton {
        height: 70px;
        width: 70px;
    }
    .migaimp{
        margin-bottom: 20px !important;
    }
    
    #subscribeButton {
        width: auto;
        left: 0px !important;
        margin-bottom: 15px;
        z-index: 0;
    }

    #subscribeButton button#btnSuscribete {
        width: 24vw !important;
        background-position: 90% center, top left !important;
    }    
}


/* CSS Document */
/* Es necesario configurar el meta viewport con el siguiente código en la cabecera HTML
<meta name="viewport" content="width=device-width, initial-scale=1.0">
*/
/*************************************************************************/
/* Estilos responsive que unicamente aplican a la página HOME del PORTAL */
/*************************************************************************/
/*PORTAL MINHAC. PAGINA HOME. MOVIL*/
/*************************************************************************/
/*@media only screen and (min-device-width : 0px) and (max-device-width : 767px)*/


@media only 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;
    }
    /**CABCECERA**/
    .cabecera {
        display: grid;
        display: -ms-grid;
        grid-area: header;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
        grid-template-rows: auto auto auto;
        -ms-grid-columns: 1fr 1fr 1fr 1fr 1fr;
        -ms-grid-rows: auto auto auto;
        grid-column: 1 / span 2;
        grid-row: 1 / 2;
        -ms-grid-column: 1;
        -ms-grid-column-span: 2;
        -ms-grid-row: 1;
        -ms-grid-row-span: 1;
    }
    /*Idiomas y enlaces de ayuda*/
    .cabecera .cab_a {
        height: 35px;
        background: #e0e0e0;
        display: none;
    }

    .cabecera .cab_a .topcab {
        width: auto;
        float: none;
    }

    .cabecera .cab_a .topcab .idioma {
        width: auto;
        float: none;
    }

    .cabecera .cab_a .topcab .ayuda {
        width: auto;
        float: none;
    }
    /*Escudo e imagen institucional*/
    .cabecera .cab_b {
        height: 100%;
        grid-column: 1 / span 6;
        grid-row: 1 / 3;
        -ms-grid-column: 1;
        -ms-grid-row: 1;
        -ms-grid-column-span: 5;
        -ms-grid-row-span: 2;
        background: #6f8ece;
    }

    .cabecera .escudo {
        float: none;
        text-align: center;
        padding: 0.5em;
    }

    .cabecera .escudo a {
        border-bottom: 2px solid #6f8ece;
        text-align: center;
        display: block;
    }

    .cabecera .escudo a img {
        width: 30%;
        max-width: none;
        min-width: auto;
    }

    .cabecera .escudo a:nth-of-type(1),
    .cabecera .escudo a:nth-of-type(2) {
        /* background-color:#f7d118; */
        display: inline;
        margin-top: 0px;
        /* float: left; */
    }

    .cabecera .escudo a:nth-of-type(3),
    .cabecera .escudo a:nth-of-type(4) {
        /* background-color:#ffffff; */
        display: inline;
    }

    .cabecera .escudo a:nth-of-type(1) img {
        width: 50%;
        padding-bottom: 0px;
        width: 39vw;
        height: calc((9/16)*33vw);
    }

    .cabecera .escudo a:nth-of-type(2) img {
        /*width: 50%;*/
        padding-bottom: 0px;
        width: 20vw;
        height: calc((9/16)*33vw);
    }

    .cabecera .escudo a:nth-of-type(3) img {
        width: 20%;
        padding-bottom: 0px;
        width: 15vw;
        height: calc((9/16)*33vw);
    }

    .cabecera .escudo a:nth-of-type(4) img {
        width: 60%;
        padding-bottom: 0px;
        width: 45vw;
        height: calc((9/16)*33vw);
    }

    .cabecera .cab_b .titulocab {
        width: auto;
        margin-left: auto;
        margin-right: auto;
        height: auto;
        background: none;
        text-align: center;
        display: block;
        flex-flow: column;
    }

    .cabecera .cab_b .texto, .escudo {
        width: 100%;
    }

    .cabecera .cab_b .titulocab p {
        margin-top: 10px;
        width: 100%;
    }

    .cabecera .cab_b .titulocab p span {
        padding: 0px 45px;
        display: block;
        font-size: 1.2rem;
    }

    .sociallinks {
        float: none;
        display: none;
    }
    /*Menu de navegacion*/
    .cabecera .cab_c {
        background: url(/Style%20Library/MINHAC.SP.Portal/img/fondobotonera.png) repeat-x scroll 50% bottom;
        height: auto;
        grid-column: 1 / span 6;
        grid-row: 3 / 4;
        -ms-grid-column: 1;
        -ms-grid-row: 3;
        -ms-grid-column-span: 5;
        -ms-grid-row-span: 1;
        background: none;
        width: auto;
    }

    .cabecera .cab_c .botonera {
        width: auto;
        margin-left: auto;
        margin-right: auto;
        position: relative;
        height: 45px;
        background: none;
    }

    .cabecera .cab_c .textosbotonera {
        display: none;
    }

    .cabecera .cab_c .textosbotonera ul {
        display: flex;
        flex-flow: column;
        padding: 0px;
        margin: 0px;
        width: 100%;
    }

    .cabecera .cab_c .textosbotonera ul li {
        padding: .5em;
        padding-right: 0.5em;
        padding-right: .7em;
        display: flex;
        background: none;
        text-align: center;
    }

    .botonesBuscarMenu {
        height: auto;
        grid-column: 1 / span 6;
        grid-row: 3 / 4;
        background: none;
    }

    .botonesBuscarMenu p {
        margin: 0px;
        display: flex;
        height: 100%;
        text-align: right;
        justify-content: flex-end;
        align-items: center;
        padding-right: 10px;
    }

    .botonesBuscarMenu p a {
        display: inline-block;
        width: 30px;
        height: 30px;
        margin: 0px 5px;
        -webkit-transition: box-shadow 200ms linear;
        -moz-transition: box-shadow 200ms linear;
        -o-transition: box-shadow 200ms linear;
        -ms-transition: box-shadow 200ms linear;
        transition: box-shadow 200ms linear;
    }

    .botonesBuscarMenu p a:hover {
        box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
    }

    .botonesBuscarMenu p a span {
        display: none;
    }

    .botonesBuscarMenu p a:first-of-type {
        background-image: url(/Style%20Library/MINHAC.SP.Portal/img/icoMenuPortal.png);
        background-repeat: no-repeat;
        background-position: center;
    }

    .botonesBuscarMenu p a:last-of-type {
        background-image: url(/Style%20Library/MINHAC.SP.Portal/img/icoBuscarPortal.png);
        background-repeat: no-repeat;
        background-position: center;
    }

    /*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;
    }
    /*DESTACADO. CARROUSEL*/
    .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%;
    }

    h2.titulo2 {
        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;
    }

    .carrusel {
        background: none;
        height: 100%;
        padding-bottom: 15px;
        display: flex;
        margin-bottom: 0px;
        float: none !important;
        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;
        flex-flow: column;
        width: 99.5%;
    }

    .carruselnoticias {
        background: #647cc6;
        height: 100%;
        /* clear: both; */
        /* display: initial; */
        /* border: 1px solid yellow; */
    }
    /**/
    .carruselnoticias > div {
        display: grid;
        display: -ms-grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        -ms-grid-columns: 1fr;
        -ms-grid-rows: auto auto;
    }

    .carruselnoticias > div #features {
        grid-column: 1 / span 1;
        grid-row: 1/ 2;
        -ms-grid-column: 1;
        -ms-grid-row: 1;
        -ms-grid-column-span: 1;
        -ms-grid-row-span: 1;
        min-height: auto;
        padding-bottom: 0;
        /* height: auto; */
    }

    .carruselnoticias > div > div {
        /* min-height: 100%; */
        padding-bottom: 0em;
    }

    .carruselnoticias > div p.jshowoff-slidelinks {
        grid-column: 1 / span 1;
        grid-row: 2/ 3;
        -ms-grid-column: 1;
        -ms-grid-row: 1;
        -ms-grid-column-span: 1;
        -ms-grid-row-span: 2;
        /* bottom: 0PX; */
    }
    /**/

    #features {
        background: none;
        height: 100%;
        min-height: 100%;
        background-color: #647cc6 !important;
    }

    .fondocarrusel {
        /* background-color:  #647cc6 !important; */
        padding-bottom: 0px;
    }

    .fondocarrusel > div {
    }

    div.not {
        display: grid !important;
        display: -ms-grid !important;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        -ms-grid-columns: 1fr;
        -ms-grid-rows: 1fr auto;
        justify-items: stretch;
    }

    div.not h3 {
        padding: 1em 15px 0px 15px;
        width: auto;
        float: none;
        font-size: 0.9rem;
        grid-column: 1 / span 1;
        grid-row: 2/3;
        -ms-grid-column: 1;
        -ms-grid-row: 2;
        -ms-grid-column-span: 1;
        -ms-grid-row-span: 1;
        display: flex;
        align-items: center;
        text-transform: uppercase;
        line-height: 1.2rem;
        /*min-height: 50px;*/
    }

    p.imgnoticia {
        float: none !important;
        padding: 0 !important;
        margin: 0px !important;
        margin-top: 3px;
        margin-right: 3px;
        margin-top: 0px !important;
        margin-right: 0px !important;
        position: relative;
        grid-column: 1 / span 1;
        grid-row: 1/2;
        -ms-grid-column: 1;
        -ms-grid-row: 1;
        -ms-grid-column-span: 2;
        -ms-grid-row-span: 1;
        width: 99.6%;
        /*height: auto;*/
        min-height: 100%;
        /*height: 290px*/
        height: 260px !important;
        min-height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        justify-self: center;
    }

    .imgnoticia img {
        border: 0px solid #304268;
        display: block;
        height: auto;
        width: 100%;
        max-width: 100%;
        min-height: 100%;
        max-height: 100%;
        min-width: auto;
        min-height: auto;
    }

    div.not p.txtcarrusel {
        display: none;
        /*line-height: 1.7em !important;*/
        padding: 1em 15px;
        width: auto;
        /* font-weight: normal!important; */
        /* font-size: 1em!important; */
        margin: 0 !important;
        display: block;
        grid-column: 1 / span 2;
        grid-row: 3/4;
        -ms-grid-column: 1;
        -ms-grid-column-span: 1;
        -ms-grid-row: 3;
        -ms-grid-row-span: 1;
        /* max-height: 11em; */
        /* min-height: 11em; */
    }

    /*altura texto noticia*/
    div.not p.txtcarrusel {
        font-size: 0.9rem;
    }
    /**/

    div.not p.txtcarrusel2 {
        padding: 1em 15px;
        float: none;
        margin-top: 0px;
        grid-column: 1 / span 2;
        grid-row: 4/5;
        -ms-grid-column: 1;
        -ms-grid-column-span: 1;
        -ms-grid-row: 4;
        -ms-grid-row-span: 1;
        width: auto;
    }

    div.not p.txtcarrusel2 a {
        /* font-size: 1em; */
        text-decoration: none;
        border-bottom: 2px solid #ffffff;
        padding-bottom: 5px;
        font-size: 0.9rem;
    }

    .jshowoff p.jshowoff-slidelinks {
        margin: 0;
        margin-left: 0px;
        width: auto;
        background: none;
        position: relative;
        top: 0px;
        margin-left: 0px;
        padding-bottom: 3%;
        padding-top: 3%;
        display: flex;
        justify-content: center;
        background-color: #647cc6;
    }

    .jshowoff-slidelinks a, .jshowoff-controls a {
        display: block;
        background-color: #000;
        color: #fff !important;
        padding: 1%;
        float: left;
        text-decoration: none;
        outline: none;
        /* font-size: 8px; */
        line-height: 14px;
        background: none;
        margin: 1.5% !important;
        width: 1.5rem;
        height: 1.5rem;
        border-radius: 4em;
        background-color: #ffffff;
        line-height: 5px;
        margin: 5px;
        border: 1px solid #ffffff;
        -webkit-transition: background-color 200ms linear;
        -moz-transition: background-color 200ms linear;
        -o-transition: background-color 200ms linear;
        -ms-transition: background-color 200ms linear;
        transition: background-color 200ms linear;
        -webkit-transition: border 200ms linear;
        -moz-transition: border 200ms linear;
        -o-transition: border 200ms linear;
        -ms-transition: border 200ms linear;
        transition: border 200ms linear;
    }

    .jshowoff-slidelinks a:hover, .jshowoff-controls a:hover {
        color: #ffffff !important;
        border: 1px solid rgba(14, 58, 144, .6);
        background-color: #ffffff;
    }

    .jshowoff-slidelinks a.jshowoff-active, .jshowoff-slidelinks a.jshowoff-active:hover {
        background-color: #0e3a90;
        color: #0e3a90 !important;
        border: 1px solid #0e3a90;
    }

    div.ver {
        width: auto;
        color: #fff;
        position: relative;
        top: auto;
        float: none;
        margin-left: 0px;
        background: none;
        height: 100%;
        clear: both;
        /* margin-top: 1em; */
        display: flex;
        align-items: center;
        justify-content: center;
        height: 5em;
        /* border: 1px solid red; */
    }

    div.ver p {
        margin: 0px;
        text-align: center;
    }

    div.ver p a {
        border-radius: 4px;
        padding: 0.7em;
        background-color: #35589c;
        margin: 0px;
        -webkit-transition: background-color 200ms linear;
        -moz-transition: background-color 200ms linear;
        -o-transition: background-color 200ms linear;
        -ms-transition: background-color 200ms linear;
        transition: background-color 200ms linear;
        font-size: 0.85rem;
    }

    div.ver p a span {
        font-size: 1.2em;
    }

    div.ver p a:hover {
        text-decoration: none;
        background-color: #0e3a90;
    }
    /*CONTENIDO CENTRAL*/
    .central {
        width: auto;
        padding-bottom: 0px;
        clear: both;
        display: grid;
        display: -ms-grid;
        grid-column: 1 / span 2;
        grid-row: 4/ 5;
        -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;
    }

    .contenido {
        width: auto;
        float: none;
        margin-left: 0px;
        margin-bottom: 0px;
        display: grid;
        display: -ms-grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        -ms-grid-columns: 1fr;
        -ms-grid-rows: 30px auto auto;
        grid-column: 1 / span 1;
        grid-row: 1/ 2;
        -ms-grid-column: 1;
        -ms-grid-row: 1;
        -ms-grid-column-span: 1;
        -ms-grid-row-span: 1;
    }
    /*Actualidad*/
    .contenido h2.titulo {
        display: flex;
        width: auto;
        background: none;
        font-size: 1.2rem;
        font-weight: normal !important;
        color: #4a5f8a;
        text-transform: none;
        border-bottom: 0px solid #e0e8ee;
        font-weight: bold !important;
        grid-column: 1 / span 1;
        grid-row: 1/ 2;
        -ms-grid-column: 1;
        -ms-grid-row: 1;
        -ms-grid-column-span: 1;
        -ms-grid-row-span: 1;
        position: relative;
        padding-left: 5px;
        align-items: end;
        height: auto;
        line-height: 1em;
    }

    .contenido .actualidad {
        grid-column: 1 / span 1;
        grid-row: 2/ 3;
        -ms-grid-column: 1;
        -ms-grid-row: 2;
        -ms-grid-column-span: 1;
        -ms-grid-row-span: 1;
        line-height: 2em;
    }

    .contenido .actualidad ul li {
        background: none;
        padding-left: 10px;
        margin-bottom: 0px;
        border-bottom: 2px solid #aeaeaa;
        margin-left: 0px;
        padding-left: 10px;
        padding-right: 10px;
        padding: 5px;
    }

    .contenido .actualidad ul li:last-of-type {
        border-bottom: 0px;
    }

    .contenido .actualidad ul li a {
        line-height: 0px;
        margin-top: 0px;
        padding: 0px;
        font-size: 1rem;
    }

    a img[class="Technositepopup"] {
        /* width: 15px; */
        margin-left: 5px;
    }
    /*Directo a*/
    .contenido .directo {
        grid-column: 1 / span 1;
        grid-row: 3/ 4;
        -ms-grid-column: 1;
        -ms-grid-row: 3;
        -ms-grid-column-span: 1;
        -ms-grid-row-span: 1;
        background-color: #f0f4ff;
        display: flex;
        flex-flow: column;
        position: relative;
        justify-items: stretch;
    }

    .contenido .directo h2.titulo {
        display: flex;
        padding: 0px;
        margin-bottom: 0px;
    }

    .contenido .directo h2.titulo span {
        padding: 10px 10px 10px 5px;
    }

    .contenido .directo .enlaces {
        float: none;
        width: 100%;
        max-width: none;
        display: flex;
        flex-flow: column;
        font-size: 1rem;
        line-height: 2em;
    }

    .contenido .directo .enlaces a {
        font-size: 1rem;
    }

    .contenido .directo .enlaces ul li {
        background: none;
        padding: 10px 5px;
        margin-bottom: 0px;
        border-bottom: 1px solid #ffffff;
    }

    .contenido .directo .enlaces ul li:last-of-type {
        border-bottom: 0px;
    }

    .contenido .directo .areas {
        float: none;
        width: auto;
        max-width: none;
        padding: 5px;
        font-size: 1.1em;
    }

    .contenido .directo .areacolor {
        display: none;
    }

    .contenido .directo .area {
        background-color: #32518F;
        height: auto;
        float: none;
        width: 100%;
        margin-bottom: 0px;
        display: flex;
        min-height: 40px;
        border-bottom: 1px solid rgba(255, 255, 255, .2);
        -webkit-transition: background-color 200ms linear;
        -moz-transition: background-color 200ms linear;
        -o-transition: background-color 200ms linear;
        -ms-transition: background-color 200ms linear;
        transition: background-color 200ms linear;
    }

    .contenido .directo .area:hover {
        background-color: #0e3a90 !important;
    }

    .contenido .directo .area p {
        width: 100%;
        text-align: center;
        padding: 0px;
    }

    .contenido .directo .area a {
        font-weight: normal;
        color: #ffffff;
        padding: 0px 15px;
        display: block;
        text-decoration: none;
        line-height: 1.2em;
        font-size: 1rem;
    }
    /*Banners destacados*/
    .bannersdestacados {
        /*width: 100%;*/
        width: auto;
        height: auto;
        float: none;
        padding-right: 3px;
        color: #4a5f8a;
        font-family: Arial;
        font-size: .95em;
        margin-right: auto;
        margin-top: 0px;
        grid-column: 1 / span 1;
        grid-row: 2/ 3;
        -ms-grid-column: 1;
        -ms-grid-row: 2;
        -ms-grid-column-span: 1;
        -ms-grid-row-span: 1;
    }

    /*suscribete*/
    #subscribeButton {
        float: none;
        left: 0px;
        width: 100%;
        margin-left: 0px;
        justify-content: center;
        display: flex;
    }
    
    #subscribeButton button#btnSuscribete {
        width: 95%;
        background-position: 65% center, top left;
        font-size: 19px;
    }

    /*buscador*/
    .bannersdestacados .buscador {
        display: none;
    }
    /*agenda*/
    .bannersdestacados .calendario {
        float: none;
        margin-bottom: 0px;
        min-width: 100%;
        width: 100%;
    }

    #div-calendarioAgenda-app {
        border: 0px solid #e1e8ee !important;
        padding: 5px !important;
        padding-bottom: 5px !important;
        font-family: arial;
        font-size: .8em;
        width: auto !important;
        min-height: auto !important;
        display: flex;
        flex-flow: column;
        padding-bottom: 0px;
    }

    #div-calendarioAgenda-app > div:first-of-type {
        width: 100%;
        display: flex !important;
    }

    #div-calendarioAgenda-app div.enlaceMes {
        position: relative !important;
        margin-left: 100px !important;
        height: 2.5em !important;
        vertical-align: middle !important;
        background-color: #6a93ea;
        margin-top: 15px;
        clear: both;
        background-color: transparent !important;
        display: flex !important;
        margin-right: 100px;
    }

    #div-calendarioAgenda-app div.enlaceMes {
        /* margin-top: 25px!important; */
    }

    #div-calendarioAgenda-app div.enlaceMes a {
        font-size: 1.2rem !important;
    }

    #div-calendarioAgenda-app div.enlaceMes p {
        width: 100% !important;
        /* height: 100%!important; */
        /* padding: 4% 0px!important; */
        position: relative;
        top: 10px;
    }

    div#calendarDiv {
        width: 100%;
        top: -2.5em;
        position: relative;
    }

    #div-calendarioAgenda-app div:nth-child(3) div div:nth-child(2) table {
        /* font-size: 1em!important; */
    }

    #div-calendarioAgenda-app div:nth-child(3) div div:nth-child(2) table thead th {
        height: auto !important;
        width: 25px;
        /* padding: 4%; */
        height: 3em !important;
        width: 2em !important;
        font-size: 0.9rem;
    }

    #div-calendarioAgenda-app div:nth-child(3) div div:nth-child(2) table tbody td {
        /* padding-top: 3%!important; */
        height: auto !important;
    }

    #div-calendarioAgenda-app div:nth-child(3) div div:nth-child(2) table tbody td div {
        font-size: 0.9rem;
        height: 2.5em !important;
    }

    #div-calendarioAgenda-app .rw-calendar {
        width: 100%;
    }

    #div-calendarioAgenda-app .rw-header {
        display: inline-flex !important;
        width: 100%;
        height: 3.5em !important;
    }

    #div-calendarioAgenda-app div:nth-child(3) div div:nth-child(2) table tbody {
        font-size: 1.2em;
    }

    #div-calendarioAgenda-app .rw-header button:nth-child(2) {
        width: 100%;
        color: #3268e2;
    }

    #div-calendarioAgenda-app div:nth-child(3) div div:nth-child(2) table tbody td a {
        font-size: 0.9rem;
        height: 2.2em !important;
    }

    #div-calendarioAgenda-app button:first-child {
        width: 5em !important;
        height: 3em !important;
        background-position: center !important;
        border-radius: 5em !important;
        font-size: 1em !important;
        background-size: 50%;
        font-size: 10px !important;
        /* top: 0px!important; */
    }

    #div-calendarioAgenda-app button:last-child {
        width: 5em !important;
        height: 3em !important;
        background-position: center !important;
        border-radius: 8em !important;
        font-size: 10px !important;
        background-size: 50%;
    }

    #div-calendarioAgenda-app .divAnyoAgendaEventos {
        z-index: -1 !important;
        position: relative !important;
    }

    #div-calendarioAgenda-app > div:first-of-type {
        display: flex;
    }

    #div-calendarioAgenda-app > div:first-child div:nth-child(1) {
        display: inline-flex !important;
        width: auto;
        padding: 0px 0px 5px 0px;
    }

    #div-calendarioAgenda-app > div:first-child div:nth-child(1) p {
        width: auto !important;
        margin-right: 30px !important;
        padding-top: 0px !important;
    }

    #div-calendarioAgenda-app div:first-child div:nth-child(1) p {
        background-size: 20px !important;
    }

    #div-calendarioAgenda-app div:first-child div:nth-child(1) p a {
        padding: 15px 15px;
        /* border: 1px solid red; */
        /* margin-left: 0px; */
    }

    #div-calendarioAgenda-app > div:first-child div:nth-child(1) span {
        /* vertical-align: middle; */
        /* float: none!important; */
        /* padding-top: 5px; */
        /* font-size: 1.5em; */
        vertical-align: middle;
        float: none !important;
        padding-top: 5px;
        font-size: 1.5em;
        margin-right: 10px;
    }

    #div-calendarioAgenda-app > div:first-child div:nth-child(2) {
        display: inline-flex;
        width: 100%;
        text-align: right;
    }

    #div-calendarioAgenda-app > div:first-child div:nth-child(2) p {
        top: 0px !important;
        width: 100% !important;
        align-self: flex-end;
        font-size: 1.2rem !important;
    }
    /*banners*/
    .bannersdestacados .bannerimg {
        width: auto;
        float: none;
        height: auto;
    }

    .bannersdestacados .bannerimg p {
        margin-top: 0px;
    }

    .bannersdestacados .bannerimg p:last-of-type {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .bannersdestacados .bannerimg p:last-of-type a {
        margin: 5px 5px 20px 5px;
        width: 100%;
    }

    .bannersdestacados .bannerimg p:last-of-type a img {
        /* width: 50%; */
        width: 65vw;
        height: auto;
    }
    /*BLOQUE BANNERS*/
    .bloquebanners {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        display: grid;
        display: -ms-grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        -ms-grid-columns: 1fr;
        -ms-grid-rows: 1fr;
        grid-column: 1 / span 2;
        grid-row: 5/ 6;
        -ms-grid-column: 1;
        -ms-grid-row: 5;
        -ms-grid-column-span: 2;
        -ms-grid-row-span: 1;
        background: #f5f5f5;
    }

    .banners {
        float: none;
        border: 0px solid #e4e4e4;
        background: #f5f5f5;
        margin: 0px;
        width: 100%;
    }

    .banners .institucionales {
        min-height: 8em;
        width: 100%;
        float: none;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        padding-top: 0px;
        padding-bottom: 0px;
    }

    .banners .institucionales P:last-of-type a {
        -webkit-transition: background-color 200ms linear;
        -moz-transition: background-color 200ms linear;
        -o-transition: background-color 200ms linear;
        -ms-transition: background-color 200ms linear;
        transition: background-color 200ms linear;
        width: 100%;
    }

    .banners .institucionales img {
        /* width: 50%; */
        width: 50vw;
        /* height: calc((9/16)*22.5vw); */
        height: auto;
        margin-bottom: 20px;
    }

    .banners .institucionales P:last-of-type {
        margin-top: 0px;
        margin-left: 0px;
        margin-right: 0px;
        width: 100%;
        justify-content: center;
        display: grid;
        display: -ms-grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        -ms-grid-columns: 1fr;
        -ms-grid-rows: auto auto;
        padding: 5px;
        align-items: center;
        margin-bottom: 0px;
        /* line-height: 2em; */
    }

    .banners .institucionales P:last-of-type span.bannersPieA {
        grid-column: 1 / span 1;
        grid-row: 1 / span 1;
        -ms-grid-column: 1;
        -ms-grid-row: 1;
        -ms-grid-column-span: 1;
        -ms-grid-row-span: 1;
        display: flex;
        flex-flow: column;
        -ms-flex-flow: column;
    }

    .banners .institucionales P:last-of-type span.bannersPieA a {
        width: 100%;
        margin: 0px;
        /*display:block;*/
        display: flex;
        max-height: 4.5em;
        min-height: 4.5em;
        justify-content: flex-end;
        align-items: center;
        /* text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.4); */
        color: #ffffff;
        /* line-height: 2em; */
    }

    .banners .institucionales P:last-of-type span.bannersPieA a span {
        padding-right: 15px;
        max-width: 70%;
        display: block;
        text-align: right;
        line-height: 1.1em;
        height: 100%;
        /* border: 1px solid red; */
        /* float: right; */
        min-height: 100%;
        /* font-size: 1em; */
        text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.6);
        /* font-weight: bold; */
        font-size: 1rem !important;
        /* font-family: "arial narrow"; */
        /* letter-spacing: 1px; */
    }

    .banners .institucionales P:last-of-type span.bannersPieA a img {
        display: none;
    }

    .banners .institucionales P:last-of-type span.bannersPieA a.bInfoGeneral {
        background-color: #a497e9;
        background-image: url(/Style%20Library/MINHAC.SP.Portal/img/icoInformacionGeneral.png);
        background-repeat: no-repeat;
        background-position: 15px center;
        /* background-size: 10%; */
    }

    .banners .institucionales P:last-of-type span.bannersPieA a.bInfoGeneral:hover {
        background-color: #8b77fa;
    }

    .banners .institucionales P:last-of-type span.bannersPieA a.bHacienda {
        background-color: #a7cc62;
        background-image: url(/Style%20Library/MINHAC.SP.Portal/img/icoHacienda.png);
        background-repeat: no-repeat;
        background-position: 15px center;
        /* background-size: 10%; */
    }

    .banners .institucionales P:last-of-type span.bannersPieA a.bHacienda:hover {
        background-color: #8ebd38
    }

    .banners .institucionales P:last-of-type span.bannersPieA a.bPresupuestosGastos {
        background-color: #5d92d4;
        background-image: url(/Style%20Library/MINHAC.SP.Portal/img/icoPresupuestosGastos.png);
        background-repeat: no-repeat;
        background-position: 15px center;
        /* background-size: 10%; */
    }

    .banners .institucionales P:last-of-type span.bannersPieA a.bPresupuestosGastos:hover {
        background-color: #3d7fd1;
    }

    .banners .institucionales P:last-of-type span.bannersPieA a.bFuncionPublica {
        background-color: #f49851;
        background-image: url(/Style%20Library/MINHAC.SP.Portal/img/icoFuncionPublica.png);
        background-repeat: no-repeat;
        background-position: 15px center;
    }

    .banners .institucionales P:last-of-type span.bannersPieA a.bFuncionPublica:hover {
        background-color: #dc7e03;
    }

    .banners .institucionales P:last-of-type span.bannersPieA a.bContratacionPatrimonioEstado {
        background-color: #ff5977;
        background-image: url(/Style%20Library/MINHAC.SP.Portal/img/icoContratacionPatrimonio.png);
        background-repeat: no-repeat;
        background-position: 15px center;
        /* background-size: 10%; */
    }

    .banners .institucionales P:last-of-type span.bannersPieA a.bContratacionPatrimonioEstado:hover {
        background-color: #e73a5a;
    }

    .banners .institucionales P:last-of-type span.bannersPieA a.bEscribaMinisterio {
        background-color: #4cb0d8;
        background-image: url(/Style%20Library/MINHAC.SP.Portal/img/icoEscribaMinisterio.png);
        background-repeat: no-repeat;
        background-position: 15px center;
    }

    .banners .institucionales P:last-of-type span.bannersPieA a.bEscribaMinisterio:hover {
        background-color: #298cb4;
    }

    .banners .institucionales P:last-of-type span.bannersPieA img {
        border: 0px;
    }

    .banners .institucionales a {
        margin-left: 0px;
        margin-right: 19px;
        margin-top: 0px;
    }

    .banners .institucionales P:last-of-type span.bannersPieB {
        grid-column: 1 / span 1;
        grid-row: 2 / span 1;
        -ms-grid-column: 1;
        -ms-grid-row: 2;
        -ms-grid-column-span: 1;
        -ms-grid-row-span: 1;
        display: block;
        display: flex;
        flex-flow: column;
        -ms-flex-flow: column;
        flex-flow: wrap;
        -ms-flex-flow: wrap;
        justify-content: center;
        text-align: left;
        width: auto;
        padding-top: 25px;
    }
    /*PIE*/
    .pie {
        display: grid !important;
        grid-column: 1 / span 3;
        grid-row: 6/ 7;
        -ms-grid-column: 1;
        -ms-grid-row: 6;
        -ms-grid-column-span: 2;
        -ms-grid-row-span: 1;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto;
        -ms-grid-columns: 1fr;
        -ms-grid-rows: auto;
        position: relative !important;
        /* line-height: 2em; */
    }

    .pie .listados {
        width: 100%;
        margin: auto;
        min-height: auto;
    }

    .pie .listados .textos {
        width: 100%;
        height: auto;
        float: none;
        background: #535354;
        padding: 0.5em 0px;
        /* border: 1px solid pink; */
    }

    .pie .listados .iconosacc {
        width: auto;
        height: auto;
        float: none;
        background: #535354;
        display: flex;
        justify-content: center;
        flex-flow: column;
        text-align: center;
        /* align-items: center; */
    }

    .pie .listados .textos ul {
        margin: 0;
        margin-top: 0px;
        margin-left: 0px;
        padding: 0;
        margin-left: 0px;
        /* margin-top: 8px; */
        display: flex;
        flex-flow: column;
        text-align: center;
    }

    .pie .listados .textos ul li {
        margin-right: 10px;
        border-right: 0px solid #fff;
        margin-right: 0px;
        margin-left: 0px;
        padding-right: 0px;
        padding: 3px 0px;
        margin: 0.5em 0px;
    }

    .pie .listados .iconosacc ul {
        padding: 0;
        margin: 0;
        margin-top: 0px;
        float: right;
        /* margin-top: 0px; */
        text-align: center;
        clear: both;
        padding-bottom: 5px;
        display: flex;
        flex-flow: row;
        float: none;
        flex: 1;
        width: 100%;
        align-self: center;
        /* justify-self: stretch; */
        /* display: flex; */
        /* flex-flow: row; */
        /* float: none; */
        /* flex: 1; */
        /* width: 100%; */
        /* align-self: center; */
        /* justify-self: stretch; */
        justify-content: center;
        padding: 1em 0px;
    }

    .pie .listados .iconosacc ul li {
        /* border:1px solid red; */
        /* display:block; */
        /* width:100%; */
        text-align: center;
    }

    .pie .listados .iconosacc ul li a {
        /* border:1px solid white; */
        width: 100%;
        display: block;
        text-align: center;
    }

    .pie .listados .iconosacc ul li a img {
        /* border:1px solid white; */
        /*width: 30% !important;*/
        /* display:block; */
        /*width: 22vw !important;*/
        width: 100%;
        height: auto;
    }

    .pie .listados .textos a {
        font-size: 0.9rem;
    }

    .pie .listados .iconosacc p {
        text-align: center;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-top: 1em;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 1em;
        margin-right: 0px;
        /* font-size: 0.8rem; */
        /* float: none; */
        /* clear: both; */
        margin: 0px;
        font-size: 0.9rem;
        padding: 5px;
    }

    p.imgnoticia {
        min-height: 100%;
        height: auto;
        min-height: auto;
    }

    p.imgnoticia a {
        margin-top: 0px;
        width: 100%;
    }
}
/*************************************************************************/
/*PORTAL MINHAC. PAGINA HOME. MOVIL (LANDSCAPE)*/
/*************************************************************************/
/* @media only screen 
and (min-device-width : 0px) 
and (max-device-width : 768px)  
and (orientation : landscape)*/
@media only screen and (min-width: 0px) and (max-width: 768px) and (min-resolution: 1dppx) and (orientation : landscape) {
    html {
        font-size: 16px;
    }

    body {
        font-size: 1em;
    }

    .cabecera .escudo {
        float: none;
        text-align: center;
        padding: 0%;
    }

    .escudo {
        width: 100%;
    }

    .cabecera .escudo a {
        border-bottom: 0px solid #6f8ece;
        text-align: center;
        display: inline-block;
    }

    .cabecera .escudo a:nth-of-type(1) img {
        width: 25vw !important;
        padding-bottom: 0px !important;
        height: calc((9/16)*23vw) !important;
        height: auto !important;
        width: auto !important;
    }

    .cabecera .escudo a:nth-of-type(2) img {
        width: 14vw !important;
        padding-bottom: 0px !important;
        height: calc((9/16)*23vw) !important;
        height: auto !important;
        width: auto !important;
    }

    .cabecera .escudo a:nth-of-type(3) img {
        width: 8vw !important;
        padding-bottom: 0px !important;
        height: calc((9/16)*23vw) !important;
        height: auto !important;
        width: auto !important;
    }

    .cabecera .escudo a:nth-of-type(4) img {
        width: 25vw !important;
        padding-bottom: 0px !important;
        height: calc((9/16)*23vw) !important;
        height: auto !important;
        width: auto !important;
    }

    .cabecera .cab_b .titulocab p span {
        font-size: 1.2rem;
    }

    h2.titulo2 {
        font-size: 1.4em;
    }

    .contenido h2.titulo {
        font-size: 1.4em;
    }

    .container {
        display: grid;
        display: -ms-grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto 20px auto auto auto auto;
    }

    .contenido .actualidad ul li a {
        font-size: 1.1em;
    }

    .contenido .directo .enlaces {
        font-size: 1.2em;
    }

    .contenido .directo .areas {
        font-size: 1.2em;
    }

    a img[class="Technositepopup"] {
        /* width: 20px; */
        margin-left: 10px;
    }

    .carrusel {
        padding-bottom: 0px;
        margin: 0px !important
    }

    .carruselnoticias {
        min-height: auto;
        height: auto;
    }

    .carruselnoticias > div {
        grid-template-rows: 100% auto;
    }

    p.imgnoticia {
        /* margin-top: 8px!important; */
        height: 100%;
        min-height: 100%;
        /* height: 100vh; */
        /* width: calc((16/9)*100vh); */
        /*width: 100vw;*/
        width: 100%;
        height: calc((9/16)*100vw);
        height: 50em;
        height: auto;
        min-height: auto;
    }

    div.not h3 {
        padding: 5% 15px 0px 15px;
        font-size: 1.2rem;
    }

    div.not p.txtcarrusel {
        padding: 20px 15px !important;
        font-size: 0.9rem;
    }

    div.not p.txtcarrusel2 {
        padding: 1em 15px;
    }

    div.not p.txtcarrusel2 a {
        /* font-size: 1.1em; */
    }

    .jshowoff-slidelinks a, .jshowoff-controls a {
        padding: 1%;
        margin: 1.5% !important;
        /* width: 1.5em; */
        /* height: 1.5em; */
        /* border-radius: 2em; */
    }

    .jshowoff p.jshowoff-slidelinks {
        padding-bottom: 10px;
        padding-top: 0px;
        /* margin-top: 3%; */
        /* border: 1px solid red; */
    }

    .carruselnoticias > div {
        display: grid;
        display: -ms-grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        -ms-grid-columns: 1fr;
        -ms-grid-rows: auto auto;
    }

    .carruselnoticias > div #features {
        grid-column: 1 / span 1;
        grid-row: 1/ 2;
        -ms-grid-column: 1;
        -ms-grid-row: 1;
        -ms-grid-column-span: 1;
        -ms-grid-row-span: 1;
        min-height: 100%;
        padding-bottom: 0;
        /* border: 1px solid red; */
        min-height: auto;
    }

    div.not {
        display: grid !important;
        display: -ms-grid !important;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        -ms-grid-columns: 1fr;
        -ms-grid-rows: 1fr auto;
        justify-items: stretch;
    }

    div.ver {
        /* height: 100%; */
        margin-top: 2em;
        height: auto;
        display: block;
        top: 0px;
        position: relative;
        /* border:1PX SOLID YELLOW; */
        margin-bottom: 3em;
    }

    .bannersdestacados .bannerimg p:last-of-type a img {
        /* width: 50%;*/
        width: 40vw;
        height: calc((9/16)*26vw);
    }

    .banners .institucionales img {
        /* width: 50%;*/
        width: 30vw;
        height: calc((9/16)*22.5vw);
    }

    .pie .listados .iconosacc ul li a img {
        /* border: 1px solid white; */
        /* width: 30%!important;*/
        /*width: 15vw !important;*/
        /*height: initial;*/
        width: 100%;
        height: auto;
    }

    #div-calendarioAgenda-app div.enlaceMes p {
        padding: 0px !important;
        top: -30px !important;
        position: relative;
    }

    .bannersdestacados .bannerimg p:last-of-type a {
        margin: 5px 5px 5px 5px;
        width: auto;
    }

    .bannersdestacados .bannerimg p:last-of-type a img {
        /* width: 50%;*/
        width: 25vw;
        /* height: calc((9/16)*10vw); */
        /* width: initial; */
        height: initial;
    }

    .bannersdestacados .bannerimg p:last-of-type {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    #div-calendarioAgenda-app div:nth-child(3) div div:nth-child(2) table thead th {
        height: auto !important;
        width: 2em;
        /* padding: 2%; */
    }

    .banners .institucionales P:last-of-type span.bannersPieA a {
        background-size: 7% !important;
    }

    .banners .institucionales img {
        /* width: 50%; */
        width: 20vw;
        height: auto;
        margin-bottom: 10px;
    }

    .banners .institucionales P:last-of-type a {
        width: auto;
    }

    #div-calendarioAgenda-app div:first-child div:nth-child(1) p {
        background-size: 70% !important;
    }

    #div-calendarioAgenda-app div.enlaceMes {
        margin-left: 100px !important;
        height: 2em !important;
        margin-right: 100px;
        /* border: 1px solid red; */
        margin-top: 0px !important;
    }

    #div-calendarioAgenda-app div.enlaceMes p {
        /* padding: 4% 0px!important; */
        top: 15px !important;
        position: relative;
        font-size: 1.5em;
    }

    #div-calendarioAgenda-app div.enlaceMes a {
        /* font-size: 1.2em!important; */
    }

    div#calendarDiv {
        width: 100%;
        top: -2em;
        position: relative;
        /* font-size: 1.5em; */
    }

    #div-calendarioAgenda-app div:nth-child(3) div div:first-child {
        /* height: 2.5em!important; */
    }

    #div-calendarioAgenda-app button:first-child, #div-calendarioAgenda-app button:last-child {
        width: 4em !important;
        height: 3em !important;
        border-radius: 5em !important;
        background-size: 50%;
        /* border: 1px solid red; */
        background-position: center !important;
        font-size: 10px !important;
        /* top: -5px!important; */
    }

    #div-calendarioAgenda-app div:nth-child(3) div div:nth-child(2) table thead th {
        /* font-size: 1.5em; */
    }

    #div-calendarioAgenda-app div:nth-child(3) div div:nth-child(2) table thead th {
        height: 3em !important;
        width: 1em !important;
    }

    #div-calendarioAgenda-app div:nth-child(3) div div:nth-child(2) table#rw_1_calendar tbody td {
        /* height: 10px!important; */
        /* font-size: 0.65em!important; */
        /* padding: 0px!important; */
    }

    #div-calendarioAgenda-app div:nth-child(3) div div:nth-child(2) table#rw_1_calendar tbody td {
        /* height: 10px!important; */
        /* font-size: 0.65em!important; */
        /* padding: 0px!important; */
    }

    .contenido .actualidad ul li {
        padding: 5px;
    }
}

/*************************************************************************/

/*  COOKIES  */

/*************************************************************************/

@media only screen and (min-width: 0px) and (max-width: 340px) and (min-resolution: 1dppx), only screen and (min-device-width: 0px) and (max-device-width: 340px) and (-webkit-min-device-pixel-ratio: 2) {
    .cookie-bar {
        height: 40%;
    }

        .cookie-bar p {
            text-align: left;
        }
}

@media only screen and (min-width: 341px) and (max-width: 410px) and (min-resolution: 1dppx), only screen and (min-device-width: 341px) and (max-device-width: 410px) and (-webkit-min-device-pixel-ratio: 2) {
    .cookie-bar {
        height: 35%;
    }

        .cookie-bar p {
            text-align: left;
        }
}

@media only screen and (min-width: 411px) and (max-width: 650px) and (min-resolution: 1dppx), only screen and (min-device-width: 411px) and (max-device-width: 650px) and (-webkit-min-device-pixel-ratio: 2) {
    .cookie-bar {
        height: 30%;
    }

        .cookie-bar p {
            text-align: left;
        }
}

@media (max-width: 767px) {

    div.cookies {
        z-index: 999999;
    }
}

@media (max-width: 767px) {
    .cookie-bar .mobile {
        display: inline-block;
    }
}
@charset "utf-8";
/* CSS Document */
/**************************VERSIÓN RESPONSIVE*******************************/
/***************************************************************************/
/*ESTILOS  DISPOSITIVO MÓVIL   - PORTRAIT  */
/***************************************************************************/
@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) {

    /*ESTILOS CABECERA */
    .centrarCabecera {
        /*rejilla*/
        display: grid;
        display: -ms-grid;
        grid-template-columns: 85% 1fr !important;
        grid-template-rows: 95px 68px;
        -ms-grid-columns: 1fr;
        -ms-grid-rows: auto auto auto;
        /*posicion*/
        grid-column: 1 / span 2;
        grid-row: 1 / 2;
        -ms-grid-column: 1;
        -ms-grid-column-span: 2;
        -ms-grid-row: 1;
        -ms-grid-row-span: 1;
        /*estilos*/
        background-color: transparent !important;
        padding-top: 0px;
        /* max-height: 90px; */
        /* min-height: 90px; */
        margin-bottom: 0px;
    }

    .filaA {
        /*rejilla*/
        display: grid;
        display: -ms-grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        -ms-grid-columns: 1fr;
        -ms-grid-rows: auto;
        /*posicion*/
        grid-column: 1 / span 1;
        grid-row: 1 / 1;
        -ms-grid-column: 1;
        -ms-grid-column-span: 1;
        -ms-grid-row: 1;
        -ms-grid-row-span: 1;
        /*estilos*/
        background-color: #FFDB00 !important;
        padding: 0px;
        position:relative; 
        z-index:99999;
    }

    .cabeceraEscudo {
        /*rejilla*/
        display: grid;
        display: -ms-grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        -ms-grid-columns: 1fr;
        -ms-grid-rows: auto;
        /*posicion*/
        grid-column: 1 / span 1;
        grid-row: 1 / 2;
        -ms-grid-column: 1;
        -ms-grid-column-span: 1;
        -ms-grid-row: 1;
        -ms-grid-row-span: 1;
        /*estilos*/
        text-align: center;
    }

    cabeceraEscudo h1 {
        display: flex;
        /*flex-flow: column*/ /*estilo antiguo*/
        flex-flow: row; /*estilo nuevo*/
        margin: 0px;
        margin-left: 20px;
        align-self: center;
        /*estilos nuevos*/
        height: 100%;
        /*position: relative;
        top: -1px;*/
    }

    .cabeceraEscudo span {
        font-size: 0.9rem;
        display: block;
        display: flex;
        /* justify-content: center; */
        color: #ffffff;
        font-weight: bold;
        font-family: Arial !important;
    }

    .cabeceraEscudo span:first-child {
        /* margin-left: 40px; */
        box-sizing: border-box;
        margin-left: 0px;
        margin-top: auto;
        display: flex;
        align-items: center;
        /*estilos nuevos*/
        height: 100%;
        width: auto;
    }

    .cabeceraEscudo span:nth-child(2) {
        flex-direction: column;
        margin-top: 10px;
    }

    .cabeceraEscudo span:nth-child(2) img {
        width: auto;
        height: 85%;
    }

    .cabeceraEscudo span:last-child {
        font-size: 1.2rem;
        padding: 15px 0px;
        width: 100%;
    }

    .cabeceraEscudo span img {
        width: auto;
        height: 62px;
    }

    .cabeceraEscudo .cabeceraBanners {
        padding: 0px 10px;
    }

    .cabeceraEscudo .cabeceraBanners a {
        margin-top: 0px;
    }

    .cabeceraEscudo span a {
        float: left;
        margin: 0px;
    }

    .filaB {
        /*rejilla*/
        display: grid;
        display: -ms-grid;
        grid-template-columns: 1fr!important;
        grid-template-rows: 95px 8px 60px;
        -ms-grid-columns: 1fr;
        -ms-grid-rows: auto;
        /*posicion*/
        grid-column: 1 / span 2;
        grid-row: 1 / 3;
        -ms-grid-column: 1;
        -ms-grid-column-span: 1;
        -ms-grid-row: 2;
        -ms-grid-row-span: 3;
        /*estilos*/
    }

    .panelNavegacion {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto;
        grid-column: 1 / span 2;
        grid-row: 2/span 1;
        position: absolute;
        top: 0;
        right: 0px;
        bottom: 0;
        width: 100%;
        z-index: -1;
        padding: 0em 0px;
        background: #6a94ea;
        background: transparent;
        /* opacity: 0; */
        transition: none;
        transition: background-color 0.75s ease;
        font-size: 1.2em;
        overflow-y: auto;
    }

    .navSuperior {
        grid-column: 1/span 2;
        grid-row: 1;
        /*overflow: hidden;*/
    }

    .menuprincipal {
        display: none
    }

    .separador {
        display: none;
    }

    .idioma {
        display: none;
    }

    /*buscador */
    .buscador {
        width: 100%;
        display: flex;
        grid-row: 3;
        position: relative;
        /* left: 0px; */
        grid-column: 1 / span 2;
        justify-content: center;
        /* display: grid; */
        align-items: baseline;
        align-content: flex-end;
    }

    .buscador label {
        display: none;
    }

    .buscador .btnbuscar {
        /* margin: 5px 20px; */
        border: 0px;
        width: 100%;
        left: 0px;
        /*top: 0px;*/
        /* position: absolute; */
        margin: 0px 20px;
        box-sizing: border-box;
    }

    .buscador .btnbuscar input[type="text"] {
        width: 100%;
        background: none;
        transition: none;
        color: #1D1D1B !important;
        display: flex;
        justify-content: center;
        height: 40px;
        border: 1px solid rgba(97, 97, 97, 0.5);
        padding: 0px 20px;
        margin-top: 28px;
    }

    .buscador .btnbuscar input[type="text"]:focus {
        width: 100%;
        background: none;
    }

    .buscador .btnbuscar input[type="text"]:focus:hover {
        background: none;
        border: 1px solid rgba(97, 97, 97, 0.5);
    }

    .buscador .btnbuscar button {
        padding: 3px 25px 1px 0px;
        /*background: url(/Style%20Library/MINHAC.SP.Portal/img/btnSearch.png) 10% 15px no-repeat;*/
        background-image: url(/Style%20Library/MINHAC.SP.Portal/img/btnSearch.svg);
        background-repeat: no-repeat;
        background-position: 10% 15px;
        background-size: 16px;        
        height: 40px;
        top: 28px;
        z-index: 999;
        position: relative;
    }

    .filaC {
        /*rejilla*/
        display: grid;
        display: -ms-grid;
        grid-column: 2 / span 1;
        grid-row: 1 /2;
        /*posicion*/
        -ms-grid-column: 1;
        -ms-grid-column-span: 1;
        -ms-grid-row: 3;
        -ms-grid-row-span: 1;
        /*estilos*/
        position: relative;
        text-align: right;
        display: flex;
        justify-content: flex-end;
        display: block !important;
        /* height: 50px; */
        background-color: #FFDB00 !important;
        padding: 0px;
    }

    .bandera {
        /*rejilla*/
        display: grid;
        display: -ms-grid;
        grid-column: 1 /span 2;
        grid-row: 2;
        /*posicion*/
        -ms-grid-column: 1;
        -ms-grid-column-span: 2;
        -ms-grid-row: 2;
        /* padding-top: 0px; */
        grid-template-columns: 25% 50% 25%;
    }



    body {
        -ms-overflow-x: hidden;
    }


    .panelNavegacion {
        /* opacity: 0; */
        /* transition: opacity 0.5s ease; */
        height: 0;
        background: #ffdb00;
    }

    .panelNavegacion .canales,
    .panelNavegacion .idioma,
    .panelNavegacion .enlacesAyuda,
    .panelNavegacion .redesSociales {
        display: none;
    }



    /*ESTILOS MENU DE NAVEGACION GENERAL*/
    * {
        box-sizing: border-box;
    }

    .visible_menu .centrarCabecera {
        /*rejilla*/
        display: grid;
        display: -ms-grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr !important;
        -ms-grid-columns: 1fr;
        -ms-grid-rows: auto auto auto;
        /*posicion*/
        grid-column: 1 / span 2;
        grid-row: 1 / 2;
        -ms-grid-column: 1;
        -ms-grid-column-span: 2;
        -ms-grid-row: 1;
        -ms-grid-row-span: 1;
        /*estilos*/
        height: 100%; 
        z-index: 1;
        grid-row: none;
        position: static;
        left: 0;
        background-color: #6a94ea;
        /*padding-right:10px;*/
    }

    .visible_menu .filaA {
        grid-row: none; 
    }


    .visible_menu .panelNavegacion {
        display: grid;
        display: -ms-grid;
        grid-template-columns: 1fr;
        -ms-grid-columns: 1fr;
        -ms-grid-rows: auto auto auto auto;
        grid-column: 1 / span 2;
        -ms-grid-column: 1;
        -ms-grid-column-span: 2;
        position: absolute;
        right: 0px;
        overflow-x: hidden;
        z-index: 99;
        height: 100%;
        min-height: 100%;
        top: 0px;
        width: 100%;
        display: flex;
        flex-flow: column; 
        /* padding: 0px; */
        opacity: 1;
        background-color: #FFDB00;
    }

    .visible_menu .navSuperior {
        grid-column: 1 / span 2;
        grid-row: 1 / 2;
        -ms-grid-column: 1;
        -ms-grid-column-span: 1;
        -ms-grid-row: 1;
        -ms-grid-row-span: 1;
        /*estilos*/
        text-align: left;
        padding: 25px 0px 15px 0px;
        border-bottom: 3px solid rgba(0, 0, 0, 0.1);
        order: 1;
        display: inline-block;
    }

    .visible_menu .idioma {
        /*posicion*/
        /* grid-column: 1 / span 2; */
        /* grid-row: 1 / 2; */
        display: block !important;
        /*estilos*/
        /* text-align: left; */
        padding-left: 20px;
        order: 1;
        z-index: 999 !important;
    }
    
    .visible_menu .idioma div{
        display: flex;
        justify-content: flex-start;
    }

    .visible_menu .idioma div select {
        text-align: left;
        border: 0;
        z-index: 999 !important;
    }


    .visible_menu .idioma div select:hover {
        background-color: transparent;
        box-shadow: none;
    }

    .visible_menu .separador,
    .visible_menu .buscador {
        display: none;
    }

    .visible_menu .menuprincipal {
        order: 2;
        display: block;
        padding-top: 0px;
    }


    .visible_menu .menuprincipal ul {
        display: flex;
        flex-flow: column;
        justify-content: stretch;
        margin: 0px;
        padding: 0;
        width: 100%;
        margin-top: 0px;
        margin-bottom: 0px;
        /*posicion*/
        -ms-grid-column: 2;
        -ms-grid-column-span: 1;
        -ms-grid-row: 1;
        -ms-grid-row-span: 1;
    }


    .visible_menu .menuprincipal ul li {
        list-style-type: none;
        font-weight: 400;
        height: auto;
        padding: 13px 0px;
        border-bottom: 1px solid #FABD00 !important;
        margin-left: 0px;
        padding-left: 25px;
        box-sizing: border-box;
        font-size: 16px;
        max-width: 100%;
        top: 0px;
    }

    .visible_menu .menuprincipal ul li:last-of-type {
        /*border-bottom: 0px !important;*/
    }

    .visible_menu .menuprincipal ul li a {
        width: auto;
        overflow: hidden;
        text-overflow: initial;
    }

    .visible_menu .menuprincipal ul li a:hover,
    .visible_menu .menuprincipal ul li a:active {
        border-bottom: none;
    }

    .visible_menu .filaC {
        height: auto !important;
        background-color: transparent !important;
    }

    .botonera {
        display: grid;
        display: -ms-grid;
        grid-column: 1 / span 1;
        grid-row: 2 / 3;
        -ms-grid-column: 1;
        -ms-grid-column-span: 1;
        -ms-grid-row: 2;
        -ms-grid-row-span: 1;
        display: flex;
        justify-self: flex-end;
        flex-flow: row;
        height: 100%;
        margin-right: 20px;
    }

    #menu_on {
        display: inline-block;
        width: 24px;
        height: 25px;
        position: relative;
        z-index: 2;
        margin-top: 0px;
        /*margin-right:20px;*/
    }

    div.botMenuGeneral {
        position: relative;
        padding: 0px;
        z-index: 2;
        text-align: right;
        transition: opacity .25s ease-in-out;
        border-radius: 30px;
        left: -6px;
        width: 100%;
        margin-right: 0px;
        margin-top: 0px;
        display: flex !important;
        justify-content: flex-end;
        align-items: flex-start;
        margin-top: 33px;
    }



    div.botMenuGeneral #menu_on span:nth-child(2) {
        top: calc(30% - 1px);
    }

    div.botMenuGeneral #menu_on span:nth-child(3) {
        top: calc(60% - 1px);
    }


    div.botMenuGeneral #menu_on span:nth-child(4) {
        top: calc(95% - 1px);
        background: none;
        font-family: 'Open Sans', sans-serif;
        font-size: 14px;
        font-weight: 400;
        color: #1D1D1B;
        left: -5px;
        display: block !important;
        margin-top: 5px;
    }

    div.botMenuGeneral #menu_on span {
        width: 24px;
        height: 2px;
        border-radius: 4px;
        display: block;
        position: absolute;
        background: #1D1D1B;
        transition: all 0.25s ease;
        transform-origin: 0px 100%;
    }

    div.botMenuGeneral #menu_on span span.oculto {
        display: none;
    }



    .visible_menu #menu_on {
        text-align: right;
        left: 6.5px;
        width: 35px;
        height: 30px;
        margin-top: 0px;
    }

    .visible_menu div.botMenuGeneral #menu_on span {
        background: #1D1D1B;
    }

    .visible_menu div.botMenuGeneral span:nth-child(1) {
        transform: rotate(45deg) translate(7px,5px);
    }

    .visible_menu div.botMenuGeneral span:nth-child(2) {
        opacity: 0;
    }

    .visible_menu div.botMenuGeneral span:nth-child(3) {
        transform: rotate(-45deg) translate(-4px,8px);
    }


    .visible_menu div.botMenuGeneral span:nth-child(4) {
        opacity: 0;
    }

    .visible_menu div.botMenuGeneral {
        /* top: 140px; */
        top: 0px;
        position: fixed;
        z-index: -1;
        display: block !important;
        z-index: 999;
        border-radius: 30px;
        background-color: #fff;
        display: block;
        padding: 3px;
        left: 83%;
        box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
        margin-top: 20px;
        width: 40px;
    }

    .visible_menu .filaA,
    .visible_menu .bandera,
    .visible_menu .buscador,
    .visible_menu .migaimp,
    .visible_menu .destacado,
    .visible_menu .central,
    .visible_menu .bloquebanners,
    .visible_menu .pie {
        display: none !important;
    }

    .visible_menu .container {
        grid-template-rows: 1fr;
        grid-template-columns: 1fr;
        height: 100%;
        position: static;
        width: 100%;
    }

    .visible_menu .centrarCabecera {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr !important;
        position: static;
    }

    .visible_menu .filaB {
        display: grid;
        display: -ms-grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-column: 1 / span 1;
        grid-row: 1 / 1;
    }


    body {
        -ms-overflow-x: hidden;
    }


    .panelNavegacion {
        /* opacity: 0; */
        /* transition: opacity 0.5s ease; */
    }

    .panelNavegacion .canales,
    .panelNavegacion .idioma,
    .panelNavegacion .enlacesAyuda,
    .panelNavegacion .redesSociales {
        display: none;
    }



    /*ESTILOS MENU DE NAVEGACION GENERAL*/
    * {
        box-sizing: border-box;
    }

    .visible_menu .centrarCabecera {
        /*rejilla*/
        display: grid;
        display: -ms-grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr !important;
        -ms-grid-columns: 1fr;
        -ms-grid-rows: auto auto auto;
        /*posicion*/
        grid-column: 1 / span 2;
        grid-row: 1 / 2;
        -ms-grid-column: 1;
        -ms-grid-column-span: 2;
        -ms-grid-row: 1;
        -ms-grid-row-span: 1;
        /*estilos*/
        height: 100%;
        z-index: 1;
        grid-row: none;
        position: static;
        left: 0;
        background-color: #6a94ea;
        /*padding-right:10px;*/
    }

    .visible_menu .filaA {
        grid-row: none;
    }

    .visible_menu .panelNavegacion {
        display: grid;
        display: -ms-grid;
        grid-template-columns: 1fr;
        -ms-grid-columns: 1fr;
        -ms-grid-rows: auto auto auto auto;
        grid-column: 1 / span 2;
        -ms-grid-column: 1;
        -ms-grid-column-span: 2;
        background-color: #FFDB00;
        position: absolute;
        right: 0px;
        overflow-x: hidden;
        z-index: 99;
        height: 100%;
        min-height: 100%;
        top: 0px;
        width: 100%;
        display: flex;
        flex-flow: column;
        /* padding: 0px; */
        opacity: 1;
    }

    .visible_menu .navSuperior {
        grid-column: 1 / span 2;
        grid-row: 1 / 2;
        -ms-grid-column: 1;
        -ms-grid-column-span: 1;
        -ms-grid-row: 1;
        -ms-grid-row-span: 1;
        /*estilos*/
        text-align: left;
        padding: 25px 0px 15px 0px !important;
        border-bottom: 3px solid rgba(0, 0, 0, 0.1);
        order: 1;
        display: inline-block;
    }

    .visible_menu .idioma {
        /*posicion*/
        /* grid-column: 1 / span 2; */
        /* grid-row: 1 / 2; */
        display: block !important;
        /*estilos*/
        /* text-align: left; */
        padding-left: 20px;
        order: 1;
        z-index: 999 !important;
    }
    
    .visible_menu .idioma div{
        display: flex;
        justify-content: flex-start;
    }

    .visible_menu .idioma div select {
        text-align: left;
        border: 0;
        z-index: 999 !important;
    }


    .visible_menu .idioma div select:hover {
        background-color: transparent;
        box-shadow: none;
    }

    .visible_menu .separador,
    .visible_menu .buscador {
        display: none;
    }

    .visible_menu .menuprincipal {
        order: 2;
        display: block;
        padding-top: 0px;
    }


    .visible_menu .menuprincipal ul {
        display: flex;
        flex-flow: column;
        justify-content: stretch;
        margin: 0px;
        padding: 0;
        width: 100%;
        margin-top: 0px;
        margin-bottom: 0px;
        /*posicion*/
        -ms-grid-column: 2;
        -ms-grid-column-span: 1;
        -ms-grid-row: 1;
        -ms-grid-row-span: 1;
    }


    .visible_menu .menuprincipal ul li {
        list-style-type: none;
        font-weight: 400;
        height: auto;
        padding: 13px 0px;
        border-bottom: 1px solid #FABD00 !important;
        margin-left: 0px;
        padding-left: 25px;
        box-sizing: border-box;
        font-size: 16px;
        max-width: 100%;
        top: 0px;
    }

    .visible_menu .menuprincipal ul li:last-of-type {
        /*border-bottom: 0px !important;*/
    }

    .visible_menu .menuprincipal ul li a {
        width: auto;
        overflow: hidden;
        text-overflow: initial;
        white-space: wrap;
    }

    .visible_menu .menuprincipal ul li a:hover,
    .visible_menu .menuprincipal ul li a:active {
        border-bottom: none;
    }

    .visible_menu .filaC {
        height: auto !important;
    }

    .botonera {
        display: grid;
        display: -ms-grid;
        grid-column: 1 / span 1;
        grid-row: 2 / 3;
        -ms-grid-column: 1;
        -ms-grid-column-span: 1;
        -ms-grid-row: 2;
        -ms-grid-row-span: 1;
        display: flex;
        justify-self: flex-end;
        flex-flow: row;
        height: 100%;
        margin-right: 20px;
    }

    #menu_on {
        display: inline-block;
        width: 24px;
        height: 25px;
        position: relative;
        z-index: 2;
        margin-top: 0px;
        /*margin-right:20px;*/
    }

    div.botMenuGeneral {
        position: relative;
        padding: 0px;
        z-index: 2;
        text-align: right;
        transition: opacity .25s ease-in-out;
        border-radius: 30px;
        left: -6px;
        width: 100%;
        margin-right: 0px;
        margin-top: 0px;
        display: flex !important;
        justify-content: flex-end;
        align-items: flex-start;
        margin-top: 33px;
    }



    div.botMenuGeneral #menu_on span:nth-child(2) {
        top: calc(30% - 1px);
    }

    div.botMenuGeneral #menu_on span:nth-child(3) {
        top: calc(60% - 1px);
    }


    div.botMenuGeneral #menu_on span:nth-child(4) {
        top: calc(95% - 1px);
        background: none;
        font-family: 'Open Sans', sans-serif;
        font-size: 14px;
        font-weight: 400;
        color: #1D1D1B;
        left: -5px;
        display: block !important;
        margin-top: 5px;
    }

    div.botMenuGeneral #menu_on span {
        width: 24px;
        height: 2px;
        border-radius: 4px;
        display: block;
        position: absolute;
        background: #1D1D1B;
        transition: all 0.25s ease;
        transform-origin: 0px 100%;
    }

    div.botMenuGeneral #menu_on span span.oculto {
        display: none;
    }



    .visible_menu #menu_on {
        text-align: right;
        left: 6.5px;
        width: 35px;
        height: 30px;
        margin-top: 0px;
    }

    .visible_menu div.botMenuGeneral #menu_on span {
        background: #1D1D1B;
    }

    .visible_menu div.botMenuGeneral span:nth-child(1) {
        transform: rotate(45deg) translate(7px,5px);
    }

    .visible_menu div.botMenuGeneral span:nth-child(2) {
        opacity: 0;
    }

    .visible_menu div.botMenuGeneral span:nth-child(3) {
        transform: rotate(-45deg) translate(-4px,8px);
    }


    .visible_menu div.botMenuGeneral span:nth-child(4) {
        display: none !important;
    }

    .visible_menu div.botMenuGeneral {
        /* top: 140px; */
        top: 0px;
        position: fixed;
        z-index: -1;
        display: block !important;
        z-index: 999;
        border-radius: 30px;
        background-color: #fff;
        display: block;
        padding: 3px;
        left: 83%;
        box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
        margin-top: 20px;
        width: 40px;
    }

    .visible_menu .filaA,
    .visible_menu .bandera,
    .visible_menu .buscador,
    .visible_menu .migaimp,
    .visible_menu .destacado,
    .visible_menu .central,
    .visible_menu .bloquebanners,
    .visible_menu .pie {
        display: none !important;
    }

    .visible_menu .container {
        grid-template-rows: 1fr;
        grid-template-columns: 1fr;
        height: 100%;
        position: static;
        width: 100%;
    }

    .visible_menu .centrarCabecera {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr !important;
        position: static;
    }

    .visible_menu .filaB {
        display: grid;
        display: -ms-grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-column: 1 / span 1;
        grid-row: 1 / 1;
    }


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

    div.botMenuGeneral #menu_on span.oculto {
        display: block !important;
        background: transparent !important;
    }

    .pie .listados .iconosacc ul li a img {
        width: 100%;
        height: auto;
    }

    .calendario div .loaderDiv {
        margin-top: 50px;
        left: 47%;
        transform: translate(-47%, 0);
    }

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

/**************************************************************************************/
/*ESTILOS CABECERA DISPOSITIVO MÓVIL(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) {
    .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;
    }

    .centrarCabecera {
        /*grid-template-columns: 92% 1fr !important;*/
    }
    
    /*buscador */
    .buscador {
        margin-top: 0px;
    }


    .buscador .btnbuscar {
        margin-top: 0px;
    }

    .buscador .btnbuscar input[type="text"] {
        top: 0px;
        margin-top: 28px;
    }
    
    .buscador .btnbuscar button{
        margin-top: 0px;
        top: 25px;
    }
    
    .migas{
        margin-top: 20px;
    }
    
    .visible_menu .panelNavegacion {
        display: grid;
        grid-template-rows: 80px auto;
    }
    
    .visible_menu .navSuperior {
        display: flex;
        grid-column: 1 / span 1;
        grid-row: 1 / 1;
        min-height: 80px;
        justify-content: flex-start;
    }
    
    .visible_menu .idioma {
        border-bottom: 0px !important;
    }

    .visible_menu .menuprincipal {
      grid-row: 2 / 3;
      grid-column: 1 / span 1;
    }
    
    .visible_menu div.botMenuGeneral {
        /*top: 130px;*/
        top: 0px;
        left: 90%;
    }

    .visible_menu .centrarCabecera {
        width: 100%;
    }

    .TopBoton {
        left: 83%;
    }

    .TopBoton .scrollToTopBoton {
        height: 70px;
        width: 70px;
    }
}

@charset "utf-8";
/* CSS Document */
/**************************VERSIÓN RESPONSIVE*******************************/
/***************************************************************************/
/*ESTILOS  DISPOSITIVO TABLET   - PORTRAIT  */
/***************************************************************************/
@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) {

    .centrarCabecera {
        /*rejilla*/
        display: grid;
        display: -ms-grid;
        /*grid-template-columns: 89% 1fr !important;*/
        grid-template-columns: 3fr 1fr !important;
        grid-template-rows: 114px 68px;
        -ms-grid-columns: 1fr;
        -ms-grid-rows: auto auto auto;
        /*posicion*/
        grid-column: 1 / span 4;
        grid-row: 1 / 2;
        -ms-grid-column: 1;
        -ms-grid-column-span: 4;
        -ms-grid-row: 1;
        -ms-grid-row-span: 1;
        /*estilos*/
        /* background-color: transparent; */
        grid-gap: 0px;
        padding-top: 0px;
        background-color: transparent;
        margin-bottom: 0px;
    }

    .filaA {
        /*rejilla*/
        display: grid;
        display: -ms-grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        -ms-grid-columns: 1fr;
        -ms-grid-rows: auto auto auto;
        /*posicion*/
        grid-column: 1 / span 1;
        grid-row: 1 / 1;
        -ms-grid-column: 1;
        -ms-grid-column-span: 4;
        -ms-grid-row: 1;
        -ms-grid-row-span: 1;
        /*estilos*/
        background-color: transparent;
        margin-top: 0px;
        padding-top: 0px;
        padding-bottom: 0px;
        box-sizing: border-box;
        background-color: #ffdb00;
        position: relative;
        z-index: 99999;
    }

    .cabeceraEscudo {
        /*rejilla*/
        display: grid;
        display: -ms-grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        -ms-grid-columns: 1fr;
        -ms-grid-rows: auto;
        /*posicion*/
        grid-column: 1 / span 1;
        grid-row: 1 / 2;
        -ms-grid-column: 1;
        -ms-grid-column-span: 1;
        -ms-grid-row: 1;
        -ms-grid-row-span: 1;
        /*estilos*/
        margin-bottom: 0px;
        background: transparent;
    }

    .cabeceraEscudo h1 {
        display: flex;
        /*flex-flow: column;*/ /*estilo antiguo*/
        flex-flow: row; /*estilo nuevo*/
        margin: 0px;
        margin-left: 0px;
        align-self: center;
        /*estilos nuevos*/
        height: 100%;
        box-sizing: border-box;
    }

    .cabeceraEscudo span {
        width: 100%;
        font-size: 0.9rem;
        display: block; 
        display: flex;
        /* justify-content: center; */
        color: #ffffff;
        font-weight: bold;
        font-family: Arial !important;
    }

    .cabeceraEscudo span:first-child {
        padding-left: 30px;
        /* align-items: flex-start; */ /*estilo antiguo*/
        align-items: center; /*estilo nuevo*/
        /* margin-top: 20px; */ /*estilo antiguo*/
        /*estilos nuevos*/
        margin-top: 0;
        width: auto;
    }

    .cabeceraEscudo span:nth-child(2) {
        margin-top: 0;
    }

    .cabeceraEscudo span a {
        float: left;
    }

    .cabeceraEscudo .cabeceraBanners {
        padding: 0px 10px;
    }

    .cabeceraEscudo span:last-child {
        font-size: 1.05rem;
        padding: 15px 0px;
    }

    .cabeceraEscudo img {
        height: 70px;
    }

    /*Panel navegacion general*/
    .filaB {
        z-index: 1;
        /* height: 100%; */
        /***/
        /* position: fixed; */
        /* top: -2px; */
        bottom: 0;
        /* right: -400px; */
        width: 400px;
        z-index: 1;
        padding: 0em 0px;
        background: transparent;
        transition: all 0.3s ease;
        font-size: 1.2em;
        /* overflow-y: auto; */
        width: 100%;
        grid-column: 1 /span 2;
        grid-row: 1/2;
        /* height: 100px; */
        /* left: 9000px; */
        box-sizing: border-box;
        margin: 0;
        padding: 0;
        grid-row: 1 / 3;
        /* border: 1px solid; */
        grid-template-columns: 1fr !important;
        display: grid;
        grid-template-rows: auto 60px;
        /* padding: 0px 20px; */
    }

    .panelNavegacion {
        /* position: absolute; */
        /* top: 0; */
        /* right: 0px; */
        /* bottom: 0; */
        width: auto;
        z-index: -1;
        padding: 0em 0px;
        background: transparent;
        /* opacity: 0; */
        transition: none;
        /* transition: background-color 0.75s ease; */
        font-size: 1.2em;
        overflow-y: auto;
        display: grid;
        grid-template-columns: 1fr !important;
        grid-column: 1;
        grid-row: 1;
    }

    .navSuperior {
        grid-row: 1;
        width: auto;
        grid-column: 1/span 2;
        height: auto;
    }

    .idioma,
    .separador {
        display: none;
    }

    .menuprincipal {
        display: none;
    }

    .buscador {
        width: 100%;
        grid-row: 2 / 3;
        grid-column: 1/ span 1;
        margin-top: 0px;
        padding: 0px;
        display: grid;
        top: 0px;
        margin: 0;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: 100%;
        min-height: 100%;
        margin: 20px 0px;
        padding: 0px 30px;
    }

        .buscador label {
            display: none;
        }

        .buscador .btnbuscar {
            height: auto;
            border: 0px;
            width: 100%;
            left: 0px;
            top: 0px;
            margin: 0px;
            grid-column: 1/span 1;
            grid-row: 1/2;
            display: grid;
            grid-template-columns: 1fr 40px;
            grid-template-rows: auto;
        }

            .buscador .btnbuscar input[type="text"] {
                top: inherit;
                height: 40px;
                border: 1px solid rgba(97, 97, 97, 0.5);
                width: 100%;
                font-size: 1rem;
                background: none;
                margin: 0px;
                grid-row: 1/2;
                grid-column: 1/span 2;
            }

                .buscador .btnbuscar input[type="text"]:focus {
                    width: 100%;
                    background: none;
                }

                    .buscador .btnbuscar input[type="text"]:focus:hover {
                        background: none;
                        border: 1px solid rgba(97, 97, 97, 0.5);
                    }

            .buscador .btnbuscar button {
                padding: 10px 25px 1px 0px;
                top: 0px;
                /*background: url(/Style%20Library/MINHAC.SP.Portal/img/btnSearch.png) 30% 12px no-repeat;*/
                background-image: url(/Style%20Library/MINHAC.SP.Portal/img/btnSearch.svg);
                background-repeat: no-repeat;
                background-position: 30% 12px;
                background-size: 16px 16px;
                left: auto;
                z-index: 9999;
                height: 40px;
                position: relative;
                margin: 0px;
                grid-row: auto;
                grid-column: 2/span 1;
            }

    /*Panel botonera*/
    .filaC {
        /*rejilla*/
        display: grid;
        display: -ms-grid;
        grid-column: 2 / span 1;
        /*posicion*/
        position: relative;
        grid-row: 1 /2;
        -ms-grid-column: 1;
        -ms-grid-column-span: 4;
        -ms-grid-row: 3;
        -ms-grid-row-span: 1;
        /*estilos*/
        display: block !important;
        /* height: 50px; */
        justify-content: center;
        background: #FFDB00;
        margin-top: 0px;
        padding-top: 0px;
    }

    .botonera {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin-right: 30px;
    }

    .bandera {
        display: grid;
        display: -ms-grid;
        grid-column: 1 /span 3;
        grid-row: 1 /2;
        -ms-grid-column: 1;
        -ms-grid-column-span: 2;
        -ms-grid-row: 3;
        -ms-grid-row-span: 4;
        background-color: transparent;
        align-items: flex-end;
    }

    /*ESTILOS MENU NAVEGACION*/
    * {
        box-sizing: border-box;
    }

    #menu_on {
        display: inline-block;
        width: 26px;
        height: 21px;
        position: relative;
        z-index: 2;
        margin-top: 0px;
        margin-right: 0px;
    }

    div.botMenuGeneral {
        position: relative;
        padding: 0px;
        z-index: 2;
        text-align: right;
        margin-top: -15px;
        margin-right: 6px;
        transition: opacity .25s ease-in-out;
        border-radius: 30px;
        right: auto;
        /* left: 10px; */
        transition: right 0.3s ease;
    }

        div.botMenuGeneral #menu_on span {
            width: 100%;
            height: 4px;
            border-radius: 4px;
            display: block;
            position: absolute;
            background: #396bd4;
            transition: all 0.25s ease;
            transform-origin: 0px 100%;
        }

            div.botMenuGeneral #menu_on span:nth-child(2) {
                top: calc(50% - 2px);
            }

            div.botMenuGeneral #menu_on span:nth-child(3) {
                bottom: 0;
            }

    .visible_menu #menu_on {
        text-align: right;
        left: 3px;
        top: 0px;
        margin: 0px;
        width: 30px;
        height: 25px;
    }

    div.botMenuGeneral #menu_on span:nth-child(2) {
        top: calc(50% - 2px);
    }

    div.botMenuGeneral #menu_on span:nth-child(3) {
        top: calc(90% - 2px);
    }

    div.botMenuGeneral #menu_on span:nth-child(4) {
        /*top: calc(110% - 2px);
        margin-top: 12px;*/
        top: 30px;
        padding-top: 0px;
        margin-top: 0px;
        width: 100%;
        height: 100%;
        background: none;
        font-family: 'Open Sans', sans-serif;
        font-size: 1rem;
        font-weight: 400;
        color: #1D1D1B;
        left: -8px;
        display: block !important;
    }

    .visible_menu div.botMenuGeneral span:nth-child(1) {
        transform: rotate(45deg) translate(6px,2px);
    }

    .visible_menu div.botMenuGeneral span:nth-child(2) {
        opacity: 0;
    }

    .visible_menu div.botMenuGeneral span:nth-child(3) {
        transform: rotate(-45deg) translate(1px,4px);
    }

    .visible_menu div.botMenuGeneral span:nth-child(4) {
        display: none !important;
    }

    .visible_menu div.botMenuGeneral {
        top: 15px;
        position: fixed;
        display: block;
        z-index: 999;
        border-radius: 30px;
        background-color: #fff;
        display: block;
        padding: 5px;
        left: 92%;
        box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    }

    div.botMenuGeneral #menu_on span {
        width: 24px;
        height: 2px;
        border-radius: 4px;
        display: block;
        position: absolute;
        background: #1D1D1B;
        transition: all 0.25s ease;
        transform-origin: 0px 100%;
    }

        div.botMenuGeneral #menu_on span.oculto {
            display: none;
        }

    .visible_menu .centrarCabecera {
        /*background-color: transparent;*/
    }

    .visible_menu .filaB {
        z-index: 1;
        /* height: 100%; */
        /* right: 0px; */
        /* left: 400px; */
        /* background: #FFDB00; */
        /* position: fixed; */
        /* overflow: hidden; */
        top: 0px;
        /* z-index: 999; */
        /* opacity: 1; */
        font-size: 1rem;
    }

    .visible_menu .panelNavegacion {
        position: relative;
        right: 0px;
        bottom: 0;
        top: 0px;
        /* box-shadow: -5px 0px 1px rgb(0 0 0 / 20%); */
        z-index: 99;
        display: flex;
        flex-flow: column;
        /* left: 400px; */
        right: 0px;
        /*overflow: hidden;*/
        background: #FFDB00;
        position: fixed;
        z-index: 999;
        opacity: 1;
        top: 0;
        height: 100%;
    }

    visible_menu .navSuperior {
        grid-column: 1/span 2;
        grid-row: 1;
        overflow: hidden;
    }

    .visible_menu .idioma {
        order: 1;
        display: block;
        text-align: left;
        padding: 20px 0px 15px 20px;
        border-bottom: 3px solid rgba(0, 0, 0, 0.1);
        width: 100%;
        z-index: 999 !important;
    }

        .visible_menu .idioma div {
            text-align: left;
            font-weight: 400;
            border: 0;
        }

            .visible_menu .idioma div select {
                text-align: left;
                z-index: 999 !important;
            }

                .visible_menu .idioma div select:hover {
                    background-color: none;
                    box-shadow: none;
                    border: none;
                }


    .visible_menu .separador {
        display: none;
    }

    .visible_menu .buscador {
        /* display: none !important; */
    }

    .visible_menu .menuprincipal {
        order: 2;
        display: block;
        padding-top: 5px;
    }

        .visible_menu .menuprincipal ul {
            display: flex;
            flex-flow: column;
            justify-content: stretch;
            margin: 0px;
            padding: 0;
            width: 100%;
            margin-top: 0px;
            margin-bottom: 0px;
            /*posicion*/
            -ms-grid-column: 2;
            -ms-grid-column-span: 1;
            -ms-grid-row: 1;
            -ms-grid-row-span: 1;
        }

            .visible_menu .menuprincipal ul li {
                list-style-type: none;
                font-weight: 400;
                height: auto;
                padding: 13px 0px;
                border-bottom: 1px solid #FABD00 !important;
                margin-left: 0px;
                padding-left: 25px;
                box-sizing: border-box;
                font-size: 16px;
                max-width: 100%;
                top: 0px;
            }

                .visible_menu .menuprincipal ul li:last-of-type {
                    /*border-bottom: 0px !important;*/
                }

                .visible_menu .menuprincipal ul li a {
                    width: auto;
                    overflow: hidden;
                    text-overflow: initial;
                    white-space: nowrap;
                    text-align: left;
                }

                    .visible_menu .menuprincipal ul li a:hover,
                    .visible_menu .menuprincipal ul li a:active {
                        border-bottom: none;
                    }

    .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: 0.6;
    }

    .visible_menu .filaA {
        z-index: 0;
    }

    .migas ol {
        margin-top: 0px;
        margin-bottom: 1em;
        font-size: 0.8em;
    }

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

    div.botMenuGeneral #menu_on span.oculto {
        display: none !important;
    }

    .pie .listados .iconosacc ul li a img {
        width: 100%;
        height: auto;
    }

    .calendario div .loaderDiv {
        margin-top: 50px;
        left: 47%;
        transform: translate(-47%, 0);
    }

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

/*}*/

/**************************************************************************************/
/*ESTILOS CABECERA DISPOSITIVO MÓVIL(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) {
    .container {
        display: grid;
        display: -ms-grid;
        grid-template-columns: 1fr 1fr;
        /* grid-template-rows: auto auto auto auto auto auto; */
        grid-template-rows: auto auto auto auto auto auto;
    }

    .centrarCabecera {
        /*grid-template-columns: 92% 1fr !important;*/
    }

    .visible_menu div.botMenuGeneral {
        /*top: 130px;*/
        top: 0px;
        left: 90%;
    }

    .visible_menu .centrarCabecera {
        width: 100%;
    }

    .TopBoton {
        left: 83%;
    }

    .TopBoton .scrollToTopBoton {
        height: 70px;
        width: 70px;
    }
}


@charset "utf-8";
/* CSS Document */

/*************************************************************************/

/*ESTILOS TABLETS - PORTRAIT   */

/*************************************************************************/

@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) {
    body {
        -ms-overflow-x: hidden;
    }

    /*ESTILOS CABECERA*/
    /*Cabecera*/
    .centrarCabecera {
        /*rejilla*/
        display: grid;
        display: -ms-grid;
        /*grid-template-columns: 89% 1fr !important;*/
        grid-template-columns: 3fr 1fr;
        grid-template-rows: 114px 68px;
        -ms-grid-columns: 1fr;
        -ms-grid-rows: auto auto auto;
        /*posicion*/
        grid-column: 1 / span 4;
        grid-row: 1 / 2;
        -ms-grid-column: 1;
        -ms-grid-column-span: 4;
        -ms-grid-row: 1;
        -ms-grid-row-span: 1;
        /*estilos*/
        /* background-color: transparent; */
        grid-gap: 0px;
        padding-top: 0px;
        background-color: transparent;
        margin-bottom: 0px;
    }

    .filaA {
        /*rejilla*/
        display: grid;
        display: -ms-grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        -ms-grid-columns: 1fr;
        -ms-grid-rows: auto auto auto;
        /*posicion*/
        grid-column: 1 / span 1;
        grid-row: 1 / 1;
        -ms-grid-column: 1;
        -ms-grid-column-span: 4;
        -ms-grid-row: 1;
        -ms-grid-row-span: 1;
        /*estilos*/
        background-color: transparent;
        margin-top: 0px;
        padding-top: 0px;
        padding-bottom: 0px;
        box-sizing: border-box;
        background-color: #ffdb00;
        position: relative;
        z-index: 99999;
    }

    .cabeceraEscudo {
        /*rejilla*/
        display: grid;
        display: -ms-grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        -ms-grid-columns: 1fr;
        -ms-grid-rows: auto;
        /*posicion*/
        grid-column: 1 / span 1;
        grid-row: 1 / 2;
        -ms-grid-column: 1;
        -ms-grid-column-span: 1;
        -ms-grid-row: 1;
        -ms-grid-row-span: 1;
        /*estilos*/
        margin-bottom: 0px;
        background: transparent;
        transition: 0s;
    }

        .cabeceraEscudo h1 {
            display: flex;
            flex-flow: row;
            margin: 0px;
            margin-left: 0px;
            align-self: center;
        }

        .cabeceraEscudo span {
            width: 100%;
            font-size: 0.9rem;
            display: block;
            display: flex;
            /* justify-content: center; */
            color: #ffffff;
            font-weight: bold;
            font-family: Arial !important;
        }

            .cabeceraEscudo span:first-child {
                padding-left: 30px;
                align-items: flex-start;
                margin-top: 20px;
            }


            .cabeceraEscudo span a {
                float: left;
            }

        .cabeceraEscudo .cabeceraBanners {
            padding: 0px 10px;
        }

        .cabeceraEscudo span:last-child {
            font-size: 1.05rem;
            padding: 15px 0px;
        }

        .cabeceraEscudo img {
            height: 70px;
        }

    /*Panel navegacion general*/
    .filaB {
        z-index: 1;
        /* height: 100%; */
        /***/
        /* position: fixed; */
        /* top: -2px; */
        bottom: 0;
        z-index: 1;
        padding: 0em 0px;
        background: transparent;
        /*transition: all 0.3s ease-in;*/
        font-size: 1.2em;
        /* overflow-y: auto; */
        width: 100%;
        grid-column: 1 /span 2;
        grid-row: 1/2;
        /* height: 100px; */
        /* left: 9000px; */
        box-sizing: border-box;
        margin: 0;
        padding: 0;
        grid-row: 1 / 3;
        /* border: 1px solid; */
        grid-template-columns: 1fr !important;
        display: grid;
        grid-template-rows: auto 60px;
        /* padding: 0px 20px; */
    }

    .panelNavegacion {
        /* position: absolute; */
        /* top: 0; */
        /* right: 0px; */
        /* bottom: 0; */
        width: auto;
        z-index: -1;
        padding: 0em 0px;
        background: transparent;
        /* opacity: 0; */
        /* transition: none; */
        /* transition: background-color 0.75s ease; */
        font-size: 1.2em;
        overflow-y: auto;
        display: grid;
        grid-template-columns: 1fr !important;
        grid-column: 1;
        grid-row: 1;
    }

    .navSuperior {
        grid-row: 1;
        width: auto;
        grid-column: 1/span 2;
        height: auto;
    }

    .idioma,
    .separador {
        display: none;
    }

        .idioma select {
            font-size: 16px !important;
        }

    .menuprincipal {
        display: none;
    }

    .buscador {
        width: 100%;
        grid-row: 2 / 3;
        grid-column: 1/ span 1;
        margin-top: 0px;
        padding: 0px;
        display: grid;
        top: 0px;
        margin: 0;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: 100%;
        min-height: 100%;
        margin: 20px 0px;
        padding: 0px 30px;
    }

        .buscador label {
            display: none;
        }

        .buscador .btnbuscar {
            height: auto;
            border: 0px;
            width: 100%;
            left: 0px;
            top: 0px;
            margin: 0px;
            grid-column: 1/span 1;
            grid-row: 1/2;
            display: grid;
            grid-template-columns: 1fr 40px;
            grid-template-rows: auto;
        }

            .buscador .btnbuscar input[type="text"] {
                top: inherit;
                height: 40px;
                border: 1px solid rgba(97, 97, 97, 0.5);
                width: 100%;
                font-size: 1rem;
                background: none;
                margin: 0px;
                grid-row: 1/2;
                grid-column: 1/span 2;
            }

                .buscador .btnbuscar input[type="text"]:focus {
                    width: 100%;
                    background: none;
                }

                    .buscador .btnbuscar input[type="text"]:focus:hover {
                        background: none;
                        border: 1px solid rgba(97, 97, 97, 0.5);
                    }

            .buscador .btnbuscar button {
                padding: 10px 25px 1px 0px;
                top: 0px;
                /*background: url(/Style%20Library/MINHAC.SP.Portal/img/btnSearch.png) 30% 12px no-repeat;*/
                background-image: url(/Style%20Library/MINHAC.SP.Portal/img/btnSearch.svg);
                background-repeat: no-repeat;
                background-position: 30% 12px;
                background-size: 16px 16px;
                left: auto;
                z-index: 9999;
                height: 40px;
                position: relative;
                margin: 0px;
                grid-row: auto;
                grid-column: 2/span 1;
            }


    /*Panel botonera*/
    .filaC {
        /*rejilla*/
        display: grid;
        display: -ms-grid;
        grid-column: 2 / span 1;
        /*posicion*/
        position: relative;
        grid-row: 1 /2;
        -ms-grid-column: 1;
        -ms-grid-column-span: 4;
        -ms-grid-row: 3;
        -ms-grid-row-span: 1;
        /*estilos*/
        display: block !important;
        /* height: 50px; */
        justify-content: center;
        background: #FFDB00;
        margin-top: 0px;
        padding-top: 0px;
    }

    .botonera {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin-right: 30px;
    }

    .bandera {
        display: grid;
        display: -ms-grid;
        grid-column: 1 /span 3;
        grid-row: 1 /2;
        -ms-grid-column: 1;
        -ms-grid-column-span: 2;
        -ms-grid-row: 3;
        -ms-grid-row-span: 4;
        background-color: transparent;
        align-items: flex-end;
    }

    /*ESTILOS MENU NAVEGACION*/
    * {
        box-sizing: border-box;
    }

    #menu_on {
        display: inline-block;
        width: 26px;
        height: 21px;
        position: relative;
        z-index: 2;
        margin-top: 0px;
        margin-right: 0px;
    }

    div.botMenuGeneral {
        position: relative;
        padding: 0px;
        z-index: 2;
        text-align: right;
        margin-top: -15px;
        margin-right: 6px;
        transition: opacity .25s ease-in-out;
        border-radius: 30px;
        right: auto;
        /* left: 10px; */
        transition: right 0.3s ease;
    }

        div.botMenuGeneral #menu_on span {
            width: 100%;
            height: 4px;
            border-radius: 4px;
            display: block;
            position: absolute;
            background: #396bd4;
            transition: all 0.25s ease;
            transform-origin: 0px 100%;
        }

            div.botMenuGeneral #menu_on span:nth-child(2) {
                top: calc(50% - 2px);
            }

            div.botMenuGeneral #menu_on span:nth-child(3) {
                bottom: 0;
            }

    .visible_menu #menu_on {
        text-align: right;
        left: 3px;
        top: 0px;
        margin: 0px;
        width: 30px;
        height: 25px;
    }

    div.botMenuGeneral #menu_on span:nth-child(2) {
        top: calc(50% - 2px);
    }

    div.botMenuGeneral #menu_on span:nth-child(3) {
        top: calc(90% - 2px);
    }

    div.botMenuGeneral #menu_on span:nth-child(4) {
        /*top: calc(110% - 2px);
        margin-top: 12px;*/
        top: 30px;
        padding-top: 0px;
        margin-top: 0px;
        width: 100%;
        height: 100%;
        background: none;
        font-family: 'Open Sans', sans-serif;
        font-size: 1rem;
        font-weight: 400;
        color: #1D1D1B;
        left: -8px;
        display: block !important;
    }

    .visible_menu div.botMenuGeneral span:nth-child(1) {
        transform: rotate(45deg) translate(6px,2px);
    }

    .visible_menu div.botMenuGeneral span:nth-child(2) {
        opacity: 0;
    }

    .visible_menu div.botMenuGeneral span:nth-child(3) {
        transform: rotate(-45deg) translate(1px,4px);
    }

    .visible_menu div.botMenuGeneral span:nth-child(4) {
        opacity: 0;
    }

    .visible_menu div.botMenuGeneral {
        top: 15px;
        position: fixed;
        display: block;
        z-index: 999;
        border-radius: 30px;
        background-color: #fff;
        display: block;
        padding: 5px;
        left: 92%;
        box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    }

    div.botMenuGeneral #menu_on span {
        width: 24px;
        height: 2px;
        border-radius: 4px;
        display: block;
        position: absolute;
        background: #1D1D1B;
        transition: all 0.25s ease;
        transform-origin: 0px 100%;
    }

        div.botMenuGeneral #menu_on span.oculto {
            display: none;
        }

    .visible_menu .centrarCabecera {
        /*background-color: transparent;*/
    }

    .visible_menu .filaB {
        z-index: 1;
        /* height: 100%; */
        /* right: 0px; */
        /* left: 400px; */
        /* background: #FFDB00; */
        /* position: fixed; */
        /* overflow: hidden; */
        top: 0px;
        /* z-index: 999; */
        /* opacity: 1; */
        font-size: 1rem;
    }

    .visible_menu .panelNavegacion {
        position: relative;
        right: 0px;
        bottom: 0;
        top: 0px;
        /* box-shadow: -5px 0px 1px rgb(0 0 0 / 20%); */
        z-index: 99;
        display: flex;
        flex-flow: column;
        /*overflow: hidden;*/
        background: #FFDB00;
        position: fixed;
        z-index: 999;
        opacity: 1;
        top: 0;
        height: 100%;
        animation: panel 0.1s;
        animation-direction: normal;
        width: 400px;
    }

    @keyframes panel {
        0% {
            width: 0px
        }

        100% {
            width: 400px;
        }
    }

    .visible_menu .navSuperior {
        grid-column: 1/span 2;
        grid-row: 1;
        overflow: hidden;
    }

    .visible_menu .idioma {
        order: 1;
        display: block;
        text-align: left;
        padding: 20px 0px 15px 20px;
        border-bottom: 3px solid rgba(0, 0, 0, 0.1);
        width: 100%;
        z-index: 999 !important;
    }

        .visible_menu .idioma div {
            text-align: left;
            font-weight: 400;
            border: 0;
        }

            .visible_menu .idioma div select {
                text-align: left;
                z-index: 999 !important;
            }

                .visible_menu .idioma div select:hover {
                    background-color: none;
                    box-shadow: none;
                    border: none;
                }


    .visible_menu .separador {
        display: none;
    }

    .visible_menu .buscador {
        /* display: none !important; */
    }

    .visible_menu .menuprincipal {
        order: 2;
        display: block;
        padding-top: 5px;
    }

        .visible_menu .menuprincipal ul {
            display: flex;
            flex-flow: column;
            justify-content: stretch;
            margin: 0px;
            padding: 0;
            width: 100%;
            margin-top: 0px;
            margin-bottom: 0px;
            /*posicion*/
            -ms-grid-column: 2;
            -ms-grid-column-span: 1;
            -ms-grid-row: 1;
            -ms-grid-row-span: 1;
        }

            .visible_menu .menuprincipal ul li {
                list-style-type: none;
                font-weight: 400;
                height: auto;
                padding: 13px 0px;
                border-bottom: 1px solid #FABD00 !important;
                margin-left: 0px;
                padding-left: 25px;
                box-sizing: border-box;
                font-size: 16px;
                max-width: 100%;
                top: 0px;
            }

                .visible_menu .menuprincipal ul li:last-of-type {
                    /*border-bottom: 0px !important;*/
                }

                .visible_menu .menuprincipal ul li a {
                    width: auto;
                    overflow: hidden;
                    text-overflow: initial;
                    white-space: nowrap;
                    text-align: left;
                }

                    .visible_menu .menuprincipal ul li a:hover,
                    .visible_menu .menuprincipal ul li a:active {
                        border-bottom: none;
                    }


    .calendario div .loaderDiv {
        margin-top: 40px;
        left: 18%;
        transform: translate(-18%, 0);
    }

    .bloquebanners {
        width: auto;
        margin-left: auto;
        margin-right: auto;
        display: grid;
        display: -ms-grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        -ms-grid-columns: 1fr;
        -ms-grid-rows: 1fr;
        grid-column: 1/span 4;
        grid-row: 5/6;
        -ms-grid-column: 1;
        -ms-grid-row: 5;
        -ms-grid-column-span: 4;
        -ms-grid-row-span: 1
    }

    .banners {
        float: none;
        border: 0 solid #e4e4e4;
        background: #f5f5f5;
        margin: 0;
        width: auto
    }

        .banners .institucionales {
            min-height: 8em;
            width: auto;
            float: none;
            height: auto;
            margin-left: auto;
            margin-right: auto;
            display: flex;
            padding-top: 0;
            padding-bottom: 0
        }

            .banners .institucionales P:last-of-type {
                margin-top: 0;
                margin-left: 0;
                margin-right: 0;
                width: auto;
                justify-content: center;
                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;
                padding: 20px;
                align-items: center;
                margin-bottom: 0
            }

                .banners .institucionales P:last-of-type span.bannersPieA {
                    grid-column: 2/span 1;
                    grid-row: 1/span 2;
                    -ms-grid-column: 2;
                    -ms-grid-row: 1;
                    -ms-grid-column-span: 1;
                    -ms-grid-row-span: 2;
                    display: flex;
                    flex-flow: column;
                    -ms-flex-flow: column;
                    padding-left: 15px
                }

                    .banners .institucionales P:last-of-type span.bannersPieA a {
                        width: 100%;
                        margin: 0;
                        display: flex;
                        max-height: 3.5em;
                        min-height: 3.5em;
                        justify-content: flex-end;
                        align-items: center;
                        text-shadow: 0 0 5px rgba(0, 0, 0, .6);
                        color: #fff
                    }

                        .banners .institucionales P:last-of-type span.bannersPieA a span {
                            padding-right: 15px;
                            padding-right: 15px;
                            max-width: 70%;
                            text-align: right;
                            display: block;
                            font-size: 1rem;
                            line-height: 1.1em
                        }

                        .banners .institucionales P:last-of-type span.bannersPieA a.bInfoGeneral {
                            background-color: #a497e9;
                            background-image: url(/Style%20Library/MINHAC.SP.Portal/img/icoInformacionGeneral.png);
                            background-repeat: no-repeat;
                            background-position: 17px center;
                            background-size: 13%
                        }

                            .banners .institucionales P:last-of-type span.bannersPieA a.bInfoGeneral:hover {
                                background-color: #8b77fa
                            }

                        .banners .institucionales P:last-of-type span.bannersPieA a.bHacienda {
                            background-color: #a7cc62;
                            background-image: url(/Style%20Library/MINHAC.SP.Portal/img/icoHacienda.png);
                            background-repeat: no-repeat;
                            background-position: 12px center;
                            background-size: 13%
                        }

                            .banners .institucionales P:last-of-type span.bannersPieA a.bHacienda:hover {
                                background-color: #8ebd38
                            }

                        .banners .institucionales P:last-of-type span.bannersPieA a.bPresupuestosGastos {
                            background-color: #5d92d4;
                            background-image: url(/Style%20Library/MINHAC.SP.Portal/img/icoPresupuestosGastos.png);
                            background-repeat: no-repeat;
                            background-position: 15px center;
                            background-size: 12%
                        }

                            .banners .institucionales P:last-of-type span.bannersPieA a.bPresupuestosGastos:hover {
                                background-color: #3d7fd1
                            }

                        .banners .institucionales P:last-of-type span.bannersPieA a.bFuncionPublica {
                            background-color: #f49851;
                            background-image: url(/Style%20Library/MINHAC.SP.Portal/img/icoFuncionPublica.png);
                            background-repeat: no-repeat;
                            background-position: 15px center
                        }

                            .banners .institucionales P:last-of-type span.bannersPieA a.bFuncionPublica:hover {
                                background-color: #dc7e03
                            }

                        .banners .institucionales P:last-of-type span.bannersPieA a.bContratacionPatrimonioEstado {
                            background-color: #ff5977;
                            background-image: url(/Style%20Library/MINHAC.SP.Portal/img/icoContratacionPatrimonio.png);
                            background-repeat: no-repeat;
                            background-position: 15px center;
                            background-size: 12%
                        }

                            .banners .institucionales P:last-of-type span.bannersPieA a.bContratacionPatrimonioEstado:hover {
                                background-color: #e73a5a
                            }

                        .banners .institucionales P:last-of-type span.bannersPieA a.bEscribaMinisterio {
                            background-color: #4cb0d8;
                            background-image: url(/Style%20Library/MINHAC.SP.Portal/img/icoEscribaMinisterio.png);
                            background-repeat: no-repeat;
                            background-position: 18px center;
                            background-size: 10.5%
                        }

                            .banners .institucionales P:last-of-type span.bannersPieA a.bEscribaMinisterio:hover {
                                background-color: #298cb4
                            }

                    .banners .institucionales P:last-of-type span.bannersPieA img {
                        border: 0;
                        display: none
                    }

            .banners .institucionales a {
                margin-left: 0;
                margin-right: 5px;
                margin-top: 0
            }

            .banners .institucionales P:last-of-type span.bannersPieB {
                grid-column: 1/span 1;
                grid-row: 1/span 2;
                -ms-grid-column: 1;
                -ms-grid-row: 1;
                -ms-grid-column-span: 1;
                -ms-grid-row-span: 2;
                display: block;
                flex-flow: wrap;
                -ms-flex-flow: wrap;
                justify-content: center;
                text-align: left;
                width: auto;
                padding-top: 0
            }

                .banners .institucionales P:last-of-type span.bannersPieB img {
                    padding: 7px
                }

    .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
        }

            .pie .listados .textos {
                width: 100%;
                height: auto;
                float: none;
            }

                .pie .listados .textos ul {
                    display: flex;
                    flex-flow: row;
                    justify-content: center;
                    text-align: center;
                    padding: 2% 0px;
                }

                    .pie .listados .textos ul li {
                        border-right: 0px solid #fff;
                        padding-right: 0px;
                        padding: 1%;
                        align-self: center;
                        width: auto !important;
                    }

                .pie .listados .textos a {
                    font-size: .9rem;
                }

        .pie .iconosacc {
            width: 100%;
            display: flex;
            justify-content: center;
            flex-flow: column;
            text-align: center;
            align-items: center;
        }

            .pie .iconosacc p {
                width: 100%;
                text-align: center;
                border-top: 1px solid rgba(255, 255, 255, 0.1);
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
                padding-top: 1em !important;
                padding-bottom: 1em !important;
                margin-right: 0px;
                margin: 10px auto;
                font-size: 0.9rem;
                padding: 5px;
            }

    .TopBoton {
        bottom: 19%;
        left: 85%;
    }

        .TopBoton .scrollToTopBoton {
            height: 70px;
            width: 70px;
        }

            .TopBoton .scrollToTopBoton:hover {
                background-color: rgba(255, 0, 23, 0.55) !important
            }
/*}*/

    /*************************************************************************/

    /*ESTILOS  TABLETS   -   LANDSCAPE*/

    /*************************************************************************/

    @media screen and (min-width: 768px) and (max-width: 1140px) and (min-resolution:2dppx) and ( orientation: landscape), only screen and (min-device-width: 768px) and (max-device-width: 1140px) and (-webkit-min-device-pixel-ratio: 2) and ( orientation: landscape) {
        .centrarCabecera {
            /*grid-template-columns: 92% 1fr !important;*/
        }

        .bloquebanners {
            width: 100%;
        }

        .banners .institucionales P:last-of-type {
            width: 100%;
        }

            .banners .institucionales P:last-of-type span.bannersPieB {
                display: flex;
                justify-content: left;
            }

        .contenido .directo .area a {
            font-size: 1rem;
        }

        .canales nav ul li a {
            font-size: 1rem;
        }

        .visible_menu .enlacesAyuda ul li a {
            font-size: 1rem;
        }
        /*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;
        }

        .calendario div .loaderDiv {
            margin-top: 30px;
            left: 14% !important;
            transform: translate(-14%, 0) !important;
        }

        .TopBoton {
            bottom: 19%;
            left: 89%;
        }

            .TopBoton .scrollToTopBoton {
                height: 60px;
                width: 60px;
            }
    }

    /*************************************************************************/

    /* COOKIES */

    /*************************************************************************/
    @media only screen and (min-width: 651px) and (max-width: 850px) and (min-resolution: 1dppx), only screen and (min-device-width: 651px) and (max-device-width: 850px) and (-webkit-min-device-pixel-ratio: 2) {
        .cookie-bar {
            height: 25%;
        }

            .cookie-bar p {
                text-align: left;
            }
    }


        /* CSS Document */
        /* Es necesario configurar el meta viewport con el siguiente código en la cabecera HTML
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        */
        /*************************************************************************/
        /* PORTAL MINHAC. PAGINA HOME. TABLET */
        /*************************************************************************/

        @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) {
            html {
                font-size: 16px;
            }

            body {
                height: auto;
                font-size: 1em;
            }

            img {
                max-width: 100%;
                height: auto;
            }

            .container {
                display: grid;
                display: -ms-grid;
                grid-template-columns: 1fr 1fr 1fr 1fr;
                grid-template-rows: auto 40px 1fr auto auto auto;
                -ms-grid-columns: 1fr 1fr 1fr 1fr;
                -ms-grid-rows: auto 30px 1fr auto auto auto;
                /* border: 2px solid #ffffff; */
                background: transparent;
                position: static;
                width: 100%;
            }
            /**CABCECERA**/
            .cabeceraEscudo h1 {
                padding-top: 10px;         
            }
            .cabecera {
                display: grid;
                display: -ms-grid;
                grid-area: header;
                grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
                grid-template-rows: auto auto auto;
                -ms-grid-columns: 1fr 1fr 1fr 1fr 1fr;
                -ms-grid-rows: auto auto auto;
                grid-column: 1 / span 4;
                grid-row: 1 / 2;
                -ms-grid-column: 1;
                -ms-grid-row: 1;
                -ms-grid-column-span: 4;
                -ms-grid-row-span: 1;
            }
                /*Idiomas y enlaces de ayuda*/
                .cabecera .cab_a {
                    display: none;
                }

                    .cabecera .cab_a .topcab {
                        width: auto;
                        float: none;
                    }

                        .cabecera .cab_a .topcab .idioma {
                            width: auto;
                            float: none;
                        }

                        .cabecera .cab_a .topcab .ayuda {
                            width: auto;
                            float: none;
                        }

            .botonesBuscarMenu {
                height: auto;
                grid-column: 1 / span 6;
                grid-row: 3 / 4;
                background: none;
            }

                .botonesBuscarMenu p {
                    margin: 0px;
                    display: flex;
                    height: 100%;
                    text-align: right;
                    justify-content: flex-end;
                    align-items: center;
                    padding-right: 10px;
                }

                    .botonesBuscarMenu p a {
                        display: inline-block;
                        width: 30px;
                        height: 30px;
                        margin: 0px 5px;
                        -webkit-transition: box-shadow 200ms linear;
                        -moz-transition: box-shadow 200ms linear;
                        -o-transition: box-shadow 200ms linear;
                        -ms-transition: box-shadow 200ms linear;
                        transition: box-shadow 200ms linear;
                    }

                        .botonesBuscarMenu p a:hover {
                            box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
                        }

                        .botonesBuscarMenu p a span {
                            display: none;
                        }

                        .botonesBuscarMenu p a:first-of-type {
                            background-image: url(/Style%20Library/MINHAC.SP.Portal/img/icoMenuPortal.png);
                            background-repeat: no-repeat;
                            background-position: center;
                        }

                        .botonesBuscarMenu p a:last-of-type {
                            background-image: url(/Style%20Library/MINHAC.SP.Portal/img/icoBuscarPortal.png);
                            background-repeat: no-repeat;
                            background-position: center;
                        }
            /*Escudo e imagen institucional*/
            .cabecera .cab_b {
                height: 100%;
                grid-column: 1 / span 5;
                grid-row: 1 / 3;
                -ms-grid-column: 1;
                -ms-grid-row: 1;
                -ms-grid-column-span: 5;
                -ms-grid-row-span: 2;
                background: #6f8ece;
            }

                .cabecera .cab_b .texto, .escudo {
                    float: none;
                    text-align: center;
                    width: 100%;
                    height: 100%;
                }

                    .escudo img {
                        margin-bottom: 6px;
                    }

            .cabecera .escudo {
            }

                .cabecera .escudo a {
                    display: inline;
                }

                    .cabecera .escudo a img {
                        display: inline;
                        width: auto;
                        /*min-height:30px;*/
                        max-height: 100%;
                    }

            .cabecera .cab_b .titulocab {
                width: auto;
                margin-left: auto;
                margin-right: auto;
                height: auto;
                background: none;
                text-align: left;
                display: flex;
                flex-flow: column;
                justify-content: center;
                align-items: center;
                height: 100%;
                /* justify-content: center; */
                padding: 0px 20px;
            }

                .cabecera .cab_b .titulocab p {
                    margin-top: 0px;
                    width: 100%;
                    display: flex;
                    height: 100%;
                    align-items: center;
                    margin-bottom: 0px;
                    text-align: center;
                    justify-content: center;
                }

                    .cabecera .cab_b .titulocab p span {
                        padding: 0px;
                        display: block;
                        font-size: 1.4rem;
                    }

            .sociallinks {
                float: none;
                display: none;
            }
            /*Menu de navegacion*/
            .cabecera .cab_c {
                height: 45px;
                height: auto;
                grid-column: 1 / span 6;
                grid-row: 3 / 4;
                -ms-grid-column: 1;
                -ms-grid-row: 3;
                -ms-grid-column-span: 6;
                -ms-grid-row-span: 4;
                background: none;
                width: auto;
            }

                .cabecera .cab_c .botonera {
                    width: auto;
                    margin-left: auto;
                    margin-right: auto;
                    position: relative;
                    height: 45px;
                    height: 45px;
                    background: none;
                }

                .cabecera .cab_c .textosbotonera {
                    display: none;
                }
            /*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 4;
                grid-row: 2 /3;
                -ms-grid-column: 1;
                -ms-grid-row: 2;
                -ms-grid-column-span: 4;
                -ms-grid-row-span: 1;
                display: none;
                padding-top: 30px;
                font-size: 0.8em;
            }

            .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;        
            }

            .impresion {
                display: none;
            }
            /*DESTACADO. CARROUSEL*/
            /*CARROUSEL*/
            .destacado {
                color: #4a5f8a;
                font-family: Arial;
                font-size: .8em;
                margin-left: 10px;
                width: auto;
                margin-left: auto;
                margin-right: auto;
                display: grid;
                display: -ms-grid;
                grid-area: destacado;
                grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
                grid-template-rows: auto auto;
                -ms-grid-columns: 1fr 1fr 1fr 1fr 1fr;
                -ms-grid-rows: auto auto;
                grid-column: 1 / span 4;
                grid-row: 3/ 4;
                -ms-grid-column: 1;
                -ms-grid-row: 3;
                -ms-grid-column-span: 4;
                -ms-grid-row-span: 1;
                width: 100%; 
            }

            .carrusel {
                background: none;
                height: 100%;
                padding-bottom: 2px;
                width: auto; 
                display: flex;
                position: relative;
                margin-left: 2px;
                margin-right: 0px;
                margin-bottom: 50px;
                grid-column: 1 / span 5;
                grid-row: 2/ 3;
                -ms-grid-column: 1;
                -ms-grid-row: 2;
                -ms-grid-column-span: 5;
                -ms-grid-row-span: 1;
                /*min-height: 100%;*/
                flex-flow: column;
                position: relative;
                padding-left: 15px;
                padding-right: 15px;
            }

            .carruselnoticias {
                background: none;
            }

            .fondocarrusel {
                background-color: transparent !important;
                padding-bottom: 10px;
            }

            #features {
                background: none;
                background-color: rgba(0, 0, 0, 0);
                min-height: 100%;
                background-color: #647cc6 !important;
                /* height: 20em; */
            }

            h2.titulo2 {
                background: none;
                margin-top: 0px;
                margin-left: 0px;
                color: #4a5f8a;
                grid-column: 1 / span 5;
                grid-row: 1/ 2;
                -ms-grid-column: 1;
                -ms-grid-row: 1;
                -ms-grid-column-span: 5;
                -ms-grid-row-span: 1;
                padding: 0px 0px 10px 15px;
                font-size: 1.2rem;
            }

            div.not {
                display: grid !important;
                display: -ms-grid !important;
                grid-template-columns: 1fr 1fr;
                grid-template-rows: auto auto auto;
                -ms-grid-columns: 1fr 1fr;
                -ms-grid-rows: auto auto auto;
                /* grid-column: 1 / span 1;
            grid-row: 1/2;
            -ms-grid-column:1;
            -ms-grid-row:1;
            -ms-grid-column-span:1;
            -ms-grid-row-span:2;*/
                justify-items: stretch;
            }

                div.not h3 {
                    padding: 15px;
                    margin-left: 10px !important;
                    width: auto;
                    float: none;
                    font-size: 1rem;
                    margin: 0;
                    position: relative;
                    grid-column: 2 / span 1;
                    grid-row: 1/ 2;
                    -ms-grid-column: 2;
                    -ms-grid-row: 1;
                    -ms-grid-column-span: 1;
                    -ms-grid-row-span: 1;
                    display: flex !important;
                    align-items: center;
                    min-height: 50px;
                    text-transform: uppercase;
                }

            p.imgnoticia {
                float: none !important;
                padding: 0 !important;
                margin: 0px !important;
                margin-top: 0px !important;
                margin-right: 0px !important;
                position: relative;
                grid-column: 1 / span 1;
                grid-row: 1/span 3;
                -ms-grid-column: 1;
                -ms-grid-row: 1;
                -ms-grid-column-span: 1;
                -ms-grid-row-span: 3;
                width: auto;
                height: 100%;
                display: flex;
                justify-content: left;
                height: 32em;
            }

                p.imgnoticia a {
                    margin-top: 0px;
                }

                p.imgnoticia img {
                    border: 1px solid #647cc6;
                    display: block;
                    height: 100%;
                    width: 100%;
                    max-width: 100%;
                    min-height: 100%;
                    min-width: auto;
                    margin-top: 0%;
                    /* height: 80em; */
                }

            div.not p.txtcarrusel {
                grid-column: 2 / span 1;
                grid-row: 2/ 3;
                -ms-grid-column: 2;
                -ms-grid-row: 2;
                -ms-grid-column-span: 1;
                -ms-grid-row-span: 1;
                line-height: 1.5em;
                font-size: 0.9rem;
                width: 100%;
            }

            div.not p.txtcarrusel2 {
                padding: 15px;
                margin-left: 10px;
                display: block;
                width: auto;
                float: left;
                font-size: 1rem;
                margin: 0;
                margin-top: 0px;
                margin-top: 0px;
                grid-column: 2 / span 1;
                grid-row: 3/ 4;
                -ms-grid-column: 2;
                -ms-grid-row: 3;
                -ms-grid-column-span: 1;
                -ms-grid-row-span: 1;
                text-align: center;
            }

                div.not p.txtcarrusel2 a {
                    font-size: 0.9rem;
                }

            .jshowoff p.jshowoff-slidelinks {
                margin: 0;
                margin-left: 0px;
                width: 80%;
                background: none;
                position: relative;
                top: 0px;
                margin-left: 0px;
                padding-bottom: 3px;
                padding-top: 20px;
                display: flex;
                justify-content: center;
                z-index: 99999;
                position: relative;
                padding-left: 90px;
            }

            .jshowoff-slidelinks a, .jshowoff-controls a {
                display: block;
                background-color: #647cc6;
                color: #647cc6 !important;
                padding: 3px;
                float: left;
                text-decoration: none;
                outline: none;
                font-size: 8px;
                line-height: 14px;
                background: none;
                margin: 3px 6px !important;
                width: 2.5em;
                height: 2.5em;
                border-radius: 2em;
                background-color: #647cc6;
                line-height: 5px;
                margin: 5px;
                border: 1px solid #647cc6;
                -webkit-transition: background-color 200ms linear;
                -moz-transition: background-color 200ms linear;
                -o-transition: background-color 200ms linear;
                -ms-transition: background-color 200ms linear;
                transition: background-color 200ms linear;
                -webkit-transition: border 200ms linear;
                -moz-transition: border 200ms linear;
                -o-transition: border 200ms linear;
                -ms-transition: border 200ms linear;
                transition: border 200ms linear;
            }

                .jshowoff-slidelinks a:hover, .jshowoff-controls a:hover {
                    color: #647cc6 !important;
                    border: 1px solid rgba(255, 255, 255, .6);
                    background-color: #647cc6;
                }

                .jshowoff-slidelinks a.jshowoff-active, .jshowoff-slidelinks a.jshowoff-active:hover {
                    background-color: #0e3a90;
                    color: #0e3a90 !important;
                    border: 1px solid #0e3a90;
                }

            div.ver {
                width: auto;
                color: #fff;
                position: relative;
                top: auto;
                float: none;
                margin-left: 0px;
                background: none;
                height: 100%;
                clear: both;
                display: flex;
                align-items: center;
                justify-content: flex-end;
                height: 30px;
                margin-top: -35px;
            }

                div.ver p {
                    margin: 0px;
                    text-align: center;
                }

                    div.ver p a {
                        border-radius: 4px;
                        padding: 10px 25px;
                        background-color: #35589c;
                        margin: 0px;
                        -webkit-transition: background-color 200ms linear;
                        -moz-transition: background-color 200ms linear;
                        -o-transition: background-color 200ms linear;
                        -ms-transition: background-color 200ms linear;
                        transition: background-color 200ms linear;
                        margin-right: 15px;
                        font-size: 0.9rem;
                    }

                        div.ver p a:hover {
                            text-decoration: none;
                            background-color: #0e3a90;
                        }
            /*CONTENIDO CENTRAL*/
            .central {
                height: 100%;
                margin-left: auto;
                margin-right: auto;
                width: auto;
                padding-bottom: 0px;
                clear: both;
                display: grid;
                display: -ms-grid;
                grid-column: 1 / span 4;
                grid-row: 4/ 5;
                -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;
            }

            .contenido {
                width: auto;
                float: none;
                font-family: Arial;
                font-size: .8em;
                margin-left: 0px;
                margin-bottom: 0px;
                line-height: 18px;
                color: #000;
                display: grid;
                display: -ms-grid;
                grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
                grid-template-rows: 30px auto auto;
                -ms-grid-columns: 1fr 1fr 1fr 1fr 1fr;
                -ms-grid-rows: auto auto auto;
                grid-column: 1 / span 1;
                grid-row: 1/ 2;
                -ms-grid-column: 1;
                -ms-grid-row: 1;
                -ms-grid-column-span: 1;
                -ms-grid-row-span: 1;
            }
                /*Actualidad*/
                .contenido h2.titulo {
                    display: flex;
                    background: none;
                    font-size: 1.2rem;
                    text-transform: none;
                    border-bottom: 0px solid #e0e8ee;
                    font-weight: bold !important;
                    position: relative;
                    padding-left: 15px;
                    align-items: end;
                    height: 100%;
                    grid-column: 1 / span 5;
                    grid-row: 1/ 2;
                    -ms-grid-column: 1;
                    -ms-grid-row: 1;
                    -ms-grid-column-span: 5;
                    -ms-grid-row-span: 1;
                    /* flex: 1; */
                    /* border: 1px solid red; */
                    width: auto;
                }

                .contenido .actualidad {
                    grid-column: 1 / span 5;
                    grid-row: 2/ 3;
                    -ms-grid-column: 1;
                    -ms-grid-row: 2;
                    -ms-grid-column-span: 5;
                    -ms-grid-row-span: 1;
                }

                    .contenido .actualidad ul li {
                        background: none;
                        padding-left: 10px;
                        margin-bottom: 0px;
                        border-bottom: 1px solid #eaeaea;
                        margin-left: 0px;
                        /* padding-left: 10px; */
                        /* padding-right: 10px; */
                        padding: 15px;
                        line-height: 1.3rem;
                    }

                        .contenido .actualidad ul li:last-of-type {
                            border-bottom: 0px;
                        }

                        .contenido .actualidad ul li a {
                            /* line-height: 0px; */
                            margin-top: 0px;
                            padding: 0px;
                            font-size: 1rem;
                        }

            a img[class="Technositepopup"] {
                /* width: 13px; */
                margin-left: 10px;
            }
            /*Directo a*/
            .contenido .directo {
                grid-column: 1 / span 5;
                grid-row: 3/ 4;
                -ms-grid-column: 1;
                -ms-grid-row: 3;
                -ms-grid-column-span: 5;
                -ms-grid-row-span: 1;
                background-color: #f0f4ff;
                display: grid;
                display: -ms-grid;
                flex-flow: column;
                position: relative;
                justify-items: stretch;
                grid-template-columns: 1fr 1fr;
                grid-template-rows: auto auto;
                line-height: 1.2em;
                -ms-grid-columns: 1fr 1fr;
                -ms-grid-rows: auto auto;
                padding: 1em 0px;
            }

                .contenido .directo h2.titulo {
                    display: flex;
                    padding: 0px;
                }

                    .contenido .directo h2.titulo span {
                        padding: 10px 10px 10px 15px;
                    }

                .contenido .directo .enlaces {
                    float: none;
                    width: 100%;
                    max-width: none;
                    display: flex;
                    font-size: 1.2em;
                    grid-column: 1 / span 1;
                    grid-row: 2/ 3;
                    -ms-grid-column: 1;
                    -ms-grid-row: 2;
                    -ms-grid-column-span: 1;
                    -ms-grid-row-span: 3;
                }

                    .contenido .directo .enlaces ul li {
                        background: none;
                        padding: 10px 15px 10px 15px;
                        margin-bottom: 0px;
                        border-bottom: 0px solid #ffffff;
                        background-image: url(/Style%20Library/MINHAC.SP.Portal/img/bulletDirecto.png);
                        background-position: 15px center;
                        background-repeat: no-repeat;
                    }

                        .contenido .directo .enlaces ul li a {
                            font-size: 1rem;
                        }

                        .contenido .directo .enlaces ul li:last-of-type {
                            border-bottom: 0px;
                        }

                .contenido .directo .areas {
                    float: none;
                    width: auto;
                    max-width: none;
                    padding: 15px;
                    font-size: 1.2em;
                    grid-column: 2 / span 1;
                    grid-row: 2/ 3;
                    -ms-grid-column: 2;
                    -ms-grid-row: 2;
                    -ms-grid-column-span: 1;
                    -ms-grid-row-span: 3;
                    /* line-height: 1.5em; */
                }

                .contenido .directo .areacolor {
                    background: #999;
                    background-color: rgb(153, 153, 153);
                    float: none;
                    display: flex;
                    position: absolute;
                    width: 1.5em;
                    height: 2.5em;
                }

                .contenido .directo .area {
                    background-color: transparent;
                    float: none;
                    width: 100%;
                    margin-bottom: 1px;
                    margin-bottom: 2px;
                    border-bottom: 1px solid rgba(255, 255, 255, .2);
                    -webkit-transition: background-color 200ms linear;
                    -moz-transition: background-color 200ms linear;
                    -o-transition: background-color 200ms linear;
                    -ms-transition: background-color 200ms linear;
                    transition: background-color 200ms linear;
                    height: 2.5em;
                }

                    .contenido .directo .area:hover {
                        background-color: transparent !important;
                    }

                    .contenido .directo .area p {
                        text-align: left;
                        padding: 0px 0px 0px 1.8em;
                        margin: 0px;
                        display: grid;
                        display: -ms-grid;
                        /* vertical-align: middle; */
                        align-content: center;
                        /* line-height: 2em; */
                        height: 100%;
                        /* display: flex; */
                        /* justify-content: center; */
                        /* border: 1px solid red; */
                    }

                    .contenido .directo .area a {
                        font-weight: normal;
                        color: #32518F;
                        padding: 0px;
                        /* display: flex; */
                        text-decoration: none;
                        text-align: left;
                        height: 100%;
                        align-items: baseline;
                        margin: 0px;
                        line-height: 1.2em;
                        /* width: auto; */
                    }

                        .contenido .directo .area a:hover {
                            text-decoration: underline;
                        }
            /*Banners destacados*/
            .bannersdestacados {
                width: 100%;
                height: auto;
                float: none;
                padding-right: 3px;
                color: #4a5f8a;
                font-family: Arial;
                font-size: .95em;
                margin-right: auto;
                margin-top: 0px;
                display: grid;
                display: -ms-grid;
                grid-template-columns: 1fr 1fr 20px 1fr 1fr;
                grid-template-rows: auto auto;
                -ms-grid-columns: 1fr 1fr 20px 1fr 1fr;
                -ms-grid-rows: auto auto;
                grid-column: 1 / span 1;
                grid-row: 2/ 3;
                -ms-grid-column: 1;
                -ms-grid-row: 2;
                -ms-grid-column-span: 1;
                -ms-grid-row-span: 1;
            }
                /*buscador*/
                .bannersdestacados .buscador {
                    display: none;
                }

                /*subscribete*/
                #subscribeButton {
                    width: 100%;
                    float: none;
                    height: 75px;
                    grid-column: 4/span 2;
                    grid-row: 1;
                    display: grid;
                    flex-wrap: wrap;
                    justify-content: center;
                    margin-top: 50px;
                    margin-bottom: 20px;
                    margin-left:0px;
                }
            
                #subscribeButton p {
                    display: flex;
                    flex-wrap: wrap;
                    justify-content: center;
                }
            

                #subscribeButton button.SuscrModal-TopBtn {
                    width: 200px !important;
                    height: 65px !important;
                    font-size: 19px;
                }

                /*agenda*/
                .bannersdestacados .calendario {
                    float: none;
                    margin-bottom: 0px;
                    min-width: 100%;
                    width: 100%;
                    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;
                }

            #div-calendarioAgenda-app {
                border: 0px solid #e1e8ee !important;
                padding: 15px !important;
                padding-bottom: 5px !important;
                font-family: arial;
                font-size: .8em;
                width: auto !important;
                min-height: auto !important;
                display: flex;
                flex-flow: column;
                padding-bottom: 0px;
            }

                #div-calendarioAgenda-app > div:first-of-type {
                    width: 100%;
                    display: flex !important;
                }

                #div-calendarioAgenda-app div.enlaceMes {
                    position: relative !important;
                    margin-left: 30px !important;
                    height: 2em !important;
                    vertical-align: middle !important;
                    background-color: #6a93ea;
                    margin-top: 5px;
                    clear: both;
                    background-color: transparent !important;
                    display: flex !important;
                    margin-right: 30px;
                    /* margin-top: 0PX!IMPORTANT; */
                    align-self: center;
                }

                    #div-calendarioAgenda-app div.enlaceMes p {
                        /* width:100%!important; */
                        /* height: 100%!important; */
                        /* vertical-align: middle; */
                        /* margin-top: 15px!important; */
                        top: 5px;
                        position: relative;
                    }

                    #div-calendarioAgenda-app div.enlaceMes a {
                        /* font-size: 1.3em!important; */
                        /* margin-top: 300px; */
                        /* position: relative; */
                    }

                    #div-calendarioAgenda-app div.enlaceMes p a {
                        font-size: 1.1rem;
                        /* top: 50px; */
                    }

            div#calendarDiv {
                width: 100%;
                top: -30px;
                position: relative;
            }

            #div-calendarioAgenda-app .rw-calendar {
                width: 100%;
            }

            #div-calendarioAgenda-app .rw-header {
                display: inline-flex !important;
                width: 100%;
                /* height: 3.6em!important; */
            }

            #div-calendarioAgenda-app div:nth-child(3) div div:first-child {
                height: 3.6em !important;
            }

            #div-calendarioAgenda-app div:nth-child(3) div div:nth-child(2) table tbody td div {
                height: 2em !important;
            }

            #div-calendarioAgenda-app div:nth-child(3) div div:nth-child(2) table tbody td span a {
                font-size: 1rem !important;
                height: 2em !important;
                padding: 0px 5px !important;
                top: 0px !important;
            }

            #div-calendarioAgenda-app button:first-child {
                width: 3em !important;
                height: 3em !important;
                background-position: center !important;
                border-radius: 3em;
                background-size: 1rem;
                font-size: 12px !important;
            }

            #div-calendarioAgenda-app button:last-child {
                width: 3em !important;
                height: 3em !important;
                background-position: center !important;
                border-radius: 3em;
                background-size: 1rem;
                font-size: 12px !important;
            }

            #div-calendarioAgenda-app div:nth-child(3) div div:nth-child(2) table tbody {
                font-size: 1.2em;
            }

            #div-calendarioAgenda-app .rw-header button:nth-child(2) {
                width: 100%;
                color: #3268e2;
            }

            #div-calendarioAgenda-app .divAnyoAgendaEventos {
                z-index: -1 !important;
                position: relative !important;
            }

            #div-calendarioAgenda-app > div:first-of-type {
                display: flex;
            }

            #div-calendarioAgenda-app > div:first-child div:nth-child(1) {
                display: inline-flex !important;
                width: auto;
                padding: 0px 0px 5px 0px;
            }

                #div-calendarioAgenda-app > div:first-child div:nth-child(1) p {
                    width: auto !important;
                    margin-left: 20px !important;
                    padding-top: 0px !important;
                    margin-right: 0px !important;
                    /* padding-left: 50px; */
                }

            #div-calendarioAgenda-app div:first-child div:nth-child(1) p {
                background-size: 20px;
                padding: 0px 10px;
            }

            #div-calendarioAgenda-app > div:first-child div:nth-child(1) span {
                vertical-align: middle;
                float: none !important;
                padding-top: 5px;
                font-size: 1.2rem;
            }

            #div-calendarioAgenda-app > div:first-child div:nth-child(1) span {
                vertical-align: middle;
                /* float: none!important; */
                padding-top: 5px;
                /* font-size: 2em; */
            }

            #div-calendarioAgenda-app > div:first-child div:nth-child(2) {
                display: inline-flex;
                width: 100%;
                text-align: right;
            }

            #div-calendarioAgenda-app div:first-child div.divAnyoAgendaEventos:nth-child(2) {
                /* border: 1px solid pink; */
                height: auto !important;
                /* min-height: auto; */
                align-self: center;
                /* padding-top: 15px; */
            }

            #div-calendarioAgenda-app div:first-child div.divAnyoAgendaEventos:nth-child(2) {
                /* border: 1px solid pink; */
                height: auto !important;
                /* min-height: auto; */
                align-self: center;
                /* padding-top: 15px; */
            }

            #div-calendarioAgenda-app > div:first-child div:nth-child(2) p {
                top: 0px !important;
                width: 100% !important;
                /* font-size: 1.5em!important; */
            }

            #div-calendarioAgenda-app div:nth-child(3) div div:nth-child(2) table thead th {
                height: 3em !important;
                width: 2em !important;
                font-size: 0.9rem;
            }

            #div-calendarioAgenda-app div:nth-child(3) div div:nth-child(2) table tbody td div {
                font-size: 1rem;
            }

            #div-calendarioAgenda-app div:first-child div:nth-child(2) p#anyoAgendaEventos {
                font-size: 1.2rem !important;
                margin: 0px;
                padding: 0px;
                /* vertical-align: bottom; */
            }

            #div-calendarioAgenda-app div:nth-child(3) div div:nth-child(2) table tbody td {
                padding-bottom: 4px;
            }

            /*banners*/
            .bannersdestacados .bannerimg {
                width: auto;
                float: none;
                height: auto;
                grid-column: 4/ span 2;
                grid-row: 2/span 3;
                -ms-grid-column: 4;
                -ms-grid-row: 1;
                -ms-grid-column-span: 2;
                -ms-grid-row-span: 3;
                /* padding-top: 2.5em; */
            }

                .bannersdestacados .bannerimg p {
                    margin-top: 0px;
                }

                    .bannersdestacados .bannerimg p:last-of-type {
                        display: flex;
                        flex-wrap: wrap;
                        justify-content: center;
                    }

                        .bannersdestacados .bannerimg p:last-of-type a {
                            margin: 5px;
                        }
        }
        /*************************************************************************/
        /* PORTAL MINHAC. PAGINA HOME. TABLET (LANDSCAPE)*/
        /*************************************************************************/
        @media screen and (min-width: 768px) and (max-width: 1140px) and (min-resolution:2dppx) and ( orientation: landscape), only screen and (min-device-width: 768px) and (max-device-width: 1140px) and (-webkit-min-device-pixel-ratio: 2) and ( orientation: landscape) {
            html {
                font-size: 16px;
            }

            body {
                font-size: 1em;
            }

            .contenido {
                font-size: 1.1em;
            }

            .destacado {
                font-size: 1.1em;
            }

            .cabecera .cab_b .titulocab p {
                font-size: 1.3em;
            }

            a img[class="Technositepopup"] {
                width: 13px;
                margin-left: 10px;
            }

            .contenido .actualidad ul li a {
                line-height: 1.2em;
            }

            .contenido .directo .enlaces {
                font-size: 1.1em;
            }

            .contenido .directo .areas {
                font-size: 1.1em;
            }

            /*subscribete*/
            #subscribeButton {

            }

            #subscribeButton button.SuscrModal-TopBtn {
                width: 205px !important;
                height:65px !important;
            }

            #div-calendarioAgenda-app > div:first-child div:nth-child(1) p {
                width: auto !important;
                margin-right: 30px !important;
                padding-top: 0px !important;
            }

            #div-calendarioAgenda-app div:first-child div:nth-child(2) p#anyoAgendaEventos {
                font-size: 1.2rem !important;
            }

            div#calendarDiv {
                top: -30px;
            }

            #div-calendarioAgenda-app div:nth-child(3) div div:first-child {
                height: 2.5em !important;
            }

            #div-calendarioAgenda-app div:nth-child(3) div div.rw-header {
                height: 3.5em !important;
            }

            #div-calendarioAgenda-app > div:first-child div:nth-child(1) span {
                font-size: 1.2rem;
            }

            #div-calendarioAgenda-app div:nth-child(3) div div:nth-child(2) table tbody td div {
                height: 2em !important;
            }

            #div-calendarioAgenda-app div:nth-child(3) div div:nth-child(2) table tbody td span a {
                height: 2em !important;
                padding: 0px 5px !important;
            }
        }