body {
background-color: #FFF;
background-image: url(/content/bg_pattern.gif);
margin: 0px 5%;
padding: 0;
font-family: Verdana, Helvetica, Sans-Serif;
}

b {
font-weight: bold;
}

a:link {
	text-decoration: none;
	color: #363;
}

a:visited {
	text-decoration: none;
	color: #363;
}

a:hover {
	text-decoration: underline;
	color: #363;
}


/* General style rules for table layout */

table {
width: 99%;
border: 1px solid #696;
padding: 0;
margin: 0;
}

table th {
background-color: #696;
font-size: 0.8em;
font-weight: bold;
color: #FFF;
padding: 0.2em 0.8em;
margin: 0;
text-align: left;
border-bottom: 1px dashed #363;
}

table td {
font-size: 0.8em;
padding: 0.2em 0.8em;
margin: 0;
border-bottom: 1px dashed #DDD;
text-align: left;
vertical-align: top;
}

#container {
background-color: #FFF;
margin: 0px auto;
border-right: 1px solid #CCC;
border-left: 1px solid #CCC;
border-bottom: 1px solid #CCC;
}

/* This part contains the websites header and title */

#headerleft {
float: left;
width: 220px;
background-image: url(/content/bg_headerleft.gif);
background-repeat: no-repeat;
background-position: left top;
background-color: #FFF;
height: 85px;
}

#title {
height: 70px;
}

#title h1 {
font-family: 'Trebuchet MS', Helvetica, Sans-Serif;
font-size: 22px;
font-weight: bold;
letter-spacing: 0.3em;
margin: 15px 0.8em 0 0.8em;
}

#title h1 .color1 {
color: #363;
}

#title h1 .color2 {
color: #999;
}

#title h1 a {
text-decoration: none;
}

#headerright {
position: relative;
border-left: 1px solid #CCC;
margin-left: 220px;
background-image: url(/content/bg_headerright.gif);
background-repeat: no-repeat;
background-position: right top;
border-left: 1px solid #CCC;
}

#subtitle {
height: 85px;
text-align: right;
}

#subtitle h2 {
font-family: 'Trebuchet MS', Helvetica, Sans-Serif;
font-size: 1em;
font-weight: bold;
color: #363;
padding-top: 45px;
margin: 0 0.8em 0 0;
}

/* Box1 contains the navigation menu */

#box1 {
border-top: 1px solid #CCC;
float: left;
width: 220px;
background-color: #FFF;
margin-right: 0px;
}

#ad {
margin-left: 20px;
margin-top: 20px;
}

#menu {
}

#menu h3 {
font-family: 'Trebuchet MS', Helvetica, Sans-Serif;
font-size: 1em;
font-weight: bold;
color: #363;
padding: 0.2em 1.2em;
margin: 0;
border-top: 1px solid #CCC;
border-bottom: 1px solid #CCC;
}

#menu ul {
list-style: none;
margin: 0;
padding: 1em 0;
border: 0;
}

#menu li {
padding: 0.2em 0 0.2em 1.2em;
}

#menu li a {
background-image: url(/content/star1.gif);
background-repeat: no-repeat;
padding-left: 1.6em;
font-weight: bold;
font-size: 0.8em;
color: #999;
text-decoration: none;
}

#menu li a:hover {
background-image: url(/content/star2.gif);
background-repeat: no-repeat;
padding-left: 1.6em;
font-weight: bold;
font-size: 0.8em;
color: #C90;
text-decoration: none;
}

#menu .accesskey {
text-decoration: underline;
}

/* Box2 contains the navigation breadcrumbs and the content */

#box2 {
position: relative;
border-top: 1px solid #CCC;
margin-left: 220px;
border-left: 1px solid #CCC;
}

#breadcrumbs {
color: #000;
padding: 0.6em 1.8em;
font-size: 0.6em;
border-bottom: 1px dashed #CCC;
}

#breadcrumbs ul {
margin-left: 0;
padding-left: 0;
display: inline;
border: none;
} 

#breadcrumbs ul li {
margin-left: 0;
padding-left: 0.2em;
border: none;
list-style: none;
display: inline;
}

#breadcrumbs a {
color: #363;
text-decoration: underline;
}

#breadcrumbs a:visited {
color: #999;
text-decoration: underline;
}

#breadcrumbs a:hover {
color: #C90;
text-decoration: none;
}

div .content {
position: relative;
padding: 0.0em 1.2em;
border-bottom: 1px dashed #CCC;
}

div .content h3 {
position: relative;
font-family: 'Trebuchet MS', Helvetica, Sans-Serif;
font-size: 1em;
font-weight: bold;
color: #363;
margin-top: 20px;
}

div .content p {
position: relative;
font-size: 0.8em;
}

div.content div.general p {
color: #363;
}

div .content a {
position: relative;
color: #363;
text-decoration: underline;
} 

div .content a:visited {
color: #999;
text-decoration: underline;
}

div.content a:hover {
color: #C90;
text-decoration: none;
}

div.content ul {
margin: 1.4em 2em;
}

div.content ul li {
list-style-image: url(/content/star.gif);
font-size: 0.8em;
margin: 0.5em 0;
}

div.content a {
font-weight: bold;
}

div.countries {
position: relative;
border-top: 1px dashed #CCC;
padding-top: 20px;
}

div.countries div.item img {
position: relative;
float: left;
width: 100px;
display: inline;
margin: 5px 5px;
border: 1px solid #666; 
}


div.countries div.item p {
position: relative;
margin-left: 120px;
}

div.countries div.item {
position: relative;
height: 120px;
line-height: 1.2em;
}

/* Form layout */

form {
position: relative;
margin: 2em 0;
padding: 0.8em;
background-color: #fcfcfc;
border: 1px dashed #DDD;
}

form span.search {
display: inline-block;
font-size: 0.8em;
}

form .search div.title {
font-weight: bold;
}

form .search div.input {
margin-right: 1em;
}

form .search div.input span {
margin-left: 2em;
}

form div.search {
margin-top: 8px;
font-size: 0.8em;
}

.button {
font-family: 'Trebuchet MS', Helvetica, Sans-Serif;
font-size: 1em;
font-weight: bold;
color: #FFF;
background-color: #363;
background-image: url(/content/bg_button.gif);
background-repeat: repeat-x;
background-position: top;
border: 1px solid;
border-color: #9c9 #030 #030 #9c9;
padding: 0 1em;
}

/* Footer for copyright and update information */

div	#footer {
background-color: #EEE;
padding: 0.6em 1.8em 0.6em 30px;
border-bottom: 1px solid #CCC;
font-size: 0.6em;
color: #666;
}

div #footerspacer {
	height: 20px;
}

div #footer a {
color: #666;
text-decoration: underline;
} 

div #footer a:visited {
color: #999;
text-decoration: underline;
}

div #footer a:hover {
color: #C90;
text-decoration: none;
}

div.floatspacer {
	width: 1px;
	margin: 0px;
	float: right;
	height: 500px;
}

div.spacer {
	clear: both;
}

div.rightspacer {
	clear: right;
}

div.leftspacer {
	clear: left;
}

div.float {
	float: left;
}

img.generals {
	display: block;
	width: 126px;
	margin-left: 47px;
}

div.flag {
	position: relative;
	font-family: 'Trebuchet MS', Helvetica, Sans-Serif;
	font-size: 1em;
	font-weight: bold;
	color: #363;
	text-align: right;
	margin-right: 20px;
	margin-top: 20px;
	margin-bottom: 30px;
}

img.flag {
	border: 1px solid #666;
	vertical-align: top;
}

img.portrait {
	float: left;
	margin-left: 40px;
	margin-right: 40px;
	margin-bottom: 30px;
}

div.prefixes {
	position: relative;
	margin-top: 70px;
	font-size: 200%;
	margin-left: 140px;
	margin-right: 140px;
	text-align: center;
}

div.list {
	margin-left: 30px;
}

div.generals {
	margin-top: 0.4em;
}

div.general {
	margin-left: 30px;
	margin-right: 50px;
	font-weight: bold;
	margin-bottom: 20px;
}

div.general h3 {
	margin-bottom: 5px;
	font-size: 120%;
}

div.general p {
	font-size: 80%;
	margin-bottom: 5px;
	margin-top: 0px;
}

div.portraitsource {
	margin-top: 25px;
	margin-left: 40px;
	font-size: 80%;
}

div.assignment {
	margin-bottom: 0px;
	margin-left: 40px;
	font-size: 90%;
}
	
div.assignment div.startyear {
	float: left;
	display: inline;
	width: 40px;
}

div.assignment div.stopyear {
	float: left;
	display: inline;
}

div.assignment div.description {
	margin-left: 90px;
	margin-right: 10px;
}

div.stablelink {
	clear: both;
	margin-left: 30px;
	margin-top: 40px;
	margin-bottom: 14px;
	font-size: 60%;
}

div.stable {
	margin-top: 30px;
}

div #explanation {
	margin-top: 30px;
}

form.editgeneral div.editgeneral {
	clear: right;
}

form.editgeneral div.editgeneral div {
	float: left;
	display: inline;
	width: 200px;
	margin-right: 10px;
}

form.editgeneral div.editgeneral div.datefield {
	width: 6em;
}

form.editgeneral div.editgeneral div div {
	float: left;
	display: inline;
	margin-right: 10px;
	font-size: 70%;
	font-weight: bold;
}

form.editgeneral div.editgeneral div input {
	width: 200px;
	margin-bottom: 10px;
}

form.editgeneral div.editgeneral div.datefield input {
	width: 6em;
}

form.editgeneral div.editassignment {
	clear: both;
}

form.editgeneral div.editassignment div {
	float: left;
	display: inline;
	width: 300px;
	margin-right: 10px;
}

form.editgeneral div.editassignment div.datefield {
	width: 6em;
}

form.editgeneral div.editassignment div div {
	float: left;
	display: inline;
	margin-right: 10px;
	font-size: 70%;
	font-weight: bold;
}

form.editgeneral div.editassignment div input {
	width: 200px;
	margin-bottom: 7px;
}

form.editgeneral div.editassignment div.datefield input {
	width: 6em;
}

form.login div {
	margin-bottom: 10px;
}

form.login div div {
	width: 7em;
	float: left;
	clear: both;
}

form.login div input {
	width: 12em;
}

form.login input {
	clear: both;
}

form.editgeneral div.editpromotion {
	clear: both;
}

form.editgeneral div.editpromotion div {
	float: left;
	display: inline;
	width: 300px;
	margin-right: 10px;
}

form.editgeneral div.editpromotion div.datefield {
	width: 6em;
}

form.editgeneral div.editpromotion div div {
	float: left;
	display: inline;
	margin-right: 10px;
	font-size: 70%;
	font-weight: bold;
}

form.editgeneral div.editpromotion div input {
	width: 200px;
	margin-bottom: 7px;
}

form.editgeneral div.editpromotion div.datefield input {
	width: 6em;
}

