
		#nav
		{
			width: 100%; 
			font-weight: 400;
			position: relative;
			float:left;padding:0 7%;
			background-color:#3961B0;
		}
		#nav .mobile{display:none;}
		
			#nav > a
			{
				display: none;
			}

			#nav li
			{
				position: relative;
				float:left;
				width:33.33%;
			}
				#nav li a
				{
					display: block;
					padding:10px 0;
					width:100%; float:left; text-align:center;
					color:#ffff99; text-transform:uppercase; font-weight:600;
					border-top:3px solid #3961B0;
					
				}
				#nav li a:active
				{
					background-color: #202767 !important;
				}
				#nav li a.current
				{
					border-top:3px solid white;
				}
				/* second level */

				#nav li ul
				{
					background-color: #5ec1de;
					display: none;
					position: absolute;
					top: 100%;
				}
				#nav li ul li
				{
					width:100%; float:left;
				}
				#nav li ul li a
				{
					border-top:3px solid #5EC1DE;
				}
					#nav li:hover ul
					{
						display: block;
						left: 0;
						right: 0;
					}
						#nav li:not( :first-child ):hover ul
						{
							left: -1px;
						}
						#nav li ul a
						{
						}
							#nav li a:hover,
							#nav li ul:not( :hover ) li.active a
							{
								background-color: #202767;
								border-top:3px solid #202767;
							}
							#nav li ul li a.current
							{
								background-color: #202767;
								border-top:1px solid #fff;
							}
.menuleft, .menuright{border-bottom:1px solid #ffff99; position:relative;}
.menuleft{width:40%; float:left;}
.menuright{width:40%; float:right;}
#nav .menuright li{width:50%;}
#nav .menuright li ul li {width:100%;}
form#search {
  position: absolute;
  right: 0px;
  top: 4px;
}
#search label,
#search input[type=submit] {
  display: none;
}
#search input[type=text] {
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 30px;
  height: 30px;
  width: 30px;
  outline: none;
  color: white;
  font-size: 1em;
  font-family: inconsolata, monospace;
  text-indent: 30px;
  background: #3961B0 url(../images/search.png) no-repeat 0 0;
  transition: all .4s ease;
}
#search input[type=text]:focus {
  background-color: #5ec1de;
  width: 200px;
  color:white;
}
#search ::-webkit-input-placeholder {
   color: white;
}

#search :-moz-placeholder { /* Firefox 18- */
   color: white;  
}

#search ::-moz-placeholder {  /* Firefox 19+ */
   color: white;  
}

#search :-ms-input-placeholder {  
   color: white;  
}
.topmenu{width:100%; float:right; padding:10px 7% 10px 53%; background:white;}
.toplinks{float:right;}
.toplinks a{float:left; padding:5px 10px; background-color:#FFFF99; color:#333; margin-left:10px;}
.toplinks a.current{background-color:#375EAB; color:#fff;}
.toplinks a.log{background-color:#3961B0; color:white;}
@media screen and (max-width: 1024px) {
	#nav{padding:0 2%;}
}
@media screen and (max-width: 801px) {
			#nav .mobile{display:block;}
			.menubtm a.logo, form#search, .topmenu{display:none;}
			.menuleft, .menuright{border-bottom:none; width:100%;}
			#nav
			{
				position: relative;
				top: auto;
				left: auto;
			}
			#nav .menuright li{width:100%;}
			#nav li
			{
				width:100%;
				background:#3A61B0;
			}
				#nav > a, #nav li a
				{
					text-align:left;
					border:none;
				}
					
				#nav > a.current, #nav li a.current, #nav > a:hover, #nav li a:hover
				{
					text-align:left;
					border:none;
					background-color:#202767;
				}
				#nav:not( :target ) > a:first-of-type,
				#nav:target > a:last-of-type
				{
					display: block;
				}


			/* first level */

			#nav > ul
			{
				height: auto;
				display: none;
				position: relative;
				left: auto;
				right: auto;
				width:90%;
				float:left;
				padding-left:20px;
			}
				#nav:target > ul
				{
					display: block;
				}
				/* second level */

				#nav li ul
				{
					position: static;
					padding: 0; /* 20 */
					padding-top: 0;
					padding-left:20px;
					background-color:#202767;
				}
				#nav li ul li a{
	background-image: url(../images/menu-arrow.png);
	background-repeat: no-repeat;
	background-position: left center;
	padding-left:20px;
	border:none;
}
	#nav li ul li a.current
							{
								background-color: #5EC1DE;
								border:none;
							}
	.menubtn{width:24px; float:right; height:24px; position:absolute; top:20px; right:25px; z-index:9999;}
}