@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Fjalla+One&amp;display=swap');
/* CSS Document */

.oiresconFondo {
    background-image: url("../img/t_fondo.html");
    background-repeat: no-repeat;
    background-position: left bottom;
    display: grid;
    display: -ms-grid;
    /*padding: 0px 20px 40px 30px;*/
    margin-top: 30px;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    -ms-grid-columns: 1fr;
    -ms-grid-rows: auto;
}

.oiresconLogoBanner {
    padding: 0px 20px 10px 20px;
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    background-color: #ffffff;
    align-items: baseline;
    grid-column: 1 / span 1;
    grid-row: 1;
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
}

.oiresconLogoBanner span {
    align-self: baseline;
    display: flex;
}

.oiresconLogoBanner span:last-of-type a {
    display: flex;
    margin: 0px;
    border: 1px solid #ffffff;
    border-radius: 10px;
}

.oiresconLogoBanner span:last-of-type a:hover {
    -webkit-box-shadow: 0.5px 0.5px 8px 3px #dbd9d9;
    -moz-box-shadow: 0.5px 0.5px 8px 3px #dbd9d9;
    box-shadow: 0.5px 0.5px 8px 3px #dbd9d9;
    transition: box-shadow 0.5s ease;
}

.oiresconLogoBanner span:last-of-type {
    z-index: 1;
}

.oiresconSobreNosotros,
.oiresconNovedades.novedades {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    grid-column: 1;
    grid-row: 2;
    -ms-grid-column: 1;
    -ms-grid-row: 2;
    width: 99%;
}

.oiresconSobreNosotros .tab,
.oiresconNovedades .tab,
.oiresconEnlaces .tab {
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: baseline;
    z-index: 0;
}

.oiresconSobreNosotros .tab span,
.oiresconNovedades .tab span,
.oiresconEnlaces .tab span {
    align-self: baseline;
    display: flex;
}

.oiresconSobreNosotros .tab div:first-of-type {
    /*width: auto;*/
}

.oiresconSobreNosotros .tab div:last-of-type {
    /*background-image: url("/Style Library/MINHAC.SP.Portal/Oirescon/img/tag_oirescon.png");
    background-repeat: no-repeat;
    width: 187px;
    height: 56px;*/
}

.oiresconSobreNosotros .tab,
.oiresconNovedades .tab {
    display: block !important;
    width: 99%;
}


.oiresconSobreNosotros .tab span span:nth-child(1) {
    font-size: 0.8em;
    padding-right: 20px;
    white-space: pre-wrap;
}

.oiresconSobreNosotros .tab span:first-of-type,
.oiresconNovedades.novedades .tab span:first-of-type {
    padding: 0px 10px 0px 40px;
    margin-top: -4px;
    text-align: right;
    display: block;
    cursor: default;
    font-size: 1.25rem;
    font-family: "Fjalla One";
    color: #fff;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, .3);
    box-sizing: border-box;
    cursor: pointer;
}

.oiresconNovedades.novedades .tab label ~ span:first-of-type:not(.peq) {
    position: relative;
    display: inline-block !important;
    width: 185px !important;
    height: 55px !important;
    background: red !important:
}

.oiresconNovedades.novedades .tab span:first-of-type:not(.peq) {
    padding: 25px 10px 0px 0px !important;
    display: table;
    width: auto;
}

.oiresconNovedades.novedades .tab span:first-of-type {
    text-align: left;
    display: block;
}

.oiresconSobreNosotros input[type="checkbox"],
.oiresconNovedades input[type="checkbox"] {
    position: relative;
    cursor: pointer;
    opacity: 0;
    visibility: 0;
}

.oiresconSobreNosotros label::before,
.oiresconSobreNovedades label::before {
    content: "";
    display: inline-block;
}

.oiresconSobreNosotros label {
    cursor: pointer !important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 185px;
    float: right;
    background-image: url("../img/tag_oirescon.png");
    background-repeat: no-repeat;
    background-position: right top;
    transform-style: preserve-3d;
    z-index: 100;
    height: 60px;
    padding: 3px 10px 0 0;
    line-height: 1.1;
}

.oiresconSobreNosotros label span,
.oiresconNovedades.novedades label span {
    color: #fff;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgb(0 0 0 / 30%);
    font-family: "Fjalla One";
    font-size: 1.25rem;
    padding: 0 10px 0 0 !important;
}

.oiresconNovedades.novedades label span {
    padding: 10px 0 0 0px !important;
    width: 100%;
    line-height: 1.1vh;
    display: block;
    margin-top: 15px;
}

.oiresconSobreNosotros label span.peq,
.oiresconNovedades.novedades label span.peq {
    font-size: 1em !important;
}

.oiresconSobreNosotros .flecha,
.oiresconNovedades .flecha {
    display: inline-block;
}


.oiresconNovedades.novedades .flecha {
    display: table;
    height: 7px;
    width: 14px;
    margin-top: 17px;
}

.oiresconNovedades.novedades .flecha img {
    width: 14px;
    height: 7px;
}


.oiresconSobreNosotros input[type=checkbox] ~ label .flecha {
    transition: all ease-in-out .3s;
    padding-left: 2px;
}

.oiresconNovedades.destacado .flecha {
    /* position: absolute;
    top: 29px;
    left: 106px; */
    margin-left: 10px;
    display: flex;
    align-items: center;
}

.oiresconSobreNosotros input[type=checkbox]:checked ~ label .flecha,
.oiresconNovedades input[type=checkbox]:checked ~ label .flecha {
    transform: rotate(-180deg);
}



.oiresconEnlaces .recuadro {
    display: flex;
    flex-direction: column;
    width: 99%;
    margin-top: -20px;
    margin-bottom: 20px;
    z-index: 9;
    background: -webkit-rgb(245, 246, 247);
    background: -o-rgb(245, 246, 247);
    background: -ms-rgb(245, 246, 247);
    background: -moz-rgb(245, 246, 247);
    background: rgb(245, 246, 247);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 5px 4px 10px -2px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 5px 4px 10px -2px rgba(0, 0, 0, 0.1);
    box-shadow: 5px 4px 10px -2px rgba(0, 0, 0, 0.1);
}

.oiresconSobreNosotros .recuadro,
.oiresconNovedades .recuadro {
    max-height: 30px;
    overflow: hidden;
    background: -webkit-rgb(245, 246, 247);
    background: -o-rgb(245, 246, 247);
    background: -ms-rgb(245, 246, 247);
    background: -moz-rgb(245, 246, 247);
    background: rgb(245, 246, 247);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 5px 4px 10px -2px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 5px 4px 10px -2px rgba(0, 0, 0, 0.1);
    box-shadow: 5px 4px 10px -2px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: max-height 0.5s;
    margin-bottom: 20px;
    transform: translateZ(-10px);
    clear: both;
    position: relative;
    top: -10px;
    z-index: -1;
}

.oiresconSobreNosotros input:checked ~ .recuadro,
.oiresconNovedades input:checked ~ .recuadro {
    max-height: 600px;
}

.oiresconSobreNosotros .recuadro .recuadroTexto,
.oiresconNovedades .recuadro .recuadroTexto,
.oiresconEnlaces .recuadro .recuadroTexto {
    width: 100%;
    padding: 15px 20px;
}

.recuadro .recuadroTexto ul {
    margin-top: 12px;
}

.oiresconSobreNosotros .recuadro .recuadroTexto ul li,
.oiresconNovedades .recuadro .recuadroTexto ul li,
.oiresconEnlaces .recuadro .recuadroTexto ul li {
    background: url("../img/oirescom_item.png") no-repeat 10px 1px;
    list-style-type: none;
    margin-bottom: 5px;
    padding-left: 35px;
    line-height: 20px;
    width: 55%;
    transition: all ease-in 0.3s;
}

.oiresconNovedades .recuadro .recuadroTexto ul li,
.oiresconEnlaces .recuadro .recuadroTexto ul li {
    width: 85%;
}

.oiresconSobreNosotros .recuadro .recuadroTexto ul li:hover,
.oiresconNovedades .recuadro .recuadroTexto ul li:hover,
.oiresconEnlaces .recuadro .recuadroTexto ul li:hover {
    background: url("../img/oirescom_item_hover.png") no-repeat 10px 1px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    -webkit-box-shadow: -1px 4px 5px -8px rgba(0, 0, 0, 0.8);
    -moz-box-shadow: -1px 4px 5px -8px rgba(0, 0, 0, 0.8);
    box-shadow: -1px 4px 5px -8px rgba(0, 0, 0, 0.8);
}

.oiresconSobreNosotros .recuadro .recuadroTexto ul li a,
.oiresconNovedades .recuadro .recuadroTexto ul li a,
.oiresconEnlaces .recuadro .recuadroTexto ul li a {
    text-decoration: none;
    color: #000;
    text-shadow: 1px 1px rgba(255, 255, 255);
}


.oiresconListadoSecciones {
    grid-column: 1 / span 1;
    grid-row: 3 / span 1;
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    -ms-grid-row: 3;
    -ms-grid-row-span: 1;
    margin-bottom: 20px;
}

.oiresconListadoSecciones ul {
    margin: 0px;
    padding: 0px 10px 10px 10px;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto auto;
    -ms-grid-columns: 1fr 1fr 1fr;
    -ms-grid-rows: auto auto auto;
    width: auto;
    display: grid !important;
    display: -ms-grid !important;
    background-color: #ffffff;
}

.oiresconListadoSecciones ul li {
    background-color: #ffffff !important;
    margin: 0px;
    padding: 0px;
    margin: 10px;
    transition: background-color 0.5s ease;
    width: 200px;
    position: relative;
    z-index: 0;
    transition: max-height 0.3s ease;
    background: none !important;
}

.oiresconListadoSecciones ul li:nth-child(3n + 1) + li {
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
}

.oiresconListadoSecciones ul li:nth-child(3n) {
    -ms-grid-column: 3;
    -ms-grid-column-span: 1;
}

.oiresconListadoSecciones ul li:nth-child(1),
.oiresconListadoSecciones ul li:nth-child(2),
.oiresconListadoSecciones ul li:nth-child(3) {
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
}

.oiresconListadoSecciones ul li:nth-child(4),
.oiresconListadoSecciones ul li:nth-child(5),
.oiresconListadoSecciones ul li:nth-child(6) {
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
}

.oiresconListadoSecciones ul li:nth-child(7),
.oiresconListadoSecciones ul li:nth-child(8),
.oiresconListadoSecciones ul li:nth-child(9) {
    -ms-grid-row: 3;
    -ms-grid-row-span: 1;
}

.oiresconListadoSecciones ul li.activo2 {
    max-height: 100%;
}

.oiresconListadoSecciones ul li {
    border-top: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
}



.oiresconListadoSecciones ul li:nth-child(3n) .elementoDesplegable {
    border-left: 1px solid #fff;
}

.oiresconListadoSecciones ul li.activo2 .elementoDesplegable {
    background-color: #fff;
    background-position: top 200px;
    background-repeat: repeat-x;
    min-height: 50px;
    z-index: 99999;
    /* -webkit-box-shadow: 6px -1px 2px -3px rgba(0, 0, 0, 0.1); */
    /* box-shadow: 6px -1px 2px -3px rgba(0, 0, 0, 0.1); */
}

.oiresconListadoSecciones ul li .elementoDesplegable div.oiresconContenidoSeccion {
    min-height: 50px;
    padding: 0 11px;
    box-sizing: border-box;
}

.oiresconListadoSecciones ul li.activo2 .elementoDesplegable div.oiresconContenidoSeccion {
    background: url("../img/t_bordeSuperiorDesplegable2.jpg") -1px top repeat-y, url("../img/t_bordeSuperiorDesplegable.jpg") top repeat-x !important;
    min-height: 50px;
    padding-top: 15px;
    border-left: 1px solid #5b7796;
    border-right: 1px solid #5b7796;
    border-bottom: 1px solid #5b7796;
    padding: 10px;
    margin-top: -1px;
    box-sizing: border-box;
}

.oiresconListadoSecciones ul li:nth-child(3n) .elementoDesplegable div.oiresconContenidoSeccion {
    background-position: 444px top;
}

.oiresconListadoSecciones ul li div.oiresconSeccion {
    background: -webkit-linear-gradient(top, rgb(93, 136, 170) 0%, rgb(128, 160, 185) 99%, rgb(128, 160, 185) 100%);
    background: -o-linear-gradient(top, rgb(93, 136, 170) 0%, rgb(128, 160, 185) 99%, rgb(128, 160, 185) 100%);
    background: -ms-linear-gradient(top, rgb(93, 136, 170) 0%, rgb(128, 160, 185) 99%, rgb(128, 160, 185) 100%);
    background: -moz-linear-gradient(top, rgb(93, 136, 170) 0%, rgb(128, 160, 185) 99%, rgb(128, 160, 185) 100%);
    background: linear-gradient(to bottom, rgb(93, 136, 170) 0%, rgb(128, 160, 185) 99%, rgb(128, 160, 185) 100%);
    background-size: cover;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border: 2px solid #fff;
    -webkit-box-shadow: 1px 1px 3px #dbdbdb;
    -moz-box-shadow: 1px 1px 3px #dbdbdb;
    box-shadow: 1px 1px 3px #dbdbdb;
    min-height: 135px;
    padding: 0 20px;
    -webkit-backface-visibility: hidden;
    z-index: 1;
    moz-transition: all .25s ease-in;
    -o-transition: all .25s ease-in;
    -webkit-transition: all .25s ease-in;
    transition: all .25s ease-in;
    display: flex;
    align-items: center;

}

@media all and (-ms-high-contrast:none) {
    .oiresconListadoSecciones ul li div.oiresconSeccion {
        height: 135px;
    }
}

.oiresconListadoSecciones ul li div.oiresconSeccion:hover span:last-of-type {
    color: #525252 !important;
}

.oiresconListadoSecciones ul li div.oiresconSeccion:hover {
    background: rgba(191, 217, 246, 0.2)
}

.oiresconListadoSecciones ul li.activo2 div.oiresconSeccion:hover {
    background-color: #ffffff !important;
    box-shadow: none;
}

.oiresconListadoSecciones ul li div.activo {
    background: -webkit-linear-gradient(bottom, rgb(255, 255, 255) 88%, rgb(229, 238, 245) 100%);
    background: -o-linear-gradient(bottom, rgb(255, 255, 255) 88%, rgb(229, 238, 245) 100%);
    background: -ms-linear-gradient(bottom, rgb(255, 255, 255) 88%, rgb(229, 238, 245) 100%);
    background: -moz-linear-gradient(bottom, rgb(255, 255, 255) 88%, rgb(229, 238, 245) 100%);
    background: linear-gradient(to top, rgb(255, 255, 255) 88%, rgb(229, 238, 245) 100%);
    background-color: #ffffff !important;
    border: none;
    border-top: 1px solid #5b7796;
    border-left: 1px solid #5b7796;
    border-right: 1px solid #5b7796;
    /* -webkit-box-shadow: 4px 1px 2px -1px rgba(0, 0, 0, 0.1); */
    /* box-shadow: 4px 1px 2px -1px rgba(0, 0, 0, 0.1); */
    padding-bottom: 20px;
    border-radius: 0;
    position: relative;
    z-index: 999;
    box-shadow: none;
}

.oiresconListadoSecciones ul li div.activo:hover {
    background: -webkit-linear-gradient(bottom, rgb(255, 255, 255) 88%, rgb(229, 238, 245) 100%) !important;
    background: -o-linear-gradient(bottom, rgb(255, 255, 255) 88%, rgb(229, 238, 245) 100%) !important;
    background: -ms-linear-gradient(bottom, rgb(255, 255, 255) 88%, rgb(229, 238, 245) 100%) !important;
    background: -moz-linear-gradient(bottom, rgb(255, 255, 255) 88%, rgb(229, 238, 245) 100%) !important;
    background: linear-gradient(to top, rgb(255, 255, 255) 88%, rgb(229, 238, 245) 100%) !important;
    /*-webkit-box-shadow: 4px 0px 2px -1px rgba(0, 0, 0, 0.1) !important;
    box-shadow: 4px 0px 2px -1px rgba(0, 0, 0, 0.1) !important;*/
}

.oiresconListadoSecciones ul li div.oiresconSeccion span {
    display: block;
    flex-flow: column;
    text-align: center;
    color: #464848;
    position: relative;
    z-index: 0;
}

.oiresconListadoSecciones ul li div.oiresconSeccion span:first-of-type {
    /*solo aplica a IE*/
    display: inline-block;
    /*solo aplica a IE*/
    width: 100%;
    /*solo aplica a IE*/
    /*solo aplica a IE*/
    position: initial;
    padding: 0px 0px 0px 0px;
    display: grid;
    /*display:-ms-grid;*/
    align-content: end;
    height: 80px;
    justify-content: center;
}

.oiresconListadoSecciones ul li div.oiresconSeccion span:last-of-type {
    /* padding: 30px 40px 0px 0px;
                    height: 85px;
                    height: 100%;
                    display: flex; */
    cursor: default;
    font-size: 1.25rem;
    font-family: "Fjalla One";
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    justify-content: center;
    align-content: center;
    line-height: 25px;
}

/*explorer*/

@media all and (-ms-high-contrast:none) {
    .oiresconListadoSecciones ul li div.oiresconSeccion span:last-of-type {
        height: auto;
    }
}

.oiresconListadoSecciones ul li div.activo span:last-of-type,
.oiresconListadoSecciones ul li div.oiresconSeccion.activo:hover.activo:hover span:last-of-type {
    color: #1d4674 !important;
}

.oiresconListadoSecciones ul li:nth-child(3n) .elementoDesplegable {
    margin-left: -478px;
    /* position: relative; */
}

.oiresconListadoSecciones ul li.activo2:nth-child(3n) .elementoDesplegable div.oiresconContenidoSeccion {
    background: url("../img/t_bordeSuperiorDesplegable2.jpg") 477px top repeat-y, url("../img/t_bordeSuperiorDesplegable.jpg") top repeat-x !important;
}

.oiresconListadoSecciones ul li:nth-child(3n + 1) + li .elementoDesplegable {
    margin-left: -238px;
    /* position: relative; */
}

.oiresconListadoSecciones ul li:nth-child(3n + 1) + li.activo2 .elementoDesplegable div.oiresconContenidoSeccion {
    background: url("../img/t_bordeSuperiorDesplegable2.jpg") 237px top repeat-y, url("../img/t_bordeSuperiorDesplegable.jpg") top repeat-x !important;
}

.oiresconListadoSecciones .elementoDesplegable {
    width: 677px;
    display: block;
    background-color: #ffffff;
}

.oiresconListadoSecciones .elementoDesplegable div.oiresconContenidoSeccion {
    display: flex !important;
    flex-flow: column;
}

.oiresconListadoSecciones .elementoDesplegable ul li {
    display: block;
    min-height: auto;
    width: auto;
    float: none;
}

.oiresconListadoSecciones li.activo .elementoDesplegable div.oiresconContenidoSeccion {
    opacity: 1;
}

.oiresconListadoSecciones ul li .elementoDesplegable ul {
    display: flex !important;
    flex-flow: column;
}

.oiresconListadoSecciones ul li .elementoDesplegable ul li {
    padding-left: 20px;
    background: url("../img/t_flechaLista.png") 0px no-repeat !important;
}

.oiresconListadoSecciones ul li .elementoDesplegable ul li a {
    color: #076990;
}

.oiresconNovedades.destacado {
    grid-column: 1;
    grid-row: 4;
    -ms-grid-column: 1;
    -ms-grid-row: 4;
}

.oiresconNovedades.novedades {
    grid-column: 1;
    grid-row: 5;
    -ms-grid-column: 1;
    -ms-grid-row: 5;
    margin-top: 20px;
}

.oiresconNovedades .recuadro .recuadroTexto ul li a {
    font-size: 11.5px;
}

.oiresconNovedades {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    width: 99%;
}

.oiresconNovedades label {
    cursor: pointer !important;
    position: relative;
    display: inline-block;
    width: 185px;
    float: left;
    background-image: url("../img/tag_oirescon2.png");
    background-repeat: no-repeat;
    background-position: left top;
    /*transform-style: preserve-3d;*/
    z-index: 100;
    height: 55px;
}

.oiresconNovedades.novedades label {
    display: grid;
    z-index: 100;
    width: 185px;
    height: 45px;
    padding: 10px 0px 0 10px;
    line-height: 1.1;
    /* justify-content: flex-start; */
    grid-template-columns: auto 1fr;
    grid-gap: 0 5px;
}

.oiresconNovedades.novedades label .publicaciones {
    /* min-width: 95px !important; */
    /* max-width: 135px !important; */
}

.oiresconEnlaces .tab div:first-of-type {
    background-image: url("../img/tag_oirescon2.png");
    background-repeat: no-repeat;
    width: 187px;
    height: 56px;
}

.oiresconNovedades .tab {
    margin-left: -6px;
}

.oiresconNovedades div:first-of-type span:first-of-type {
    cursor: pointer !important;
}

.oiresconNovedades .tab div:last-of-type,
.oiresconEnlaces .tab div:last-of-type {
    /* width: auto; */
}

.oiresconNovedades div:first-of-type span:first-of-type,
.oiresconEnlaces .tab div:first-of-type span:first-of-type {
    padding: 25px 10px 0px 10px;
    text-align: left;
    float: left;
    display: flex;
    cursor: default;
    font-size: 1.25rem;
    font-family: "Fjalla One";
    color: #fff;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

.oiresconEnlaces {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    grid-column: 1;
    grid-row: 5;
    -ms-grid-column: 1;
    -ms-grid-row: 5;
    width: 99%;
    display: none;
}

.oiresconONE {
    /* display: flex; */
    justify-content: space-between;
    flex-direction: column;
    grid-column: 1;
    grid-row: 5/ 6 !important;
    -ms-grid-column: 1;
    -ms-grid-row: 6;
    width: 99%;
    margin-top: 10px;
}

.oiresconONE .logo {
    float: left;
    width: 100%;
    height: auto;
}

.oiresconSuscribete {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    grid-column: 1;
    grid-row: 7;
    -ms-grid-column: 1;
    -ms-grid-row: 6;
    width: 99%;
}

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

/* OIRESCON. MOVIL */

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

@media screen and (min-width: 0px) and (max-width: 767px) and (min-resolution:1dppx),
only screen and (min-device-width: 0px) and (max-device-width: 767px) and (-webkit-min-device-pixel-ratio: 2) {

    .contenido .nivel_1:first-of-type {
        grid-column: 1;
        grid-row: 1;
        margin-top: 20px;
    }

    .contenido .nivel_1:nth-child(3) {
        grid-column: 1;
        grid-row: 2;
    }

    .contenido .seccion_texto:nth-child(5) {
        padding-left: 5px;
    }

    .contenido .seccion_texto:nth-child(6) {
        grid-column: 1;
        grid-row: 3/4;
        margin-top: -40px;
        padding-left: 5px;
        margin-bottom: 10px;
    }

    .oiresconFondo {
        background-repeat: no-repeat;
        background-position: right bottom;
        padding: 0px 0px 40px 0px;
        margin-top: 0px;
        background-size: 100%;
        background-image: none;
    }

    .oiresconLogoBanner {
        padding: 0px 5px 10px 5px;
        flex-flow: column;
        background-color: transparent;
        justify-self: center;
        align-items: center;
    }

    .oiresconLogoBanner span:first-of-type {
        margin-bottom: 10px;
    }

    .oiresconSobreNosotros,
    .oiresconNovedades,
    .oiresconEnlaces {
        width: 100%;
        padding-left: 3px;
    }

    .oiresconNovedades {
        margin-left: 5px;
    }

    .oiresconNovedades.novedades label {
        height: 50px;
    }

    .oiresconSobreNosotros .recuadro,
    .oiresconNovedades .recuadro {
        background: rgba(245, 246, 247, 0.5);
    }
    .oiresconSobreNosotros .recuadro .recuadroTexto,
    .oiresconNovedades .recuadro .recuadroTexto,
    .oiresconEnlaces .recuadro .recuadroTexto {
        width: 100%;
        padding: 30px 20px;
    }

    .oiresconSobreNosotros .recuadro .recuadroTexto ul li,
    .oiresconNovedades .recuadro .recuadroTexto ul li,
    .oiresconEnlaces .recuadro .recuadroTexto ul li {
        width: 100%;
    }

    .oiresconSobreNosotros .recuadro .recuadroTexto ul li,
    .oiresconNovedades .recuadro .recuadroTexto ul li,
    .oiresconEnlaces .recuadro .recuadroTexto ul li {
        background: url("../img/oirescom_item.png") no-repeat 10px 4px;
    }

    .oiresconSobreNosotros .tab span:first-of-type {
        position: relative;
        top: 2px;
    }

    .oiresconListadoSecciones ul {
        margin: 0px;
        padding: 0px 0px 0px 0px;
        grid-template-columns: 1fr;
        grid-template-rows: none;
        -ms-grid-columns: 1fr;
        -ms-grid-rows: none;
    }

    .oiresconListadoSecciones ul li {
        margin: 2px 0px;
        width: 100%;
    }

    .oiresconListadoSecciones ul li div.oiresconSeccion {
        min-height: 80px;
        display: flex;
        flex-flow: row;
    }

    .oiresconListadoSecciones ul li div.oiresconSeccion span:first-of-type {
        height: auto;
        width: 110px;
        min-width: 110px;
        top: auto;
        align-content: center;
        padding-bottom: 5px;
    }

    .oiresconListadoSecciones ul li div.oiresconSeccion span:last-of-type {
        padding: 10px 10px 10px 20px;
        height: 100%;
        display: flex;
        cursor: default;
        height: auto;
        min-height: 30px;
        align-content: first baseline;
        vertical-align: middle;
        font-size: 0.85rem;
        font-family: "arial narrow";
        justify-content: center;
        text-align: right;
        text-transform: uppercase;
        width: 100%;
    }

    .oiresconListadoSecciones ul li div.activo {
        padding: 10px 20px 10px 20px;
    }

    .oiresconListadoSecciones .elementoDesplegable {
        width: auto;
        display: block;
        background-color: #fff !important;
    }

    .oiresconListadoSecciones ul li:nth-child(3n + 1) + li .elementoDesplegable {
        margin-left: 0px;
        background-color: #fff !important;
    }

    .oiresconListadoSecciones ul li:nth-child(3n) .elementoDesplegable {
        margin-left: -1px;
    }

    .oiresconListadoSecciones ul li.activo2 .elementoDesplegable div.oiresconContenidoSeccion {
        background: none !important;
        min-height: 50px;
        padding-top: 15px;
        border-left: 1px solid #5b7796;
        border-right: 1px solid #5b7796;
        border-bottom: 1px solid #5b7796;
        padding: 10px 15px !important;
    }

    .oiresconListadoSecciones ul li.activo2 {
        background: #fff url("../img/t_fondo2.html") !important;
        background-size: 35% !important;
        background-repeat: no-repeat !important;
        background-position: bottom right !important;
        background-position-x: 105% !important;
        padding: 0 3px;
    }

    .oiresconListadoSecciones ul li.activo2 div.oiresconSeccion:hover {
        background-color: transparent !important;
    }

    .oiresconListadoSecciones ul li div.oiresconSeccion:hover {
        background: -webkit-linear-gradient(top, rgb(93, 136, 170) 0%, rgb(128, 160, 185) 99%, rgb(128, 160, 185) 100%);
        background: -o-linear-gradient(top, rgb(93, 136, 170) 0%, rgb(128, 160, 185) 99%, rgb(128, 160, 185) 100%);
        background: -ms-linear-gradient(top, rgb(93, 136, 170) 0%, rgb(128, 160, 185) 99%, rgb(128, 160, 185) 100%);
        background: -moz-linear-gradient(top, rgb(93, 136, 170) 0%, rgb(128, 160, 185) 99%, rgb(128, 160, 185) 100%);
        background: linear-gradient(to bottom, rgb(93, 136, 170) 0%, rgb(128, 160, 185) 99%, rgb(128, 160, 185) 100%);
        background-size: cover;
    }

    .oiresconListadoSecciones ul li div.oiresconSeccion:hover span:last-of-type {
        color: #fff !important;
    }

    .oiresconListadoSecciones ul li.activo2 div.oiresconSeccion,
    .oiresconListadoSecciones ul li.activo2 div.oiresconSeccion {
        background-color: #fff !important;
    }

    .oiresconListadoSecciones ul li:nth-child(3n + 1) + li.activo2 .elementoDesplegable div.oiresconContenidoSeccion {
        background: none !important;
    }

    .oiresconListadoSecciones ul li.activo2:nth-child(3n) .elementoDesplegable div.oiresconContenidoSeccion {
        background: none !important;
    }

    .oiresconListadoSecciones ul li .elementoDesplegable ul li {
        border: 0px;
        margin-bottom: 15px;
        margin-left: 10px;
        background-position: left 4px !important;
    }

    .oiresconListadoSecciones ul li .elementoDesplegable ul li a {
        font-size: 1rem;
        font-weight: normal;
        font-family: "arial narrow";
    }

    .oiresconLogoBanner span:last-of-type a:hover {
        box-shadow: none;
        transition: none;
    }

    .seccion_enlaces {
        grid-row: 5/6 !important;
    }

    #ctl00_PlaceHolderMain_ldw4 {
        grid-column: 1/ span 1 !important;
        grid-row: 6/7 !important;
    }

    .oiresconONE {
        display: flex;
    }

    .oiresconONE .logoONE {
        margin-bottom: 50px;
    }

    .oiresconONE .logoONE img {
        width: 100%;
    }

    .central .contenido .oiresconONE {
        align-items: center !important;
    }
}

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

/* Acomodar Grid*/

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

.central .contenido {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto !important;
}

.central .contenido .titulo {
    grid-column: 1;
    grid-row: 1;
}

.central .contenido .nivel_1 {
    grid-column: 1;
    grid-row: 2;
    margin-top: 20px;
}

.central .contenido .nivel_1.segdo {
    grid-column: 1;
    grid-row: 3;
    margin-top: 20px;
}

.central .contenido .seccion_texto {
    grid-column: 1;
    grid-row: 6;
    margin-top: 20px;
}

.central .contenido .seccion_enlaces {
    grid-column: 1;
    grid-row: 5 !important;
    margin-top: 20px;
}

.central .contenido .oiresconONE {
    grid-column: 1;
    grid-row: 7 !important;
    display: flex;
    align-items: flex-start;
}

.central .contenido #ctl00_PlaceHolderMain_ldw4 {
    grid-column: 1;
    grid-row: 7 !important;
    margin: 20px 0;

}

.seccion_enlaces,
.seccion_enlaces p,
.oiresconONE {
    margin: 0 !important;
    padding: 0 !important;
}


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

/* OIRESCON. MOVIL (LANDSCAPE)*/

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

@media screen and (min-width: 0px) and (max-width: 767px) and (min-resolution:1dppx) and ( orientation: landscape),
only screen and (min-device-width: 0px) and (max-device-width: 767px) and (-webkit-min-device-pixel-ratio: 2) and ( orientation: landscape) {

    .oiresconLogoBanner {
        flex-flow: row;
        justify-self: stretch;
    }

    .oiresconListadoSecciones ul li.activo2 .elementoDesplegable div.oiresconContenidoSeccion {
        padding: 10px 20px !important;
    }
}

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

/* OIRESCON. TABLET */

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

@media only screen and (min-width: 768px) and (max-width: 1824px) and (min-resolution: 2dppx),
only screen and (min-device-width: 768px) and (max-device-width: 1824px) and (-webkit-min-device-pixel-ratio: 2) {

    #oiresconHome {
        margin: 0 auto;
        width: 720px;
    }

    .oiresconSobreNosotros .tab span span:nth-child(1) {
        margin-bottom: -5px;
    }

    .oiresconSobreNosotros .tab span:first-of-type {
        padding: 0px 10px 0px 40px;
        margin-top: 1px;
    }

    .oiresconSobreNosotros .recuadro .recuadroTexto ul li {
        width: 75%;
    }

    .oiresconNovedades.novedades label .publicaciones {
        max-width: 130px;
    }

    .oiresconNovedades.novedades .flecha {
        height: 15px;
    }

     .oiresconNovedades.novedades label span.peq ~ span {
        padding-top: 6px !important;
    }

    .oiresconSobreNosotros .recuadro .recuadroTexto ul li,
    .oiresconNovedades .recuadro .recuadroTexto ul li,
    .oiresconEnlaces .recuadro .recuadroTexto ul li {
        background: url("../img/oirescom_item.png") no-repeat 10px 4px;
    }

    .oiresconSobreNosotros .recuadro .recuadroTexto ul li:hover,
    .oiresconNovedades .recuadro .recuadroTexto ul li:hover,
    .oiresconEnlaces .recuadro .recuadroTexto ul li:hover {
        background: url("../img/oirescom_item_hover.png") no-repeat 10px 4px;
    }

    .oiresconListadoSecciones ul li {
        width: 92%;
        min-width: 92%;
    }

    .oiresconSobreNosotros .tab div:last-of-type span:first-of-type {
        padding: 5px 10px 0px 30px;
        line-height: 18px;
    }

    .oiresconListadoSecciones ul li div.oiresconSeccion {
        min-height: 160px;
    }

    .oiresconListadoSecciones ul li div.oiresconSeccion span:last-of-type {
        font-size: 1.1rem;
        height: 145px;
        justify-content: center;
        align-items: center;
        padding: 0px 20px 0px 20px;
    }

    .oiresconListadoSecciones ul li:nth-child(3n + 1) + li .elementoDesplegable {
        margin-left: -232px;
    }

    .oiresconListadoSecciones ul li:nth-child(3n) .elementoDesplegable {
        margin-left: -442px;
    }

    .oiresconListadoSecciones ul li div.oiresconSeccion:hover {
        background: -webkit-linear-gradient(top, rgb(93, 136, 170) 0%, rgb(128, 160, 185) 99%, rgb(128, 160, 185) 100%);
        background: -o-linear-gradient(top, rgb(93, 136, 170) 0%, rgb(128, 160, 185) 99%, rgb(128, 160, 185) 100%);
        background: -ms-linear-gradient(top, rgb(93, 136, 170) 0%, rgb(128, 160, 185) 99%, rgb(128, 160, 185) 100%);
        background: -moz-linear-gradient(top, rgb(93, 136, 170) 0%, rgb(128, 160, 185) 99%, rgb(128, 160, 185) 100%);
        background: linear-gradient(to bottom, rgb(93, 136, 170) 0%, rgb(128, 160, 185) 99%, rgb(128, 160, 185) 100%);
        background-size: cover;
    }

    .oiresconListadoSecciones ul li div.oiresconSeccion:hover span:last-of-type {
        color: #fff !important;
    }


    .oiresconListadoSecciones ul li .elementoDesplegable ul li {
        background: url("../img/t_flechaLista.png") left 5px no-repeat !important;
    }

    .oiresconListadoSecciones ul li:nth-child(3n + 1) + li.activo2 .elementoDesplegable div.oiresconContenidoSeccion {
        background: url("../img/t_bordeSuperiorDesplegable2.jpg") 219px top repeat-y, url("../img/t_bordeSuperiorDesplegable.jpg") top repeat-x !important;
    }

    .oiresconListadoSecciones ul li.activo2:nth-child(3n) .elementoDesplegable div.oiresconContenidoSeccion {
        background: url("../img/t_bordeSuperiorDesplegable2.jpg") 440px top repeat-y, url("../img/t_bordeSuperiorDesplegable.jpg") top repeat-x !important;
    }

    .oiresconLogoBanner span:last-of-type a:hover {
        box-shadow: none;
        transition: none;
    }

    .oiresconListadoSecciones ul li div.activo {
        padding-bottom: 30px;
    }

    .oiresconListadoSecciones .elementoDesplegable {
        width: 688px !important;
    }

    .oiresconListadoSecciones ul li:nth-child(3n + 1) + li .elementoDesplegable {
        margin-left: -220px !important;
        width: 640px;
    }

    .oiresconListadoSecciones ul li:nth-child(3n) .elementoDesplegable {
        margin-left: -442px;
        width: 642px;
    }

    .oiresconListadoSecciones ul li.activo2 .elementoDesplegable div.oiresconContenidoSeccion {
        margin-top: -1px;
    }

    .oiresconListadoSecciones ul li.activo2:nth-child(3n) .elementoDesplegable div.oiresconContenidoSeccion {
        background: url("../img/t_bordeSuperiorDesplegable.jpg") top repeat-x !important;
    }

    .oiresconListadoSecciones ul li:nth-child(3n + 1) + li.activo2 .elementoDesplegable div.oiresconContenidoSeccion {
        background: url("../img/t_bordeSuperiorDesplegable.jpg") top repeat-x !important;
    }

    .oiresconListadoSecciones ul li.activo2 .elementoDesplegable div.oiresconContenidoSeccion {
        background: url("../img/t_bordeSuperiorDesplegable2b.jpg") -5px top repeat-y, url("../img/t_bordeSuperiorDesplegable.jpg") top repeat-x !important;
    }

    .oiresconListadoSecciones ul li .elementoDesplegable ul {
        display: flex !important;
        flex-flow: column;
    }

    .oiresconListadoSecciones ul li .elementoDesplegable ul li {
        padding-left: 20px;
        background: url("../img/t_flechaLista.png") no-repeat 0px !important;
    }

    .oiresconListadoSecciones ul li .elementoDesplegable ul li a {
        color: #076990;
    }

    .oiresconListadoSecciones ul li:nth-child(3n + 1) + li.activo2 .elementoDesplegable div.oiresconContenidoSeccion {
        background: url("../img/t_bordeSuperiorDesplegable2.jpg") 234px top repeat-y, url("../img/t_bordeSuperiorDesplegable.jpg") top repeat-x !important;
    }

    .oiresconListadoSecciones ul li.activo2:nth-child(3n) .elementoDesplegable div.oiresconContenidoSeccion {
        background: url("../img/t_bordeSuperiorDesplegable2b.jpg") 471px top repeat-y, url("../img/t_bordeSuperiorDesplegable.jpg") top repeat-x !important;
    }

    .oiresconListadoSecciones ul li:nth-child(3n + 1) + li .elementoDesplegable {
        margin-left: -235px !important;
    }

    .oiresconListadoSecciones ul li:nth-child(3n) .elementoDesplegable {
        margin-left: -472px;
    }

    .oiresconNovedades.novedades label {
        padding: 5px 0px 0 10px;
        line-height: 1.0;
    }

    .oiresconNovedades.novedades .flecha {
        /* position: relative; */
        left: calc(0px - 40px) !important;
        /* top: 23px !important; */
        height: 7px;
        margin-top: 18px;
    }
}

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

/* OIRESCON. TABLET (LANDSCAPE)*/

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

@media screen and (min-width: 768px) and (max-width: 1824px) and (min-resolution:2dppx) and ( orientation: landscape),
only screen and (min-device-width: 768px) and (max-device-width: 1824px) and (-webkit-min-device-pixel-ratio: 2) and ( orientation: landscape) {
    .oiresconSobreNosotros .tab span span:nth-child(1) {
        margin-top: -15px;
    }
}
