#nav_all {
	width: 100%;
}
a {
	text-decoration: none;
}

.right_border {
	border-right: 1px solid #666666;
}

.about #nav_all .on a {
	background: #C3C845;
	color: #494921;
}

.portfolio #nav_all .on a {

	background: #e7cf2f;
	color: #5e513e;
}

.contact #nav_all .on a {
	background: #dd7e2a;
	color: #ffffff;
}



#nav_main {
	position: absolute;
	left: 350px;
	top: 30px;
	border-bottom: 1px solid #666666;
	list-style: none;
	font-size: 12px;
	letter-spacing: 2px;
	text-align: center;
	width: 620px;
}


#nav_main li {
	float: left;
	border-top: 1px solid #666666;
	border-left: 1px solid #666666;
}


#nav_main a {
	display: block;
	width: 140px;
	height: 14px;
	color: #999999;
	padding-top: 7px;
	padding-bottom: 8px;
}

/*.about #nav_main .on a  {
	background: #C3C845;
	color: #00FF00;
}
*/

#lang_switch {
	position: absolute;
	top: 92px;
	left: 662px;
	letter-spacing: 1px;
	font-size: 10px;
	color: #999999;
}

#lang_switch a {

	color: #565656;
}


/*.e #header #lang_switch .d {
	color: #999999;
}

.e #header #lang_switch .e {
	color: #565656;
}*/

/*The next two declarations are hacks for fixing bottom border problem in IE*/

#nav_sub {
	list-style: none;
	left: 210px;
	position: absolute;
	float: left;
	bottom: -1px;
	font-size: 10px;
	letter-spacing: 2px;
}

#header #nav_all>#nav_sub {
	position: absolute;
	bottom: 0px;
	float: left;
}

#nav_sub li {
	float: left;
	border-top: 1px solid #666666;
	border-left: 1px solid #666666;
}
.about #nav_sub li {
	background: #DCDEB7;
}
.portfolio #nav_sub li {
	background: #f0e59d;
}
.contact #nav_sub li {
	background: #d4ab86;
}

#nav_sub a {
	display: block;
	height: 16px;
	width: 140px;
	text-align: center;
	padding-top: 3px;

}
.about #nav_sub a {
	color: #989851;
}
.portfolio #nav_sub a {
	color: #b7a971;

}
.contact #nav_sub a {
	color: #eedecf;
}
