html {
  --default-background: #f7f7f7;
  background-color: var(--default-background);
}

body {
  font-family: verdana;
  text-align: center;
  padding-bottom: 30px;
  min-width:425px;
  font-family: sans-serif;
}

a {
  text-decoration: none;
  color: #ff9933;
}

a:visited {
  color: #ffcc00;
}

a:hover {
  background: powderblue;
  border-radius: 5px;
  color: #ff0000;
}

a:active {
  background: #000;
  border-radius: 5px;
  color: #fff;
}

#statusbarsrc a {
  display: block;
  position: relative;
  width: 0%;
  box-sizing: border-box;
  margin-left: auto;
  border-radius: 0px;
  border-top: 7px solid #e00;
  border-bottom: 7px solid #e00;
  border-right: 6px solid #000;
  border-left: 6px solid #000;
  padding: 0 1px;
  transition: width 0.25s ease 0s;
}

#statusbarsrc a.yellow {
  border-top-color: #d59500;
  border-bottom-color: #d59500;
}

#statusbarsrc a.green {
  border-top-color: #0b0;
  border-bottom-color: #0b0;
}

#statusbarsrc a:hover {
  background: none;
  width: 100%;
}

#statusbarsrc a > div {
  width: 0%;
  overflow: hidden;
  margin: -0.6em 0 -1em 0;
  transition: width 0.25s ease 0s;
  white-space: nowrap;
  color: #fff;
}

#statusbarsrc a:hover > div {
  width: 100%;
}

#statusbarsrc a:active {
  background: none;
}

#statusbarsrc a::before {
  content: "";
  position: absolute;
  top: -7.1px;
  left: -3.2px;
  border-top: 5.3px solid #000;
  border-bottom: 5.3px solid #000;
  border-right: 4.2px solid rgba(0,0,0,0);
  border-left: 4.2px solid rgba(0,0,0,0);
  padding: 2px 0px;
}

#statusbarsrc a:hover::before {
  border: none;
}

#statusbarsrc > div > div::after {
  display: block;
  content: attr(title);
  height: 0;
  overflow: hidden;
  visibility: hidden;
  margin: 0px 7px;
}

#statusbarsrc > div > div {
  float: right;
}

#statusbarsrc .inprogress-title {
  font-weight: bold;
}

h1 {
  font-weight: lighter;
  text-align: center;
  font-size: 210%;
}
h1 > span:first-child {
  text-shadow: #ff335c 2px -2px 10px;
}
h1 > span {
  text-shadow: #0059b3 2px 2px 7px;
}

h2 {
  font-family: "Courier", monospace;
  text-align: left;
  color: #99a;
  text-decoration: underline;
  width: 90%;
}

.table {
  display: table;
  width: 100%;
  color: #6D6D6D;
  margin: auto;
}

.table a,
.table a:hover,
.table a:active,
.table a:visited {
  background: none;
  color: unset;
  border-radius: 0px;
}

.table > div {
  display: table-row;
}

.table > div > * {
  display: table-cell;
  padding: 2.5px;
  padding-right: 4.5px;
  padding-left: 4.5px;
  border-top: 1.5px solid rgba(255, 255, 255, 0);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0);
  border-right: 1px solid #ddd;
}

.table > div > div span,
.table > div > a span {
  color: #000;
  background: none;
}

.table > div > :first-child {
  border-left: 1.5px solid rgba(255, 255, 255, 0);
}

.table > div > :last-child {
  border-left: none;
  border-right: 1.5px solid rgba(255, 255, 255, 0);
  min-width: 90px;
}

.table > div:active > :last-child {
  border-left: none;
  border-right: 1.5px solid #66BAFF;
}

.table > div:active > :first-child {
  border-left: 1.5px solid #66BAFF;
}

.table > div:nth-child(even) {
  background: #ffe;
}

.table > div:nth-child(odd) {
  background: #eef;
}

.table > div:hover {
  background: #E5F3FF;
  text-decoration: underline;
}

.table > div:hover span,
.table > div:active span {
  text-decoration: underline;
}

.table > div:active {
  background: #CCE8FF;
  text-decoration: underline;
}

.table > div:last-child > * {
  border-bottom: none;
}

.table > div:active > * {
  border-top: 1.5px solid #66BAFF;
  border-bottom: 1.5px solid #66BAFF;
}

#masterCheck {
  position: relative;
  top: 0px;
  left: 0px;
  padding: 0px;
  margin: 0px;
}

#masterCheck > label {
  display: block;
  position: absolute;
  top: 0px;
  left: -21px;
  border: 2px solid #ccc;
  border-right: 2px solid var(--default-background);
  border-radius: 3px 0px 3px 3px;
  background-color: var(--default-background);
}

#output-example {
  background: #ddd;
  padding: 3px;
  border-radius: 2px;
  font-size: 80%;
}

.container {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  padding-left: 25px;
}

.element {
  min-height: 40px;
  padding: 20px;
  border-bottom: 3px double #bbb;
  border-right: 3px double #bbb;
}

.element.less-padding {
  padding-top: 10px;
  padding-bottom: 10px;
}

textarea {
  vertical-align: middle;
  overflow: auto;
  scrollbar-width: thin;
}

input[type=number] {
  width: 2.5em;
  margin-right: 0.2em;
}

.status,
.info {
  height: 16px;
  width: 16px;
  border: none;
  border-radius: 8px;
  position: relative;
  left: 0px;
  cursor: pointer;
}

.status {
  float:right;
  background-color: #fd0;
  top: 6px;
}

.status.warning::before {
  content: " ";
  position: absolute;
  display: block;
  width: 19px;
  height: 19px;
  top: -1.5px;
  left: -1.5px;
  background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAtOTYwIDk2MCA5NjAiIHdpZHRoPSIyNHB4IiBmaWxsPSIjZmYwMDAwIj48cGF0aCBkPSJNNDgwLTI4MHExNyAwIDI4LjUtMTEuNVQ1MjAtMzIwcTAtMTctMTEuNS0yOC41VDQ4MC0zNjBxLTE3IDAtMjguNSAxMS41VDQ0MC0zMjBxMCAxNyAxMS41IDI4LjVUNDgwLTI4MFptLTQwLTE2MGg4MHYtMjQwaC04MHYyNDBabTQwIDM2MHEtODMgMC0xNTYtMzEuNVQxOTctMTk3cS01NC01NC04NS41LTEyN1Q4MC00ODBxMC04MyAzMS41LTE1NlQxOTctNzYzcTU0LTU0IDEyNy04NS41VDQ4MC04ODBxODMgMCAxNTYgMzEuNVQ3NjMtNzYzcTU0IDU0IDg1LjUgMTI3VDg4MC00ODBxMCA4My0zMS41IDE1NlQ3NjMtMTk3cS01NCA1NC0xMjcgODUuNVQ0ODAtODBabTAtODBxMTM0IDAgMjI3LTkzdDkzLTIyN3EwLTEzNC05My0yMjd0LTIyNy05M3EtMTM0IDAtMjI3IDkzdC05MyAyMjdxMCAxMzQgOTMgMjI3dDIyNyA5M1ptMC0zMjBaIi8+PC9zdmc+Cg==) padding-box center/contain no-repeat, var(--default-background);
  animation: 1s ease-in-out 0s infinite alternate blink;
}

@keyframes blink {
  0%   {opacity: 1;}
  75%  {opacity: 1;}
  100% {opacity: 0;}
}

.info {
  display: inline-block;
  background-color: #0066cc;
  background-image: url("/resources/i.svg");
  top: -2px;
  vertical-align: middle;
}

#log,
#files {
  width: 50%;
  min-width: 400px;
  text-align: left;
}

#logsrc,
#statusbarsrc {
  margin: 0px;
}

#logsrc,
#statusbarcont > div {
  padding: 3px;
}

#logtext,
#filelist {
  width: 91%;
  height: 400px;
  border: 2px solid #ccc;
  border-radius: 3px;
}

#filelist {
  overflow: auto;
}

#logtext {
  display: flex;
  flex-direction: column;
}

#logscroll {
  overflow:auto;
  height: 100%;
}

#statusbarcont {
  margin-top: auto;
  word-wrap: normal;
  background: #000;
  display: none;
  max-height: 50%;
}

#statusbarcont > div {
  overflow: auto;
  height: 100%;
  box-sizing: border-box;
}

#statusbarsrc {
  color: #fff;
  font-family: 'Courier New', monospace;
  font-size: 80%;
}

#statusbarsrc .hr {
  margin: 2px 5px;
  border: none;
  border-top: 1px dashed #999;
}

div.modal {
  display: none;
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.4);
}

div.modal .modal-content {
  background-color: #eee;
  border: none;
  border-radius: 1rem;
  margin: calc(25lvh - 1.55rem) auto;
  width: min(80lvw, 60rem);
  overflow: hidden; /* moved to inline of #infoTarget */
}

div.modal .modal-content .modal-header .title {
  padding-left: 1rem;
  position: relative;
  left: 0px;
  bottom: -0.33rem;
  color: #fff;
  font-size: 200%;
}

div.modal .modal-content .modal-body  {
  padding: 1.5rem;
  max-height: calc(50lvh - 3.1rem);
  overflow-y: auto;
  overflow-x: hidden;
}

div.modal .modal-content .modal-header {
  background-color: #52cc00;
  position: relative;
  top: 0px;
  left: 0px;
  text-align: left;
  height: 3.2rem;
}

div.modal .modal-content .modal-header #modalClose {
  position: absolute;
  top: 0px;
  right: 0.66rem;
  font-weight: bold;
  font-size: 150%;
  color: #eee;
  cursor: pointer;
  background: none;
}

div.modal .modal-content .modal-header #modalClose:hover,
div.modal .modal-content .modal-header #modalClose:active {
  color: #000;
}

footer {
  color: #777;
  position: fixed;
  right: 0px;
  bottom: 0px;
  border-radius: 6px 0px 0px 0px;
  background: #fff;
  padding: 5px 15px;
  font-size: 80%;
}

footer a,
footer a:visited,
footer a:hover {
  color: #777;
  background: none;
}

footer a:hover {
  text-decoration: underline;
}

footer a:active {
  text-shadow: 1px 1px 2px #aaa;
}

.hint {
  color: #6D6D6D;
  text-align: center;
}

.table > div.hint {
  text-decoration: none;
  cursor: default;
  background-color: var(--default-background);
}

.table > div.hint > div {
  border: none;
}

.banner {
  position: absolute;
  top: 2.5em;
  left: -10.5em;
  padding: 1em 10em;
  padding-bottom: 1.1em;
  color: #fff;
  background-color: #06c;
  border: 0.5em solid #ff0;
  border-left: none;
  border-right: none;
  cursor: pointer;
  transform: rotate(-45deg);
  z-index: 1;
}
