@charset "utf-8";

/*
@prefix : <http://purl.org/net/ns/doas#> .
<> a :CSSstylesheet;
 :title "Vicuna - Global Navigation Style Module";
 :created "2008-01-03";
 :release [:revision "1.0"; :created "2008-01-04"];
 :author [:name "wu"; :homepage <http://vicuna.jp/>; :mbox "3ping.org@gmail.com"];
 :license <http://creativecommons.org/licenses/by/3.0/>;
 :description "グローバルメニューHTML用のスタイル定義";
 :note "このモジュールを有効にする前に、グローバルメニュー用のHTMLが追加されている必要があります。" .
*/

div#header {
	border-bottom: none;
}

/*======================================

	Global Navigation Module
	
=======================================*/

#globalNavi {

	height: 32px;
	font-size: 0.85em;
	position: relative;
	z-index: 100;
	border-right: 1px solid #000;
}

/* remove all the bullets, borders and padding from the default list styling */

#globalNavi ul {
	padding: 0;
	margin: 0;
	list-style-type: none;
}


#globalNavi ul ul {
	width: 149px;

}


/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */

#globalNavi li {
	float: left;
	width: 149px;
	position: relative;
}

/* style the links for the top level */

#globalNavi a, #globalNavi a:visited {
	display: block;
	font-size: 11px;
	text-decoration: none;
	color: #fff;
	width: 138px;
	height: 30px;
	border: 1px solid #000;
	border-width: 1px 0 1px 1px;
	background: #758279;
	padding-left: 10px;
	line-height: 29px;
}

/* style the second level background */

#globalNavi ul ul a.drop, #globalNavi ul ul a.drop:visited {
	background: #c9ba65;
}

#globalNavi ul ul a.drop:hover {
	background: #c9ba65;
}

#globalNavi ul ul :hover > a.drop {
	background: #c9ba65;
}

/* hide the sub levels and give them a positon absolute so that they take up no room */

#globalNavi ul ul {
	visibility: hidden;
	position: absolute;
	height: 0;
	top: 31px;
	left: 0;
	width: 149px;
	border-top: 1px solid #000;
}

/* position the third level flyout menu */

#globalNavi ul ul ul {
	left: 149px;
	top: -1px;
	width: 149px;
}

/* position the third level flyout menu for a left flyout */

#globalNavi ul ul ul.left {
	left: -149px;
}

/* style the second level links */

#globalNavi ul ul a, #globalNavi ul ul a:visited {
	background: #b2ab9b;
	color: #fff;
	height: auto;
	padding: 0 10px;
	width: 149px;
	border-width: 0 1px 1px 1px;
	font-size: 10px;
	text-align: left;
	line-height: 2;
}

/* style the top level hover */

#globalNavi a:hover, #globalNavi ul ul a:hover {
	color: #fff;
	background: #949e7c;
}

#globalNavi :hover > a, #globalNavi ul ul :hover > a {
	color: #fff;
	background: #b2ab9b;
}

/* make the second level visible when hover on first level list OR link */

#globalNavi ul li:hover ul,
#globalNavi ul a:hover ul {
	visibility: visible;
}

/* keep the third level hidden when you hover on first level list OR link */

#globalNavi ul :hover ul ul {
	visibility: hidden;
}

/* make the third level visible when you hover over second level list OR link */

#globalNavi ul :hover ul :hover ul {
	visibility: visible;
}