body {
  font: normal 85% arial,verdana,tahoma,sans-serif;
  color: #777;
  margin: 0;
  padding: 0;
  background: #f0f0f0;
}

#wrapper {
  width: 960px;
  margin: 20px auto;
  padding: 20px;
  background: #fff;
  border: 1px solid #ccc;
  overflow: hidden;
}

#top {
  width: 960px;
  height: 60px;
}

.line {
  width: 960px;
  height: 1px;
  margin: 40px 0;
  background: #ddd;
  overflow: hidden;
}

h1, h2, h3 {
	font-family:Georgia, "Times New Roman", Times, serif;
  font-size: 3em;
  font-weight: bold;
  letter-spacing: -1px;
  line-height: 1.0em;
  color: #ff0000;
  margin: 0 0 5px 0;
}

h2 {
  font-size: 2em;
  letter-spacing: -1px;
  color: #999;
  margin: 0 0 30px 0;
}

h3 {
  font-size: 1.5em;
  letter-spacing: 0px;
  color: #ff0000;
  margin: 40px 0 20px 0;
  padding: 0 0 20px 0;
  border-bottom: 1px solid #ddd;
}

h4 {
  font-size: 1.3em;
  font-weight: normal;
  line-height: 1.1em;
  color: #ff0000;
  margin: 0;
  padding: 10px 50px 0 0;
  border-bottom: 1px solid #ddd;
}

p {
  font-size: 1.0em;
  color: #000000;
  line-height: 1.5em;
  margin: 0 0 16px 0;
}

p a {
  color: #000000;
  text-decoration: underline;
}

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

p.boxy {
  padding: 10px;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
}

pre {
  font-size: 1.0em;
  color: #000000;
  font-weight: heavy;
}

img.icon {
  margin: 0 5px 0 0;
  vertical-align: middle;
}

#panel {
  width: 940px;
  padding: 10px;
  background: #d7d7d7 url(../img/panel-backgr.png) repeat-x;
  -moz-border-radius-bottomright: 10px;
  -webkit-border-bottom-right-radius: 10px;
  -moz-border-radius-bottomleft: 10px;
  -webkit-border-bottom-left-radius: 10px; 
}
div#main {
	float:left;
	width:650px;
}
div#main h1 {
	margin:10px 0 0 7px;
	padding:0;
	width:100%;
	text-align:left;
	font-size:18px;
	color:#ff0000;
	border-bottom:1px dotted #ff0000;
	font-weight:normal;
}
div#main p {
	padding:5px 0 5px 3px;
	margin:0;
}
div#main a { 
	font-weight:bold; 
}

/* Sidebar */
div#sidebar {
	float:right;
	width:250px;
	padding-top:35px;
}
div#sidebar h1 {
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:15px;
	color:#ff0000;
}
div#sidebar ul {
	list-style-type:square;
	margin:0 0 0 10px;
	padding:0 0 0 10px;
}
div#sidebar p {
	padding:5px 0 5px 3px;
	margin:0;
}
div#sidebar form {
	border:1px solid #ddd;
	background-color:#F2F2F2;
	padding:5px 2px 5px 2px;
	margin:0;
}

/* MENU */

#menu {
  width: 960px;
  height: 40px;
  clear: both;
}

ul#nav {
  float: left;
  width: 960px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #dc0000 url(../img/menu-parent.png) repeat-x;
  -moz-border-radius-topright: 10px;
  -webkit-border-top-right-radius: 10px;
  -moz-border-radius-topleft: 10px;
  -webkit-border-top-left-radius: 10px;  
}

ul#nav li {
  display: inline;
}

ul#nav li a {
  float: left;
  font: bold 1.1em arial,verdana,tahoma,sans-serif;
  line-height: 40px;
  color: #fff;
  text-decoration: none;
  text-shadow: 1px 1px 1px #880000;
  margin: 0;
  padding: 0 30px;
  background: #dc0000 url(../img/menu-parent.png) repeat-x;
  -moz-border-radius-topright: 10px;
  -webkit-border-top-right-radius: 10px;
  -moz-border-radius-topleft: 10px;
  -webkit-border-top-left-radius: 10px;     
}

/* APPLIES THE ACTIVE STATE */
ul#nav .current a, ul#nav li:hover > a  {
  color: #fff;
  text-decoration: none;
  text-shadow: 1px 1px 1px #330000;
  background: #bb0000;
  -moz-border-radius-topright: 10px;
  -webkit-border-top-right-radius: 10px;
  -moz-border-radius-topleft: 10px;
  -webkit-border-top-left-radius: 10px; 
}

/* THE SUBMENU LIST HIDDEN BY DEFAULT */
ul#nav  ul {
  display: none;
}

/* WHEN THE FIRST LEVEL MENU ITEM IS HOVERED, THE CHILD MENU APPEARS */
ul#nav li:hover > ul {
  position: absolute;
  display: block;
  width: 920px;
  height: 45px;
  margin: 40px 0 0 0;
  background: #aa0000 url(../img/menu-child.png) repeat-x;  
  -moz-border-radius-bottomright: 10px;
  -webkit-border-bottom-right-radius: 10px;
  -moz-border-radius-bottomleft: 10px;
  -webkit-border-bottom-left-radius: 10px; 
}

ul#nav li:hover > ul li a {
  float: left;
  font: bold 1.1em arial,verdana,tahoma,sans-serif;
  line-height: 45px;
  color: #fff;
  text-decoration: none;
  text-shadow: 1px 1px 1px #110000;
  margin: 0;
  padding: 0 30px 0 0;
  background: #aa0000 url(../img/menu-child.png) repeat-x; 
}

ul#nav li:hover > ul li a:hover {
  color: #120000;
  text-decoration: none;
  text-shadow: none;
}
.entryform{
padding: 5px;
}

/* Entry form styles */
div.fieldwrapper{ /*field row DIV (includes two columns- Styled label column and 'thefield' column)*/
width: 550px; /*width of form rows*/
overflow: hidden;
padding: 5px 0;
}

div.fieldwrapper label.styled{ /* label elements that should be styled (left column within fieldwrapper DIV) */
float: left;
width: 150px; /*width of label (left column)*/
text-transform: uppercase;
border-bottom: 1px solid red;
margin-right: 15px; /*spacing with right column*/
}

div.fieldwrapper div.thefield{ /* DIV that wraps around the actual form fields (right column within fieldwrapper DIV) */
float: left;
margin-bottom: 10px; /* space following the field */
}

div.fieldwrapper div.thefield input[type="text"]{ /* style for INPUT type="text" fields. Has no effect in IE7 or below! */
width: 250px;
background: #ff9933;
}

div.fieldwrapper div.thefield textarea{ /* style for TEXTAREA fields. */
width: 300px;
height: 150px;
}

div.buttonsdiv{ /*div that wraps around the submit/reset buttons*/
margin-top: 5px; /*space above buttonsdiv*/
}

div.buttonsdiv input{ /* style for INPUT fields within 'buttonsdiv'. Assumed to be form buttons. */
width: 80px;
background: #e1dfe0;
}

.optionlist { 
display: inline;
}
