﻿/*Strip the ul of padding and list styling*/
#menu {
	list-style-type:none;
	margin:0;
	padding:0;
	position: absolute;


}

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

/*Style for menu links*/
#menu li a {
	display: block;
    padding: 15px 18px 15px 20px;
    text-align: center;
    color: #0F0B0A;
    text-decoration: none;
    font-size:18px;
    }
#menu li a:hover {
color:#fff;
background: #333;
transition: all 0.5s ease;
}
#menu ul.sub-menu {
padding-left: 0px;
position: absolute;
color: #fff;
z-index: 1000;
margin-top: 15px;
margin-left: 0px;
transition: all 0.5s ease;

}
#menu ul.sub-menu li img{
	max-width: 80px;
  width: 100%;
	margin-bottom: 10px;
	float: left;
    margin-right: 15px;
}
#menu ul.sub-menu li {
list-style-type: none;
display: inline-block;
padding: 10px 6px 10px 13px;
background: #E4E4E4;
height:auto;
width:100%;
border-right:inherit;
color: #333;
font-size: 17px;
border-bottom: 1px solid #333;
}
#menu ul.sub-menu li:last-child{
	border: inherit;
}

#menu ul.sub-menu li a {
text-decoration: none;
color: #333;
display: inline-block;
font-size: 14px;
padding: 0px 0px 0px 0px;
font-weight:normal;

}

#menu ul.sub-menu {
display: none;
position: absolute;
top: 22px;

}

#menu li:hover ul.sub-menu {
display: block;
z-index: 600;
margin-top:32px;
border-bottom: 0;
width: 250px;
padding-bottom: 12px;
}
#menu ul.sub-menu li a:hover {
color:#333;
border-bottom:0;
background: none;
}
/*Hover state for top level links*/
/*#menu li:hover  {
background-color:#fff;
background:url('../images/hover.png') no-repeat top center;
}*/

/*Style for dropdown links*/
#menu li:hover ul a {

	height: 40px;
	line-height: 40px;
}

/*Hover state for dropdown links*/


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

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

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

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

/*Style 'show menu' label button and hide it by default*/
.show-menu {
	text-decoration: none;
	color: #fff;
	background:#2F2A2B;
	text-align: center;
	padding:14px 0;
	display: none;
}

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

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


/*Responsive Styles*/

@media screen and (max-width : 760px){
	/*Make dropdown links appear inline*/
	#menu {
		position: static;
		display: none;
	}
	/*Create vertical spacing*/
	#menu li {
		margin-bottom: 1px;
		background:#037c90;
	}
	#menu li:hover {
	background:#00697A url('../images/hover.png') no-repeat top center;
}
	/*Make all menu links full width*/
	#menu li, li a {
		width: 100%;

	}
	/*Display 'show menu' link*/
	.show-menu {
		display:block;
	}
}
