:root {
  --bg-nav: #444444;
  --bg-nav-active: #555555;
  --bg-main: #1d1d1d;
  --bg-tr-hl: rgb(255, 255, 255, 0.1);
  --bg-hl: rgb(255, 255, 255, 0.03);
  --bg-hl-gradient: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.02) 100%);
  --bg-dark: rgb(0, 0, 0, 0.2);
  --success: rgb(0, 172, 0);
  --error: rgb(172, 0, 0);
  --notice: rgb(172, 169, 0);
  --text: rgb(214, 214, 214);
  --highlight: rgb(255, 255, 255);
  --button: rgb(0, 0, 0);
  --link: rgb(188, 219, 255);
  --active: rgb(108, 188, 253);
  --nav-max-width: 1200px;
  --content-max-width: 98%;
}

*, *:before, *:after { box-sizing: border-box; margin: 0; padding: 0; }

body  { margin: 80px 0; font-family: Helvetica, sans-serif; color: var(--text); background-color: var(--bg-main); }
a     { color: var(--link); }
a:hover, .active { color: var(--active); }
h1    { color: var(--active); font-size: 26px; font-weight: bold; padding: 10px; }
table { width: 100%; margin: 10px 0; padding: 0; }
tr:hover, td:hover { background: var(--bg-tr-hl); }
th, td { text-align: left; padding: 5px 5px 0; margin: 0; border-bottom: 1px solid var(--bg-nav-active); }
th    { background: var(--bg-tr-hl); color: var(--link); }
input, select { background-color: var(--bg-nav); color: var(--highlight); width: 100%; margin: 10px 0; padding: 5px; border-radius: 5px; font-size: large; }
input[type="checkbox"] { width: 20px; height: 20px; margin: 10px; padding: 5px; }
button, .button {
  font-weight: bold !important;
  font-size: large;
  text-decoration: none !important;
  margin: 10px 5px 10px 5px;
  padding: 5px;
  background-color: var(--highlight);
  border: 1px solid var(--button);
  border-radius: 5px;
  color: var(--button) !important;
}
button:hover, .button:hover { background-color: var(--active); }

.input-default  { width: auto !important; }
.login-form     { margin: 0 auto; padding: 20px !important; width: 300px; border-radius: 10px; border: 1px solid var(--bg-nav-active); }
.login-text     { margin: 0; text-align: right; }
.top-find       { width: 280px; margin: 0; }
.item-div       { margin: 0 auto; padding: 20px; max-width: 800px; }
.nav-max-width  { margin: 0 auto; max-width: var(--nav-max-width); }
.nav-active     { background-color: var(--bg-nav-active); }
.content-max-width { margin: 0 auto; max-width: var(--content-max-width); }
.bg-hl          { margin: 5px auto; padding: 5px; background: var(--bg-hl); background: var(--bg-hl-gradient); border-radius: 10px; border: 1px solid var(--bg-nav-active); box-shadow: 0px 0px 50px rgba(255, 255, 255, 0.1); }
.bg-dark        { background: var(--bg-dark); }
.hide-mobile    { display: none; }
.clear-both     { clear: both; }
.text-center    { text-align: center; }
.pagination {
  float: left;
  font-weight: bold;
  margin: 5px 5px 10px 0;
  padding: 5px;
  text-decoration: none !important;
}
.pad5     { padding: 5px; }
.active   { background-color: var(--active); }
.green    { background-color: var(--success); }
.yellow   { background-color: var(--notice); }
.red      { background-color: var(--error); }
.success  { color: var(--success); }
.notice   { color: var(--notice); }
.error    { color: var(--error); }
.scrollable { overflow: auto; }
.glow     { box-shadow: 0px 0px 50px rgba(255, 255, 255, 0.1); }
.table-sel { margin: 0; padding: 0; border-radius: 3px; font-size: medium; }
.table-inp { margin: 0 0 3px; padding: 0; border-radius: 5px; font-size: medium; }
.table-tr-hl { background: var(--bg-tr-hl); }

#hide-after-5 {
  animation: hideAnimation 0s ease-in 5s;
  animation-fill-mode: forwards;
}
#hide-after-30 {
  animation: hideAnimation 0s ease-in 30s;
  animation-fill-mode: forwards;
}

@keyframes hideAnimation {
  to {
    visibility: hidden;
    width: 0;
    height: 0;
  }
}

.header { background-color: var(--bg-nav); border-bottom: 1px solid var(--text); box-shadow: 0px 3px 10px rgba(255, 255, 255, 0.6); position: fixed; top: 0; width: 100%; z-index: 3; }
.header ul { margin: 0; padding: 0; list-style: none; overflow: hidden; background-color: var(--bg-nav); }
.header li a { display: block; padding: 20px 20px; border-top: 1px solid var(--text); border-left: 0; border-right: 0; text-decoration: none; }
.header li a:hover, .header .menu-btn:hover { background-color: var(--bg-nav-active); }
.header .logo { display: block; float: left; font-size: 30px; padding: 10px 20px; text-decoration: none; }
.header .menu { clear: both; max-height: 0; transition: max-height .2s ease-out; }
.header .menu-icon { cursor: pointer; display: block; float: right; padding: 28px 20px; position: relative; user-select: none; }
.header .menu-icon .navicon { background: var(--highlight); display: block; height: 2px; position: relative; transition: background .2s ease-out; width: 18px; }
.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after { background: var(--highlight); content: ''; display: block; height: 100%; position: absolute; transition: all .2s ease-out; width: 100%; }
.header .menu-icon .navicon:before { top: 5px; }
.header .menu-icon .navicon:after { top: -5px; }
.header .menu-btn { display: none; }
.header .menu-btn:checked ~ .menu { max-height: 300px; }
.header .menu-btn:checked ~ .menu-icon .navicon { background: transparent; }
.header .menu-btn:checked ~ .menu-icon .navicon:before { transform: rotate(-45deg); }
.header .menu-btn:checked ~ .menu-icon .navicon:after { transform: rotate(45deg); }
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after { top: 0; }

@media (min-width: 800px) {
  .header li { float: left; }
  .header li a { padding: 20px 30px; border-left: 1px solid var(--text); border-top: 0; border-bottom: 0; }
  .header .menu { clear: none; float: right; max-height: none; }
  .header .menu-icon { display: none; }
}

@media (min-width: 1200px) {
  .hide-mobile { display: table-cell; }
  input, select, button, .button { font-size: medium; }
  input[type="checkbox"] { width: 15px; height: 15px; margin: 5px; padding: 5px; }
}