body, td {
	font-family: Helvetica, Arial, Sans-Serif;
	font-size: .9em;
}

table {
	background-color: #f4f4f4;
	border: 1px solid lightgrey;
	border-spacing: 10px 2px;
	font-size: 1.2em;
}

table#search {
	margin-left:auto; 
	margin-right:auto; 
	/*font-weight: bold; */
	text-align: center;
	padding: 10px;
	width: 100%;
	max-width: 680px;
}


a {
	color:blue;
	padding: 2px;
	display: inline-block;
	text-decoration: none;
}
a:visited {
	color:blue;
}
a:hover {
	color: red;
}

h3 {
	display: block;
	font-size:1.3em;
	margin-block-start: 0em;
	margin-block-end: 0em;
}

img {
 	max-width: 100%;
}

img.no-resize {
	max-width: none;
}

.even {
	background-color: #f4f4f4;
	font-size: 1.2em;
	font-weight: bold;
	padding: 10px;
}

.odd {
	background-color: white;
	font-size: 1.2em;
	font-weight: bold;
	padding: 10px;
}

.box {
	width: 800px;
	border: 1px solid lightgrey;
	padding : 1.5em;
	/* make A and Z boxes side by side */
	float: left;
}

.device {
	border: 1px solid lightgrey;
	padding-top: 0px;
	padding-left: 1.5em;
	padding-right: 1.5em;

}

.interfaces {
	font-size: 14px;
	color: #A2A2A2;
}

.rrdgreen {
	font-size: 14px;
	color: #84BB5C;
}

.rrdblue {
	font-size: 14px;
	color: #7394CB;
}

.alignleft {
	float: left;
}
.alignright {
	float: right;
}

div.searchresults {
	margin-left: 40px;
}

/* https://coder-coder.com/display-divs-side-by-side/ */
.box-container {
	/* border: 3px solid lightgrey; */
	padding: 5px;
}

p.error {
	margin-left: auto;
	margin-right: auto;
	font-weight: bold;
	background-color: #ffebee;
	border: 1px solid darkred;
	padding: 10px;
	text-align: center;
	width: 580px;
}

p.info {
	margin-left: auto;
	margin-right: auto;
	background-color: #f3f9f4;
	border: 1px solid #91c89c;
	padding: 10px;
	text-align: center;
}

pre {
	display: block;
	font-family: monospace;
	white-space: pre;
	margin-top: 0em;
	margin-right: 0px;
	margin-bottom: 0em;
	margin-left: 0px;
}

#diagramtransportindent {
	margin-left: 20px;

}
#diagramtransport {
	border-left: 2px black;
	margin-left: 7em;
	width: auto;
	border-left-style: solid;
	padding: 0.25em;
	clear: both;

}

.devicename {
	padding-top: 1em;
	padding-bottom: 1em;
}

.diagramdeviceend {
	border-left: 2px black;
	margin-left: 7em;
	width: auto;
	height: 1em;
	border-left-style: solid;
	float: left;
	clear: both;
}
.diagramdevicebox {
	padding-bottom: .2em;
	padding-left: 0;
	padding-right: 0;

	border: 2px solid black;
	text-align: center;
	width: 14em;
	float: left;
	clear: both;
}       

.diagramdeviceboxalert {
	padding-bottom: .2em;
	padding-left: 0;
	padding-right: 0;

	border: 3px dashed maroon;
	text-align: center;
	width: 14em;
	float: left;
	clear: both;
}       

.statusoktext {
	padding-top: .1em;
	padding-right: .2em;
	font-size: 1.2em;
	font-weight: bold;
	color:  #006600;
}

.statusalerttext {
	padding-top: .1em;
	padding-right: .2em;
	font-size: 1.2em;
	font-weight: bold;
	color: maroon;
}

.statusok {
	line-height: 1.5em;
	background-color: #d5f5e3;
}
.statusneutral {
	background-color: #ffffff;
}
.statusalert{
	line-height: 1.5em;
	background-color:  #fadbd8;
}
.diagramdeviceendlabel {
	padding: 0.25em;
	/* text-align: left; */
	text-align: left;
	width: 15em;
	float: left;
	clear: both;
}

.diagramdevicelabelright {									  
	padding-top: 1.5em;
	padding-bottom: 0.25em;
	padding-right: 1.5em;
	padding-left: 1em;
	width: 10em;
	clear: none;
	float: left;
}

.infohead {
	padding-bottom: 10px;
}

.searchresults {
	margin-left: auto;
	margin-right: auto;
	border-collapse: collapse;

}
.searchresults tbody tr:nth-child(even) {
	background-color: white;
}
.searchresults tbody tr:nth-child(odd) {
	background-color: #f4f4f4;
}
.searchresults td {
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 10px;
	padding-right: 10px;
}

.timechooser {
	display: inline;
}


/* https://www.w3schools.com/css/tryit.asp?filename=trycss_tooltip */
.tooltip {
	position: relative;
	display: inline-block;
}

.tooltip .tooltiptext {
	visibility: hidden;
	background-color:  #f0f0f0;
	/* color: black; */
	text-align: center;
	font-weight: bold;
	border-radius: 4px;
	padding: 5px;
	/* position it */
	position: absolute;
	left: 210px;
	bottom: 1px;
	z-index: 1;
}

.tooltip:hover .tooltiptext {
	visibility: visible;
}
