body {
  background-color: #070707;
  background-image: url('/vidsys/img/bg.gif');
  color: #eeeeee;
  padding: 0;
  margin: 0;
  font-family: sans-serif;
}
a {
  color: red;
}
button,
input[type="submit"] {
  color: #eaeaea;
  background: #313131;
  font-weight: bold;
  border-left: 2px solid #676767;
  border-top: 2px solid #676767;
  border-right: 2px solid #212121;
  border-bottom: 2px solid #212121;
}
button:active,
input[type="submit"]:active {
  border-left: 2px solid #212121;
  border-top: 2px solid #212121;
  border-right: 2px solid #676767;
  border-bottom: 2px solid #676767;
}
button:disabled,
input[type="submit"]:disabled {
  color: #8c8c8c;
  cursor: not-allowed;
}
button:disabled:hover,
input[type="submit"]:disabled:hover {
  color: #8c8c8c;
}
button:hover,
input[type="submit"]:hover {
  color: white;
}
textarea,
input[type="text"],
input[type="number"],
input[type="password"],
select {
  color: white;
  background: #262626;
  border-left: 2px solid #181818;
  border-top: 2px solid #181818;
  border-right: 2px solid #565656;
  border-bottom: 2px solid #565656;
}
textarea::placeholder,
input[type="text"]::placeholder,
input[type="number"]::placeholder,
input[type="password"]::placeholder,
select::placeholder {
  font-weight: bold;
}
textarea:disabled,
input[type="text"]:disabled,
input[type="number"]:disabled,
input[type="password"]:disabled,
select:disabled {
  color: #8c8c8c;
  cursor: not-allowed;
}
textarea:disabled:hover,
input[type="text"]:disabled:hover,
input[type="number"]:disabled:hover,
input[type="password"]:disabled:hover,
select:disabled:hover {
  color: #8c8c8c;
}
label {
  border-bottom: 1px solid gray;
  font-weight: bold;
}
.hidden {
  display: none;
}
.require-js {
  display: none;
}
#page {
  margin-top: 50px;
  margin-bottom: 50px;
  position: relative;
  left: calc((100vw - 1000px)/2);
  width: 1000px;
}
@media (max-width: 1050px) {
  #header {
    background: red;
  }
  #header-img {
    display: none;
  }
  #header-rows {
    float: none !important;
    width: calc(100% - 20px) !important;
  }
  #header-rows .header-row {
    width: 100%;
  }
  #header-search-form {
    width: 100%;
  }
  #page {
    left: 17px;
    margin: 20px 0;
    width: calc(100vw - 45px);
  }
}
.error-message {
  color: red;
  font-weight: bold;
}
.form-required:after {
  content: '*';
  color: red;
  font-weight: bold;
}
.button {
  background: #313131;
  color: white;
  border: 3px solid;
  text-decoration: none;
}
.list-input {
  width: 100%;
  cursor: text;
  color: white;
  background: #262626;
  border-left: 2px solid #181818;
  border-top: 2px solid #181818;
  border-right: 2px solid #565656;
  border-bottom: 2px solid #565656;
}
.list-input:disabled {
  color: #8c8c8c;
  cursor: not-allowed;
}
.list-input:disabled:hover {
  color: #8c8c8c;
}
.list-input input {
  border: none;
  background: none;
}
.list-input-hidden {
  width: 100%;
}
.list-input-input {
  overflow: visible;
}
.list-input-items {
  display: inline-block;
  position: relative;
  right: 2px;
  word-break: break-all;
}
.list-input-preview {
  position: absolute;
  font-size: 13px;
  visibility: hidden;
}
.list-input-item {
  background: red;
  margin-left: 3px;
  margin-right: 3px;
  cursor: text;
}
.section-header {
  border-bottom: 2px solid red;
}
.channel-listing {
  display: inline-block;
  background: #111111;
  margin: 10px;
  padding: 10px;
  width: 115px;
  height: 180px;
  font-size: 14px;
  text-align: center;
}
.channel-listing-avatar {
  width: 115px;
  height: 115px;
  margin-bottom: 5px;
}
.channel-listing-name {
  margin-top: 0;
  margin-bottom: 5px;
  font-weight: bold;
}
.video-listing {
  width: 270px;
  height: 220px;
  display: inline-block;
  background: #0a0a0a;
  margin: 15px;
  padding: 10px;
}
.video-listing-thumbnail {
  width: 100%;
  height: auto;
}
.video-listing-duration {
  display: block;
  color: inherit;
  text-decoration: none;
  position: relative;
  text-align: right;
  padding: 0;
  margin: 0;
  bottom: 34px;
  right: 10px;
  cursor: pointer;
}
.video-listing-duration span {
  position: relative;
  top: 3px;
  left: 5px;
  padding: 5px;
  background: rgba(0, 0, 0, 0.8);
}
.video-listing-title {
  margin-top: 5px;
  margin-bottom: 5px;
  height: 14px;
  position: relative;
  bottom: 20px;
}
.video-listing-meta {
  position: relative;
  top: 7px;
  width: 268px;
  font-size: 14px;
}
.video-listing-meta-views {
  float: right;
}
.page-nav {
  background: #111111;
  padding: 10px;
  margin: 10px;
  text-align: center;
}
.page-nav-text {
  font-weight: bold;
}
.page-nav-prev {
  float: left;
}
.page-nav-next {
  float: right;
}
.star {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  color: transparent;
  cursor: default;
}
.star-selectable:hover {
  background-color: red;
  cursor: pointer;
}
.star-full {
  background-image: url("/vidsys/img/star-full.png");
}
.star-half {
  background-image: url("/vidsys/img/star-half.png");
}
.star-empty {
  background-image: url("/vidsys/img/star-empty.png");
}
#content {
  padding: 10px;
  margin-top: 20px;
  width: calc(100% - 20px);
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid #4f0000;
}
#header {
  width: 100%;
  height: 93px;
  background: rgba(0, 0, 0, 0.5);
}
#header:before {
  content: '';
  position: absolute;
  top: -2px;
  right: 0;
  bottom: 0;
  left: 0;
  width: calc(100% + 2px);
  height: 2px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0), red);
}
#header:after {
  content: '';
  position: absolute;
  top: -2px;
  right: 0;
  bottom: 0;
  left: 100%;
  width: 2px;
  height: 93px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0), red);
}
#header-rows {
  float: right;
  width: 600px;
  padding: 10px;
}
#header-rows .header-row {
  margin-top: 10px;
  margin-bottom: 10px;
}
#header-rows .header-link {
  padding: 5px;
  margin-right: 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0), red);
  color: white;
  font-size: 20px;
  font-weight: bold;
  font-family: monospace;
  text-decoration: none;
  transition: background-position 0.2s, color 0.2s;
}
#header-rows .header-link:hover {
  background-position: 0 28px;
  color: red;
}
#header-user {
  float: right;
  position: relative;
  bottom: 8px;
  right: 1px;
  padding: 2px;
  width: 25px;
  height: 25px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0);
  transition: width 0.2s, background 0.2s;
}
#header-user:hover {
  background: rgba(255, 255, 255, 0.16);
  width: 200px;
}
#header-user:hover div {
  opacity: 1;
}
#header-user-avatar {
  width: 24px;
  height: 24px;
}
#header-user-name {
  opacity: 0;
  float: right;
  position: relative;
  top: 3px;
  text-align: center;
  width: calc(100% - 25px);
  color: red;
  font-size: 20px;
  font-family: monospace;
  font-weight: bold;
  transition: opacity 0.2s;
}
#header-login {
  float: right;
  position: relative;
  bottom: 8px;
}
#header-search-form {
  width: 100%;
}
#header-search-input {
  width: calc(100% - 53px);
}
#header-search-submit {
  width: 40px;
}
