.message_to {
	margin-top: 5px;
	text-align: left;
	font-size: 0.85em;
}

.message_from {
	margin-top: 5px;
	text-align: right;
	font-size: 0.85em;
}

.message_message {
	padding: 10px;
	text-align: left;
}

.message_to .message_message {
	margin-right: 20px;
	background: #03bbf5;
	color: #FFF;
}

.message_from .message_message {
	margin-left: 20px;
	background: #f4f5f2;
	color: #505050;
}

.highlightMe {
	background-color: #fff1b8 !important;
}

.lineitems-choose,
.category-choose {
	width: 32%;
	box-sizing: border-box;
	color: #505050;
	display: inline-block;
	text-align: center;
	padding: 5px;
	margin: 2px 0;
}


.lineitems-choose-category {
	background: #b4ede4;
	border: 1px solid #A8D4A8;
}

.lineitems-choose-item {
	background: #EBFFEB;
	border: 1px solid #A8D4A8;
}


.lineitems-choose-back {
	background: #F4F4F4;
	border: 1px solid #CDCDCD;
}

.lineitems-chosen {
	background: #FDFFD2 !important;
	border: 1px dashed #B7BE3C !important;
}

.tag {
	display: inline-block;
	padding: 5px;
	border-radius: 5px;
	font-size: 0.8em;
	font-weight: bold;
	margin: 1px;
}

.tag-default {
	background: #F2F2F2;
	color: #707070;
}

.tag-users {
	background: #F2F2F2;
	color: #707070;
}

@keyframes animate-blinker {
	0% {
		opacity: 1;
	}

	10% {
		opacity: 1;
	}

	50% {
		opacity: 0.5;
	}

	90% {
		opacity: 1;
	}

	100% {
		opacity: 1;
	}
}

.icon-lifetimeservice {
	color: #FEFB00;
	filter: drop-shadow(0 0 1px #383737);
	animation: animate-blinker 2s linear infinite;
}

.tag-users-me {
	color: #F60404;
	border: 1px dashed #C94646;
	animation: animate-blinker 1s linear infinite;
}

.tag-status-tasks-complete {
	background: #02860B;
	color: #fff;
}

.tag-status-tasks-open {
	background: #D99E05;
	color: #fff;
}

.tag-status-po-closed {
	background: #02860B;
	color: #fff;
}

.tag-status-po-open {
	background: #D99E05;
	color: #fff;
}

.tag-status-po-cancelled {
	background: #505050;
	color: #fff;
}

.tag-status-lead-active {
	background: #9C5D00;
	color: #fff;
}

.tag-status-lead-converted {
	background: #009D14;
	color: #fff;
}

.tag-status-lead-lost {
	background: #BD0000;
	color: #fff;
}

.tag-status-invoice-not_paid {
	background: #BD0000;
	color: #fff;
}

.tag-status-invoice-partially_paid {
	background: #D4AB00;
	color: #fff;
}

.tag-status-invoice-paid {
	background: #0DB605;
	color: #fff;
}

.tag-status-invoice-cancelled {
	background: #707070;
	color: #fff;
}

.tag-status-estimate-pending {
	background: #FAFFBB;
	color: #707070;
}

.tag-status-estimate-sent {
	background: #039CE7;
	color: #fff;
}

.tag-status-estimate-accepted {
	background: #89C493;
	color: #fff;
}

.tag-status-estimate-converted {
	background: #11BF2F;
	color: #fff;
}

.tag-status-estimate-rejected {
	background: #C94646;
	color: #fff;
}

.tag-status-estimate-closed {
	background: #707070;
	color: #fff;
}

.tag-status-workorder-needs_scheduling {
	background: #E3AA00;
	color: #fff;
}

.tag-status-workorder-scheduled {
	background: #F6FF8B;
	color: #535353;
}

.tag-status-workorder-en_route {
	background: #9AE1FF;
	color: #535353;
}

.tag-status-workorder-on_site {
	background: #0A87FA;
	color: #fff;
}

.tag-status-workorder-work_completed {
	background: #00A329;
	color: #fff;
}

.tag-status-workorder-invoiced {
	background: #98FAB1;
	color: #535353;
}

.tag-status-workorder-cancelled {
	background: #535353;
	color: #fff;
}

.tag-status-workorder-needs_estimate {
	background: #E2A621;
	color: #FFF;
}

.tag-status-workorder-follow_up_on_estimate {
	background: #E2A621;
	color: #FFF;
}

.tag-status-workorder-needs_inspection_report {
	background: #E2A621;
	color: #FFF;
}

.tag-status-workorder-needs_photos_uploaded {
	background: #E2A621;
	color: #FFF;
}

.tag-status-workorder-needs_to_be_ordered {
	background: #E2A621;
	color: #FFF;
}

.tag-status-workorder-ordered {
	background: #B4892A;
	color: #FFF;
}

.tag-status-workorder-order_arrived {
	background: #87610C;
	color: #FFF;
}

.tag-status-workorder-waiting_on_parts {
	background: #625029;
	color: #FFF;
}

.tag-status-workorder-order_complete {
	background: #5D670E;
	color: #FFF;
}

.tag-status-workorder-need_to_return_to_remove_forms {
	background: #07666C;
	color: #FFF;
}

.tag-status-appointment-LVM_text_or_emailed {
	background: #FFF857;
	color: #000;
}

.tag-status-appointment-called_no_answer__no_VM__wrong_number__did_not_return_call {
	background: #EE9039;
	color: #000;
}

.tag-status-appointment-covid {
	background: #050505;
	color: #fff;
}

.tag-status-appointment-reminded {
	background: #FEFFD9;
	color: #000;
}

.tag-status-appointment-confirmed {
	background: #1EB100;
	color: #fff;
}

.tag-status-appointment-_ {
	background: #F2F2F2;
	color: #707070;
}

.tag-jobtype-contractor {
	background: #c3fff0;
	color: #707070;
}

.tag-jobtype-pick_up {
	background: #00b285;
	color: #ffffff;
}

.tag-jobtype-walkthrough {
	background: #ffc3c7;
	color: #707070;
}

.tag-jobtype-deliver {
	background: #feeeff;
	color: #707070;
}

.tag-jobtype-inspection {
	background: #FAFFBB;
	color: #707070;
}

.tag-jobtype-inspection {
	background: #FAFFBB;
	color: #707070;
}

.tag-jobtype-chimney_cleaning_open_fireplace {
	background: #DAFFDF;
	color: #707070;
}

.tag-jobtype-chimney_cleaning_insert {
	background: #A9F1B2;
	color: #707070;
}

.tag-jobtype-chimney_cleaning_stove {
	background: #6CD579;
	color: #FFF;
}

.tag-jobtype-chimney_cleaning_insert_with_liner {
	background: #39A346;
	color: #FFF;
}

.tag-jobtype-gas_service {
	background: #C70101;
	color: #fff;
}

.tag-jobtype-installation {
	background: #0084E4;
	color: #fff;
}

.tag-jobtype-service_call {
	background: #FED3EE;
	color: #707070;
}

.tag-jobtype-return {
	background: #724ABA;
	color: #fff;
}

.tag-jobtype-water_leak_repair {
	background: #AEE5FC;
	color: #707070;
}

.tag-jobtype-repair {
	background: #2A637A;
	color: #fff;
}

.tag-jobtype-dryer_vent_cleaning {
	background: #412500;
	color: #fff;
}

.tag-jobtype-warehouse {
	background: #FFD700;
	color: #707070;
}

/* 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-month .appointment-card {
	margin: 0px 5px;
}

.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-note {
	background: #CBEEF2;
	border-left: 5px solid #0182CB;
}

.appointment-card-task {
	background: #c8ffd0;
}

.appointment-card-task-open {
	border-left: 5px solid #fd4f4f;
}

.appointment-card-task-closed {
	border-left: 5px solid #00692f;
}

.appointment-card-LVM_text_or_emailed {
	background: #FFF857;
	color: #000;
}

.appointment-card-called_no_answer__no_VM__wrong_number__did_not_return_call {
	background: #EE9039;
	color: #000;
}

.appointment-card-covid {
	background: #050505;
	color: #fff;
}

.appointment-card-reminded {
	background: #FEFFD9;
	color: #000;
}

.appointment-card-confirmed {
	background: #1EB100;
	color: #fff;
}

.appointment-card-LVM_text_or_emailed a {
	color: #000;
}

.appointment-card-called_no_answer__no_VM__wrong_number__did_not_return_call a {
	color: #000;
}

.appointment-card-covid a {
	color: #fff;
}

.appointment-card-reminded a {
	color: #000;
}

.appointment-card-confirmed a {
	color: #fff;
}

.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;
}

.appointment-card-jobtype-warehouse {
	border-left: 5px solid #FFD700;
}

.ui-resizable-e {
	border: 2px dashed #c9c9c9;
	width: 10px;
}

.ui-resizable-s {
	border: 2px dashed #c9c9c9;
	height: 10px;
}

/* END SCHEDULE CLASSES */