.custom_error{
	color: #f00;
}
.custom_hide{
	display: none;
}
.custom_red
	{
	color:#F60014;
	}
.custom_green
	{
	color:#009900;
	}
.custom_amber
{
	color:#f9d243;
}
.custom_table td{
	border:none;
	margin:0;
	padding:0.2em 1em 0.2em 0;
}
.custom_center{
	text-align: center;
}
a.ss_pdf_button,a:hover.ss_pdf_button{
	color:#fff;
	background:#e87722; 
	font-weight: bold; 
	padding: 9px 12px 9px 12px;
	margin: 2px 0px 0px 0px;
	display: inline-block;
	position: relative;
}
/* Fleet jobs drag and drop styling */
.background_blue
{
	background-color:#adddf0 !important;
}
.background_amber
{
	background-color:#f9d243 !important;
}
.background_green
{
	background-color:#add79c !important;
}
.background_red
{
	background-color:#fbb876 !important;
}
.background_grey
{
	background-color:#aeaead !important;
}

.unallocated_jobs
{
	float:left;
	height:550px;
	width:220px;
	margin:0 10px 10px 0;
	padding:1px;
	background-color:#adddf0;
}
.drivers_jobs
{
	float:left;
	width:220px;
	height:270px;
	float:left;
	margin:0 10px 10px 0;
	padding:1px;
}
.drivers_info
{
	font-weight: bold;
	background-color:#fff;
	padding:2px;
	margin:1px;
}
.droptarget_unallocated
{
	width: 100%;
	height: 500px;
	overflow:auto;
}
.droptarget_driver
{
	width: 100%;
	height: 131px;
	overflow:auto;
}

ul.sortable_list
{
	padding: 0;
}
ul.sortable_list li
{
	border: 1px solid #979797;
	font-size: 0.8em;
	line-height: 1em;
	margin: 1px 0 1px 0;
	padding: 1px;
	list-style-type: none;
}
ul.sortable_list li.red_border
{
	border: 1px solid #F60014;
}
ul.sortable_list li.nodrag
{
	background-color:#f9d243;
}
ul.sortable_list li.jobcomplete
{
	background-color:#fbb876 !important;
}

ul.driver_jobs
{
	padding: 0;
}
ul.driver_jobs li
{
	border: 1px solid #979797;
	margin: 2px 0 2px 0;
	padding: 5px;
	list-style-type: none;
}
ul.driver_jobs li.red_border
{
	border: 1px solid #F60014;
}

#sortable{overflow:auto;padding:0.5em 0 0.5em 0;margin:0 0 0.5em 0;list-style-type: none;}
#sortable li {background-color:#ffffff;margin:0.5em 0 0.5em 0;border:1px solid;padding:0.5em;list-style-type: none;}

a.loading_schedule_date
{
	float:left;
	width:120px;
	border:2px solid #979797;
	padding:5px 10px 0 10px;
	margin:0 10px 10px 0;
}
a.loading_schedule_date:hover
{
	text-decoration:none;
}
a.loading_schedule_date.selected
{
	border:2px solid #e87722;
	background-color:#add79c;
}

/* Datepicker
----------------------------------*/
.ui-datepicker
	{	
	border: 1px solid #000000;
	background-color: #aeaead;
	color: #000000;
	}
.ui-datepicker a
	{
	color: #e87722;
background-color: #aeaead;
cursor: pointer;
	}

.ui-datepicker { width: 17em;}
.ui-datepicker .ui-datepicker-header { position:relative; background-color: #aeaead; }
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 0px; width: 1.8em; height: 1.8em; }
.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 0px;}
.ui-datepicker .ui-datepicker-prev { left:2px; }
.ui-datepicker .ui-datepicker-next { right:12px; }
.ui-datepicker .ui-datepicker-prev-hover { left:2px; }
.ui-datepicker .ui-datepicker-next-hover { right:12px; }
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px;  }
.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
.ui-datepicker select.ui-datepicker-month, 
.ui-datepicker select.ui-datepicker-year { width: 49%;}
.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0;  }
.ui-datepicker td { border: 0; padding: 1px; }
.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: center; text-decoration: none; background-color: #aeaead;}
.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }

/* with multiple calendars */
.ui-datepicker.ui-datepicker-multi { width:auto; }
.ui-datepicker-multi .ui-datepicker-group { float:left; }
.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
.ui-datepicker-row-break { clear:both; width:100%; }

/* RTL support */
.ui-datepicker-rtl { direction: rtl; }
.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
.ui-datepicker-rtl .ui-datepicker-group { float:right; }
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }

/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
.ui-datepicker-cover {
    display: none; /*sorry for IE5*/
    display/**/: block; /*sorry for IE5*/
    position: absolute; /*must have*/
    z-index: -1; /*must have*/
/*    filter: mask(); must have*/
    top: -4px; /*must have*/
    left: -4px; /*must have*/
    width: 200px; /*must have*/
    height: 200px; /*must have*/
}

/* Image viewer plugin */
.viewer {
    -ms-touch-action: none;
	position: relative;
	width:700px;
	height:900px;
	border:1px solid #6d6e71;
}

.iviewer_common {
    position:absolute;
    bottom:10px;
	border: 1px  solid #e87722;
    height: 28px;
    z-index: 5000;
}

.iviewer_cursor {
    cursor: url(../images/imageviewer/hand.cur) 6 8, pointer;
}

.iviewer_drag_cursor {
    cursor: url(../images/imageviewer/grab.cur) 6 8, pointer;
}

.iviewer_button {
    width: 28px;
    cursor: pointer;
    background-position: center center;
    background-repeat: no-repeat;
}

.iviewer_zoom_in {
    left: 20px;
    background: url(../images/imageviewer/iviewer.zoom_in.gif) center center no-repeat;
}

.iviewer_zoom_out {
    left: 55px;
    background: url(../images/imageviewer/iviewer.zoom_out.gif) center center no-repeat;
}

.iviewer_zoom_zero {
    left: 90px;
    background: url(../images/imageviewer/iviewer.zoom_zero.gif) center center no-repeat;
}

.iviewer_zoom_fit {
    left: 125px;
    background: url(../images/imageviewer/iviewer.zoom_fit.gif) center center no-repeat;
}

.iviewer_zoom_status {
    left: 160px;
    font: 1em/28px Sans;
    color: #000;
    background-color: #fff;
    text-align: center;
    width: 60px;
}

.iviewer_rotate_left {
    left: 227px;
    background: #fff url(../images/imageviewer/iviewer.rotate_left.png) center center no-repeat;
}

.iviewer_rotate_right {
    left: 262px;
    background: #fff url(../images/imageviewer/iviewer.rotate_right.png) center center no-repeat;
}
/* Google maps */
.gmp-map-controls h3 {
  font-size: 1.5em;
  background-color: white;
  margin: 8px;
  padding: 2px;
}