.team {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  cursor: pointer;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  min-width: 120px;
  max-width: 250px;
  padding: 10px;
  margin: 10px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  background-color: #f5f5f5;
  border: 1px solid #ffffff;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.1); }
  .team.selected {
    background-color: #ffffff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); }
  .team.large {
    max-width: 100%;
    cursor: default; }

.team--text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between; }

.team--title {
  margin: 0;
  font-weight: 800;
  font-size: 10px;
  text-transform: uppercase; }
  .large .team--title {
    font-size: 16px; }

.team--league {
  font-size: 8px;
  text-transform: uppercase;
  color: #888888; }
  .large .team--league {
    font-size: 12px; }

.team--colors {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  height: 25px;
  padding-top: 10px;
  margin-top: auto; }
  .large .team--colors {
    height: 40px; }

.team--color {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  overflow: hidden; }

.team--color--add {
  display: none;
  -webkit-box-flex: initial;
      -ms-flex: initial;
          flex: initial;
  padding: 10px;
  font-weight: bold;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  background-color: #eeeeee; }
  .large .team--color--add {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex; }
  .team--color--add:hover {
    background-color: #dddddd; }

.team--color--name {
  display: none;
  padding: 3px;
  font-size: 9px;
  background: rgba(255, 255, 255, 0.5); }
  .team--color--name input {
    background: none;
    border: none;
    outline: none;
    width: 60px; }
  .large .team--color--name {
    display: block;
    padding: 3px;
    font-size: 9px;
    background: rgba(255, 255, 255, 0.5); }

.team--color--controls {
  position: absolute;
  right: 7px;
  display: none;
  width: 60px; }
  .large .team--color--controls {
    display: block; }

.team--color--control {
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  display: none;
  float: right;
  cursor: pointer;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 15px;
  height: 15px;
  padding: 3px;
  margin: 0 2px;
  font-size: 9px;
  border-radius: 50%; }
  .large .team--color:hover .team--color--control {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background: #ffffff; }
.svg {
  display: inline-block;
  text-align: center;
  margin: 10px 10px 20px 10px;
  background-color: #ffffff;
  border: 1px solid #ffffff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); }

.svg svg {
  padding: 10px;
  margin: 20px auto; }

.svg a {
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  display: inline-block;
  padding: 5px 10px;
  margin: 5px;
  font-weight: 800;
  font-size: 10px;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  background-color: #f5f5f5;
  border: 1px solid #ffffff;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.3); }
.section {
  padding: 20px;
  margin: 20px;
  background-color: #f0f0f0;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2); }
  .section--heading {
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    text-transform: uppercase;
    cursor: pointer; }
    .section--heading .section--indicator,
    .section--heading .section--title {
      display: inline-block; }
    .section--heading .section--indicator {
      display: inline-block;
      width: 18px;
      margin-right: 10px;
      font-size: 25px; }
  .section--content {
    overflow: auto;
    max-height: 1000px;
    transition: max-height 0.5s ease; }
  .section.collapsed .section--content {
    max-height: 0; }
body,
html {
  width: 100%;
  height: 100%; }

body {
  padding: 0;
  margin: 0;
  font-family: sans-serif; }

* {
  box-sizing: border-box; }

.team-selector {
  padding: 10px; }

.team-colors {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; }

.leagues {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  margin-top: 20px; }

.leagues input,
button {
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  padding: 10px 15px;
  margin-left: 15px;
  font-size: 12px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  background: #f5f5f5;
  border: 1px solid #ffffff;
  outline: none; }

.selected-teams .section--content > div:first-child {
  margin-top: 30px; }

.leagues input:focus {
  background-color: #ffffff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); }

.league {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  cursor: pointer;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 70px;
  height: 70px;
  text-align: center;
  padding: 10px;
  margin: 10px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  background-color: #f5f5f5;
  border: 1px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.1); }
  .league.active {
    background-color: #ffffff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); }

.download button {
  margin: 1px;
  cursor: pointer;
  background-color: #ffffff;
  border: 1px solid #ffffff;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.3); }

.download--filters {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  padding: 20px 0;
  margin: 1px; }

.svg-filter {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  height: 40px; }

.svg-filter--svg > svg {
  max-width: 100%;
  height: auto; }

.svg-filter--svg,
.svg-filter--type {
  cursor: pointer;
  width: 50px;
  height: 50px;
  padding: 5px;
  margin-right: 19px;
  transition: opacity 0.2s ease, background-color 0.2s ease;
  background: #f5f5f5;
  opacity: 0.5;
  overflow: hidden;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.4);
  -webkit-filter: grayscale(100%);
          filter: grayscale(100%); }
  .svg-filter--svg.active,
  .svg-filter--type.active {
    background: #ffffff;
    opacity: 1; }
    .svg-filter--svg.active:hover,
    .svg-filter--type.active:hover {
      opacity: 0.7; }

.svg-filter--type {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-weight: bold;
  font-size: 11px;
  text-transform: uppercase; }
