/*******************************
	Typography
********************************/

body {
	margin: 0;
	padding: 0;
	font: 12px/1.5 'Helvetica Neue', Arial, 'Liberation Sans', FreeSans, sans-serif;
	color: #111;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
	letter-spacing: -1px;
	margin-bottom: 10px;
}

/* Font sizes */

h1 {font-size: 24px;}
h2 {font-size: 22px;}
h3 {font-size: 20px;}
h4 {font-size: 18px;}
h5 {font-size: 16px;}
h6 {font-size: 14px;}

p, caption, td, th, dd, dt, pre, code, address {
	font-size: 1.1em;
	line-height: 1.6em;
	margin-bottom: 10px;
}

hr {
	margin-bottom: 10px;
	border: 0 #ccc solid;
	border-top-width: 1px;
	clear: both;
	height: 0;
}

/* Links */
a:link {color: #111; text-decoration: none;} 
a:visited {color: #111; text-decoration: none;}
a:hover,a:focus {color: #111; text-decoration: underline;}
a:focus {outline: 1px dotted;}
a:active {}

/* Lists and stuff */
ul, ol {
	margin: 0 0 10px 0;
	padding: 0;
}

ul {
	list-style: square;
}

ol {
	list-style: decimal;
}

li {	
	font-size: 12px;	/* declared explicitly to avoid nesting bugs */
	list-style-position: inside;
}

li li {padding-left: 15px;} /* pad nested list items */

dt {
	font-weight: bold;
}

dd {
	font-style: italic;
	padding-left: 10px;
	margin: 0 0 10px 0;
}

/* Tables */
table {
	border-color: #b3b3b3;
	border-width: 1px;
	border-style: solid;
	border-right-style: none;
		
}

th {
	background-color: #EEE;
	border-bottom-color: #CCC;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-right-color: #CCC;
	border-right-width: 1px;
	border-right-style: solid;
	padding: 2px 10px;
}

td {
	border-bottom-color: #CCC;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-right-color: #CCC;
	border-right-width: 1px;
	border-right-style: solid;

	padding: 2px 10px;
}

caption {	
	font-style: italic;
	text-align: left;
}

table td.actions {
	text-align: center;
	padding: 2px 5px;
}

table td.actions a img {
	height: 16px;
	margin: 0 4px;
}

/* Other blocks of content */

blockquote {
	color: #333;
	font-style: italic;
	margin: 10px;
}

code {
	color: #666;
	display: block;
	border-color: #b3b3b3;
	border-width: 1px;
	border-style: solid;
	padding: 10px;
	margin: 0 0 10px 0;
	font-family: consolas, "Lucida Console", monaco, monospace;
	font-size: 12px;
}

pre {
	color: #666;
	display: block;
	margin: 0 0 10px 0;
}

p,dl,hr,h1,h2,h3,h4,h5,h6,ol,ul,pre,table,address,fieldset {
	margin-bottom: 20px;
}

img {border:none;}

/* Forms */

input[type=text], input[type=password], textarea, input[type=range] {
	border-color: #B3B3B3 #EAEAEA #EAEAEA #B3B3B3;
	border-style: solid;
	border-width: 1px;
	color: #333;
	font-family: Lucida Grande,Verdana,Lucida Sans Regular,Lucida Sans Unicode,Arial,sans-serif;
	font-size: 12px;
	padding: 4px 6px;
	box-shadow: 0 0 4px #ddd inset;
	-moz-box-shadow:0 0 4px #ddd inset;
	-webkit-box-shadow:0 0 4px #ddd inset;
}

input[type="radio"] + span{
	color: #999;
	font-style: italic;
}

input[type="radio"]:checked + span {
	font-style: normal;
	color: #000;
}

select {
	border-color: #B3B3B3 #EAEAEA #EAEAEA #B3B3B3;
	border-style: solid;
	border-width: 1px;
	padding: 2px;
	box-shadow: 0 0 4px #ddd inset;
	-moz-box-shadow:0 0 4px #ddd inset;
	-webkit-box-shadow:0 0 4px #ddd inset;
}
label {
	font-family: Lucida Grande,Verdana,Lucida Sans Regular,Lucida Sans Unicode,Arial,sans-serif;
    font-size: 12px;
	color: #393939;
	font-weight: bold;
}

input[type=checkbox],input[type=radio] {
	position: relative;
	top: 2px;
}

.greyed {
	color: #999;
}

.hidden {
	display: none;
}

button,input[type="submit"],input[type="reset"] {
	background: url("../images/button.png") repeat-x scroll 0 0 #E5E3E3;
	border-color: #DDDDDD #DDDDDD #C6C6C6 #C6C6C6;
	border-style: solid;
	border-width: 1px;
	color: #515151;
	font-family: Lucida Grande,Verdana,Lucida Sans Regular,Lucida Sans Unicode,Arial,sans-serif;
    font-size: 11px;
    font-weight: bold;
	margin: 0;
	outline: medium none;
	padding: 4px 6px;
	text-shadow: #eee -1px -1px 0;
	cursor: pointer;
}

button:hover, button:focus,
input[type="submit"]:hover, input[type="submit"]:focus {
	background: url("../images/button_selected.png") repeat-x scroll 0 0 #B4B4B4;
    border-color: #CCCCCC #B1B1B1 #AFAFAF #BEBEBE;
}

.fields { display: inline-block; width: 100%; }

.fields .field {
    border-bottom: 1px solid #DDDDDD;
    clear: both;
    margin: 0;
    overflow: hidden;
    padding: 10px 0;
}

.fields .field .fieldnote {
	margin: 0;
	padding: 0 4px 0 8px;
	float:left;
	position: relative;
	top: -10px;
	left: 0px;
	width: 100px;
	background-color: #eee;
	border: 1px solid #DDD;
	border-top: none;
	text-align: center;
}

.fieldnote span {
	margin: 0;
	padding: 0;
	color: #666;
	font-size: 12px;
	font-weight: normal;
	font-family: "Lucida Console", Monaco, monospace;
}

.fields .label, .fields .label ~ div {
	vertical-align: top;
	display: inline-block;
}

.fields .label {
	text-align: right;
	margin: 2px 0 0 8px;
	width: 240px;
}

/* Misc html elements */

del {color: #999;}

ins {font-style: italic;}




/**********************************************
	Layout-specific
***********************************************/

/* common */

.clear {clear:both !important;}
.fl {position:relative;float:left;}
.fr {position:relative;float:right;}
.center { text-align: center; }
.w160px { width: 160px; }


/* message boxes */

.message {-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;padding:6px 6px 6px 35px;position:relative;margin:10px 0;cursor:pointer;}
.message.msg_success {border:1px solid #A6DD88;color:#539B2D;background:url("../images/icons/okay.png") 10px 7px no-repeat #EBF8D6;}
.message.msg_warning {border:1px solid #E5E181;color:#666666;background:url("../images/icons/warning_triangle.png") 10px 7px no-repeat #FEFDE2;}
.message.msg_error {border:1px solid #FF936F;color:#842100;background:url("../images/icons/remove.png") 10px 7px no-repeat #FFECE6;}
.message.msg_info {border:1px solid #81CDD8;color:#369CAB;background:url("../images/icons/information.png") 10px 7px no-repeat #D3EEF1;}
.message p {margin:0;padding:0;}
.message p:first-child {display:inline-block;}

#bgtop {
	position: absolute;
	color: #000000;
	background: #ffffff;
/*	background: #b0b0b0 url("../images/header_background.png") repeat; */
	border-bottom: 2px solid #444;
	height: 98px;
	width: 100%;
}

#bgmain {
	background: #b0b0b0 url("../images/header_background.png") repeat;
}

#bgbottom {
	color: #fff;
	background: #444;
	height: 40px;
	width: 100%;
}

#wrapper {
	margin: 0 auto;
	padding: 0;
	clear: both;
	min-width: 640px;
	max-width: 1156px;
	min-height: 600px;
	background: #FFF;
}

#content {
	padding: 10px 15px;
	min-width: 400px;
}

/* sidebar */

#sidebar {
	float:left;
	width:22%;
	padding: 10px 0 10px 5px;
}

#sidebar .box {
	background: url("../images/left_nav_bg.png") repeat-y scroll right 0 #F3F3F3;
	border-color: #aaa;
	border-width: 0 1px 1px 0;
	border-style: solid;
}

#sidebar .boxtitle { border-bottom: 1px solid #9A3C30; }
#sidebar .boxtitle a { color: inherit; text-decoration: none; }
#sidebar .boxtitle a:hover { text-decoration: underline; }

#sidebar .sb_content {
	margin: 10px;
	position:relative;
}

.box .boxtitle {
	margin: 0;
	padding: 4px;
	background: url('../images/title.png') repeat-x scroll 0 0 #AF2E1E;
}

.box .boxtitle h5 {
	display:inline-block;
	color:#fff;
	margin: 0 0 0 10px;
	font-family: Lucida Sans Unicode, Lucida Grande, sans-serif;
	text-shadow: -1px -1px 0 #000;
}

.box .boxtitle .search, .box .boxtitle .boxbutton {
	display:inline-block;
	float:right;
}

.boxtitle .search .button {
	background: url("../images/button_highlight.png") repeat-x scroll 0 0 #E5E3E3;
	border: 1px solid #9F3321;
	color: #fff;
	text-shadow: -1px -1px 0 #333333;
}

.boxbutton ul {
	margin: 0; list-style-type:none;
}

.boxbutton ul li {
	display: inline;
}

.boxbutton ul li a{
	line-height: 24px;
	color: #fff;
}

.boxcontent {
	padding: 10px;
	clear: both;
	background: #fff;
}

#content .box {
	min-width: 400px;
	margin: 10px auto;
}

ul.iconlist { list-style-type: none; margin: 10px;}
ul.iconlist li { display: inline; }
ul.iconlist li div {
	position: relative; float:left;
	width: 64px; height: 64px; margin: 8px; text-align:center;
	border: 1px solid #666; padding-top:8px;
}

#footer {
	margin: 0 auto;
	padding: 10px 20px 0 20px;
	clear: both;
	min-width: 640px;
	max-width: 1112px;
}

#footer h6 {font-weight:normal;letter-spacing:0;margin:0;padding:0;text-align:right;}

/* header */

#header {
	position: relative;
	top:0;
	color: #000000;
	background: #ffffff;
/*	background: #b0b0b0 url("../images/header_background.png") repeat; */
	height: 58px;
	width: 100%;
}

#header div {
	position: relative;
	top:0;
	height: 50px;
}

#header #logo {
	padding: 0;
	width: 500px;
	display:inline-block;
	overflow: hidden;
}

#header #logo img {
	position:relative;
	top:18px;
	left:4px;
}

#header #logo a, #header h2 {
	position: relative;
	top: -10px;
	margin:0;padding:0;
	display:inline;
	color: #bbb;
	font-size: 26px;
	font-weight: normal;
	font-family: arial,helvetica,sans-serif;
	text-decoration: none;
/*	text-shadow: #999 -1px -1px 0; */
}

/* -----------------------------------------------------------
	header -> user
----------------------------------------------------------- */ 

#header ul#user {
	float: right;
	margin: 10px;
	padding: 0;
	display:inline-block;
}

#header ul#user li {
	margin: 0;
	padding: 0 12px;
	list-style: none;
	float: left;
	border-left: 1px solid #bbbbbb;
	border-right: 1px solid #a5a5a5;
}

#header ul#user li.first {
	border-left: none;	
}

#header ul#user li.last {
	border-right: none;	
}

#header ul#user li a {
	color: #4e4e4e;
	font-weight: bold;
	text-decoration: none;
}

#header ul#user li a:hover {
	color: #376ea6;
	text-decoration: underline;
}

#header ul#user li.highlight a {
	color: #D70000;
}

#header ul#user li.highlight a:hover {
	color: #376ea6;
}

/* Navigation Bar */

#navbar {
	margin: 0;
	padding: 0;
	height: 40px;
	clear: both;
	position: relative;
	background: #6D0D00 url("../images/header_inner.png") repeat-x;
	-moz-border-radius: 8px 8px 0 0;
	-webkit-border-radius: 8px 8px 0 0;
	border-radius: 8px 8px 0 0;
}

#navbar #home {
	float: left;	
}

#navbar #home a
{
	margin: 0;
	padding: 0;
	height: 40px;
	width: 46px;
	display: block;
	background: url("../images/button_home.png");
	background-position: 0 0;	
}

#navbar #home a:hover {
	background-position: 0 -40px;	
}

/* Top navigation menu */

#navbar #topmenu,
#navbar #topmenu ul {
	margin: 12px 5px 0 5px;
	padding: 0;
	position: relative;
	float: left;
	list-style-type: none;
	list-style-position: outside;
}

#navbar #topmenu li {
	margin: 0 5px 0 0;
	padding: 0;
	position: relative;
	float: left;
}

#navbar #topmenu li a
{
	top: 0;
	left: 0;
	padding: 0;
	height: 1%;
	display: block;
	clear: both;
	overflow: hidden;
	background: #af2e1d url("../images/quick_l.png") no-repeat top left;
	color: #FFFFFF;
	font-weight: bold;
	text-decoration: none;
	line-height: 12px;
}

#navbar #topmenu li span
{
	top: 0;
	right: 0;
	margin: 0;
	padding: 8px;
	height: 1%;
	display: block;
	float: left;
	background: url("../images/quick_r.png") no-repeat top right;
	border-left: 1px solid #b33b2b;
}

#navbar #topmenu li span.icon
{
	top: 0;
	left: 0;
	padding: 8px 8px 4px 8px;
	background: url("../images/quick_l.png") no-repeat top left;
	border-left: none;
	border-right: 1px solid #9d2a1a;
}

#navbar #topmenu li a:hover
{
	background: #4e4e4e url("../images/quick_l_selected.png") no-repeat top left;
}

#navbar #topmenu li a:hover span
{
	background: url("../images/quick_r_selected.png") no-repeat top right;
	border-left: 1px solid #545454;
}

#navbar #topmenu li a:hover span.normal
{
	border: none;	
}

#navbar #topmenu li a:hover span.icon
{
	background: url("../images/quick_l_selected.png") no-repeat top left;
	border-left: none;
	border-right: 1px solid #464646;
}

#navbar #topmenu ul
{
	top: 28px;
	left: 0;
	margin: 0;
	padding: 0;
	width: 200px;
	display: none;
	position: absolute;
	background: #FFFFFF;
	border: 1px solid #666;
	border-top: 1px solid #6D0D00;
	z-index: 100;
}

#navbar #topmenu li ul li
{
	border-bottom: 1px solid #dddddd;	
}

#navbar #topmenu li ul li.last
{
	border: none;	
}

#navbar #topmenu li ul li a
{
	margin: 0;
	padding: 7px 9px 7px 9px;
	height: 1%;
	width: 182px;
	height: auto;
	display: block;
	float: left;
	background: #FFFFFF;
	color: #0066CC;
	font-weight: normal;
}

#navbar #topmenu li ul li a.childs
{
	margin: 0;
	padding: 7px 9px 7px 24px;
	width: 167px;
	background: #FFFFFF url("../images/plus.png") no-repeat 8px 9px;
}

#navbar #topmenu li ul li a:hover
{
	color: #000000;
	background: #FFFFFF;
}

#navbar #topmenu li ul li a.childs:hover
{
	background: #FFFFFF url("../images/minus.png") no-repeat 8px 9px;
}

#navbar #topmenu ul ul 
{
	top: auto;\
}	

#navbar #topmenu li ul ul 
{
	left: 200px;
}

#navbar #topmenu li:hover ul ul, 
#navbar #topmenu li:hover ul ul ul, 
#navbar #topmenu li:hover ul ul ul ul 
{
	display: none;
}

#navbar #topmenu li:hover ul, 
#navbar #topmenu li li:hover ul, 
#navbar #topmenu li li li:hover ul, 
#navbar #topmenu li li li li:hover ul
{
	display: block;
}

#breadcrumbs {
	position: relative;
}

#breadcrumbs ul {
	margin: 0;
	list-style-type: square;
}
#breadcrumbs ul li {
	display: inline;
	height: 20px;
}
#breadcrumbs ul li a {
    color: #FFFF00;
}

/* tables pagination */

#content div.box div.pagination
{
	margin: 10px 0 0 0;
	padding: 0;
	height: 1%;
	clear: both;
	overflow: hidden;
}

#content div.box div.pagination div.results
{
	margin: 0;
	padding: 0;
	text-align: left;
	float: left
}

#content div.box div.pagination div.results span 
{
	margin: 0;
	padding: 2px 8px;
	height: 1%;
	display: block;
	float: left;
	background: #ebebeb url("../images/pager.png") repeat-x;
	border-top: 1px solid #dedede;
	border-left: 1px solid #cfcfcf;
	border-right: 1px solid #c4c4c4;
	border-bottom: 1px solid #c4c4c4;
	color: #4A4A4A;
	font-weight: bold;
}

#content div.box div.pagination ul.pager
{
	margin: 0;
	padding: 0;
	float: right;
	text-align: right;
}

#content div.box div.pagination ul.pager li
{
	margin: 0 0 0 4px;
	padding: 0;
	height: 1%;
	float: left;
	list-style: none;
	background: #ebebeb url("../images/pager.png") repeat-x;
	border-top: 1px solid #dedede;
	border-left: 1px solid #cfcfcf;
	border-right: 1px solid #c4c4c4;
	border-bottom: 1px solid #c4c4c4;
	color: #4A4A4A;
	font-weight: bold;
}

#content div.box div.pagination ul.pager li.separator
{
	padding: 2px 6px;   
}

#content div.box div.pagination ul.pager li.current
{
	padding: 2px 6px;   
	background: #b4b4b4 url("../images/pager_selected.png") repeat-x;
	border-top: 1px solid #cccccc;
	border-left: 1px solid #bebebe;
	border-right: 1px solid #b1b1b1;
	border-bottom: 1px solid #afafaf;
	color: #515151;
}

#content div.box div.pagination ul.pager li.disabled
{
	padding: 2px 6px;
	color: #B4B4B4;
}

#content div.box div.pagination ul.pager li a 
{
	margin: 0;
	padding: 2px 6px;
	height: 1%;
	display: block;
	float: left;
	color: #515151;
	text-decoration: none;
}

#content div.box div.pagination ul.pager li a:hover, 
#content div.box div.pagination ul.pager li a:active 
{
	margin: -1px;
	background: #b4b4b4 url("../images/pager_selected.png") repeat-x;
	border-top: 1px solid #cccccc;
	border-left: 1px solid #bebebe;
	border-right: 1px solid #b1b1b1;
	border-bottom: 1px solid #afafaf;
}

/******************************************
	content-specific rules
*******************************************/

/* organization tree bar */