/***** Last Update: 18/09/2018 v1.2 *****/


/***************************************************/
/* VARIABLES */
:root {
    --color-primary: #295672;
    --color-secondary: #770d30;
    --color-accent: #a08e4b;
    --color-gray-1: #949494;
    --color-gray-2: #8c8c8c;
    --color-gray-3: #eaeaea;
    --color-gray-4: #fafafa;
    --color-gray-5: #616161;
    --transition-all: all 300ms;
    --xs: 480px;
    --r32: calc((32 / var(--base) * 1rem));
    --r24: calc((24 / var(--base) * 1rem));
    --r18: calc((18 / var(--base) * 1rem));
    --r16: calc((16 / var(--base) * 1rem));
    --r14: calc((14 / var(--base) * 1rem));
    --r11: calc((11 / var(--base) * 1rem));
    --base: 12;
}

/*****  GENERIC ELEMENTS *****/

body, h1, h2, h3, h4, h5, h6, p, img, hr, form, fieldset, legend, input, select, textarea, dl, dt, dd {
    margin: 0;
    padding: 0;
    background-color: transparent
}

q:before,
q:after {
    content: "";
}

img,
fieldset {
    border: 0;
}

hr {
    display: none;
    visibility: hidden;
}

acronym,
abbr {
    cursor: help
}

legend span {
    white-space: normal;
}

.hide {
    position: absolute;
    top: -1500em;
    left: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.hidden {
    display: none !important;
}

.sr-only {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
}

a:hover:active:focus {
    color: #2f80b3;
}

.clr {
    clear: both
}

.frt {
    float: right
}

.flt {
    float: left;
}

#formMedAcreditados .flt {
    width: 20em
}

.sp {
    font-size: .1em;
    line-height: 1px
}

.btnAux .cTl,
.btnAux .cTr,
.btnAux .cBl,
.btnAux .cBr {
    position: absolute;
    width: 2px;
    height: 2px;
    background-position: 0 0;
    background-repeat: no-repeat;
}

.prensa #gestionPerfil .btnAux {
    display: inline-block;
    width: 10.6em;
}

.chrome .btnAux .cBl {
    bottom: 0;
}

.object-left {
    float: left;
    margin: 1em 2em 2em 0;
}

.object-right {
    float: right;
    margin: 1em 0 2em 2em;
}

.subTitleType1 {
    margin-top: 2em;
    padding-bottom: .3em;
    border-bottom: 1px solid #e9e9e9
}

.subTitleType2,
.subTitleTypePres {
    padding-left: .8em;
    background: url(/_layouts/15/images/CSMR/bullet_listado_aside.png) no-repeat 0 .3em;
}

.noaccordion {
    margin: 0;
    padding: 0
}

.noaccordion li {
    padding-left: .8em;
    background: url(/_layouts/15/images/CSMR/bullet_listado_aside.png) no-repeat 0 .3em;
    list-style: none
}

.msgError {
    margin: 1em 0;
    border: 1px solid #ff0000;
}

.msgError span {
    display: block;
    padding: 1em 1em 0
}

.error input,
.error select,
.error textarea,
.error a.ui-selectmenu {
    border: 1px solid #ff0000 !important;
}

#fancybox-close {
    top: .5em;
    right: .5em;
    width: 20px;
    height: 20px;
    background: url(/_layouts/15/images/CSMR/ico_cerrar.png) no-repeat 0 0
}

.ui-selectmenu-menu li a,
.ui-selectmenu-status {
    padding: .405em 2.1em 0.405em .5em;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
    background: #fff
}

.ui-selectmenu-icon {
    margin-top: -10px;
    right: 2px
}

.ui-icon {
    width: 18px;
    height: 20px
}

.ui-state-default .ui-icon {
    background: url("/_layouts/15/images/CSMR/ico_cmb.png") no-repeat 0 0;
}

.ui-selectmenu-menu li {
    text-align: left
}

#pais-button {
    height: 2.455em;
}

#subHome .mainTitle,
#subHome .titPrensa {
    padding: 20px 0px;
}


/*cabecera*/

#header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

#header .logo-CR {
    width: 215px;
    margin: 0 auto;
}

#header .logo-CR a {
    width: 100%;
    display: inline-block;
    text-align: center;
}

#header .logo-escudo>div {
    display: flex;
    align-items: center;
}

#header .logo-escudo img {
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
    top: 20px;
}

#header .logo-escudo img+img {
    height: 70px;
}

#header .logo-escudo a:hover {
    text-decoration: none !important;
}

#header form {
    position: absolute;
    right: 0;
    top: 3.5em;
    width: 27.2em;
}

.logo-tablet {
    display: none;
    visibility: hidden;
}

.logo-mobile {
    display: none;
    visibility: hidden;
}


/*Cabecera - área derecha*/

.header-wrapper {}

#header .text {
    width: 15em;
    padding: 5px 10px;
    height: 40px;
    -webkit-appearance: none;
    border-radius: 0;
}

#header .buscador__responsive {}

#header .buscador__home,
#header .close {
    display: none;
}

#header .buscador__responsive {
    position: absolute;
    right: 18px;
    top: 42px;
}

#header .buscador__responsive .submit-responsive {
    background: url(/_layouts/15/images/CSMR/lupa_azul.svg) no-repeat right transparent;
    text-indent: -99999px;
    -webkit-appearance: none;
    border: none;
    width: 22px;
    height: 40px;
    background-size: 16px;
    cursor: pointer;
    margin:0;
    padding:0;
}

#header .buscador__responsive .close,
#header .buscador__responsive .close:hover {
    background: url(/_layouts/15/images/CSMR/cerrar.svg) no-repeat 6px 5px;
    text-indent: -99999px;
    border: none;
    width: 25px;
    height: 25px;
    padding: 5px;
    margin-left: -25px;
    z-index: 9999999999;
    position: relative;
    margin-top: 10px;
    background-size: 12px !important;
    cursor: pointer;
}

.buscador__responsive .close.show {
    display: block;
}

#header .close:hover {
    background: url(/_layouts/15/images/CSMR/cerrar.svg) no-repeat transparent;
}

#header .text {
    font: 12px robotoregular, Arial, sans-serif;
    color: #46412f;
    display: none;
    position: absolute;
    z-index: 9999;
    right: 0;
    top: 0px;
    left: inherit !important;
    padding: 5px 10px 5px 35px;
    height: 40px;
    font-size: 14px;
    -webkit-appearance: none;
    border-radius: 0;
    background-color: transparent;
    width: 30em;
}

.buscador__responsive .btnAux {
    display: flex;
    margin-left: -5px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 7;
    -webkit-transition: width 2s;
    /* Safari */
    transition: width 2s;
    width: 22px;
}

.buscador__responsive .btnAux.lupa-right {
    transform: translateX(-34em);
    transition: transform 0.5s ease-out;
}

#header .buscador__responsive .btnAux.lupa-right .submit-responsive {
    background: url(/_layouts/15/images/CSMR/lupa.svg) no-repeat right transparent;
    background-size: 16px;
}

.buscador__responsive .btnAux.lupa-left {
    right: 0;
    transition: transform 0.5s ease-out;
}

#header .submit {
    padding: 0px 20px 0 20px;
    border: none;
    vertical-align: middle;
    height: 40px;
    width: auto;
    background: #1E3F54;
    -webkit-appearance: none;
    border-radius: 0;
}


/*IDIOMA*/

.idioma {
    display: none;
    visibility: hidden;
}


/*idioma pantalla grande*/

.idioma-home {
    position: relative;
}

.idioma-home-lista {
    display: inline-flex;
    list-style-type: none;
    position: relative;
    top: 45px;
    right: 0;
}

.idioma-home-lista li {
    padding: 0 15px;
    border-left: 1px solid #ddd;
}

.idioma-home-lista li a {
    color: #b8ae9c;
}

.idioma-home-lista li a.is-active {
    color: #333;
}


/*buscador*/

.buscador__home {
    position: relative;
}

.btnAux {
    display: inline-block;
    margin-left: -5px;
}

.monarquia #header form {
    top: 3.5em;
}

.homea1 #header form,
.homea2 #header form,
.homec1 #header form,
.homec2 #header form,
.homeb #header form {
    top: 4.7em;
}

#header .text,
#content .text {
    border: none;
    border-bottom: 2px solid #b8ae9c;
    background: transparent !important;
    font: 13px robotoregular, Arial, sans-serif;
    font: 1.3rem robotoregular, Arial, sans-serif;
}

#header .text:focus {
    outline: none;
}

#header li.last {
    background: none;
    margin-right: 0;
}


/* Menu mobile*/

.mobile_menu,
.logo-CR__mobile {
    display: none;
}

#content .buscador {
    width: 50em;
    margin: 0 auto;
}


/* input */

.text {
    font-size: 16px;
    font-size: 1.6rem;
    vertical-align: middle;
}

#content .text {
    width: 32em;
    padding: .1em 0;
    margin-bottom: 0.2em;
}

#content .submit {
    padding: 0px 20px 0 20px;
    border: none;
    vertical-align: middle;
    height: 40px;
    width: auto;
    background: #1E3F54;
    -webkit-appearance: none;
    border-radius: 0;
}

#subHome #entry span,
#s4-bodyContainer #entry span {
    padding: 0 0 0 65px;
    position: absolute;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    top: 50%;
}

#s4-bodyContainer #subHomeFamilia #entry span {
    transform: inherit;
    top: inherit;
    position: relative;
}

#subHomeComun.homea1 #entry_home span,
#subHomeComun.homea2 #entry_home span,
#subHomeComun.homeb #entry_home span {
    padding-left: 2em;
}

#subHomeComun.homea1 #entry_home span.comilla,
#subHomeComun.homea2 #entry_home span.comilla,
#subHomeComun.homeb #entry_home span.comilla {
    padding-left: 0.3em;
}

#subHomeComun #entry_home span {
    padding-left: 20px;
}

#subHomeComun #entry_home span.who {
    margin: 15px 0 5px 0;
    display: inline-block;
}

#entry_home.home01 span.date {
    padding-left: 5.5em !important;
}

#entry span span,
#entry_home span span {
    display: inline;
    padding: 0
}

#navBar ul {
    display: table;
    width: 100%;
    max-width: 1280px;
    margin: 0;
    list-style: none;
    background: #112532;
    padding: 0 !important;
}

.safari #navBar div {
    padding: 0 0;
    margin-left: -0.3em;
}

#navBar ul.fix {
    background-image: url(/_layouts/15/images/CSMR/bck_navHov.png);
    background-color: #716120
}

.chrome #navBar ul {
    width: 100%;
}

.chrome .actividades #navBar ul {
    width: 96em;
}

.chrome #navBar ul ul {
    width: auto
}

#navBar li {
    background: #112532;
    border-right: 1px solid rgba(242, 242, 242, 0.21);
    display: table-cell;
    margin: 0;
    position: relative;
    text-align: center;
    -webkit-transition: all 275ms ease-in-out;
    transition: all 275ms ease-in-out;
    z-index: 5;
}

#navBar li a {
    padding: 8px 0;
}

#navBar.is-open li a.nav-link {
    padding: 0;
}

#navBar ul.navBar__secondlevel-list li:hover,
#navBar ul li:hover {
    background: #A08E4B;
}

#navBar li:last-child {
    border: none;
}

.gecko #navBar li {
    position: static
}

.gecko #navBar div {
    position: relative;
    z-index: 1000;
}

#navBar li.reset {
    padding-right: 0;
}

#navBar a {
    display: block;
}

#navBar strong,
#navBar li.sel {
    display: block;
    background: #716120 url(/_layouts/15/images/CSMR/bck_navHov.png) repeat-x 0 0;
    border-top-color: #9f955a;
    border-bottom-color: #716120;
}

#navBar li.reset strong {
    padding: .8em 0
}

#navBar ul ul {
    display: none;
    position: absolute;
    left: 0;
    top: 3.2em;
    width: auto;
    padding: 0 1.3em 1.3em;
    border: none;
    z-index: 1000;
}


/*** segundo nivel navBar***/

#navBar ul ul {
    width: auto;
    top: 32px;
    left: 0em;
}

#navBar li:hover ul,
#navBar li a:focus+ul {
    display: block !important;
}

#navBar ul.navBar__secondlevel-list li {
    display: block;
    float: none;
    background: #716120;
    text-align: left;
    -webkit-transition: all 275ms ease-in-out;
    transition: all 275ms ease-in-out;
    padding: 5px 0;
}

#navBar li li span {
    display: block;
    width: 22em;
    padding: 10px;
}

#navBar li li a {
    padding: 0 0 0 12px;
    background: url(/_layouts/15/images/CSMR/bullet_navB2.png) no-repeat 0 7px;
}

#navBar li li.reset a {
    padding: 0 0 0 1em
}

#navBar li.sel ul a {
    background: url(/_layouts/15/images/CSMR/bullet_navB2.png) no-repeat 0 .3em;
    padding: 0 0 0 1em
}

#navBar ul:after {
    content: " ";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}

#navBar ul ul:after {
    display: none;
    clear: none;
}

#navBar li.sel {
    margin-left: -1px;
    background-image: none
}

.infantil #navBar {
    margin-top: -4.3em;
    position: relative;
}

.infantil #navBar ul {
    width: 17.2em;
    margin: 0;
    padding: 0;
    list-style: none;
    background: url(/_layouts/15/images/CSMR/bck_nav_infantil.png) no-repeat 0 0;
    border: none;
    float: right;
    height: 4.5em;
}

.infantil #navBar li.eso {
    background: none;
    padding-left: 0.9em
}

.infantil #navBar li {
    padding-left: 1em;
    background: url(/_layouts/15/images/CSMR/bullet_nav_infantil.png) no-repeat 100% 50%;
}

.infantil #navBar a {
    background: none;
    text-decoration: none;
    padding-top: 1.4em
}

.infantil #navBar a:hover {
    text-decoration: underline;
}

.chrome #subHomeComun.infantil #navBar {
    margin-top: -4.3em;
    position: relative;
}

.chrome #subHomeComun.infantil #navBar ul {
    width: 17.2em;
    margin: 0;
    padding: 0;
    list-style: none;
    background: url(/_layouts/15/images/CSMR/bck_nav_infantil.png) no-repeat 0 0;
    border: none;
    float: right;
    height: 4.5em;
}

.chrome #subHomeComun.infantil #navBar ul {
    margin-right: -0.9em
}

.opera #subHomeComun.infantil #navBar ul {
    margin-right: -0.1em
}

.infantil2 #navBar {
    margin-top: -4.3em;
    position: relative;
}

.infantil2 #navBar ul {
    display: table;
    width: 17.2em;
    margin: 0;
    padding: 0;
    list-style: none;
    background: url(/_layouts/15/images/CSMR/bck_nav_infantil_eso.png) no-repeat 0 0;
    border: none;
    float: right;
    height: 4.5em;
}

.chrome .infantil2 #navBar ul {
    margin-right: 0.1em
}

.infantil2 #navBar li.eso {
    background: none;
    padding-left: 0.9em
}

.infantil2 #navBar li {
    padding-left: 2em;
    background: none;
}

.infantil2 #navBar a {
    background: none;
    text-decoration: none;
    padding-top: 1.4em
}

.infantil2 #navBar a:hover {
    text-decoration: underline;
}

.ColumnaCentral #breadCrumb {
    min-height: 3.8em;
    padding: 1.3em 1em 0 2.6em;
    background: url(/_layouts/15/images/CSMR/bck_bread1C.png) no-repeat 100% 100% !important
}

#breadCrumb {
    margin-left: 1px;
}

#breadCrumb,
#subHome #breadCrumb,
#subHomeFamilia #breadCrumb,
#neutra #breadCrumb,
#subHomeComun #breadCrumb {
    min-height: 3.3em;
    padding: 20px 30px;
    border-bottom: 1px solid #f0f0ed;
    background: url(/_layouts/15/images/CSMR/bck_bread2.gif) repeat-x 0 100%
}

#subHomeFamilia #breadCrumb {
    min-height: 2.7em;
    border-bottom: none;
    background: #fff url(/_layouts/15/images/CSMR/bck_bread3.png) repeat-x 0 100%
}

.conInterior #breadCrumb {
    background: url(/_layouts/15/images/CSMR/bck_bread4.png) no-repeat 100% 100%
}

#breadCrumb ol {
    margin: 0;
    padding: 0;
    list-style: none
}

#breadCrumb li {
    display: inline;
    margin-left: .6em;
    padding-left: .9em;
    background: url(/_layouts/15/images/CSMR/bullet_bread.png) no-repeat 0 .5em;
}

#breadCrumb li.reset {
    margin: 0;
    padding: 0;
    background: none
}

#breadCrumb span.back {
    margin-top: 0;
    text-align: left
}

#breadCrumb span.back a {
    padding-left: 1.2em;
    background: url(/_layouts/15/images/CSMR/bullet_back.png) no-repeat 0 .5em;
}

#subNavBar ul {
    margin: 0;
    padding: 0;
    list-style: none
}

#subNavBar li,
#subNavBar li.sel span {
    padding: 2em 0 2em 1.7em;
    background: url(/_layouts/15/images/CSMR/bck_subNav2.png) repeat-x 0 100%
}

#subNavBar li.sel {
    padding: 0
}

#subNavBar li.sel span {
    display: block
}

#subNavBar a {
    display: block;
    padding-right: 20px;
    background: url(/_layouts/15/images/CSMR/bck_arrow.png) no-repeat 100% 50%;
}

#subNavBar .sel strong a {
    display: block;
    padding-right: 2em;
    background: url(/_layouts/15/images/CSMR/bck_arrowS.png) no-repeat 100% 50%;
    color: #295672 !important;
}

#subNavBar ul ul {
    margin: 0;
    padding: .9em 0 0 0;
    background: url(/_layouts/15/images/CSMR/bck_subNavSel.gif) no-repeat 50% 0;
    background-size: 100%;
}

#subNavBar .sel .sel {
    padding: 2em 0 2em 1.7em;
}

#subNavBar .sel .first {
    padding: 1em 0 2em 1.7em;
}

#subNavBar .sel li a {
    padding: 0 0 0 .9em;
    background: url(/_layouts/15/images/CSMR/bullet_listado_aside.png) no-repeat 0 .3em
}

#subNavBar .sel .sel strong a {
    padding: 0 0 0 .9em;
    background: url(/_layouts/15/images/CSMR/bullet_subNavBar.png) no-repeat 0 .3em
}

#subNavBar li li {
    padding-right: .3em;
    background: url("/_layouts/15/images/CSMR/bck_subNav3.png") repeat-x 0 100%;
}

#subNavBar li li.reset {
    background: none
}

.infantil2 #subNavBar li.sel span {
    padding: 1.3em 0 2em 1.7em;
    background: url(/_layouts/15/images/CSMR/bck_subNav2_infantil.gif) repeat-x 0 100%
}

.infantil2 #subNavBar .sel strong {
    display: block;
    padding-right: 2em;
    background: url(/_layouts/15/images/CSMR/bck_arrowS_infantil.png) no-repeat 100% 50%;
}

.infantil2 #subNavBar .sel strong {
    color: #ffffff;
}

.infantil2 #subNavBar a {
    display: block;
    padding-right: 0;
    background: url(/_layouts/15/images/CSMR/bck_arrow_infantil.png) no-repeat 100% 50%
}

#logos {
    padding-top: 2.8em
}

#logos ul {
    margin: 0;
    padding: 0;
    list-style: none
}

#logos .flt li {
    float: left;
    margin-right: 1.6em;
    padding-right: 1.8em;
    background: url(/_layouts/15/images/CSMR/bullet_logos.png) no-repeat 100% 85%
}

#logos li.reset {
    margin-right: 0;
    padding-right: 0;
    background: none
}

#logos .flt img {
    vertical-align: bottom
}

#logos .frt {
    padding-top: 2em
}

#logos .frt li {
    display: inline;
    margin-left: 1em
}

#copy {
    padding: 10px 25px;
    background: #164667 url(/_layouts/15/images/CSMR/bck_bandera.png) no-repeat 0;
    background-size: contain;
}

#copy span {
    float: left;
    padding-top: .3em
}

#copy ul {
    float: right;
    margin: 0;
    padding: 0;
    list-style: none
}

#copy li {
    float: left;
    margin-right: 1em;
    padding: .3em 1.1em 0 0;
    background: url(/_layouts/15/images/CSMR/bullet_copy.png) no-repeat 100% .6em
}

#copy li.reset {
    background: none
}

#copy li.ico {
    margin: .2em 0 -.2em .3em;
    padding: 0
}

#selloReal .int {
    height: 4.6em;
    background: #fff url(/_layouts/15/images/CSMR/bck_selloReal.png) 50% 0 no-repeat;
}

#subHome #selloReal .int {
    background-image: url(/_layouts/15/images/CSMR/bck_selloReal-sub2.png)
}

#subHome.actividades #selloReal .int {
    background-image: url(/_layouts/15/images/CSMR/bck_selloReal-sub4.png)
}

#selloReal.home03 .int,
#selloReal.home04 .int,
#selloReal.home01 .int {
    background: url(/_layouts/15/images/CSMR/bck_selloReal-trans.png) no-repeat 50% 0
}

#escudoPie {
    position: absolute;
    left: 50%;
    top: -2em;
    width: 34px;
    height: 45px;
    margin-left: -14px;
    background: url(/_layouts/15/images/CSMR/logo_escudo_pie.png) no-repeat 0 0
}

#footerLinks .c0 {
    width: 12%;
}

#footerLinks .c1 {
    width: 12%;
}

#subHome.archivoMult #footerLinks .c1 {
    margin-right: 0;
}

#footerLinks .c2 {
    width: 12%;
}

#footerLinks .c3 {
    width: 12%;
}

#footerLinks .c4 {
    width: 12%;
}

#footerLinks .c5 {
    width: 12%;
}

#footerLinks .c6 {
    width: 12%;
}

#footerLinks .size {
    width: 14em
}

#footerLinks .columna ul {
    margin: 0;
    padding: 0;
    list-style: none
}

#footerLinks dl,
#footerLinks dt,
#footerLinks dd {
    margin: 0 0 10px 0;
    padding: 0;
}

#footerLinks .columna.reset {
    margin-right: 0
}

#footerLinks .infantil {
    margin-top: 2em
}

.link {
    margin: 0 0 .6em 0;
}

.link a {
    padding: 0 0 0 .75em;
    background: url(/_layouts/15/images/CSMR/bullet_listado_aside.png) no-repeat 0 .3em;
}


/* cambio bilbo */

#subHome.archivoMult .link {
    margin: 1em 0 1em 1.2em;
}

#subHomeFamilia .principe #aside #modAlbum .link {
    margin: 0 0 0em 0;
}

.actividades .colB .link {
    margin: 1em 0 .6em 0;
    text-align: left;
    width: 12em;
}

.linkDer {
    margin-right: 3.6em;
}

.linkDer a {
    padding: 0 0 0 .75em;
    background: url(/_layouts/15/images/CSMR/bullet_listado_aside.png) no-repeat 0 .3em;
    float: right
}

.date {
    display: block;
    margin: .3em 0;
    font-size: 13px;
    font-size: 1.3rem;
    color: #96968b;
}

.wysiwyg .capital {
    display: inline;
    float: left;
    margin: 0 .1em 0 0;
    line-height: .8em;
}

p.resaltar {
    display: inline;
    float: right;
    width: 36%;
    margin: .3em 0 0 4%;
    padding: 0 0 0 .75em;
    border-left: .25em solid #d2ceb9;
}

.infantil .colB .juegos {
    background: url(/_layouts/15/images/CSMR/img_soldado.png) no-repeat 100% 0;
    height: 8.6em;
    padding-right: 9.4em
}

.infantil .colB .descargas {
    background: url(/_layouts/15/images/CSMR/img_dibujo_reyreina.png) no-repeat 100% 0;
    height: 8.6em;
    padding-right: 9.4em
}

.infantil .colB .comoleves {
    background: url(/_layouts/15/images/CSMR/img_dibujo_carta.png) no-repeat 100% 0;
    height: 8.6em;
    padding-right: 9.4em
}

.entradilla p {
    margin: .5em 0;
}

.entradilla img {
    float: left;
    padding-right: 1em;
    padding-bottom: 1em;
}

.imgNoticia {
    padding: 20px 0;
}

.imgNoticia img {
    margin: 0 0 10px 0;
}

.moduloAmpliar {
    position: relative;
    margin: 2em 0;
    padding: .5em;
    border: 1px solid #e7e7e3;
    background: #eeede8 url(/_layouts/15/images/CSMR/bck_preguntas.png) repeat-x 0 0
}

.moduloAmpliar .img {
    display: block;
    margin: 0 auto
}

.moduloAmpliar a {
    position: absolute;
    right: .4em;
    bottom: .4em
}

#navBar li.sel a.dropdown {
    padding: 0px;
    background: none;
    font-size: 1em
}

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation: portrait) {
    .safari #navBar div {
        margin-left: -0.3em;
        display: block;
    }
}


/* Cambios de Bilbo*/

.jcarousel-skin-tango img {
    max-width: 100%
}

.modNoticia.destacado .slider img {
    height: 69px;
}

#subHomeComun #entry_home span.comilla {
    padding-left: 15px;
    margin-left: 5px;
}

#subHomeComun #CSMR_IzqSupDerecha div.AspNet-WebPart {
    background: none repeat scroll 0 0 #F9F9F5;
    border-bottom: 1px solid #E9E9E9;
    margin-bottom: 20px;
    padding: 0 5px;
}

#subHomeComun #CSMR_IzqSupDerecha div.AspNet-WebPart:last-child {
    border-bottom: 0;
}

#subHomeComun div.home03 .colB,
#subHomeComun div.home04 .colB,
#subHomeComun div.home01 .colB {
    background: #f9f9f9;
    padding: 15px;
    margin: 0;
    width: 31.9%;
    float: right;
}

div#aside .modAgenda {
    background: none repeat scroll 0 0 transparent;
    text-align: center;
}

div#aside .modAgenda .link {
    background: none repeat scroll 0 0 transparent;
}

#subHomeComun div.home03 div#aside .modAgenda,
#subHomeComun div.home04 div#aside .modAgenda,
#subHomeComun div.home01 div#aside .modAgenda {
    background: none repeat scroll 0 0 transparent;
}

#subHomeComun .home03 .modAgenda .link,
#subHomeComun .home04 .modAgenda .link,
#subHomeComun .home01 .modAgenda .link {
    background: url("/_layouts/15/images/CSMR/bck_modAside.png") no-repeat scroll 50% bottom transparent;
    padding-bottom: 2em;
    padding-top: 0;
    text-align: left;
}

#subHomeComun div.home03 div#aside .modTxtImg,
#subHomeComun div.home04 div#aside .modTxtImg,
#subHomeComun div.home01 div#aside .modTxtImg {
    background: url("/_layouts/15/images/CSMR/bck_modAside.png") no-repeat scroll 50% bottom transparent;
    padding-bottom: 2em;
    padding-top: 0;
}

#subHomeComun div.home03 div#aside .modTxtImg .wrap,
#subHomeComun div.home04 div#aside .modTxtImg .wrap,
#subHomeComun div.home01 div#aside .modTxtImg .wrap {
    background: none repeat scroll 0 0 transparent;
    padding: 1.5em 1.9em;
}

.detalleFoto img {
    max-width: 100%;
}

#subHomeComun div#aside .modAlbum.videos {
    background: url("/_layouts/15/images/CSMR/bck_modAside.png") no-repeat scroll 50% bottom transparent;
    padding-bottom: 30px;
}


/****************** TRANSPARENCIA *****************************/

h1.titulo_seccion {
    color: #295672;
    /*color: red !important;*/
    font-family: roboto_slabregular, Georgia, serif;
    margin: 20px 0;
    font-weight: normal !important;
    text-transform: uppercase;
}

h1.titulo_seccion span {
    font-size: 32px;
    font-size: 3.2rem;
    color: #295672;
}

div.modAside h1.titulo_seccion span {
    font-size: 24px;
    font-size: 2.4rem;
}

div.cabecera_seccion {
    text-align: center;
    width: 100%;
    display: block;
    margin: 20px 0;
}

div.cabecera_seccion img {
    width: 100%;
}

div.subcontenido {
    width: 100%;
    clear: both;
    float: left;
}

div.subcontenido_col1,
div.subcontenido_col2,
div.subcontenido_col3 {
    width: 30%;
    text-align: center;
}

div.imagen_subseccion {
    width: 100%;
}

div.titulo_subseccion {
    width: 100%;
    margin: 10px 0;
    color: #2f80b3;
    font: 16px roboto_slabregular, Georgia, serif;
    font: 1.6rem roboto_slabregular, Georgia, serif;
}

div.titulo_subseccion a span,
div.titulo_subseccion span {
    font-size: 22px;
    font-size: 2.2rem;
}

div.titulo_subseccion a:hover {
    text-decoration: underline !important;
    color: #295672;
}

div.texto_subseccion {
    color: #252525;
    font: 14px normal robotoregular, Arial, sans-serif;
    font: 1.4rem normal robotoregular, Arial, sans-serif;
    margin-top: 20px;
}

.ms-WPBody div.texto_subseccion ul li a {
    text-decoration: none;
}

div.subcontenido_col1 {
    float: left;
    border-right: #e5e5e5 1px solid;
    padding-right: 2%;
}

div.subcontenido_col2 {
    float: left;
    margin-left: 2%;
    border-right: #e5e5e5 1px solid;
    padding-right: 2%;
}

div.subcontenido_col3 {
    float: right;
}

.ms-WPBody div.zonaDcha p a {
    text-decoration: underline;
}

div.zonaDcha li {
    font-size: 13px;
    font-size: 1.3rem;
}

div.barra_boton_centrado {
    width: 100%;
    text-align: center;
    margin: 10px 0;
}

div.barra_boton_centrado a {
    font: 14px roboto_slabregular, Georgia, serif;
    font: 1.4rem roboto_slabregular, Georgia, serif;
    background: url(/_layouts/15/images/CSMR/bullet_listado_aside.png) no-repeat 0 .3em;
    padding-left: 11px;
}

.ms-WPBody .barra_boton_centrado .fondo_boton_rojo,
.ms-WPBody .fondo_boton_rojo {
    background: url(/_layouts/15/images/CSMR/transparencia/fondo_boton.png) no-repeat left top;
    height: 40px;
    text-decoration: none;
    color: #ffffff !important;
    display: inline-block;
    font-family: robotoregular, Arial, sans-serif;
    font-size: 16px;
    background: #b10069;
    padding: 12px 20px;
    margin: 10px 0;
}

.pie_foto_cabecera_seccion {
    width: 100%;
    color: #252525;
    margin-bottom: 25px;
    font-family: robotoregular, Arial, sans-serif;
    font-size: 13px;
    font-size: 1.3rem;
    line-height: 16px;
}

.ms-rtestate-field .pie_foto_cabecera_seccion p {
    margin: 0.9em 0;
    line-height: 16px;
}

.pie_foto_cabecera_seccion h2 {
    color: #295672;
    font-family: roboto_slabregular, Georgia, serif;
    font-size: 1.2em;
    font-weight: normal !important;
    margin-bottom: 5px;
}

.pie_foto_cabecera_seccion h2 span {
    color: #295672;
    font-size: 24px;
    font-size: 2.4rem;
}

.pie_foto_cabecera_seccion a,
.pie_foto_cabecera_seccion a:visited {
    color: #295672 !important;
}

.pie_foto_cabecera_seccion a:hover {
    text-decoration: underline;
    color: #295672;
}

div.subcontenido ul {
    list-style: outside none none;
    margin: 0 0 1em;
    padding: 0;
    text-align: left;
}

div.subcontenido li {
    background: url(/_layouts/15/images/CSMR/bullet_listado_aside.png) no-repeat 0 .35em;
    margin: 0 0 0.4em;
    padding: 0 0 0 0.75em;
}

div.subcontenido li a:hover {
    text-decoration: underline !important;
}


/* HOME */

.youtube-player,
.modAlbum.videos object,
.modMapa object {
    height: auto !important;
    margin: 10px auto;
    max-width: 100%;
    text-align: center;
    width: 100%;
}

.modAlbum.videos object {
    text-align: left;
    display: inline-block;
}


/* CORE */

#content .ms-rteElement-Cuerpo {
    font: 13px robotoregular, Arial, sans-serif;
    font: 1.3rem robotoregular, Arial, sans-serif;
    line-height: 16px;
    margin-bottom: 10px;
    color: #313131 !important;
}

#content .ms-rteElement-Cuerpo a {
    text-decoration: underline;
}

#content .ms-rteElement-Cuerpo li {
    margin-bottom: 20px;
}

body #s4-bodyContainer {
    min-width: inherit;
}

body #s4-workspace {
    width: auto !important;
    overflow-y: inherit;
}

body.v4master {
    overflow: inherit;
    background: #ecebe5;
}


/* Carrusel inferior*/

ul.jcarousel-list {
    width: auto !important;
}


/* desplegables footer*/

#footerLinks .columna {
    float: left;
    width: 12%;
    margin-right: 30px;
}

#footerLinks .columna:last-child {
    margin-right: 0;
}

#footerLinks li {
    margin-bottom: 5px;
}

.columna a,
.columna a:link,
.columna a:visited {
    color: #295672;
}

h4.accordion {
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 12px !important;
    font-weight: bold;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    color: #313131;
}

.columna h4:hover {
    text-decoration: none;
}

.columna h4 a:focus {
    border: 1px solid #295672;
}

ul.panel {
    max-height: 100%;
    overflow: hidden;
    -webkit-transition: max-height 0.4s ease-out;
    transition: max-height 0.4s ease-out;
    margin-top: 10px !important;
}

ul.panel li {
    position: relative;
}

ul.panel li a {
    display: block;
    padding-left: 10px;
}

ul.panel li:before {
    content: "";
    width: 4px;
    height: 4px;
    display: block;
    border-radius: 20px;
    background: #295672;
    top: 5px;
    position: absolute;
}

.modulosTipoContacto .title {
    margin: 0;
}


/* Men? mobile */

.menu {
    /*  position: absolute;
    top: 10px;
    left: 5px;*/
}

.hamburguer {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 30px;
    padding: 30px;
    margin: 0;
    float: left;
}

.hamburguer a {
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    height: 20px;
    width: 30px;
    margin-top: -10px;
    margin-left: 15px;
}

.lines {
    position: absolute;
    display: block;
    width: 100%;
    height: 4px;
    top: 9px;
    background-color: #112633;
}

.lines::before,
.lines::after {
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    position: absolute;
    background-color: #112633;
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
}

.lines::before {
    top: -9px;
}

.lines::after {
    top: 9px;
}

.hamburguer a:hover .lines::before {
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
}

.hamburguer a:hover .lines::after {
    -webkit-transform: translateY(2px);
    transform: translateY(2px);
}

.hamburguer a.open .lines {
    background: #ecebe5;
}

.hamburguer a.open .lines::before {
    -webkit-transform: rotate(-45deg) translate(-6px, 6px);
    transform: rotate(-45deg) translate(-6px, 6px);
}

.hamburguer a.open .lines::after {
    -webkit-transform: rotate(45deg) translate(-6px, -6px);
    transform: rotate(45deg) translate(-6px, -6px);
}

@media screen and (max-width: 1280px) {
    #header {
        padding: 0 15px;
    }
}

@media screen and (max-width: 1200px) {
    #footerLinks .columna {
        float: left;
        width: 11%;
        margin-right: 30px;
    }
}


/***** TABLET *****/

@media only screen and (max-width: 1024px) {
    ul.panel {
        max-height: 0;
    }
    h4.accordion:after {
        content: '\002B';
        color: #777;
        font-weight: bold;
        margin-left: 5px;
    }
    h4.accordion.active:after {
        content: "\2212";
    }
    h4.accordion {
        cursor: pointer;
    }
}

@media screen and (max-width: 880px) {
    #footerLinks .columna {
        width: 22%;
        margin-right: 20px;
    }
    .header-wrapper {
        flex-direction: row;
        align-items: flex-start;
    }
    .idioma {
        margin-bottom: 0;
    }
    #header .logo-escudo img {
        /*left: 120px;*/
		display: none;
        visibility: hidden;
    }
	
	#header .logo-escudo img.logo-tablet {
        /*left: 120px;*/
        display: inline-block;
        visibility: inherit;
		left: 200px;
    }
}

@media screen and (max-width: 780px) {
    #header {
        height: 8em !important;
    }
    #header .logo-escudo img {
        display: none;
        visibility: hidden;
    }
	    #header .logo-escudo img.logo-tablet {
        display: none;
        visibility: hidden;
    }
    #header .logo-escudo img.logo-mobile {
        display: inline-block;
        visibility: inherit;
        transform: inherit;
        left: 80px;
        top: 6px;
    }
    #header .logo-CR img {
        max-width: 80px;
        height: auto;
    }
    #header .header-responsive {
        display: flex;
        align-items: center;
    }
    #header .logo-escudo img {
        height: 75px;
    }
    #header .logo-escudo img+img {
        display: none;
    }

    #header .buscador__responsive {
        top: 21px;
    }
    #header .text {
        width: 260px;
    }
    #header .buscador__responsive .close {
        position: absolute;
        right: 0;
    }
    .buscador__responsive .btnAux.lupa-right {
        transform: translateX(-240px);
        transition: transform 0.5s ease-out;
    }
    .show-language {
        display: block;
        visibility: inherit;
    }
    /* IDIOMA MOBILE*/
    .idioma-home-lista {
        display: none;
    }
    #header .idioma {
        position: relative;
        right: 0;
        width: 150px;
        height: 28px;
        z-index: 9999;
        margin-bottom: 15px;
    }
    #header .idioma ul {
        display: inline-block;
        transition: all 375ms ease-in-out;
        height: 40px;
        margin: 0;
        width: 100%;
        padding: 0;
    }
    #header .idioma li {
        display: none;
        list-style: none;
        height: 30px;
        line-height: 22px;
        overflow: hidden;
        top: 0;
        width: 100%;
        height: 40px;
        font-size: 14px;
        font-size: 1.4rem;
        background: #716120;

    }
    #header .idioma li a,
    #header .idioma li span {
        width: 100%;
        display: block;
        padding: 10px;
        background: #1E3F54;
        color: #fff;
    }
    #header .idioma li a:hover {
        background: #325F77;
    }
    #header .idioma li.active {
        display: block;
        border-bottom: 2px solid #b8ae9c;
    }
    #header .idioma li a.is-active {
        text-decoration: underline !important;
        background: #325F77;
        pointer-events: none;
    }
    #header .idioma li.selected a {
        background: #f5f5f5;
        color: #112532;
    }
    #header .idioma li.active span {
        height: 40px;
        background: #ecebe5;
        color: #112532;
        cursor: pointer;
        padding-right: 50px;
        padding-top: 12px;
    }
    #header .idioma::before {
        content: "";
        display: inline-block;
        background: url(/_layouts/15/images/CSMR/arrow.svg) no-repeat 100% 50%;
        background-size: 25px;
        height: 25px;
        width: 25px;
        position: absolute;
        right: 15px;
        top: 10px;
        z-index: 9;
        pointer-events: none;
    }
    #header .idioma:hover::before {
        content: "";
        display: inline-block;
        background: url(/_layouts/15/images/CSMR/arrow-up.svg) no-repeat 100% 50%;
    }
    #header .idioma ul:hover {
        padding-top: 0;
    }
    #header .idioma ul:hover li,
    #header .idioma ul:focus li {
        display: block;
        position: relative !important;
        width: 100%;
    }
    #navBar {
        display: none;
    }
    #navBar.active {
        display: inline-block;
    }
    .mobile_menu {
        display: inline-block;
        top: 100px !important;
    }
    .mobile_menu img {
        width: 30px;
        height: auto;
    }
    #header .logo-CR a {
        display: none;
    }
    #header .logo-CR__mobile {
        display: inline-block;
    }
    #header .logo-CR__mobile a {
        width: auto;
        display: inline-block;
        text-align: left;
        margin-left: 70px;
    }
    #header .logo-CR__mobile a img {
        top: 5px;
        max-height: 68px;
    }
    #header .logo-CR__mobile--text {
        font-family: 16px roboto_slabregular, Georgia, serif;
        font-family: 1.6rem roboto_slabregular, Georgia, serif;
        color: #958e6e;
        position: relative;
        top: -23px;
        margin-left: 20px;
    }
    .home04 .actHome .who,
    .home03 .actHome .who,
    .home01 .actHome .who {
        padding: 0;
    }
    #footerLinks .columna {
        width: 45%;
    }
}

@media screen and (max-width: 640px) {
    #footerLinks .columna {
        width: 100%;
    }
    #header .logo-CR__mobile--text {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .hidden-logo, .hidden-searcher {
        display: none !important;
    }
    #header .logo-escudo img.logo-mobile {
        height: 57px;
        top: 12px;
    }
}

@media screen and (max-width: 320px) {
    #header .logo-escudo img.logo-mobile {
        height: 45px;
        top: 20px;
    }

    #header .text {
    width: 225px;
    }
    .buscador__responsive .btnAux.lupa-right {
    transform: translateX(-208px);
    }

}

/*CSS DE MIGRACION*/
.ms-rteTable-CSMR > tbody > tr > td,
.ms-rteTable-CSMR > tbody > tr > th {
    vertical-align: top;
    padding: 7px 5px 6px;
}



.ms-rteTable-default > tbody > tr > th,
.ms-rteTable-default > tbody > tr.ms-rteTableFooterRow-default {
    /* [ReplaceColor(themeColor:"SubtleBodyText")] */ color: #777;
    text-align: left;
    font-weight: normal;
}



.ms-rteTable-CSMR,
.ms-rteTable-CSMR > tbody > tr > td,
.ms-rteTable-CSMR > tbody > tr > th,
td.ms-rteTable-CSMR,
th.ms-rteTable-CSMR,
.ms-rtetablecells {
    /* [ReplaceColor(themeColor:"SubtleLines")] */ border: 1px solid #c6c6c6;
    padding: 2px;
    vertical-align: top;
}

table.ms-rteTable-CSMR {
    border-collapse: separate;
}



.ms-rteTable-CSMR .ms-rteFontSize-1 {
    font-size: 8pt;
}



.ms-rteTable-CSMR .ms-rteThemeFontFace-2 {
    font-family: "arial";
}



.ms-rteTable-CSMR .ms-rteThemeForeColor-4-0 {
    color: #182738;
}



.ms-rtestate-field > .AspNet-WebPart > p {
    line-height: inherit;
    margin: inherit;
}



.ms-rtestate-field > h2.title {
    /*line-height: inherit;*/
    color: inherit;
}



.btnAux.lupa-left > input[type=submit],
.btnAux.lupa-right > input[type=submit],
.btnAux > input[type=submit][value="Buscar"],
button {
    min-width: inherit;
    padding: inherit;
    border: inherit;
    background-color: inherit;
    margin-left: inherit;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

#s4-workspace {
    text-align: center;
    /*background: #e0dfd6 repeat 0 0;*/
    background: #ecebe5;
}

#s4-workspace * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

input[type=button]:hover, input[type=reset]:hover, input[type=submit]:hover, button:hover {
    border-color: unset;
    background-color: #A08E4B;
}

h4 {
    font-family: robotoregular, Arial, sans-serif;
}

.ms-rtestate-field h2 {
    line-height: 24px;
    color: #373734;
}

.ms-rtestate-field h1 {
    line-height: 28px;
}

.ms-rtestate-field p {
    margin: 0;
    /*line-height: normal;*/
}
.ms-rteThemeForeColor-2-3 {
    color: #3F3F3F;
}

.ms-rtestate-field {
    word-wrap: normal;
}

/*Cookies CRSM  Se ha solicitado quitar las cookies actuales
.cookieinfo {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 10;
    text-align: center;
    width: 100%;
    background: rgba(17, 37, 50, 0.8);
    padding: 20px;
    font-size: 16px;
    color: #ffffff;
}

.cookieinfo a {
    color: #b8ae9c !important;
    text-decoration: underline !important;
}

.cookieinfo a:hover {
    text-decoration: none !important;
}

.cookieinfo .button {
    background-color: #A08E4B;
    color: white;
    height: 40px;
    display: inline-block;
    padding: 10px;
    margin-top: 15px;
    color: #ffffff !important;
    text-decoration: none !important;
}

.cookieinfo .button:hover {
    background-color: rgba(160, 142, 75, 0.7);
}
    */


/*******PERFILDELCONTRATANTE*******/

/* TAGS */
.input-contratante:focus,
.select-contratante:focus {
   outline: solid 2px var(--color-accent);

}


.a-contratante {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 600;
}

    .a-contratante:hover,
    .a-contratante:focus {
        color: var(--color-accent);
    }

    .a-contratante:focus {
        outline: solid 2px var(--color-accent);
    }

.button-contratante:focus {
    outline: solid 2px var(--color-primary);
}

.input-contratante:focus {
    outline: solid 2px var(--color-primary);
}

.body-contratante {
    font-size: 12px;
    color: black;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.h1-h2-leg-cap-contratante {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: var(--r24);
    color: var(--color-primary);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-primary);
}
/*h1,h2,legend,caption */
.leg-cap-h2-contratante {
    font-size: var(--r18);
    padding-top: 1rem;
    margin-bottom: var(--r24);
    border-top: 1px solid var(--color-primary);
    width: 100%;
    text-align: left;
}
/*legend,caption,h2*/
.input-select-contratante {
    transition: var(--transition-all);
    width: 100%;
    border: solid 1px var(--color-gray-2);
    border-radius: 0;
    padding: 0.8rem 1rem;
}
/*input,select*/
.select-contratante {
    background-image: url('../img/arrow-select.svg');
    background-repeat: no-repeat;
    background-position: calc(100% - 1rem) center;
}

    .input-contratante::placeholder,
    .select-contratante:required:invalid {
        color: var(--color-gray-1);
    }

option[value=''][disabled] {
    display: none;
}

option {
    color: black;
}

/* TOOLS */
.visually-hidden {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.link-back {
    font-size: var(--r16);
    display: inline-flex;
    align-items: center;
    gap: 0 0.5rem;
}

.link-external {
    font-size: var(--r14);
}

    .link-external svg {
        display: inline-block;
        margin-left: 0.5rem;
    }

.link-view-more {
    margin-top: 2.333rem;
    display: block;
    background-color: var(--color-secondary);
    border-radius: 0.333rem;
    color: white;
    padding: 1.5rem;
    font-size: var(--r14);
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 1rem;
}

    .link-view-more:hover,
    .link-view-more:focus {
        background-color: var(--color-accent);
        color: white;
    }

    .link-view-more:focus {
        outline-color: var(--color-secondary);
    }

:is(.link-back:hover, .link-back:focus, .link-external:hover, .link-external:focus)
path {
    fill: var(--color-accent);
}
/* ------- COMPONENTES ------- */
.site-container {
    width: 100%;
    max-width: 768px;
    padding: 2rem 1rem;
}

/* Formulario Búsqueda*/
.formulario__parf {
    margin-bottom: 3.333rem;
}

.formulario__buttons_perfil_contratante {
    display: flex;
    gap: 0 1.5rem;
    justify-content: flex-end;
    padding: 3.333rem 0 0;
}

.formulario__button {
    background-color: var(--color-primary);
    border: 1px solid var(--color-primary);
    font-weight: 600;
    color: white;
    border: 0;
    padding: 0.833rem 2.167rem;
    transition: var(--transition-all);
}

    .formulario__button:hover,
    .formulario__button:focus {
        background-color: var(--color-accent);
        color: white;
    }

.formulario__button--outline {
    background-color: white;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
}

.formulario__button--accent {
    background-color: var(--color-accent);
    border: 1px solid var(--color-accent);
    color: white;
}

.formulario__grid .formulario__control:nth-child(1) {
    grid-area: control-1;
}

.formulario__grid .formulario__control:nth-child(2) {
    grid-area: control-2;
}

.formulario__grid .formulario__control:nth-child(3) {
    grid-area: control-3;
}

.formulario__grid .formulario__control:nth-child(4) {
    grid-area: control-4;
}

.formulario__grid .formulario__control:nth-child(5) {
    grid-area: control-5;
}

.formulario__grid .formulario__control:nth-child(6) {
    grid-area: control-6;
}

.formulario__grid {
    display: grid;
    gap: var(--r32) 2rem;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    grid-template-areas: 'control-1 control-2 control-2 control-2' 'control-3 control-4 control-5 control-6';
}

@media (max-width: 674px) {
    .formulario__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, auto);
        grid-template-areas: 'control-1 control-2' 'control-3 control-4' 'control-5 control-6';
    }
}

@media (max-width: 375px) {
    .formulario__grid {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(6, auto);
        grid-template-areas: 'control-1' 'control-2' 'control-3' 'control-4' 'control-5' 'control-6';
    }
}

.formulario__control label {
    display: block;
    margin-bottom: 0.3rem;
}

:is(.formulario__control input, .formulario__control select):hover,
:is(.formulario__control input, .formulario__control select):focus {
    border: solid 1px var(--color-accent);
}

/* Tabla resultados */
.table-results {
    width: 100%;
    table-layout: auto;
    border-collapse: collapse;
}

.table-results__n-expediente {
    font-weight: 600;
}

.table-results thead {
    background-color: var(--color-primary);
    color: white;
}

.table-results tr th {
    background-color: var(--color-primary);
    color: white;
}

    .table-results thead th {
        font-weight: 400;
        border-right: 1px white solid;
        padding: 1rem 0.8rem;
    }

    .table-results tr th {
        font-weight: 400;
        border-right: 1px white solid;
        padding: 1rem 0.8rem;
    }

        .table-results thead th:last-child {
            width: 25%;
        }

        .table-results thead th:nth-child(3) {
            width: 30%;
        }

.table-results__arrow {
    color: white;
    background-color: transparent;
    border: none;    
    align-items: center;
    gap: 0 1rem;
}

    .table-results__arrow:focus {
        outline: solid 2px white;
    }

    .table-results__arrow img {
        width: auto;
    }

.table-results__arrow--sort img {
    transform: rotate(180deg);
}

.table-results tbody tr {
    background-color: white;
}

    .table-results tbody tr td {
        padding: 1rem;
        font-size: var(--r11);
        vertical-align: baseline;
    }

    .table-results tbody tr:nth-child(odd) {
        background-color: var(--color-gray-3);
    }

@media (max-width: 620px) {
    .table-results thead {
        display: none;
    }

    .table-results tr th {
        display: none;
    }

    .table-results tr {
        display: block;
    }

    .table-results tbody tr,
    .table-results tbody tr:nth-child(odd) {
        background-color: var(--color-gray-4);
        margin-bottom: var(--r32);
    }

    .table-results td {
        display: block;
    }
}

/* Pagination */
.pagination {
    border-top: 1px solid var(--color-primary);
    padding: 1.917rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 560px) {
    .pagination {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem 0;
    }
}

.pagination__select select {
    margin-left: 1rem;
    width: 60px;
    padding: 0.5rem;
}

.pagination__btn {
    background-color: transparent;
    border: none;
    width: 24px;
    height: 24px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

    .pagination__btn img {
        width: auto;
    }

.pagination__btn--prev img {
    transform: rotate(180deg);
}

/* Expediente */

.expediente .link-back {
    margin-bottom: 2.625rem;
}

.expediente h2 {
    margin-top: var(--r32);
    margin-bottom: var(--r24);
}

.expediente__list {
    display: flex;
    gap: 1rem 0;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: var(--color-gray-4);
    padding: var(--r16);
}

    .expediente__list li {
        flex: 0 0 31%;
    }

@media (max-width: 600px) {
    .expediente__list li {
        flex: 0 0 48%;
    }
}

@media (max-width: 480px) {
    .expediente__list li {
        flex: 0 0 100%;
    }
}

.expediente__list li h3 {
    font-size: 1rem;
    color: var(--color-gray-5);
    margin-bottom: 0;
}

.expediente__list li p {
    margin-top: 0.333rem;
    font-size: var(--r14);
}

.expediente__list--links {
    display: block;
}

    .expediente__list--links li {
        margin-bottom: var(--r16);
    }

.input_expediente {
    border-radius: 0;
    font-family: robotoregular, Arial, sans-serif;
    font-size: 13px;
    font-size: 1.3rem;
    color: #fff !important;
    cursor: pointer;
    -webkit-appearance: none;
    margin: 0px !important;
    padding: 0px 20px 0 20px;
    border: none;
    vertical-align: middle;
    height: 40px;
    width: auto;
    background: #1E3F54;
    font: bold 1.4rem roboto_slabregular, Georgia, serif;
}

.btns_expediente {
    display: flex;
    padding: 20px 0px 0px 0px;
    align-items: center;
}
.a_expediente {
    font: bold 14px roboto_slabregular, Georgia, serif;
    font-family: robotoregular, Arial, sans-serif;
    font-size: 1.3rem;
    color: #fff !important;
    cursor: pointer;
    padding: 10px;
    border: none;
    vertical-align: middle;
    height: 40px;
    width: auto;
    background: #1E3F54;
    -webkit-appearance: none;
    border-radius: 0;
    margin-right: 90px;
}

.rotateimg180 {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

@media only screen and (max-width: 768px) {

    #header .buscador__responsive {
        z-index: 1;
    }

    #ui-datepicker-div {
        width: 90vw !important;
        position: absolute;
        top: 1vw !important;
        left: 4vw !important;
        box-shadow: 0 0 40px black;
        z-index: 500;
    }

    .ui-datepicker td span, .ui-datepicker td a {
        height: 40px;
    }

    .ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
        position: absolute;
        top: 0;
        width: 40px;
        height: 100%;
    }


    .ui-datepicker .ui-datepicker-header {
        background: #cb842e;
    }

    .ui-datepicker .ui-datepicker-title {
        line-height: 4em;
    }
}
/* Cambios SPSS */
.ms-webpart-zone {
    display: block !important;
}

div.ms-webpart-cell-vertical-inline-table {
    display: block !important;
}

.ms-webpart-chrome-vertical {
    display: block !important;
}

.ms-webpartzone-cell {
    margin: 0px !important;
}

.dropdown {
    background: url(/_layouts/15/images/CSMR/arrow.svg) no-repeat calc(100% - 10px) center;
    background-size: 10px; /* Ajusta el tamaño de la flecha */
}


}

.gsc-search-box {
    width: 100%;
    display: none !important;
}

.gsc-result-info {
    display: none !important;
}

.gsc-webResult.gsc-result, .gsc-results .gsc-imageResult {
    /* border-color: #FFFFFF; */
    /* background-color: #FFFFFF; */
    clear: both;
    width: 100%;
    border-bottom: 1px solid #e9e9e9;
    margin-top: 1.2em;
    padding-bottom: 12px;
}

.gs-webResult div.gs-visibleUrl {
    color: #008000;
    display: none !important;
}

.gs-webResult.gs-result a.gs-title:link, .gs-webResult.gs-result a.gs-title:link b, .gs-imageResult a.gs-title:link, .gs-imageResult a.gs-title:link b {
    color: #666660 !important;
    text-decoration: none;
    text-transform: none;
    font-size: 16px;
    text-decoration: underline;
}

.gcsc-more-maybe-branding-root {
    display: none !important;
}

.gs-image {
    max-width: 260px !important;
    max-height: 320 px !important;
}

.gs-web-image-box {
    width: 220px !important;
}

.gsc-webResult.gsc-result:hover {
    border-color: transparent !important;
    background-color: transparent !important;
    border: transparent !important;
    border-bottom: 1px solid #e9e9e9 !important;
}

.gsc-webResult.gsc-result {
    border-color: transparent !important;
    background-color: transparent !important;
    border: transparent !important;
    border-bottom: 1px solid #e9e9e9 !important;
}

.ms-clear {
    clear: none !important;
}