body {
	background-color: #f3f3f3;
	font-family: Arial,Helvetica,sans-serif;
	font-size: 16px;
}

h1, h2, h3, h4, h5, h6 { cursor:default; text-align:center; position: relative; }
button, input[type=submit] { cursor: pointer; }
button:hover, input[type=submit]:hover { color: #666; }


button,
input[type=button],
input[type=password],
input[type=submit],
input[type=text],
textarea
{
	background: #fff;
	border: 1px solid #999;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: 0 0 1px #999;
	-moz-box-shadow: 0 0 1px #999;
	box-shadow: 0 0 1px #999;
	margin: 1px;
	padding: 2px;
}
input:read-only {background: #eee;}
input:-moz-read-only {background: #eee;}
textarea:read-only {background: #eee;}
textarea:-moz-read-only {background: #eee;}

button,
input[type=button],
input[type=submit] { padding: 2px 5px; }


#frame {
	position: relative;
	margin: 0 auto;
	text-align: center;
}
#frame > div {
	background-color: #fff;
	margin:0 auto;
}

.err {
	color: red;
	font-weight: bold;
	margin: 5px;
	opacity: 1;
	-webkit-transition: opacity 2s 5s;
	-moz-transition: opacity 2s 5s;
	-ms-transition: opacity 2s 5s;
	-o-transition: opacity 2s 5s;
	transition: opacity 2s 5s;
}
.err:hover { opacity:1 !important; transition:opacity 0s; }

#search {
	display: inline-block;
	font-size: 75%;
	left: calc(50% + 264px);
	position: absolute;
	top: 0px;
	white-space: nowrap;
}
#search label { font-weight:normal; }
#search input {
	border: 1px solid #999;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-ms-border-radius: 4px;
	-o-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: 0 0 1px #888;
	-moz-box-shadow: 0 0 1px #888;
	box-shadow: 0 0 1px #888;
	line-height: 17px;
	width: 150px;
}
#search a { margin-left:-46px; }
#search input:focus {
	-webkit-box-shadow: 0 0 5px #8be;
	-moz-box-shadow: 0 0 5px #8be;
	box-shadow: 0 0 5px #8be;
}
#search button { height:23px; }


#login {
	border: 2px ridge black;
	margin: 0 auto;
	overflow: auto;
	padding: 10px;
	text-align: center;
	width: 400px;
}
#login input[type=submit] {
	float: right;
	margin-right: 72px;
}
#login label {
	display: inline-block;
	width: 75px;
}
#login #newacct { margin-top:24px; }
#login #newacct a {
	text-decoration: none;
	font-size: 80%;
	color: #00f;
}

#login, #edit, #new { margin-top:32px !important; }
a.login button {
	background:linear-gradient(#fff3f3 20%, #fcc) !important;
	-webkit-box-shadow: 0 0 3px #f99 !important;
	-moz-box-shadow: 0 0 3px #f99 !important;
	box-shadow: 0 0 3px #f99 !important;
}
a.logoff button {
	background:linear-gradient(#fffbff 25%, #ffe8e8) !important;
	-webkit-box-shadow: 0 0 2px #fac !important;
	-moz-box-shadow: 0 0 2px #fac !important;
	box-shadow: 0 0 2px #fac !important;
}

#list, #edit, #new, #view {
	border: 2px ridge black;
	overflow: auto;
	padding: 10px;
	text-align: center;
}
#list, #edit { width:600px; }
#new { width:400px; }
#view {
	display: inline-block;
	position: relative;
}


#list a {
	color: blue;
	text-decoration: none;
}
#list a:hover {
	border-bottom: 1px dashed blue;
}
#list p { margin:0; }


#statbar h1,
#statbar h2,
#statbar h3,
#statbar h6 {
	border-top: 1px solid #666;
	border-bottom: 1px solid #666;
	border-right: 1px solid #999;
	display: inline-block;
	width: 5px;
	height: 5px;
	margin: 2px 0;
	padding: 0;
}
#statbar h1 {	// pass
	background-color: #090;
	background: linear-gradient(#090, #9f9, #090);
}
#statbar h2 {	// fail
	background-color: #fc0;
	background: linear-gradient(#980, #fc0, #ffd, #fc0, #980);
}
#statbar h3 {	// down
	background-color: #900;
	background: linear-gradient(#900, #c00, #f88, #c33, #900);
}
#statbar h6 {	// no info
	background-color: #ccc;
	background: linear-gradient(#999, #fff, #999);
}
#statbar h1:first-child,
#statbar h2:first-child,
#statbar h3:first-child,
#statbar h6:first-child { border-left: 1px solid #999; }

#statbar hr {
	background-color: #000;
	border: none;
	display: inline-block;
	height: 11px;
	width: 1px;
	margin: 0;
}

#edit #st, #edit #co {font-weight: bold;}
#edit .owners {margin:3px 32px; text-align:left;}
#edit .owners label {display:inline-block; width:72px;}
#edit .owners input {width:95px;}
#edit .owners label.info {
	display: inline-block;
	margin: 0 0.75em 0 0;
	position: relative;
	top: -4px;
	width: 100px;
}

#edit label.record {
	display: inline-block;
	width: 64px;
	text-align: right;
//	background-color: #ddd;
}
#edit .flags label {margin-right: 2em;}
#edit .flags label input[type=checkbox] {
	margin: 0;
	vertical-align: text-top;
}
#edit label.dnscrypt {
	display: inline-block;
	font-size: 90%;
	width: 110px;
	text-align: right;
}

#edit .adminnotes label {
	display: inline-block;
	font-size: 80%;
	margin-right: 8px;
	text-align: right;
	width: 85px;
}
#edit .adminnotes label.ts {color: #090;}
#edit .adminnotes label.ev {color: #999;}
#edit .adminnotes input {width: 372px;}

.cbx {
	list-style-type:none;
	margin:10px 0 0 0;
	padding:0;
	cursor: default;
}
#cc.cbx { position:absolute; margin:0; }
#tier.cbx { margin-top:8px; }
.cbx li {
	cursor:pointer;
	display: inline-block;
	font-size: 90%;
	width:65px;
	height:24px;
	margin: 0 5px;
	position:relative;
}
#cc.cbx li {
	font-size: 11px;
	line-height: 16px;;
	padding: 0;
	margin: 1px;
	width: 28px;
}
#tier.cbx li { margin:0 2px; width:50px; }
.cbx a { text-decoration:none; }
.cbx label, .cbx input {
	cursor:pointer;
	display:block;
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
}
.cbx input[type="radio"] {
	opacity:0.01;
	z-index:100;
}
.cbx input[type="radio"]:checked + label, .Checked + label {
	border: 1px inset #666;
	background: linear-gradient(#cce, #f0f0ff 50%);
	color: #333;
}
#cc.cbx input[type="radio"]:checked + label, #cc.Checked + label {
	background: linear-gradient(#cec, #f0fff0 65%);
}
.cbx label {
	background-color: #f8f8f8;
	background: linear-gradient(#fff 45%, #ddd);
	border: 1px outset #999;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: 0 0 1px #666;
	-moz-box-shadow: 0 0 1px #666;
	box-shadow: 0 0 1px #666;
	color:#bbb;
	z-index:90;
	padding:3px 5px;
}
.cbx li:hover input,
.cbx li:hover label,
.cbx label:hover,
.cbx input:hover {
	background:#fff;
	color: #000;
}

#view .l { float:left; }
#view .r { float:right; }
#view .fn button, #view ul.fn { margin:0; }

#view #ccg {
	margin: 0 auto;
	position: relative;
	min-width: 942px;
}

#view .info {
	font-style: italic;
	margin: 0 auto;
	text-align: left;
	width: calc(100% - 44px);
}
#view .info a {
	color: #00f;
	text-decoration: none;
}

#view #srvlist {
	display: table;
	margin: 24px auto 0;
}
#view #srvlist button {	cursor:default; font-size:66%; }
#view #srvlist div span i {
	display: inline-block;
	font-size: 24px;
	text-align: center;
	width: 22px;
}
#view #srvlist i i.fas {font-size: 70%;}
i.fa-rotate-30 {transform: rotate(30deg);}
i.fa-rotate-330 {transform: rotate(-30deg);}
#view #srvlist .fa-stack {
	background: unset;
	border: none;
	display: inline-block;
	height: 1em;
	line-height: 1em;
	margin-left: -0.15em;
	padding: 0;
	width: 0.75em;
}

#view p.th { border:none; }
#view p.th:hover {
	-webkit-box-shadow: none !important;
	-moz-box-shadow: none !important;
	box-shadow: none !important;
}
#view p.th span {
	border-style: solid none none;
	border-color: #ddd;
	border-width: 1px;
	-webkit-border-radius: 12px 12px 0 0;
	-moz-border-radius: 12px 12px 0 0;
	-ms-border-radius: 12px 12px 0 0;
	-o-border-radius: 12px 12px 0 0;
	border-radius: 12px 12px 0 0;
	font-size: 100% !important;
	font-weight: bold;
	height: 24px;
	background: linear-gradient(#eee, #fff 60%);
}
#view p.th span.sort {
	background: linear-gradient(#fec, #fff 60%);
	padding: 0 5px;
}
#view p.th label {
	font-size: 62.5%;
	font-style: italic;
	font-weight: normal;
	margin-top: -24px;
}
#view p.th span.sel a { color:#000; }
#view p.th span.sel a:hover { color:#da6; text-decoration:none; }
#view p.th button { visibility:hidden; }
#view p.th button.mine {
	background-color: #600;
	background: linear-gradient(#800 30%, #400);
	border: 1px solid #999;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: 0 0 1px #666;
	-moz-box-shadow: 0 0 1px #666;
	box-shadow: 0 0 1px #666;
	color: #fff;
	cursor: pointer;
	font-size: 66%;
	margin: 0;
	padding: 1px 3px;
	visibility: visible;
}
#view p.th button.all {
	background-color: #006;
	background: linear-gradient(#00c 30%, #006);
	color: #fff;
}

#view p { border:1px solid #666; display:table-row; }
#view p:hover {
	-webkit-box-shadow: 0 0 10px #888 inset;
	-moz-box-shadow: 0 0 10px #888 inset;
	box-shadow: 0 0 10px #888 inset;
}
#view p.mine {
	-webkit-box-shadow: 0 0 8px #0c0 inset;
	-moz-box-shadow: 0 0 8px #0c0 inset;
	box-shadow: 0 0 8px #0c0 inset;
}
#view p.mine:hover {
	-webkit-box-shadow: 0 0 8px #999 inset;
	-moz-box-shadow: 0 0 8px #999 inset;
	box-shadow: 0 0 8px #999 inset;
}
#view p.app { background-color:#fc0; }
#view p.new { background-color:#dff; }
#view p.updt { background-color:#efe; }
#view p.norm { background-color:#fff; }
#view p.fail { background-color:#ffb; }
#view p.dwn { background-color:#fca; }
#view p.off { background-color:#fdd; }
#view p.dis { background-color:#eee; color:#bbb; }
#view p.dis a { color:#bbb !important; }
#view p.rem {
	-webkit-box-shadow: 0 0 8px #c22 inset;
	-moz-box-shadow: 0 0 8px #c22 inset;
	box-shadow: 0 0 8px #c22 inset;
}
#view p.del { background-color:#c66; }

#view span {
	cursor: default;
	display: table-cell;
	border-top: 1px solid #ddd;
	border-left: 1px solid #ddd;
	height: 36px;
	padding: 2px 5px;
	position: relative;
	vertical-align: middle;
}
#view span:last-child { border-right:1px solid #ddd; }
#srvlist div:last-child span { border-bottom:1px solid #ddd; }
#view #srvlist div p span:first-child {
	margin: 0;
	padding: 0 0.5em;
	text-align: left;
}
#view button.bttn { min-width:230px; }
#view label.bttn {
	display: inline-block;
	min-width: 100px;
	padding-left: 10px;
	text-align:left;
}
//#view span.host { max-width:180px; overflow:hidden; text-overflow:ellipsis; }
#view span.host { min-width:200px; white-space:nowrap; overflow:hidden; }
#view span.host img { float:left; }
#view span.host a { color:black; }
#view span.mono { font-family:monospace; font-size:12px; }
#view span.ipv4 { min-width:90px; }
#view span.ipv6 {
	padding-left: 25px;
	text-indent: -20px;
	width: 135px;
}
#view span.ownr { min-width:70px; }
#view span.crtd { font-size:14px; }
#view span.stat { min-width:50px; padding-right:22px; }
#view span a {
	color: blue;
	text-decoration: none;
}
//#view span a:hover { text-decoration:underline; }
#view span a:hover { color:#08f; }

#view button {
	background-color: #f8f8f8;
	background: linear-gradient(#fff 45%, #ddd);
	border: 1px solid #999;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: 0 0 1px #666;
	-moz-box-shadow: 0 0 1px #666;
	box-shadow: 0 0 1px #666;
	cursor: pointer;
	font-size: 12px;
	margin: 8px 3px;
	padding: 3px 5px;
}
#view button.btn0 {
	border: 1px outset #999;
	color:#bbb;
}
#view button.btn1 {
	border: 1px inset #666;
	background: linear-gradient(#cce, #f0f0ff 50%);
	color: #333;
}


.mail {
	color: #600 !important;
	text-decoration: none;
}

.instr {
	color: #555;
	font-size: 80%;
	font-style: italic;
	margin: 0 auto;
	text-align: justify;
	width: 900px;
}

div.stats a { color:#000; }
div.stats a div { cursor:pointer !important; }
div.stats div {
	background-color: #f8f8f8;
	background: linear-gradient(#fff 25%, #ddd);
	border: 1px solid #ccf;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: 0 0 1px #88f;
	-moz-box-shadow: 0 0 1px #88f;
	box-shadow: 0 0 1px #88f;
	color: #000;
	cursor: default;
	display: inline-block;
	font-size: 10px;
	font-weight: normal;
	margin: 0px 2px;
	padding: 2px;
	vertical-align: middle;
}
div.stats div.mine {
	background-color: #006;
	background: linear-gradient(#00f 30%, #009);
	border: 1px solid #66f;
	color: #fff;
}

#edit label.info {
	color: #099;
	display: block;
	font-size: 70%;
	font-style: italic;
	margin: 0 80px 8px 0;
	text-align: right;
}
#edit label.il {
	display: inline-block !important;
	margin: 0;
}

#validate {
	display: none;
	position: absolute;
	width: 350px;
	height: 300px;
	background: #fff;
	border: 1px solid #000;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	-webkit-box-shadow: 5px 5px 25px #000;
	-moz-box-shadow: 5px 5px 25px #000;
	box-shadow: 5px 5px 25px #000;
	top: 100px;
	left: 30%;
	z-index: 1000;
}
#mask {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: #000;
	opacity: 0.25;
	z-index: 999;
}

.arrow-left {
  display: inline-block;
  float: right;
  width: 0; 
  height: 0; 
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent; 
  position: absolute;
  top: 0;
  right: 0;
}
.approve {border-right:20px solid #0c0;}
.new {border-right:20px solid #0df;}
.updated {border-right:20px solid #0fe;}
.pass {border-right:20px solid transparent;}
.failed {border-right:20px solid #fd0;}
.down {border-right:20px solid #f80;}
.offline {border-right:20px solid #f00;}
.disabled {border-right:20px solid #ccc;}
.remove {border-right:20px solid #600;}
.deleted {border-right:20px solid transparent;}

span.host em {
	display: block;
	font-size: 70%;
	max-width: 200px;
	white-space: pre-wrap;
}

.marquee {
  white-space:nowrap;
  overflow:hidden;
  height: 1.1em;
}
