﻿/*Strip the ul of padding and list styling*/



#main-menu  {
	clear:both; 
}


#menuwrapper {background-color: transparent; width:900px; height:35px; margin:-00px auto; 
	
}

#main-menu ul {
	
	list-style-type:none;
	position:absolute;
	margin-left:15px;
	
}

/*Create a horizontal list with spacing*/
#main-menu li {
	display:inline-block;
	float:left;
	margin-right: 1px;
	margin-left: 1px;
	 
}

/*Style for menu links*/
#main-menu li a {
	display:block;
	min-width:120px;
	height: 30px;
	text-align: center;
	line-height: 35px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight:bold;
	color: #000;
	background: #c1dff7;
	text-decoration: none;
	
}

/*Hover state for top level links*/
#main-menu li:hover a { background: #C2D6D6; 
	 	color: #2f3036;
}


/*Style for dropdown links*/
#main-menu li:hover ul a {
	background: #fbfbfb;
	
	height: 25px;
	line-height: 30px;
	text-align:left;
}

/*Hover state for dropdown links*/
#main-menu li:hover ul a:hover {
	background: #C2D6D6;
	color: #000;
}

/*Hide dropdown links until they are needed*/
 li ul {
	display: none;
}

/*Make dropdown links vertical*/
#main-menu li ul li {
	display: block;
	float: none;
	
	
}

/*Prevent text wrapping*/
#main-menu li ul li a {
	width: auto;
	min-width: 75px;
	padding: 0 20px;
}

/*Display the dropdown on hover*/
 ul li a:hover + .hidden, .hidden:hover {
	display: block;
	
}

/*Style 'show menu' label button and hide it by default*/
.show-menu {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-decoration: none;
	color: #000;
	background: #C2D6D6;
	text-align: center;
	padding: 6px 0;
	display: none;
}

/*Hide checkbox*/
input[type=checkbox]{
    display: none;
    -webkit-appearance: none;
}

/*Show menu when invisible checkbox is checked*/
input[type=checkbox]:checked ~ #menu{
    display: block;
}


/*Responsive Styles*/


@media screen and (max-width : 768px){
	/*Make navigation smaller for tablets*/
#menuwrapper {background-color: #A8D0D0; width:700px; height:35px; margin:0 auto; border-radius:20px; }

#main-menu li a {
	display:block;
	min-width:85px;
	

}





@media screen and (max-width : 500px){
	/*Make dropdown links appear inline*/

#menuwrapper {background-color: #fff; width:auto; height:auto;
	
}	
	
#main-menu 	ul {
		position: static;
		display: none;
	}
	/*Create vertical spacing*/
#main-menu 	li {
		margin-bottom: 1px;
	}
	/*Make all menu links full width*/
#main-menu 	ul li, li a {
		width:100%;
	}
	/*Display 'show menu' link*/
	.show-menu {
		display:block;
	}
}