html,
body {
  font-family: 'Trebuchet MS', 'Trebuchet', 'tahoma', sans-serif;
  min-height: 100%;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 8px;
  margin-bottom: auto;
}

h1 {
  display: block;
  color: #996793;
  text-align: center;
  font-size: 24px;
  margin: 8px 3px;
}

h1 a {
  color: inherit !important;
  text-decoration: none;
}
h1 a:hover {
  opacity: 0.8;
}

h3 {
  font-family: sans-serif;
  font-size: 11.7px;
}

a {
  color: #996793;
  text-decoration: none;
}
a:hover {
  color: #0066ff;
  text-decoration: none;
}

table {
  color: inherit; /* Chrome fix */
}

.page-index {
  background-color: #444 !important;
}

#mainTable {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: 0;
  width: 100%;
  min-height: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border-right: solid 1px #444;
}

.splashWrapper {
  position: absolute;
  top: 170px;
  height: 400px;
  left: 25%;
  right: 25%;
}

#splash {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 95%;
  max-height: 100%;
  margin: auto;
  background-color: #eee;
}

.bottomCell {
  padding: 0 10px;
}

.tilecontent {
  word-wrap: break-word;
}

#playerPanel {
  font-weight: bold;
  vertical-align: top;
}

#playerPanel a:hover {
  font-weight: bold;
}

.playerControls {
  padding-top: 8px;
  margin-top: 8px;
}

.playerTitle {
  font-size: 200%;
  margin-right: 0px;
}

.playerPlaylist {
  font-size: smaller !important;
  font-weight: normal !important;
  text-decoration: underline !important;
}

.playerLinks {
  margin-top: 8px;
}

.playerBottomLinks {
  margin: 0;
  padding: 0;
  position: absolute;
  top: 590px;
  width: 50%;
}

.playerBottomLinks > div {
  display: inline-block;
}

#headerPanel,
#footerPanel {
  height: 32px;
  background-color: #444;
  color: #d8d8d8;
}

#headerPanel a,
#footerPanel a,
#headerPanel select,
#footerPanel select {
  background-color: #444;
  color: #d8d8d8;
}
#headerPanel a:hover,
#footerPanel a:hover {
  color: #fff;
}
#headerPanel select,
#footerPanel select {
  border: 0;
  font-family: 'Trebuchet MS', 'Trebuchet', 'tahoma', serif;
  font-size: 16px;
}
#highStreamLabel,
#messageSoundLabel {
  padding-left: 20px;
}

#headerPanel td,
#footerPanel td {
  text-align: center;
}

.showNotices {
  float: left;
}

#clock {
  float: right;
  margin-right: 15px;
}

.topContainer {
  height: 600px;
  min-height: 600px;
}

#linksPanel {
  font-weight: bold;
  vertical-align: top;
  word-wrap: break-word;
  text-align: center;
}

#linksPanel a {
  font-weight: bold;
  line-height: 25px;
}
#linksPanel a + a {
  padding: 0;
}

#linksPanel h1 {
  min-height: 24px;
}

#linksPanel .repositoryLink {
  font-size: 9px;
  opacity: 0.4;
}

.linksLeft {
  float: left;
  text-align: right;
}

.linksRight {
  float: left;
  text-align: left;
}

.linksLeft,
.linksRight {
  width: 50%;
  margin-bottom: 15px;
}

.linksLeft a {
  padding-right: 15px;
}

.linksRight a {
  padding-left: 15px;
}

#linksTable {
  text-align: center;
  line-height: 200%;
  width: 100%;
  height: 580px;
  min-height: 580px;
  table-layout: fixed;
}

#shedPanel,
#newsPanel,
#kookaPanel {
  vertical-align: top;
}

#shedPanel * {
  line-height: 100%;
}

.shedTable {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.shedTable td {
  padding: 5px 5px;
  text-align: center;
}

.shedInfoLeft,
.shedInfoCenter,
.shedInfoRight {
  font-size: 12px;
  margin: 0;
  overflow: hidden;
  word-wrap: break-word;
  padding-bottom: 0 !important;
}

.shedInfoLeft {
  text-align: left !important;
}

.shedInfoCenter {
  text-align: center !important;
  padding: 2px 0 0 0 !important;
}

.shedInfoRight {
  text-align: right !important;
}

#logsPanel {
  vertical-align: top;
  word-wrap: break-word;
}

#kookaPanel,
#newsPanel,
#linksPanel,
#playerPanel {
  border-right: solid 8px #444;
}

#logsPanel,
#kookaPanel,
#newsPanel {
  border-top: solid 8px #444;
}

#newsfeed {
  text-align: center;
  margin-top: 3px;
  overflow: hidden;
}

#newsfeed time:after { content: ' - '; }

.newsItem {
  text-align: left;
  margin: 2px 2px;
  padding: 2px;
  border-bottom: 1px solid #888;
}
.newsItem.more {
  border: 0;
  text-align: center;
}

.newsTimestamp {
  padding: 0 4px 0 0;
}

.newsText,
.newsTimestamp {
  opacity: 0.85;
}

.newsSourceLink {
  white-space: normal !important;
  word-break: break-word !important;
  font-size: 11px;
  color: #008cf0;
  overflow: hidden;
  padding: 0px;
  margin: 0px;
}

#splashPanel {
  background-color: #eee;
}

#bhd,
#rate {
  text-align: center;
}

#slides,
#shed,
.ballon {
  border: inherit !important;
  margin: inherit !important;
  background-color: inherit !important;
}

#kookareque {
  overflow: hidden;
}

#kookareque p {
  display: block;
  margin: 5px 10px;
  overflow: hidden;
  padding: 10px;
  border-bottom: 1px solid #888;
}

#kookareque img {
  margin: 2px;
  border: 1px solid #ddd;
}

#kookareque .userpost {
  color: #008cf0;
  word-break: break-word;
}

.dj,
.user_id {
  font-weight: normal !important;
  font-size: 80% !important;
}

.dj {
  color: #888 !important;
}

.user_id {
  color: #78b !important;
}

.timestamp {
  font-size: 80%;
  color: #78b !important;
}

.kookarequeDivisor {
  margin-right: 8px;
}

#notices {
  margin: 0 0 0 auto;
  max-width: 50%;
}

#newsfeed,
.notice {
  font-family: 'Verdana', sans-serif !important;
  font-size: 11px;
}

.counterWrapper {
  background: linear-gradient(left, #444 0%, #000 25%);
  background: -webkit-linear-gradient(left, #444 0%, #000 25%);
  background: -moz-linear-gradient(left, #444 0%, #000 25%);
  background: -o-linear-gradient(left, #444 0%, #000 25%);
  background: -ms-linear-gradient(left, #444 0%, #000 25%);
  background: -khtml-linear-gradient(left, #444 0%, #000 25%);
}

#counter {
  background: black;
  padding: 5px;
  float: right;
}

#counter img {
  background: #d8d8d8;
  border: 0;
}

.hurtbox {
  padding: 3px;
}

.disabled {
  display: none;
}

#bhd .holder {
  display: inline-block;
}

#age {
  color: white;
  font-size: 15px;
  float: right;
  background: #c00;
  margin: 0 0 0 20px;
  padding: 2px;
}

#shed {
  padding: 0 !important;
  width: 100%;
  height: 520px;
  max-height: 520px;
  overflow-y: auto;
}

#shed span {
  display: block;
  color: #bbb;
  font-size: 70%;
  white-space: nowrap;
}

.shedArchLink {
  display: block;
  float: right;
  margin: 10px;
}

#logs {
  overflow-y: hidden;
  border-radius: 16px;
}

.logs__item {
  margin: 0;
  padding: 8px 8px;
}

.logs__time {
  opacity: 0.7;
  font-size: 0.9em;
  padding-right: 8px;
}

.logs__artist {
  opacity: 0.9;
}

.logs__song {
  font-weight: bold;
  padding-right: 16px;
}

#down {
  overflow: auto;
}

#downstat {
  height: 110px;
  overflow: auto;
}

#downstat tr {
  font-size: 11px;
}

.notification {
  background-color: #444;
  color: #d8d8d8;
  border: 1px solid #777;
  position: fixed;
  top: 40px;
  right: 8px;
  padding: 8px 18px 8px 8px;
  z-index: 9999;
  border-radius: 10px;
  max-width: 300px;
}
.notification__close {
  color: #d8d8d8 !important;
  padding: 0 6px;
  position: absolute;
  top: 0;
  right: 0;
  line-height: 19px;
  height: 19px;
  width: 7px;
  font-size: 14px;
}
.notification__close:hover {
  color: #fff !important;
}
.notification a {
  color: #fff;
}
.notification a:hover {
  color: #d8d8d8;
}

.notice {
  margin: 0 0 4px 0;
  padding: 8px;
}

.notice,
.notice * {
  color: #222 !important;
  background-color: #eeb;
}

.noticeclose {
  font-size: 14px;
  font-weight: bold;
  float: right;
  margin: -8px -8px 10px 10px;
}

#playerVolume {
  height: 20px;
  width: 130px;
  display: inline-block;
}

.playerPlay,
.playerStop {
  border: 1px solid;
  float: left;
  width: 24px;
  height: 18px;
  line-height: 18px;
  font-family: 'Courier New';
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  -ms-user-select: none;
  -khtml-user-select: none;
  user-select: none;
  cursor: default;
}

.playerPlay {
  margin-left: 4px;
}

.playerStop {
  margin-left: 8px;
}

.playerPlay,
.playerStop:active {
  font-size: 18px;
}

.playerStop,
.playerPlay:active {
  font-size: 20px;
}

.playerVolumeWrapper {
  display: inline-block;
}

.playerVolumeBarWrapper {
  display: inline-block;
  padding: 3px 1px 4px 0;
}
.playerVolumeBar {
  width: 7px;
  height: 13px;
  transition: filter 0.1s, opacity 0.1s;
}

.playerVolumeBar,
.playerVolumeWrapper:hover > .playerVolumeBarWrapper:hover ~ .playerVolumeBarWrapper > .playerVolumeBar,
.playerVolumeWrapper:hover > .playerVolumeBarWrapper:hover ~ .playerVolumeBarWrapper > .playerVolumeBar.active {
  filter: gray;
  filter: url(grayscale.svg);
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
}
.playerVolumeBar.active,
.playerVolumeWrapper:hover .playerVolumeBar {
  filter: none;
  -webkit-filter: grayscale(0%);
  -moz-filter: grayscale(0%);
  -ms-filter: grayscale(0%);
  -o-filter: grayscale(0%);
  filter: grayscale(0%);
}
.playerVolumeBar,
.playerVolumeWrapper:hover > .playerVolumeBarWrapper:hover ~ .playerVolumeBarWrapper > .playerVolumeBar {
  opacity: 0.2;
}
.playerVolumeBar.active,
.playerVolumeWrapper:hover .playerVolumeBar.active {
  opacity: 1;
}
.playerVolumeWrapper:hover .playerVolumeBar,
.playerVolumeWrapper:hover > .playerVolumeBarWrapper:hover ~ .playerVolumeBarWrapper > .playerVolumeBar.active {
  opacity: 0.6;
}
.playerVolumeBarWrapper:active > .playerVolumeBar {
  opacity: 1 !important;
}
.playerVolumeBarWrapper > .playerVolumeBar.hidden {
  opacity: 0 !important;
}

.playerElement {
  display: inline-block;
  -webkit-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  -ms-user-select: none;
  -khtml-user-select: none;
  user-select: none;
}

.disabledLink,
.disabledLink:hover {
  cursor: default;
  filter: gray;
  filter: url(grayscale.svg);
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
  opacity: 0.2;
}

#linkToTop {
  position: fixed;
  left: 0;
  top: 0;
  padding: 8px 32px;
  background-color: #ccc;
  font-size: 16px;
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.1s;
}

#linkToTop.hidden {
  visibility: hidden;
  opacity: 0;
}

.updateNotice {
  color: red;
  text-decoration: none;
  font-weight: bold;
}

.updateNotes {
  text-decoration: none;
}

.rate-form {
  margin-top: 50px;
}

.records-player-swf,
.records-player-quictime {
  background-color: #ccc;
}

.records-player-swf__player {
  width: 498px;
  height: 24px;
  margin: 7px;
}

.records-player-quictime__player {
  width: 498px;
  height: 38px;
  margin: 0px 7px;
}

.records__player {
  width: 512px;
}

.record {
  height: 30px;
}

.record__play {
  font-size: 24px;
  display: block;
  width: 50px;
  text-align: center;
}

.record__data {
  padding: 0 20px;
}

#playerDiv {
  position: fixed;
  right: 0;
  top: 0;
}

.records__notes {
  max-width: 600px;
}

.song-info {
  margin: 10px 0 0 5px;
  word-wrap: break-word;
}

.song-info__label {
  display: inline-block;
  min-width: 120px;
  margin: 0 0 0 20px;
}
.song-info__label_rec {
  margin: 0 10px;
  color: #d40;
}

.song-info__data {
  display: inline;
  word-wrap: break-word;
}
.song-info__data_bold {
  font-weight: bold;
}
