body {
	font: 14px Arial,sans-serif;
	margin: 0;
	padding: 0 0 20px 0;
	background: url(../img/bg.gif);
}

a {
	text-decoration: none;
	color: #0054aa;
}

#flash_info {
	font-size: +1em;
	font-weight: bold;
	color: green;
}

#flash_error {
	font-size: +1em;
	font-weight: bold;
	color: #c00;
}

#content_bottom {
	clear: both;
}

#outer {
	width: 900px;
	margin: 0 auto;
	background: url(../img/outer_bg.gif) repeat-y;
}

#footer {
	margin: 0 auto;
	width: 900px;
	padding-right: 20px;
	w\idth: 880px;
	height: 26px;
	background: url(../img/footer.gif) no-repeat;
	
	text-align: right;
	font: 11px/26px Verdana,sans-serif;
	color: white;
}

/* -------------------- Header ---------------------------------------------- */
#header {
	width: 900px;
	height: 169px;
	margin: 5px auto 0;
	background: url(../img/header.gif) no-repeat;
	position: relative;
}

#header #logo a {
	position: absolute;
	top: 45px;
	left: 20px;
	width: 265px;
	height: 75px;
}

#header #logo a span {
	display: none;
}

#header #user_name {
	position: absolute;
	bottom: 14px;
	right: 10px;
	height: 25px;
	font: 12px/28px Arial,sans-serif;
}

#header #user_name a {
	font-weight: bold;
	margin-left: 5px;
}

#menu {
	float: left;
	display: inline;
	
	margin: 0 10px 0 4px;
	width: 173px;
	padding: 10px;
	w\idth: 153px;
	
	height: auto !important;
	height: 330px;
	min-height: 330px;
	
	background: url(../img/menu_bg.gif) left top no-repeat;
}

#menu a {
	color: white;
}

#menu ul {
	margin: 0;
	padding: 0 0 0 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

#menu li {
	display: block;
	margin: 0;
	padding: 0;
	border-bottom: 1px dotted white;
}

#menu li.selected li {
	border-bottom: none;
}

#menu li a {
	display: block;
	padding: 6px 0 6px 5px;
}

#menu li.selected a {
	background: #57a96c;
}

#menu li.selected li a {
	font-weight: normal;
	background: none;
	width: 136px; /* for IE to prevent big spaces */
}

#menu li.selected li.selected a {
	font-weight: bold;
}

#menu li ul {
	padding-left: 10px;
}

/* -------------------- Content --------------------------------------------- */
#content {
	float: left;
	display: inline;
	width: 680px;
	padding: 10px;
}

#content h1 {
	clear: left;
	font: 24px Georgia,Times New Roman,serif;
	margin: 10px 0;
}

#content h2 {
	clear: left;
	font: 16px Verdana,sans-serif;
	color: #6f6f6f;
	margin: 5px 0;
}

#content h3 {
	clear: left;
	font: 13px Verdana,sans-serif;
	color: #6f6f6f;
	margin: 5px 0;
}

#content dt {
	font-weight: bold;
}

#content li {
	margin-left: 14px;
}

/* -------------------- Datagrid -------------------------------------------- */
table.datagrid {
	border-collapse: collapse;
	width: 100%;
}

table.datagrid td {
	border: 1px solid #8d8d8d;
	font: 13px Verdana,sans-serif;
}

table.datagrid thead td {
	border-bottom: 2px solid #8d8d8d;
	font-weight: bold;
	text-align: center;
}

.paging {
	width: 100%;
	height: 25px;
	clear: both;
}

.paging-top {
	border-bottom: 2px solid #f3f3f3;
	margin-bottom: 10px;
	padding-bottom: 5px;
}

.paging-bottom {
	border-top: 2px solid #f3f3f3;
	margin-top: 10px;
	padding-top: 5px;
}

.paging .pageno {
	float: left;
	display: inline;
	height: 20px;
	padding: 0 5px;
	border: 1px solid #f3f3f3;
	margin-right: 5px;
	font: 13px Verdana,sans-serif;
}

.paging span.pageno {
	font-weight: bold;
}

table.datagrid td .small-description {
	display: block;
	color: #888;
	padding: 3px 3px 0 0;
	font-size: 11px;
	text-align: right;
}

/* -------------------- Form ------------------------------------------------ */

.form-field-error {
	color: #c00;
	clear: left;
	margin: 0 0 5px 120px;
}

.form .privacy-field {
	text-align: right;
	width: 150px;
	float: right;
	margin-top: -21px;
}

.form .privacy-field .form-field label {
	float: none;
	width: auto;
	background: none;
}

.form .fields {
	float: left;
	display: inline;
	width: 100%;
	margin: 0 0 10px 0;
}

.form .form-field, .form .form-field-checkbox, .form-field-radiogroup {
	clear: both;
}

.form .form-multiselect-js {
	float: left;
}

.form-field-radiogroup ul {
	list-style: none;
	float: left;
	margin: 0;
	padding: 0 0 5px 0;
}

.form-field-radiogroup ul li {
	margin: 2px 0;
	padding: 0;
}

.form .form-field label, .form .form-field-radiogroup .form-radiogroup-label {
	float: left;
	display: inline;
	width: 110px;
	background: #c0c0c0;
	margin: 0 5px 5px 0;
	min-height: 20px;
	padding: 0 2px;
	font-size: 13px;
	font: 13px Verdana,sans-serif;
}

.form-field-checkbox label {
	float: left;
	display: inline;
	padding: 0 2px;
	font-size: 13px;
	font: 13px Verdana,sans-serif;
}

.form .form-field input.text, .form .form-field input.password, .form .form-field textarea, .form .form-field select {
	border: 1px solid #0a5690;
	background: white;
	font: 12px Verdana,sans-serif;
	height: 18px;
}

.form .form-field span.form-field-mandatory {
	visibility: hidden;
}

.form .form-field-mandatory span.form-field-mandatory {
	visibility: visible;
	color: red;
	margin: 2px;
}

.form .form-field input.text, .form .form-field input.password, .form .form-field textarea {
	width: 380px;
}

.form .form-field select {
	max-width: 380px;
	height: auto;
}

.form .form-field textarea {
	height: 200px;
	margin-bottom: 5px;
}

.form .submit {
	clear: both;
	background: #c0c0c0;
	text-align: right;
	padding: 5px;
}

/* JavaScript components */

.form .x-panel, .form .x-form-field-wrap {
	float: left;
}

.form .x-panel .x-form-trigger {
	right: 0;
}

.form .form-field .multiselect-checkbox input.text {
	float: left;
	width: 363px;
}

.form .form-field .multiselect-checkbox-content-container {
	float: left;
}

.form .form-field .multiselect-checkbox-content-inner {
	top: -4px;
	left: 119px;
	width: 380px;
	height: 250px;
	overflow-x: hidden;
	overflow-y: auto;
	z-index: 10;
}

.form .form-field .multiselect-checkbox-content label {
	width: 340px;
	margin: 0;
}

.form .form-field .record-select-autocomplete input.text {
	width: 363px;
}

.form .form-field .record-select-autocomplete .result-inner {
	width: 380px;
}

.form .br {
	float: left;
	clear: both;
	margin-bottom: 15px;
}

/* -------------------- Module-specific ------------------------------------- */
#login_box {
	float: right;
	display: inline;
	margin-left: 20px;
	width: 184px;
	height: 213px;
	background: url(../img/login_box.gif) no-repeat;
}

#login_box h1 {
	text-align: right;
	font: bold 14px/26px Arial,sans-serif;
	color: #747474;
	margin: 0;
	padding-right: 30px;
	text-transform: lowercase;
}

#login_box .form {
	padding: 0 10px;
}

#login_box .form-field input {
	width: 155px;
}

#login_box .form-field label {
	background: none;
	color: black;
	margin: 7px 0 0 0;
}

#login_box .form-field-error {
	margin: 0;
	font-size: 12px;
	margin-bottom: -5px;
}

#login_box .error {
	color: #c00;
	font-size: 12px;
	margin: -15px 0 10px 10px;
}

#login_box span.form-field-mandatory {
	display: none;
}

#login_box .submit {
	background: none;
	padding: 0 7px;
}

#login_box ul {
	margin: 7px 0 0 0;
	padding: 0;
	list-style: none;
}

#login_box ul li {
	display: block;
	padding-left: 15px;
	margin: 3px 0 3px 10px;
	background: url(../img/login_box_bullet.gif) center left no-repeat;
	font-size: 13px;
}

tr.message_new td, tr.qnaire-incomplete td {
	font-weight: bold;
}

.clientgrid {
	z-index: 0;
}

.clientgrid .clientgrid-item {
	float: left;
	display: inline;
	
	width: 204px;
	height: 144px;
	padding: 10px;
	w\idth: 184px;
	he\ight: 124px;
	
	background: url(../img/search_box_bg.png) no-repeat;
	margin: 0 10px 10px 0;
	color: #8a8a8a;
	
	position: relative !important; /* for search result page & IE: clientgrid & JS "popup" */
	position: static;
	z-index: 1;
}

.clientgrid-item .clientgrid-links {
	position: absolute !important;
	margin-top: 0 !important;
	bottom: 5px;
	right: 8px;
	
	/* for search result page & IE: clientgrid & JS "popup" */
	position: static;
	margin-top: 5px;
}

/* -------------------- Qnaire ---------------------------------------------- */
.qnaire-form textarea {
	display: block;
	border: 1px solid #0a5690;
	background: white;
	font: 12px Verdana,sans-serif;
	width: 600px;
	height: 200px;
}

.qnaire-form ul.answers {
	list-style: none;
	margin: 0;
	padding: 0;
}

.qnaire-form ul.answers li {
	display: block;
	margin: 0 0 0 15px;
	padding: 0;
}

/* -------------------- Partners -------------------------------------------- */
td.partners-baseinfo {
	width: 320px;
	vertical-align: top;
	padding-bottom: 4px;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-bottom-color: black;
}

td.partners-services {
	width: 320px;
	vertical-align: top;
	padding-bottom: 4px;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-bottom-color: black;
}

div.partners-service-title {
	font-family: Times New Roman;
	font-size: 16pt;
	color: #202060;
	padding-top: 10px;
}

.form .form-field input.selectinput {
	margin-top: 2px;
	margin-bottom: 5px;
}
