:root {
	--color-main: #333333;
	--color-main-text: #ececec;
	
	--color-accent: #3c92ef;
	--color-accent-text: #ececec;
	
	--color-blue: 60, 146, 239;
	--color-teal: 0, 128, 128;
	--color-green: 39, 168, 14;
	--color-yellow: 255, 165, 0;
	--color-red: 239, 60, 75;
	
	--color-status-open: var(--color-blue);
	--color-status-feedback: var(--color-yellow);
	--color-status-canceled: var(--color-red);
	--color-status-closed: var(--color-green);
}

.bjorklundsgrus-tasks input[type=checkbox] {
	position:absolute; z-index:-1000; left:-1000px; overflow: hidden; clip: rect(0 0 0 0); height:1px; width:1px; margin:-1px; padding:0; border:0;
}

.bjorklundsgrus-tasks input[type=checkbox] + label {
	position: relative;
	font-size: 16px;
	padding-left: 35px;
/* 	height:30px; */
	display: inline-block;
/* 	line-height:30px; */
	background-repeat: no-repeat;
	background-position: 0 0;
	vertical-align: middle;
	cursor: pointer;
	
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.bjorklundsgrus-tasks input[type=checkbox] + label::before {
	content: 'check';
	position: absolute;
    top: 0px;
    left: 0px;
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 18px;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga';
    color: transparent;
    font-weight: bold;
    border: 1px solid #cdcdcd;
}

.bjorklundsgrus-tasks input[type=checkbox]:checked + label::before {
	color: #099cec;
}

.bjorklundsgrus-tasks > div {
	display: block;
}

.dashboard .news-panel p {
	font-size: 15px;
	background: white;
	padding: 20px;
	padding-top: 10px;
}

.dashboard .news-panel h2 {
	font-size: 18px;
	background: white;
	padding: 20px;
	padding-bottom: 10px;
	font-weight: bold;
}

.latestmaintenance .status span,
a.mvcbutton.warning {
	--color1: #474747;
	--color2: #474747;
	animation: mvcbutton-warning 1s 0s linear infinite alternate;
}

.latestmaintenance .status-SOON span,
a.mvcbutton.warning-soon {
	--color2: #ffa600;
}

.latestmaintenance .status-OVERDUE span,
a.mvcbutton.warning-overdue {
	--color2: #ff3d00;
}

.latestmaintenance .status-INCOMPLETE span,
a.mvcbutton.warning-incomplete {
	--color1: magenta;
}

/* Standard syntax */
@keyframes mvcbutton-warning {
  from {color: var(--color1);}
  to {color: var(--color2);}
}

/*Dashboard*/

.latestmaintenance span.header,
.latestmaintenance span.footer {
	font-weight: bold;
}

/*VehicleList*/
.VehicleList .warning-soon div {
  animation-name: mvcbutton-warning-soon;
  animation-duration: 1s;
  animation-iteration-count: infinite;
}

.VehicleList .warning-overdue div {
  animation-name: mvcbutton-warning-overdue;
  animation-duration: 1s;
  animation-iteration-count: infinite;
}

/*VehicleView*/

.fuel-report-list[data-bp-lt~="600"] [data-group="date-meter"] {
	flex-direction: column;
	width: 100px;
}

#VehicleMaintenanceList [data-property="meter"] {font-weight: bold;}

#VehicleMaintenanceList[data-bp-lt~="600"] [data-group="date-meter"] {
	flex-direction: column;
	width: 100px;
}
#VehicleMaintenanceList[data-bp-lt~="600"] [data-group="typeOfMaintenance.name-comment"] {
	flex-direction: column;
	width: 200px;
}

#VehicleRemindersList [data-property="reminder.typeOfMaintenance.name"] {width: 200px;}
#VehicleRemindersList [data-property="type"] {flex: 1; min-width: 150px;}
#VehicleRemindersList [data-property="status"] {width: 100px;}


#VehicleMaintenanceList .body [data-property="typeOfMaintenance.name"]::before {
	content: 'check';
    font-family: 'Material Icons';
    font-style: normal;
    font-size: 18px;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga';
    color: transparent;
    font-weight: bold;
    vertical-align: middle;
    padding-right: 5px;
}

#VehicleMaintenanceList .body .completed [data-property="typeOfMaintenance.name"]::before {
	color: #099cec;
}


/*CrusherListView*/
.CrusherList .warning-soon div {
  animation-name: mvcbutton-warning-soon;
  animation-duration: 1s;
  animation-iteration-count: infinite;
}

.CrusherList .warning-overdue div {
  animation-name: mvcbutton-warning-overdue;
  animation-duration: 1s;
  animation-iteration-count: infinite;
}

/* #CrusherListViewList [data-property="name"] {width: 200px;} */
/* #CrusherListViewList [data-group="sections-locations"] {width: 300px;} */
/* #CrusherListViewList [data-property="sections"] {flex: 1;} */
/* #CrusherListViewList [data-property="locations"] {flex: 1;} */
/* #CrusherListViewList [data-property="productionTypes"] {flex: 1; min-width: 200px;} */

/*CrusherView*/

#CrusherReportsList [data-property="date"] {width: 100px;}
#CrusherReportsList [data-property="hours"] {width: 75px;}
#CrusherReportsList [data-property="sections"] {width: 100px;}
#CrusherReportsList [data-property="location"] {width: 100px;}
#CrusherReportsList [data-property="amount"] {width: 50px;}
#CrusherReportsList [data-property="amountPreSieve"] {width: 50px;}
#CrusherReportsList [data-property="productionTypes"] {flex: 1; min-width: 150px;}
#CrusherReportsList [data-property="sampleStatus"] {width: 75px;}
#CrusherReportsList [data-property="signature"] {width: 100px;}
.crusher-report-list [data-property="sampleStatus"] {
	font-weight: bold;
}
.crusher-report-list .GOOD [data-property="sampleStatus"] {
	color: #73d216;
}
.crusher-report-list .BAD [data-property="sampleStatus"] {
	color: red;
}
.production-samples-alert {
	color: red;
}

#CrusherMaintenanceList .body [data-property="typeOfMaintenance.name"]::before {
	content: 'check';
    font-family: 'Material Icons';
    font-style: normal;
    font-size: 18px;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga';
    color: transparent;
    font-weight: bold;
    vertical-align: middle;
    padding-right: 5px;
}

#CrusherMaintenanceList .body .completed [data-property="typeOfMaintenance.name"]::before {
	color: #099cec;
}

#CrusherRemindersList [data-property="reminder.typeOfMaintenance.name"] {width: 200px;}
#CrusherRemindersList [data-property="type"] {flex: 1; min-width: 150px;}
#CrusherRemindersList [data-property="status"] {width: 100px;}

#RoadReportList .invoiced [data-property="invoiceBasis.number"]{
	border-right: 8px solid #00AF54;
	color: #00AF54;
}


.WorkorderList [data-property=priority],
.WorkorderList .finished [data-property=finished] {
	font-weight: 600;
	color: rgb(var(--color));
	border-left: 1px solid rgba(var(--color), 0.2);
	border-right: 1px solid rgba(var(--color), 0.2);
	background: rgba(var(--color), 0.1);
}

.WorkorderList .priority-3 [data-property=priority] {--color: var(--color-blue);}
.WorkorderList .priority-2 [data-property=priority] {--color: var(--color-green);}
.WorkorderList .priority-1 [data-property=priority] {--color: var(--color-red);}

.WorkorderList .finished [data-property=finished] {--color: var(--color-green);}



