@import url('https://fonts.googleapis.com/css2?family=Liu+Jian+Mao+Cao&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
	--color-primary: #ffa500;
	--color-primary-dark: #d68b00;
	--color-primary-light: #ffd07a; /* # */
	--color-black: #070707;
	--color-white: #ffffff;
	--color-grey: #999999;
	--color-border: #4d4d4d;
	--color-border-light: #d9d9d9;
	--color-fade: rgba(7,7,7,0.4);
	--color-info: #1d82a4;
	
	--color-navicon-bg: #384454;
	--color-navicon-fg: #ffffff;

	--color-navicon2-bg: #ffa600;
	--color-navicon2-fg: #000000;
		
	--color-navcontentheader-bg: #806940;
	--color-navcontentheader-fg: #ffffff;
	
	--color-green: #4dd600;
	
	/* */

	/* https: //www.astrouxds.com/patterns/status-system/ */
	--color-statuslight-off: #eeeff1;
	--color-statuslight-standby: #e0f8ff;
	--color-statuslight-normal: #ebffe0;
	--color-statuslight-caution: #fffbe1;
	--color-statuslight-serious: #fff2e0;
	--color-statuslight-critical: #ffe0e0;

	--color-status-off: #7b8089;
	--color-status-standby: #64d9ff;
	--color-status-normal: #00e200;
	--color-status-caution: #fad800;
	--color-status-serious: #ffaf3d;
	--color-status-critical: #ff2a04;

	--color-statusdark-off: #a4abb6;
	--color-statusdark-standby: #2dccff;
	--color-statusdark-normal: #56f000;
	--color-statusdark-caution: #fce83a;
	--color-statusdark-serious: #ffb302;
	--color-statusdark-critical: #ff3838;

	--border-radius: 5px;

	--textsize-large: 18px;
	--textsize-normal: 14px;
	--textsize-small: 11px;
	--textsize-xsmall: 8px;

	--shadow-light: 0px 0px 20px 5px rgba(7,7,7,0.2)

	--color-status-stat: #ff2a04;
	--color-statuslight-stat: #ffe0e0;

	--color-status-asap: #fad800;
	--color-statuslight-asap: #fffbe1;

	--color-status-hold: #eeeff1;
	--color-statuslight-hold: #7b8089;

	--color-status-cancel: #eeeff1;
	--color-statuslight-cancel: #7b8089;
	
	--color-status-enroute: repeating-linear-gradient(
		45deg,
		#ccf3ff,
		#ccf3ff 10px,
		#e0f8ff 10px,
		#e0f8ff 20px
	);
	--color-statuslight-enroute: repeating-linear-gradient(
		45deg,
		#ccf3ff,
		#ccf3ff 10px,
		#e0f8ff 10px,
		#e0f8ff 20px
	);

	--color-status-onsite: #ccf3ff;
	--color-statuslight-onsite: #ccf3ff;
}

* {
	box-sizing: border-box;
	margin: 0px;
	padding: 0px;
	border-spacing: 0px;
	border-margin: 0px;
	line-height: normal;
	font-family: inherit;
	font-size: inherit;
	color: var(--color-black);
	color: inherit;
	cursor: inherit;
	outline-width: 0;
	outline: none;
	z-index: revert-layer;
}

html, body {
	font-size: var(--textsize-normal);
	font-family: "Open Sans", sans-serif;
}

html {
	box-sizing: border-box;
}

body {
	margin: 0px;
	width: 100vw;
	height: 100vh;
	background: #fff;
	user-select: none;
	overflow-x: hidden;
}

table {
	border-collapse: collapse;
	margin: 0px;
	padding: 0px;
}

td {
	margin: 0px;
	padding: 0px;
}

.fa-info-circle {
	color: var(--color-info) !important;
}

/* */

.m0 {margin: 0px;}
.m5 {margin: 5px;}
.m10 {margin: 10px;}
.m20 {margin: 20px;}

.mt0 {margin-top: 0px;}
.mb0 {margin-bottom: 0px;}
.mr0 {margin-right: 0px;}
.ml0 {margin-left: 0px;}

.mt5 {margin-top: 5px;}
.mb5 {margin-bottom: 5px;}
.mr5 {margin-right: 5px;}
.ml5 {margin-left: 5px;}

.mt10 {margin-top: 10px;}
.mb10 {margin-bottom: 10px;}
.mr10 {margin-right: 10px;}
.ml10 {margin-left: 10px;}

.mt20 {margin-top: 20px;}
.mb20 {margin-bottom: 20px;}
.mr20 {margin-right: 20px;}
.ml20 {margin-left: 20px;}

.mt50 {margin-top: 50px;}
.mb50 {margin-bottom: 50px;}
.mr50 {margin-right: 50px;}
.ml50 {margin-left: 50px;}

/* */

.p0 {padding: 0px;}
.p5 {padding: 5px;}
.p10 {padding: 10px;}
.p20 {padding: 20px;}

.pt0 {padding-top: 0px;}
.pb0 {padding-bottom: 0px;}
.pr0 {padding-right: 0px;}
.pl0 {padding-left: 0px;}

.pt5 {padding-top: 5px;}
.pb5 {padding-bottom: 5px;}
.pr5 {padding-right: 5px;}
.pl5 {padding-left: 5px;}

.pt10 {padding-top: 10px;}
.pb10 {padding-bottom: 10px;}
.pr10 {padding-right: 10px;}
.pl10 {padding-left: 10px;}

.pt15 {padding-top: 15px;}
.pb15 {padding-bottom: 15px;}
.pr15 {padding-right: 15px;}
.pl15 {padding-left: 15px;}

.pt20 {padding-top: 20px;}
.pb20 {padding-bottom: 20px;}
.pr20 {padding-right: 20px;}
.pl20 {padding-left: 20px;}

.pt50 {padding-top: 50px;}
.pb50 {padding-bottom: 50px;}
.pr50 {padding-right: 50px;}
.pl50 {padding-left: 50px;}

/* */

.txtch, .txtc {text-align: center;}
.txtcv {content-align: center;}
.txtal, .txtl {text-align: left;}
.txtar, .txtr {text-align: right;}
.txtb {font-weight: bold;}
.txtss, .txts {font-size: var(--textsize-small);}
.txtsl {font-size: var(--textsize-large);}

.txtsign {
	font-family: "Liu Jian Mao Cao", serif;
	font-weight: 400;
	font-style: normal;
}

/* */

.w100 {width: 100%;}
.h100 {height: 100%;}

.border {
	border: 1px solid var(--color-border);
	border-radius: var(--border-radius);
}

.border.bl {
	border-top: none;
	border-bottom: none;
	border-right: none;
	border-radius: 0px;
}

.border.br {
	border-top: none;
	border-bottom: none;
	border-left: none;
	border-radius: 0px;
}

.border.bt {
	border-bottom: none;
	border-left: none;
	border-right: none;
	border-radius: 0px;
}

.border.bb {
	border-top: none;
	border-left: none;
	border-right: none;
	border-radius: 0px;
}

/* */

.clicky {cursor: pointer;}

.drophover {
	border: 1px dashed var(--color-border) !important;
	background: radial-gradient(circle, rgba(255,255,255,1) 15%, rgba(100,217,255,0.5) 100%) !important;
}

/* */

.flex {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: normal;
	align-items: normal;
	align-content: normal;
}

.flex.sb {
	justify-content: space-between;
}

.flex.ch {
	justify-content: center;
}

.flex.cv {
	align-items: center;
}

.flexsb {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: normal;
	align-content: normal;
}

.flexsbc {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	align-content: normal;
}

.flex.stack {
	flex-direction: column;
}

.flex.grow1 {
}

.flex.grow2 {
}

.flex.grow3 {
}

.flex.grow1 > div:nth-child(1) {
	flex-grow: 1;
	flex-basis: 100%;
	overflow: hidden;
}

.flex.grow2 > div:nth-child(2) {
	flex-grow: 1;
	flex-basis: 100%;
	overflow: hidden;
}

.flex.grow3 > div:nth-child(3) {
	flex-grow: 1;
	flex-basis: 100%;
	overflow: hidden;
}

/* */

.modal {	
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100vw;
	height: 100vh;
	display: flex;
	background-color: var(--color-fade);
	z-index: 500;
	color: var(--color-black);
}

.modal > div {
	margin: auto;
	border: 2px solid var(--color-white);
	border-radius: var(--border-radius);
	background-color: var(--color-white);
	min-width: 400px;
	max-height: 100vh;
	box-shadow: 0px 0px 60px 5px rgba(7,7,7,0.6);
}

.modal > div > div:nth-child(1) {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	align-content: normal;
	background: var(--color-primary);
	color: var(--color-white);
	font-weight: bold;
	padding: 5px 15px 5px 15px;
	border-top-left-radius: var(--border-radius);
	border-top-right-radius: var(--border-radius);
}

.modal > div > div:nth-child(2) {
	padding: 15px;
}

.modal > div > div:nth-child(3) {
	text-align: right;	
	padding: 0px 15px 15px 15px;
}

.modal .button {
}

/* */

.modalOops > div > div:nth-child(1) {
	color: var(--color-black);
	background: var(--color-status-serious);
}

.modalOops .button {
	color: var(--color-black);
	background: var(--color-status-serious);
}

/* */

.modalWait {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100vw;
	height: 100vh;
	display: flex;
	background-color: var(--color-fade);
	z-index: 500;
	color: var(--color-black);
}

.modalWait > div {
	margin: auto;
	border: 2px solid var(--color-white);
	border-radius: var(--border-radius);
	background-color: var(--color-white);
	box-shadow: 0px 0px 60px 5px rgba(7,7,7,0.6);
}

.modalWait > div > div {
	padding: 20px;
}

/* */

.mousepop {
	display: inline-block;
	position: relative;
}

.mousepop > i {
	color: var(--color-info);
	cursor: pointer;
}

.mousepop .pop, .mousepop .popinfo {
	display:none;
}

.mousepop:hover .pop {
	display:inline-block;
}

.mousepop:hover .popinfo {
	display: inline-block;
    position: absolute;
	text-wrap: nowrap;
    padding: 5px;
    background-color: var(--color-input-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);	
    font-weight: normal;
    top: 50%;
    left: 50%;
    z-index: 100;
}

/* */

.itemList {
    width: 700px;
    height: 300px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    overflow-y: scroll;
}

.itemList > div {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: flex-start;
	align-content: normal;
	border-bottom: 1px solid var(--color-border-light);
}

.itemList > div:hover:not(.header) {
	cursor: pointer;
	border-radius: var(--border-radius);
	background-color: rgba(108,207,246,0.25) !important;
	color: var(--color-black) !important;
}

.itemList .header {
	background-color: var(--color-primary);
	position: sticky;
	top: 0;
	z-index: +1;	
}

.itemList > div > div {
	padding: 8px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* */

@media only screen and (max-device-width: 950px) {
	.modal > div {
		width:90%;
		min-width: 90%;
		max-width: 90%;
	}
	
	.modal > div > div:nth-child(1) {
		padding: 5px 8px 5px 8px;
	}
	
	.modal > div > div:nth-child(2) {
		padding: 8px;
	}
}

/* */
/* Google Maps Fix */

.gm-style-iw-chr {
	height: 30px;
}

.gm-style-iw-chr > button > span {
	width: 12px !important;
	height: 12px !important;
	margin: 20px !important;
}