/*Календарь игр*/
/*Контролы*/
.calendar {
  position: relative;
}

.calendar .calendar-controls .sfl-tabs,
.calendar .calendar-controls {
  background-color: #576075;
}

.calendar .calendar-controls-item {
  padding: 12px 20px;
  border-left: 1px solid #646d82;
}

.calendar .calendar-controls-item .sfl-checkbox .sfl-checkbox-check {
  width: 18px;
  height: 18px;
  background-color: #ffffff;
}

.calendar .calendar-controls-item .sfl-checkbox > span {
  font-size: 15px;
  color: #ffffff;
}

.calendar .calendar-controls-item .sfl-checkbox .sfl-checkbox-check:before {
  top: 1px;
  left: 1px;
}

/*Секции*/
.calendar .calendar-item {

}

.calendar .calendar-item-title {
  padding: 0 26px;
  background-color: #9097a8;
  font-size: 17px;
  color: #ffffff;
  line-height: 40px;
}

.calendar .calendar-item-matches > table {
  border-collapse: collapse;
  width: 100%;
  background-color: #ffffff;
}

.calendar .calendar-item-matches > table.with-tournament td.info,
.calendar .calendar-item-matches > table.with-tournament td.tournament-cont {
  border-left: 1px solid #eaeaea;
  border-right: 1px solid #eaeaea;
}

.calendar .calendar-item-matches > table:not(.with-tournament) tr:not(:last-child) {
  border-bottom: 1px solid #dddddd;
}

.calendar .calendar-item-matches > table td {
  padding: 10px 2px;
}

.calendar .calendar-item-matches > table .info {
  min-width: 332px;
  padding-left: 26px;
  position: relative;
}

.calendar .calendar-item-matches > table.with-tournament .info {
  min-width: 240px;
}

.calendar .calendar-item-matches > table .info:before {
  content: '';
  position: absolute;
  top: 18px;
  left: 0;
  height: 60%;
  width: 1px;
  background-color: #eaeaea;
}

.calendar .calendar-item-matches > table .info .info-date {
  display: inline-block;
  font-size: 19px;
  color: #000000;
}

.calendar .calendar-item-matches > table .info .info-place {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  color: #636363;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 8px;
  display: inline-block;
}

.calendar .calendar-item-matches > table .info .info-place:before {
  content: '';
  position: absolute;
  top: 1px;
  left: 0;
  width: 10px;
  height: 15px;
  background-image: url('../img/geo-icon.png');
}

.calendar .calendar-item-matches > table .tournament-cont {
  max-width: 178px;
  min-width: 178px;
  padding: 0 26px;
  position: relative;
}

.calendar .calendar-item-matches > table .tournament-cont .tournament-title,
.calendar .calendar-item-matches > table .tournament-cont .round-title {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  font-size: 20px;
  text-align: right;
}

.calendar .calendar-item-matches > table .tournament-cont .tournament-title:hover,
.calendar .calendar-item-matches > table .tournament-cont .round-title:hover {
  text-decoration: underline;
}

.calendar .calendar-item-matches > table .tournament-cont .tournament-title {
  font-size: 17px;
  color: #000000;
  text-transform: uppercase;
}

.calendar .calendar-item-matches > table .tournament-cont .round-title {
  font-size: 15px;
  color: #636363;
}

.calendar .calendar-item-matches > table .team-title {
  width: 206px;
}

.calendar .calendar-item-matches > table .team-title > a {
  font-size: 17px;
  color: #636363;
  display: block;
}

.calendar .calendar-item-matches > table .team-title > a:hover {
  text-decoration: underline;
}

.calendar .calendar-item-matches > table .team-title.team1 > a {
  text-align: right;
  padding-right: 8px;
}

.calendar .calendar-item-matches > table .team-title.team2 > a {
  text-align: left;
  padding-left: 8px;
}

.calendar .calendar-item-matches > table .team-image > a {
  width: 40px;
  height: 40px;
  box-sizing: border-box;
  display: block;
  margin: auto;
}

.calendar .calendar-item-matches > table .team-image > a img {
  width: 100%;
  height: 100%;
  border: 1px solid #dddddd;
  border-radius: 3px;
}

.calendar .calendar-item-matches > table .team-score {
  width: 80px;
}

.calendar .calendar-item-matches > table .team-score > a {
  text-align: center;
  font-size: 17px;
  color: #000000;
  display: block;
}

.calendar .calendar-item-matches > table .team-score > a:hover {
  text-decoration: underline;
}

.calendar .calendar-item-matches > table .team-score > a .additional {
  font-size: 13px;
  color: #636363;
}

.calendar.no-titles .calendar-item-title {
  display: none;
}

.calendar.no-titles .calendar-item-matches {
  position: relative;
}

.calendar.no-titles .calendar-item {
  margin-bottom: 0;
}

.calendar.no-titles .calendar-item:not(:last-child) .calendar-item-matches:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #eaeaea;
}

@media (max-width: 481px) and (orientation: portrait) {

  .calendar {
    padding-top: 50px;
  }

  #teamCalendar .calendar,
  .match-history .calendar{
    padding-top: 0;
  }

  .tab-slider ~ .calendar {
    padding-top: 0;
  }

  .calendar .calendar-item-matches > table td {
    padding: 8px 5px;
  }

  .calendar .calendar-item-matches > table .info,
  .calendar .calendar-item-matches > table.with-tournament .info {
    padding-left: 12px;
    min-width: 60px;
  }

  .calendar .calendar-item-matches > table .info .info-date {
    font-size: 13px;
  }

  .calendar .calendar-item-matches > table .team-title > a {
    font-size: 14px;
  }

  .calendar .calendar-item-matches > table .team-title.team1 > a {
    padding-right: 0;
  }

  .calendar .calendar-item-matches > table .team-title.team2 > a {
    padding-left: 0;
  }

  .calendar .calendar-item-matches > table .team-score > a {
    font-size: 14px;
    min-width: 28px;
  }

  .calendar .calendar-item-matches > table .team-score > a .additional {
    font-size: 9px;
  }

  .calendar .calendar-item-title {
    padding: 0 12px;
    font-size: 14px;
  }

  .calendar-controls .sfl-tabs {
    margin: 0;
    float: left;
  }

  .sfl-tabs.tabs-style-2 > ul > li > a {
    font-size: 14px;
    line-height: 40px;
    padding: 0 12px;
  }

  .calendar .calendar-controls-item {
    padding: 9px;
    border: none;
  }

  .calendar .calendar-controls-item .sfl-checkbox > span {
    font-size: 13px;
    margin-left: 5px;
  }

  .tab-slider {
    margin-top: 50px;
  }

  .tab-slider.mini {
    margin: 0;
  }

  .tab-slider-cont .tab-slider-link {
    font-size: 16px;
    line-height: 40px;
  }

  .calendar .calendar-item-matches > table .info:before {
    display: none;
  }
}
