/* Some stylesheet reset */
ul.nav, .nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
	line-height: 1;
	margin-left:0%;
}

/* The container */
.nav
{
    display: block;
    z-index:1;
}

/* The list elements which contain the links */
.nav>li {
	display: block;
	float: left;
	margin: 0;
	padding: 0;	
}

	/* General link styling */
	.nav > li > a
    {
        /* Layout */
        display: block;
        position: relative;
        margin: 0;
        padding: 10px 15px; /* Typography */ 
       /* font-family: 'Yanone Kaffeesatz' , Helvetica, Arial, sans-serif;*/
        color: #CC3300;
        text-decoration: none;
        text-shadow: 0 1px 0 #fff;
        font-size: 11px; /* Background & effects */
        font-family: Arial, Helvetica, sans-serif;
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e6e6e6', endColorstr='#fafafa');
        
    }
    .nav ul li a
    {
        display: block;
        position: relative;
        margin: 0;
        padding: 10px 15px; /* Typography */ 
       /* font-family: 'Yanone Kaffeesatz' , Helvetica, Arial, sans-serif;*/
        color: #CC3300;
        text-decoration: none;
        text-shadow: 0 1px 0 #fff;
        font-size: 11px; /* Background & effects */
        font-family: Arial, Helvetica, sans-serif;
        z-index:9999;
    }

	/* The main menu links */
	.nav>li>a {
		border-right: 1px dotted #fff;
		border-left: 1px dotted #d9d9d9;
		
	}

	

	/* Rounded corners for the last link of the main menu */
	.nav>li:last-child>a {
		border-right: 1px dotted #fff;
		border-right: 1px dotted #d9d9d9;
	}

	/* The submenu links */
	.nav ul li a
    {
        /* Layout */
        border-top: 1px dotted #fff;
        border-bottom: 1px dotted #d9d9d9;
        padding: 10px;
        background: #eaeaea;
        z-index:9999;
    }

	/* The hover state of the menu/submenu links */
	.nav > li > a:hover, .nav > li:hover > a, .nav ul li a:hover, .nav ul li:hover > a
    {
        color: #fff;
        text-shadow: 0 1px 0 rgba(0, 0, 0, .25);
        background: #f23f37;
        background: -webkit-linear-gradient(bottom, #f23f37, #f45d57);
        background: -ms-linear-gradient(bottom, #f23f37, #f45d57);
        background: -moz-linear-gradient(bottom, #f23f37, #f45d57);
        background: -o-linear-gradient(bottom, #f23f37, #f45d57);
        border-color: transparent;
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e6e6e6', endColorstr='#fafafa');
        filter: progid:DXImageTransform.Microsoft.(pixelradius=0);
        
    }

	/* The links which have submenus have more space to the left */
	.nav>.dropdown>a 
	{
		padding-right: 35px;
	}

	/* The arrow indicating a dropdown menu */
	.nav>.dropdown>a::after {
		content: "";
		position: absolute;
		top: 22px;
		right: 14px;
		width: 0px;
		height: 0px;

		/* Creating the arrow using borders */
		border: 4px solid transparent;
		border-top: 4px solid #e4433c; 
	}


	/* Changing the color of the arrow on hover */
	.nav>li>a:hover::after, .nav>li:hover>a::after {
		border-top: 4px solid #fff;
	}

	.nav>li>a:hover::before, .nav>li:hover>a::before {
		border-top: 4px solid rgba(0, 0, 0, .3);
	}

	/* THE SUBMENUS */
		.nav ul {
			position:inherit;
			height:0px;
		    
		    display:none;
		}

		/* Level 1 submenu */
		.nav>li>ul
		{
		    width:130px;
		    margin:0px;
			/*padding-top: 3px;*/
			top: -9999px;
			opacity: 0;
			filter: alpha(opacity = 0);
			-webkit-transition: opacity .1s ease-in;
			-moz-transition: opacity .1s ease-in;
			-o-transition: opacity .1s ease-in;
			-ms-transition: opacity .1s ease-in;
		}
		

		/* Showing the submenu when the user is hovering the parent link */
		.nav>li:hover>ul {
			top: 46px;
			opacity: 1;
			filter: alpha(opacity = 100);
			-webkit-transition: opacity .1s ease-out;
			-moz-transition: opacity .1s ease-out;
			-o-transition: opacity .1s ease-out;
			-ms-transition: opacity .1s ease-out;
			display:list-item;
		}

		/* Showing the submenu when the user is hovering the parent link 
		.nav ul>li:hover>ul {
			top: 0px;
			opacity: 1;
			filter: alpha(opacity = 100);
		}*/

		/* The containers of the submenu links 
		.nav ul li {
			margin: 0;
			padding: 0;
			display: block;
			position: relative;
		}*/

		/* Rounded corners for the first link of the submenu */
		.nav ul>li:first-child>a {
			border-top: 0;
			border-top-left-radius: 4px;
			border-top-right-radius: 4px;
		}

		/* Rounded corners for the last link of the submenu */
		.nav ul>li:last-child>a{
			border-bottom: 0;
			border-bottom-left-radius: 4px;
			border-bottom-right-radius: 4px;
		}

		
		/* The same arrow, but with a darker color, to create the shadow effect 
		.nav ul>.dropdown>a::before {
			content: "";
			position: absolute;
			top: 17px;
			right: 10px;
			width: 0px;
			height: 0px;

			
			border: 4px solid transparent;
			border-left: 4px solid #fff;
		}*//* Creating the arrow using borders */

		/* Changing the color of the arrow on hover 
		.nav ul>li>a:hover::after, .nav ul>li:hover>a::after {
			border-left: 4px solid #fff;
		}

		.nav ul>li>a:hover::before, .nav ul>li:hover>a::before {
			border-left: 4px solid rgba(0, 0, 0, .3);
		}*/
		