
html 
{
    background-color: #FFFFFF;
}

body
{
    background-color: #FFFFFF;
    font-size: 75%;
    font-family: Verdana, Tahoma, Arial, "Helvetica Neue", Helvetica, Sans-Serif;
	color: #555555; 
	text-align: center;
	margin: 0px;
	padding: 0px;	
}

a:link, a:visited
{
    color: #B9D1EB;
}

div#fade
{
	background-image: url('../images/skin/skin_fade.gif');
	background-position: left top;
	background-repeat: repeat-x;
	text-align: center;
}

div#page_wrap
{
	width: 920px;
	margin-left: auto;
	margin-right: auto; 
	text-align: center;
}

div#page_top_bg
{
	background-image: url('../images/skin/skin_header.gif');
	background-repeat: no-repeat;
	width: 920px;
	height: 130px;
}

div#header
{
    color: #FFFFFF;
    width: 890px;
    padding-left: 15px;
    padding-right: 15px;    
}

div#header_top
{
    color: #FFFFFF;
    float: right;
    padding: 10px 0px 0px 15px;
}

span#header_top-debug
{
    padding-right: 50px;
}

div#header_main 
{
    color: #FFFFFF;
    text-align: left;
    padding: 55px 5px 0px 5px;
    width: 880px;	
	height: 40px;
}

div#header_sub
{
    color: #000000;
    text-align: left;
    padding: 5px 5px 0px 5px;
    width: 880px;     
    height: 30px;
}


div#header_sub a:link, div#header_sub a:visited
{
    color: #333399;
}

div#page_main_wrap
{
    background-image: url('../images/skin/skin_app_bg.gif'); 
	background-repeat: repeat-y;  
	margin-bottom: -20px;   
	width: 920px;
	min-height: 400px;
}

div#page_main_bg
{
    background-image: url('../images/skin/skin_content_top.gif'); 
	background-repeat: no-repeat;  
	width: 920px;
	min-height: 45px;
}

div#content_main 
{
	margin-left: 15px;
	margin-right: 15px; 
	padding-top: 5px;  
	padding-bottom: 5px;
	width: 890px;
	text-align: left;
}

div#page_bottom_bg
{
	background-image: url('../images/skin/bottom_spacer.gif');
	background-repeat: repeat;
	margin-bottom: 20px;
	width: 920px;
	height: 60px;
}

div#page_bottom
{
	background-image: url('../images/skin/skin_footer.gif');
	background-repeat: no-repeat;
	margin-top: 15px;
	padding-top: 20px;
	width: 920px;
	height: 60px;
}

div#footer
{
    color: #555555;
    font-size: 90%;
    font-weight: normal;
    text-align: center;
}

div#footer-copyright
{
    color: #555555;
    font-size: 70%;
    font-weight: normal;
    text-align: center;
}

#order_toolbar 
{
    padding: 14px 4px;
}


/* General */

.left {
    text-align: left;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

/* Headings */

h1, h2, h3, h4, h5, h6
{
    font-size: 1.5em;
    font-weight: bold;
    color: #000;
}

h1
{
    font-size: 1.6em;
    padding-bottom: 0;
    margin-bottom: 0;
}

h2
{
    padding: 5px 0 10px 0;
}

h3
{
    font-size: 1.2em;
}

h4
{
    font-size: 1.1em;
}

h5, h6
{
    font-size: 1em;
}

/* Form Layout Elements */

fieldset 
{
    border:1px solid #ddd;
    padding:0 1.4em 1.4em 1.4em;
    margin:0 0 1.5em 0;
}

legend 
{
    font-size:1.2em;
    font-weight: bold;
}

textarea 
{
    min-height: 75px;
}

input[type="text"] 
{
    width: 200px;
    border: 1px solid #CCC;
}

input[type="password"] 
{
    width: 200px;
    border: 1px solid #CCC;
}


/* layout styles */

.tbl 
{
	display: table;
	table-layout: fixed;
}

.tbl-cell, .tbl-left, .tbl-right 
{
    display: table-cell;
}


/* Styles for editor and display helpers */

.display-label, .editor-label
{
    margin: 1em 0 0 0;
}

.display-field, .editor-field
{
    margin:0.5em 0 0 0;
}

.text-box
{
    width: 30em;
}

.text-box.multi-line
{
    height: 6.5em;
}

.tri-state
{
    width: 6em;
}

/* css3buttons created at http://css3button.net/ */

button 
{
    cursor: pointer;
    margin: 2px; 
}

button.css3button-blue {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #123d54;
	padding: 10px 20px;
    background-color: #afd9fa;
	background: -ms-linear-gradient(
		top,
		#afd9fa 0%,
		#588fad);
	background: -moz-linear-gradient(
		top,
		#afd9fa 0%,
		#588fad);
	background: -webkit-gradient(
		linear, left top, left bottom, 
		from(#afd9fa),
		to(#588fad));
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border: 1px solid #003366;
	-moz-box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 0px 0px 1px rgba(255,255,255,1);
	-webkit-box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 0px 0px 1px rgba(255,255,255,1);
	text-shadow:
		0px -1px 0px rgba(000,000,000,0.7),
		0px 1px 0px rgba(255,255,255,0.3);
}

button.css3button-blue-edit {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #123d54;
	padding: 0px 4px;
    background-color: #afd9fa;
	background: -ms-linear-gradient(
		top,
		#afd9fa 0%,
		#588fad);
	background: -moz-linear-gradient(
		top,
		#afd9fa 0%,
		#588fad);
	background: -webkit-gradient(
		linear, left top, left bottom, 
		from(#afd9fa),
		to(#588fad));
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border: 1px solid #003366;
	-moz-box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 0px 0px 1px rgba(255,255,255,1);
	-webkit-box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 0px 0px 1px rgba(255,255,255,1);
	text-shadow:
		0px -1px 0px rgba(000,000,000,0.7),
		0px 1px 0px rgba(255,255,255,0.3);
}

button.css3button-green {
	width: 120px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #ffffff;
	padding: 2px 6px;
    background-color: #92c94a;
	background: -ms-linear-gradient(
		top,
		#92c94a 0%,
		#388531);
	background: -moz-linear-gradient(
		top,
		#92c94a 0%,
		#388531);
	background: -webkit-gradient(
		linear, left top, left bottom, 
		from(#92c94a),
		to(#388531));
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border: 1px solid #669421;
	-moz-box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 0px 0px 1px rgba(255,255,255,0.7);
	-webkit-box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 0px 0px 1px rgba(255,255,255,0.7);
	text-shadow:
		0px -1px 0px rgba(000,000,000,0.4),
		0px 1px 0px rgba(255,255,255,0.3);
}

button.css3button-red {
	width: 120px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #ffffff;
	padding: 4px 8px;
    background-color: #ff2819;
	background: -ms-linear-gradient(
		top,
		#ff2819 0%,
		#ab0000);
	background: -moz-linear-gradient(
		top,
		#ff2819 0%,
		#ab0000);
	background: -webkit-gradient(
		linear, left top, left bottom, 
		from(#ff2819),
		to(#ab0000));
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border: 3px solid #7d0000;
	-moz-box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 0px 0px 2px rgba(255,255,255,0.7);
	-webkit-box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 0px 0px 2px rgba(255,255,255,0.7);
	text-shadow:
		0px -1px 0px rgba(000,000,000,0.4),
		0px 1px 0px rgba(255,255,255,0.3);
}

button.css3button-grey-edit,
button.disabled {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #123d54;
	padding: 0px 4px;
    background-color: #B1B3B5;
	background: -ms-linear-gradient(
		top,
		#B1B3B5 0%,
		#8C8C8C);
	background: -moz-linear-gradient(
		top,
		#B1B3B5 0%,
		#8C8C8C);
	background: -webkit-gradient(
		linear, left top, left bottom, 
		from(#B1B3B5),
		to(#8C8C8C));
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border: 1px solid #003333;
	-moz-box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 0px 0px 1px rgba(255,255,255,1);
	-webkit-box-shadow:
		0px 1px 3px rgba(000,000,000,0.5),
		inset 0px 0px 1px rgba(255,255,255,1);
	text-shadow:
		0px -1px 0px rgba(000,000,000,0.7),
		0px 1px 0px rgba(255,255,255,0.3);
}

button.disabled {
    cursor: default;
}

/* Tab overrides for tab close button */
.app_tabs ul li .ui-icon-close { float: left; margin: 0.4em 0.2em 0 0; cursor: pointer; }

.app_tab_area {
    max-height: 720px;  
    overflow: auto;
}
