/*** 

Xenos Theme
by Khwunchai J.

Xenos is a very clean and elegant theme design for WebERP
based on the theme "Fresh" credited for the original designer.

NOTE: 
This CSS is not yet optimized. Some styles maybe redundant and not supported by some browser.

***/

body {
	font-family:Arial, Verdana, Helvetica, sans-serif;
	font-size:10pt;
	margin:0;
	padding:0;
	background:#F1F1F1;
}

/*** Default Styles ***/
a {
	color:#0088CD;
	text-decoration:none;
}
a:hover {
	color:#0088CD;
	text-decoration:underline;
}

img {
	border:none;
	vertical-align:middle;
}
p.page_title_text {
	padding-top:2px;
	padding-bottom:2px;
	font-size:18px;
	color:black;
	width:60%;
	text-align:center;
	margin:10px auto;
}
p.good {
    font-weight:bold;
    color:green;
}
p.bad {
    font-weight:bold;
    color:red;
}
table {
    background-color:white;
    margin:0 auto;
    width:100%
    border-collapse:collapse;
    border-spacing:0;
    border:thin solid #B3B3B3;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
    background-color:white;
}
table.selection {
}
th {
	font-weight:bold;
	color:#2C2C2C;
	text-align:center;
	border-bottom:thin solid #B3B3B3;
}
th.number {
	text-align:right;
	font-weight:normal;
	background-color:#800000;
	color:white;
}
th.ascending {
  cursor:s-resize;
}
th.descending {
  cursor:n-resize;
}
th:after {
	content:"";
	float:right;
	margin-top:7px;
	visibility:hidden;
}
th.ascending:after {
	border-width:0 4px 4px;
	border-style:solid;
	border-color:#000 transparent;
	visibility:visible;
}
th.descending:after {
	border-bottom:none;
	border-left:4px solid transparent;
	border-right:4px solid transparent;
	border-top:4px solid #000;
	visibility:visible;
}
td {
	text-align:left;
	color:#575757;
}
td.select {
	/*background-color:#eee;*/
}
td.number {
	text-align:right;
}
div.centre {
  margin:0 auto;
  text-align:center;
}
input {
}
input.number{
	text-align:right;
}
input.image {
	border-width:0px;
	background-color:transparent;
}
input:hover{
}
select {
	font-family:Arial, Verdana, Helvetica, sans-serif;;
	font-size:12px;
	border:thin solid #C3C3C3;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
    padding:4px 8px;
}
input.inputerror, input.error, select.error, select.selecterror, label.error {
	color:red;
	border:2px solid red;
}
input:required, select:required, textarea:required {
	background-color:lightyellow;
}
input[type='text'], input[type='tel'], input[type='password'] {
    border:thin solid #C3C3C3;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
    padding:4px 8px;
}
input[type='submit'] {
    background-color:#34a7e8;
    border:thin outset #1992DA;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
    padding:6px 24px;
    vertical-align:middle;
    font-weight:bold;
    color:#FFFFFF;
    box-shadow:1px 1px 1px #64BEF1 inset;
}
textarea{
    border:thin solid #C3C3C3;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
    padding:4px 8px;
}
textarea:hover{
}
.EvenTableRows {
	background-color:#72824D;
}
.OddTableRows {
	background-color:#CAF17C;
}

div.error {
	color:red;
}
div.warn {
	color:maroon;
}
div.success {
	color:darkgreen;
}
div.info {
	color:navy;
}
div.page_help_text {
	background:lightgrey url(images/help.png) top left no-repeat;
	border:#a52a2a 1px solid;
	padding-top:2px;
	padding-bottom:2px;
	padding-left:10px;
	z-index:1;
	width:80%;
	float:none;
	visibility:visible;
	margin:0 auto;
	position:static;
	font-weight:normal;
	color:black;
	text-align:center;
}

/*** Calendar picker ***/
#calendar{

}
.dpTbl {
	border: solid navy 1px;
}
.dpTD {
	border: 0;
	width:20px;
	background-color: #EEEEEE;
	text-align:right;
	cursor:pointer;
}
.dpDayHighlight {
	border: 0;
	width:20px;
	background-color: yellow;
	text-align:right;
	cursor:pointer;
}
.dpTDHover {
	border: 0;
	width:20px;
	background-color: #CCCCCC;
	text-align:right;
	cursor:pointer;
}

/* Table type is used for UI tables type 1 */
.table1 {
  width:90%;
  background: #eee;
  border: 0px 0px 2px 2px #222 solid;
  margin: 0 auto;
}
/* Table type is used for UI tables type 2 */
.table2 {
  width:90%;
  background: #eee;
  border: 0px 0px 2px 2px #222 solid;
  margin: 0 auto;
}
.tableheader {
	font-weight: normal;
	background-color: #777C59;
	color: white;
}
.notavailable {
	font-weight:lighter;
	font-style:italic;
	color:#555555;
}
.label {
	font-weight:bold;
	font-style:normal;
	font-size:120%;
	color: #575757;
}
.table_index {
	background-color: #F1FFDD;
}


.header {
	background-image: url("");
	background-repeat: no-repeat;
	background-attachment: fixed;
	border: none;
	margin: 0px;
	padding: 0px;
}
input.inputerror {
	background-color: #fddbdb;
}
textarea.texterror {
	background-color: #fddbdb;
}
select.selecterror {
	background-color: #fddbdb;
}
.OsRow {
	background-color: #234567;
	color: white;
}

/*** CANVAS ***/

#CanvasDiv{
	background:#F1F1F1;
	margin:0;
}

/*** HEADER ***/

#HeaderDiv {
	overflow:hidden; /* REQUIRED: height according to items contained */
	color:white;
	font-weight:bold;
	padding-left:3px;
	background:#949494;
	border-bottom:thin solid #7C7C7C;
	height:40px;
}
#HeaderWrapDiv{
}

/*** HEADER - APP INFO ***/

#AppInfoDiv{
	float:left; /* REQUIRED: to the left */
}
#AppInfoDiv img{
	vertical-align:middle; /* center image and text vertically */
}
#AppInfoCompanyDiv{
	display:table-cell; /* REQUIRED: as a cell */
}
#AppInfoUserDiv{
	display:table-cell; /* REQUIRED: as a cell */
}
#AppInfoUserDiv a{
	color:white;
	font-weight:bold;
}
#AppInfoUserDiv a:hover{
	text-decoration:none;
}
#AppInfoModuleDiv{
}

/*** HEADER - QUICK MENU ***/

#QuickMenuDiv{
	float:right; /* to the right side  */
	margin-top:0.1em;
}
#QuickMenuDiv ul{
	list-style:none; /* hide the bullets */
	margin:0;
}
#QuickMenuDiv li{
    display:inline-block; /* items are inline */
    height:40px;
}

/*** links as buttons!!! clicking anywhere in the button will activate 
     the link!!! ***HJ***/
	 
#QuickMenuDiv li a{
    border-left:thin outset #5C5C5C;
    color:white;
    font-weight:bold;
    padding:11px 8px;
    height:40px;
    display:block;
}
#QuickMenuDiv li a:hover{
	background:#444444;
    border-left:thin outset #5C5C5C;
	text-decoration:none;
}

/*** BODY ***/

#BodyDiv {
	clear:both; /* REQUIRED */
	overflow:hidden; /* REQUIRED */
	color:black;
	background:#F1F1F1;
	padding:5px;
	text-align:center;
}
#BodyDiv table {
	width:auto; /* automatic width */
	margin:0 auto;
	margin-bottom:10px;
}
#BodyDiv table.selection {
    background:white;
    border:thin outset #D2D2D2;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
    padding:5px;
}
/*#BodyDiv .centre{
	margin:0 auto 10px;
    text-align:center;
}*/

/*** BODY - MAIN MENU ***/

#MainMenuDiv{
	float:left; /* REQUIRED: to the left side */
	white-space:nowrap; /* don't break text */
	text-align:center;
	width:10%;
	border:thin outset #4A4A4A;
	-webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
	background:#949494;
}
#MainMenuDiv ul{
	list-style:none; /* REQUIRED: hide bullets */
	padding:0; /* REQUIRED: remove extra gaps (ex-bullets) */
	margin:0;
}
#MainMenuDiv li{
	list-style:none; /* REQUIRED */
	padding:0; /* REQUIRED */
}
#MainMenuDiv li a{ /* link as button!!! not-pressed state */
	display:block; /* REQUIRED */
	padding:3px;
	border-top:thin inset #1E1E1E;
	color:white;
	font-weight:bold;
}
#MainMenuDiv li:first-child a {
    border-top: none;
}
#MainMenuDiv li a:hover{ /* link as button!!! pressed state */
	text-decoration:none;
	padding:3px;
	background:#444444;	
}
#MainMenuDiv .main_menu_selected a{ /* the selected button */
	border:thin inset #191919;	
	background:#2A2A2A;
	color:white;	
}

/*** BODY - SUB MENU ***/

#SubMenuDiv{
	display:table; /* display as table, sub menu will auto adjust width */
	width:89%; /* main menu is 10% */
	text-align:left;
}
#SubMenuDiv a:link, a:visited{
	color:#0088CD;
	text-decoration:none;
}
#SubMenuDiv a:hover{
	color:#0088CD;
	text-decoration:none;
}
#SubMenuDiv ul{
	list-style-type:none; /* REQUIRED: hide bullets */
	padding:0; /* REQUIRED: remove extra gaps (ex-bullets) */
	margin-left:3px;
	margin-top:0;
	margin-bottom:0;
	border:thin outset #D2D2D2;
	-webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
	background:white;	/* for custom reports */
}
#SubMenuDiv li{
	/*list-style:none;*/ /* REQUIRED: hide the bullets */
	padding:2px;	
}
#SubMenuDiv li img{
	vertical-align:middle; /* verticall align icon with the text */
}
#SubMenuDiv .menu_group_headers {
	border-bottom:thin solid #DADADA;
	text-align:center;
	color:#2C2C2C;
}
#TransactionsDiv{
	display:table-cell;
}
#InquiriesDiv{
	display:table-cell;
}
#InquiriesDiv div{ /* default div, used for custom report header */
	/*background:#C9D392;*/
	color:black;
	padding:2px;
	/*border:thin outset #5A5F00;*/
}
#InquiriesDiv body{
	background:#eee;
	color:red;
	padding:2px;
}
#MaintenanceDiv{
	display:table-cell;
/*    float:left;*/
/*    width:32.5%;
	border:thin solid black;*/
	
}
.menu_group_item p {
	color:#00f; /* This is the color for bullets, I like it to be the same as the anchor color, but it's up to you */
	text-indent:-10px; /* this makes the bullet to appear as the li tag previously used */
	margin:0 0 0 12px; /* One thing that I didnÃÂÃÂ´t like of the li was that it had no left margin applied */
}

/*** FOOTER ***/

#FooterDiv{
	clear:both; /* REQUIRED */
    overflow:hidden;	
    color:#999999;
}
#FooterDiv a{
    text-decoration:underline;
    color:#999999;
}
#FooterWrapDiv{
	overflow:hidden;
	padding:3px;
}
#FooterLogoDiv{ 
	float:right; /* right side */
	background:white;
    border-radius:8px;
    padding:2px;
}
#FooterLogoDiv img {
    vertical-align:middle;
}
#FooterVersionDiv{
	float:left; /* left side */
	margin-top:3px;
}
#FooterTimeDiv{
	clear:left; /* below  */
}

/*** END ***/