


.icon-home {
	line-height: 1;

}

.icon-home img {
	width: 100px;
}



.icon-home:before {
	
}



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


/* Global CSS that are applied for all screen sizes */

.nav2 ul {
	max-width: 1240px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 1em;

}

.nav2 li span {
	display: block;
}

.nav2 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;
}

.nav2 i{
	/* Make the font smoother for Chrome */
	-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);
}

/* Remove the blue Webkit background when element is tapped */

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

/* Hover effect for the whole navigation to make the hovered item stand out */

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

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

/* Adding some background color to the different menu items */

.nav2 li:nth-child(6n+1) {
	background: rgb(208, 101, 3);
}

.nav2 li:nth-child(6n+2) {
	background: rgb(233, 147, 26);
}

.nav2 li:nth-child(6n+3) {
	background: rgb(22, 145, 190);
}

.nav2 li:nth-child(6n+4) {
	background: rgb(22, 107, 162);
}

.nav2 li:nth-child(6n+5) {
	background: rgb(27, 54, 71);
}

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

/* For screen bigger than 800px */


	/* Transforms the list into a horizontal navigation */
	.nav2 li {
	/*float: left;*/
		width: 100%;
	text-align: left;
	-webkit-transition: border .5s;
	-moz-transition: border .5s;
	-o-transition: border .5s;
	-ms-transition: border .5s;
	transition: border .5s;

	}
	
	.nav2 li img{
	/*float: left;*/
		width: 50px;

	margin-top: -7px;
	float: left;
	margin-left: 10px;
	margin-right: 10px;
	}

	.nav2 li.txtright{

	margin-top: -7px;
	float: right;
	padding-right: 10px;
	width: 70%;
	}


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

	/* hover, focused and active effects that add a little colored border to the different items */
	.no-touch .nav2 li:nth-child(6n+1) a:hover,
	.no-touch .nav2 li:nth-child(6n+1) a:active,
	.no-touch .nav2 li:nth-child(6n+1) a:focus {
		border-bottom: 4px solid rgb(174, 78, 1);
	}

	.no-touch .nav2 li:nth-child(6n+2) a:hover,
	.no-touch .nav2 li:nth-child(6n+2) a:active,
	.no-touch .nav2 li:nth-child(6n+2) a:focus {
		border-bottom: 4px solid rgb(191, 117, 20);
	}

	.no-touch .nav2 li:nth-child(6n+3) a:hover,
	.no-touch .nav2 li:nth-child(6n+3) a:active,
	.no-touch .nav2 li:nth-child(6n+3) a:focus {
		border-bottom: 4px solid rgb(12, 110, 149);
	}

	.no-touch .nav2 li:nth-child(6n+4) a:hover,
	.no-touch .nav2 li:nth-child(6n+4) a:active,
	.no-touch .nav2 li:nth-child(6n+4) a:focus {
		border-bottom: 4px solid rgb(10, 75, 117);
	}

	.no-touch .nav2 li:nth-child(6n+5) a:hover,
	.no-touch .nav2 li:nth-child(6n+5) a:active,
	.no-touch .nav2 li:nth-child(6n+5) a:focus {
		border-bottom: 4px solid rgb(16, 34, 44);
	}

	.no-touch .nav2 li:nth-child(6n+6) a:hover,
	.no-touch .nav2 li:nth-child(6n+6) a:active,
	.no-touch .nav2 li:nth-child(6n+6) a:focus {
		border-bottom: 4px solid rgb(9, 18, 25);
	}

	/* 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;
	}

	/* Animating the height of the element*/
	.nav2 a {
		height: 3em;
	}

	.no-touch .nav2 a:hover ,
	.nav2 a:active ,
	.nav2 a:focus {
		height: 4em;
	}	

	/* Making the text follow the height animation */
	.no-touch .nav2 a:hover .icon + span {
		margin-top: 1.2em;
		-webkit-transition: margin .5s;
		-moz-transition: margin .5s;
		-o-transition: margin .5s;
		-ms-transition: margin .5s;
		transition: margin .5s;
	}

	/* Positioning the icons and preparing for the animation*/
	.nav2 i {
		position: relative;
		display: inline-block;
		margin: 0 auto;
		padding: 0.4em;
		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;
	}	
	
	/* Animate the box-shadow to create the effect */
	.no-touch .nav2 a:hover i,
	.no-touch .nav2 a:active i,
	.no-touch .nav2 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;
	}
		


