/* 7z Online — utility-site classic, a la 7-zip.org. */

body {
  margin: 0;
  background: #ffffff;
  color: #111;
  font:
    13px/1.5 Verdana,
    Geneva,
    Tahoma,
    sans-serif;
}

.page {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 12px 30px;
}

a {
  color: #0033cc;
}
a:visited {
  color: #551a8b;
}

.mono {
  font-family: 'Courier New', Courier, monospace;
}

/* header */

.header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0 10px;
}

.logo {
  display: inline-block;
  width: 44px;
  height: 44px;
  background: #000;
  color: #fff;
  font:
    bold 22px/44px Arial,
    sans-serif;
  text-align: center;
  flex-shrink: 0;
}

.header h1 {
  margin: 0;
  font:
    bold 24px Arial,
    Helvetica,
    sans-serif;
  color: #002b56;
}
.tagline {
  color: #666;
  font-size: 12px;
}

.navbar {
  background: #f0f0f0;
  border-top: 1px solid #c9c9c9;
  border-bottom: 1px solid #c9c9c9;
  padding: 4px 8px;
  font-size: 12px;
  color: #999;
}

.intro {
  margin: 14px 2px;
}

/* upload form */

fieldset {
  border: 1px solid #a5a5a5;
  padding: 12px 14px 10px;
  margin: 0 0 16px;
}
legend {
  font-weight: bold;
  padding: 0 6px;
}

input[type='file'] {
  font: inherit;
  max-width: 100%;
}

button {
  font: inherit;
  padding: 2px 18px;
  background: #ececec;
  border: 1px solid;
  border-color: #dcdcdc #6f6f6f #6f6f6f #dcdcdc;
  cursor: pointer;
  margin-left: 6px;
}

button:hover {
  background: #e0e0e0;
}
button:active {
  border-color: #6f6f6f #dcdcdc #dcdcdc #6f6f6f;
}
button[disabled] {
  color: #888;
  cursor: default;
}

.hint {
  color: #666;
  font-size: 11px;
  margin-top: 7px;
}

/* status / errors */

#status {
  margin: 12px 2px;
}
#status .working {
  color: #444;
}
#status .error {
  border: 1px solid #b40000;
  background: #fdf2f2;
  color: #8c0000;
  padding: 7px 10px;
}

/* result info */

.info-table {
  border-collapse: collapse;
  margin: 4px 0 12px;
  font-size: 12px;
}
.info-table td {
  padding: 1px 8px 1px 0;
}
.info-label {
  color: #666;
}

.pathbar {
  border: 1px solid #a5a5a5;
  border-bottom: 0;
  background: #f5f5f5;
  padding: 3px 8px;
  font-size: 12px;
  color: #444;
}

/* file-manager table */

table.fm {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #a5a5a5;
  font-size: 12px;
}

table.fm th {
  background: #ece9d8;
  border: 1px solid #c5c2b0;
  font-weight: normal;
  text-align: left;
  padding: 3px 8px;
}

table.fm td {
  padding: 3px 8px;
  border-bottom: 1px solid #eee;
}

table.fm tr:hover td {
  background: #e8f0fa;
}

.col-size,
td.num {
  text-align: right;
  white-space: nowrap;
  width: 90px;
}
.col-date,
td.date {
  white-space: nowrap;
  width: 130px;
}
.col-crc,
td.crc {
  white-space: nowrap;
  width: 84px;
  font-family: 'Courier New', monospace;
}

td.name {
  word-break: break-all;
}
tr.dir td.name {
  font-weight: bold;
}
tr.updir td.name a {
  text-decoration: none;
}
tr.dir td.name a {
  color: #111;
  text-decoration: none;
}
tr.dir td.name a:hover {
  text-decoration: underline;
}

.dim {
  color: #888;
}

.note {
  border: 1px solid #c9c9c9;
  border-top: 0;
  background: #fbf8e9;
  padding: 5px 8px;
  font-size: 12px;
  color: #555;
}

/* bottom */

h2 {
  font:
    bold 16px Arial,
    Helvetica,
    sans-serif;
  color: #002b56;
  margin: 26px 0 6px;
}
.formats {
  margin: 0 2px;
  color: #333;
}

hr {
  border: 0;
  border-top: 1px solid #c9c9c9;
  margin: 26px 0 8px;
}
.footer {
  color: #888;
  font-size: 11px;
}

@media (max-width: 560px) {
  .col-crc,
  td.crc,
  .col-date,
  td.date {
    display: none;
  }
}
