/**********************************************************************************
* phpComasy Web Content Management System                                         *
* http://www.phpcomasy.com                                                        *
*                                                                                 *
* Copyright (c) 2005 - 2013 indual GmbH (http://www.indual.ch)                    *
*                                                                                 *
* phpComasy is released under his own licence (http://www.phpcomasy.com/licence)  *
**********************************************************************************/

/* ---------- Rootnavi ---------- */
header nav {
	max-width: 700px;
	background: #f6ecd8;
	border-radius: 5px;
	float: right;
	width: 100%;
	clear: both;
	text-align: center;
}
nav ul,
nav ul li {
	margin: 0;
	padding: 0;
	list-style: none;
}
.page header nav li {
	display: inline-block;
	position: relative;
	margin: 0 15px;
}
.page header nav .navigation a,
.page header nav .sub-navigation a {
	display: inline-block;
	line-height: 40px;
	font: 400 22px/40px 'Titillium Web', Arial, sans-serif;
	color: #624a18;
	position: relative;
	text-decoration: none;
	-webkit-transition: all 0.15s ease-out;
	   -moz-transition: all 0.15s ease-out;
	     -o-transition: all 0.15s ease-out;
	        transition: all 0.15s ease-out;
}
.page header nav .navigation a:before,
.page header nav .sub-navigation a:before {
	content: '';
	position: absolute;
	width: 100%;
	height: 2px;
	bottom: 0;
	border-radius: 5px 5px 0 0;
	background: transparent;
	-webkit-transition: all 0.15s ease-out;
	   -moz-transition: all 0.15s ease-out;
	     -o-transition: all 0.15s ease-out;
	        transition: all 0.15s ease-out;
}
.page header nav .navigation > li:hover > a {
	color: #9d8b65;
}
.page header nav .navigation .current a:before,
.page header nav .sub-navigation .current a:before {
	background: #624a18;
}
ul.navigation li#nav-9 {
	display: none;
}

/* ---------- Subnavi (Dropdown) ---------- */
header nav ul ul {
	position: absolute;
	visibility: hidden;
	width: 248px;
	border: 1px solid #b0a48b;
	border-radius: 5px;
	background: #faf4e8;
	top: 44px;
	left: 50%;
	margin-left: -124px;
	opacity: 0;
	z-index: 80;
	-webkit-transform-origin: center top;
	-webkit-transition: all 0.15s ease-out;
	   -moz-transition: all 0.15s ease-out;
	     -o-transition: all 0.15s ease-out;
	        transition: all 0.15s ease-out;
}
header nav ul ul:before {
	content: '';
	width: 100%;
	height: 15px;
	left: 0;
	top: -15px;
	position: absolute;
	background: url(../img/subnavi_tip.png) no-repeat center bottom;
}
header nav ul li:hover ul {
	visibility: visible;
	opacity: 1;
}
.page header nav .navigation ul li a:before {
	display: none;
}
.page header nav .navigation ul li {
	display: block;
	padding: 1px 10px 0;
	background: url(../img/subnavi_line.png) no-repeat center top;
}
.page header nav .navigation ul li:first-child {
	padding-top: 0;
	background: none;
}
.page header nav .navigation ul a {
	display: block;
	font-size: 17px;
	line-height: 20px;
	padding: 10px 0;
	margin: 0;
}
.page header nav .navigation ul a:hover,
.page header nav .navigation ul .current a {
	color: #9d8b65;
}

/* ---------- Subnavi for Touch ---------- */
nav.subnavi {
	margin: 5px 0 15px;
	background: #fcf9f4;
	display: none;
}
.touch nav.subnavi {
	display: block;
}
.page header nav .sub-navigation a {
	font-size: 18px;
	line-height: 34px;
}

/* ---------- Metanavi ---------- */

.meta-navigation {
	float: left;
	list-style: none;
}
.meta-navigation li {
	display: inline-block;
	margin: 0 10px 0 0;
}
.meta-navigation li a {
	color: #666;
	text-transform: uppercase;
	text-decoration: none;
	font: 600 14px/22px 'Titillium Web', Arial, sans-serif;
}
.meta-navigation li a:hover {
	color: #000;
}
