/* General menu styling */
#navigation{
width: 100%;
background: #007d40;
float: left;
z-index: 10;

}

.nav {
position: relative;
margin: 0;
padding: 0;
/*line-height: 18px;*/
z-index: 9;
font-family: 'Oswald', bebas, Calibri, Arial, Helvetica, sans-serif;

}
/* The main navigation link containers */
.nav>li {
display: block;
float: left; /* Displaying them on the same line */
margin: 0;
padding: 0;
border-right: 1px solid #FFF;

}
/* The main navigation links */
.nav>li>a {
/* Layout */
display: block;
position: relative;
padding: 8px 16px 10px 16px;
/* Text */
font-family: 'Oswald', bebas, Calibri, Arial, Helvetica, sans-serif;
color: #FFF;
letter-spacing: 1px;
font-size: 14px;
text-decoration: none;
/* Background */
background: #007d40; /* For older browsers */
background: rgba(0, 125, 64, 1); /* Transparent background for modern browsers */
	text-transform: uppercase;

}
/* Changing the color on hover */
.nav>li>a:hover, .nav>li:hover>a {
color: #000;
background: #eee; /* For older browsers */
}
/* The links which contain dropdowns menu are wider, because they have a little arrow */
.nav>.dropdown>a {
padding: 8px 25px 10px 15px;

}
/* The arrow indicating the dropdown */
.dropdown>a::after {
content: "";
position: absolute;
top: 14px;
right: 10px;
width: 7px;
height: 7px;
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-o-transform: rotate(45deg);
border-bottom: 1px solid #FFF;
border-right: 1px solid #FFF;
letter-spacing: 1px;

}
/* Changing the color of the arrow on hover */	
.dropdown>a:hover::after, .dropdown:hover>a::after {
border-color: #000;
}
/* The submenus */
.nav ul {
position: absolute;
margin: 0;
padding: 0;
list-style: none;
display: block;
}
/* General layout settings for the link containers of the submenus */
.nav ul li {
position: absolute;
top: -9999px; /* Hiding them */
height: 0px;
display: block;
margin: 0;
padding: 0;
}
/* Displays the submenu links, by expading their containers (with a transition, previously defined) and by repositioning them  */


.dropdown:hover>ul>li {
height: 30px;
position: relative;
top: auto;
}
/* The submenu links */
.nav ul li a {
/* Layout */
padding: 8px 20px 8px 20px;
width: 210px;
display: block;
position: relative;
height: 18px;
/* Text */
font-family: 'Oswald', bebas, Calibri, Arial, Helvetica, sans-serif;
color: #000;
text-decoration: none;
font-size: 12px;
/* Background & effects */
background: #eee;
background: rgba(238, 238, 238, 1);
letter-spacing: 1px;
}
/* Changing the link's color and background on hover */
.nav ul li:hover>a, .nav ul li a:hover {
color: #FFF;
background: #007d40;
background: rgba(0, 125, 64, 1);
letter-spacing: 1px;
}
/* Making the level 2 (or higher) submenus to appear at the right of their parent */
.nav ul .dropdown:hover ul {
left: 250px;
top: 0px;
}
/* The submenu links have a different arrow which indicates another dropdown submenu */
.nav ul .dropdown a::after {
width: 6px;
height: 6px;
border-bottom: 0;
border-right: 1px solid #007d40;
border-top: 1px solid #007d40;
top: 12px;
}
/* Changing the color of the arrow on hover */
.nav ul .dropdown:hover>a::after, .nav ul .dropdown>a:hover::after {
border-right: 1px solid #fff;
border-top: 1px solid #fff;
}