html,body{
	min-height: 100%;
	height: 100%;
	background:url(/img/sitio/bg.jpg);
}
header{
	background: url(/img/sitio/bg-header.png) repeat-x;
	background-size: contain;
	position: relative;
	text-align: center;
	padding:20px;
	margin-bottom: 20px;
}
header.header-pagina{
	margin-bottom: 0;
}
header .ediciones-anteriores {
	display: inline-block;
	position: absolute;
	left: 22px;
	top:50%;
	transform: translateY(-50%);
	z-index: 999;
	cursor:pointer;
	color:#FFF;
    padding: 10px 0px;
}
header .ediciones-anteriores a{
	color:#FFF;
	text-decoration: none;
}
header .ediciones-anteriores:hover .listado-ediciones-anteriores{
	display: block;
}
header .ediciones-anteriores img,
header .ofertas img{
	width: 15px;
	vertical-align: top;
}
header .ofertas a,
header .ediciones-anteriores a{
	background-size:cover !important;
	background-position: top center;
	display: block;
}
header .listado-ediciones-anteriores img{
	max-width: 100%;
	height: auto;
	display: block;
	width: 100%;
}
header .logo{
	width: 200px;
	display: inline-block;
}
header .logo img{
	max-width: 100%;
	height: auto;
	display: block;
}

header .ofertas {
	display: inline-block;
	position: absolute;
	left: 150px;
	top:50%;
	transform: translateY(-50%);
	z-index: 999;
	color:#FFF;
	cursor:pointer;
}
header .ofertas:hover .listado-ediciones-anteriores{
	display: block;
}

header .contacto {
	display: inline-block;
	position: absolute;
	right: 3%;
	top:50%;
	transform: translateY(-50%);
	color:#FFF;
	font-size: 13px;
}
header .contacto  a{
	color:#FFF;
}

header .listado-ediciones-anteriores{
	position: absolute;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.3);
    box-shadow: 0 0 3px rgba(0,0,0,0.3);
    padding:0;
    margin:0;
    width: 400px;
    max-height: 300px;
    overflow: auto;
    font-size: 0;
    background:#FFF;
    padding:10px;
    text-align: left;
    display: none;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
header .listado-ediciones-anteriores li{
	width: 49%;
	margin-right: 2%;
	display: inline-block;
	font-size: 13px;
	margin-bottom:2%;
	text-align: center;
}
header .listado-ediciones-anteriores li:nth-child(2n+2){
	margin-right: 0;
}
header .listado-ediciones-anteriores li a{
	background: #d7dfe2;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: inset 1px 1px 3px #bfc6c8;
    box-shadow: inset 1px 1px 3px #bfc6c8;
    color: #3c6f79;
    display: block;
    font-size: 11px;
    text-decoration: none;

}


.wrapper{
	padding:0 1%;
	font-size: 0;
	overflow: hidden;
}
.wrapper>div{
	display: inline-block;
	font-size: 13px;
	vertical-align: top;
}
.wrapper .col-4{
	width: 29%;
	padding-right: 40px;
	margin-right: 1%
}
.wrapper .col-6{
	width: 70%;
}

.listado-publicidad{
	padding:0;
	margin:0;
	overflow: auto;
}
.listado-publicidad li{
	list-style: none;
	margin-bottom:10px;
}
.listado-publicidad li img{
	display: block;
	max-width: 100%;
	height: auto;
}


.paginas-revista{
	padding:0 40px 0 0;
	margin:0;
	font-size: 0;
}
.paginas-revista li{
    border: 1px solid #c6c5c5;
    display: inline-block;
    font-size: 12px;
    margin-bottom: 1%;
    text-align: center;
    width: 49.5%;
    background: #f9f9f9;
    background: -webkit-linear-gradient(top, #edecec, #e9e9e9) !important;
    background: -moz-linear-gradient(top, #edecec, #e9e9e9) !important;
    background: -o-linear-gradient(top, #edecec, #e9e9e9) !important;
    background: -ms-linear-gradient(top, #edecec, #e9e9e9) !important;
    background: linear-gradient(to bottom, #edecec, #e9e9e9) !important;
}
.paginas-revista li:nth-child(odd) {
    margin-right: 1%;
}

.paginas-revista  li a{
	display: block;
    padding: 25px 5px;
    width: 100%;
}
.paginas-revista  li img{
	display: block;
    height: auto;
    margin: 0 auto;
    max-width: 502px;
    width: 100%;
}

.paginas-revista  figure{
    margin: 0;
}
.paginas-revista  figure figcaption{
    background: url(/img/sitio/bg-pagina.jpg) repeat-x;
    color: #3c6f79;
    text-shadow: 1px 1px 1px #fff;
    padding: 0 5px;
    height: 37px;
    line-height: 37px;
    border-bottom: 1px solid #c6c5c5;
    text-align: center;
}

.listado-ediciones li{
    width: 19%;
    margin-right: 1%;
}

.pagina-revista{
	display: block !important;
	padding-bottom:20px;
}
.pagina-revista img{
	max-width: 100%;
	display: block;
	height: auto;
	margin:0 auto;
}
.botonera-pagina{
	display: block !important;
}
.botonera-pagina ul{
	padding:0;
	margin:0;
	font-size: 0;
}
.botonera-pagina ul li{
	display: inline-block;
	width: 25%;
	font-size: 13px;
	text-align: center;
	vertical-align: middle;
}
.botonera-pagina ul li a{
    color: #1c2324;
    font-size: 18px;
    display: block;
    text-decoration: none;
    text-align: center;
    height: 50px;
    line-height: 50px;
    font-weight: 700;
    text-shadow: 1px 1px 1px #fff;
}
.publicidad-movil-w{
		display: none !important;
	}
	.publicidad-movil{
		padding:0 40px 0 20px;
	}
	.titulo{
	    margin: 0 0 10px 0;
	    color: #51297C;
	    font-size: 19px;
	}
@media (max-width: 800px ){
	header{
		margin-bottom: 0px;
	}
	.listado-publicidad li {
	    margin-bottom: 0;
	}
	.wrapper .col-4{
		width: 100%;
		height: auto !important;
		padding-right: 0;
	}
	.col-6{
		width: 100% !important;
	}
	.botonera-pagina ul li a span{
		display: none;
	}
	.publicidad-pc{
		display: none;
	}
	.publicidad-movil-w{
		display: block !important;
	}
	.wrapper{

	    padding: 0;
		height: auto !important;
	}
	.scroll-wrapper{
		padding:0 1%;
	}
	.paginas-revista {
	    padding: 0 40px 0 20px;
	}
	.titulo {
	    padding: 0 20px;
	    margin: 10px 0;
	}
}

@media (max-width: 750px ){
	header{
		text-align: right;
	}
	header .logo {
		width: 150px;
	}
	header.header-pagina{
		text-align: center;
	}
}
@media (max-width: 500px ){
	.paginas-revista li {
	    display: block;
	    margin-bottom: 1%;
	    width: 100%;
	}
	header .listado-ediciones-anteriores{
	    width: 80vw;
	    z-index: 20;

	}

	header .ediciones-anteriores,
	header .ofertas{
		padding: 6px 0;
	}

}

