* {
	padding: 0;
	margin: 0;
}
html {
	font-size: 0.625em;
}
body {
	font-size: 1.6rem;
	font-family: 'Open Sans', san-serif;
	overflow-X: hidden;
}

html{
  min-height:100%;
  position:relative;
}
body{
 /* margin-bottom:120px;altura del footer*/


}
footer{
  /*position:absolute;
  bottom:0;
  left:0;
  width:100%;
  height:120px;margin del body*/
}



/**********HEADER**************
#logo {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 5000;
	width: 150px;
	height: 80px;
	background: #000;
}
#logo a {
	position: absolute;
	bottom: 10px;
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
}
*/

#menu{
    font-size: 0;
    list-style: none;
    /* text-align: center; */
    max-width: 1100px;
    margin: 0 auto 40px;
}
#menu li{
	font-size:1.4rem;
	color:#fff;
	background:#bbb;
	display:inline-block;
	vertical-align:top;
	margin:10px;
	padding:10px;
	border-radius:6px;
	cursor:pointer;
	font-weight:700;
	transition:0.2s linear;
}
/*#menu li:hover{
	color:#fff;
	background:#b90021;
}
#menu li.activo{
	color:#fff;
	background:#b90021;
}*/
#menu li:nth-of-type(1){
	background:#e09da1;
}
#menu li:nth-of-type(2){
	background:#c7e4ef;
}
#menu li:nth-of-type(1).activo{
	color:#fff;
	background:#b90021;
}
#menu li:nth-of-type(2).activo{
	color:#fff;
	background:#59acc9;
}
#menu li:nth-of-type(1):hover{
	color:#fff;
	background:#b90021;
}
#menu li:nth-of-type(2):hover{
	color:#fff;
	background:#59acc9;
}













header {
    height: 420px;
}

header .cabecera{
	padding:50px 8px;
	box-sizing:border-box;
}
header .cabecera h1{
	font-size:3rem;
}
header .cabecera h2{
	font-size:1.8rem;
	color:#333;
}

/**********CONTENIDO**************/
#contenido {
	padding:10px;
	padding-top:0;
	box-sizing:border-box;
}
#contenido section {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}
#contenido img{
    width: 100%;
    height: auto;
    max-width: 915px;
    display: block;
    margin: 0 auto;
}
#mayores ul{
	font-size: 0;
    list-style: none;
	margin-bottom: 30px;
}
#mayores li {
    display: inline-block;
    width: 16px;
    height: 30px;
    font-size: 1.1rem;
    vertical-align: middle;
}

#mayores li:nth-of-type(1), #mayores li:nth-of-type(8) {
    width: 92px;
    padding: 0 5px;
    line-height: 30px;
}

#mayores li:nth-of-type(2){
	background:#910D1A;
}
#mayores li:nth-of-type(3){
	background:#BF0811;
}
#mayores li:nth-of-type(4){
	background:#C92D34;
}
#mayores li:nth-of-type(5){
	background:#D96E73;
}
#mayores li:nth-of-type(6){
	background:#E8A6A9;
}
#mayores li:nth-of-type(7){
	background:#EDBBBE;
}







#jovenes ul{
	font-size: 0;
    list-style: none;
	margin-bottom: 30px;
}
#jovenes li {
    display: inline-block;
    width: 16px;
    height: 30px;
    font-size: 1.1rem;
    vertical-align: middle;
}

#jovenes li:nth-of-type(1), #jovenes li:nth-of-type(8) {
    width: 92px;
    padding: 0 5px;
    line-height: 30px;
}

#jovenes li:nth-of-type(2){
	background:#0071BC;
}
#jovenes li:nth-of-type(3){
	background:#3991CB;
}
#jovenes li:nth-of-type(4){
	background:#65A9D7;
}
#jovenes li:nth-of-type(5){
	background:#A1CAE6;
}
#jovenes li:nth-of-type(6){
	background:#C2DDEF;
}
#jovenes li:nth-of-type(7){
	background:#C8E0F1;
}




















/******AUTOR*********/


#autor{
    border-top: 1px solid #ddd;
    text-align: center;
    max-width: 1500px;
    margin: 15px auto;
    font-size: 1.3rem;
    color: #666;
}
#autor li{
	display:inline-block;
	vertical-align:top;
	padding:2px 10px;
}


/****COOCKIES****/
#barracookies{
	position: fixed;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    width: 100%;
    z-index: 500000;
    padding: 10px;
    box-sizing: border-box;
    font-size: 1.3rem;
}
#barracookies p{
	text-align:center;
	max-width:1000px;
	margin:0 auto;
}
#barracookies a{
	text-decoration:none;
	color:#ccc;
	display:inline-block;
	border-bottom: 1px solid transparent;
}
#barracookies a:nth-of-type(1):hover{
	border-bottom: 1px solid #b90021;
}
#barracookies a b{
	color:#fff;
	background:#b90021;
	padding:0 5px;
	border-radius:5px;
	transition:0.2s linear;
}
#barracookies a:hover b{
	background:#730216;
	border:0;
}
/**********SOCIAL********/

/****ANUNCIO*****/
#robapaginas_2 {
	left: 50%;
	display: inline-block;
	position: relative;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
}
/******************/
#social {
	text-align: center;
	padding: 40px 0;
}
#social li {
	display: inline-block;
	margin: 0 5px;
	font-size: 2rem;
}
#social a {
	color: #000;
	text-decoration: none;
	border: 2px solid #000;
	border-radius: 50%;
	padding: 10px;
	display: block;
	line-height: 25px;
	height: 25px;
}
#social span {
	display: none;
}
#social .icon-facebook {
	color: #3b5998;
	border-color: #3b5998;
}
#social .icon-facebook:hover {
	color: #fff;
	background: #3b5998;
}
#social .icon-twitter {
	color: #55acee;
	border-color: #55acee;
}
#social .icon-twitter:hover {
	color: #fff;
	background: #55acee;
}
#social .icon-gplus {
	color: #dd4b39;
	border-color: #dd4b39;
}
#social .icon-gplus:hover {
	color: #fff;
	background: #dd4b39;
}
#social .icon-whatsapp {
	color: #4dc247;
	border-color: #4dc247;
}
#social .icon-whatsapp:hover {
	color: #fff;
	background: #4dc247;
}


/****FOOTER****/
.pie-row {
	/*overflow:hidden;*/
	position: relative;
}
.pie-row:after {
	clear: both;
	display: block !important;
	content: " ";
	width: 210%;
	height: 120px;
	background: white;
	position: absolute;
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	z-index: -1;
	top: -40px;
}
article footer:before {
	content: "";
	display: none;
}
/****FOOTER****/
.pie-container {
    padding: 0 0 10px;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}
.pie-container .pie-row {
    max-width: 1000px;
    margin: 500px auto 20px !important;
	padding: 0 20px !important;
}

@media screen and (min-width:960px) {

#logo {
	left: 50px;
}
header {
    height: 280px;
}
header .cabecera{
	padding-top: 100px;
    max-width: 1100px;
    margin: 0 auto;
}
#contenido {
	padding:50px;
	padding-top:0;
	box-sizing:border-box;
}
#mayores ul{
	margin-bottom: 0;
    position: absolute;
    right: 0;
    top: -85px;
}
#mayores li{
	width:50px;
	font-size:1.4rem;
}
#mayores li:nth-of-type(1), #mayores li:nth-of-type(8){
    width: 120px;
}

#jovenes ul{
	margin-bottom: 0;
    position: absolute;
    right: 0;
    top: -85px;
}
#jovenes li{
	width:50px;
	font-size:1.4rem;
}
#jovenes li:nth-of-type(1), #jovenes li:nth-of-type(8){
    width: 120px;
}


}
