@charset "utf-8";
/* CSS Document */

#menu_bk {
	background-image: url(../img/m_bk.jpg);
	background-repeat: repeat-x;
	border-bottom: #FFFFFF solid 1px;
	overflow:hidden;
}

#menu{
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	padding: 0;
}
#menu li{
	display: block;
	float: left;
	width: 20%;
	margin: 0;
	padding: 0;
}
#menu li a{
	display: block;
	color: #fff;
	text-align: center;
	text-decoration: none;
	background:url(../img/m1_a.png) right top no-repeat;
	font-size: 1.2em;
	line-height: 90%;
	padding: 5px 0 3px 0;
}
#menu li a:hover{
	color: #FFFF33;
	background:url(../img/m1_hover.png) top center no-repeat;
}
#menu li a span{
	font-size: 0.7em;
	color: #fff;	
}
#toggle{
	display: none;
}
/*
@media only screen and (max-width: 900px) {
	#menu li{
		  width: 25%;
		  border-bottom: 1px solid #444;
	}
}*/
@media only screen and (max-width: 900px) {
	#menu_bk{
		background:#109ABC;
	}
	#menu{
		display: none;
	}
	#menu li{
		width: 100%;
	}
	#menu li a{
		border-bottom:1px dotted #FFF;
		padding:12px 0;
	}
	#menu li a:hover{
		background:none;
	}
	#toggle{
		display: block;
		position: relative;
		width: 100%;
		background-image: url(../img/m_bk.jpg);
		background-repeat: repeat-x;
		border:none;
	}
	#toggle a{
		display: block;
		position: relative;
		padding: 12px 0;
		color: #fff;
		border-bottom: #FFFFFF solid 1px;
		text-align: center;
		text-decoration: none;
	}
	#toggle:before{
		display: block;
		content: "";
		position: absolute;
		top: 50%;
		left: 10px;
		width: 20px;
		height: 20px;
		margin-top: -10px;
		background: none;
	}
	#toggle a:before, #toggle a:after{
		display: block;
		content: "";
		position: absolute;
		top: 50%;
		left: 10px;
		width: 20px;
		height: 4px;
		background: #fff;
	}
	#toggle a:before{
		margin-top: -6px;
	}
	#toggle a:after{
		margin-top: 2px;
	}
}
