﻿/* This rule resets a core set of elements so that they will appear consistent across browsers. Without this rule, content styled with an h1 tag, for example, would appear in different places in Firefox and Internet Explorer because each browser has a different top margin default value. By resetting these values to 0, the elements will initially be rendered in an identical fashion and their properties can be easily defined by the designer in any subsequent rule. */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6 {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	color: #4E530D;
}
/* The body is the outermost layout component and contains the visible page content. Setting properties for the body element will help to create consistent styling of the page content and more manageable CSS. Besides using the body element to set global properties, it is common to use the body element to set the background color of the page and create a centered container for the page content to display. */
body {
	font: 1em Arial, Helvetica, sans-serif;
	background: #FFFFFF repeat;
	text-align: center; /* Centers the page content container in IE 5 browsers. */;
	margin: 0px;
	padding: 0px;
}
/* =============== headings ================*/
h1, h2, h3, h4 {
	font-weight: bold;
	font-family: 標楷體;
	padding-top: 1em;
	padding-bottom: 1em;
}
h1 {
	font-size: 2em;
}
h2 {
	font-size: 1.5em;
	border-bottom-style: solid;
	border-bottom-width: thin;
	border-bottom-color: #808000;
}
h3 {
	font-size: 1.25em;
}
h4 {
	margin: 1em;
}
/* ================links ===================*/
a, a:link {
	color: #68673E;
	font-weight: bold;
	text-decoration: none;
}
a:visited {
	color: #606000;
	font-weight: bold;
	text-decoration: none;
}
a:hover {
	text-decoration: none;
	font-family: 標楷體;
	font-size: 1.2em;
}
/*============ this is the 2nd layer change the background color to match the image you use ============= */
hr {
	width: auto;
	position: relative;
}
.style1 {
	list-style-type: upper-alpha;
}
.style2 {
	list-style-type: lower-alpha;
}
.style3 {
	list-style-type: circle;
}
#outerwrapper {
	padding: 1em;
	margin: 1em auto 0 auto;
	background: #6A6A00 repeat;
	height: auto;
	width: 70%;
}
/*================= this is the inner content wrapper 
a light solid color gives a better contrast for the text
======================= */
#innerwrapper {
	border: 1px solid #A46F3A;
	background-color: #D7D589;
	width: 90%;
	text-align: left; /* Redefines the text alignment defined by the body element. */;
	margin: 0px auto 0px auto;
	height: auto;
}
/*=============== masthead ==================*/
#header {
	background: url('images/logo_cdd.jpg') no-repeat left;
	height: 170px;
	background-color: #FFFFFF;
}
#banner {
	background: left;
	text-align: center;
	vertical-align: middle;
	font-size: 2em;
	font-family: 標楷體;
	padding-top: 2em;
	letter-spacing: .5em;
	color: #474D00;
}
/* ============== content wrapper contains menu and main content =================*/
#menulink {
	display: none;
}
/* ============== navigation ================*/
#nav ul {
	/* all lists */
	padding: .5em;
	margin: 0em;
	list-style: none;
	float : left;
	width: 10em;
	background-color: #F0EE90;
}
padding: 0;
	margin: 0;
	list-style: none;
	float : left;
	width: 10em;
	color: #003300;
}
#nav li {
	/* all list items */
	position : relative;
	float : left;
	line-height : 1.25em;
	margin-bottom: 1px;
	width: 10em;
}
#nav li ul {
	/* second-level lists */
	position : absolute;
	left: -999em;
	margin-left : 10em;
	margin-top : -1.3em;
}
#nav li ul ul {
	/* third-and-above-level lists */
	left: -999em;
}
#nav li a {
	/*width: 10em;*/
	display : block;
	text-decoration : none;
	border: .1em solid #616100;
	padding : 4px 0;
	text-align: center;
	line-height: 1em;
}
#nav li a:hover {
	border: .1em solid #F2F0A0;
	color: #646400;
	background-color: #C6C600;
	margin-right: 0.5px;
	margin-left: 0.5px;
	font-family: 標楷體;
}
#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
	border: .1em solid #626200;
	left: -999em;
	background-color: #F0EE90;
}
#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 */
		border: .1em solid #676700;
	left: auto;
	background-color: #F0EE90;
}
/* Possible new selectors left navigation submenu */
/*=============main content area ================*/
#content {
	margin: 0em 1em 1em 12em;
	padding: 1em;
	height: auto;
	width: auto;
}
/* Using floated elements and a clear float class is a common method to accomplish multiple column tableless layouts. If floated elements are used without being cleared the elements following will wrap around the floated element. This class should be applied to an element after the last floated element and before the close of the container with floated elements. */
.clearFloat {
	display: block;
	clear: left;
}
/* ====================footer ===================*/
#footer {
	margin: 1em;
	background-color: #D7D589;
	border-top: solid 1px #666;
	padding: 2em;
	font-size: .85em;
	text-align: center;
	border-top-color: #414600;
}
#footer p {
	margin-top: 0px;
	margin-bottom: 0px;
}
/* ================== global styles ===================*/
.smalltext {
	font-size: small;
}
.floatleft {
	float: left;
	margin: 10px 10px 10px 15px;
}
.floatright {
	float: right;
	margin: 10px 15px 10px 10px;
}
table caption {
	font-family: 標楷體;
	font-size: 1.2em;
}
