/***** TYPOGRAPHY *****/

body {
	margin: 0;
	padding: 0;
	font: 80% Tahoma, sans-serif;
	line-height: 20px;
	color: #754c24;
	text-align: center;
	background-attachment: fixed;
	background: #f88d1d url(../images/bodybg.jpg) bottom left fixed repeat-x
}

a img {
	border: 0
}

p {
	padding: 20px 0 0 5px;
	margin: 0
}

br.clear {
	clear: both
}

.footer {
	font-size: 85%;
	text-align: center
}

#secondary-content h1 {
	font-size: 140%;
	margin: 20px 0 0 0;
	padding: 0;
	line-height: 30px;
	width: 445px;
	height: 38px;
	background: url(../images/secondary-header-bg.gif) repeat-x
}

#secondary-content ul {
	margin: 15px 0 0 20px;
	padding: 0
}

h2, h3, h4 {
	margin: 20px 0 0 0;
	padding: 0
}

h2 {
	font-size: 125%
}

h3 {
	font-size: 120%
}

h4 {
	font-size: 110%
}

td {
	font-size: 95%
}

/***** LINKS *****/

#nav ul a:link, #nav ul a:visited {
	color: #754c24;
	text-decoration: none
}

#nav ul a:hover, #nav ul a:active {
	background: url(../images/nav-rollover-bg.gif) no-repeat;
	color: #f4cf98
}

#content a:link, #content a:visited, #bottom-links a:link, #bottom-links a:visited, .footer a:link, .footer a:visited, a.english:link, a.english:visited, a.german:link, a.german:visited {
	font-weight: bold;
	color: #754c24;
	text-decoration: underline
}

#content a:hover, #content a:active, #bottom-links a:hover, #bottom-links a:active, .footer a:hover, .footer a:active, a.english:hover, a.english:active, a.german:hover, a.german:active {
	font-weight: bold;
	color: #ff7e00;
	text-decoration: underline
}

a.english {
	display: block;
	float: left;
	width: 90px;
	height: 23px;
	text-align: right;
	line-height: 23px;
	font-weight: bold;
	text-indent: 0;
	background: #F4CF98 url(../images/english-flag.gif) 8px center no-repeat;
}

a.english:hover, a.english:active {
	background-color: #F0C078
}

a.german {
	display: block;
	float: left;
	width: 90px;
	height: 23px;
	text-align: right;
	line-height: 23px;
	font-weight: bold;
	text-indent: 0;
	background: #F4CF98 url(../images/german-flag.gif) 8px center no-repeat;
}

a.german:hover, a.german:active {
	background-color: #F0C078
}

/***** LAYERS *****/

#frame {
	overflow: auto;
	margin: 0 auto;
	padding: 25px 0 0 0;
	text-align: left;
	width: 735px;
	background: url(../images/worn-paper-bg.gif) top left repeat-y
}

#header {
	margin: 0 45px;
	padding: 0;
	height: 106px
}

#header img {
	float: left;
	display: inline
}

#nav {
	float: left;
	display: inline;
	width: 180px;
	margin: 20px 16px 0 45px;
	padding: 0
}

/***** DROPDOWN STYLES *****/

#nav ul {
	display: block;
	margin: 0 0 20px 0;
	padding: 0;
	float: left;
	list-style: none
}

#nav li {
	position: relative;
	float: left;
	width: 180px;
	margin: 0;
	padding: 0
}

#nav li ul, #nav li.sfhover ul {
	position: absolute;
	visibility: hidden;
	margin: -29px 0 0 180px;
	padding: 0
}

#nav li ul ul {
	visibility: hidden
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
	visibility: hidden
}
	
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul { /* lists nested under hovered list items */
	visibility: visible
}

/***** END DROPDOWN STYLES *****/

/***** FOOTER STYLES *****/

#bottom-links {
	text-align: center;
	font-size: 12px;
	margin: 0;
	padding: 20px 0 0 0;
	clear: both
}

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

#bottom-links ul li {
	display: inline;
	padding: 0 5px;
	border-right: 1px solid #754C24
}

#bottom-links ul li ul li {
	border: 0;
	margin: 0;
	padding: 0
}

#bottom-links li.sfhover ul li {
	border: 0;
	margin: 0;
	padding: 0
}

#bottom-links ul li ul, #bottom-links ul li ul ul {
	visibility: hidden
}

#bottom-links li:hover ul ul, #bottom-links li:hover ul ul ul, #bottom-links li.sfhover ul ul, #bottom-links li.sfhover ul ul ul {
	visibility: hidden
}
	
#bottom-links li:hover ul, #bottom-links li li:hover ul, #bottom-links li li li:hover ul, #bottom-links li.sfhover ul, #bottom-links li li.sfhover ul, #bottom-links li li li.sfhover ul { /* lists nested under hovered list items */
	visibility: hidden
}

/***** END FOOTER yau STYLES *****/


#nav ul a {
	display: block;
	line-height: 29px;
	text-indent: 15px;
	height: 29px;
	background-color: #f0c078;
	font-weight: bold;
	border-bottom: 1px solid #f4cf98
}

ul#language li {
	display: block;
	float: left;
	list-style-type: none;
	background: none
}

li.english a {
	display: block;
	float: left;
	width: 90px;
	height: 23px;
	text-align: right;
	line-height: 23px;
	font-weight: bold;
	text-indent: 0;
	background: #F4CF98 url(../images/english-flag.gif) 8px center no-repeat;
	
}

li.german a {
	display: block;
	float: left;
	width: 90px;
	height: 23px;
	text-align: right;
	line-height: 23px;
	font-weight: bold;
	background: #F4CF98 url(../images/german-flag.gif) 8px center no-repeat
	
}

ul#language li.english a:hover, ul#language li.english a:active, ul#language li.english a.active {
	background: #f0c078 url(../images/english-flag.gif) 8px center no-repeat
}

ul#language li.german a:hover, ul#language li.german a:active, ul#language li.german a.active {
	background: #f0c078 url(../images/german-flag.gif) 8px center no-repeat
}

#content, #secondary-content {
	float: left;
	margin: 0;
	padding: 0;
	width: 445px
}

#credit {
	clear: both;
	margin-bottom: 25px
}

/***** IMAGE REPLACEMENT *****/

#content h1.home {
	width: 449px;
	height: 80px;
	margin: 0;
	padding: 0;
	text-indent: -200em;
	overflow: hidden;
	background: url(../images/home-hdr.jpg) no-repeat
}

#nav h4 {
	width: 162px;
	height: 17px;
	text-indent: -200em;
	overflow: hidden;
	background: url(../images/choose-language.gif) no-repeat
}
