.map-marker-label {
	width: auto;
	text-align: center;
	font-size: 1em;
	padding: 0px;
	border-radius: 20px;
	border-top-left-radius: 0;
	box-shadow: 0px 0px 8px dimgray;
	padding: 7px;
}

.map-marker-label-user {
	background: #0079BD;
	color: #fff;
}

.map-marker-label-workorder {
	background: #f4f4f4;
	color: #505050;
	border: 1px solid #505050;
}

@keyframes animate-marker-urgent {
	0% {
		background: #f4f4f4
	}

	50% {
		background: #FFE2E2
	}

	100% {
		background: #f4f4f4
	}
}


.map-marker-label-workorder-urgent {
	animation: animate-marker-urgent 2s linear infinite;
	border: 1px solid #800000;
}


.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-jobtype-maintenance {
	background: #AEB84B;
	color: #FFF;
}

.tag-jobtype-install {
	background: #90D499;
	color: #FFF;
}

.tag-jobtype-service {
	background: #C84040;
	color: #fff;
}

.tag-jobtype-unclassified {
	background: #7D7D7D;
	color: #fff;
}

.urgent {
	animation: animation-blink 1s linear infinite;
}



.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-invoice-review {
	background: #5E00BD;
	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-po-open {
	background: #D99E05;
	color: #fff;
}

.tag-status-po-closed {
	background: #02860B;
	color: #fff;
}

.tag-status-workorder-new {
	background: #D99E05;
	color: #fff;
}

.tag-status-workorder-scheduled {
	background: #035685;
	color: #fff;
}

.tag-status-workorder-en_route {
	background: #0079BD;
	color: #fff;
}

.tag-status-workorder-on_site {
	background: #05BFD9;
	color: #fff;
}

.tag-status-workorder-PO_NUM_NEEDED {
	background: #C26300;
	color: #fff;
}

.tag-status-workorder-OPEN_TICKET {
	background: #FF66CC;
	color: #000;
}

.tag-status-workorder-additional_work_needed {
	background: #AA0404;
	color: #fff;
}

.tag-status-workorder-quote_needed {
	background: #B16C05;
	color: #fff;
}

.tag-status-workorder-quote_sent {
	background: #E4DB63;
	color: #505050;
}

.tag-status-workorder-quote_accepted {
	background: #b7e463;
	color: #505050;
}

.tag-status-workorder-return_visit {
	background: #E64848;
	color: #fff;
}

.tag-status-workorder-complete {
	background: #501385;
	color: #fff;
}

.tag-status-workorder-complete_under_service_agreement {
	background: #501385;
	color: #fff;
}

.tag-status-workorder-completed_-_no_charge {
	background: #02860B;
	color: #fff;
}

.tag-status-workorder-ready_to_invoice {
	background: #557300;
	color: #fff;
}

.tag-status-workorder-invoiced {
	background: #02860B;
	color: #fff;
}

.tag-status-workorder-invoiced_-_emailed {
	background: #02860B;
	color: #fff;
	border: 1px solid #505050;
}

.tag-status-workorder-invoiced_-_mailed {
	background: #02860B;
	color: #fff;
	border: 1px dashed #505050;
}

.tag-status-workorder-cancelled {
	background: #505050;
	color: #fff;
}

.tag-status-workorder-sent_to_QB {
	background: #D0F5FF;
	color: #505050;
	border: 2px dashed #505050;
}

.tag-status-reminder-open {
	background: #B16C05;
	color: #fff;
}

.tag-status-reminder-closed {
	background: #557300;
	color: #fff;
}

.tag-status-reminder-converted {
	background: #02860B;
	color: #fff;
}


/* 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 */