.sfl-calendar {
  position: relative;
  z-index: 5;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
  background-color: #292f3c;
}

.sfl-calendar .sfl-calendar-header {
  height: 56px;
  position: relative;
}

.sfl-calendar .sfl-calendar-header-first {
  height: 56px;
  line-height: 56px;
}

.sfl-calendar .sfl-calendar-header-first-title {
  position: relative;
  width: 116px;
  padding: 0 36px;
  box-sizing: border-box;
  font-size: 16px;
  color: #ffffff;
  cursor: pointer;
}

.sfl-calendar .sfl-calendar-header-first-title.open {
  background-color: #3c4863;
}

.sfl-calendar .sfl-calendar-header-first-title:before {
  content: "\f0c9";
  position: absolute;
  left: 12px;
  top: 0;
  width: 22px;
  height: 21px;
  font-family: 'FontAwesome';
  font-size: 14px;
}

.sfl-calendar .sfl-calendar-header-first-leagues {
  height: 100%;
  width: calc(100% - 116px - 300px);
  box-sizing: border-box;
}

.sfl-calendar .sfl-calendar-header-first-leagues .left-arrow,
.sfl-calendar .sfl-calendar-header-first-leagues .right-arrow {
  height: 56px;
  width: 12px;
  padding: 0 10px;
  cursor: pointer;
  display: inline-block;
  float: left;
  position: relative;
}

.sfl-calendar .sfl-calendar-header-first-leagues .left-arrow.disable,
.sfl-calendar .sfl-calendar-header-first-leagues .right-arrow.disable {
  visibility: hidden;
}

.sfl-calendar .sfl-calendar-header-first-leagues .left-arrow:after,
.sfl-calendar .sfl-calendar-header-first-leagues .right-arrow:after {
  content: '';
  position: absolute;
  top: calc(50% - 6px);
  left: calc(50% - 3px);
  width: 6px;
  height: 12px;
  background-image: url(../img/chevron-spray.png);
  background-size: 22px 12px;
}

.sfl-calendar .sfl-calendar-header-first-leagues .right-arrow:after {
  transform: rotate(180deg);
}

.sfl-calendar .sfl-calendar-header-first-leagues-cont {
  width: calc(100% - 64px);
  height: 56px;
  overflow: hidden;
}

.sfl-calendar .sfl-calendar-header-first-leagues ul {
  list-style-type: none;
  width: 1000%;
  padding: 10px 0;
}

.sfl-calendar .sfl-calendar-header-first-leagues ul > li {
  float: left;
  display: block;
  width: calc(712px / 5);
  height: 36px;
  padding: 0 10px;
  box-sizing: border-box;
  color: #0090b5;
  font-size: 16px;
  text-align: center;
  line-height: 36px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.sfl-calendar .sfl-calendar-header-first-leagues ul > li.active {
  color: #ffffff;
  background-color: #353f55;
}

.sfl-calendar .sfl-calendar-cont {
  background-color: #fff6e6;
}

.sfl-calendar .sfl-calendar-cont > .wrapper {
  position: relative;
}

.sfl-calendar .sfl-calendar-cont > .wrapper:before {
  content: '';
  position: absolute;
  top: -10px;
  left: 4px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #fff6e6;
}

.sfl-calendar .sfl-calendar-cont-children,
.sfl-calendar .sfl-calendar-cont-divisions {
  margin-top: 12px;
}

.sfl-calendar .sfl-calendar-cont-children {
  margin-right: 8px;
}

.sfl-calendar .sfl-calendar-cont {
  position: relative;
  height: 122px;
  background-color: #445273;
}

.sfl-calendar .sfl-calendar-cont .left-arrow,
.sfl-calendar .sfl-calendar-cont .right-arrow {
  text-align: center;
  cursor: pointer;
  width: 52px;
  height: 122px;
  position: relative;
}

.sfl-calendar .sfl-calendar-cont .left-arrow:after,
.sfl-calendar .sfl-calendar-cont .right-arrow:after {
  content: '';
  position: absolute;
  top: calc(50% - 12px);
  left: calc(50% - 6px);
  width: 12px;
  height: 24px;
  background-image: url(../img/chevron-spray.png);
  background-size: 44px 25px;
  background-repeat: no-repeat;
}

.sfl-calendar .sfl-calendar-cont .right-arrow:after {
  transform: rotate(180deg);
}

.sfl-calendar .sfl-calendar-cont .left-arrow {
  left: 0;
}

.sfl-calendar .sfl-calendar-cont .right-arrow {
  right: 0;
}

.sfl-calendar .sfl-calendar-cont .left-arrow.disable:after,
.sfl-calendar .sfl-calendar-cont .right-arrow.disable:after {
  opacity: 0.4;
}

.sfl-calendar .empty-matches {
  text-align: center;
  width: 100%;
  color: #ffffff;
  font-size: 15px;
  display: block;
  line-height: 122px;
}

.sfl-calendar .sfl-calendar-cont-matches {
  width: calc(100% - 105px);
  height: 122px;
  overflow: hidden;
}

.sfl-calendar .sfl-calendar-cont-matches-cont {
  list-style-type: none;
  width: 10000%;
}

.sfl-calendar .match {
  float: left;
  width: calc(1112px / 5);
  height: 122px;
  display: block;
  position: relative;
  padding: 20px;
  box-sizing: border-box;
}

.sfl-calendar .sfl-calendar-cont-matches-cont .match:nth-child(odd) {
  background-color: #445273;
}

.sfl-calendar .sfl-calendar-cont-matches-cont .match:nth-child(even) {
  background-color: #48597a;
}

.sfl-calendar .match > a {
  display: block;
}

.sfl-calendar .match-date {
  font-size: 12px;
  text-align: left;
  color: #8b9abd;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}

.sfl-calendar .match-cont {
  position: relative;
  z-index: 2;
}

.sfl-calendar .match-cont .match-team {
  width: 150px;
  height: 24px;
}

.sfl-calendar .match-cont .match-team:first-child {
  margin-bottom: 8px;
}

.sfl-calendar .match-team-title {
  width: 118px;
  max-width: 118px;
  font-size: 16px;
  color: #bccbe1;
  line-height: 24px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sfl-calendar .match-team-score {
  font-size: 16px;
  text-align: left;
  color: #bccbe1;
}

.sfl-calendar .match-team-title.win,
.sfl-calendar .match-team-score.win {
  color: #ffffff;
}

.sfl-calendar .match-score-additional {
  width: 32px;
  font-size: 13px;
  color: #bccbe1;
  line-height: 50px;
  text-align: center;
}

.sfl-calendar .sfl-dropdown .sfl-dropdown-title {
  width: 98px;
  text-align: right;
}

@media (max-width: 481px) and (orientation: portrait) {
  .sfl-calendar .sfl-calendar-cont-divisions,
  .sfl-calendar-cont-children {
    display: none !important;
  }

  .sfl-calendar .sfl-calendar-cont-children,
  .sfl-calendar .sfl-calendar-cont-divisions {
    margin: 0;
  }

  .sfl-calendar .sfl-calendar-header-first-leagues .left-arrow,
  .sfl-calendar .sfl-calendar-header-first-leagues .right-arrow {
    display: inline-block !important;
  }

  .sfl-calendar .sfl-calendar-header-first-leagues {
    width: calc(100% - 116px);
  }

  .sfl-calendar .sfl-calendar-header-first-leagues-cont {
    width: calc(100% - 64px);
  }
}
