/*------------------------------------*\
	RESET
\*------------------------------------*/
/*body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{
	margin:0;
	padding:0;
}
table{
	border-collapse:collapse;
	border-spacing:0;
}
fieldset,img{
	border:0;
}
address,caption,cite,code,dfn,th,var{
	font-style:normal;
	font-weight:normal;
}
caption,th{
	text-align:left;
}
h1,h2,h3,h4,h5,h6{
	font-size:100%;
	font-weight:normal;
}
q:before,q:after{
	content:'';
}
abbr,acronym{
	border:0;
}







*/

/*------------------------------------*\
	NAV
\*------------------------------------*/

nav.primary{float:right;text-transform:lowercase;}
	nav.primary a{}
	nav.primary a:hover, nav.primary a.current{ }
#nav{
	list-style:none;
	/*font-weight:bold;
	margin-bottom:0px;*/
	/* Clear floats */
	float:left;
	width:100%;
	/* Bring the nav above everything else--uncomment if needed.*/
	position:relative;
	z-index:9999;

	
}
#nav li{
	float:left;
	/*margin-right:10px;*/
	position:relative;
}
#nav a:focus{background-color:#f50000;color:#ffffff;}
#nav a{
	display:block;
	padding:0px 15px;
	/*color:#fff;
	background:#333;*/
    font-size:1.3em;
	text-decoration:none;
    line-height:82px; 
    color:#505050;
}
#nav li a:hover{
	/*color:#fff;
	background:#6b0c36;*/
	/*text-decoration:underline;*/
        background-color:#f50000; color:#ffffff;
}
#nav li a.current, #nav li a.section{ background-color:#f50000; color:#ffffff;}
#nav ul li.first, #nav ul li.last{}

/*--- DROPDOWN ---*/
#nav ul{

	background:#3d3d3d; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */
	background:rgba(255,255,255,0); /* But! Let's make the background fully transparent where we can, we don't actually want to see it if we can help it... */
	/*opacity:.9;*/
	list-style:none;
	position:absolute;
	left:-9999px; /* Hide off-screen when not needed (this is more accessible than display:none;) */	
	/*max-width:100%;*/
        	width:180%;
                max-width:200%;
	/* border-left:1px solid #cccccc; border-right:1px solid #cccccc; border-bottom:1px solid #cccccc;*/
	

}
#nav ul li{	
	/*padding-top:1px;*/ /* Introducing a padding between the li and the a give the illusion spaced items */
	float:none;
	/*margin-left:1px;*/ background-color:#3d3d3d ;
	/*padding:5px 5px 4px 5px;*/
	margin:0;



}
#nav > ul  > li.first{
	

	padding-top:10px;
	
	}
#nav > ul > li.last{
	
			padding-bottom:10px;
			
			}



#nav ul li ul li{/*float:left !important;*/ line-height: 1.1em !important; font-size:.9em; }
#nav ul li a{padding:8px 15px; line-height: 1.3em !important;      font-size:1.0em;}

#nav ul a{
	/*white-space:nowrap;*/ /* Stop text wrapping and creating multi-line dropdown items */
}
#nav > li:hover > ul{ /* Display the dropdown on hover */
	left:0; /* Bring back on-screen when needed */
}
#nav ul li{position:relative;}
#nav ul li:hover ul {left:100%;top:0px;float:left;}
#nav li:hover a{ /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
	/*background:#6b0c36;
	text-decoration:underline;*/
	/*background-color:#b0ada5 !important; */
	}
#nav li:hover ul a{ /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
	text-decoration:none;
}
#nav li:hover ul li a:hover{ /* Here we define the most explicit hover states--what happens when you hover each individual link. */
	/*background:#333;*/
	/*text-decoration:underline;*/
}
#nav li ul li a{/*background-color:#b0ada5 !important;*/ 	text-shadow: none !important; text-decoration:none; background-image:none !important;/*border-right:3px solid #b0ada5 !important*/ color:#ffffff;}
#nav li ul li a:hover{color:#ffffff;/*background-color:#df2027 !important; */ text-decoration:none;background-image:none !important;}
#nav li:hover>a{background-color:#f50000 !important; color:#ffffff;}

.nav ul li a:first-child:nth-last-child(2):before { 
  content: ""; 
  position: absolute; 
  height: 0; 
  width: 0; 
  border: 5px solid transparent; 
  top: 50% ;
  right:5px;  
 }
/* arrow hover styling */
.nav > li > a:first-child:nth-last-child(2):before { 
  border-top-color: #aaa; 
}
.nav > li:hover > a:first-child:nth-last-child(2):before {
  border: 5px solid transparent; 
  border-bottom-color: #ffffff; 
  margin-top:-5px
}
.nav li li > a:first-child:nth-last-child(2):before {  
  border-left-color: #aaa; 
  margin-top: -5px
}
.nav li li:hover > a:first-child:nth-last-child(2):before {
  border: 5px solid transparent; 
  border-left-color: #ffffff;
 /* right: 10px; */
}
.nav ul li ul{border-left:3px solid #f50000;}
