/***** Last Update: 17/09/2018 v1.2 *****/
/**** Estructura  *****/

/* * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}*/
/*html {
    text-align: center;
    background: #e0dfd6 repeat 0 0
}*/
#header,
#navBar,
#entry,
#mainExt1,
#selloReal,
#siteMap,
#footer,
#entry_home {
    max-width: 1280px;
    margin: 0 auto;
    text-align: left;
}
#header {
    width: 100%;
    max-width: 1280px;
    /*volver a poner blanco si el cliente lo aprueba
    background: #fff;*/
}
#entry_home,
#entry {
    width: 100%;
    max-width: 1280px;
    height: 24.6em;
}
#navBar {
    width: 100%;
    max-width: 1280px;
}
#xp1 {
    /*margin-left: 25px;
    margin-top: 29px;*/
}
#mainExt1,
#selloReal,
#siteMap,
#footer {
    width: 100%;
    max-width: 1280px;
}
#navBar {
    transition: all 300ms ease-out;
}
#navBar.is-open {
    display: block;
    overflow: initial !important;
}
.infantil2 #navBar,
.infantil #navBar {
    height: 4.5em;
}
.chrome .infantil2 #navBar,
.chrome .infantil #navBar {
    height: 4.5em;
}
#header {
    position: relative;
    height: 13.7em
}
#siteMap {
    display: inline-block;
}
#mainExt2,
#selloReal .ext,
#siteMap .ext {
    /* padding-right: .4em; */

    background: url(/_layouts/15/images/CSMR/bck_mainR.gif) repeat-y 100% 0;
}
#subHomeComun #mainExt2,
#subHomeComun #selloReal .ext,
#subHomeComun #siteMap .ext {
    padding-right: .2em;
    background: url(/_layouts/15/images/CSMR/bck_mainR.gif) repeat-y 100% 0
}
#selloReal.home03,
#selloReal.home04,
#selloReal.home01 {
    position: relative;
    top: -4.8em;
    margin-bottom: -5em;
    width: 100%
}
#siteMap .ext {
    padding-right: .3em
}
#entry {
    height: 82px;
    background-repeat: no-repeat;
    position: relative;
}
#entry_home {
    height: 11em;
    background-position: 0 0;
    background-repeat: no-repeat
}
#entry_home.home03,
#entry_home.home04 {
    height: 246px;
    width: 100%;
    background-position: 0 0;
    background-repeat: no-repeat;
    max-width: 1280px;
    background-size: cover;
}
#subHomeFamilia #entry,
#paginaFamilia div.rey,
#subHomeFamilia #entry,
#paginaFamilia div.reina,
#subHomeFamilia #entry,
#paginaFamilia div.principe,
#subHomeFamilia #entry,
#paginaFamilia div.princesa,
#subHomeFamilia #entry,
#paginaFamilia div.elena,
#subHomeFamilia #entry,
#paginaFamilia div.cristina,
#subHomeFamilia #entry,
#paginaFamilia div.urdangarin {
    height: 245px;
}
#subHomeFamilia #entry,
#paginaFamilia div.princesaLeonor {
    height: 245px;
}
#subHomeFamilia #entry,
#paginaFamilia div.infantaSofia {
    height: 245px;
}
#entry.agenda {
    background: url(/_layouts/15/images/CSMR/entry_agenda2.png);
}
div.rey {
    background: url(/_layouts/15/images/CSMR/entry_rey2.jpg) no-repeat top right;
}
div.reina {
    background: url(/_layouts/15/images/CSMR/entry_reina2.jpg) no-repeat top right;
}
div.principe {
    background: url(/_layouts/15/images/CSMR/entry_principe2.jpg) no-repeat top right;
}
div.princesa {
    background: url(/_layouts/15/images/CSMR/entry_princesa2.jpg) no-repeat top right;
}
div.elena {
    background: url(/_layouts/15/images/CSMR/entry_elena2.jpg) no-repeat top right;
}
div.cristina {
    background: url(/_layouts/15/images/CSMR/entry_cristina2.jpg) no-repeat top right;
}
div.urdangarin {
    background: url(/_layouts/15/images/CSMR/entry_urdangarin2.jpg) no-repeat top right;
}
div.princesaLeonor {
    background: url(/_layouts/15/images/CSMR/entry_leonor2.jpg) no-repeat top right;
}
div.infantaSofia {
    background: url(/_layouts/15/images/CSMR/entry_sofia2.jpg) no-repeat top right;
}
div.archivo {
    background: url(/_layouts/15/images/CSMR/entry_archivo2.png) no-repeat top left;
}
#entry.monarquia {
    background: url(/_layouts/15/images/CSMR/entry_monarquia2.png) no-repeat;
}
#entry_home.home01 {
    background: url(/_layouts/15/images/CSMR/entry_home_01_2.jpg) no-repeat;
}
#entry_home.home03 {
    background: url(https://www.royalconsejo.com/Royalconsejo_files/entry_home_03_2.jpg) no-repeat top right;
}
#entry_home.gala,
#entry_home.home04 {
    background-image: url(/_layouts/15/images/CSMR/entry_home_04_2.jpg);
}
#entry.prensa {
    background-image: url(/_layouts/15/images/CSMR/entry_prensa2.png);
}
#entry.neutra {
    background-image: url(/_layouts/15/images/CSMR/entry_neutra2.png);
}
#entry.organizacion {
    background-image: url(/_layouts/15/images/CSMR/entry_organizacion2.png);
    background-size: cover;
}
#entry.corona {
    background-image: url(/_layouts/15/images/CSMR/entry_corona2.png)
}
#entry.infantil {
    background: url(/_layouts/15/images/CSMR/entry_infantil.png) no-repeat 0 0 transparent;
    height: 48.1em;
    width: 100.6em;
    margin-left: 15.2em;
}
#entry.infantil2 {
    background: url(/_layouts/15/images/CSMR/entry_infantil2.jpg) no-repeat 0 0 transparent;
    height: 26.5em;
}
#entry.infantil {
    background: url(/_layouts/15/images/CSMR/entry_infantil.png) no-repeat 0 0 transparent;
    height: 48.1em;
    width: 100.6em;
    margin-left: 15.2em;
}
#entry.infantil2 {
    background: url(/_layouts/15/images/CSMR/entry_infantil2.jpg) no-repeat 0 0 transparent;
    height: 26.5em;
}
.chrome #entry.infantil {
    margin-top: 1.4em;
}
#bodyContent {
    width: 100%;
    max-width: 1280px;
    background: #fff;
}
#neutra #bodyContent {
    background: #fff url(/_layouts/15/images/CSMR/bck_asideCol.png) no-repeat 63em bottom
}
#neutra.wide #bodyContent {
    background: #fff
}
#subNavBar {
    float: left;
    width: 20%;
    /* max-width: 200px; */
}
#main {
    /* float: right; */

    width: 80%;
    float: left;
    background: url(/_layouts/15/images/CSMR/bck_subNav.gif) no-repeat 0 0;
    display: inline-block;
}
#subHome #main,
#subHomeFamilia #main,
#neutra #main,
#subHomeComun #main {
    float: none;
    width: 100%;
}
#subHome #main,
#subHomeComun #main {
    background: none;
}
.infantil #main {
    float: right;
    width: 82.1em;
    background: none
}
#subHomeComun.infantil #main {
    float: none;
    width: 100%;
    background: none
}
#bodyContent #content {
    width: 66.5%;
    padding: 0 30px;
    display: inline-block;
    background: url(/_layouts/15/images/CSMR/bck_aside.gif) no-repeat 100% 0;
}
#bodyContent .ColumnaCentral #content {
    width: 100% !important;
    background: none !important;
    padding: 0 30px;
}
.infantil #content {
    background: none
}
.infantil2 #content {
    background: none;
    width: 82em;
}
#neutra #content {
    width: 58em;
    padding: 30px;
    background: url(/_layouts/15/images/CSMR/bck_contentSub.gif) no-repeat 100% 0
}
#subHome #content {
    width: 70%;
    float: left;
}
#neutra.resultados #content {
    width: 90.2em;
    background: url(/_layouts/15/images/CSMR/bck_contentSub_results.gif) no-repeat 100% 0 #fff
}
#subHomeFamilia #content,
#subHomeComun #content {
    width: 72.4%;
    padding: 0;
}
#subHomeComun #content {
    /*background-position: 63.6em 0*/
}
#neutra.wide #main {
    background: none
}
#neutra.wide #content {
    width: 100%;
    background: none
}
#subHome .colB {
    display: inline;
    float: left;
    padding-left: 2em;
    margin: 0;
    width: 32%;
}
#subHomeComun .colA {
    float: left;
}
#subHomeComun .colB {
    display: inline;
    float: left;
    width: 21.8em;
    margin: 0 .3em;
    /*padding-top: 2.4em;  background: url(/_layouts/15/images/CSMR/bck_subFam2.png) no-repeat 100% 0*/
}
#subHomeFamilia .colB_02,
#subHomeComun .colB_02 {
    display: inline;
    float: left;
    width: 21.8em;
    margin: 0 .3em;
    background: url(/_layouts/15/images/CSMR/bck_subFam4.jpg) repeat-x top;
}
.colA,
#subHomeComun .colA,
#subHomeFamilia .colA {
    width: 68%;
    padding-top: 10px;
    float: left;
    border-right: 1px solid #e5e5df;
}
#subHomeFamilia .rey .colA {
    padding-top: 0;
}
#subHomeComun .rey .colB {
    width: 31%;
    float: left;
}
#subHomeFamilia .rey .colB {
    width: 32%;
    float: left;
}
#subHomeComun.homea1 .colB {
    width: 22.3em;
    margin: 0em 0.1em;
}
#subHomeComun.homea1 .colB {
    background: none;
    padding-top: 0;
}
#subHomeComun.infantil .colA {
    width: 25em;
    padding-top: 1em;
    background: url(/_layouts/15/images/CSMR/bck_colA_infantil.png) no-repeat 0 0;
    height: 38em;
}
#subHomeComun.infantil .colB {
    width: 37.2em;
    margin: 0;
    background: url(/_layouts/15/images/CSMR/bck_colB_infantil.png) no-repeat 0 0;
    padding-top: 1em;
}
#subHomeComun .home03 #main,
#subHomeComun .home04 #main,
#subHomeComun .home01 #main {
    background: none
}
#aside {
    display: inline-block;
    padding: 0 20px;
    vertical-align: top;
    width: 27%;
}
#subHome #aside {
    float: left;
    width: 30%;
    padding-top: .7em;
    background: url(/_layouts/15/images/CSMR/bck_asideCol.png) no-repeat 0 bottom;
}
#subHome.actividades #aside {
    float: right;
    background: url(/_layouts/15/images/CSMR/bck_asideCol.png) no-repeat 0 0;
    padding: 0;
    border-left: 1px solid #D7D7D7;
}
#subNavBar+#main #aside {
    width: 33.5%;
    padding: 0;
    float: left;
    background: url(/_layouts/15/images/CSMR/bck_asideCol.png) no-repeat 0 bottom transparent;
}
#subNavBar+#main #aside .modAside {
    padding: 0 0 10px 0;
}
#subNavBar+#main #aside .modAside,
#main #aside .modAlbum.videos,
#subNavBar+#main #aside .modAside.modFoto,
#subNavBar+#main #aside .modAside.modMapa,
#subNavBar+#main #aside .modAside.modListado {
    padding: 15px 0px;
}
#subNavBar+#main #aside .modAside.zonaDcha {
    padding: 15px !important;
}
#main #aside .modAlbum.videos .modAlbum.videos {
    padding: 0;
}
#subNavBar+#main #aside .modAside.modBuscadorActividades {
    padding: 0 0 20px;
}
#subNavBar+#main #aside h2.title {
    margin-top: 0;
}
.modAside.modListado.modAgenda {
    padding: 0;
}
.modAside.modListado.modAgenda img.modHome {
    max-width: 280px;
}
#bodyContent #content,
#bodyContent #aside {
    float: left !important;
}
#subHome.actividades #aside .modAlbum.videos,
#subHome.actividades #aside .modAgenda {
    padding: 0 1.4em;
    margin-bottom: 1.2em;
}
#subHome.actividades #aside .modAgenda img {
    width: 100%;
    max-width: 300px;
}
.prensaInt #aside {
    float: right;
    background: url(/_layouts/15/images/CSMR/bck_asideCol_prensa_int.png) no-repeat 0 bottom;
}
#neutra #aside {
    float: left;
    width: 32.6em;
    margin-left: .2em;
    padding-top: .7em;
}
/* aside La Familia real*/

#subHomeFamilia .rey #aside {
    padding: 0;
    width: 27.6%;
}
/* aside transparencia*/

#subHomeComun .rey #aside {
    width: 27%.6;
    /*padding:0 30px;*/

    padding: 0 15px;
}
#subHomeComun.infantil #aside {
    width: 32.3em;
    background: url(/_layouts/15/images/CSMR/bck_aside_infantil.png) no-repeat 0 0
}
#subHomeComun.corona #aside {
    background: url(/_layouts/15/images/CSMR/bck_asideCol.png) no-repeat 0 bottom;
}
#wrapInner {
    margin: 1em 0
}
#wrapInner #aside,
#wrapInner #content {
    background: none
}
#siteMap {
    position: relative
}
#footer {
    padding-bottom: 2em;
}
#siteMap .int {
    background: #ecebe7 url(/_layouts/15/images/CSMR/bck_footerLinks.gif) repeat-x 0 0
}
#footLat1 {
    background: url(/_layouts/15/images/CSMR/bck_fL1.png) no-repeat 0 0
}
#footLat2 {
    background: url(/_layouts/15/images/CSMR/bck_fL2.png) no-repeat 100% 0
}
#footerLinks {
    padding: 30px;
}
.clearFix:after,
#header ul:after,
#navBar ul:after,
#bodyContent:after,
#main:after,
#copy:after,
#copy ul:after,
#footerLinks:after,
#wrapInner:after,
#logos:after,
#wrapCols:after {
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
    content: ""
}
#des_home {
    background: url(/_layouts/15/images/CSMR/bck_destacado_home_01.jpg) repeat-x top;
    height: 54.5em;
    margin: -13px auto 0 auto;
}
.archivoMult #des_home {
    background: url(/_layouts/15/images/CSMR/bg_subMultimedia_main.gif) repeat-x top;
    height: auto;
    width: 100%;
    margin: 0 auto;
    max-width: 1280px;
}
/* cambio bilbo */

#subHomeFamilia .gallery #nav {
    position: absolute;
    right: 2em;
    top: 0;
    z-index: 999;
}
#cuadrogrismenu {
    background: url("/_layouts/15/images/CSMR/linea-caja-menu.jpg") no-repeat scroll center bottom #F9F9F6;
    border: 1px solid #D7D3D0;
    color: #6D6D6D;
    float: left;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1.3em;
    margin: 1em 0;
    padding: 1em 2.5em 2em;
    width: 87%;
}
#cuadrogrismenu ul {
    float: left;
    list-style: none outside none;
    margin: 0;
    padding: 1em 0;
    text-align: left;
}
#cuadrogrismenu li {
    background-image: url("/_layouts/15/images/CSMR/bullet_listado_aside.png");
    background-position: left center;
    background-repeat: no-repeat;
    margin-bottom: 0.5em;
    padding-left: 1em;
}
#cuadrogrismenu a,
#cuadrogrismenu a:hover,
#cuadrogrismenu a:visited {
    color: #313131;
    text-decoration: none;
}
.ms-rteElement-Cuerpo img {
    max-width: 100%;
}
/* cambio bilbo */

#subHomeComun .listadoHome #formLibVisitas {
    padding-left: 1.2em;
}
ul.noaccordion li {
    margin-bottom: 0.5em;
}
.gallery #nav {
    position: absolute;
    right: 2em;
    bottom: 150px;
    z-index: 999;
}
.gallery #nav a {
    background: none repeat scroll 0 0 #295672;
    border: 1px solid #81B6D6;
    color: #FFFFFF;
    display: inline;
    float: left;
    line-height: 1.3em;
    list-style: none outside none;
    margin: 0 0 0 0.3em;
    padding: 0.1em 0.35em;
    font: 1.3em Arial, Helvetica, sans-serif;
    text-decoration: none;
}
.gallery #nav a.activeSlide {
    background: none repeat scroll 0 0 #5189AB;
}
/*** Secci? Archivo Multimedia **/

#subHome.archivoMult .colA,
#subHome.archivoMult .colB,
#subHome.archivoMult .colC {
    /*background: url(/_layouts/15/images/CSMR/bg_subMultiInfMod.png) repeat-x bottom;*/

    border: 1px solid #e9e9e5;
    float: left;
    margin-top: 30px;
    min-height: 60em;
    padding: 0;
    width: 48.2%;
    background: #ffffff;
    background: -moz-linear-gradient(top, #ffffff 0%, #f6f5f1 100%);
    background: -webkit-linear-gradient(top, #ffffff 0%, #f6f5f1 100%);
    background: linear-gradient(to bottom, #ffffff 0%, #f6f5f1 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f6f5f1', GradientType=0);
}
#subHome.archivoMult .colB,
#subHome.archivoMult .colC {
    margin-left: 30px;
}
#subHome.archivoMult .colA img,
#subHome.archivoMult .colB img,
#subHome.archivoMult .colC img {
    width: 100%;
    padding: 20px;
}
#subHome.archivoMult .colA .wysiwyg,
#subHome.archivoMult .colB .wysiwyg,
#subHome.archivoMult .colC .wysiwyg {
    padding-right: 15px;
}
#subHome.archivoMult .colA .destacado,
#subHome.archivoMult .colB .destacado,
#subHome.archivoMult .colC .destacado {
    background: url(/_layouts/15/images/CSMR/sombra_subMultiColDest.png) no-repeat center bottom;
    padding-bottom: 20px;
    background-size: contain;
}
.homec1 #entry_home {
    width: 96em;
}
.homec2 #entry_home {
    width: 96em;
}
.homec1 #navBar ul {
    width: 95.95em;
}
.homec1 #navBar {
    width: 96em;
}
.homec2 #navBar ul {
    width: 95.95em;
}
.homec2 #navBar {
    width: 96em;
}
.homec1 #des_home {
    width: 95.95em;
}
#subHomeComun.homec1 .slider {
    width: 95.95em;
}
.homec2 #des_home {
    width: 95.95em;
}
#subHomeComun.homec2 .slider {
    width: 95.95em;
    float: left;
}
#subHomeComun.corona #navBar ul {
    width: 95.95em;
}
.coronaInt #navBar ul {
    width: 95.95em;
}
#subHomeComun.corona #navBar ul ul {
    width: auto;
}
.coronaInt #navBar ul ul {
    width: auto;
}
#subHomeComun.homec1 #navBar ul ul {
    width: auto;
}
#subHomeComun.homec2 #navBar ul ul {
    width: auto;
}
.AspNet-WebPart {
    /* display: inline-block; */

    width: 100%;
}
.zonaDcha{
    background: url(/_layouts/15/images/CSMR/bck_asideCol.png) no-repeat 0 bottom;
    padding: 0 !important;
    /*border-left: 1px solid #e2e2e2;*/
}
.zonaDcha a {
    text-decoration: underline;
}
#content .ms-rteStyle-LetraCapital {
    line-height: 0.8em !important;
    margin: 0 0.1em 0 0;
    float: left !important;
    display: inline !important;
    color: #ac9d5e !important;
    font-family: Georgia, "Times New Roman", Times, serif !important;
    font-size: 4em !important;
}
#content .ms-rteElement-TituloFlecha {
    padding-left: .8em;
    background: url(/_layouts/15/images/CSMR/bullet_listado_aside.png) no-repeat 0 .3em !important;
    color: #313131;
    line-height: normal;
    font-size: 14px;
    font-style: normal;
    font-weight: normal;
    margin-bottom: 10px;
}
#content .ms-rteElement-Cabecera {
    color: #373734 !important;
    line-height: 32px !important;
    font: 16px roboto_slabregular, Georgia, serif;
    font: 1.6rem roboto_slabregular, Georgia, serif;
    text-transform: none;
}
#content .ms-rteElement-Cabecera.offset-added {
    margin-top: 30px;
}
/*mensaje de la cabecera*/

.msg {
    background: url(/_layouts/15/images/CSMR/bandera.jpg) left top no-repeat;
    height: 100%;
    padding-left: 130px;
    max-width: 71%;
}
#entry_home.home03 .msg {
    max-width: 67%;
}
/* familia real- actividades */
.homea1 ul.slick-dots {
    bottom': initial;
}

.homea1 .gallery #items {
    height: 485px;
}
.homea1 .gallery #items .pieFoto {
    min-height: 150px;
}
.homea1 .gallery #items .pieFoto .title {
    font-size: 18px;
    font-size: 1.8rem;
    line-height: 24px;
    padding: 20px 20px 0 20px;
}
.homea1 .gallery #items .pieFoto .date {
    padding: 0 20px 0 20px;
}
#subNavBar #Menu_Responsive {
    display: none !important;
}
.youtuberesponsive {
    position: relative;
    overflow: hidden;
    margin-bottom: 5px;
}
.youtuberesponsive:before {
    content: '';
    display: block;
    width: 100%;
    padding-top: 170px;
    background: #ccc;
}
.modAlbum.videos object,
.youtuberesponsive iframe,
.youtuberesponsive object {
    display: block;
    width: 100%;
    height: 100% !important;
    margin: 0 !important;
    position: absolute;
    top: 0;
    left: 0;
    border: 0;
}
.wysiwyg .singlepie-item {
    margin-bottom: 20px;
}
.singlepie-item + .singlepie-item {
    border: 1px dotted #f06;
    margin-top: 20px;
}
.singlepie-item > .title {
    margin-bottom: 0;
}
.categoria + .responsiveslider-wrapper {
    margin-top: 10px;
}
/* Ajuste para reales sitios */

.responsive-text-image {
    margin: 0 16px 16px 0;
    width: 250px;
    height: auto;
}
/* ****************************** */
#navBar__secondlevel.highlight {
    background-color: #A08E4B;
}
#hasSubmenu + [aria-expanded="true"] {
    display: block;
}
/**** MEDIA QUERIES ****/

@media screen and (min-width: 769px) {
    #navBar {
        display: block !important;
    }
}
@media screen and (max-width: 1280px) {
    
    .buscador__home {
        right: 15px;
    }
}
@media screen and (max-width: 1200px) {
    .msg {
        max-width: 100%;
    }
    #subHome.archivoMult .colA,
    #subHome.archivoMult .colB,
    #subHome.archivoMult .colC {
        width: 47%;
    }
}
@media only screen and (max-width: 1120px) and (min-width: 1024px) {
    .formSearchAct .wrap .flt {
        width: auto;
        float: left;
        margin-bottom: 15px;
    }
    .formSearchAct .wrap .frt {
        width: auto;
        float: right;
        margin-bottom: 15px;
    }
    .formSearchAct .actividades li {
        width: 100%;
    }
    #subHomeComun #entry_home span.who,
    #subHomeComun #entry_home span.date {
        display: none;
    }
}
@media screen and (max-width: 1023px) {
    #subHome.archivoMult .colA,
    #subHome.archivoMult .colB,
    #subHome.archivoMult .colC {
        width: 48.2%;
    }
    #subHome.archivoMult .colB,
    #subHome.archivoMult .colC {
        margin-left: 15px;
    }
    .colA,
    #subHomeComun .colA,
    #subHomeFamilia .colA {
        border: 0;
    }
    #bodyContent .ColumnaCentral #content {
        padding: 0 15px;
    }
}
@media screen and (max-width: 1024px) {
    #aside,
    #subHomeFamilia .rey #aside,
    #subHomeComun #aside,
    #subHome #aside,
    #subHome .actividades #aside,
    #bodyContent #content,
    #content,
    #subHome #content,
    #subHomeFamilia #content,
    #subHomeComun #content {
        width: 100%;
    }
    #subHome #aside,
    #aside {
        border: 0;
    }
    #main #aside .modAlbum.videos,
    #subNavBar+#main #aside .modAside.modFoto,
    #subNavBar+#main #aside .modAside.modMapa,
    #subNavBar+#main #aside .modAside.modListado {
        padding: 0 0 10px 0;
    }
    .zonaDcha,
    #CSMR_ColumnaDerecha {
        padding: 0;
        border: 0;
    }
    #subHomeComun div.home03 .colB {
        margin-top: 30px;
    }
    #subHome .colB {
        margin: 0;
    }
    #bodyContent #content {
        padding: 0 15px;
    }
    #neutra #bodyContent #content {
        padding: 30px;
    }
    #subHome #aside,
    #subHome .actividades #aside {
        background: none;
    }
    #subHomeComun div.home03 div#aside .modAgenda,
    #subHomeComun #entry_home span.who,
    #subHomeComun #entry_home span.date,
    #s4-bodyContainer #subHomeFamilia #entry span.date,
    #subHomeGenerica #paginaFamilia span.date {
        display: none;
    }
    #subHomeComun div.home03 div#aside .modAgenda {
        display: block;
    }
    #subHomeFamilia .rey #aside {
        padding: 0 15px;
    }
    #footerLinks .c0,
    #footerLinks .c1,
    #footerLinks .c2,
    #footerLinks .c3,
    #footerLinks .c4,
    #footerLinks .c5,
    #footerLinks .c6 {
        width: 32%;
    }
    #footerLinks dd {
        display: none;
    }
    .modAside .caption {
        width: 100%;
    }
    #subHomeComun .modAside p.title {
        padding: 0;
    }
    #subHomeFamilia .colB,
    #subHomeFamilia .shadRight {
        padding: 0;
        margin: 0;
    }
    #subHomeFamilia .rey .modTxt,
    #aside {
        padding: 30px;
    }
    .sliderAz .jcarousel-skin-tango {
        padding: 5px 15px;
    }
    .fotoSubHome .wysiwyg {
        padding: 0 15px;
        margin: 10px 0;
    }
    .slider li,
    .sliderAz li {
        margin: 5px auto;
        width: 100%;
        text-align: center;
    }
    #mapaWeb li {
        width: 40%;
    }
    #mapaWeb li li {
        width: 100%;
    }
    .msg {
        padding-left: 130px;
        max-width: 68%;
    }
    #entry_home blockquote {
        font-style: italic;
        font-size: 16px;
        font-size: 1.6rem;
        font-family: Georgia, "Times New Roman", Times, serif;
        line-height: 24px;
    }
    #entry_home blockquote p {
        margin: 10px 20px 20px 0;
    }
    #entry h1.tit_fel,
    #entry h1.tit_let,
    #entry h1.tit_rey,
    #entry h1.tit_sof {
        padding-top: 10px;
    }
    #entry blockquote {
        width: 100%;
        font-size: 16px;
        font-size: 1.6rem;
    }
    .modNoticia.destacado .desc,
    .modNoticia.destacado img,
    .modNoticia.destacado .slider {
        width: 100%;
    }
    .actividades .modBuscadorActividades {
        margin-top: 20px;
    }
    .fotoSubHome img {
        margin: 0 auto !important;
        padding: 0;
        width: 100% !important;
        display: inherit;
    }
    .modPrensa ul li {
        min-height: 305px;
    }
    .listadoModulos ul,
    .listadoModulos li {
        margin: 10px 0;
    }
    #footLat1,
    #footLat2 {
        background: none;
    }
    #aside .modBuscadorActividades {
        padding: 0 0 28px 0;
    }
    #subNavBar+#main #aside {
        width: 100%;
        float: none;
        margin: 0;
        padding: 0 15px;
    }
    .link.vermas {
        margin: 15px 0 !important;
        text-align: left;
    }
    #subHomeComun div.home03 .colB .ms-WPBody {
        border-bottom: 1px solid #E9E9E9;
    }
    .home03 .gallery .pieFoto,
    .home04 .gallery .pieFoto,
    .home01 .gallery .pieFoto {
        padding: 15px;
    }
    #subHomeComun .colB .modTxt h2.title {
        margin-top: 0;
    }
    .fotoSubHome {
        padding-bottom: 20px;
        background: url(/_layouts/15/images/CSMR/bck_fotoSubHome2.png) no-repeat 50% 100%;
    }
    #subHomeComun .rey .colB .modTxt,
    .modAside {
        background: url(/_layouts/15/images/CSMR/bck_modAside.png) no-repeat scroll 50% bottom transparent;
    }
    /* im?enes de la columnas*/

    .colB .wysiwyg img,
    #aside .wysiwyg img,
    #aside .modTxtImg .wrap img {
        /*width: auto;*/

        max-width: 320px;
    }
    #subHomeFamilia .rey .colA .modNoticia {
        padding: 0;
    }
    #subHomeFamilia .colA .link {
        padding: 0 0 20px 0;
        text-decoration: underline;
    }
    #subHomeComun .homea1 h1.mainTitle {
        margin: 10px 0;
        padding: 20px 15px 20px 0;
    }
    #subHomeFamilia .homea1 h2.mainTitle {
        padding: 20px 15px;
    }
    .actHome ul {
        margin: 0;
        padding: 0;
    }
    #subHomeComun .rey #aside {
        width: 100%;
        padding: 0 15px;
    }
}

@media all and (max-width: 768px) {
    
    #navBar {
        position: absolute;
        top: 85px;
        text-align: left;
        height: auto;
        z-index: 99;
    }
    #navBar li {
        width: 100% !important;
        display: block;
        text-align: left;
        padding: 25px 30px;
        border-bottom: 1px solid #3A4B55;
    }
    #navBar li:hover {
        background: #A08E4B;
    }
    #navBar #navBar__secondlevel {
        padding: 0;
    }
    #navBar #navBar__secondlevel::before {
        content: "";
        display: inline-block;
        background: url(/_layouts/15/images/CSMR/arrow-white.svg) no-repeat;
        top: 25px;
        right: 25px;
        width: 25px;
        height: 25px;
        position: absolute;
    }
    #navBar #navBar__secondlevel.down::before {
        content: "";
        display: inline-block;
        background: url(/_layouts/15/images/CSMR/arrow-white-up.svg) no-repeat;
        top: 25px;
        right: 25px;
        width: 25px;
        height: 25px;
        position: absolute;
    }
    #navBar #navBar__secondlevel>div>a {
        padding: 25px 30px;
    }
    #navBar #navBar__secondlevel ul {
        position: relative;
        width: 100% !important;
        top: 0 !important;
        height: 0;
        opacity: 0;
        clip-path: polygon(1px 1px, 1px 1px, 1px 1px);
    }
    #navBar #navBar__secondlevel ul.open {
        clip-path: none;
    }
    #navBar #navBar__secondlevel ul.down {
        position: relative;
        width: 100% !important;
        top: 0 !important;
        height: 0;
        opacity: 0;
    }
    #navBar #navBar__secondlevel ul.open {
        height: auto;
        -webkit-transition: all 2s ease-out;
        opacity: 1;
        /* Safari */

        transition: width 2s, height 2s, transform 2s;
    }
    #navBar li:hover #navBar__secondlevel ul {
        display: none;
    }
    #navBar #navBar__secondlevel ul li {
        padding: 10px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }
    #subHomeFamilia .shadRight img {
        max-width: 100%;
        height: auto;
        margin: 15px 0;
    }
    .gecko #navBar ul ul {
        top: -25px;
        /*left: 200px;*/
        width: 100%;
    }
    .gecko #navBar ul ul li {
        padding: 17px 10px;
    }
    #navBar a {
        font-size: 16px;
        font-size: 1.6rem;
    }
    #navBar li li span {
        width: 100%;
    }
}
@media all and (max-width: 767px) {
    #hasSubmenu:hover + ul {
        display: block;
    }
    #content .colA,
    #subHomeComun .colA,
    #subHomeFamilia .colA,
    #subHome .colB,
    #subHomeComun .colB,
    #subHomeFamilia .colB,
    #subHomeComun div.home03 .colB,
    #subHomeComun div.home04 .colB,
    #subHomeComun div.home01 .colB {
        width: 100%;
    }
    #subHome .colB,
    #subHomeFamilia .rey .colB,
    #subHomeComun .rey .colB {
        display: block;
        width: 100%;
        float: none;
    }
    #breadCrumb,
    #entry blockquote p,
    #entry_home blockquote p,
    #subHomeComun #entry_home span.who,
    #entry_home span.date,
    #entry h1.tit_fel,
    #entry h1.tit_let,
    #entry h1.tit_princesaLeonor,
    #entry h1.tit_infantaSofia,
    #entry h1.tit_rey,
    #entry h1.tit_sof,
    #subHomeFamilia #entry .msg .date,
    #paginaFamilia #entry .msg .date {
        display: none;
    }
    /* men? lateral desaparece y aparece el select*/

    #subNavBar {
        width: 100%;
    }
    #subNavBar #Menu_Normal {
        display: none;
        visibility: hidden;
    }
    #subNavBar #Menu_Responsive {
        display: inline-block !important;
        width: 100%;
        padding: 15px;
    }
    #subNavBar #Menu_Responsive select {
        height: 40px;
        padding: 5px 10px;
        border: 1px solid #e1ddd6;
        font-size: 16px;
        font-size: 1.6rem;
        position: relative;
        width: calc(100% - 60px);
    }
    #subNavBar #Menu_Responsive button {
        padding: 0px 20px 0 20px;
        -webkit-appearance: none;
        background: #A08E4B;
        border-radius: 0;
        border: none;
        color: #fff;
        font-size: 16px;
        font-size: 1.6rem;
        height: 40px;
        margin: 0;
        vertical-align: top;
        width: auto;
        min-width: 60px;
    }
    #subNavBar #Menu_Responsive select option {
        background: #fff !important;
    }
    #subNavBar #Menu_Responsive select option:hover {
        background: #A08E4B !important;
    }

    #main {
        width: 100%;
    }
    #content {
        padding: 0 15px
    }
    #copy span {
        margin-bottom: 15px;
    }
    #footerLinks .c0,
    #footerLinks .c1,
    #footerLinks .c2,
    #footerLinks .c3,
    #footerLinks .c4,
    #footerLinks .c5,
    #footerLinks .c6 {
        width: 45%;
    }
    .fotoSubHome .wysiwyg,
    .prensa .modAside {
        padding: 0;
    }
    #subHomeFamilia .rey .colB .modAside {
        padding: 10px 0 20px 0;
    }
    #bodyContent #content,
    {
        padding: 0 15px;
    }
    .actHome ul {
        margin: 0;
    }
    #subHomeComun .homea1 h1.mainTitle,
    #subHomeComun h2.mainTitle {
        margin: 0;
        padding: 20px 0 20px 5px;
    }

    #subHomeComun .homea1 h1.mainTitle{
        font: normal 20px roboto_slabregular, Georgia, serif;
        font: normal 2.0rem roboto_slabregular, Georgia, serif;  
    }

    #subHomeComun div.home03 .colB,
    #subHomeComun div.home04 .colB,
    #subHomeComun div.home01 .colB,
    #subHomeFamilia .modDiscursos {
        padding: 15px;
    }
    #subHomeFamilia .rey .modTxt {
        padding: 15px 0;
    }
    #subHomeComun .rey .colB .modTxt,
    #subHomeComun .rey .colB .modAside {
        padding: 20px 0;
    }
    .listadoModulos li {
        width: 100%;
    }
    #subHome.archivoMult .colA,
    #subHome.archivoMult .colB,
    #subHome.archivoMult .colC {
        width: 48.2%;
    }
    #subNavBar+#main #aside {
        width: 100%;
        float: none;
        margin: 30px 0px;
        padding: 0 15px;
    }
    #subHome.archivoMult .colA,
    #subHome.archivoMult .colB,
    #subHome.archivoMult .colC {
        width: 48.2%;
    }
    #footerLinks {
        padding: 30px 15px 15px 15px;
    }
}
@media all and (max-width: 640px) {
    #copy {
        background: #164667;
        padding: 10px 15px;
    }
    #copy li {
        width: 100%;
        margin-bottom: 12px;
        background: none;
    }
    #copy li a {
        text-decoration: underline;
    }
    #copy li.ico {
        width: auto;
    }
    #footerLinks .c0,
    #footerLinks .c1,
    #footerLinks .c2,
    #footerLinks .c3,
    #footerLinks .c4,
    #footerLinks .c5,
    #footerLinks .c6 {
        width: 100%;
    }
    /*logos*/

    #logos ul {
        display: inline-block;
        width: 100%;
    }
    #logos .flt li {
        float: left;
        min-height: 80px;
        width: 30%;
        margin: 0 5px;
        background: none;
        position: relative;
    }
    #logos .flt li a {
        display: inline-block;
        width: 100%;
        text-align: center;
        transform: translateY(-50%);
        top: 50%;
        position: absolute;
    }
    #logos .flt img {
        max-width: 90px;
        height: auto;
        text-align: center;
    }
    .paginacionResultados {
        height: auto;
        min-height: 44px;
    }
    .modPrensa ul li {
        min-height: 250px;
    }
    #subHome.archivoMult .colA,
    #subHome.archivoMult .colB,
    #subHome.archivoMult .colC {
        width: 100%;
    }
    #subHome.archivoMult .colB,
    #subHome.archivoMult .colC {
        margin-left: 0;
    }
    #subNavBar+#main #aside {
        width: 100%;
        padding: 0 15px;
        margin: 0;
    }
    #subNavBar+#main #aside .modBuscadorActividades {
        margin: 0;
        padding: 0 0 25px 0;
    }
    #subHomeFamilia .modNoticia {
        padding: 0;
    }
    #subHomeFamilia .homea1 h2.mainTitle {
        padding: 20px 0px;
    }
    #subHome.archivoMult .colA,
    #subHome.archivoMult .colB,
    #subHome.archivoMult .colC {
        width: 100%;
    }
}
@media screen and (max-width: 480px) {

    #subHomeComun #entry_home.home03{
        display: none;
    }
    #subHomeComun #entry_home.home03 span.who{
        display: block;
        color:#fff;
        font-size: 28px;
        margin: 0;
    }

    #subHomeComun #entry_home.home03 .msg{
        background: #295672;  
        padding-left: 0;
        margin-left: 0 !important;
        max-width: 100%;
    }
    /* Ajuste para reales sitios */

    .responsive-text-image {
        float: none;
        margin: 0 0 16px;
        width: 100%;
    }
    /* ****************************** */

    .home03 .msg,
    .home04 .msg,
    .home01 .msg {
        margin: 0;
    }
    .colA .modNoticia img,
    .modNoticia img,
    .modNoticia .desc,
    #subHome .modNoticia .desc,
    .colA .modNoticia img,
    .modNoticia img,
    #subHomeFamilia .modNoticia img {
        width: 100%;
    }
    .modNoticia .desc {
        margin-top: 10px;
    }
    /*.youtube-player,*/

    .modAside .caption {
        width: 100%;
    }
    .modAlbum.videos .title {
        padding: 0;
    }
    .modAlbum.videos .caption {
        padding: 0;
    }

    .opcionesPagina {
        width: 100%;
    }
    .opcionesPagina {
    }
    #mapaWeb li {
        width: 100%;
    }
    .msg {
        margin-left: -10% !important;
    }
    /* eliminar con slick*/

    .homea1 .gallery #items {
        height: 39em !important;
    }
    .paginacionResultados div.resultadosNavegacion {
        float: left;
        margin: 0 14px 10px;
    }
    .modPrensa ul li {
        width: 100%;
        margin: 20px 0;
        min-height: auto;
    }
    div.subcontenido_col1,
    div.subcontenido_col2,
    div.subcontenido_col3 {
        width: 100%;
        text-align: center;
        height: auto !important;
        margin-bottom: 40px;
    }
    div.subcontenido li {
        width: auto;
        display: inline-block;
    }
    div.subcontenido ul {
        margin: 0 auto;
        text-align: center;
        width: 50%;
        display: inline-block;
    }
    .colB .wysiwyg img,
    #aside .wysiwyg img,
    #aside .modTxtImg .wrap img {
        width: 100%;
    }
    .archivoMult #des_home {
        background: url(/_layouts/15/images/CSMR/bg_subMultimedia_main.gif) repeat top;
    }
}
@media all and (max-width: 400px) {
    .gallery #nav {
        bottom: 180px;
    }
    #entry_home.home03 {
        background-position: -940px 0;
    }
    .msg {
        margin-left: -22% !important;
    }
    .homea1 .gallery #items {
        height: 31em !important;
    }
    .formSearchAct .actividades li {
        width: 100%;
    }
    .home03 .slider.single-item .pieFoto,
    .home04 .slider.single-item .pieFoto,
    .home01 .slider.single-item .pieFoto {
        min-height: 335px;
    }
    #subHome .prensa .slider.single-item .pieFoto {
        min-height: 197px;
    }
}