/*******************************************************************************
 *
 * Description: The core CSS of this web application
 * Date: 2009-04-24
 *
 * This stylesheet is tested under Internet Explorer 6/7 with IE8.js
 * and Mozilla Firefox 3.
 *
 * Dynamic properties are used to get around CSS problems in Internet Explorer 6
 * or above with IE8.js that are not resolvable using standard-compliant methods.
 * http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/overview/recalc.asp
 *
 * The underscore hack is used to get around CSS problem in Internet Explorer 6
 * with IE8.js.
 * http://wellstyled.com/css-underscore-hack.html
 *
 * Please refer to the followings to see what CSS features are safe to use:
 * http://en.wikipedia.org/wiki/Comparison_of_layout_engines_(Cascading_Style_Sheets)
 * http://ie7-js.googlecode.com/svn/test/index.html
 *
 ******************************************************************************/

/* Import core CSS */
@import url(../../../style/index.css);

/**
 * Focused element
 */

:focus {
    outline: 1px dotted #fff;
}

/**
 * html and body elements
 */

html {
    font: normal normal normal 12px "verdana", "Arial", "Helvetica", sans-serif;
    color: #444444;
    background: #fff;
}

body {
	min-width: 980px;
}

/**
 * Headings
 */

h1, h2, h3, h4, h5, h6 {
    color: #444444;
}

h1.main_title {
	font-family: "Times New Roman";
	color: #444444;
	font-size: 30px;
	font-weight: normal;
	margin: 10px 0 10px 20px;
}

/**
 * Link elements
 */

a {
    color: #444444;
    text-decoration: none;
}

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

/**
 * Divisions
 */
#throbber {
    position: absolute;
    /*top: 50%;*/
    left: 0;
    width: 100%;
	height: 100%;
    font-size: 12px;
    color: #444444;
    /*background: transparent url(throbber.gif) no-repeat center top;*/
	background: transparent url(throbber.gif) no-repeat 50% 150px;
	background-color: #FFFFFF !important; 
    padding: 19px 0 0 0;
    text-align: center;
	padding-top: 170px;
	z-index: 999 !important;
}

#navholder {
    background: #c0c0c0;
    border-bottom: 1px solid #c0c0c0;
	padding: 0 10px 0 10px;
}

#navholder ul, #navholder ul li{
	list-style-type: none;
	color: #FFF;
	float:left;
	border: 0;
	margin: 0;
	padding: 0;
	width: auto;
	font-size: 13px;
}

#navholder ul li{
	padding: 0 5px 0 5px;
}

#navholder ul li a {
	color: #FFF;
	font-weight: normal;
	text-decoration: underline;
}

#navholder ul li a:hover {
	color: #FFF;
	/*font-weight: bold;*/
}

#navholder ul li a.selected {
	font-weight: bold !important;
	text-decoration: none !important;
}

#navigation {
    font-size: 12px;
    border-collapse: collapse;
}

#navigation td {
    /*border: 1px solid #999;*/
    /*border-width: 0 1px 0px 0;*/
    padding: 0;
    font-size: 11px;
	width: auto;
}

#navigation td a {
    display: block;
    font-weight: bold;
    color: #002152;
    padding: 8px 12px;
    font-size: 11px;
}

#navigation td a:hover, #navigation td a:active, #navigation td a.current, a.current {
    color: #808080;
}

#submenu {
    font-size: 12px;
    background: #EEEEEE;
    text-align: left;
    vertical-align: top;
	padding-top: 0;
	width: 200px !important;
	min-width: 200px;
	max-width: 200px;
	display: visible;
}

#submenu #submenu_inner_block{
	width: 200px !important;
	min-width: 200px;
	max-width: 200px;
}

#submenu ul {
	width: 200px;
	list-style-type: none;
    padding: 0;
	margin: 0;
	display: block;
	overflow: hidden;
}

#submenu li {
    /*list-style-image: url(../../../images/submenu_arrow.gif);*/
	width: auto;
	margin: 0;
	padding-left: 20px;
	list-style-type: none;
    padding-bottom: 3px;
    line-height: 18px;
	word-wrap: break-word;
}

#submenu li a {
	display: block !important;
	display:inline
}

#submenu li.selected{
    background-color: #FFF !important;
	font-weight: bold !important;
}

#submenu hr {
    border: 1px solid #c0c0c0;
    border-width: 1px 0 0 0;
}

.control_bar {
	width: 5px;
	max-width: 5px;
	min-width: 5px;
	background-color: #c0c0c0;
	text-align: top;
	vertical-align: top;
	padding-top: 10px;
	padding-bottom: 100px;
}

#control_button, #control_button img {
	width: 5px;
	max-width: 5px;
	min-width: 5px;
}

#content {
	line-height: normal;
	padding: 0;
	width: 100%;
}

#copyright {
    border-top: 1px solid #c0c0c0;
    padding: 5px 20px;
}

#dialog_form .content {
    height: 52px;
    padding: 10px 10px 10px 60px;
    background-position: 10px 10px;
    background-repeat: no-repeat;
}

#dialog_form .content.error {
    background-image: url(dialog_error.gif);
}

#dialog_form .content.warning {
    background-image: url(dialog_warning.gif);
}

#dialog_form .content.message {
    background-image: url(dialog_message.gif);
}

#search_form, .inner_block {
    width: 95%;
    border:1px #c0c0c0 solid;
    background-color:#F0F0F0;
    padding:15px 20px;
    margin: 30px 0px 0px;
}

#search_form hr, .inner_block hr {
    border: 0;
	height: 1px;
	color: #c0c0c0;
	background-color: #c0c0c0;
}

#tableheader {
    font-weight:bold;
}

/**
 * Table classes
 */

table.report {
    border-collapse: collapse;
    margin-bottom:5px !important;
}

table.report th, table.report td {
    border: solid 1px #c0c0c0;
    padding: 5px !important;
    text-align: left;
    vertical-align: top;
}

table.report th {
    background: #F0F0F0;
}

table.report th a {
    color: #444444;
}

table.landing_page {
    border-collapse: collapse;
    margin-bottom:5px;
}

table.landing_page  th, table.landing_page  td {
    border: solid 1px #c0c0c0;
    padding: 5px;
    text-align: left;
    vertical-align: top;
}

table.landing_page  th.middle_bottom, table.landing_page  td.middle_bottom {
	vertical-align: bottom;
	text-align: center;
}

table.landing_page  th {
    background: #DDDDDD;
}

table.landing_page  th a {
    color: #444444;
}

table.landing_page  td.landing {
    border-bottom: solid 1px #c0c0c0;
}

table.landing_page tr {
	border-right: solid 1px #c0c0c0;
	border-left: solid 1px #c0c0c0;
}

table.landing_page tr.even {
	background-color: none;
}

table.landing_page tr.odd {
	background-color: #FFF;
}

table.report tr.even2 {
	background-color: #F0F0F0;
}

table.report tr.odd2 {
	background-color: #FFF;
}

table.datatable {
    border-collapse: collapse;
    border: solid 1px #c0c0c0;
}

table.datatable th, table.datatable td {
    border: solid 1px #c0c0c0;
    padding: 5px 10px;
    text-align: left;
    vertical-align:top;
}

table.datatable th {
    background: #F0F0F0;
}

table.noborder th {
	/* font */
    text-align: left;
    vertical-align: top;
	background: none !important;
    /* padding & border */
    padding: 2px;
    padding-left: 0px;
    padding-right: 10px;
    border: 0;
}

table.noborder td {
    /* font */
    text-align: left;
    vertical-align: top;
    font-weight: normal;
	background: none !important;
    /* padding & border */
    padding: 2px;
    padding-left: 0px;
    padding-right: 10px;
    border: 0;
}

table.search td {
    /* font */
    text-align: left;
    vertical-align: top;
    font-weight: normal;
    /* padding & border */
    padding: 2px;
    padding-left: 10px;
    padding-right: 10px;
    border: 0;
}

table.record_summary td {
    border: 0;
}

/**
 * Form elements and classes
 */

.frame {
    color: #444444;
    background: #fff;
}

.fieldset {
    padding: 10px;
    border: 1px solid #666;
}

.panel {
    color: #444444;
    background: #eee;
    border: 1px solid;
    border-color: #fff #666 #666 #fff;
    padding: 10px;
}

.legend {
    font-size: 12px;
    font-family: "verdana", Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: #333;
    background: #c0c0c0;
    border-bottom: 1px solid #666;
    margin: -10px -10px 10px -10px;
    padding: 5px 10px;
}

input, textarea, select, button {
    font: normal normal normal 12px "verdana", "Arial", "Helvetica", sans-serif;
	background-position: 0% 65% !important;
}

input, textarea, select, .field {
    border: 1px solid #c0c0c0;
}

input[type=checkbox], input[type=radio] {
    border: 0;
}

input[readonly], .field {
    background: #ddd;
}

input.date_select_box[readonly] {
    background: #FFF;
}

button, input[type=button], input[type=submit], input[type=reset], a.button {
    font-size: 12px;
    font-weight: bold;
    color: #FFF;
    background: #c0c0c0 url(button.gif) repeat-x;
    border: 1px solid #c0c0c0;
    padding: 2px 20px;
    margin:15px 0 0 0;
}

input[type=image].date_picker {
    border: 0;
}

button:hover, input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover, a.button:hover {
    color: #808080;
}

button:disabled, input[type=button]:disabled, input[type=submit]:disabled, input[type=reset]:disabled, a.button:disabled {
    color: #aaa;
}

a.button {
    display: inline-block;
}

/**
 * SimpleTabs
 */
.tab-menu {
    position: relative;
    bottom: -1px;
    overflow: hidden;
    border-left: 1px solid #c0c0c0;
}

.tab-menu li {
    border: 1px solid #c0c0c0;
    border-left: 0;
}

.tab-menu li.tab-selected {
    border-bottom-color: #fff;
}

.tab-menu li a {
    display: block;
    /*color: #444444;*/
    background: #ddd;
    padding: 5px 10px;
    text-decoration: none;
}

.tab-menu li a span {
    display: block;
}

.tab-menu li.tab-selected a {
    background: #fff;
}

.tab-wrapper {
    color: #444444;
    background: #fff;
    border: 1px solid #c0c0c0;
    padding: 10px;
}

/**
 * Misc classes
 */
.title {
    font-family: "verdana", "Arial", "Helvetica", sans-serif;
    font-size: 14px;
    color: #444444;
    font-weight: bold;
    margin: 0 0 20px 0;
}

#display_detail_contact {
	border: #FFFFFF 1px solid;
}

#display_detail_contact .title {
    font-family: "verdana", "Arial", "Helvetica", sans-serif;
    font-size: 12px;
    color: #999999;
    font-weight: bold;
    margin: 0 0 20px 0;
	background-color: #FFFFFF !important;
}

#display_detail_contact .sub_title {
    font-family: "verdana", "Arial", "Helvetica", sans-serif;
    font-size: 12px;
    color: #444444;
    font-weight: bold;
	margin: 0;
	padding: 5px 10px 5px 5px;
	width: 180px;
}

#display_detail_contact tr.even td {
	background-color: #FFF;
}

#display_detail_contact tr.odd td {
	background-color: #F0F0F0;
}

#display_detail_contact tr.sep_row td {
	min-height: 1px;
	height: 1px;
	max-height: 1px;
	background-color: #c0c0c0;
	padding: 0;
	margin: 0;
}

#display_detail_contact a {
	color: #002152;
}

#display_detail_contact a:hover {
	color: #358286;
}

.header {
    font-size: 12px;
    font-weight: bold;
    line-height: 20px;
    margin: 10px 0 10px 0;
}

p.note {
    color: #999;
    margin-top: 0;
	font-size: 11px;
}

p.required {
    color: #999;
    margin:10px 0 20px;
}

span.required {
    color: #f00;
    margin-top:10px;
}

.buttonset {
    text-align: right;
    vertical-align: bottom;
    white-space: nowrap;
}

table .lease_table {
	border: 1.5px solid #444444;
	border-collapse:collapse;
}

table .lease_table th, table .lease_table td {
	border: 1px solid #999;
	padding-bottom: 3px;	
	padding-top: 3px;
}

table .lease_table th {
	vertical-align: bottom;
}

table .lease_table td {
	text-align: center;
}

.col_1 {
	background-color: #FFF;
}

.col_2 {
	background-color: #DDDDDD;
}

.col_3{
	background-color: #B4B4B4;
}

div.report_title {
	width: 100%;
	padding: 10px;
	font-weight: bold;
	font-size: 1.1em;
}

div.report_title span.date {
	margin-left: 20px;
	display: block;
	height: 0;
	overflow: visible;
}

div.report_title .main_title {
	text-decoration: underline;
	width: 100%;
	text-align: center;
}

.money_values {
	text-align: right !important;
}

.page_bar {
	text-align: right !important;
}

table.accounting_addition {
	border: 0;
	padding: 5px;
	width: 100%;
}

table.accounting_addition td, table.accounting_addition th {
	border: 0;
	background: none !important;
}

table.accounting_addition td {
	text-align: right;
}

table.accounting_addition th {
	text-align: center;
}

table.accounting_addition td.description {
	text-align: center;
}

td.total {
	border-top: 1px solid #444444 !important;
	border-bottom: 3px double #444444 !important;
}

td.sub_total {
	border-top: 2px solid #444444 !important;
}

td.values {
	text-align: right !important;
}

td.values input {
	text-align: right !important;
}

.load_bar {
	position: relative;	
	top: 0;
	left: 0;
	z-index: 9999;
    width: 100%;
	height: 100%;
	min-height: 100px;
    /*background: transparent url(throbber.gif) no-repeat center top;*/
	background: transparent url(throbber.gif) no-repeat 50% 50%;
	background-color: #FFFFFF !important; 
    text-align: center;
	filter:alpha(opacity=60);
	opacity:0.6;
}

p.header span {
	padding-right: 10px;
}

p.header span.arrow_up {
	background: url(arrow_up.gif) no-repeat right 5px;
}

p.header span.arrow_down {
	background: url(arrow_down.gif) no-repeat right 5px;
}

div.form {
	width: 600px;
}

span.title {
	display: block;
	float:left;
	width: 150px;
	text-align: left;
	font-size: 1.1em;
	font-weight: bold;
	margin: 0 !important;
}

span.title input {
	margin: 2px 0 10px 0;
}

span.title select {
	border: 0 !important;
	font-weight: bold;
	font-size: 12px;
}

span.input_value {
	float: right;
	padding: 0;
	min-width: 400px;
	text-align: left;
}

span.input_value input, span.input_value textarea, span.input_value select, span.input_value .inline_block {
	display: block;
	padding: 2px;
	margin-bottom: 5px;
	width: 365px;
}

span.input_value input[type=hidden] {
	display: none;
}

.inline_block {
	padding: 0 !important;
	width: 100% !important;
}

.inline_block input, .inline_block textarea, .inline_block select {
	display: inline !important;
	margin-bottom: 0 !important;
	padding: 2px;
}

.clear {
	clear: both;
}

#avatar {
	width: 180px;
	height: 150px;
	font-size: 10px !important;
	font-weight: normal !important;
	text-align: center;
	vertical-align: middle;
}

#avatar .avatar {
	max-width: 180px;
	max-height: 150px;
	overflow: hidden;
}

#avatar_preview  {
	display: block;
	height:auto;
	width: auto;
	z-index: 99px;
	position: absolute !important;
	top: 250px;
	left: 220px;
	text-align: left;
	background-color: #D8D8D8;
	padding: 5px;
	border: #E8E8E8 5px solid;
}

#edit_contact_menu {
	line-height: normal;
	padding: 0 !important;
	background-color: #FFF;
	height: 38px;
	border-bottom: 1px #c0c0c0 solid;
}

#edit_contact_menu ul, #edit_contact_menu li {
	list-style-type: none;
	margin: 0;
	padding: 0;
	height: 30px;
}

#edit_contact_menu li {
	padding: 8px 15px 0;
	float:left;
	min-width: 60px;
	background-color: #EEEEEE;
	font-weight: bold;
	font-size: 1em;
	text-align: center;
	border-right: #c0c0c0 1px solid;
}

#edit_contact_menu li.selected {
	background-color: #FFF;
	min-height: 31px;;
}

#edit_contact_main, #main_content {
	line-height: normal;
	padding: 20px;
}

#main_content table tr td {
	padding: 5px;
	vertical-align: top;
}

#main_content table tr td.title {
	width: 150px;
}

#quick_search {
	width: auto;
}

#quick_search input {
	border: 0;
}

.pagination {
	padding: 10px 10px 15px 0;
	text-align: right;
	width: auto;
	max-width: 100%;
	word-wrap: break-word;
}

.pagination .selected {
	font-weight: bold;
}

#submenu ul.menu_items, #submenu ul.menu_items li {
	list-style-type: none;
	list-style: none;
	margin: 0;
	color: #c0c0c0;
}

#submenu ul.menu_items {
	border-top: #FFF 1px solid;
	padding: 0;
	width: 100%;
	float: left;
	margin-bottom: 20px;
}

#submenu ul.menu_items li {
	width: 25%;
	text-align: center;
	float:left;
	padding: 7px 0 2px;
	background-color: #999999;

}

span.row_menu {
	display: inline;
}

span.row_menu ul, span.row_menu ul li {
	list-style: none;
	list-style-type: none;
	display: inline;
}

span.row_menu ul {
	margin: 0;
	padding: 0;
}

span.row_menu ul li {
	padding: 0 3px 0 3px;
}

span.row_menu ul li input{
	width: auto;
	height: auto;
	display: inline;
	padding: 0;
	border: 0;
	margin: 0 0 -10px 0;
}

#search_main_panel {
	width: 650px;
	display: block;
}

#search_main_panel div, #search_main_panel span {
	padding: 10px;
}

#search_main_panel input {
	margin-top: 5px;
}

table.header_bar {
	background-color: #F0F0F0;
}

.main_panel {
	padding: 15px;
	min-height:400px;
}

.table_action {
	color: #c0c0c0;
}


#select_box, .select_box {
	display: block;
}

#select_box .inner_content, .select_box .inner_content {
	padding: 15px;
	border: 1px solid #ccc;
	clear: both;
}

#select_box ul.menu, .select_box ul.menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

#select_box ul.menu li, .select_box ul.menu li {
	float: left;
	font-size: 11px;
	border: 1px solid #ccc;
	margin: 0;
	margin-top: 2px;
	margin-bottom: -1px;
}

#select_box ul.menu li a, .select_box ul.menu li a {
	display: block;
	background-color: #ddd;
	text-decoration: none;
	text-align: left;
	padding-left: 6px;
	padding-right: 6px;
	padding-top: 5px;
	padding-bottom: 5px;
	font-weight: bold;
}

#select_box ul.menu li.active, .select_box ul.menu li.active {
	margin-top: 0;
}

#select_box ul.menu li.active a, .select_box ul.menu li.active a {
	padding-top: 7px;
	border-bottom: 1px solid #FFF;
	background-color: #FFF;
	margin-bottom: -2px;
}



.result_box {
	margin: 10px;
}

.result_box .header {
	border: 2px solid #ddd;
	background-color: #ddd;
	font-size: 1.2em;
	font-weight: bold;
	margin: 0;
	margin-top: 20px;
}

.result_box .inner_box {
	margin: 0;
	padding: 10px;
	border: 1px solid #ddd;
}

.tiny_text {
	font-size: 11px !important;
}

#default_field {
	padding-top: 0 !important;
}


hr {

	color:#c0c0c0;
	width:90%;
	align:center;
	margin:15px 0; 
}

#record_count {
	padding: 10px 0 0 20px;
	float: left;
	width: 100px;
}

/**
 * Print-specific styles
 */

@media print {
    #navigation  {
        display: none;
    }
}