/* for all displays */
body {
  background: #091736;
  width: 90%;
  margin: auto;
  font-size: 0.9em;
  font-family: 'Anonymous Pro', monospace;
  color: #9ba3b7;
}

header {
  margin: 0.2em;
  text-align: center;
}

footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #091736;
  height: 20px;
  text-align: center;
  z-index: 98;
  float: left;
}

nav {
  text-align: center;
}

a {
  color:#98ee98;
  font-weight:bold;
  text-decoration:none;
}

a:visited {
  color:#006c00;
}

a:hover {
  color:#4ecccc;
}

a:active {
  color:#FFFFFF;
}

.subpage {
  font-size: 0.8em;
}

ul, ul li {
  list-style-type:none;
  list-style-position: inside;
  margin:0;
  padding:0;
}

.lame {
  text-align: center;
  display: none;
  margin-top: 0.2em;
}

.cool, .footer_left {
  display: none;
}

.rallytitle {
  font-size: 1.5em;
  font-weight: bold;
}

.rallyresults {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8em;
}

.rallyresults td {
  width: 20%;
  margin: -1px;
  text-align: center;
  font-weight: bold;
}

.rallychamp {
  margin: auto;
  text-align: center;
  border-collapse: collapse;
  font-size: 0.8em;
}

.rallychampyear {
  font-weight: bold;
  text-align: left;
}

.top {
  border-top: 1px dotted #cccccc;
  border-bottom: 1px dotted #333333;
  padding: .5em 1em 0 1em;
}

.bottom {
  border-top: 1px dotted #333333;
  border-bottom: 1px dotted #cccccc;
  padding: 0 1em .5em 1em;
}

.both {
  border-top: 1px dotted #cccccc;
  border-bottom: 1px dotted #cccccc;
  padding: .5em 1em .5em 1em;
}

.right {
  border-right: 1px dotted #cccccc;
  border-left: 1px dotted #333333;
}

.left {
  border-left: 1px dotted #cccccc;
  border-right: 1px dotted #333333;
}

.mid {
  border: 1px dotted #333333;
  padding: 0 1em 0 1em;
}

.single {
  border: 1px dotted #cccccc;
  padding: .5em 1em .5em 1em;
}

.midrow {
  border-left: 1px dotted #333333;
  border-right: 1px dotted #333333;
}

.midcol {
  border-top: 1px dotted #333333;
  border-bottom: 1px dotted #333333;
  padding: 0 1em 0 1em;
}

.infobox {
  width: 95%;
  margin: auto;
  margin-top: 0.2em;
  margin-bottom: 0.2em;
  border: 1px dotted #333333;
  font-size: 0.8em;
}

.infobox2 {
  width: 95%;
  margin: auto;
  margin-top: 0.2em;
  margin-bottom: 0.2em;
  border: 1px dotted #333333;
}

.close {
  display:none;
}

.biglink {
  font-size: 1.4em;
}

.musicmenu {
  margin-bottom: 1em;
}

.recordindex {
  margin-left:auto;
  margin-right:auto;
  margin-bottom: 40px;
}

.recordlist {
  margin: 0;
  padding: 0;
}

.record_link:hover {
  z-index:25;
}

.lazy {
  width: 100px;
  height: 100px;
  background-color: #000000;
  border: 1px dotted #333333;
}

.record_link:hover .lazy {
  -webkit-filter: blur(3px) grayscale(80%);
}

.record_link span {
  display: none;
  background-color: #091736;
  color: #9ba3b7;
}

.sort {
  text-align: left;
  font-size: 0.8em;
}

.title_row {
  width: 100%;
  font-size: 1.4em;
  font-weight:bold;
  border-bottom:1px dotted #333333;
  margin-bottom:2px;
  padding-top:10px;
}

.record_link {
  padding: 2px;
  position:relative;
  z-index:24;
}

.record_link:hover span { 
  display:inline;
  position:absolute;
  top:0;
  left:0;
  padding:5px;
  font-size:0.8em;
}

.searchform {
  font-size:0.8em;
  font-weight: normal;
}

#dsq-app2 {
  margin-bottom: 25px;
}

/* Phones and crap */
header, nav, section {
  display: none;
}

.mobile {
  display: block;
}

header.mobile {
  font-weight: bold;
  font-size: 1.2em;
  padding-bottom: 0.2em;
  border-bottom: solid white 1px;
}

.navmenu {
  position: relative;
  display: inline-block;
}

button {
  background-color: #182950;
  color:#98bc7a;
  font-weight:bold;
  text-decoration:none;
  border:none;
  height: 50px;
  min-width: 10em;
  padding: 0;
}

button:focus {
  outline: none;
  background-color: #030b20;
}

.navsubmenu {
  display: none;
  position: absolute;
  width: 100%;
  background-color: #091736;
  box-shadow: 0 0 15px 2px #030b20;
}

.navsubmenu a {
  margin-top: 0.4em;
}

.record_link:hover span { 
  border:1px solid white;
}

.searchform select, .searchform input {
  width: 275px;
  border: 1px dotted #cccccc;
  color: #000000;
}

.searchform input {
  color:#98bc7a;
  background-color: #182950;
  height: 2em;
}

.record_cover {
  width: 200px;
  height: 200px;
}

.record_thumb {
  width: 50px;
  height: 50px;
}

.record_container {
  padding: 10px;
}

.info_container {
  width: 100%;
  text-align: center;
}

.record_data {
  margin-bottom: 10px;
}

.rating_wrapper:hover span.rating_text {
  opacity: 1;
}

.record_links {
  margin-top: 30px;
  font-weight: bold;
}

.tracklist b {
  font-style: italic;
}

.rating_wrapper {
  width: 100%;
  height: 80px;
  position: relative;
  margin: 5px;
  text-align: center;
}

.rating_text {
  display: table;
  height: 40px;
  left: 0;
  position: absolute;
  top: 40;
  width: 100%;
  text-align: center;
  opacity: 0;
}

.record_review {
  width: 100%;
}

/* Actual computers */
@media screen and (min-width: 768px) {
  body {
    background: #000000;
    font-size: 1.3em;
    color: #00DD00;
    overflow: auto;
  }

  .subpage {
    height: 80vh;
    overflow-y: auto;
    padding-bottom: 25px;
    text-align: left;
  }

  .mobile {
    display: none;
  }

  .full {
    display: block;
  }

  header.full {
    font-size: 2.2em;
    font-weight: bold;
    width: 100%;
  }

  nav.full {
    width: 100%;
  }
  
  textarea {
    font-size: 1em;
    overflow-y: auto;
    resize: none;
    width: 100%;
    border: 1px dotted #cccccc;
    background: #333333;
    color: #00dd00;
    height: 3em;
  }

  textarea:focus {
    outline: none;
  }

  footer {
    background-color: #000000;
    text-align: right;
  }

  .footer_left {
    font-size: 0.6em;
    float:left;
    z-index: 99;
  }

  .record_link span {
    display: none;
    background-color: #000000;
    color: #00DD00;
  }

  .record_link:hover span { 
    border:1px dotted #333333;
  }

  .searchform select, .searchform input {
    width: 500px;
    border: 1px dotted #cccccc;
    background-color: #333333;
    color: #00dd00;
  }

  .searchform input {
    height: 2em;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
  }

  .record_cover {
    width: 350px;
    height: 350px;
  }

  .cool {
    display: block;
  }

  .record_thumb {
    width: 100px;
    height: 100px;
  }

  .rallyresults {
    font-size: 1em;
  }

  .rallychamp {
    font-size: 1em;
  }

  .inner_container {
    display: flex;
    justify-content: center;
  }

  .record_details {
    float:left;
    align-self: center;
    text-align: right;
    order: 1;
  }

  .record_container {
    order: 2;
  }

  .rating_wrapper {
    float: left;
    width: 200px;
  }

  .record_review {
    float: left;
  }

  /* color change easter egg */
  .red {
    color: #DD0000;
  }

  .redlink {
    color: #ff9494;
  }

  .redlink:visited {
    color: #5a0000;
  }

  .redlink:hover {
    color: #ffc494;
  }

  .blue {
    color: #5e72f1;
  }

  .bluelink {
    color: #89d0ef;
  }

  .bluelink:visited {
    color: #0223f3;
  }

  .bluelink:hover {
    color: #ede5fb;
  }

  .amber {
    color: #ffaa09;
  }

  .amberlink {
    color: #ffe3ad;
  }

  .amberlink:visited {
    color: #b85000;
  }

  .amberlink:hover {
    color: #fff0ad;
  }

  .ls {
    white-space: pre;
  }
}

/* hidden stuff */
.grey_row {
  background-color:#333333;
}

.add_table {
  font-size:0.8em;
  margin-left: auto;
  margin-right: auto;
  vertical-align:top;
  border-collapse:collapse;
}

table.add_table td {
  border:1px dotted #333333;
  padding: 5px;
}

.manage {
  font-size:0.8em;
  border: 1px dotted #cccccc;
  background: #333333;
  color: #00dd00;
}

.managetext {
  height: 10em;
  resize: vertical;
}

.stats_table {
  width:100%;
  font-size:0.8em;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
  border-collapse:collapse;
}

.stats_table td {
  border:1px dotted #333333;
}

.stats_bottom {
  border-top: 2px solid #cccccc;
}