/* JS disabled styles */
.no-js nav li:hover ul {
	display: block;
}

/* base nav styles */
nav {
	display: block;
	margin: 0 auto 20px;
	border: none /* 1px solid #222 */;
	position: relative;
	background-color: #6a6a6a;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif; font-size:small;
}
@media screen and (max-width: 400px) {
nav {
	margin: 0 auto 5px;
}
}
nav ul {
	padding: 0;
	margin: 0;
}
nav li {
	position: relative;
	float: left;
	list-style-type: none;
}
nav li#tit {
	margin: 0;
	padding-right: 1em;
	border-right: 1px solid #222;
	line-height: 0;
}
@media screen and (max-width: 550px) {
nav li#tit {
	display: none;
}
}
nav li#t {
	width: 20%;
}
nav li#p {
	width: 30%;
}
nav li#k, nav li#g {
	width: 22%;
}
nav li#blank {
	display: block;
	padding: 10px 0;
	margin: 0 0 0 1em;
	border-right: 1px solid #222;
	color: #eee;
	text-decoration: none;
	font-size: 14px;
	font-weight: bold;
}
@media screen and (max-width: 400px) {
nav li#t {
	width: 40%;
}
nav li#t a {
	border-left: none;
}
nav li#p {
	width: 60%;
}
nav li#k, nav li#g, nav li#blank {
	display: none;
}
}
nav ul:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
nav li a {
	display: block;
	padding: 13px 13px;
	border-left: 1px solid #999;
	border-right: 1px solid #222;
	color: #eee;
	text-decoration: none;
	text-align: center;
	font-size: 14px;
	font-weight: bold;
	line-height: 16px;
}
nav li a:focus {
	outline: none;
	text-decoration: none;
	
}
nav li:first-child a {
	border-left: none;
}
nav li.last a {
	display: block;
	border-right: none;
}
@media screen and (max-width: 400px) {
nav li.last a {
	display: none;
}
}
nav a span {
	display: block;
	float: right;
	margin-left: 5px;
}
nav ul ul {
	display: none;
	width: 100%;
	position: absolute;
	left: 0;
	background: #6a6a6a;
	z-index: 1;
}
nav ul ul li {
	float: none;
	width: 99%;
}
nav ul ul a {
	padding: 10px 10px;
	border-left: none;
	border-right: none;
	font-size: small;
	font-weight: normal;
}
nav ul ul a:hover {
	background-color:#555;
}

/* CSS3 */
.borderradius nav {
	-moz-border-radius:0 /* 4px */;
	-webkit-border-radius:0 /* 4px */;
	border-radius:0 /* 4px */;
}
.cssgradients nav { 
	background-image:-moz-linear-gradient(0% 22px 90deg, #222, #999);
	background-image:-webkit-gradient(linear, 0% 0%, 0% 70%, from(#999), to(#222));
	background-image: -ms-linear-gradient(top,  rgba(89,89,89,1) 0%,rgba(89,89,89,1) 9%,rgba(71,71,71,1) 32%,rgba(44,44,44,1) 44%,rgba(0,0,0,1) 58%,rgba(17,17,17,1) 70%,rgba(17,17,17,1) 76%,rgba(28,28,28,1) 91%,rgba(19,19,19,1) 100%); /* IE10+ */
}
.boxshadow.rgba nav {
	-moz-box-shadow:2px 2px 2px rgba(0,0,0,.55);
	-webkit-box-shadow:2px 2px 2px rgba(0,0,0,.55);
	box-shadow:2px 2px 2px rgba(0,0,0,.55);
}
.cssgradients nav li:hover {
	background-image:-moz-linear-gradient(0% 100px 90deg, #999, #222);
	background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#222), to(#555));
	background-image: -ms-linear-gradient(top,  rgba(19,19,19,1) 0%,rgba(28,28,28,1) 9%,rgba(17,17,17,1) 24%,rgba(17,17,17,1) 30%,rgba(0,0,0,1) 42%,rgba(44,44,44,1) 56%,rgba(71,71,71,1) 68%,rgba(89,89,89,1) 91%,rgba(89,89,89,1) 100%); /* IE10+ */
}
.borderradius nav ul ul {
	-moz-border-radius-bottomleft:0 /* 4px */;
	-moz-border-radius-bottomright:0 /* 4px */;
	-webkit-border-bottom-left-radius:0 /* 4px */;
	-webkit-border-bottom-right-radius:0 /* 4px */;
	border-bottom-left-radius:0 /* 4px */;
	border-bottom-right-radius:0 /* 4px */;
}
.boxshadow.rgba nav ul ul#ult {
	background-color:rgba(100,25,25,0.8);
	-moz-box-shadow:2px 2px 2px rgba(0,0,0,.8);
	-webkit-box-shadow:2px 2px 2px rgba(0,0,0,.8);
	box-shadow:2px 2px 2px rgba(0,0,0,.8);
}
.boxshadow.rgba nav ul ul#ulp {
	background-color:rgba(50,50,100,0.8);
	-moz-box-shadow:2px 2px 2px rgba(0,0,0,.8);
	-webkit-box-shadow:2px 2px 2px rgba(0,0,0,.8);
	box-shadow:2px 2px 2px rgba(0,0,0,.8);
}
.rgba nav ul ul li {
	border-left:1px solid rgba(0,0,0,0.1);
	border-right:1px solid rgba(0,0,0,0.1);
}
.rgba nav ul ul#ult a:hover {
	background-color:rgba(255,50,50,.3);
}
.rgba nav ul ul#ulp a:hover {
	background-color:rgba(100,100,255,.3);
}
.borderradius.rgba nav ul ul li.last {
	border-left:1px solid rgba(0,0,0,0.1);
	border-bottom:1px solid rgba(0,0,0,0.1);
	-moz-border-radius-bottomleft:4px;
	-moz-border-radius-bottomright:4px;
	-webkit-border-bottom-left-radius:4px;
	-webkit-border-bottom-right-radius:4px;
	border-bottom-left-radius:4px;
	border-bottom-right-radius:4px;
}
.csstransforms ul a span {
	-moz-transform:rotate(-180deg);
	-webkit-transform:rotate(-180deg);
}

/* fallbacks */
.no-cssgradients nav, .no-js nav {
	padding-bottom: 4px;
	border:none; background:url(../fallback/navBG.gif) repeat-x 0 0;
}
.no-borderradius nav ul, .no-js nav ul {
	background: url(../fallback/navRight.gif) no-repeat 100% 0;
}
.no-borderradius nav ul ul, .no-js nav ul ul {
	background: none;
}
.no-borderradius nav li, .no-js nav li {
	height: 44px;
}
.no-cssgradients nav li:hover, .no-js nav li:hover {
	background: url(../fallback/navOverBG.gif) repeat-x 0 0;
}
.no-borderradius nav li li, .no-js nav li li {
	height: auto;
	width: 98%;
	left: -2px;
}
.no-borderradius nav li:first-child, .no-js nav li:first-child {
	background: url(../fallback/navLeft.gif) no-repeat 0 0;
}
.no-borderradius nav li:first-child:hover, .no-js nav li:first-child:hover {
	background: url(../fallback/navOverLeft.gif) no-repeat 0 0;
}
.no-borderradius nav li li:first-child, .no-js nav li li:first-child {
	background: none;
}
.no-rgba nav ul ul, .no-js nav ul ul {
	left: 1px;
	padding-left: 2px;
	background: url(../fallback/subnavBG.png) no-repeat 100% 100%;
}
.no-rgba nav ul ul a, .no-js nav ul ul a {
	left:3px;
}
.no-rgba nav ul ul a:hover {
	background: url(../fallback/subOverBG.png) repeat 0 0;
}
.no-csstransforms ul a span {
	height: 7px;
	width: 12px;
	margin-top: 8px;
	text-indent: -5000px;
	overflow: hidden;
	background: url(../fallback/indicator.png) no-repeat 0 0;
}
.no-borderradius ul ul li.last {
	margin-bottom: 10px;
}
.no-cssgradients.boxshadow nav {
	box-shadow: none;
}