.text-purple {
	color: #7A54B8;
}
.text-pink {
	color: #DB63C0;
}

.panel-purple>.panel-heading {
	background: #7a54b8;
}
.panel-pink>.panel-heading {
	background: #db63c0;
}

.overlapping-appt{
	/* border:2px dashed #980000 !important; */
	background-color:#980000 !important;
	color:#fff !important;
}


.tag {
	display: inline-block;
	padding: 5px;
	border-radius: 5px;
	font-size: 0.8em;
	font-weight: bold;
	margin: 1px;
}

.ganttitem {
	height: 25px;
	max-height: 25px;
	overflow: hidden;
	position: relative;
	display: inline-block;
	font-weight:bold;
	color:#fff;
	border:1px solid black;
	width:100%;
	padding:5px;
}

.ganttitem:hover {
	height: auto;
	max-height: 100px;
	overflow: auto;
	color: #FFF;
}

.schedule-timeoff-card {
	font-size: 0.8em;
	background: #FFF1F1;
	border: 1px solid #E99D9D;
	margin: 2px;
	border-left: 4px dashed #FF7300;
	padding: 2px;
	font-weight: normal;
	display: block;
	width: 100%;
}

.tag-users {
	background: #F2F2F2;
	color: #707070;
}

.tag-users-crew_leader {
	background: #741750;
	color: #ffffff;
}

.tag-users-crew_leader a {
	color: #ffffff;
}

.tag-jobtype-PM {
	background: #AEB84B;
	color: #FFF;
}
.tag-jobtype-approved_work {
	background: #76ACEC;
	color: #FFF;
}
.tag-jobtype-inspection {
	background: #9C75DB;
	color: #FFF;
}
.tag-jobtype-recall {
	background: #DFB87D;
	color: #FFF;
}
.tag-jobtype-lead_check {
	background: #90D499;
	color: #FFF;
}
.tag-jobtype-install {
	background: #68B9BE;
	color: #FFF;
}
.tag-jobtype-ER_service {
	background: #BD0000;
	color: #fff;
	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-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-invoice-warranty {
	background: #02860B;
	color: #fff;
}

.tag-status-po-pending {
	background: #D99E05;
	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-workorder-new {
	background: #D99E05;
	color: #fff;
}
.tag-status-workorder-scheduled {
	background: #0079BD;
	color: #fff;
}
.tag-status-workorder-on_site {
	background: #05BFD9;
	color: #fff;
}
.tag-status-workorder-programming_needed {
	background: #AA0404;
	color: #fff;
}
.tag-status-workorder-parts_needed {
	background: #B16C05;
	color: #fff;
}
.tag-status-workorder-parts_ordered {
	background: #E64848;
	color: #fff;
}
.tag-status-workorder-parts_received {
	background: #501385;
	color: #fff;
}
.tag-status-workorder-return_trip_needed {
	background: #de8704;
	color: #fff;
}
.tag-status-workorder-complete_-_needs_invoicing {
	background: #557300;
	color: #fff;
}
.tag-status-workorder-completed_-_previously_invoiced {
	background: #02860B;
	color: #fff;
}
.tag-status-workorder-invoiced {
	background: #02860B;
	color: #fff;
}
.tag-status-workorder-invoiced_-_warranty {
	background: #02860B;
	color: #fff;
}
.tag-status-workorder-cancelled {
	background: #505050;
	color: #fff;
}
.tag-status-workorder-from_old_system {
	background: #37B09A;
	color: #FFF;
}
.tag-status-suggestions-open {
	background: #02860B;
	color: #fff;
}
.tag-status-suggestions-closed {
	background: #880303;
	color: #fff;
}
.tag-status-timeoff-approved {
	background: #02860B;
	color: #fff;
}
.tag-status-timeoff-pending {
	background: #880303;
	color: #fff;
}
.tag-status-wotask-completed {
	background: #02860B;
	color: #fff;
}
.tag-status-wotask-open {
	background: #D99E05;
	color: #fff;
}
.tag-status-equipment-deleted {
	background: #880303;
	color: #fff;
}
.tag-status-equipment-active {
	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-day td {
	vertical-align: top;
	position: relative;
  height: 50px;
}
.schedule-table-week td {
	height: 40px;
	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: 75px !important;
	overflow-y: visible;
}
.schedule-table-day-row {
	height: 20px;
}
.schedule-table-day-users-column {
	position: absolute;
	width: 150px;
  height: 50px;
	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-task {
	border-left: 5px solid #505050;
	background: #EFF8FF;
}

.appointment-card-jobtype-PM {
	border-left: 5px solid #DFE697;
}
.appointment-card-jobtype-approved_work {
	border-left: 5px solid #76ACEC;
}
.appointment-card-jobtype-inspection {
	border-left: 5px solid #9C75DB;
}
.appointment-card-jobtype-recall {
	border-left: 5px solid #DFB87D;
}
.appointment-card-jobtype-lead_check {
	border-left: 5px solid #90D499;
}
.appointment-card-jobtype-install {
	border-left: 5px solid #68B9BE;
}
.appointment-card-jobtype-ER_service {
	border-left: 5px solid #BD0000;
}

.appointment-card:hover {
	z-index: 1500;
}

.appointment-card-time {
	font-size: 0.9em;
}

.schedule-table-day .appointment-card {
	position: absolute;
	min-width: 75px;
  max-height: 50px;
}

.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;
}

.ui-resizable-e {
	border: 2px dashed #c9c9c9;
	width: 10px;
}
.ui-resizable-s {
	border: 2px dashed #c9c9c9;
	height: 10px;
}

/* END SCHEDULE CLASSES */

.map-marker-label{
	background-color:#ffffff;
	width: auto;
	text-align: center;
	font-size: 1em;
	border-radius: 20px;
	border-top-left-radius: 0;
	box-shadow: 0px 0px 8px dimgray;
	padding: 7px;
	background: #ffffff;
	color: #505050;
}

.map-marker-label-equipment {
	border: 2px solid #5205B3;
}

.barcode-scanner canvas, .barcode-scanner  video {
    max-width: 100%;
		width: 100%;
	}

canvas.drawing, canvas.drawingBuffer {
    position: absolute;
    left: 0;
    top: 0;
}

.schedule-list {
  width: 99%;
  display: grid;
  grid-template-columns: repeat(1,1fr);
  border: 1px solid #F4F4F4;
  max-width: 99%;
  margin-bottom: 40px;
}

.schedule-list-header{
  background: #F4F4F4;
  text-align: center;
  font-size: 1.1em;
  font-weight: bold;
  display: grid;
  justify-content: center;
  align-content: center;
  z-index: 900;
  padding: 20px;
}
.schedule-list .schedule-item {
  max-width: 24%;
}

@media screen and (max-width: 1025px){
  .schedule-list .schedule-item {
    max-width: 49% !important;
  }
}

@media screen and (max-width: 700px){
  .schedule-list .schedule-item {
    max-width: 100% !important;
  }
}
