/******************
	General
	
default border:  #aaa
background grey: #999
dark orange:     #ffd03f
light orange:    #fff4c1
orange border:   #ff950c

  Ecom

blue:		#0089C4
dark gray:	#5E6A71
basic gray: #666
background: #f5f5f5
orange:		#f0ab00

*******************/
html {
	height: 100%;
	margin: 0px;
	padding: 0px;
}

body {
	background: #fff url('../img/main-back.png') repeat-x top left;
	color: #454545;
	font-family: verdana, helvetica, arial, sans-serif;
	font-size: 11px;
	font-style: normal;
	font-weight: normal;
	margin: 0px;
	padding: 0px;
	height: 100%;
}

h1, h2, h3, h4 {
	margin: 10px 0 10px 0;
	padding: 0;
}

h1 {
	font-size: 18px;
}
h2 {
	font-size: 16px;
}
h3 {
	font-size: 14px;
}
h4 {
	font-size: 12px;
}

p {
	margin: 5px 0 8px 0;
}

a {
	color: #0089C4;
	text-decoration: none;
}

a img {
	border: none;
}

a:hover {
	text-decoration: underline;
}

hr {
	border:0px; 
	border-top:1px dashed #bbb; 
	height:0px;
	margin: 15px 0;
}

dt {
	margin: 0 0 5px 0;
	font-style: italic;
	font-size: 12px;
}

dd {
	margin: 0 0 8px 5px;
}

/******************
	Layout
*******************/

#header {
	overflow: auto;
	border: 1px solid #ff950c;
	background: #efefef;
	padding: 5px 15px 0;
	margin: 0px 15px 7px 15px;
}

#header h1 {
	font-size: 20px;
	color: #ff950c;
	padding: 0 0 5px 0;
	font-weight: normal;
}

#header h1 span {
	vertical-align: super; 
	color: #666;
	font-size: 14px;
	padding-left: 10px;
}

#header #userinfo {
	float: right;
	text-align: right;
}

#header #userinfo p {
	margin: 0 0 3px 0;
	font-size: 10px;
	font-weight: bold;
}

#breadcrumbs {
	margin: 0px 25px 7px 25px;
	font-size: 14px;
	overflow: auto;
}

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

#content {
	clear: both;
	overflow: auto;
	background: #fff;
	margin: 0px 15px 0px 15px;
	padding: 15px;
	border: 1px solid #aaa;
}

div.flashmessage, div.flashmessage_warn, div.flashmessage_err {
	margin: 0 15px 10px 15px;
	padding: 5px 10px;
	font-weight: bold;
}
div.flashmessage {
	background: #29ABE2;
	border: 1px solid #3285FC;
	color: #fff;
}

#footer {
	clear: both;
	color: #666;
	font-size: 10px;
	text-align: center;
	margin-bottom: 15px;
}

#footer a.plain {
	color: #666;
	font-weight: normal;
}

/******************
	Menus
*******************/
div.menu {
	border-top: 1px solid #ff950c;
	border-bottom: 1px solid #ff950c;
	margin: 0 0 15px 0;
	padding: 0;
	clear: both;
}

div.menu ul {
	margin: 5px 0 5px 10px;
	padding: 0;
}

div.menu li {
	border-right: solid 1px #ff950c;
	list-style-type: none;
	display: inline;
	margin: 0;
}

div.menu li.current {
	text-decoration: underline;
}

div.menu li.rightmost {
	border: none;
}

div.menu a {
	color: #444;
	margin-left: 10px;
	margin-right: 10px;
}

#mainmenu {
	margin: 0px 15px 7px 15px;
	border: 1px solid #ff950c;
	font-size: 12px;
}

#mainmenu a {
	font-weight: normal;
}

#adminmenu {
	border: 1px solid #aaa;
	margin: 15px 5px;
	font-size: 12px;
	width: 450px;
}

#adminmenu h2{
	background: #aaa;
	color: #fff;
	font-size: 12px;
	padding: 5px 10px;
	border: none;
}

#adminmenu .lefticon {
	margin-right: 7px;
}

#adminmenu .content {
	padding: 10px;
}

#submenu {
	font-size: 12px;
	background: #fff4c1;
}

#submenu li.current{
	text-decoration: none;
}

#submenu .wizard-steps {
	background: #fff;
	overflow: auto;
	padding-left: 10px;
}

#submenu .wizard-step {
	background: #fff4c1;
	float: left;
	margin: 4px;
	padding: 4px;
}

#submenu .wizard-steps .current {
	background: #ffd03f;
}
#submenu .wizard-step-spacer {
	background: #fff;
	float: left;
	margin: 4px;
	padding: 4px;
}

#tabs {
	padding: 0px 10px;
	margin: 0px 15px 0px 15px;
	clear: both;
}

#tabs li {
	margin: 0;
	margin-right: 10px;
}


/******************
	Forms
*******************/

.field {
	margin-bottom: 8px;
	clear: both;
}
.fieldset {
	overflow: auto;
	margin-bottom: 8px;
	clear: both;
}
.fieldset .field {
	float: left;
	clear: none;
	margin-bottom: 0;
	margin-right: 15px;
}

fieldset {
	border: solid 1px #ff950c;
	margin-bottom: 10px;	
	padding: 10px 12px;
}

legend {
	background: #fff4c1;
	border: 1px solid #ff950c;
	color: #000;
	padding: 2px 5px;
}

input, textarea, select {
	padding: 0.2em;
	background: #fff url('../img/input-back.png') repeat-x top left;
	border: solid 1px #999;
	margin: 0;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

input:focus, textarea:focus {
	border: solid 1px #f0ab00;
}

select {
	padding: 0.1em;
}

input.radio {
	background: transparent;
	border: none;
}

input.small {
	padding: 0em;
	border: solid 1px #555;
}

option {
	color: #000;
}

input.button {
	color: #fff;
	font-weight: bold;
	background: #888;
}

input.protected, textarea.protected, select.protected  {
	background: #efefef;
	color: #333;
}

a.cancel {
	border: 1px solid #555;
	color: #d50;
	background: #eee;
	padding: 5px;
}

a.cancel:hover {
	text-decoration: none;
}

/*****************
	helps
******************/
div.helpbutton {
	float: right;
	margin-right: 25px;
}

a.help-link {
	color: #999;
	padding: 1px 2px;
	vertical-align: 10%;
	font-size: 11px;
}

a.help-link:hover {
	text-decoration: none;
	background: #0089C4;
	color: #fff;
}

.inputHintOverlay {
	color: #aaa;
}

/******************
	Filter Forms
*******************/

.filter { /* topform */
	/*border: 1px solid #ff950c;*/
	max-width: 900px;
	margin: 0 0 15px 0;
	font-size: 10px;
}
.filter .filterheader {
	background-color: #0089C4;
	color: #fff;
	padding: 5px 10px 5px 5px;
	margin: 0px;
	margin-bottom: 5px;
	cursor: pointer;
}
.filter h2 {
	margin: 0;
}
.filter input[type=text], .filter textarea, .filter select {
	padding: 0em;
	background: #fff;
	border: solid 1px #555;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.filter select {
	padding: 0em;
}
.filter input.radio {
	border: none;
	vertical-align: text-bottom;
}
.filter input.button {
	color: #fff;
	font-weight: bold;
	background: #888;
	font-size: 11px;
}
.filter .field {
	margin-bottom: 5px;
	clear: both;
}
.filter .fieldset {
	overflow: auto;
	margin-bottom: 0px;
	clear: both;
	padding: 0 5px 10px 10px;
}
.filter .fieldset .field {
	float: left;
	clear: none;
	margin-bottom: 0;
	margin-right: 5px;
}
.filter a.cancel {
	border: 1px solid #555;
	color: #d50;
	background: #eee;
	padding: 1px;
}


/******************
	Form errors 
*******************/

div.errors {
	padding: 10px 10px 0 10px;
	border-top: 1px solid #f00;
	border-bottom: 1px solid #f00;
	background-color: #fff0f0;
	color: #f00;
	margin: 10px 0 10px 0;
	font-weight: bold;
}

p.error {
	padding: 0;
	margin: 0px 0 10px 0;
}

input.error, textarea.error {
	background: #ffe0e0;
	background-image: url(../jquery/theme/images/ui-bg_diagonals-small_55_e39c9d_40x40.png);
}

label.error {
	color: #f00;
}

/******************
	Tables
*******************/

table {
}

td, th {
	padding: 3px 5px;
	border-right: 1px solid #aaa;
}

td.last {
	border-right: none;
}

th {
	background: #0089C4;
	color: #fff;
}

th a {
	color: #f0ab00;
}

tr.header th{
	border-bottom: 1px solid #aaa;
}

tr.footer {
	background: #eee;
}

tr.even {
	background: #efefef;
}

tr:hover {
	background-color: #E5ECF9;
}
table.nohover tr:hover {
	background: none;
}

td.number {
	text-align: right;
}

td.center {
	text-align: center
}

table.noborder, table.noborder th, table.noborder td {
	border: none;
}

/******************
	Calendar
*******************/

#calendar td {
	background: #fff;
	vertical-align: top;
	padding: 0;
	white-space: nowrap;
	font-size: 9px;
	border-right: 1px dashed #aaa;
	border-bottom: 1px dashed #aaa;
}

#calendar .selectable td div.date {
	font-size: 11px;
	text-align: center;
}

#calendar tr.footer td {
	background: #eee;
	border-right: 1px solid #aaa;
	border-bottom: none;
}

#calendar td.weekday {
	border-right: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
	font-size: 10px;
}

#calendar td div.date {
	font-size: 9px;
	margin: 0;
	padding: 2px 4px 0px 4px;
}
#calendar td div.date span {
	font-weight: bold;
	padding-right: 5px;
}

#calendar td.holiday div.date {
	background: #d22;
	color: #fff;	
}

#calendar td.today {
	background: #fff4c1;	
}

#calendar td div.day-contents {
	padding: 5px;
}
#calendar td div.task {
	border-bottom: 1px dashed #ddd;
	line-height: 150%;
	margin-bottom: 4px;
}

#calendar td div.task .header {
	font-size: 11px;
	padding: 2px 0;
}

#calendar td div.task .header .time {
	background: #888;
	color: #fff;
	padding: 2px;
	margin-right: 2px;
	font-weight: bold;
}
#calendar div.task dl {
	margin: 0 2px;
}
#calendar div.task dt {
	margin: 0;
	font-weight: bold;
}
#calendar div.task dd {
	margin: 0;
	margin-left: 4px;
}

/******************
	Admin
*******************/
.admin-section-container {
	margin-right: 20px;
	margin-bottom: 20px;
}

h2.admin-section-toggle {
	margin: 0px;
	padding: 3px 5px;
	background: #999;
	color: #fff;
	cursor: pointer;
}

.admin-section {
	padding: 5px 8px;
}

.admin-section-hidden {
	display: none;
}

a#toggle-all {
	cursor: pointer;
}

/******************
	Index
*******************/

#index {
	margin-bottom: 50px;
	overflow: auto;
}
#index h1 {
	margin: 0;
}
#index h2 {
	margin: 0;
}

.indexmenu {
	line-height: 70px;
	overflow: auto;
	clear: both;
}

.indexmenu .indexmenu-item {
	width: 220px;
	float: left;
	margin: 5px;
	text-align: center;
}
.indexmenu a {
	padding: 20px 30px;
	color: #444;
	font-size: 16px;
}

.indexmenu a span {
	font-size: 10px;
	color: #aaa;
	padding-left: 4px;
	
}

/*.indexmenu .indexmenu-item:hover {
	background: #ffd03f;
	border: 1px solid #aaa;
}*/

.indexmenu a:hover {
	text-decoration: none;
}

/******************
	Salaryevents
*******************/

tr.sal-day-header th {
	background: #ccc;
	color: #454545;
	border: none;
}

tr.sal-sum td {
	border-top: 1px solid #aaa;
}
tr.sal-sum-borderbottom td {
	border-bottom: 1px solid #aaa;
}

/******************
	Products
*******************/
.pagination {
	margin-bottom: 20px;
}

.pagination_links {
}

.pagination_links a {
	font-weight: bold;
	padding: 5px;
}

.pagination_links a.current {
	border: 1px solid #aaa;
}
.pagination_links a:hover {
	background: #ccc;
	color: #fff;
}

/*******************
	CovNotes
********************/
.hidden {
	display: none;
}

.covrow-section {
	margin-bottom: 20px;
}

.covrow-section h3 {
	border-bottom: 1px dotted #aaa;
}

/*******************
 Ajax
********************/
.ajax-loading {
	min-width: 50px;
	min-height: 50px;
	background-image: url('../img/ajax-loading.gif') !important;
	background-repeat: no-repeat !important;
	background-position: center center !important;
}

/******************
 AutoCompleter
*******************/
.ui-autocomplete {
	max-height: 100px;
	overflow-y: auto;
	}


/******************
	General
	
default border:  #aaa
background grey: #999
dark orange:     #ffd03f
light orange:    #fff4c1
orange border:   #ff950c

*******************/
.toolbar {
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.toolbar .ui-button-text-icon-primary .ui-button-text, .toolbar .ui-button-text-icons .ui-button-text, .covmenu .ui-button-text-icon-primary .ui-button-text, .covmenu .ui-button-text-icons .ui-button-text {
	padding: 0.2em 1em 0.2em 2.1em;
}
.toolbar .ui-button-text-icon-secondary .ui-button-text, .covmenu .ui-button-text-icon-secondary .ui-button-text {
	padding: 0.2em 2.1em 0.2em 1.0em;
}
.toolbar .ui-button-text-only .ui-button-text, .covmenu .ui-button-text-only .ui-button-text {
	padding: 0.2em 1em;
}

.toolbar-small, .covmenu {
	padding: 2px;
	margin-bottom: 0px;
}

td.covmenu div {
	width: 90px;
	text-align: center;
}

.lefticon {
	margin-bottom: -2px;
	display: inline-block;
	margin-right: 2px;
	margin-left: 2px;
}

.floatingpanel {
	padding: 10px;
	padding-bottom: 0px;
	margin: 0px;
	width: 450px;
}
.floatingpanel .floatinghandle {
	cursor: e-resize;
}
.floatingpanel .floatinghandle span {
	margin-top: 15px;
	margin-bottom: 15px;
}

.ui-widget-content a {
	color: #0089C4;
}
.ui-buttonset .ui-button {
	float: left;
	margin-right: 0px;
}
.toolbar .ui-buttonset .ui-button-icon-only, .covmenu .ui-buttonset .ui-button-icon-only {
	height: 1.8em;
}
a.ui-selectmenu:hover {
  text-decoration: none;
}
.filter .ui-selectmenu {
  height: 1.5em;
}
.filter .ui-selectmenu-status, filter .ui-selectmenu li a {
  padding: 0.1em 1em;
}

.ui-selectmenu-status {
	padding-left: 0.2em;
}

.ui-widget .filter input[type=text], .ui-widget .filter select, .ui-widget .filter textarea, .ui-widget .filter button {
	font-family: verdana,helvetica,arial,sans-serif;
	font-size: 13px;
}

.salaryeventquickinput .ui-datepicker-today a.ui-state-highlight {
	font-weight: bold;
	background: url("../jquery/theme/images/ui-bg_glass_75_e6e6e6_1x400.png") repeat-x scroll 50% 50% #E6E6E6;
	border: 1px solid #D3D3D3;
}
.salaryeventquickinput .ui-datepicker-today a.ui-state-highlight.ui-state-active {
	background: url("../jquery/theme/images/ui-bg_glass_65_ffffff_1x400.png") repeat-x scroll 50% 50% #FFFFFF;
	border: 1px solid #AAAAAA;
	color: #212121;
}

a.inputbutton {
	font-size: 9px;
	margin-left: 0px;
	-webkit-border-top-left-radius: 0;
	-moz-border-radius-topleft: 0;
	border-top-left-radius: 0;
	-webkit-border-bottom-left-radius: 0;
	-moz-border-radius-bottomleft: 0;
	border-bottom-left-radius: 0;
}
a.inputbutton .ui-button-text {
	padding-bottom: 0.5em;
}

.filter a.inputbutton.ui-button-icon-only .ui-button-text, .filter a.inputbutton.ui-button-icons-only .ui-button-text {
	padding: 0.2em;
}

input.hasbutton, .filter input.hasbutton {
	float: left;
	-webkit-border-top-right-radius: 0;
	-moz-border-radius-topright: 0;
	border-top-right-radius: 0;
	-webkit-border-bottom-right-radius: 0;
	-moz-border-radius-bottomright: 0;
	border-bottom-right-radius: 0;
}

table.selectabletable tr {
	cursor: pointer;
}
