body {
  font-family: sans-serif;
  color: #cccccc;
  background: #0c090a;
  margin: 0;
  padding: 0;
}

a {
  color: #ccccff;
  text-decoration: none;
}
a:hover {
  color: #ffffff;
  text-decoration: underline;
}

table {
  border-collapse: collapse;
}
table th, table td {
  border: 1px solid #444444;
}
.table-corner {
  border: none;
}

h1 {
  margin: 0;
  display: inline-block;
  text-align: center;
  color: rgb(255,255,255);
  color: rgba(255,255,255,.67);
  font-size: 65pt;
  cursor: default;
  transition: text-shadow .3s, color .3s;
  text-shadow: -.040em -.040em 0 rgba(180,180,255,.33);
}
h1:hover {
  transition: text-shadow 1s, color 1s;
  color: rgba(180,180,255,.15);
  text-shadow: -.1em -.1em 0 rgba(180,180,255,.15), .1em .1em 0 rgba(180,180,255,.15), 0 0 10px rgba(180,180,255,.5);
}
h2 {
  margin: -.3em 0 0 0;
  text-align: center;
  color: #9999cc;
  font-size: 12pt;
  font-weight: normal;
  cursor: default;
}

body > header {
  width: 100%;
  font-size: 16pt;
  height: 1.5em;
  background-color: #333366;
}
body > header .logo {
  display: inline-block;
  font-size: 1em;
  font-weight: bold;
  line-height: 1.5em;
}
body > header .logo a {
  display: inline-block;
  padding: 2px .5em 2px .5em;
  margin-right: .5em;
  text-decoration: none;
  color: rgb(180,180,255);
  color: rgba(180,180,255,.67);
  transition: text-shadow 1s, color 1s;
  text-shadow: -.080em -.080em 0 rgba(180,180,255,.33);
}
body > header .logo a:hover {
  transition: text-shadow .3s, color .3s;
  color: rgb(255,255,255);
  color: rgba(255,255,255,.9);
  text-shadow: -.140em -.140em 0 rgba(180,180,255,.5);
}
body > header nav {
  display: inline-block;
  vertical-align: top;
  height: 100%;
}
body > header nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: inline-block;
  vertical-align: top;
  height: 100%;
}
body > header nav li {
  position: relative;
  display: inline-block;
  vertical-align: top;
  height: 100%;
  color: #9999cc;
}
body > header nav li:hover {
  color: #ffffff;
  background: #666699;
}
body > header nav a {
  color: inherit;
  display: inline-block;
  font-size: 10pt;
  padding: 0 .5em;
  line-height: 2.9em;
  height: 100%;
  text-decoration: none;
  outline: none;
}
body > header nav a:hover {
  text-decoration: none;
}

.error {
  margin: 5em;
  text-align: left;
  color: #ff6666;
  font-size: larger;
  padding: 1em;
  border: 1px solid #ff0000;
  background: #330000;
}

a .item-icon {
  border: none;
}

.pop-term {
  position: relative;
}
.pop-term:hover {
  color: #006600;
}
.pop-box {
  position: absolute;
  height: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 10px;
}
.pop-term:hover .pop-box {
  left: 50%;
  width: 25em; margin-left: -12.5em;
  top: 100%;
  height: auto;
  margin-top: 5px;
  padding: 5px 2px 2px 2px;
  border: 1px solid #333366;
  border-radius: 5px;
  background: #0c090a;
  color: #9999cc;
  z-index: 1;
  box-shadow: 0 0 5px #000000;
  text-shadow: none;
  overflow: visible;
  opacity: .9;
  transition: margin-top .5s, opacity .5s;
}
.pop-box:before {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: 0;
  width:  10px; margin-left: -6px;
  height: 10px; margin-top:  -6px;
  border-left: 1px solid #333366;
  border-top: 1px solid #333366;
  background: #0c090a;
  background: linear-gradient(135deg, rgba(0,0,17,1) 0%, rgba(0,0,17,1) 50%, rgba(0,0,17,0) 50.1%, rgba(0,0,17,0) 100%);
  transform: rotate(45deg);
}

#match-picker {
  position: relative;
  width: 1215px;
  margin: 0 auto 0 auto;
}
#match-picker-bg {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1215px; margin-left: -607px;
  height: 717px;
  box-shadow: 0 0 100px 100px #0c090a inset;
  opacity: .5;
  z-index: -1;
}
#match-picker #match-picker-logo {
  position: absolute;
  left: 10%;
  top: 100px;
  width: 30%;
  text-align: center;
}
#match-picker #match-picker-notes {
  position: absolute;
  left: 15%;
  top: 250px;
}
#match-picker .note {
  margin-bottom: 2em;
  color: #aaaaaa;
}
#match-picker .note a {
  font-weight: bold;
  white-space: nowrap;
}
#match-picker #match-picker-ui {
  position: absolute;
  right: 10%;
  top: 107px;
  display: inline-block;
  border-radius: 10px;
  color: #9999cc;
  background-color: rgba(48,48,96,.5);
  padding: .4em 1.3em .4em 1.3em;
}
#match-picker #match-picker-ui input {
  border: 1px solid #666699;
  background-color: #000033;
  color: #ccccff;
  box-shadow: 0 0 4px #666699;
  font-size: 16pt;
}
#match-picker #match-picker-ui input:hover {
  border: 1px solid #9999cc;
  color: #ffffff;
  box-shadow: 0 0 4px #9999cc;
}
#match-picker #match-picker-ui input:focus {
  border: 1px solid #f90;
  background: #210;
  color: #f90;
  box-shadow: 0 0 4px #f90;
}
#match-picker #match-picker-input {
  width: 400px;
  text-align: center;
}
#match-picker #match-picker-example {
  width: 400px;
  margin-top: 5px;
  color: #9999cc;
  font-size: smaller;
  text-align: center;
}
#match-picker #match-picker-instructions {
  margin-bottom: 5px;
  cursor: default;
  width: 400px;
  display: block;
  text-align: center;
}
#match-picker #match-picker-instructions .pop-term {
  color: #666699;
  border: none;
  transition: color .5s, text-shadow .5s;
}
#match-picker #match-picker-instructions.match-picker-instructions-type-empty .pop-term {
  color: #ccccff;
}
#match-picker #match-picker-instructions .pop-term:hover {
  border-bottom: 1px dotted #ccccff;
}
#match-picker #match-picker-instructions.match-picker-instructions-type-summoner_byname .match-picker-instructions-summoner_byname,
#match-picker #match-picker-instructions.match-picker-instructions-type-match_byid      .match-picker-instructions-match_byid,
#match-picker #match-picker-instructions.match-picker-instructions-type-match_byurl     .match-picker-instructions-match_byurl {
  color: #ffffff;
  text-shadow: 0 0 5px #ffffff;
  transition: color .5s, text-shadow .5s;
}

#ad {
  width: 336px;
  height: 280px;
}
body > #ad {
  margin: 2em auto;
}
#match-picker #ad {
  position: absolute;
  left: 15%;
  top: 500px;
}
#match #ad {
  position: absolute;
  right: 0;
  top: 0;
}

#loading-status {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 10000;
}
#loading-status progress {
  position: absolute;
  left: 0;
  top: 0;
  width:  200px; margin-left: -100px;
  height:  20px; margin-top:   -10px;
}
#loading-status ul {
  position: absolute;
  left: 0;
  top: 30px;
  margin: 0;
  padding: 0;
  width: 20em; margin-left: -5em;
}
#loading-status ul li {
  margin: 0;
  padding: 0;
}

#summonersearch {
  display: none;
  margin: 1em auto;
  width: 1280px;
  position: relative;
}
#summonersearch-header {
  float: left;
  width: 336px;
  margin-right: 20px;
}
#summonersearch-logo {
  text-align: center;
  margin-bottom: 1em;
}
#summonersearch-warning {
  margin-bottom: 1em;
  color: #aaaaaa;
}
#summonersearch-matchhistory {
  width: 924px;
}
#summonersearch-matchhistory tr:hover td {
  cursor: pointer;
  color: #ffffff;
  background: #333333;
}
#summonersearch-matchhistory td {
  padding: 5px;
  text-align: center;
}
#summonersearch-matchhistory .summonersearch-outcome-victory {
  color: #aaffaa;
  font-weight: bold;
}
#summonersearch-matchhistory .summonersearch-outcome-defeat {
  color: #ffaaaa;
  font-weight: bold;
}
#summonersearch-matchhistory .summonersearch-items {
  text-align: left;
}
#summonersearch-matchhistory img {
  vertical-align: middle;
}
#summonersearch-matchhistory .champion-icon,
#summonersearch-matchhistory .item-icon {
  width: 32px;
  height: 32px;
  vertical-align: bottom;
}

#match {
  display: none;
  margin: 1em auto;
  width: 1280px;
  position: relative;
}
#match > hr {
  clear: both;
  height: 0;
  border: 0;
  border-top: 1px solid #666699;
  box-shadow: 0 0 3px #666699;
  margin: 1em 0;
}

#tour {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: #000000;
  background: rgba(0,0,0,.75);
  z-index: 1000;
}
#tour .tour-end {
  position: absolute;
  left: 50%;
  width: 6em;
  margin-left: -3em;
  bottom: 20px;
  padding: 5px 7px;
}
.tour-message {
  position: absolute;
  width: 20em;
  outline: 3px solid #339933;
  background: #000000;
  background: rgba(0,0,0,.9);
  padding: 3px 5px;
  z-index: 1002;
}
#match.tour-enabled .tour-item {
  z-index: 1001;
  outline: 3px solid #339933;
  position: relative;
}
.tour-button {
  background: #113311;
  border: 2px solid #339933;
  color: #339933;
  position: relative;
  z-index: 1001;
  width: 7em;
}
.tour-button:hover {
  background: #339933;
  border: 2px solid #99cc99;
  color: #ffffff;
}

#match-header {
  text-align: center;
  float: left;
  width: 300px;
  color: #ccccff;
}
#match-logo {
  margin: .5em 0 1.9em 0;
}
#match-header p {
  margin: 1.9em 0;
  text-align: center;
}
#match-tour-controls input {
  padding: 2px 5px;
  margin-left: .5em;
}

#match-metadata {
  margin-right: 1em;
  margin-bottom: 1em;
  float: left;
  box-shadow: 0 0 5px #333366;
}
#match-metadata th {
  text-align: right;
  border-right: 0;
}
#match-metadata td {
  padding: 0;
  border-left: 0;
}
#match-metadata th, #match-metadata td > span, #match-metadata td > a {
  padding: 5px;
}
#match-metadata td a {
  display: block;
  text-decoration: none;
  color: #ccccff;
}
#match-metadata td > a {
  display: block;
}
#match-metadata td > a:hover {
  color: #ffffff;
  background: #666699;
}

#timeline-graph {
  margin-top: 1em;
  clear: both;
}
#timeline-canvas {
  border: 1px solid #444444;
  display: inline-block;
  background: #0c090a;
}
#timeline-controls {
  vertical-align: top;
  display: inline-block;
  margin-left: 10px;
}
#timeline-controls label {
  display: inline-block;
  width: 5em;
  margin-bottom: 10px;
}
#timeline-controls select {
  width: 15em;
}
#timeline-modes .timeline-modes-header {
  background-color: #cccccc;
  color: #000000;
}
#timeline-participants {
  border: 1px solid #444444;
  border-width: 0 1px 1px 0;
}
#timeline-participants .participant {
  border: 1px solid #444444;
  border-width: 1px 0 0 1px;
  cursor: pointer;
}
#timeline-participants .participant .participant-meta {
  opacity: .5;
}
#timeline-participants .participant .champion-icon {
  vertical-align: middle;
  margin-right: 5px;
  border: 2px solid transparent;
  position: relative;
}
#timeline-participants .participant:hover {
  background-color: #333366;
}
#timeline-participants.timeline-participants-compare-individual .participant.participant-disabled,
#timeline-participants.timeline-participants-compare-combined .participant.participant-combined-disabled {
  color: rgba(204,204,204,.33);
}
#timeline-participants.timeline-participants-compare-individual .participant.participant-disabled .champion-icon {
  opacity: .33;
}
#timeline-participants.timeline-participants-compare-combined .champion-icon {
  opacity: .33;
}
#timeline-participants.timeline-participants-compare-combined .participant.participant-combined-positive:before,
#timeline-participants.timeline-participants-compare-combined .participant.participant-combined-negative:before {
  position: absolute;
  display: block;
  font-size: 22px;
  font-weight: bold;
  width: 28px;
  color: #ffffff;
  text-shadow: 1px 1px 0px #000000, -1px 1px 0px #000000, -1px -1px 0px #000000, 1px -1px 0px #000000;
  z-index: 1;
}
#timeline-participants.timeline-participants-compare-combined .participant.participant-combined-positive:before {
  content: "\2227"; /* &and; */
  text-align: left;
}
#timeline-participants.timeline-participants-compare-combined .participant.participant-combined-negative:before {
  content: "\2228"; /* &or; */
  text-align: right;
}

#kdtable .champion-icon {
  border: 1px solid transparent;
}
#kdtable th, #kdtable td {
}
#kdtable th {
  padding: 0;
}
#kdtable th img {
  vertical-align: bottom;
}
#kdtable td {
  height: 38px;
  width: 38px;
}
#kdtable .kd {
  text-align: center;
  background: linear-gradient(to bottom left, rgba(0,0,0,0) 0%, rgba(0,0,0,0) calc(50% - 2px), #444444 50%, rgba(0,0,0,0) calc(50% + 2px), rgba(0,0,0,0) 100%);
  position: relative;
}
#kdtable .kd-totals-blue {
  border-right-width: 3px;
}
#kdtable .kd-totals-purple {
  border-bottom-width: 3px;
}
#kdtable .kd .kd-bkp {
  color: rgb(63,63,255);
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 1.5em;
}
.team-colorblind #kdtable .kd .kd-bkp { color:rgb(0,114,178); }
#kdtable .kd .kd-pkb {
  color: rgb(255,63,255);
  position: absolute;
  right: 0;
  top: 0px;
  width: 1.5em;
}
.team-colorblind #kdtable .kd .kd-pkb { color:rgb(213,94,0); }
#kdtable .kd .kd-zero {
  color: #444466;
}

#team-metadata {
  width: 90%;
  margin: 1em auto 0 auto;
}
#team-metadata img {
  vertical-align: middle;
  filter: grayscale(100%) brightness(300%);
}
#team-metadata .team-metadata-blue {
  color: rgb(63,63,255);
}
.team-colorblind #team-metadata .team-metadata-blue { color:rgb(0,114,178); }
#team-metadata .team-metadata-purple {
  color: rgb(255,63,255);
}
.team-colorblind #team-metadata .team-metadata-purple { color:rgb(213,94,0); }
#team-metadata .team-metadata-blue .team-metadata-first {
  background-color: rgb(63,63,255);
  color: #000000;
  font-weight: bold;
}
.team-colorblind #team-metadata .team-metadata-blue .team-metadata-first { background-color:rgb(0,114,178); }
#team-metadata .team-metadata-purple .team-metadata-first {
  background-color: rgb(255,63,255);
  color: #000000;
  font-weight: bold;
}
.team-colorblind #team-metadata .team-metadata-purple .team-metadata-first { background-color:rgb(213,94,0); }

#map {
  margin-top: 1em;
}
#map-display {
  display: inline-block;
}
#map-controls {
  margin-bottom: 5px;
  position: relative;
  height: 20px;
}
#map-slider {
  display: block;
  position: absolute;
  left: 50%;
  top: 0;
  width: 470px; margin-left: -238px;
  background-color: #000022;
  border: 1px solid #333355;
  border-radius: 0.6em;
  height: 19px;
  padding: 1px 2px 0 2px;
}
#match.tour-enabled #map-slider.tour-item {
  position: absolute;
}
#map-slider:hover {
  background-color: #111133;
}
#map-slider-prev, #map-slider-next {
  border: 1px solid #333355;
  border-radius: 0.6em;
  line-height: 18px;
  display: inline-block;
  height: 20px;
  width: 40px;
  padding: 0 7px;
  background-color: #111133;
}
#map-slider-prev:hover, #map-slider-next:hover {
  background-color: #333355;
  text-decoration: none;
  cursor: pointer;
}
#map-slider-prev {
  float: left;
}
#map-slider-prev:before {
  content: "\2039";
}
#map-slider-next {
  text-align: right;
  float: right;
}
#map-slider-next:before {
  content: "\203a";
}
#map-fakeslider {
  display: block;
  margin: 0;
}
#map-metadata {
  display: inline-block;
  vertical-align: top;
  margin-left: 1em;
  width: 300px;
}
#map-metadata h3 {
  margin-top: 0;
  text-align: center;
}
#map-metadata .map-metadata-event {
  margin-bottom: 3px;
}
.map-metadata-event-timestamp {
  margin-right: 5px;
  font-family: monospace;
  font-size: 66%;
}
#map-metadata .map-metadata-event .champion-icon {
  margin: 1px;
  vertical-align: bottom;
  border: 2px solid black;
}
#map-metadata .map-metadata-event .minion-icon {
  margin: 2px 1px 1px 1px;
  vertical-align: bottom;
}
#map-players-container {
  display: inline-block;
  vertical-align: top;
}
#map-players-controls {
  text-align: right;
  margin-bottom: 5px;
}
#map-players-blue, #map-players-purple {
  display: inline-block;
  vertical-align: top;
  margin-left: 1em;
}
.map-players {
  width: 192px;
}
.map-players img {
  vertical-align: top;
}
.map-players .player .champion-icon {
  border: 2px solid transparent;
  cursor: pointer;
  float: left;
}
.map-players .player {
  position: relative;
  padding-right: 32px;
  clear: both;
  margin-bottom: 5px;
}
.map-players .player:last-child {
  margin-bottom: 0;
}
.map-players .player .player-item {
  display: inline-block;
  vertical-align: top;
  position: relative;
  width: 32px;
  height: 32px;
}
.map-players .player .player-item.player-item-empty {
  border: 2px solid #444444;
  background-color: #111111;
  width: 28px;
  height: 28px;
}
.map-players .player .player-item .player-item-count {
  position: absolute;
  right: 3px;
  bottom: 0;
  color: #000000;
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
  font-size: smaller;
}
.map-players .player .player-item.player-item-trinket {
  position: absolute;
  right: 0;
  top: 16px;
}
.map-players .player .player-stats {
  clear: both;
  height: 19pt;
  position: relative;
  width: 192px;
  margin-top: 4px;
}
.map-players .player .player-stats .player-stat {
  position: absolute;
  top: 0;
  text-align: center;
  border-left: 1px solid #333366;
}
.map-players .player .player-stats .player-stat:first-child {
  border-left: none;
}
.map-players .player .player-stats .player-stat .player-stat-key {
  font-size: 10pt;
  line-height: .7em;
  border-bottom: 1px solid #333366;
  padding-bottom: 1px;
}
.map-players .player .player-stats .player-stat .player-stat-value {
  font-size: 9pt;
  color: #999999;
}

#exports {
  margin-top: 1em;
}
#exports-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: inline-block;
}
#exports-list li {
  display: inline-block;
}
#exports-list li a {
  display: inline-block;
  padding: 5px;
  margin: 5px;
  text-decoration: none;
  color: #ccccff;
  border: 1px solid #666699;
}
#exports-list li a:hover {
  color: #ffffff;
  background: #666699;
}

#about {
  text-align: center;
  margin-top: 2em;
}
#about #about-content {
  display: inline-block;
  margin: 1em;
  border-radius: 10px;
  color: #9999cc;
  max-width: 50em;
  background-color: rgba(48,48,96,.5);
  padding: 1em 1.3em .7em 1.3em;
  text-align: left;
}
#about #about-content .logo {
  font-weight: bold;
  color: #ffffff;
}
#about #about-content > *:first-child {
  margin-top: 0;
}
#about #about-content > *:last-child {
  margin-bottom: 0;
}
#about #about-content .legal-attribution {
  margin: 1em;
  padding: .5em;
  border: 1px solid #666699;
  box-shadow: 0 0 5px #666699;
  background: #000033;
}
#about #about-content h3 {
  color: #ccccff;
  margin-top: 2em;
  margin-bottom: -.5em;
}
#about #about-content .fig-start,
#about #about-content .fig-left,
#about #about-content .fig-right {
  text-align: center;
  background: rgba(48, 48, 96, 0.5);
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(48, 48, 96, 0.5);
  padding: 5px 0;
}
#about #about-content .fig-start {
  margin-top: 1em;
}
#about #about-content .fig-start img {
  margin-top: 5px;
}
#about #about-content .fig-left {
  width: 50%;
}
#about #about-content .fig-right {
  width: 47%;
  float: right;
}
#about #about-content .fig-arrow-left,
#about #about-content .fig-arrow-right {
  margin-bottom: 5px;
  font-size: 200%;
  color: #ccccff;
  text-shadow: 0 0 5px #666699;
  text-align: center;
}
#about #about-content .fig-arrow-left {
  width: 50%;
}
#about #about-content .fig-arrow-right {
  width: 47%;
  float: right;
}
