/*---------------------rating-category------------------------*/
.update {
  padding: 30px;
}

.update li {
  color: #fff;
  margin-bottom: 10px;
}

.rating-category-body {
  position: relative;
  padding: 60px 0 40px 0;
  background: #3a3851;
}

.rating-place-row {
  min-height:310px;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -20px;
  z-index: 1;
}

.rating-place-row:before, .rating-place-row:after {
  content: '';
  display: block;
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
}

.rating-place-row:before {
  bottom: 10px;
  left: -50px;
  width: 308px;
  height: 269px;
  background-image: url(/images/rating-category-shape1.png);
}

.rating-place-row:after {
  top: -60px;
  right: -90px;
  width: 326px;
  height: 258px;
  background-image: url(/images/rating-category-shape2.png);
}

.rating-place-column {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 33.333%;
  flex: 1 1 33.333%;
  max-width: 33.333%;
  padding: 0 20px;
  margin-bottom: 40px;
 display:none;
}

.rating-place-item {
  text-align: center;
}

.rating-place-item_red .rating-place-item__image {
  border-color: #ff480f;
}

.rating-place-item_red .rating-place-item__number {
  color: #ff480f;
}

.rating-place-item_red .rating-place-item__title {
  background: #ff480f;
}

.rating-place-item_yellow .rating-place-item__image {
  border-color: #fcea1c;
}

.rating-place-item_yellow .rating-place-item__number {
  color: #fcea1c;
}

.rating-place-item_yellow .rating-place-item__title {
  background: #fcea1c;
  color: #2f2e42;
}

.rating-place-item_green .rating-place-item__image {
  border-color: #94c11f;
}

.rating-place-item_green .rating-place-item__number {
  color: #94c11f;
}

.rating-place-item_green .rating-place-item__title {
  background: #94c11f;
}

.rating-place-item__image {
  margin-bottom: 15px;
  height: 185px;
  border: 6px solid #94c11f;
  -webkit-box-shadow: 9.9px 9.9px 10px rgba(0, 0, 0, 0.14);
  box-shadow: 9.9px 9.9px 10px rgba(0, 0, 0, 0.14);
}

.rating-place-item__number {
  font-family: 'Code-Pro-Black-LC';
  font-size: 32px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 36px;
  color: #94c11f;
}

.rating-place-item__title {
  display: inline-block;
  padding: 3px 10px;
  font-family: 'MyriadPro';
  text-transform: uppercase;
  font-size: 18px;
  background-color: #94c11f;
  color: #fff;
}


.rating-descr {
    max-width:600px;
    color:#ffffff;
    display:none;
    margin:40px auto 0;
}

.rating-category-bottom {
  text-align: center;
} 

.rating-category__btn {
  display: inline-block;
  position: relative;
  padding: 12px 50px 12px 40px;
  background-color: white;
  font-size: 13px;
  color: #2f2e42;
  font-weight: 500;
  border-radius: 18px;
}
  
.rating-category__btn:after {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  right: 25px;
  margin-top: -2.5px;
  width: 9px;
  height: 5px;
  background-image: url(/images/icon-arrow-down.png);
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.rating-category__btn.active:after {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  right: 25px;
  margin-top: -2.5px;
  width: 9px;
  height: 5px;
  transform:rotate(180deg);
  background-image: url(/images/icon-arrow-down.png);
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
  
.rating-descr {
    max-width:600px;
    color:#ffffff;
    display:none;
    margin:40px auto 0;
}


/*---------------------rating-stats------------------------*/
.rating-stats {
  padding: 55px 0 45px 0;
  background: #fff;

}

.rating-top {
  margin-bottom: 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.rating-top-left {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.rating-period {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-right: 20px;
}

.rating-period__btn {
  display: inline-block;
  padding: 11px 25px;
  font-family: 'MyriadPro';
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  color: #5a587e;
  background-color: #f1f0f8;
  border-radius: 19px;
}

.rating-period__btn:first-child {
  border-radius: 19px 0px 0px 19px;
}

.rating-period__btn:last-child {
  border-radius: 0px 19px 19px 0px;
}

.rating-period__btn.active {
  background-color: #3a3851;
  color: #fff;
}

.rating-search__field {
  width: 260px;
  height: 38px;
  padding: 0 20px;
  border: 1px solid #e6e5e5;
  color: #bdbcd1;
  font-size: 14px;
  border-radius: 19px;
}

.rating-all-cities {
  display: inline-block;
  padding: 11px 36px;
  font-family: 'MyriadPro';
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  color: #5a587e;
  background-color: #f1f0f8;
  border-radius: 19px;
}

.rating-all-cities:hover {
  background-color: #b2acde;
  color: #fff;
}

.rating-all-cities.active {
  background-color: #3a3851;
  color: #fff;
}

.rating-table {
    position:relative;
  margin-bottom: 35px;
}

.rating-table table {
  width: 100%;
  font-family: 'MyriadPro';
}

.rating-table table tr:hover td {
  background: #ffece7;
  cursor:pointer;
}

.rating-table table tr .rating-table__team a {
    color:#2f2e42;
}

.rating-table table tr:hover .rating-table__team,
.rating-table table tr:hover .rating-table__team a {
  color: #ff480f;
}

.rating-table table th {
  position: relative;
  vertical-align: middle;
  padding-right: 30px;
  padding: 10px 30px 10px 15px;
  white-space: nowrap;
  font-size: 15px;
  height: 52px;
  text-align: left;
  color: #c7c7de;
  background-color: #3a3851;
  border-right: 1px solid #616074;
}

.rating-table table th.active {
  background: #2f2e42;
  color: #fff;
}

.rating-table table th:first-child {
/*  padding-left: 30px; */
}

.rating-table table th:last-child {
  border-right: 0;
}

.rating-table table td {
  padding-left: 30px;
  vertical-align: middle;
  font-size: 22px;
  color: #2f2e42;
  white-space: nowrap;
  padding: 10px 10px 10px 15px;
  border-bottom: 1px solid #d5d5d9;
}

.rating-table table td:first-child {
  width: 20px;
  padding-left: 30px;
  font-size: 20px;
  white-space: normal;
}

.rating-table table td:last-child {
  padding: 8px 0;
}

.rating-table.notall table th:nth-child(7),
.rating-table.notall table td:nth-child(7)
{
    display:none;
}

.rating-table__crown {
  margin-left: 10px;
}

.rating-filter-arrows {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 10px;
}

.rating-filter__arrow {
  display: block;
  margin: 3px 0;
  width: 9px;
  height: 6px;
  background-size: 9px 6px;
}

.rating-filter__arrow.arrow-up {
  background-image: url(/images/icon-sort-up.png);
}

.rating-filter__arrow.arrow-up.active {
  background-image: url(/images/icon-sort-up-active.png);
}

.rating-filter__arrow.arrow-down {
  background-image: url(/images/icon-sort-down.png);
}

.rating-filter__arrow.arrow-down.active {
  background-image: url(/images/icon-sort-down-active.png);
}

.rating-filter__arrow.active {
  color: #fff;
}

.rating-table__status {
  width: 248px;
}

.rating-table__status img {
  max-width: 100%;
}

.rating-download {
  text-align: center;
}

.rating-download__btn {
  display: inline-block;
  padding: 8px 16px;
  font-family: 'MyriadPro';
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  color: #5a587e;
  background-color: #f1f0f8;
  border-radius: 3px;
}

.rating-download__btn:hover {
  background-color: #3a3851;
  color: #fff;
}
/*==============================ADAPTIVE==============================*/

@media only screen and (max-width: 1260px) {
  .rating-place-row {
    margin: 0 -10px;
  }
  .rating-place-column {
    padding: 0 10px;
  }
}

@media screen and (max-width: 1240px) {
  .winner-team {
    width: 28vw;
  }
}

@media screen and (max-width: 1010px) {
  .rating-place-row {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .rating-place-column {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 50%;
    flex: 1 1 50%;
    max-width: 50%;
  }
  .rating-stats .center-wrapper {
    max-width: 768px;
    padding: 0 0 0 15px;
  }
  .rating-table {
    overflow-y: auto;
  }
  .rating-table::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
  }
  .rating-table::-webkit-scrollbar-thumb {
    border-radius: 8px;
    border: 3px solid #fff;
    background-color: rgba(0, 0, 0, 0.7);
  }
  .rating-table table td {
    font-size: 18px;
  }
  .rating-table table td:first-child {
    font-size: 18px;
  }
  .rating-search__field {
    width: 230px;
  }
  .rating-top {
    padding-right: 15px;
  }
}
@media only screen and (max-width: 767px) {
  .rating-stats {
    min-height: auto;
  }

  
  .rating-table table th:first-child,
  .rating-table table td:first-child {
/*    padding-left: 20px; */
  }

  .rating-table table th,
  .rating-table table td {
  padding:5px 5px;
  white-space:initial;
  font-size:12px;
  }

    .rating-table__team { font-size:12px; }

  .rating-table table .rating-filter-arrows { display:none; }
  
  .rating-table__status { width:150px; }

  .rating-top {
    display: block;
  }
  .rating-top-left {
    margin-bottom: 15px;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  .rating-period {
    margin-right: 0;
  }
  .rating-all-cities {
    width: 237px;
  }
}
@media only screen and (max-width: 639px) {
  .rating-place-row {
    display: block;
  }
  .rating-place-column {
    max-width: 100%;
  }
  .rating-place-item__image {
    height: 250px;
  }
  .rating-top-left {
    display: block;
    padding-right: 0;
  }
  .rating-period {
    margin-bottom: 15px;
  }
}
@media screen and (max-width: 480px) {
  .raiting-title-content__title {
    font-size: 6vw;
  }
  .winner-team {
    display: block;
    width: 70%;
    text-align: center;
    margin: 4vw auto;
  }
  .winner-team .raiting-position {
    font-size: 7.5vw;
  }
  .winner-team .team-name {
    font-size: 3.6vw;
  }
  .winner-team img {
    border: 1.4vw solid;
  }
  .what-is-raiting {
    font-size: 3vw;
    width: 40vw;
    margin: 20vw auto;
  }
  .raiting-form {
    width: 90%;
  }
  #raiting-table {
    font-size: 2.5vw;
  }
  #raiting-table th {
    font-size: 2.2vw;
  }
  #all-time, #season-time, #all-city, #raiting-search {
    font-size: 1.7vw;
  }
  #load-more {
    font-size: 2vw;
  }
}

@media only screen and (max-width: 479px) {
  .rating-place-item__image {
    height: 195px;
  }
  .rating-all-cities {
    width: 100%;
  }
  .rating-search__field {
    width: 100%;
  }
  .rating-period__btn {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 50%;
    flex: 1 1 50%;
  }
}
@media screen and (max-device-width: 400px) {
  .raiting-form {
    width: 98%;
    text-align: center;
  }
  #raiting-table {
    font-size: 3.5vw;
  }
  #raiting-table tr td:first-child {
    text-align: left;
  }
  #raiting-table th {
    font-size: 3vw;
  }
  #all-time, #season-time, #all-city, #raiting-search {
    font-size: 4vw;
  }
  #raiting-search {
    margin-left: 0;
  }
  #all-city {
    float: none;
  }
  #load-more {
    font-size: 4vw;
  }
}
