.leftmargin {
	margin-left: 5px;
}

.alertdisabled * {
	pointer-events: none !important;
	opacity: 0.5 !important;
	cursor: not-allowed !important;
}

.alertswrapper {
	display: inline-block;
	position: relative;
}

#alertactive {
	display: inline-block;
	position: relative;
	top: -41px;
}

.graphjumpopt {
	position: absolute;
	display: inline-block;
	left: 90px;
	top: -8px;
}

.jumpmodal {
	position: absolute;
	background-color: white;
	border: 1px solid #ccc;
	padding: 15px;
	z-index: 31000;
	box-shadow: 0 4px 8px rgba(0,0,0,0.2);
	width: 300px;
}
.jumpmodal-header {
	font-weight: bold;
	margin-bottom: 10px;
}
.jumpmodal-content {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.jumpmodal-content label {
	margin-bottom: 5px;
}
.jumpmodal-content input, .jumpmodal-content select {
	width: 100%;
	padding: 5px;
}
.jumpmodal-buttons {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 10px;
}

.graphdivbutton {
	position: relative;
/*	left: 100px; */
/*	top: -25px; */
}


#picksidenotice {
	display: inline-block;
	position: absolute;
	top: 110px;
	left: 50px;
	width: 450px;
	background-color: rgba(200,200,200,0.8);
	border: 1px solid black;
	border-radius: 5px;
	padding: 20px;
	z-index: 20000;
}

.dock-indicator {
	position: absolute;
	background-color: rgba(0, 128, 255, 0.3);
	border: 2px dashed #0080ff;
	z-index: 26000;
	pointer-events: none;
	transition: all 0.2s ease;
}
.dock-indicator-active {
	background-color: rgba(0, 128, 255, 0.5);
	border: 2px solid #0080ff;
}
.movingwindow.docking {
	opacity: 0.7;
}

.topgraphoptions {
	height: 25px;
	width: 100%;
}

.gangdatesbtn {
	position: relative;
	display: inline-block;
	font-size: 14px;
	top: 2px;
	cursor: default;
	padding-left: 150px;
}
.gangdatesbtn img {
	width: 12px;
	padding-right: 4px;
}

.graphlocationopt {
	position: relative;
	display: inline-block;
	font-size: 10px;
	height: 100%;
	padding-left: 3px;
}
.graphlocationopt img {
	width: 12px;
	padding-right 4px;
}

.valformuladiv {
	position: relative;
	display: inline-block;
	font-size: 24px;
	margin-left: 10px;
}

.threshlistselect {
	font-size: 16px;
	max-width: 250px;
}

.editinfospan {
	display: block;
	font-size: 1.2em;
	margin-left: 5px;
	margin-top: 10px;
}

.editvalueinput {
	margin-left: 20px;
	font-size: 1.2em;
}

#editthreshcoverdiv {
	z-index: 31001;
}

#editthreshwindow {
	background-color: #ffffff;
	border-radius: 5px;
	border: 1px solid black;
	position: absolute;
	left: calc(50vw - 150px);
	top: calc(50vh - 120px);
	padding: 5px;
	box-shadow: 0 6px 8px rgba(0,0,0,0.25);
	min-width: 400px;
}

.headerbuttons {
	position: relative;
}

.threshcancelbutton {
	position: relative;
	left: 100px;
}

.graphreadoptions {
	background-color: #ffffff;
	border-radius: 5px;
	border: 1px solid black;
	position: absolute;
	left: calc(50vw - 150px);
	top: calc(50vh - 150px);
	padding: 5px;
}

@media screen and (max-width: 800px) {
	.graphreadoptions {
		left: 10px;
		top: 50px;
		max-width: 100vw;
	}
	#editthreshwindow {
		left: 10px;
		top: 50px;
		max-width: 100vw;
		min-width: unset;
		width: calc(100vw - 22px);
	}
	.threshcancelbutton {
		left: calc(50% - 100px);
	}
}

.graphreadoptionsheader {
}

.graphreadoptionscontent {
	
}

#threshlist {
	padding: 5px;
	font-size: 20px;
}

.grohspan {
	border-radius: 5px;
	font-size: 20px;
	background-color: #ffdddd;
	margin-right: 5px;
	padding-left: 4px;
	padding-right: 4px;
}

.grohbutton {
	position: relative;
	top: -2px;
}

.readoptsdiv {
	position:relative;
	left: -12px;
	top: -16px;
	width: 18px;
}

.graphdatadownload {
	position: relative;
	display: inline-block;
	margin-left: 25px;
}

.graphdatadlimage {
	background-color: rgba(255,255,255,1);
	width: 18px !important;
	padding-right: 4px;
	top: 2px;
	position: relative;
}

.graphdatadlimage:hover {
	background-color: rgba(200,200,200,1);
}

.waitfordatadiv {
	position: absolute;
	top: 0px;
	z-index: 50000;
	width: 100%;
	height: 100%;
	background-color: rgba(250,250,250,0.65);

}

.waitfordataimg {
	width: 60px;
	position: relative;
	margin: auto;
	top: calc(50% - 40px);
	left: calc(50% - 30px);
	animation: spin 2s linear infinite;
}

@keyframes spin {
	0% {transform: rotate(0deg); }
	100% {transform: rotate(360deg); }
}

.zoomoptsselect {
	font-size: 10px;
}

.zoomoptsspan {
	top: 1px !important;
}

.graphzoomoptionsdiv {
	position: absolute;
	top: 0px;
	left: calc(50% - 75px);
	display: inline-block;
}

.zoomoptsspan {
	margin-right: 5px;
}

.leftsideplotoptions {
	position: absolute;
	top: 50px;
	left: 6px;
	border: 1px solid #333;
}

.leftcolorpickdiv {
	position: relative;
	width: 15px;
	height: 15px;
	cursor: pointer;
	z-index: 50000;
}

.rightsideplotoptions {
	position: absolute;
	top: 50px;
	right: 5px;
	border: 1px solid #333;
}

.rightcolorpickdiv {
	position: relative;
	width: 15px;
	height: 15px;
	cursor: pointer;
	z-index: 50000;
}

.hushoption {
	color: rgba(0,0,0,0.5);
}

.graphbottom {
	position: absolute;
	height: 18px;
	width: 100%;
	font-size: 10px;
	bottom: 3px;
}

.sizelocked .resize-handle {
	cursor: not-allowed;
}

.locationlocked .movingwindowheader {
	cursor: not-allowed;
}

.graphbottom img {
	width: 12px;
}

.graphbottom span {
	position: relative;
	top: -2px;
	padding-left: 5px;
}


.graphsizeopt {
	position: relative;
	display: inline-block;
	height: 100%;
	left: calc(100% - 140px);
}

.graphleft {
	position: absolute;
	width: 220px;
	top: 285px;
	left: 5px;
	z-index: 5000;
	rotate: 270deg;
	transform-origin: top left;
	height: 20px;
}

.graphleft select {
	color: blue;
	width: 210px;
	position: relative;
	left: 7px;
}

.graphright {
	position: absolute;
	width: 220px;
	top: 285px;
	left: calc(100% - 24px);
	z-index: 5000;
	rotate: 270deg;
	transform-origin: top left;
	height: 20px;
}

.graphright select {
	color: red;
	width: 210px;
	position: relative;
	left: 7px;
}

.graphcontainerdiv {
	position: relative;
	height: 85%;
	width: 100%;
}

.resizewindowicon {
	position: absolute;
	display: inline-block;
	overflow: auto;
	left: calc(100% - 14px);
	top: calc(100% - 14px);
	width: 12px;
	height: 12px;
	cursor: nw-resize;
	background-image: url("../images/resizewindow.png");
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 12px 12px;
}

.movingwindow {
	position: absolute;
	top: calc(50% - 300px);
	left: calc(50% - 200px);
/*	transform: translate(-50%, -50%); */
}

.movingwindowheader {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 5px;
	background-color: #f0f0f0;
	cursor: move;
	position: relative;
	z-index: 51000;
}

.movingwindowtitle {
	font-weight: bold;
}

.movingwindowclose {
	border: none;
	background: none;
	font-weight: bold;
	cursor: pointer;
}

.sensorgraphcontainer {
	background: rgba(255,255,255,1);
	width: 600px;
	height: 400px;
	position: fixed;
	border-radius: 3px;
	padding: 3px;
	z-index: 25000;
/*	resize: both;
	overflow: auto; */
}

@media screen and (max-width: 800px) {
	.movingwindow {
		top: calc(50% - 250px);
	}
	.graphlocationopt {
		display: none;
	}
	.graphsizeopt {
		display: none;
	}
	.resize-handle {
		display: none;
	}
	.gangdatesbtn {
		display: none;
	}
}

