@charset "utf-8";
/* CSS Document */

		#nav
		{
			z-index:2001;
			width: auto; /* 1000 */
			font-family: 'Open Sans', sans-serif;
			font-weight: 400;
			/*position: absolute;*/
			/*top: 25%;*/
			left: 50%;
			/*margin-left: -30em;  30 480 */
		}

			#nav > a
			{
				display: none;
			}

			#nav li
			{
				position: relative;
			}
				#nav li a
				{
					color: #000000;
					display: block;
				}
				#nav li a:active
				{
					background-color: #0000FF !important;
				}

			#nav span:after
			{
				width: 0;
				height: 0;
				border: 0.313em solid transparent; /* 5 */
				border-bottom: none;
				border-top-color: #999999;
				content: '';
				vertical-align: middle;
				display: inline-block;
				position: relative;
				right: -0.313em; /* 5 */
			}

			/* first level */

			#nav > ul
			{
				height: 40px; /* 60 */
				background: #0044DD; /* For browsers that do not support gradients */
				background: -webkit-linear-gradient(bottom,rgba(235,235,235,0.8),rgba(255,255,255,0.8)); /*Safari 5.1-6*/
  				background: -o-linear-gradient(top,rgba(235,235,235,0.8),rgba(255,255,255,0.8)); /*Opera 11.1-12*/
  				background: -moz-linear-gradient(top,rgba(235,235,235,0.8),rgba(255,255,255,0.8)); /*Fx 3.6-15*/
  				background: linear-gradient(to top, rgba(235,235,235,0.8), rgba(255,255,255,0.8)); /*Standard*/
				list-style-type: none;
    			margin: 0;
    			padding: 0;
			}
				#nav > ul > li
				{				
					width: 19.99%;
					height: 100%;
					float: left;
 				}
					#nav > ul > li > a
					{
						height: 100%;
						/* font-size: 1em; 16 */
						line-height: 2.5em; /* 60 (24) */
						text-align: center;
					}
						#nav > ul > li:not( :last-child ) > a
						{
							border-right: 0px solid #FFFFFF;
							border-radius: 0px 0px 10px 10px;
							border: 0px #0000FF solid;
							height: 1%;
							width: 98%;
							background: ;
    						transition: width 0.2s, height 0.2s;
							
						}
						#nav > ul > li:hover > a,
						#nav > ul:not( :hover ) > li.active > a
						{
							border-radius: 0px 0px 10px 10px;
							border: 0px #0000FF solid;
							box-shadow: 0 0px 10px rgba(0,0,0,0.2), 0 0px 3px rgba(0,0,0,0.1);
							margin: auto;
							margin-top: 0px;
							height: 90%;
							width: 98%;
							background: red; /* For browsers that do not support gradients */
							background: -webkit-linear-gradient(bottom,rgba(255,255,255,1),rgba(245,245,245,1)); /*Safari 5.1-6*/
  							background: -o-linear-gradient(top,rgba(255,255,255,1),rgba(245,245,245,1)); /*Opera 11.1-12*/
  							background: -moz-linear-gradient(top,rgba(255,255,255,1),rgba(245,245,245,1)); /*Fx 3.6-15*/
  							background: linear-gradient(to top, rgba(255,255,255,1), rgba(245,245,245,1)); /*Standard*/
						}


				/* second level */

				#nav li ul
				{
					z-index:2002;
					border-radius: 10px 10px 10px 10px;
					background: #0060E8; /* For browsers that do not support gradients */
					background: -webkit-linear-gradient(bottom,rgba(255,255,180,0.85),rgba(245,245,160,1)); /*Safari 5.1-6*/
  					background: -o-linear-gradient(top,rgba(255,255,180,0.85),rgba(245,245,160,1)); /*Opera 11.1-12*/
  					background: -moz-linear-gradient(top,rgba(255,255,180,0.85),rgba(245,245,160,1)); /*Fx 3.6-15*/
  					background: linear-gradient(to top, rgba(255,255,180,0.85), rgba(245,245,160,1)); /*Standard*/
					display: none;
					position: absolute;
					text-align: center; 
					top: 100%;
					list-style-type: none; /* gon */
    				margin: 0; /* gon */
    				padding: 0;  /* gon */
				}
					#nav li:hover ul
					{
						display: block;
						left: 0;
						right: 0;
					}
						#nav li:not( :first-child ):hover ul
						{
							left: -1px;
						}
						#nav li ul a
						{
							/*font-size: 1.25em;  20 */
							border-top: 1px solid #BBBBBB;
							padding: 0.75em; /* 15 (20) */
						}
							#nav li ul li a:hover,
							#nav li ul:not( :hover ) li.active a
							{
								
								display:block;
						        border-radius: 10px 10px 10px 10px;
								background: #0060E8; /* For browsers that do not support gradients */
					            background: -webkit-linear-gradient(bottom,rgba(255,255,255,1),rgba(235,235,235,1)); /*Safari 5.1-6*/
  					            background: -o-linear-gradient(top,rgba(255,255,255,1),rgba(235,235,235,1)); /*Opera 11.1-12*/
  					            background: -moz-linear-gradient(top,rgba(255,255,255,1),rgba(235,235,235,1)); /*Fx 3.6-15*/
  					            background: linear-gradient(to top, rgba(255,255,255,1), rgba(235,235,235,1)); /*Standard*/
								width: 100%;
								height: 100%;
								
							}


		@media only screen and ( max-width: 900px )
		
		{
			#nav
			{
				width: 100%;
				position: static;
				margin: 0;
			}
		}

		@media only screen and ( max-width: 600px )
		{
			html
			{
				/*font-size: 75%;  12 */
			}

			#nav
			{
				position: relative;
				top: auto;
				left: auto;
			}
				#nav > a
				{
					border-radius: 30px;
					border: 2px #FFFFFF solid;					
					margin: 5px;
					width: 3.125em; /* 50 */
					height: 3.125em; /* 50 */
					text-align: left;
					text-indent: -9999px;
					background: red; /* For browsers that do not support gradients */
					background: -webkit-linear-gradient(top,rgba(225,225,225,1),rgba(245,245,245,1)); /*Safari 5.1-6*/
  					background: -o-linear-gradient(bottom,rgba(225,225,225,1),rgba(245,245,245,1)); /*Opera 11.1-12*/
  					background: -moz-linear-gradient(bottom,rgba(225,225,225,1),rgba(245,245,245,1)); /*Fx 3.6-15*/
  					background: linear-gradient(to bottom, rgba(225,225,225,1), rgba(245,245,245,1)); /*Standard*/
					position: relative;
				}
					#nav > a:before,
					#nav > a:after
					{
						position: absolute;
						border: 2px solid #999999;
						top: 35%;
						left: 25%;
						right: 25%;
						content: '';
					}
					#nav > a:after
					{
						top: 60%;
					}

				#nav:not( :target ) > a:first-of-type,
				#nav:target > a:last-of-type
				{
					display: block;
				}


			/* first level */

			#nav > ul
			{
				height: auto;
				display: none;
				position: absolute;
				left: 0;
				right: 0;
			}
				#nav:target > ul
				{
					display: block;
				}
				#nav > ul > li
				{
					width: 100%;
					float: none;
				}
					#nav > ul > li > a
					{
						height: auto;
						text-align: left;
						padding: 0px 20px 0px 20px; /* 20 (24) */
					}
						#nav > ul > li:not( :last-child ) > a
						{
							border-right: none;
							border-bottom: 1px solid #BBBBBB; /*border line at the menu button for Mobile*/
						}


				/* second level */

				#nav li ul
				{
					position: static;
					padding: 1.25em; /* 20 */
					padding-top: 0;
					text-align: left;
				}
		}