body.api-simple {
  background: transparent !important;
  /*overflow: hidden !important;*/
}

#siteFooter.api-simple {
  display: none;
}

body.api-simple #api-logo {
  display: none;
}

body.api-simple #content {
  padding: 0;
  margin: 0;
}

body.api-simple .widget.team-overview {
  width: 100% !important;
}

#api-logo {
  width: 100%;
  position: fixed;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  top: 0;
  left: 0;
  z-index: 1000000;
  height: 34px;
  opacity: 1;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

#api-logo.scrolled {
  opacity: 0.6;
}

#api-logo .black_bar {
  width: 100%;
  height: 5px;
  background: #232323;
}

#api-logo .logo {
  float: right;
  position: relative;
  height: 30px;
  border-bottom-left-radius: 6px;
  background: #232323;
}

#api-logo .stats_by_text {
  position: absolute;
  color: #fff;
  font-weight: bold;
  left: -60px;
  width: 100px;
  padding: 0px 0 6px 8px;
  z-index: 1;
  background: #232323;
}

#api-logo .radius-corner {
  width: 13px;
  height: 12px;
  position: absolute;
  left: -13px;
  top: -1px;
  background-image: url("../siteimg/border-radius-inverted.png");
}

#api-logo .logo a {
  float: left;
  z-index: 2;
  position: relative;
  padding: 0 6px 0 6px;
}

#api-logo .logo a img {
  height: 24px;
}

.widget.team-overview {
  width: 98% !important;
}

table.matches-table tr.match td.form-home, table.matches-table tr.match td.form-away {
  width: 85px;
}

table.matches-table tr.match td.link a {
  position: relative;
  top: -2px;
}

@media screen and (max-width: 670px) {
  table.matches-table tr.match td.status, table.matches-table.inactive-matches tr.match td.status {
    width: 54px;
  }
  table.matches-table tr.match td a .form-box {
    font-size: 0.95em;
  }
  table.matches-table tr.match td.team-home a, table.matches-table tr.match td.team-away a {
    color: #0066c0;
  }
  body.api {
    font-size: 14px !important;
  }
  body.api .form-box {
    font-size: 12px !important;
  }
  table.full-league-table tr td.crest, table.full-league-table tr th.crest {
    display: table-cell;
  }
  table.full-league-table tr td.team, table.full-league-table tr th.team {
    width: 110px !important;
  }
  table.full-league-table tr td.position, table.full-league-table tr th.position, table.mobify-table * {
    font-size: 14px !important;
  }
}

@media screen and (max-width: 450px) {
  table.full-league-table tr td.team, table.full-league-table tr th.team {
    width: 90px !important;
  }
  table.full-league-table tr td.position, table.full-league-table tr th.position, table.mobify-table * {
    font-size: 13px !important;
  }
  .tiny-invisible {
    display: none !important;
  }
  #content {
    margin: 42px 0 0 0 !important;
  }
  body.api-simple #content {
    margin: 0 !important;
  }
  body.api .form-box {
    font-size: 11px !important;
  }
  #hover-modal .hover-modal-club table.stats-preview-table tr td:first-child, #hover-modal .hover-modal-club table.form-preview-table tr td:first-child, .overview-stats-table table.stats-preview-table tr td:first-child, .overview-stats-table table.form-preview-table tr td:first-child, .surfaced-modal .hover-modal-club table.stats-preview-table tr td:first-child, .surfaced-modal .hover-modal-club table.form-preview-table tr td:first-child {
    font-size: 0.9em !important;
  }
  .col-xs-12 {
    width: 100% !important;
    max-width: 100% !important;
  }
  table.matches-table tr.match td.form-home, table.matches-table tr.match td.form-away {
    display: none;
  }
  table.matches-table tr.match td.link {
    display: none;
  }
  table.matches-table tr.match td a .form-box {
    font-size: 0.83em;
  }
  table.matches-table tr.match td.team-home a, table.matches-table tr.match td.team-away a {
    color: #111;
  }
  table.matches-table tr.match td.status, table.matches-table.inactive-matches tr.match td.status {
    width: 15%;
  }
}
