Vivir sobre mosaicos

.principal–fijo .cabecera {
background-color: white !important;
}
.contenedor_derecha .cadena-ser,
.contenedor_derecha .buscador,
.contenedor_derecha .navegacion-sucripcion {
display: none !important;
}
.principal–fijo .elpais-logo a span {
background: url(http://ep01.epimg.net/iconos/v1.x/v1.4/logos/cabecera_interior.svg) no-repeat 0 0.438rem;
background-size: auto 1.875rem;
}
.principal–fijo .boton_elpais-menu span {
background: black;
}
.principal–fijo .contenedor_derecha {
width: auto;
padding-right: 10px;
}
.eppheader {
font-family: “Benton Sans”, sans-serif;
font-weight: 100;
background-color: #f5d03a;
position: relative;
}
.eppheader:before {
content: ”;
display: block;
width: 100%;
height: 40px;
transform: skew(0, -0.3deg);
top: 70%;
position: absolute;
background: #f5d03a;
z-index: -99;
}
.eppheader-primary {
position: relative;
background-color: #fff;
max-width: 1200px; margin: 0 auto; display: flex;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
}
.eppheader-logo {
background: url(“https://elpais.comhttp://ep01.epimg.net/iconos/v2.x/v2.1/suscripcion/elpais+.svg”) no-repeat center center;
background-size: 100%;
width: 178px;
height: 41px;
}
.eppheader-logo a {
width: 100%;
height: 100%;
}
.eppheader-login-content {
width: 253px;
height: 37px;
z-index: 12;
display: flex;
position: relative;
}
.eppheader-login-content:before {
content: ”;
width: 38px;
height: 27px;
display: inline;
position: absolute;
top: 6px;
left: -25px;
background: url(“http://ep01.epimg.net/iconos/v2.x/v2.1/suscripcion/logoE+.svg”) no-repeat center center;
z-index: 11;
}
.eppheader-login-content.open {
background: #fff;
}
.eppheader-login-content.open .arrow {
transform: rotate(180deg);
}
.eppheader-login-content.open + .eppheader-menu-open {
display: block;
}
.eppheader-login-content.logged .eppheader-user {
background-image: none;
padding-left: 10px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 90%;
}
.eppheader-login-content.logged .arrow {
display: block;
}
.eppheader-login-content.logged.subscribed {
background: linear-gradient(270deg, #f6d03b 0%, #fcbf00 100%);
}
.eppheader-login-content.subscribed .eppheader-subscription {
display: none;
}
.eppheader-login-content.subscribed .eppheader-user {
background: linear-gradient(270deg, #f6d03b 0%, #fcbf00 100%);
padding-left: 20px;
border-top: 0;
width: 150px;
}
.eppheader-subscription {
color: rgba(0,0,0,0.8);
font-family: “Benton Sans”, sans-serif;
font-weight: 500;
font-size: 11px;
letter-spacing: -.29px;
line-height: 14px;
text-transform: uppercase;
position: relative;
padding: 0 15px 0 25px;
width: 109px;
height: 37px;
box-sizing: border-box;
background: linear-gradient(270deg, #f6d03b 0%, #fcbf00 100%);
display: flex;
align-items: center;
margin-right: 1px;
}
.eppheader-user {
width: 150px;
box-sizing: border-box;
font-family: “Benton Sans”, sans-serif;
font-weight: 400;
font-size: 10px;
color: rgba(0,0,0,0.8);
letter-spacing: -.29px;
border-top: 3px solid #f6d03b;
padding-right: 10px;
white-space: nowrap;
cursor: pointer;
z-index: 10;
display: flex;
justify-content: space-between;
align-items: center;
background: url(“http://ep01.epimg.net/iconos/v2.x/v2.1/suscripcion/user.svg”) no-repeat 10px center #F8F8F8;
text-transform: uppercase;
padding-left: 43px;
}
.eppheader-user-name–mobile {
font-size: 11px;
font-weight: 500;
}
.subscribed .eppheader-user-name–mobile {
font-size: 13px;
}
.eppheader-user .arrow {
display: none;
width: 11px;
height: 11px;
background: url(‘http://ep01.epimg.net/iconos/v2.x/v2.1/suscripcion/arrow-login.svg’) transparent no-repeat center / 98%;
transition: transform .6s;
}
.eppheader-user-name {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 140px;
}
.eppheader-user-name–mobile {
display: none;
}
.eppheader-menu-open {
display: none;
position: absolute;
right: 0;
top: 100%;
background: #fff;
width: 330px;
box-shadow: 0 0 14px 0 rgba(0, 0, 0, 0.09);
z-index: 11;
}
.eppheader-menu-open-header {
text-align: center;
padding: 5px 20px 20px;
border-bottom: 2px solid #f8f8f8;
margin: 20px 0 16px;
}
.eppheader-menu-open-header h3 {
font-family: “Benton Sans”, sans-serif;
font-weight: 500;
font-size: 15px;
text-transform: none;
}
.eppheader-menu-open-nav {
padding: 0 16px;
}
.eppheader-menu-open-nav a:hover {
text-decoration: underline;
}
.eppheader-menu-open ul {
background: #f8f8f8;
border-radius: 4px;
overflow: hidden;
padding: 24px 16px 16px;
}
.eppheader-menu-open li {
padding-bottom: 16px;
font-size: 16px;
line-height: 100%;
font-weight: 100;
text-transform: none;
text-align: left;
}
.eppheader-menu-open li a {
color: rgba(0, 0, 0, 0.8);
}
.eppheader-menu-open .disconnect {
display: block;
color: #EFB500;
font-family: “Benton Sans”, sans-serif;
font-weight: 500;
font-size: 14px;
line-height: 14px;
text-align: center;
text-transform: none;
margin: 17px auto 18px;
text-decoration: underline;
}
.eppheader-menu-open .disconnect:hover {
text-decoration: underline;
}
.eppheader-btn-subscription {
display: inline-block;
background: #FCBF00;
border-radius: 40px;
padding: 16px 26px;
margin: 7px 10px 12px;
color: #fff;
font-family: “Benton Sans”, sans-serif;
font-weight: 900;
font-size: 14px;
letter-spacing: .05px;
line-height: 17px;
text-align: center;
text-transform: uppercase;
}
.eppheader-nav {
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: center;
align-items: center;
}
.eppheader-nav ul {
display: flex;
}
.eppheader-nav li {
color: #000;
font-family: “Benton Sans”, sans-serif;
font-weight: 300;
font-size: 12px;
letter-spacing: .42px;
line-height: 15px;
text-align: center;
text-transform: uppercase;
display: inline-flex;
align-items: center;
}
.eppheader-nav li:before {
content: ‘·’;
margin: 0 20px;
}
.eppheader-nav li:first-child:before {
content: none;
}
.eppheader-nav a {
box-sizing: border-box;
padding: 20px 0;
border-bottom: 5px solid transparent;
letter-spacing: .6px;
min-width: 100px;
}
.eppheader-nav a.active, .eppheader-nav a:hover {
font-weight: 700;
border-bottom: 5px solid #fff;
letter-spacing: 0;
}
.boton_suscribete-movil {
display: none;
}
@media only screen and (max-width: 767px) {
#salida_portadilla #cabecera .contenedor_derecha {
padding-right: 5px;
}
.eppheader {
margin-bottom: 30px;
}
.eppheader:before {
transform: skew(0, -1.5deg);
top: 63%;
}
.eppheader-logo {
width: 125px;
}
.eppheader-primary {
margin: 0;
padding: 0 0 0 10px;
height: 47px;
}
.eppheader-login-content {
display: block;
width: 54px;
height: auto;
padding: 3px 10px 5px;
border-top: 2px solid transparent;
padding-right: 5px;
width: 49px;
}
.eppheader-login-content:before {
content: none;
}
.eppheader-subscription, .eppheader-user-name {
display: none;
}
.eppheader-user-name–mobile {
display: block;
}
.eppheader-login-content.logged .eppheader-user, .eppheader-user {
width: 33px;
height: 33px;
padding: 0;
background: url(“http://ep01.epimg.net/iconos/v2.x/v2.1/suscripcion/user-2.svg”) transparent no-repeat center center;
background-position: center top;
background-size: 100%;
box-shadow: inset 0 0 0 1.5px white;
border: 1px solid #f5d03a;
border-radius: 50%;
}
.eppheader-login-content.logged .eppheader-user {
background: #E8E8E8;
/*box-shadow: -1px -1px 6px 0 rgba(0, 0, 0, 0.09);*/
}
.eppheader-login-content.logged .eppheader-user-name {
text-align: center;
}
.eppheader-login-content.logged .arrow {
display: block;
position: absolute;
left: -3px;
opacity: .6;
width: 9px;
height: 6px;
background-size: 100%;
}
.eppheader-login-content.logged.subscribed {
background: #fff;
}
.eppheader-login-content.logged.subscribed .eppheader-user {
background: linear-gradient(270deg, #f6d03b 0%, #fcbf00 100%);
border: 0;
box-shadow: none;
}
.eppheader-login-content.open {
z-index: 12;
box-shadow: 0 -7px 7px 0 rgba(0, 0, 0, 0.09);
border-top: 2px solid #f5d03a;
width: 62px;
padding-left: 23px;
}
.eppheader-login-content.open .eppheader-user .arrow {
/*display: none;*/
transform: rotate(180deg);
left: 10px;
}
.eppheader-menu-open {
right: 20px;
top: calc(100% – 20px);
}
.eppheader-login-content.open + .eppheader-menu-open {
box-shadow: -1px -1px 6px 0 rgba(0, 0, 0, 0.09);
width: calc(100vw – 1.875rem);
right: 0;
top: 94%;
top: 45px;
width: calc(100vw – 10px);
max-width: 330px;
}
.eppheader-nav ul {
width: 100vw;
overflow-x: scroll;
height: 45px;
}
.eppheader-nav li {
height: 50px;
}
.eppheader-nav li:before {
margin: 0 5px;
}
.eppheader-nav li:last-child {
padding-right: 15px;
}
.eppheader-nav a {
font-size: 12px;
padding: 10px 0;
white-space: nowrap;
border: 0;
}
.boton_suscribete-movil {
display: block;
border-top: 2px solid #E2BE35;
background: #f6d03b;
background: -moz-linear-gradient(left, #f6d03b 0%, #f6d03b 100%);
background: -webkit-linear-gradient(left, #f6d03b 0%,#f6d03b 100%);
background: linear-gradient(to right, #f6d03b 0%,#f6d03b 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=’#f6d03b’, endColorstr=’#f6d03b’,GradientType=1 );
font-family: ‘Benton Sans’;
font-weight: 500;
color: #312806;
font-size: 11px;
line-height: 14px;
padding: 8px 10px;
text-align: center;
width: 100%;
text-indent: 0;
text-transform: uppercase;
height: auto;
margin-bottom: 5px;
}
}
@media (max-width: 37.438em){
body.salida_articulo .boton_suscribete-movil {
width: auto;
margin: 0 -0.625rem;
}
}
@media (max-width: 47.938em){
.eppheader-login-content.open + .eppheader-menu-open {
width: calc(100vw – 10px);
}
}
@media (max-width: 47.938em){ /* 767PX */
.visible .elpais-menu__interior {
width: 90%;
}
.elpais .ediciones {
padding: 3.788rem 2% 1rem;
}
.altocontraste {
right: auto;
left: 0.125rem;
top: 58px;
}
.tamanoletra {
top: 58px;
}
}
/* cabecera fija */
.principal–fijo .cabecera {
box-shadow: rgba(0, 0, 0, 0.1) 0 2px 4px;
}
@media (min-width: 48em){
.principal–fijo .cabecera-seccion {
background: white;
}
.principal–fijo .cabecera .eppheader-btn {
margin-top: 6px;
}
}
@media (min-width: 62.5em){
.principal–fijo .elpais-menu__interior {
max-width: 62.5rem;
width: 100vw;
}
body.salida_articulo_especial .principal–fijo .cabecera {
background-color: white;
}
}
/* EPMAS */
.the-header {
text-align: right;
}
.the-header .eppheader-btn {
display: inline-block;
text-align: left;
margin-right: 10px;
}
a.eppheader-btn-subscription:hover {
color: white;
opacity: 0.8;
}
@media (min-width: 768px) and (max-width: 1000px){
.eppheader-login-content:not(.subscribed):before {
content: none;
display: none;
}
.eppheader-subscription {
border-top: 3px solid white;
width: 83px;
padding-left: 8px;
padding-right: 8px;
}
.eppheader-login-content .eppheader-user {
text-align: left;
}
.eppheader-login-content:not(.logged) .eppheader-user {
width: 123px;
padding-left: 40px;
padding-right: 0;
}
.eppheader-login-content.logged .eppheader-user {
width: 109px;
padding-left: 10px;
}
.eppheader-login-content {
width: 207px;
}
.eppheader-login-content.logged {
width: 193px;
}
.eppheader-user {
letter-spacing: normal;
}
.eppheader-user .arrow {
width: 16px;
}
.open .eppheader-user {
background-color: white;
} .eppheader-login-content.subscribed {
width: 125px;
} .eppheader-login-content.subscribed .eppheader-user {
width: 125px;
padding-left: 20px;
font-weight: 700;
}
}
@media (min-width: 1001px){
.eppheader-subscription {
border-top: 3px solid white;
}
.eppheader-login-content .eppheader-user {
text-align: left;
}
.eppheader-login-content:not(.logged) .eppheader-user .eppheader-user-name {
font-size: 11px;
}
.principal–fijo .eppheader-login-content:not(.logged) .eppheader-user .eppheader-user-name {
text-transform: uppercase;
}
.eppheader-login-content:not(.logged) .eppheader-user {
width: 150px;
}
.eppheader-login-content.logged .eppheader-user {
width: 150px;
padding-left: 22px;
}
.open .eppheader-user {
background-color: white;
}
.principal–fijo .eppheader-user {
background-color: white;
text-transform: none;
font-size: 11px;
font-weight: 700;
}
.eppheader-login-content.logged.subscribed {
width: 150px;
}
.eppheader-login-content.logged.subscribed .eppheader-user {
font-weight: 700;
}
}
#elpais .navegacion-sucripcion ul .suscribete a {
background: -webkit-gradient(linear,right top,left top,from(#f6d03b),to(#fcbf00));
background: linear-gradient(270deg,#f6d03b,#fcbf00);
color: rgba(0,0,0,.8);
}
@media (max-width: 47.938em) {
.elpais-logo,
.principal–fijo .elpais-logo {
text-align: left;
margin-left: 48px;
}
}
@media (max-width: 767px){
#cabecera .elpais-logo a span {
background-size: auto 30px;
background-position: center left;
}
#usuario .eppheader-primary {
background: transparent;
padding: 7px 6px 9px 0;
display: block;
}
#usuario .eppheader-login-content {
width: 134px;
padding: 0;
}
#usuario .eppheader-subscription {
display: inline-block;
vertical-align: middle;
width: 86px;
padding: 0;
background: transparent;
border-right: 1px solid #E2E2E2;
height: 33px;
line-height: 32px;
color: #FDC002;
margin-right: 0;
} #usuario .eppheader-user {
float: right;
}
#usuario .eppheader-login-content.logged {
width: 142px;
}
#usuario .eppheader-login-content.logged .eppheader-subscription {
margin-right: 23px;
}
#usuario .eppheader-login-content.logged .eppheader-user {
position: relative;
overflow: visible;
}
#usuario .eppheader-login-content.logged .eppheader-user-name {
font-weight: 700;
}
#usuario .eppheader-login-content.logged .arrow {
left: -14px;
top: 12px;
}
#usuario .eppheader-login-content.logged.open {
box-shadow: none;
background: transparent;
border-top-color: transparent;
}
#usuario .eppheader-login-content.open + .eppheader-menu-open {
top: 48px;
-webkit-box-shadow: 0 0 14px 0 rgba(0,0,0,.09);
box-shadow: 0 0 14px 0 rgba(0,0,0,.09);
}
#usuario .eppheader-login-content.open + .eppheader-menu-open:before {
content: ”;
display: block;
position: absolute;
right: 0;
top: -47px;
width: 62px;
height: 47px;
border-top: 3px solid #F5D03A;
background: white;
z-index: 12;
}
#usuario .eppheader-login-content.logged.subscribed {
background: transparent;
}
#usuario .eppheader-login-content.logged.subscribed .arrow {
left: -13px;
top: 13px;
}
}
@media (min-width: 768px){
#cabecera__interior {
border-top: 1px solid black;
}
.principal–fijo #cabecera {
border-top: 1px solid black;
}
.principal–fijo #cabecera__interior {
border-top: none;
min-height: 49px;
}
.principal–fijo #cabecera .contenedor_derecha {
padding-right: 15px;
}
body.salida_articulo .principal–fijo #cabecera .contenedor_derecha {
padding-right: 10px;
}
.principal:not(.principal–fijo) #cabecera__interior {
padding-top: 6px;
}
#usuario .eppheader-login-content.logged .eppheader-user {
text-transform: uppercase;
}
}
@media (max-width: 1000px) and (min-width: 768px){
.principal–fijo .elpais-logo {
float: left;
margin-left: 3rem;
}
#usuario .eppheader-login-content {
width: 213px;
}
#usuario .eppheader-login-content:not(.logged) .eppheader-user {
font-size: 11px;
font-weight: 700;
letter-spacing: -0.29px;
width: 129px;
background-color: white;
padding-left: 38px;
background-position: 6px center;
}
#usuario .eppheader-login-content.logged {
max-width: 236px;
width: auto;
justify-content: flex-end;
}
#usuario .eppheader-login-content.logged .eppheader-user {
font-size: 11px;
font-weight: 700;
letter-spacing: -0.29px;
background-color: white;
padding-left: 10px;
padding-right: 30px;
width: auto;
display: inline-block;
line-height: 35px;
}
#usuario .eppheader-login-content.logged .eppheader-user .arrow {
width: 10px;
position: absolute;
right: 11px;
top: 16px;
}
#usuario .eppheader-login-content.logged .eppheader-subscription {
font-weight: 700;
}
#usuario .eppheader-login-content.logged.subscribed .eppheader-user {
padding-left: 22px;
line-height: 37px;
}
#usuario .eppheader-login-content.logged.subscribed .eppheader-user .arrow {
top: 14px;
}
}
@media (min-width: 1001px) {
#usuario .eppheader-subscription {
font-weight: 700;
}
#usuario .eppheader-login-content {
width: 260px;
}
#usuario .eppheader-login-content:not(.logged) .eppheader-user {
font-size: 11px;
font-weight: 700;
letter-spacing: -0.29px;
width: 150px;
background-color: white;
padding-left: 38px;
background-position: 6px center;
}
#usuario .eppheader-login-content.logged .eppheader-user {
font-size: 11px;
font-weight: 700;
letter-spacing: -0.29px;
background-color: white;
padding-left: 22px;
padding-right: 30px;
width: 150px;
display: inline-block;
line-height: 35px;
}
#usuario .eppheader-login-content.logged .eppheader-user .arrow {
width: 10px;
position: absolute;
right: 11px;
top: 16px;
}
#usuario .eppheader-login-content.logged.subscribed {
width: 150px;
}
#usuario .eppheader-login-content.logged.subscribed .eppheader-user {
line-height: 37px;
padding-left: 24px;
}
#usuario .eppheader-login-content.logged.subscribed .eppheader-user .arrow {
top: 14px;
}
}
#usuario .eppheader-menu-open-header:empty {
display: none;
}
#usuario .eppheader-menu-open-nav:nth-child(1) {
padding-top: 16px;
}

.principal:not(.principal–fijo) #capausuario {
margin-top: 3px;
}
.principal–fijo #cabecera {
max-width: 100% !important;
}
.principal–fijo .cabecera .cabecera-superior .cabecera-superior__interior .contenedor_derecha {
width: 17rem;
padding-right: 0;
text-align: right;
}
.principal–fijo .cabecera .seccion-migas,
.principal–fijo .cabecera-seccion,
.principal–fijo .cabecera {
background: black !important;
} #capausuario .eppheader-login-content:before {
background-image: url(‘/iconos/v2.x/v2.1/suscripcion/logoE+EPS.svg’);
}
@media (max-width:767px){
.cabecera .cabecera-superior .cabecera-superior__interior .contenedor_derecha .usuario {
display: block;
float: right;
}
.eppheader-primary {
background: black;
}
.eppheader-login-content:not(.open) .eppheader-user .arrow {
background-image: url(‘/iconos/v2.x/v2.1/suscripcion/arrow-login-white.svg’);
}
#cabecera .elpais-logo a span {
background-size: auto 1.625rem;
background-position: left 0.563rem;
width: 6.875rem;
}
#usuario .eppheader-login-content .eppheader-subscription {
display: none;
}
.principal–fijo .cabecera .elpais-logo {
margin-left: 48px;
}
#cabecera .elpais-logo a span {
background-size: auto 1.375rem;
background-position: left 0.763rem;
}
#usuario .eppheader-login-content.open + .eppheader-menu-open {
right: -5px;
width: 100vw;
}
.principal:not(.principal–fijo) .cabecera .cabecera-seccion .seccion .seccion-migas {
left: 149px;
}
.principal:not(.principal–fijo) #capausuario {
margin-top: 0;
}
#usuario .eppheader-login-content:not(.logged) .eppheader-user {
background-color: white;
box-shadow: inset 0 0 0 1.5px black;
background-image: url(‘/iconos/v2.x/v2.1/suscripcion/user.svg’);
}
#usuario .eppheader-login-content:not(.logged).open .eppheader-user {
background-color: black;
box-shadow: inset 0 0 0 1.5px white;
background-image: url(‘/iconos/v2.x/v2.1/suscripcion/user-white.svg’);
}
#usuario .eppheader-login-content.open + .eppheader-menu-open:before {
top: -48px;
height: 48px;
}
#usuario .eppheader-login-content:not(.logged) .arrow {
display: none;
}
#usuario .eppheader-login-content.open:not(.logged) + .eppheader-menu-open:before {
width: 55px;
}
#usuario .eppheader-login-content.open:not(.logged) {
border-top: none;
}
}
@media (max-width: 37.438em){
body.salida_articulo .boton_suscribete-movil {
margin: 0;
width: 100%;
}
}
@media (min-width: 768px){
#cabecera__interior {
border-top: none;
}
.principal–fijo #cabecera {
border-top: none;
}
.principal:not(.principal–fijo) #cabecera__interior {
padding-top: 0;
}
.principal–fijo #cabecera .contenedor_derecha {
padding-right: 1px;
}
.principal:not(.principal–fijo) .cabecera .cabecera-superior {
height: 46px;
padding-top: 6px;
}
.eppheader-subscription {
border-top-color: black;
}
.cabecera .cabecera-superior .cabecera-superior__interior .contenedor_derecha {
padding-right: 14px;
}
.principal–fijo .cabecera .cabecera-superior .cabecera-superior__interior .contenedor_derecha .usuario {
float: right;
margin-right: 14px;
}
}
@media (min-width: 1001px){
.eppheader-subscription {
border-top: 3px solid black;
}
}

‘; loginContentHeader.innerHTML = headerHTML; } var loginContent = document.querySelector(“#loginContent”); if (loginContent) { var htmlLoginContent = loginContent.innerHTML; loginContent.innerHTML = ”; htmlLoginContent += ‘

‘; htmlLoginContent += ”; htmlLoginContent += ‘

‘; htmlLoginContent += ‘

‘; loginContent.innerHTML = htmlLoginContent; } loginContentHeader.classList.add(‘open’); var userHeader = document.querySelector(“#userHeader”); userHeader.addEventListener(“click”, function(event) { event.preventDefault(); var loginContentHeader = document.querySelector(“#loginContentHeader”); if (!loginContentHeader.classList.contains(‘open’)) { loginContentHeader.classList.add(‘open’); } else { loginContentHeader.classList.remove(‘open’); } }); } else { loginContentHeader.classList.remove(‘open’); userHTMLin = ”; userHTMLin += ‘Suscríbete‘; userHTMLin += ‘‘; userHTMLin += ‘Iniciar Sesión‘; userHTMLin += ‘‘; userHTMLin += ‘‘; loginContentHeader.innerHTML = userHTMLin; var loginContent = document.querySelector(“#loginContent”); loginContent.innerHTML = ”; } }); }

Leave a Reply