/* fallback */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/materialicons/v53/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
}

.navbar-fixed {
  z-index: 999;
}

.theme-color {
  background-color: #402652 !important;
}

.secondary-color {
  background-color: #261630 !important;
}

.none {
  display: none;
}

table#standings th {
  background-color: #402652;
  color: #ffffff;
  border-radius: 0;
  font-size: 15.6px;
}

table#standings th:first-child{
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

table#standings th:last-child {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

table#standings td {
  padding: 5px 3px 4px 3px;
}

table#standings tr:last-child {
  border-bottom: 3px solid #402652;
}

.card-schedule {
  padding: 20px;
  margin: 25px auto;
  -webkit-box-shadow: 7px 7px 8px -6px rgba(64,38,82,0.15);
  -moz-box-shadow: 7px 7px 8px -6px rgba(64,38,82,0.15);
  box-shadow: 7px 7px 8px -6px rgba(64,38,82,0.15);
  border-radius: 4px 4px 4px 4px;
  -moz-border-radius: 4px 4px 4px 4px;
  -webkit-border-radius: 4px 4px 4px 4px;
  border: 1px solid #f7e6de;
  position: relative;
  overflow: auto;
}

.card-schedule.ahead {
  max-width: 600px;
}

.card-schedule > .team-vs > div:nth-child(1),
.card-schedule > .team-vs > div:nth-child(3) {
  font-weight: 600;
  font-size: 16px;
}

.card-schedule > .team-vs > div:nth-child(4) {
  margin-top: 15px;
  margin-bottom: 15px;
  color: #402652;
}

.card-schedule:nth-child(1) {
  margin-bottom: 40px;
}

.save-schedule {
  background-color: #402652;
  color: #ffffff;
  margin: 0 -20px -20px -20px;
  padding: 3px 3px 5px 3px;
  text-align: center;
  text-decoration: none;
}

.save-schedule:hover {
  background-color: #513963;
  color: #ffffff;
  cursor: pointer;
}

.save-schedule-ahead {
   background-color: #402652;
  color: #ffffff;
  margin: 0 -20px -20px -20px;
  padding: 3px;
  text-align: center;
  text-decoration: none;
}

.saved-schedule-ahead {
  background-color: #faedea;
  color: #000000;
  margin: 0 -20px -20px -20px;
  padding: 3px;
  text-align: center;
  text-decoration: none;
}

.unsave-schedule-ahead {
  background-color: #faedea;
  color: #000000;
  margin: 0 -20px -20px -20px;
  padding: 3px;
  text-align: center;
  text-decoration: none;
}

.save-schedule-ahead:hover {
  background-color: #513963;
  color: #ffffff;
  cursor: pointer;
}

.saved-schedule-ahead:hover {
  color: #000000;
  cursor: not-allowed;
}

.unsave-schedule-ahead:hover {
  background-color: #e6e4e3;
  cursor: pointer;
}

div.vs-text {
  margin-top: 15px;
}

div.home-team {
  margin-top: 20px;
}

div.match-stadium {
  margin-top: 25px;
}

div.match-date {
  color: #402652;
}

#headToHead td {
  padding: 5px 0;
}

.team-vs {
  text-align: center;
}

.team-image  {
  position: absolute;
  top: 20px;
}

.team-image.home {
  left: 20px;
}

.team-image.away {
  right: 20px;
}

.team-image > img {
  height: 80px;
}

.header-image {
  background-image: url('/image/header.png');
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-background-size: cover;
  background-size: cover;
  margin-top: -35px;
  margin-bottom: 70px;
}

.header-image h2 {
  display: flex;
  align-items: center; /* align vertical */
  height: 200px;
}

.choose-standings {
  text-align: center;
  margin-bottom: 40px;
}

.page-footer {
  margin-top: 80px;
}

.fetch-failed{
  padding: 10px;
  margin: 10px;
  border: 1px solid rgb(235, 156, 156);
  border-radius: 3px;
}

@media screen and (max-width: 992px) {
  table#standings th:first-child{
    border-bottom-left-radius: 0;
    border-top-right-radius: 3px;
  }

  table#standings th:last-child {
    border-top-right-radius: 0;
    border-bottom-left-radius: 3px;
  }

  table#standings th {
    padding: 3px;
    text-align: center;
  }

  table#standings th:nth-child(2) {
    padding: 30px;
  }

  table#standings td {
    text-align: center;
  }

  table#standings tr:last-child {
    border-bottom: 0;
  }

  .header-image {
    margin-bottom: 50px;
  }  
}

@media screen and (max-width: 600px) {
  #containerSinggleMatch {
    text-align: center;
  }
  #containerH2h {
    margin-top: 40px;
  }

  .header-image {
    margin-bottom: 0;
  }  
}

@media screen and (max-width: 425px) {
  .card-schedule.ahead img {
    display: none;
  }
}