/* Old-school, early-2000s portal look */
body {
  margin: 0;
  background: #d4d0c8;
  font-family: Verdana, Tahoma, Arial, sans-serif;
  font-size: 12px;
  color: #000;
}
a { color: #0000cc; }
a:visited { color: #551a8b; }
a:hover { color: #cc0000; }

.page { background: #fff; border-bottom: 2px solid #808080; }

.banner {
  background: #000080;
  background: linear-gradient(to right, #000080, #1084d0);
  color: #fff;
  padding: 10px 14px;
  border-bottom: 2px solid #000;
}
.logo { font-family: Georgia, "Times New Roman", serif; font-size: 26px; font-weight: bold; letter-spacing: 1px; }
.tag { font-size: 11px; margin-left: 12px; color: #ffff99; }

.menubar {
  background: #ece9d8;
  border-bottom: 1px solid #808080;
  padding: 4px 10px;
  font-size: 11px;
}
#browserNote { float: right; color: #555; }

.sidebar {
  width: 300px;
  background: #ece9d8;
  border-right: 1px solid #808080;
  padding: 8px;
}
.content { padding: 10px; }

fieldset {
  border: 2px groove #c0c0c0;
  margin: 0 0 8px 0;
  padding: 4px 8px 8px 8px;
  background: #f5f4ee;
}
legend { font-weight: bold; color: #000080; padding: 0 4px; }
.form td { padding: 2px 2px; vertical-align: middle; }
.small { font-size: 10px; margin-top: 4px; }
label { white-space: nowrap; }
input[type=text], input[type=number], input[type=date], select {
  font-family: Verdana, Arial, sans-serif;
  font-size: 11px;
  border: 2px inset #c0c0c0;
  background: #fff;
  padding: 1px 2px;
}
input[type=submit], input[type=reset], input[type=button] {
  font-family: Verdana, Arial, sans-serif;
  font-size: 12px;
  background: #d4d0c8;
  border: 2px outset #fff;
  padding: 3px 10px;
  cursor: pointer;
}
input[type=submit]:active, input[type=button]:active { border-style: inset; }
input[disabled] { color: #888; cursor: default; }
.buttons { text-align: center; margin-top: 6px; }

.site-row { padding: 1px 0; }
.site-row .meth { font-size: 10px; color: #666; margin-left: 20px; display: block; }
.site-row.nobrowser label { color: #777; }

.box { border: 1px solid #808080; margin-bottom: 12px; background: #fff; }
.boxtitle {
  background: #c0c0c0;
  border-bottom: 1px solid #808080;
  padding: 4px 8px;
  font-weight: bold;
}
.boxtitle .right { float: right; font-weight: normal; margin-top: -2px; }
.message { padding: 16px; color: #333; }
.message.err { color: #cc0000; font-weight: bold; }
.blink { animation: blink 1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }

table.grid { border-collapse: collapse; }
.grid th {
  background: #000080;
  color: #fff;
  text-align: left;
  padding: 4px 6px;
  border: 1px solid #000;
  font-size: 11px;
  cursor: pointer;
  white-space: nowrap;
}
.grid th:hover { background: #1084d0; }
.grid th.asc::after { content: " \25B2"; }
.grid th.desc::after { content: " \25BC"; }
.grid td {
  border: 1px solid #c0c0c0;
  padding: 4px 6px;
  vertical-align: top;
  font-size: 11px;
}
.grid tbody tr:nth-child(even) td { background: #f0f0f8; }
.grid tbody tr:hover td { background: #ffffcc; }
.grid td.title a { font-weight: bold; }
.grid td .desc { color: #555; font-size: 10px; margin-top: 2px; }
.ok { color: #008000; font-weight: bold; }
.bad { color: #cc0000; font-weight: bold; }
.warn { color: #996600; font-size: 10px; }
.yes { color: #008000; font-weight: bold; }
.no { color: #999; }
.unk { color: #999; font-style: italic; }
.badge {
  display: inline-block; border: 1px solid #808080; background: #ece9d8;
  padding: 0 3px; font-size: 9px; margin: 1px 1px 0 0;
}
.footer {
  background: #ece9d8;
  border-top: 1px solid #808080;
  text-align: center;
  font-size: 10px;
  color: #555;
  padding: 6px;
}

/* ---- v2: pick lists, progress bars, log ---- */
.datebox { margin: 4px 0 2px 0; }
.count { font-weight: normal; color: #cc0000; font-size: 10px; }
input.find { width: 96%; margin-bottom: 3px; }
.picklist {
  height: 130px; overflow-y: auto; background: #fff;
  border: 2px inset #c0c0c0; padding: 2px 4px; font-size: 11px;
}
.picklist .grp { font-weight: bold; color: #000080; background: #ece9d8; margin: 3px -4px 1px -4px; padding: 1px 4px; }
.picklist label { display: block; white-space: nowrap; }
.picklist label.on { background: #ffffcc; }

.overall { padding: 6px 8px; }
.overall .bar { height: 18px; }
#siteTable td { vertical-align: middle; }
.bar { position: relative; overflow: hidden; height: 14px; border: 1px solid #808080; background: #fff; box-shadow: inset 1px 1px 0 #c0c0c0; }
.bar .fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #000080;
  background-image: repeating-linear-gradient(90deg, #6f9bd8 0 8px, #a9c4ea 8px 10px); transition: width .4s; }
.bar .fill.done { background: #7cc47c; background-image: repeating-linear-gradient(90deg, #7cc47c 0 8px, #a8dca8 8px 10px); }
.bar .fill.error { background: #f08080; background-image: none; }
.bar .fill.cached { background: #808080; background-image: repeating-linear-gradient(90deg, #b0b0b0 0 8px, #d0d0d0 8px 10px); }
.bar .fill.busy { width: 35% !important; animation: slide 1.2s linear infinite; }
@keyframes slide { from { left: -35%; } to { left: 100%; } }
.bar .txt { position: absolute; left: 0; right: 0; top: 0; text-align: center; font-size: 9px; line-height: 14px;
  color: #000; font-weight: bold; white-space: nowrap; overflow: hidden; }
.stage { font-size: 10px; color: #555; margin-top: 2px; max-width: 210px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.num { text-align: right; font-family: "Courier New", monospace; }
.short { color: #cc0000; font-weight: bold; }
.reasons { font-size: 10px; color: #444; }

.logview {
  display: block; width: 100%; box-sizing: border-box;
  margin: 0; height: 220px; overflow: auto; background: #000; color: #c0c0c0;
  font-family: "Lucida Console", "Courier New", monospace; font-size: 11px; padding: 4px 6px;
  white-space: pre-wrap; word-break: break-all;
}
.logview .WARNING { color: #ffff55; }
.logview .ERROR, .logview .CRITICAL { color: #ff5555; }
.logview .site { color: #55ffff; }
.logview .t { color: #808080; }

.grid tr.dropped td { color: #888; background: #f4f4f4 !important; }
.grid tr.dropped td a { color: #777; }
.dropcol { display: none; }
.showdrop .dropcol { display: table-cell; }

/* ---- v3: grouped site list, types ---- */
.sitelist { max-height: 340px; overflow-y: auto; border: 2px inset #c0c0c0; background: #fff; padding: 2px 4px; }
.sitegrp { font-weight: bold; color: #000080; background: #ece9d8; margin: 4px -4px 2px -4px; padding: 1px 4px; font-size: 11px; }
.sitegrp a { font-weight: normal; font-size: 10px; float: right; }
.kind { display: inline-block; border: 1px solid #808080; padding: 0 3px; font-size: 9px; background: #fff; white-space: nowrap; }
.kind-hackathon { background: #ffffcc; } .kind-competition { background: #e0f0ff; } .kind-contest { background: #e8e8ff; }
.kind-bounty { background: #e6ffe6; } .kind-workshop { background: #fff0e0; } .kind-conference { background: #f4e6ff; }
.kind-program { background: #ffe6ee; } .kind-event { background: #f0f0f0; }
#kindList label { display: block; }
