body
{
	font-size: 12px;
}

a
{
	FONT-FAMILY: Arial, Helvetica, Verdana, Geneva, sans-serif;
}

table.topmenu
{
	width:100%;
	background-color:#FFFFFF;
}

table.main
{
	width:100%;
	background-color:#EEEEEE;
	height:100%;
}

table.plain_table
{
	border-style:solid;
	border-width:1px;
	border-color:#AAA;
}

table.plain_table td
{
	border-style:solid;
	border-width:1px;
	border-color:#AAA;
}

table.plain_table tfoot>tr>td, table.data_table tfoot>tr>td
{
	font-weight: bold;
}

table.plain_table, table.plain_table td, table.plain_table th, .data_table_initialised td, .data_table_initialised th, .dataTables_wrapper>.ui-widget-header
{
	border: 1px #B0B0B0 solid !important;
	border-collapse: collapse;
}

table.plain_table td, table.plain_table th
{
    padding: 3px 10px;
}

table.plain_table th, .data_table_initialised th
{
    font-weight: bold;
}

table.data_table th[colspan]:not([colspan="1"]), table.plain_table th[colspan]:not([colspan="1"])
{
    text-align: center;
}

.dataTables_info {
    width: auto;
}

th
{
	font-size:12px;
	font-family:arial;
}

td
{
 	COLOR: black;
	FONT-FAMILY: Arial, Helvetica, Verdana, Geneva, sans-serif;
	TEXT-DECORATION: none;
	font-size:12px;
	padding: 0;
	margin:0;
	vertical-align:top;
}

table.search_form td
{
	padding-bottom: 5px;
}

table.search_form th
{
	text-align: left;
}

tr.deleted td
{
	color:red;
	text-decoration: line-through;
}

.icon_cell
{
	width: 16px;
}

.dialog_table th
{
	text-align: right;
}

.clickable
{
	cursor:pointer;
}

.customer_selector_display
{
	cursor:pointer;
	background-color:#98fb98;
	width:200px;
}

div.rich_text
{
	min-height: 100px;
	max-height: 500px;
	overflow:auto;
	border-width: 1px;
	border-style: solid;
	border-color: gray;
	padding: 5px;
	max-width: 500px;
	word-break: break-word;
}

.actions td
{
	max-width: 500px;
	word-break: break-word;
}

tr.infobar
{
	background-color:#0c1940;
}

tr.menubar
{
	background-color:#0c1940;
}

tr.searchresults
{
	height:30px;
}

td.searchresults
{
	border: 1px silver solid;
 	COLOR: black;
	FONT-FAMILY: Arial, Helvetica, Verdana, Geneva, sans-serif;
	TEXT-DECORATION: none;
	font-size:12px;
	padding: 0;
	margin:0;
}

td.mainsides
{
	width:10%;
	vertical-align:bottom;
}

td.mainbody
{
    background-color:#FFFFFF;
    width: 80%;
    vertical-align:top;
}

h2
{
	FONT-FAMILY: Arial, Helvetica, Verdana, Geneva, sans-serif;
	TEXT-DECORATION: none;
	text-align: center;
	color: #F62817;
}

BODY
{
  height:100%;
  COLOR: black;
  FONT-FAMILY: Arial, Helvetica, Verdana, Geneva, sans-serif;
  TEXT-DECORATION: none;
  padding: 0;
  min-height:100%;
  margin:0;
}

body.mainsides
{
    background-color:#808080;
    height:100%;
    min-height:100%;
}

img
{
	border-style: none;
}

html
{
	height:100%;
	min-height:100%;
	overflow: scroll;
}

fieldset
{
	border:1px solid gray;
	width: 95%;
	margin: 0 0 0.5em 0;
	padding: 0 1em 1em 0;
}

legend
{
	margin-left: 1em;
	font-size: 1.2em;
	font-weight: bold;
}

fieldset ol
{
	padding: 0em 0em 0 1em;
	list-style: none;
}

fieldset h3
{
	padding: 0em 0em 0 1em;
}

fieldset li
{
	float: left;
	clear: left;
	width: 100%;
	padding-bottom: 0.3em;
}

fieldset > ol > li > label
{
	float: left;
	width: 10em;
	margin-right: 1em;
	text-align: right;
	font-weight: bold;
}

fieldset.no_border
{
    border: none;
}

#task-panel
{
	display:none;
	width: 500px;
	position: fixed;
	bottom: 0px;
	right: 0px;
	z-index: 200;
	background-color: #A6BBCD;
	color: #000000;
}
#task-panel-tab
{
	width: 180px;
	position: fixed;
	bottom: 0px;
	right: 0px;
	background-color: #A6BBCD;
	color: #000000;
	text-decoration: none;
}
#task-panel-close
{
	width: 100%;
	height: 20px;
	background-color: #0c1940;
	text-decoration: none;
	background-image:url(/logged/images/arrow_down.gif);
	background-repeat: no-repeat;
	background-position: center;
}
#task-panel-open
{
	width: 100%;
	height: 20px;
	background-color: #0c1940;
	text-decoration: none;
	background-image:url(/logged/images/arrow_up.gif);
	background-repeat: no-repeat;
	background-position: center;
}
#task-panel-div
{
	font-size:12px;
}

/* CSS for Calendars*/

.calendar_title td
{
	text-align: center;
	font-size: large;
}

.calendar_title img
{
	height: 25px;
	width: 25px;
}

table .calendar
{
	width: 100%;
	border-spacing: 0;
	border: 5px solid #b0c4de;
}

.calendar td
{
	padding-left: 2px;
	padding-right: 2px;
}

.calendar tr
{
	background-color:#b0c4de;
}

td .calendar_date
{
	text-align:center;
	vertical-align:middle;
	height:20px;
}

.calendar_date_gradient
{
	vertical-align:middle;

	/* default background colour, for all layout engines that don't implement gradients */
	background: #FFE9F5;
	/* gecko based browsers */
	background: -moz-linear-gradient(top, #FFFFFF, #C0D3EA);
	/* webkit based browsers */
	background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#C0D3EA));
	color: #000000; /* text colour (black) */
	height: auto; /* gradient uses the full height of the element */
}

td .calendar_date_highlighted
{
	text-align:center;
	vertical-align:middle;
	height:20px;
	border-top: 1px solid #EE9311;
	border-left:2px solid #EE9311;
	border-right: 2px solid #EE9311;
	background: #EE9311;
}

.calendar_date_highlighted_gradient
{
	vertical-align:middle;

	/* default background colour, for all layout engines that don't implement gradients */
	background: #FFE9F5;
	/* gecko based browsers */
	background: -moz-linear-gradient(top, #FFFFFF, #F2A935);
	/* webkit based browsers */
	background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#F2A935));
	color: #000000; /* text colour (black) */
	height: auto; /* gradient uses the full height of the element */
}

.calendar_body
{
	padding: 5px;
	background-color:#FFFFFF;
	border-top: 2px solid #5D8CC9;
	border-bottom: 2px solid #5D8CC9;
	border-left:1px solid #5D8CC9;
	border-right: 1px solid #5D8CC9;
}

.calendar_body_highlighted
{
	padding: 5px;
	background-color:#FFFFFF;
	border-top: 2px solid #EE9311;
	border-bottom: 2px solid #EE9311;
	border-left:2px solid #EE9311;
	border-right: 2px solid #EE9311;
}

.calendar_body_overflow_month
{
	height: 110px;
	overflow: auto;
}

.calendar_body_overflow_week
{
	height: 500px;
	overflow: auto;
}

.calendar_item
{
	/* default background colour, for all layout engines that don't implement gradients */
	background: #FFE9F5;
	/* gecko based browsers */
	background: -moz-linear-gradient(top, #FFFFFF, #C0D3EA);
	/* webkit based browsers */
	background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#C0D3EA));

	height: 40px;
	padding: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	border: 1px solid #5D8CC9;
	overflow: hidden;
	margin-bottom: 3px;
}

.calendar_item.important
{
	border: 2px solid red;
	color: #FF0000;
}

.calendar_item_title
{
	color: #294C7A;
}

.calendar-border
{
	background-color:#b0c4de;
}

.calendar-item
{
	background-color:#6699FF;
	border-color:#000000;
	border-width: 1px;
	border-style:solid;
	overflow:hidden;
	width:100%;
	position:absolute;
	cursor:pointer;
}

.calendar-body
{
	background-color:#FFFFBB;
	position:relative;
}
/* End Calendar Class CSS*/

.date_picker
{
	background: #ffc;
	width: 80px;
}

.checklist_item_set
{
	margin: 0; padding: 0;
	overflow: auto;
	list-style: none;
}
.checklist_item_set ul
{
	list-style: none;
	margin: 2px 2px 2px 15px; padding: 0;
}
.checklist_item_heading
{
	font-weight: bold;
}

.checklistsmall
{
    border: 1px solid #ccc;
    list-style: none;
    height: 10em;
    overflow: auto;
    width: 20em;
}

.checklistsmall, .checklistsmall li
{
	margin: 0; padding: 0;
}

.checklistsmall label
{
  display: block;
  padding-left: 25px;
  text-indent: -25px;
}

.checklistsmall label:hover
{
	background: #777; color: #fff;
}

.checklist
{
    border: 1px solid #ccc;
    list-style: none;
    height: 15em;
    overflow: auto;
    width: 25em;
}

.checklist, .checklist li
{
	margin: 0; padding: 0;
}

.checklist label
{
  display: block;
  padding-left: 25px;
  text-indent: -25px;
}

.checklist label:hover
{
	background: #777; color: #fff;
}

#items
{
	width: 200px;
	border: 1px solid #CCC;
	list-style-position: outside;
	list-style-type: none;
	padding:0px;
	margin:0px;
	height:155px;
}

#items li
{
	margin: 0px;
	padding: 5px;
	background:#efefef;
	border-bottom:1px solid #CCC;
	display:block;
	cursor:pointer;
}

#items li:hover
{
	background:#FFC;
}

.upload_progress_container
{
	border:0px;
	height:30px;
	width:400px;
	display:none;
}

.progress_container
{
	width: 300px;
	height: 20px;
	border: 1px solid #CCCCCC;
	background-color:#EBEBEB;
	display: block;
	margin:5px 0px -15px 0px;
}

.progress_bar
{
	position: relative;
	height: 20px;
	background-color: #FF2400;
	width: 0%;
	z-index:10;
}

.progress_completed
{
	z-index:40;
	line-height:20px;
	padding-left:4px;
	color:#FFFFFF;
}

/*TreeView Specific CSS*/
.jstree-search
{
	font-weight: bold !important;
	background: #5195CE url(/logged/images/ui-bg_glass_100_e6e6e6_1x400.png) 50% 50% repeat-x !important;
}

/* This allows us to create a dialog with the class "no-close" which removes the close option*/
.no-close .ui-dialog-titlebar-close
{
    display: none
}

/*Hover over*/
.hoverover:hover:after
{
    max-width: 350px;
    background-color:#E2E4FF;
    color: black;
    position: absolute;
    float: left;
    font-size: 1.1em;
    padding: 0.2em;
    border: 1px solid #ccc;
    content: attr(hoverover);
    z-index:9999;
    display:block;
    left:inherit;
    top:inherit;
}

.progressbar
{
	float: left;
	width: 300px;
	background-color: lightgrey;
	border: black 1px solid;
	border-radius: 7px; /* (height of inner div) / 2 + padding */
	padding: 2px;
}

.progressbar > div
{
	width: 0%; /* Adjust with JavaScript */
	height: 10px;
	border-radius: 10px;
	background-color: green;
}

#notes_number_cancellation {
  display: none;
  width: 503px;
  height: 306px;
  background: #ccc;
  padding: 10px;
  border: 1px solid #333;
}
