.hide-day-calender .ui-datepicker-calendar{
  display:none;
}

.barcode-scanner canvas, .barcode-scanner  video {
    max-width: 100%;
		width: 100%;
	}

canvas.drawing, canvas.drawingBuffer {
    position: absolute;
    left: 0;
    top: 0;
}

.filter-users-item {
  margin: 3px;
  border: 1px solid #F4F4F4;
  padding: 10px;
  background: #FFF;
}

.filter-users-item:hover {
  transform: translate(-3px,-3px);
  box-shadow: 3px 3px 8px #C9C9C9;
}

/*
.truck-marker-last{
  border: 3px dotted red;
  border-radius: 50%;
}*/

.text-purple {
  color: #5B00AB;
}

.panel-purple .panel-heading{
  background-color: #5B00AB;
}

.notes_container{
   display: block;
   width: 400px;
   max-width: 75%;
  position: fixed;
  bottom: -20px;
  right: 30px;
}

.notes_body {
  max-height: 400px; overflow: auto;
}

.truck-marker-last::before{
  content: "";
  width: 38px;
  height: 35px;
  border: 3px dotted red;
  border-radius: 50%;
  display: block;
  position: absolute;
}

.map-truck-label{
  width: 48px;
  height: 48px;
  transform: translate(-24px,-24px);
}

.tag {
	display: inline-block;
	padding: 5px;
	border-radius: 5px;
	font-size: 0.8em;
	font-weight: bold;
	margin: 1px;
}

.tag-users {
	background: #F2F2F2;
	color: #707070;
}

.tag-users-me {
	background: #F4DEDE;
	color: #743F3F;
	animation: animation-blink 2s linear infinite;
}

.tag-jobtype-repair {
	background: #F3FF7C;
	color: #505050;
}
.tag-jobtype-repair_-_customer_site {
	background: #EBF0BD;
	color: #505050;
}
.tag-jobtype-start_up {
	background: #FFC77C;
	color: #505050;
}
.tag-jobtype-rental {
	background: #78F6FA;
	color: #505050;
}
.tag-jobtype-prep {
	background: #FF6EE8;
	color: #505050;
}
.tag-jobtype-PM_service {
	background: #77FE70;
	color: #505050;
}
.tag-jobtype-pick_up {
	background: #E69797;
	color: #505050;
}
.tag-jobtype-installation {
	background: #9970FE;
	color: #505050;
}
.tag-jobtype-in_shop_repair {
	background: #A3FCE4;
	color: #505050;
}
.tag-jobtype-drop_ship {
	background: #E7FFA4;
	color: #505050;
}
.tag-jobtype-delivery {
	background: #B4BBFF;
	color: #505050;
}
.tag-jobtype-soap_delivery {
	background: #D7B4FF;
	color: #505050;
}
.tag-jobtype-demo {
	background: #FCFFC4;
	color: #505050;
}


.tag-status-estimate-pending {
	background: #D99E05;
	color: #fff;
}
.tag-status-estimate-sent {
	background: #0079BD;
	color: #fff;
}
.tag-status-estimate-accepted {
	background: #00BD02;
	color: #fff;
}
.tag-status-estimate-converted {
	background: #02860B;
	color: #fff;
}
.tag-status-estimate-rejected {
	background: #880303;
	color: #fff;
}
.tag-status-estimate-closed {
	background: #505050;
	color: #fff;
}


.tag-status-po-closed {
	background: #02860B;
	color: #fff;
}
.tag-status-po-open {
	background: #D99E05;
	color: #fff;
}
.tag-status-po-pending {
	background: #D94B05;
	color: #fff;
}
.tag-status-po-cancelled {
	background: #505050;
	color: #fff;
}

.tag-status-invoice-not_paid {
	background: #BD0000;
	color: #fff;
}
.tag-status-invoice-partially_paid {
	background: #D99E05;
	color: #fff;
}
.tag-status-invoice-paid {
	background: #02860B;
	color: #fff;
}

.tag-status-email-pending{
	background: #D99E05;
	color: #FFF;
}
.tag-status-email-sent{
	background: #03A7BE;
	color: #FFF;
}
.tag-status-email-opened{
	background: #02860B;
	color: #FFF;
}

.tag-status-agreement-expired{
	background: #BD0000;
	color: #FFF;
}
.tag-status-agreement-expiring_soon{
	background: #BD8E00;
	color: #FFF;
}
.tag-status-agreement-on_hold{
	background: #680286;
	color: #FFF;
}
.tag-status-agreement-active{
	background: #02860B;
	color: #FFF;
}

.tag-status-workorder-new {
	background: #C2D905;
	color: #fff;
}
.tag-status-workorder-new_recurring {
	background: #BF4C4C;
	color: #fff;
}
.tag-status-workorder-PM_to_be_scheduled {
	background: #B99928;
	color: #fff;
}
.tag-status-workorder-waiting_for_soap {
	background: #D7B4FF;
	color: #505050;
}
.tag-status-workorder-ready_to_be_scheduled {
	background: #B9B728;
	color: #fff;
}
.tag-status-workorder-brought_to_shop_for_repair {
	background: #9F9D05;
	color: #fff;
}
.tag-status-workorder-scheduled {
	background: #03A7BE;
	color: #fff;
}
.tag-status-workorder-needs_management_approval {
	background: #B98C28;
	color: #fff;
}
.tag-status-workorder-estimate_needs_management_approval {
	background: #37290c;
	color: #fff;
}
.tag-status-workorder-OM {
	background: #501385;
	color: #fff;
}
.tag-status-workorder-SMR {
	background: #501385;
	color: #fff;
}
.tag-status-workorder-FQM {
	background: #501385;
	color: #fff;
}
.tag-status-workorder-on_site {
	background: #0030D9;
	color: #fff;
}
.tag-status-workorder-active {
	background: #5CACEE;
	color: #fff;
}
.tag-status-workorder-waiting_for_approval {
	background: #B8791B;
	color: #fff;
}
.tag-status-workorder-waiting_for_customer_approval {
	background: #B8791B;
	color: #fff;
}
.tag-status-workorder-waiting_for_parts {
	background: #DA8226;
	color: #fff;
}
.tag-status-workorder-warranty_needs_submitting {
	background: #2859B9;
	color: #fff;
}
.tag-status-workorder-warranty_has_been_submitted {
	background: #2859B9;
	color: #fff;
}
.tag-status-workorder-UPS_delivery {
	background: #2859B9;
	color: #fff;
}
.tag-status-workorder-repair_completed {
	background: #23AD4E;
	color: #fff;
}
.tag-status-workorder-ready_for_billing {
	background: #279C2C;
	color: #fff;
}
.tag-status-workorder-billed {
	background: #10700B;
	color: #fff;
}
.tag-status-workorder-parts_to_be_ordered {
	background: #10700B;
	color: #fff;
}
.tag-status-workorder-billed_out_for_delivery {
	background: #10700B;
	color: #fff;
}
.tag-status-workorder-waiting_for_pickup {
	background: #10700B;
	color: #fff;
}
.tag-status-workorder-used_equipment_ready_for_sale {
	background: #10700B;
	color: #fff;
}
.tag-status-workorder-rental_not_ready {
	background: #E2FF00;
	color: #000;
}
.tag-status-workorder-rental_ready {
	background: #10700B;
	color: #fff;
}
.tag-status-workorder-closed_waiting_for_delivery {
	background: #3D7D39;
	color: #fff;
}
.tag-status-workorder-closed {
  background: #3D7D39;
  color: #FFF;
}
.tag-status-workorder-cancelled {
	background: #505050;
	color: #fff;
}
.tag-status-workorder-used_equip_not_ready {
	background: #E2FF00;
	color: #000;
}


/* SCHEDULE CLASSES */
#schedule-container {
	max-width: 100%;
}

#schedule-needs-scheduling {
	max-height: 800px;
	overflow-y: auto;
	font-size: 0.9em;
}

.schedule-container-day {
	overflow-x: auto;
}

.schedule-table {
	width: 100%;
	table-layout: fixed;
	border: 1px solid #cdcccc;
	font-size: 0.9em;
}

.schedule-table th {
	background: #F2F2F2;
	text-align: center;
}

.schedule-table th, .schedule-table td {
	border-collapse: collapse;
	border: 1px solid #E0E0E0;
	box-sizing: border-box;
}

.schedule-table-header th {
	padding: 5px;
}

.schedule-table-today {
	background: #FAFFEE;
}
.schedule-table-month-day-muted {
	opacity: 0.4;
}
.schedule-table-month td {
	height: 150px;
	vertical-align: top;
}

.schedule-table-week-hour-column {
	width: 75px !important;
	color: #BBBBBB;
	font-size: 0.8em;
	font-weight: normal;
}
.schedule-table-week-row {
	height: 40px;
}
.schedule-table-week-halfhour {
	color: #B6B1B1;
	font-weight: normal;
}
.schedule-table-week td, .schedule-table-day td {
	vertical-align: top;
	position: relative;
}

.schedule-table-day td {
overflow-x: visible;
}

.schedule-table-day-minutes {
	color: #BBBBBB;
	font-size: 0.8em;
	font-weight: normal;
	text-align: left !important;
}
.schedule-table-day-users-header {
	width: 150px !important;
}
.schedule-table-day {
	width: 1500px !important;
}
.schedule-table-day-hour-blocks {
	width: 150px !important;
	overflow-y: visible;
}
.schedule-table-day-row {
	height: 20px;
}
.schedule-table-day-users-column {
	position: absolute;
	width: 150px;
	border-top: 0 !important;
	border-bottom: 0 !important;
	margin-left: -1px;
	padding-top: 30px !important;
	z-index: 1500;
}

.appointment-card {
	background: #fff;
	border: 1px solid #bbbbbb;
	box-shadow: 0px 0px 8px #C9C9C9;
	font-size: 0.9em;
	padding: 5px;
	box-sizing: border-box;
	z-index: 1000;
	overflow: hidden;
	transition: transform 0.5s ease-in-out;
	-webkit-transition: transform 0.5s ease-in-out;
}


.appointment-card:hover {
	z-index: 1500;
}

.appointment-card-time {
	font-size: 0.9em;
}

.schedule-table-day .appointment-card {
	position: absolute;
	min-width: 150px;
}

.schedule-table-week .appointment-card {
	position: absolute;
	width: 100%;
}

.appointment-card-jobtype-maintenance {
	border-left: 5px solid #AEB84B;
}
.appointment-card-jobtype-install {
	border-left: 5px solid #90D499;
}
.appointment-card-jobtype-service {
	border-left: 5px solid #C84040;
}
.appointment-card-jobtype-unclassified {
	border-left: 5px solid #7D7D7D;
}


#schedule-needs-scheduling .appointment-card {
	position: inherit !important;
	max-width: 100%;
	z-index: 1000;
}

#schedule-needs-scheduling .ui-resizable-e, #schedule-needs-scheduling .ui-resizable-s {
	display: none;
}

.ui-resizable-e {
	border: 2px dashed #c9c9c9;
	width: 10px;
}
.ui-resizable-s {
	border: 2px dashed #c9c9c9;
	height: 10px;
}

/* END SCHEDULE CLASSES */
