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

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

.tag-users-me {
	color: #F60404;
	border: 1px dashed #C94646;
	animation: animate-blinker 1s linear infinite;
}

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



/* 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 */
