/* CSS Document */


/*_______________ imgbar _______________*/

div#img{

	border-top: 5px solid #fff;
	border-bottom: 5px solid #fff;
	width: 9em;
}

.imgborder {
	border-top: 1px solid #fff;
	} 
/*_______________ navbar _______________*/

div#nav{
	float: right;
	padding:0;
	margin-left: 625px;
	background-color: #A2A865;
	position:absolute;

}

#menu{

	width: 11em;
	padding: 0;
	margin-left: 0;
	margin-right: 0;
}

#menu ul, #menu li	{
	border-bottom:0px none;
	list-style-type: none;
	margin: 0;
	padding: 0;
	background-color: #889255;
}

#menu a:link, #menu a:visited	{
	display: block;
	background-color:#889255;
	text-decoration: none;
	font-size: 84%;
	color: #eec;
	padding-left:6px; padding-right:0; padding-top:0.3em; padding-bottom:0.3em;
	width: 169px;

}

/*___ active link highlighted ___*/
body.menu1 #nav1 a:link,
body.menu1 #nav1 a:visited,
body.menu2 #nav2 a:link,
body.menu2 #nav2 a:visited,
body.menu3 #nav3 a:link,
body.menu3 #nav3 a:visited,
body.menu4 #nav4 a:link,
body.menu4 #nav4 a:visited,
body.menu5 #nav5 a:link,
body.menu5 #nav5 a:visited,
body.menu6 #nav6 a:link,
body.menu6 #nav6 a:visited,
body.menu7 #nav7 a:link,
body.menu7 #nav7 a:visited,
body.menu8 #nav8 a:link,
body.menu8 #nav8 a:visited,
body.menu9 #nav9 a:link,
body.menu9 #nav9 a:visited,
body.menu10 #nav10 a:link,
body.menu10 #nav10 a:visited,
body.menu11 #nav11 a:link,
body.menu11 #nav11 a:visited,
body.menu12 #nav12 a:link,
body.menu12 #nav12 a:visited, 
body.menu13 #nav13 a:link,
body.menu13 #nav13 a:visited, 
body.menu14 #nav14 a:link,
body.menu14 #nav14 a:visited, 
body.menu15 #nav15 a:link,
body.menu15 #nav15 a:visited, 
body.menu16 #nav16 a:link,
body.menu16 #nav16 a:visited, 
body.menu17 #nav17 a:link,
body.menu17 #nav17 a:visited, 
body.menu18 #nav18 a:link,
body.menu18 #nav18 a:visited, 
body.menu19 #nav19 a:link,
body.menu19 #nav19 a:visited, 
{
	background-color:#c2c695;
	color: #663;
}

#menu a:hover, #menu a:focus
{
	background-color:#c2c695;
	color: #663;
}

.non-link-nav {
	display: block;
	text-decoration: none;
	font-size: 65%;
	text-align:center;
	color: #eec;
	padding-left:6px; padding-right:0; padding-top:0.8em; padding-bottom:0.3em;
	width: 169px;
	height:19px;
	vertical-align:middle;
}

/*_______________ navbar  _______________*/

ul {
	margin: 0;
	padding: 0;
	list-style: none;
	width: 200px;
	}

ul li {
	position: relative;
	}

li ul {
	position: absolute;
	right: 203px;
	top: 0;
	display: none;
	
	}

ul li a {
	display: block;
	text-decoration: none;
	border: 1px solid #ddb;
	border-bottom: 0;
	}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
	width: 150px;
	border-bottom: 1px solid #ddb;
	}


li:hover ul, li.over ul { 
	display: block;
}

<ul id="nav"></ul>


/*_______________ backgrounds _______________*/


#wrapper {
	margin: 0 auto;
/* Missing scrollbar in Firefox: add # before position: fixed; */
	#position: fixed;
	padding-bottom: 5px;
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 5px;
	text-align: left;
	width: 800px;
	height: 100%;
		margin: 0 auto;
}


#header {
	background-image:   url(images/mainhead.png) ;
	width: 800px;
	background-position:bottom;
	height: 140px;	
	background-repeat:no-repeat;
}

#fir, #fir span { 
	font-size: 50%;
} 

#contents {
	font-size: 84%;
	line-height: 1.4em;
	margin-left: 0px;
	margin-right: 176px;
	min-height: 522px;
	padding: 1px 15px 1px 15px;
	text-align: justify;
	width: 595px;
	min-width: 595px;
	max-width: 595px;
	background-color:#FFFFFF;
}


#contentsdiary {
	font-size: 84%;
	line-height: 1.4em;
	margin-left: 0px;
	margin-right: 0px;
	min-height: 522px;
	padding: 1px 15px 1px 15px;
	text-align: justify;
	
	background-color:#FFFFFF;
}
#contentsindex {
	font-size: 84%;
	line-height: 1.4em;
	margin-left: 135px;
	margin-right: 185px;
	min-height: 50px;
	padding: 1px 1px 1px 1px;
	text-align: justify;
	max-width: 735px;
}
/*_______________ text _______________*/

html, body {
	font-family: century gothic;
	font-weight: lighter;
	text-align: left;
	margin: 1px;
	min-height: 390px;
	min-width: 600px;
	padding: 0;
	background:#ddb;
	height: 390px;
}

.menu {
	text-align:center;
	line-height: normal;
	font-size: 90%;
}
.menu100 {
	text-align:center;
	line-height: normal;
	font-size: 110%;
}

.menutitle {
	text-align:center;
	font-variant:small-caps;
	font-size:medium
}

.imglink {
	border: 0;
}

.center {
	text-align:center;
}
.h1smaller {
	text-align:center;
	font-size: 120%;
}
.h1smallerleft {
	text-align:left;
	font-size: 120%;
}

.left {
	text-align:left;
}

.right {
	text-align:right;
}

.bold {
	font-weight:bold;
}

.smallcaps {
	font-variant:small-caps;
}

.small-center {
	text-align:center;
	font-size: 80%;
}
.small-90 {
	font-size: 90%;
}
.small-right {
	text-align:right;
	font-size: 80%;
}

.small-right-green {
	text-align:right;
	font-size: 80%;
	color: #889255;
	line-height:normal;

}
.small-center-green {
	text-align: center;
	font-size: 80%;
	color: #889255;
	line-height:normal;
}


.small-green {
	font-size: 80%;
	color: #889255;
	line-height:normal;
}

.small-green90 {
	font-size: 90%;
	color: #889255;
	line-height:normal;
}

.green-dark {
	color: #663;
	line-height:normal;
}

.small {
	font-size: 80%;
	font-size: 80%;
}
.small-95 {
	font-size: 95%;
}

.submenu {
	font-size: 90%;
	color: #889255;
	line-height:normal;
	text-decoration:none;
}

.problems {
	font-size: 90%;
	color:#666666
	line-height:normal;
	text-decoration:none;
}

a[href]:hover	{
	background-color:  #889255;
	color: #eec;
	width: 12.6em;
}
a[href]:focus	{
	background-color:  #889255;
	color: #eec;
	width: 12.6em;
}
a[href]:active	{
	background-color:  #889255;
	color: #eec;
	width: 12.6em;
}

.invisible {
	font-size: 80%;
	color:transparent;
}

.endmenu {
	text-align: center;
	color: #889255;
}

.clear {
	clear:both
}

.link {
	font-variant:small-caps;
	float:right;
	color: #663;
}
.linkcenter {
	font-variant:small-caps;
	color: #663;
	text-align:center;
	float:center;
	
}
.sublink {
	float:center;
	color: #fff;	
}

.linkintext {
	font-variant:small-caps;
	color: #663;
}


.linkintextboldred {
	font-variant:small-caps;
	font-size:16px;
	color:#FF0000;
}
.linkintextnocaps {
	color: #663;
}

.linkintextnocapsblack {
	color: #000;
}

.sublist {
	list-style-position:inside;
}

.quizques {
	font-variant:small-caps;
	color: #889255;
}
.quizans {
	font-variant:normal;
	color:#000000;
}

/*_______________ headers _______________*/

h1 {
	font-family: century gothic;
	font-size: 160%;
	font-weight:normal;
	color: #663;
	text-align: center;
	margin-top: 20px;
}

h2 {
	font-family: century gothic;
	font-size: 100%;
	font-weight:500;
	color: #fff;
	text-align:left;
	background-color: #889255;
	background-position:center;
	line-height: 110%;
	padding: 6px;
}

h3 {
	font-family: century gothic;
	font-size: 100%;
	color: #663;
	text-align:left;
}

h4 {font-family: century gothic;
	font-size: 110%;
	color: #663;
	text-align:left;	
		font-weight:normal;
}
h5 {
	color: #663;
}
/*_______________ tables _______________*/

table {
	font-size: 90%;
	line-height: 200%;
}
td {
	background-color: #889255;
	color: #fff; 
}
caption {
	background-color:#889255;
	font-weight:bold;
	font-variant: small-caps;
	color: #fff; 
}
th {
	background-color: #889255;
	color: #fff; 
	font-weight:bold;
}
.diary {
	background-color: #A2A865;
	font-weight: normal;
}


/*_______________ footers _______________*/

#footer {
	background-position: top;
	background-color: #889255;
	background-repeat: no-repeat;
	color: #fff;
	font-size:65%;
	height: 12px;
	padding: 5px 1px 5px 1px;
	text-align: left;
	min-width: 623px;
	max-width: 623px;
	width: 623px;
}

#footer a:link, #footer a:visited{
	background-color: transparent;
	color: #eec;
	list-style: none;
	padding-left: 3px;
	padding-right: 4px;
	text-align: left;
	text-decoration: none;
}

#footer a:hover, #footer a:focus{
	background-color: #747841;
	color: #eec;
	list-style: none;
	padding-left: 3px;
	padding-right: 4px;
	text-align: left;
	text-decoration: none;
}
