
.calendar-picker {
  position: absolute;
  width: auto;
  height: auto;
  z-index: 1000;
  background: #FFF;
  border: 1px solid #505050;
  color: #505050 !important;
  box-shadow: 0 0 8px #505050;
}

.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-whatever-whatever {
	background: #BD0000;
	color: #fff;
}

.panel-color .panel-title .btn {
	box-shadow: 0px 0px 4px #505050;
}

.tag-jobtype-standard {
	background: #C0E0FA;
	color: #505050;
}
.tag-jobtype-same_day {
	background: #FFBDBD;
	color: #505050;
}
.tag-jobtype-before_or_after_hours {
	background: #FCFFBA;
	color: #505050;
}
.tag-jobtype-holiday {
	background: #FFDC9F;
	color: #505050;
}
.tag-jobtype-date_and_time_specific {
	background: #C8ADFF;
	color: #505050;
}

.tag-status-workorder-to_be_scheduled {
	background: #B56A06;
	color: #fff;
}
.tag-status-workorder-scheduled {
	background: #CDCB03;
	color: #fff;
}
.tag-status-workorder-out_for_pickup {
	background: #03B5CD;
	color: #fff;
}
.tag-status-workorder-in_transit {
	background: #0354CD;
	color: #fff;
}
.tag-status-workorder-out_for_delivery {
	background: #99CD03;
	color: #fff;
}
.tag-status-workorder-delivered {
	background: #01AD1C;
	color: #fff;
}
.tag-status-workorder-pod_available {
	background: #026E13;
	color: #fff;
}
.tag-status-workorder-rescheduled {
	background: #CD0334;
	color: #fff;
}
.tag-status-workorder-returned {
	background: #6E03CD;
	color: #fff;
}
.tag-status-workorder-on_hold {
	background: #A13406;
	color: #fff;
}
.tag-status-workorder-cancelled,.tag-status-workorder-aborted,.tag-status-workorder-attempt_-_closed {
	background: #505050;
	color: #fff;
}
.tag-status-workorder-invoiced {
	background: #92E9D4;
	color: #505050;
}

.tag-status-invoice-not_paid {
	background: #CD0334;
	color: #fff;
}
.tag-status-invoice-partially_paid {
	background: #CD7603;
	color: #fff;
}
.tag-status-invoice-paid {
	background: #01AD1C;
	color: #fff;
}


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

	#barcode-signature canvas, #barcode-signature  video {
	    max-width: 100%;
			width: 100%;
		}

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

	.btn {margin: 1px;}




/* 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%;
}

#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;
}

.appointment-card-jobtype-inspection {
	border-left: 5px solid #FAFFBB;
}
.appointment-card-jobtype-chimney_cleaning_open_fireplace {
	border-left: 5px solid #DAFFDF;
}
.appointment-card-jobtype-chimney_cleaning_insert {
	border-left: 5px solid #A9F1B2;
}
.appointment-card-jobtype-chimney_cleaning_stove {
	border-left: 5px solid #6CD579;
}
.appointment-card-jobtype-chimney_cleaning_insert_with_liner {
	border-left: 5px solid #39A346;
}
.appointment-card-jobtype-gas_service {
	border-left: 5px solid #C70101;
}
.appointment-card-jobtype-installation {
	border-left: 5px solid #0084E4;
}
.appointment-card-jobtype-service_call {
	border-left: 5px solid #FED3EE;
}
.appointment-card-jobtype-return {
	border-left: 5px solid #724ABA;
}
.appointment-card-jobtype-water_leak_repair {
	border-left: 5px solid #AEE5FC;
}

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

/* END SCHEDULE CLASSES */
