@import url(https://fonts.googleapis.com/css?family=Alegreya+Sans:300,400,700);



/* ICON STYLES - ICON FROM: http://fontastic.me/
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@font-face {
  font-family: "untitled-font-1";
  src:url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/162656/untitled-font-1.eot");
  src:url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/162656/untitled-font-1.eot#iefix") format("embedded-opentype"),
    url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/162656/untitled-font-1.woff") format("woff"),
    url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/162656/untitled-font-1.ttf") format("truetype"),
    url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/162656/untitled-font-1.svg#untitled-font-1") format("svg");
  font-weight: normal;
  font-style: normal;
}

[class^="icon-"]:after,
[class*=" icon-"]:after {
  font-family: "untitled-font-1";
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  speak: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-up-open-big { display: inline-block; }

.icon-up-open-big:after {
  content: "a";
  font-size: 2.5em;
  display: block;
  -webkit-transform: rotateX(180deg);
          transform: rotateX(180deg);
  color: black;
  -webkit-transition: color .3s;
          transition: color .3s;
}

.icon-up-open-big:hover:after {
	color: white;	
}

.scroll-icon {
	position: absolute;
 	left: 50%;
  bottom: 30px;
  padding: 0 10px;
  	-webkit-transform: translateX(-50%);
  	        transform: translateX(-50%);
}



/* HELPER CLASSES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}

.clearfix:after {
  clear: both;
}

.l-left {
	float: left;
}

.l-right {
	float: right;
}

.end {
	margin-top: 30px;
	font-size: 3em;
	font-weight: bold;
	opacity: 0;
	-webkit-transform: translateY(300px);
	        transform: translateY(300px);
	-webkit-transition: opacity, -webkit-transform 1s;
	        transition: opacity, -webkit-transform 1s;
	        transition: opacity, transform 1s;
	        transition: opacity, transform 1s, -webkit-transform 1s;
	-webkit-transition-delay: 1s;
	        transition-delay: 1s;
}



/* RESET-GENERAL STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

* {
	margin: 0;
	padding: 0;
	font-family: 'Alegreya Sans', Arial, sans-serif;
	text-transform: uppercase;
}

html {
	font-size: 62.5%;
}

body {
	color: black;
	letter-spacing: .18em;
}

a {
	text-decoration: none;
	color: #666666;
}

ul, li {
	list-style-type: none;
}



/* NAV STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.header-top {
	background: rgba(0, 0, 0, .7);
	height: 70px;
	padding: 0 10%;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 12;
	box-sizing: border-box;
}

h1 {
	line-height: 70px;
	height: 70px;
}

h1 a {
	display: block;
	padding: 0 10px;
}

.logo{width: 7%;}
.logo img {
    width: 100%;
    vertical-align: middle;
}

.toggle-menu {
	width: 50px;
	height: 50px;
	display: inline-block;
	position: relative;
	top: 10px;
}

.toggle-menu i {
	position: absolute;
	display: block;
	height: 2px;
	background: white;
	width: 30px;
	left: 10px;
	-webkit-transition: all .3s;
	        transition: all .3s;
}

.toggle-menu i:nth-child(1) {
	top: 16px;
}

.toggle-menu i:nth-child(2) {
	top: 24px;
}

.toggle-menu i:nth-child(3) {
	top: 32px;
}

.open-menu i:nth-child(1) {
	top: 25px;
	-webkit-transform: rotateZ(45deg);
	        transform: rotateZ(45deg);
}

.open-menu i:nth-child(2) {
	background: transparent;
}

.open-menu i:nth-child(3) {
	top: 25px;
	-webkit-transform: rotateZ(-45deg);
	        transform: rotateZ(-45deg);
}

nav {
 	height: 0;
	opacity: 0;
  	box-sizing: border-box;
	/*background: rgba(244, 237, 210, .8);*/
	position: fixed;
	top: 70px;
	width: 100%;
  	-webkit-transition: all 3s;
    transition: all 3s;
}

.open-menu ~ nav {
	opacity: 1;
 	padding: 0 0 10px;
	z-index: 15;
	height: calc(13vh - 70px);
}

nav ul {
	padding: 0 10%;
	display: -webkit-box;
	display: -ms-flexbox;
	/*display: flex;*/
	background: rgba(244, 237, 210, .8);
}

nav li {
	-webkit-box-flex: 1;
	    -ms-flex: 1;
	        flex: 1;
}

nav li a {
	color: #000;
	font-size: 1.5em;
	display: block;
	padding: 26px;
	text-align: center;
	-webkit-transition: color .3s;
	        transition: color .3s;
}

nav li:nth-child(odd) a,
body.fp-viewing-fifthSection-1 #menu li:nth-child(5) a {
	/*background: #962D3E;*/
}

nav li:nth-child(even) a {
	/*background: #aa3346;*/
}

nav li:nth-child(odd) a:hover {
	color: #990000;
}

nav li:nth-child(even) a:hover {
	color: #990000;
}

nav li.active a,
body.fp-viewing-fifthSection-1 #menu li:last-child a {
  /*background: #453659;*/
}
  


/* SECTION STYLES - fullPage.js 
–––––––––––––––––––––––––––––––––––––––––––––––––– */

section { 
	/*text-align: center;*/
	  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#eeeeee+0,cccccc+100;Gren+3D */
	background: #eeeeee; /* Old browsers */
	background: -moz-linear-gradient(top,  #eeeeee 0%, #cccccc 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #eeeeee 0%,#cccccc 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #eeeeee 0%,#cccccc 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#cccccc',GradientType=0 ); /* IE6-9 */

}

h2 {
	/*text-transform: lowercase;*/
	font-size: 4.5em;
	margin-top: 20px;
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
	text-align: left;
	padding-left: 10%;

}

h3 {
	font-weight: 300;
	
}




/* SLIDENAV STYLES - fullPage.js 
–––––––––––––––––––––––––––––––––––––––––––––––––– */

#fp-nav ul li a span, 
.fp-slidesNav ul li a span {
	background: white;
	width: 8px;
	height: 8px;
	margin: -4px 0 0 -4px;
}

#fp-nav ul li a.active span, 
.fp-slidesNav ul li a.active span, 
#fp-nav ul li:hover a.active span, 
.fp-slidesNav ul li:hover a.active span {
	width: 16px;
	height: 16px;
	margin: -8px 0 0 -8px;
	background: transparent;
	box-sizing: border-box;
	border: 1px solid #FFF;
}

/* Especial 
_________________________________________________*/
.instruc{width: 30%; position: absolute; top: 5%; right: 0;}
#svgMapa{width: 450px;height: 600px; position: relative;}
.land:hover, .land:hover path{fill: #FFFFFF !important;/*stroke: black !important;*/}

.titulo{width: 100%;  margin-top: 1%;}
.subtitulo{width: 50%; border-left: 35px solid transparent; border-bottom: 60px solid #000; height: 0; margin-top: -0.5%; color: #fff; z-index: 1;}
.container{width: 120em; margin: 0 auto ; padding-top: 10%;}
#encabezado{position: fixed;width: 55%; z-index: 100;}
#encabezado .titulo{background: #990000; color: #fff;}
#encabezado .titulo h2{font-size:4em; padding-left: 5%; margin-top: 8px; line-height: 45px;}
#encabezado .titulo h3{font-size:2em; padding: 0 5%; margin-bottom: 10px; text-align: left;}
.afro, .indigena, .exterior {border: 1px solid #ccc;padding: 1%; border-radius: 10px; margin: 1% auto; width: 72%;}
.afro h3, .indigena h3, .exterior h3{font-family: 'Roboto Condensed', sans-serif;}
.afro .candidatos .icono-s, .afro .candidatos .icono-r, .indigena .candidatos .icono-s, .indigena .candidatos .icono-r, .exterior .candidatos .icono-s, .exterior .candidatos .icono-r {position: absolute;width: 15px;height: 15px;top: 35px;left: 45px;}

.botones{margin: 5% 0;}
.botones ul{text-align: center;}
.botones ul li{ display: inline-block; border:1px solid #ddd; border-radius: 10px; text-align: center; padding: 2% 0; margin: 0 1%; font-size: 1.3em;}
.botones ul a{color: #000;}
.botones ul a:hover{color: #fff;}
.doce{background: url(../images/btn-1.png) #bbb no-repeat;}
.datos{background: url(../images/btn-2.png) #bbb no-repeat;}

.btn-map{position: absolute; top: 5%; right: 10%; width: 12%; border: 1px solid #666; border-radius: 10px;padding: 5px;}
.btn-map:hover{color: #990000;}
.btn-map img{width: 20%;}
.btn-map span{font-size: 1.35em; margin: 5% 0;}
.info .subtitulo{border-bottom: 60px solid #6a0200;}
.info .depart h2{font-size: 7em; margin-top: 140px; padding-left: 0;}
.info .mapa{width: 90%; text-align: center;}
.info .mapa img{width: 100%;}
.info .candidatos{list-style: none; margin-top: 5%; width: 100%;}
.info .candidatos li{margin: 1%; display: inline-block;width: 30.5%; position: relative;}
.info .candidatos li a{color: black;}
.info .candidatos li img{height:80px; width: 80px; border-radius: 50%; margin-right: 10px;}
.info .candidatos li p{font-size: 1.5em; margin: 7% 0; text-align: left; width: 50%;}
.info .otros-can{width: 50%;}
.info .otros-can h3{font-size: 1.5em; font-weight: 600;}
.info .otros-can li{width: 47%;}
.info .otros-can li img{width: 60px; height: 60px;}


.fp-tableCell{vertical-align: inherit !important; height: 400px !important; }
.oculto{background: rgba(0,0,0,0.5); padding: 0.5%; text-align: center; margin: 1% auto 0; width: 96%;}

.convencion ul{list-style: none;text-align: center;}
.convencion ul li{ display: inline-block; text-align: center; margin: 0 10px;}
.icono-s{background: #BD9C55; width: 25px; height: 25px; border:2px solid #000; border-radius: 50px; margin: 10px auto;}
.icono-r{background: #5E2D70; width: 25px; height: 25px; border:2px solid #000; border-radius: 50px; margin: 10px auto;}
.candidatos .icono-s, .candidatos .icono-r {position: absolute;width: 20px;height: 20px;top: 50px;left: 50px;}

footer{font-size: 1em; color: rgba(0,0,0,.5); margin: 0 auto; position: fixed; bottom: 0; right: 0; margin: 0 5px 5px 0;}








/* MQ STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media screen and (max-width: 1400px) {
	#svgMapa{width: 450px;height: 600px;}
	.container{padding-top: 12%;}
	.home .titular{font-size: 9em;}
	.info .candidatos{margin-top: 0;}
	.stats .titulo h2{margin-top: 8px; line-height: 45px;}
	.jugadores .info{ width: 60%; margin-top: 10%; }
	.dts #timeline #issues h2{ font-size: 4.5em; }
	.dts #issues li img{width: 33%;}
}

@media screen and (max-width: 767px) {
	nav ul {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
	}

	nav li {
		margin-top: 1px;
	}
  
  nav li a {
    font-size: 1.5em;
  }
  
  .scroll-icon {
    display: none;
  }
}

@media screen and (max-width: 400px) {
  html {
    font-size: 50%;
  }
  
  .open-menu ~ nav {
		padding: 20px 0;
	}

	nav li a {
		padding: 3px;
	}
}