.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;
	background: #ffffff;
	color: #505050;
	transition: transform linear 0.75s, box-shadow linear 0.75s;
}

.map-marker-label-repair {
	border: 3px solid #F3FF7C;
}

.map-marker-label-parts_install {
	border: 3px solid #FFC77C;
}

.map-marker-label-install {
	border: 3px solid #78F6FA;
}

.map-marker-label-PM {
	border: 3px solid #FF6EE8;
}

.map-marker-label-service_call {
	border: 3px solid #77FE70;
}

.map-marker-label-selected {
	box-shadow: 2px 2px 8px dimgray;
	background: #DAF9FE;
	transform: scale(1.1);
}

.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-service {
	background: #F3FF7C;
	color: #505050;
}

.tag-jobtype-installation {
	background: #FFC77C;
	color: #505050;
}

.tag-jobtype-deInstall {
	background: #FF0000;
	color: #505050;
}

.tag-jobtype-warranty {
	background: #78F6FA;
	color: #505050;
}

.tag-jobtype-PM {
	background: #FF6EE8;
	color: #505050;
}

.tag-jobtype-FIRE {
	background: #D95D5D;
	color: #FFF;
}

.tag-jobtype-customer_force {
	background: #AC9DE0;
	color: #505050;
}

.tag-jobtype-lock_service {
	background: #9bd79b;
	color: #505050;
}

.tag-jobtype-bank_force {
	background: #57b3e4;
	color: #505050;
}


.tag-priority-low {
	background: #212aff;
	color: #fff;
}

.tag-priority-normal {
	background: #04d700;
	color: #fff;
}

.tag-priority-high {
	background: #e3ee00;
	color: #fff;
}

.tag-priority-urgent {
	background: #ff0000;
	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-po-pending {
	background: #6100ff;
	color: #fff;
}

.tag-status-po-open {
	background: #ff7300;
	color: #fff;
}

.tag-status-po-closed {
	background: #00BD02;
	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-service_request-open {
	background: #BD0000;
	color: #FFF;
}

.tag-status-service_request-closed {
	background: #02860B;
	color: #FFF;
}

.tag-status-workorder-new {
	background: #D99E05;
	color: #fff;
}

.tag-status-workorder-scheduled {
	background: #07A65E;
	color: #fff;
}

.tag-status-workorder-en_route {
	background: #B9B728;
	color: #fff;
}

.tag-status-workorder-on_site {
	background: #03A7BE;
	color: #fff;
}

.tag-status-workorder-return_trip_needed {
	background: #8C0505;
	color: #fff;
}

.tag-status-workorder-parts_Return_trip_needed {
	background: #8C0505;
	color: #fff;
}

.tag-status-workorder-proposal_needed {
	background: #0375BE;
	color: #FFF;
}

.tag-status-workorder-parts_needed {
	background: #AC7509;
	color: #fff;
}

.tag-status-workorder-parts_ordered {
	background: #CD8D0D;
	color: #fff;
}

.tag-status-workorder-parts_received {
	background: #DBC08A;
	color: #fff;
}

.tag-status-workorder-complete {
	background: #501385;
	color: #fff;
}

.tag-status-workorder-invoiced {
	background: #02860B;
	color: #fff;
}

.tag-status-workorder-cancelled {
	background: #505050;
	color: #fff;
}

.tag-status-servicerequest-pending {
	background: #D99E05;
	color: #fff;
}

.tag-status-servicerequest-converted {
	background: #02860B;
	color: #fff;
}

.tag-status-servicerequest-cancelled {
	background: #0079BD;
	color: #fff;
}

.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-deInstall {
	border-left: 5px solid #FF0000;
}

.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 */