@import url('styles_file_storage.css');

@media screen and (max-width: 991px) {
	body {
		font-size: 0.9em;
	}
}

.tooltip {
	z-index: 1000;
}

.highlight-yellow {
	background-color: #FAFF9A;
}

.highlight-red {
	background-color: #EE8A8A;
}

.highlight-green {
	background-color: #A6F599;
}

.btn-group-xxs>.btn,
.btn-xxs {
	padding: .1875rem .3rem;
	font-size: .75625rem;
	line-height: .375;
	border-radius: .15rem;
}

.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;
	background: #FEFFE9;
}

.map-marker-label-parts_install {
	border: 3px solid #FFC77C;
	background: #FFF9F0;
}

.map-marker-label-install_or_delivery {
	border: 3px solid #78F6FA;
	background: #E6FBFF;
}

.map-marker-label-pickup_or_dropoff {
	border: 3px solid #36DADF;
	background: #41D2ED;
}

.map-marker-label-extraction {
	border: 3px solid #36DADF;
	background: #7FE3B9;
}

.map-marker-label-PM {
	border: 3px solid #FF6EE8;
	background: #FFF2FF;
}

.map-marker-label-service_call {
	border: 3px solid #77FE70;
	background: #ECFFF1;
}

.map-marker-label-warranty_-_repair {
	border: 3px solid #E9CB5E;
	background: #FEFFE9;
}

.map-marker-label-warranty_-_parts_install {
	border: 3px solid #FFC77C;
	background: #FFF9F0;
}

.map-marker-label-warranty_-_install {
	border: 3px solid #78F6FA;
	background: #E6FBFF;
}

.map-marker-label-warranty_-_PM {
	border: 3px solid #FF6EE8;
	background: #FFF2FF;
}

.map-marker-label-warranty_-_service {
	border: 3px solid #77FE70;
	background: #ECFFF1;
}

.map-marker-label-selected {
	box-shadow: 2px 2px 8px dimgray;
	border: 4px dashed red;
	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-repair {
	background: #F3FF7C;
	color: #505050;
}

.tag-jobtype-parts_install {
	background: #FFC77C;
	color: #505050;
}

.tag-jobtype-install_or_delivery {
	background: #78F6FA;
	color: #505050;
}

.tag-jobtype-pickup_or_dropoff {
	background: #7FD3E3;
	color: #505050;
}

.tag-jobtype-extraction {
	background: #7FE3B9;
	color: #505050;
}

.tag-jobtype-PM {
	background: #FF6EE8;
	color: #505050;
}

.tag-jobtype-service_call {
	background: #5FDD58;
	color: #505050;
}

.tag-jobtype-warranty_-_repair {
	background: #D7E365;
	color: #505050;
	border: 2px solid #024604;
}

.tag-jobtype-warranty_-_parts_install {
	background: #DBA863;
	color: #505050;
	border: 2px solid #024604;
}

.tag-jobtype-warranty_-_install {
	background: #64DADE;
	color: #505050;
	border: 2px solid #024604;
}

.tag-jobtype-warranty_-_service_call {
	background: #5FDD58;
	color: #505050;
	border: 2px solid #024604;
}

.tag-jobtype-flooring {
	background: #61326B;
	color: #fff;
}

.urgent {
	animation: animation-blink 1s linear infinite;
}



.tag-status-estimate-pending {
	background: #D99E05;
	color: #fff;
}

.tag-status-estimate-pending_from_QB {
	background: #F4E07A;
	color: #fff;
}

.tag-status-estimate-sent {
	background: #0079BD;
	color: #fff;
}

.tag-status-estimate-awaiting_approval {
	background: #40B3CC;
	color: #fff;
}

.tag-status-estimate-accepted {
	background: #00BD02;
	color: #fff;
}

.tag-status-estimate-converted {
	background: #02860B;
	color: #fff;
}

.tag-status-estimate-invoiced {
	background: #016B08;
	color: #fff;
}

.tag-status-estimate-rejected {
	background: #880303;
	color: #fff;
}

.tag-status-estimate-closed {
	background: #505050;
	color: #fff;
}


.tag-status-po-needs_attention {
	background: #880303;
	color: #fff;
}

.tag-status-po-closed {
	background: #02860B;
	color: #fff;
}

.tag-status-po-open {
	background: #D99E05;
	color: #fff;
}

/*use green for po "received" status*/
.tag-status-po-received {
	background: #02860B;
	color: #fff;
}

.tag-status-po-pending {
	background: #D94B05;
	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-invoice-pending {
	background: #006779;
	color: #fff;
}

.tag-status-invoice-Awaiting_Parts {
	background: #AF9675;
	color: #fff;
}

.tag-status-invoice-Parts_Arrived_Scheduling {
	background: #8D6B95;
	color: #fff;
}

.tag-status-case-open {
	background: #BD0000;
	color: #FFF;
}

.tag-status-case-closed {
	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-pending {
	background: #D93205;
	color: #fff;
}

.tag-status-workorder-reschedule {
	background: #D76B4E;
	color: #fff;
}

.tag-status-workorder-ready_to_schedule {
	background: #56BF90;
	color: #fff;
}

.tag-status-workorder-scheduled {
	background: #07A65E;
	color: #fff;
}

.tag-status-workorder-high_importance {
	background: #B9B728;
	color: #fff;
}

.tag-status-workorder-on_site {
	background: #03A7BE;
	color: #fff;
}

.tag-status-workorder-parts_required {
	background: #D47D17;
	color: #fff;
}

.tag-status-workorder-parts_complete {
	background: #974CD1;
	color: #fff;
}

.tag-status-workorder-work_complete {
	background: #501385;
	color: #fff;
}

.tag-status-workorder-invoiced {
	background: #02860B;
	color: #fff;
}

.tag-status-workorder-cancelled {
	background: #8C0505;
	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;
}

.trdisabled {
	opacity: 0.7;
}


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

.appointment-card-jobtype-flooring {
	border-left: 5px solid #61326B;
}


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