@media screen and (-webkit-min-device-pixel-ratio:0) {
	@font-face {
		font-family: 'icomoon';
		src: url('../fonts/icomoon.svg#icomoon') format('svg');
	};
}

.icon-menu {
	font-family: icomoon;
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
}

.icon-team:before {
	
	background-image: url(../img/ico-casa.png);
	background-repeat: no-repeat;
}

a, li {
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}



.nav ul {
	max-width: 1150px;
	padding: 0;
	list-style: none;
	font-size: 1.4em;
	font-weight: 300;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 5px;
	margin-left: auto;
	text-align: center;
	width: 100%;
}

.nav li span {
	display: block;
	padding: 0px;
	margin-top: 10px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}

.nav a {
	display: block;
	color: rgba(249, 249, 249, .9);
	text-decoration: none;
	-webkit-transition: color .5s, background .5s, height .5s;
	-moz-transition: color .5s, background .5s, height .5s;
	-o-transition: color .5s, background .5s, height .5s;
	-ms-transition: color .5s, background .5s, height .5s;
	transition: color .5s, background .5s, height .5s;
	box-shadow: 1px 5px 5px rgba(0,0,0,0.2);
}

.nav i{
	
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	-o-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}


a, button {
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}



.no-touch .nav ul:hover a {
	color: rgba(249, 249, 249, .5);
}

.no-touch .nav ul:hover a:hover {
	color: rgba(249, 249, 249, 0.99);
}



.nav li:nth-child(6n+1) {
	background-color: #FABD50;
	background-image: url(../img/fondo-botones.png);
	
}

.nav li:nth-child(6n+2) {
	background: #e8773a;
	background-image: url(../img/fondo-botones.png);
}
.nav li:nth-child(6n+3) {
	background: #7daa29;
	background-image: url(../img/fondo-botones.png);
}

.nav li:nth-child(6n+4) {
	background: #94d3c2;
	background-image: url(../img/fondo-botones.png);
}

.nav li:nth-child(6n+5) {
	background: #3f7fa9;
	background-image: url(../img/fondo-botones.png);
}

.nav li:nth-child(6n+6) {
	background: rgb(21, 40, 54);
}
.nav li:nth-child(6n+7) {
	background: rgb(21, 40, 54);
}


@media (min-width: 50em) {


	.nav li {
	width: 25%;
	text-align: center;
	-webkit-transition: border .5s;
	-moz-transition: border .5s;
	-o-transition: border .5s;
	-ms-transition: border .5s;
	transition: border .5s;
	float: left;
	}

	.nav a {
		display: block;
		width: auto;
	}


	.no-touch .nav li:nth-child(6n+1) a:hover,
	.no-touch .nav li:nth-child(6n+1) a:active,
	.no-touch .nav li:nth-child(6n+1) a:focus {
	border-bottom-width: 4px;
	border-bottom-style: solid;
	border-bottom-color: #CE3122;
	/*background-image: url(../gif/adiccion.gif);
	background-repeat: no-repeat;
	background-position: 10px 10px;*/
	}

	.no-touch .nav li:nth-child(6n+2) a:hover,
	.no-touch .nav li:nth-child(6n+2) a:active,
	.no-touch .nav li:nth-child(6n+2) a:focus {
	border-bottom-width: 4px;
	border-bottom-style: solid;
	border-bottom-color: #F03424;
	/*background-image: url(../gif/adiccion.gif);
	background-repeat: no-repeat;
	background-position: 10px 10px;*/
	}

	.no-touch .nav li:nth-child(6n+3) a:hover,
	.no-touch .nav li:nth-child(6n+3) a:active,
	.no-touch .nav li:nth-child(6n+3) a:focus {
	border-bottom-width: 4px;
	border-bottom-style: solid;
	border-bottom-color: #F03424;
	/*background-image: url(../gif/adiccion.gif);
	background-repeat: no-repeat;
	background-position: 10px 10px;*/
	}

	.no-touch .nav li:nth-child(6n+4) a:hover,
	.no-touch .nav li:nth-child(6n+4) a:active,
	.no-touch .nav li:nth-child(6n+4) a:focus {
	border-bottom-width: 4px;
	border-bottom-style: solid;
	border-bottom-color: #F03424;
	/*background-image: url(../gif/adiccion.gif);
	background-repeat: no-repeat;
	background-position: 10px 10px;*/
	}

	.no-touch .nav li:nth-child(6n+5) a:hover,
	.no-touch .nav li:nth-child(6n+5) a:active,
	.no-touch .nav li:nth-child(6n+5) a:focus {
	border-bottom-width: 4px;
	border-bottom-style: solid;
	border-bottom-color: #F03424;
	/*background-image: url(../gif/adiccion.gif);
	background-repeat: no-repeat;
	background-position: 10px 10px;*/
	}

	.no-touch .nav li:nth-child(6n+6) a:hover,
	.no-touch .nav li:nth-child(6n+6) a:active,
	.no-touch .nav li:nth-child(6n+6) a:focus {
	border-bottom-width: 4px;
	border-bottom-style: solid;
	border-bottom-color: rgb(240,52,36);
	/*background-image: url(../gif/adiccion.gif);
	background-repeat: no-repeat;
	background-position: 10px 10px;*/
	}

	/* Placing the icon */
	
	.icon {
		padding-top: 1.4em;
	}

	.icon + span {
		margin-top: 2.1em;
		-webkit-transition: margin .5s;
		-moz-transition: margin .5s;
		-o-transition: margin .5s;
		-ms-transition: margin .5s;
		transition: margin .5s;
	}


	.nav a {
	height: 9em;
	}

	.no-touch .nav a:hover ,
	.nav a:active ,
	.nav a:focus {
		height: 10em;
	}	


	.no-touch .nav a:hover .icon + span {
		margin-top: 3.2em;
		-webkit-transition: margin .5s;
		-moz-transition: margin .5s;
		-o-transition: margin .5s;
		-ms-transition: margin .5s;
		transition: margin .5s;
	}


	.nav i {
	position: relative;
	display: inline-block;
	border-radius: 50%;
	font-size: 1.8em;
	box-shadow: 0 0 0 30px transparent;
	background: rgba(255,255,255,0.1);
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	-o-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	-webkit-transition: box-shadow .6s ease-in-out;
	-moz-transition: box-shadow .6s ease-in-out;
	-o-transition: box-shadow .6s ease-in-out;
	-ms-transition: box-shadow .6s ease-in-out;
	transition: box-shadow .6s ease-in-out;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	padding: 0.4em;
	}	
	

	.no-touch .nav a:hover i,
	.no-touch .nav a:active i,
	.no-touch .nav a:focus i {		
		box-shadow: 0 0 0 0 rgba(255,255,255,0.2);
		-webkit-transition: box-shadow .4s ease-in-out;
		-moz-transition: box-shadow .4s ease-in-out;
		-o-transition: box-shadow .4s ease-in-out;
		-ms-transition: box-shadow .4s ease-in-out;
		transition: box-shadow .4s ease-in-out;
	}
		
}

@media (min-width: 50em) and (max-width: 61.250em) {


	.nav ul {
	font-size: 1.2em;
		
	}

}

/* mobil */

@media (max-width: 49.938em) {		
	
	
	.no-touch .nav ul li:nth-child(6n+1) a:hover,
	.no-touch .nav ul li:nth-child(6n+1) a:active,
	.no-touch .nav ul li:nth-child(6n+1) a:focus {
		background: rgb(227, 119, 20);
	}

	.no-touch .nav li:nth-child(6n+2) a:hover,
	.no-touch .nav li:nth-child(6n+2) a:active,
	.no-touch .nav li:nth-child(6n+2) a:focus {
		background: rgb(245, 160, 41);
	}

	.no-touch .nav li:nth-child(6n+3) a:hover,
	.no-touch .nav li:nth-child(6n+3) a:active,
	.no-touch .nav li:nth-child(6n+3) a:focus {
		background: rgb(44, 168, 219);
	}

	.no-touch .nav li:nth-child(6n+4) a:hover,
	.no-touch .nav li:nth-child(6n+4) a:active,
	.no-touch .nav li:nth-child(6n+4) a:focus {
		background: rgb(31, 120, 176);
	}

	.no-touch .nav li:nth-child(6n+5) a:hover,
	.no-touch .nav li:nth-child(6n+5) a:active,
	.no-touch .nav li:nth-child(6n+5) a:focus {
		background: rgb(39, 70, 90);
	}

	.no-touch .nav li:nth-child(6n+6) a:hover,
	.no-touch .nav li:nth-child(6n+6) a:active,
	.no-touch .nav li:nth-child(6n+6) a:focus {
		background: rgb(32, 54, 68);
	}

	.nav ul li {
	-webkit-transition: background 0.5s;
	-moz-transition: background 0.5s;
	-o-transition: background 0.5s;
	-ms-transition: background 0.5s;
	transition: background 0.5s;	
	}	

}


@media (min-width:32.5em) and (max-width: 49.938em) {
	

	.nav li {
		display: block;
		float: left;
		width: 50%;	
	}

	
	.nav a {
		padding: 0.8em;		
	}

	.nav li span, 
	.nav li span.icon {
		display: inline-block;
	}

	.nav li span.icon {
		width: 90%;
	}

	.nav li .icon + span {
		font-size: 1.5em;
	}

	.icon + span {
		position: relative;
		top: -0.2em;
	}

	.nav li i {
		display: inline-block;
		padding: 8% 9%;
		border: 4px solid transparent;
		border-radius: 50%;
		font-size: 1.5em;
		background: rgba(255,255,255,0.1);
		-webkit-transition: border .5s;
		-moz-transition: border .5s;
		-o-transition: border .5s;
		-ms-transition: border .5s;
		transition: border .5s;
	}

	.no-touch .nav li:hover i,
	.no-touch .nav li:active i,
	.no-touch .nav li:focus i {
		border: 4px solid rgba(255,255,255,0.1);
	}
	
}

@media (min-width: 32.5em) and (max-width: 38.688em) {
	
	.nav li span.icon {
		width: 50%;
	}

	.nav li .icon + span {
		font-size: 0.9em;
	}
}

.nav .navtoogle{
	display: none;	
	width: 100%;
	padding: 0.5em 0.5em 0.8em;
	font-family: 'Lato',Calibri,Arial,sans-serif;
	font-weight: normal;
	text-align: left;
	color: rgb(7, 16, 15);
	font-size: 1.2em;
	background: none;	
	border: none;
	border-bottom: 4px solid rgb(221, 221, 221);
	cursor: pointer;
}

.navtoogle i{
	z-index:-1;
}

.icon-menu {
	position: relative;
	top: 3px;
	line-height: 0;
	font-size: 1.6em;
}

@media (max-width: 32.438em) {


	.nav .navtoogle{
		margin: 0;
		display: block;
			}
	
	
	.no-js .nav ul {
		max-height: 30em;
		overflow: hidden;
		
	
	}
	

	.js .nav ul {
		max-height: 0em;
		overflow: hidden;
	}
	

	.js .nav .active + ul {		
		max-height: 30em;
		overflow: hidden;
		-webkit-transition: max-height .4s;
		-moz-transition: max-height .4s;
		-o-transition: max-height .4s;
		-ms-transition: max-height .4s;
		transition: max-height .4s;
			height: 280px;
			height: 600px;	
	}

	
	.nav li span {
		display: inline-block;
		height: 100%;
	}

	.nav a {
		padding: 0.5em;		
	}
	
	.icon + span {
		margin-left: 1em;
		font-size: 0.8em;
	}
	
	.nav li:nth-child(6n+1) {
		border-left: 8px solid rgb(51, 204, 177);
	}

	.nav li:nth-child(6n+2) {
		border-left: 8px solid rgb(191, 117, 20);
	}

	.nav li:nth-child(6n+3) {
		border-left: 8px solid rgb(13, 111, 150);
	}

	.nav li:nth-child(6n+4) {
		border-left: 8px solid rgb(10, 75, 117);
	}

	.nav li:nth-child(6n+5) {
		border-left: 8px solid rgb(16, 34, 44);
	}

	.nav li:nth-child(6n+6) {
		border-left: 8px solid rgb(9, 18, 25);
	}

	.touch .nav a {
		padding: 0.8em;
	}
}
