body
{
	margin: 0;
	padding: 0;
	color: #555;
	font: normal 10pt Arial,Helvetica,sans-serif;
	background: #BEC3C6 url('bg.jpg') repeat-x top;
}

#page
{
	margin-top: 10px;
	margin-bottom: 5px;
	background: #ffffff;
}

#header
{
	margin: 0;
	padding: 0;
	border-top: 5px solid #A8001A;
}

#content
{
    padding: 20px;
}

#sidebar
{
	padding: 20px 20px 20px 0;
}

#footer
{
	padding: 10px;
	margin: 10px 20px;
	font-size: 0.8em;
	text-align: center;
	border-top: 1px solid #ffcdb7;
}

#logo
{
	margin: 10px 20px;
  font-family: Georgia, serif;
  font-weight: bold;
  letter-spacing: -1px;
  font-variant: small-caps;
  color: #A8001A;
	font-size: 32px;
}

#logo img {float: left; margin-right: 20px; margin-bottom: 10px;}

#tag
{
  margin: 10px 20px;
  font-family: Verdana, Arial, sans-serif;
  margin-top: -10px;
  font-size: 2em;
  letter-spacing: -1px;
}

#user
{
	float: right;
  text-align: right;
	padding: 10px 20px;
}

#mainmenu
{
	background:#555 url(menu.gif) repeat-x 0px -93px;
  font-family: Verdana, Arial, sans-serif;
  font-size: 12px;
}

#mainmenu ul
{
	padding:0 20px;
	margin:0px;
  cursor: pointer;
  cursor: default;
  height: 31px;
}

#mainmenu ul li
{
	display: inline-block;
  margin: 0;
  height: 31px;
  position: relative;
}

#mainmenu ul li a, #mainmenu ul li span
{
  color: #eee;
  display: block;
	font-weight:bold;
	text-decoration:none;
	padding:7px 10px;
}

#mainmenu ul li span
{
	color:#ccc;
}

#mainmenu ul li:hover, #mainmenu ul li.hover
{
  background: url(menu.gif) repeat-x -5px -31px;
}

#mainmenu ul li.active
{
  background: url(menu.gif) repeat-x -5px -62px;
}

#mainmenu ul ul {
  padding: 0;
  position:absolute;
  top: 31px;
  left: -2px;
  width: auto;
  height: auto;
  background-image: none;
  background-color: #F4F5F7;
  border-left: 1px solid #DDD;
  border-right: 1px solid #DDD;
  display: none;
}

#mainmenu ul ul li {
  display: block;
  border-bottom: 1px solid #DDD;
}

#mainmenu ul ul a, #mainmenu ul ul span {
  color: #999;
  display: block;
  padding: 7px 10px;
  white-space: nowrap;

}

#mainmenu ul ul span {
  color: #AAA
}

#mainmenu ul ul li:hover, #mainmenu ul ul li.hover, #mainmenu ul ul li.active {
  background-image: none;
  background: #EDEFF0;
}
#mainmenu ul ul li:hover a, #mainmenu ul ul li.hover a, #mainmenu ul ul li.active a {
  color: #382E1F;
}

#mainmenu ul li:hover ul, #mainmenu ul li.hover ul {
  display: block;
}

div.flash-error, div.flash-notice, div.flash-success
{
	padding:.8em;
	margin-bottom:1em;
	border:2px solid #ddd;
}

div.flash-error
{
	background:#FBE3E4;
	color:#8a1f11;
	border-color:#FBC2C4;
}

div.flash-notice
{
	background:#FFF6BF;
	color:#514721;
	border-color:#FFD324;
}

div.flash-success
{
	background:#E6EFC2;
	color:#264409;
	border-color:#C6D880;
}

div.flash-error a
{
	color:#8a1f11;
}

div.flash-notice a
{
	color:#514721;
}

div.flash-success a
{
	color:#264409;
}

div.form .rememberMe label
{
	display: inline;
}

div.view
{
	padding: 10px;
	margin: 10px 0;
	border: 1px solid #A8001A;
}

div.breadcrumbs
{
	font-size: 0.9em;
	padding: 5px 20px;
}

div.breadcrumbs span
{
	font-weight: bold;
}

div.search-form
{
	padding: 10px;
	margin: 10px 0;
	background: #eee;
}

.portlet
{

}

.portlet-decoration
{
	padding: 3px 8px;
	background: #B7D6E7;
	border-left: 5px solid #6FACCF;
}

.portlet-title
{
	font-size: 12px;
	font-weight: bold;
	padding: 0;
	margin: 0;
	color: #298dcd;
}

.portlet-content
{
	font-size:0.9em;
	margin: 0 0 15px 0;
	padding: 5px 8px;
	background:#EFFDFF;
}

.portlet-content ul
{
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
	margin: 0;
	padding: 0;
}

.portlet-content li
{
	padding: 2px 0 4px 0px;
}

.operations
{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.operations li
{
	padding-bottom: 2px;
}

.operations li a
{
	font: bold 12px Arial;
	color: #0066A4;
	display: block;
	padding: 2px 0 2px 8px;
	line-height: 15px;
	text-decoration: none;
}

.operations li a:visited
{
	color: #0066A4;
}

.operations li a:hover
{
	background: #80CFFF;
}

tr.error
{
  color: #C00;
  background: #FEE;
}

.action {
  padding:.8em;
  border: 1px dashed #A8001A;
  border-left: 3px solid #A8001A;
}

table tr:first-child th {font-style: italic; color: #A8001A; padding-top: 0;}
#grid th, #grid td {padding: 0 4px 0 0;}
#grid td {vertical-align: top; border-top: 1px solid #ffcdb7; position: relative;}
#grid th.s {padding: 8px 4px 2px 0; font-size: 1.2em;}
#grid td.s {padding-left: 16px; border-top: none;}
#grid td > b {display: block; overflow: hidden; height: 1.25em;}

div.pp {margin: 3px 10px 3px 0; padding: 3px; float: left; width: 425px; background: #F7F7F7; border: 1px solid #ccc;}
div.pp input {float: right; width: 200px;}
div.pp em {display: block;}
div.pp p {float: right; margin: 8px 0 0 0; width: 200px; text-align: center;}

#content .edit img, #content .del img, #content .act img {margin-bottom: -3px;}
#checklist em {display: block; margin-bottom: 6px; font-style: italic; color: #A8001A;}
#checklist .flash-error, #checklist .flash-notice, #checklist .flash-success {padding:.5em; margin-bottom:0.5em;}
#checklist img {margin-bottom: -3px;}
#checklist a, #checklist a:hover, #checklist a:active {text-decoration: none;}

#regmenu ul {padding:0 18px; margin:0 -20px; cursor: pointer; cursor: default; margin-bottom: 12px; border-bottom: 1px solid #000000;}
#regmenu ul li {display: inline-block; font-weight: bold; padding: 5px 8px; margin: -1px 2px; border: 1px solid #000000;}
#regmenu ul li.active {border-bottom: 1px solid #ffffff;}
#regmenu ul li.active a {color: #000000;}

p.actions {margin-bottom: 0.5em;}

.ui-autocomplete {max-height: 250px; overflow: auto;}
#dialog .assign select {max-width: 400px;}
.reg-unassign {float: right;}
.reg-choose a {display: block; text-decoration: none; padding: 3px 5px;}
.reg-choose a:hover {text-decoration: underline; color:#000; outline: 1px solid #ffcdb7;}
