@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
body {
    background:#F4F6F7;
    font-family: "Inter", sans-serif;
    color:#21262B;
} 
.gray-btn{
    background:#E2E8EB;
    color:#21262B;
}
.fw-medium {
  font-weight: 500; 
}

.btn-search {
    background:#363D43;
    transitiom:0.2s;
}
.btn-search:hover {
    background:#363D43;
}

#searchInput{
    border:1px solid #78909C;
    outline:none;
    box-shadow: none;
    color:#21262B;
}
#searchInput:focus{
    border:1px solid #363D43;
    outline:none;
    box-shadow: none;
}
#searchInput:focus + .btn-search {
    background:#363D43;
}
.search-form #suggestions .list-group-item {
    background:#fff;
    text-align:left;
    padding:5px 16px;
    cursor:pointer;
}
.search-form #suggestions .list-group-item:hover {
    background:#F4F6F7;
}
.search-form #suggestions .list-group-item:first-child {
    border-radius:0 0 0 0;
}

.footer{
    background:#E2E8EB;
}
.advantages{
    display:flex;
    justify-content:space-between;
}
.advantages__item{
    display:flex;
    align-items:center;
    gap:22px;
}
.advantages__item__icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:58px;
    min-width:58px;
    height:58px;
    border-radius:4px;
    background:#E2E8EB;
}
.advantages__item__val{
    font-size:24px;
    color:#292929;
    font-weight:600;
    text-align:left;
    line-height:120%;
}
.advantages__item__text{
    font-size:14px;
    color:#21262B;
    text-align:left;
    line-height:140%;
}

.container_white{
    background:#fff;
    border-radius:4px;
}

.breadcrumb{
    padding:24px 0;
    margin:0;
}
.breadcrumb li{
    color:#78909C;
    font-size:14px;
}
.breadcrumb a{
    color:#78909C;
}

.gym{
    display:flex;
    align-items:stretch;
    justify-content:space-between;
    padding:24px;
    background:#fff;
}
.gym__left{
    width:400px;
}
.gym__right{
    width:calc(100% - 424px);
}

.gym__logo{
    display:flex;
    align-items:center;
    justify-content:center;
    background:#F4F6F7;
    width:100%;
    height:500px;
    box-sizing:border-box;
    padding:24px;
}
.gym__logo img{
    max-width:100%;
}
.gym__title{
    font-size:24px;
    line-height:32px;
    color:#21262B;
    font-weight:600;
    margin-bottom:8px;
}
.gym__city{
    font-size:16px;
    font-weight:500;
    color:#78909C;
}

.gym__content{
    font-size:14px;
    line-height:140%;
    color:#21262B;
}
.gym__content p{
    font-size:14px;
    line-height:140%;
    color:#21262B;
    margin:0 0 16px 0;
}
.gym__content p:last-child{
    margin:0;
}
.gym__chars{
    display:flex;
    gap:8px;
    flex-direction:column;
    margin:32px 0 20px 0;
}

.gym__chars__item{
    display:flex;
    gap:16px;
}
.gym__chars__item__key{
    width:260px;
    color:#78909C;
    font-size:14px;
}
.gym__chars__item__value{
    color:#21262B;
    font-size:14px;
}

.gyms-list{
    display:flex;
    flex-direction:column;
    gap:40px;
    padding-bottom:30px;
}
.gyms-list__item{
    display:flex;
    padding:8px;
    border-radius:4px;
    background:#fff;
    gap:9px;
}
.gyms-list__item__left{
    padding:24px;
    border-radius:4px;
    border:1px solid #E2E8EB;
    width:888px;
    box-sizing:border-box;
}
.gyms-list__item__right{
    width:calc(100% - 897px);
    display:flex;
    flex-direction:column;
    gap:9px;
}

.gyms-list__item__logo{
    height:54px;
    width:auto;
}
.gyms-list__item__logo img{
    max-width:100%;
    max-height:100%;
}

.gyms-list__item__top{
    display:flex;
    align-items:center;
    gap:20px;
    border-bottom:1px solid #E2E8EB;
    padding-bottom:12px;
}

.gyms-list__item__title{
    font-size:24px;
    line-height:32px;
    color:#21262B;
    font-weight:600;
}
.gyms-list__item__description{
    padding-top:12px;
    font-size:14px;
    line-height:140%;
    color:#21262B;
    font-weight:400;
}

.gyms-list__item__chars{
    margin-top:20px;
    display:flex;
    flex-direction:column;
    gap:8px;
    font-size:14px;
    line-height:140%;
}
.gyms-list__item__char{
    display:flex;
    gap:10px;
}
.gyms-list__item__char__key{
    color:#78909C;
    width:260px;
}
.gyms-list__item__char__value{
    color:#21262B;
}
.gyms-list__item__btns{
    margin-top:24px;
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
}
.gyms-list__item__btns .btn{
    background:#E2E8EB;
}
.gyms-list__item__price{
    padding:12px 20px;
    border:1px solid #5B737F;
    border-radius:4px;
}
.gyms-list__item__price__label{
    font-size:14px;
    opacity:.6;
    color:#5B737F;
    margin-bottom:2px;
}
.gyms-list__item__price__value{
    font-size:24px;
    line-height:32px;
    color:#5B737F;
    font-weight:600;
}


.pagination{
    padding-bottom:100px;
    margin:0;
    display:flex;
    justify-content:center;
}

.main-title{
    font-size:36px;
    color:#292929;
    margin:0 0 20px 0;
    font-weight:600;
}
.main-title sup{
    color:#78909C;
    font-weight:600;
}

.gyms-list__location{
    padding:24px;
    background:#F4F6F7;
    border-radius:4px;
}
.gyms-list__location__title{
    font-size:24px;
    line-height:32px;
    font-weight:600;
    margin-bottom:12px;
    color:#21262B;
}
.gyms-list__location__address{
    font-size:14px;
    line-height:140%;
}

.gyms-list__shedule{
    padding:24px;
    background:#E2E8EB;
    border-radius:4px;
}
.gyms-list__shedule__title{
    font-size:24px;
    line-height:32px;
    font-weight:600;
    margin-bottom:12px;
    color:#21262B;
}

@media (max-width: 768px) {
    .header-logo img{
        width:100px;
    }
}

.header__links{
    display:flex;
    gap:12px;
}
.header__links__item{
    display:flex;
    gap:4px;
    align-items:center;
    background:#F4F6F7;
    color:#21262B;
    padding:0 27px;
    height:38px;
    font-size:14px;
    line-height:140%;
    border-radius:4px;
    transition:0.2s;
}
.header__links__item.active{
    background:#E2E8EB;
}
.header__links__item:hover{
    background:#E0E4E6;
}
.header__links__item.active{
    background:#CBD3D7;
}
.header__links__item span{
    opacity:0.5;
}

.header__line{
    justify-content:space-between;
    gap:60px;
}

.header__line form{
    width:100%;
}

.modal #citySearchModal{
    border-bottom: 1px solid #78909C;
    border-radius:0;
    padding-left:0;
}
.form-outline .form-control~.form-label {
    left: 0;
}
.city-modal-list{
    margin:0;
}

.cities-found a{
    display:block;
    background: #FFFFFF;
    color: #21262B;
    padding:10px 20px;
    transition:0.2s;
}
.cities-found a:nth-child(even) {
    background: #FAFBFB;
}
.cities-found a:hover{
    background: #E3E7E9;
}
.cities-found a:nth-child(even):hover {
    background: #EAEFF1;
}


.popular-wrap{
    padding:40px;
    background:#fff;
    border-radius:4px;
}
.popular-wrap h2{
    margin-bottom:32px;
}
.popular-wrap h2 span{
    color:#78909C;
}

.popular_blocks{
    width:100%;
    display:flex;
    gap:20px;
}
.popular_block{
    border:1px solid #C9D4D8;
    border-radius:4px;
    width:calc((100% - 20px) / 2 );
    box-sizing:border-box;
    padding:20px;
}

.popular_block__title{
    display:flex;
    justify-content:space-between;
    font-size:18px;
    font-weight:600;
    margin:0 0 16px 0;
    padding:0 0 16px 0;
    border-bottom:1px solid #C9D4D8;
}
.popular_block .key{
    color:#21262B;
}
.popular_block .val{
    color:#78909C;
}

.popular_block .btn{
    display:flex;
    justify-content:center;
    background:#E2E8EB;
}

.all-city-list a {
    color: #78909C;
    transition: color 0.2s ease;
}

.all-city-list a:hover {
    color: #21262B;
}

.trainers-list__location{
    padding:24px;
    background:#F4F6F7;
    border-radius:4px;
}

.trainers-list__locatio__title{
    font-size:24px;
    line-height:32px;
    font-weight:600;
    margin-bottom:12px;
    color:#21262B;
}
.trainers-list__locatio__address{
    font-size:14px;
    line-height:140%;
}


.trainers-list__item{
    display:flex;
    padding:8px;
    border-radius:4px;
    background:#fff;
    gap:9px;
}
.trainers-list__item__left{
    padding:24px;
    border-radius:4px;
    border:1px solid #E2E8EB;
    width:888px;
    box-sizing:border-box;
}
.trainers-list__item__right{
    width:calc(100% - 897px);
}

.trainers-list__item__logo{
    height:126px;
    width:auto;
    display:block;
    font-size:0;
}
.trainers-list__item__logo img{
    max-width:100%;
    max-height:100%;
}

.trainers-list__item__top{
    display:flex;
    align-items:center;
    gap:20px;
    border-bottom:1px solid #E2E8EB;
    padding-bottom:12px;
}

.trainers-list__item__title{
    font-size:24px;
    line-height:32px;
    color:#21262B;
    font-weight:600;
}
.trainers-list__item__description{
    padding-top:12px;
    font-size:14px;
    line-height:140%;
    color:#21262B;
    font-weight:400;
}

.trainers-list__item__chars{
    margin-top:20px;
    display:flex;
    flex-direction:column;
    gap:8px;
    font-size:14px;
    line-height:140%;
}
.trainers-list__item__char{
    display:flex;
    gap:10px;
}
.trainers-list__item__char__key{
    color:#78909C;
    width:260px;
}
.trainers-list__item__char__value{
    color:#21262B;
}
.trainers-list__item__btns{
    margin-top:24px;
}
.trainers-list__item__btns .btn{
    background:#E2E8EB;
}
.air-datepicker-global-container{
    z-index:10000;
}

select{
    outline:none!important;
    box-shadow:none!important;
}

.gyms-list__item .form-outline .form-control~.form-label {
    left: 10px;
}


.gyms-list__shedule__times{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}
.gyms-list__shedule__time{
    background:#F4F6F7;
    border:none;
    padding:0;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#21262B;
    font-size:14px;
    cursor:pointer;
    transition:0.2s;
    border-radius:16px;
    height:32px;
    padding:0 12px;
}
.gyms-list__shedule__time:hover,.gyms-list__shedule__time.active{
    background:#C9D4D8;
}

/* Для Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Для Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.schedule-table select{
    font-size:14px;
}


.trn{
    display:flex;
    align-items:stretch;
    justify-content:space-between;
    padding:24px;
    background:#fff;
    border-radius:4px;
}
.trn__left{
    width:400px;
}
.trn__right,.gym__right{
    width:calc(100% - 424px);
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    gap:20px;
}

.trn__logo{
    display:flex;
    align-items:center;
    justify-content:center;
    background:#F4F6F7;
    width:100%;
    box-sizing:border-box;
    border-radius:4px;
    overflow:hidden;
}
.trn__logo img{
    max-width:100%;
}
.trn__title{
    font-size:24px;
    line-height:32px;
    color:#21262B;
    font-weight:600;
    margin-bottom:8px;
}
.trn__city{
    font-size:16px;
    font-weight:500;
    color:#78909C;
}

.trn__content{
    font-size:14px;
    line-height:140%;
    color:#21262B;
}
.trn__content p{
    font-size:14px;
    line-height:140%;
    color:#21262B;
    margin:0 0 16px 0;
}
.trn__content p:last-child{
    margin:0;
}
.trn__chars{
    display:flex;
    gap:8px;
    flex-direction:column;
    margin:32px 0 20px 0;
}

.trn__chars__item{
    display:flex;
    gap:16px;
}
.trn__chars__item__key{
    width:80px;
    color:#78909C;
    font-size:14px;
}
.trn__chars__item__value{
    color:#21262B;
    font-size:14px;
}

.trn-info{
    display:flex;
    align-items:flex-start;
    gap:20px;
}
.trn-info__sidebar{
    padding:24px 8px;
    background:#fff;
    width:315px;
    box-sizing:border-box;
    display:flex;
    flex-direction:column;
    border-radius:4px;
    position: sticky;
    top: 10px;
    gap:2px;
}
.trn-info__sidebar a{
    display:flex;
    justify-content:space-between;
    color:#21262B;
    font-size:14px;
    padding:16px;
    transition: background 0.2s;
    box-sizing:border-box;
    position:relative;
    border-radius:8px;
}
.trn-info__sidebar a span{
    color:#78909C;
    font-size:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    height:26px;
    min-width:26px;
    padding:0 8px;
    border-radius:30px;
    background:#E2E8EB;
    font-weight:bold;
}

.trn-info__sidebar a:before{
    content:'';
    width:100%;
    height:2px;
    background:#F5F5F5;
    position:absolute;
    top:0;
    left:0;
}
.trn-info__sidebar a.active,.trn-info__sidebar a:hover{
    background:#E2E8EB;
}

.trn-info__sidebar a:first-child:before,.trn-info__sidebar a.active:before,.trn-info__sidebar a:hover:before,.trn-info__sidebar a.active + a:before,.trn-info__sidebar a:hover + a:before{
    display:none;
}
.trn-info__blocks{
    width:calc(100% - 335px);
    display:flex;
    flex-direction:column;
    gap:20px;
}

.trn-info__block{
    background:#fff;
    padding:24px;
    border-radius:4px;
}
.trn-info__block h2{
    font-size:18px;
    margin:0 0 32px 0;
    font-weight:600;
}
.trn-info__block h2 span{
    opacity:0.5;
    display:inline-block;
    margin-left:12px;
    font-weight:600;
}
.trn-info__block__list{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}
.trn-info__block__list > div{
    width:calc((100% - 24px) / 3);
    border-radius:4px;
    border:1px solid #C9D4D8;
    box-sizing:border-box;
    padding:12px;
    font-size:16px;
    color:#21262B;
    font-weight:500;
}
.trn-info__block__tags{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}
.trn-info__block__tags a{
    font-size:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#21262B;
    height:32px;
    padding:0 12px;
    background:#F4F6F7;
    border-radius:16px;
    transition:0.2s;
}
.trn-info__block__tags a:hover{
    background:#E0E4E6;
}


.disciplines-list{
    columns: 4;
    list-style: none;
    padding: 0;
    margin-top:20px;
}
.disciplines-list a{
    display:flex;
    align-items:center;
    gap:5px;
    margin:0 0 10px 0;
    transition:0.2s;
}
.disciplines-list a:hover{
    color:#FF9017;
}
.disciplines-list a span{
    color:#FF9017;
    font-weight:bold;
}

h1.main-title span{
    color:#78909C;
}


.form-outline .form-control~.form-label {
    left: 10px;
}

.reviews-sort-line{
    display:flex;
    justify-content:space-between;
}
.reviews-sort button{
    height:38px;
}
.reviews-sort button.active{
    background:#C9D4D8;
}
.reviews__slider-btns button{
    height:38px;
}
.reviews__slider-btns button svg path{
    transition:0.2s;
}
.reviews__slider-btns button:hover svg path{
    stroke:#616161;
}
.reviews__slider-btns button:last-child svg{
    transform:rotate(180deg);
}

.reviews__top-line{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin:0 0 32px 0;
}
.trn-info__block .reviews__top-line h2{
    margin:0;
}
.reviews__top-line > button{
    height:38px;
    background:#363D43;
    color:#fff;
    transition:0.2s;
}
.reviews__top-line > button:hover{
    background:#4A5259;
    color:#fff;
}

.reviews-list{
    margin-top:24px;
}

.reviews-list__item{
    border:1px solid #C9D4D8;
    border-radius:4px;
    padding:16px;
}
.reviews-list__item__top{
    display:flex;
    gap:8px;
    align-items:center;
    margin-bottom:8px;
}
.reviews-list__item__rate{
    border: 1px solid #363D43;
    border-radius:2px;
    padding:0 12px;
    height:32px;
    font-size:16px;
    font-weight:500;
    color:#78909C;
    display:flex;
    align-items:center;
    gap:4px;
}
.reviews-list__item__date{
    color:#78909C;
    font-size:16px;
    font-weight:500;
}
.reviews-list__item__title{
    font-size:16px;
    color:#21262B;
    margin-bottom:16px;
    font-weight:500;
}
.reviews-list__item__text{
    display:flex;
    flex-direction:column;
    gap:16px;
    padding-bottom:16px;
    border-bottom:1px solid #C9D4D8;
}
.reviews-list__user{
    font-size:14px;
    color:#21262B;
    margin-top:16px;
}
.reviews-list__item__text p{
    font-size:16px;
    color:#21262B;
    margin-bottom:16px;
    font-weight:400;
    margin:0;
}

.btn-close-modal{
    height:38px;
    width:38px;
    box-sizing:border-box;
}

#trnReviews{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}
#trnReviews .reviews-list__item{
    width:calc((100% - 10px) / 2);
}
#trnReviews textarea{
    border:1px solid #C9D4D8;
}
#trnReviews .reviews-list__item__top{
    justify-content:space-between;
}

.reviews__top-line__alert{
    font-size:14px;
}

.reviews__top-line__alert{
    display:flex;
    align-items:center;
    gap:10px;
}

.gyms-list_trn{
    gap:10px;
    padding:0;
}

.gyms-list_trn .gyms-list__item {
    background: #F4F6F7;
    padding:24px;
    border:none;
}
.trainer-shedule-block{
    background:#fff;
    padding:40px;
    border-radius: 4px;
    margin-bottom:40px;
}
.trainer-shedule-block h2{
    margin:0;
}
.gyms-list_trn  .gyms-list__location {
    padding: 12px;
    background: none;
    border-radius: 4px;
    border:1px solid #C9D4D8;
}
.gyms-list_trn  .gyms-list__location__title {
    font-size: 18px;
    line-height: 22px;
}
.gyms-list_trn .gyms-list__item__left {
    width:calc((100% - 12px) / 2);
    border:none;
    padding:0;
}
.gyms-list_trn  .gyms-list__item__right {
    width:calc((100% - 12px) / 2);
}
.gyms-list_trn .gyms-list__item__top {
    border-bottom: none;
    padding-bottom: 16px;
}
.gyms-list_trn .gyms-list__item__chars{
    padding: 24px;
    background: none;
    border-radius: 4px;
    border:1px solid #C9D4D8;
    margin-top:12px;
}
.gyms-list_trn .gyms-list__item__char {
    display:flex;
    justify-content:space-between;
}
.gyms-list_trn .gyms-list__item__char__key {
    color: #21262B;
    font-size:18px;
    font-weight:bold;
    width:auto;
}
.gyms-list_trn .gyms-list__item__char__value {
    color: #21262B;
    font-size:18px;
    font-weight:bold;
    width:auto;
}

.gyms-list_trn  .gyms-list__item__price {
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#fff;
    border:none;
}
.gyms-list_trn .gyms-list__item__price__label{
    color: #21262B;
    font-size:18px;
    font-weight:bold;
    width:auto;
}
.gyms-list_trn .gyms-list__shedule__title{
    font-size:18px;
}

.gyms-list_trn .gyms-list__shedule__times{
    margin-bottom:12px;
}
.trn__chars__disciplines{
    margin-bottom:20px;
}
.trn__chars__disciplines h2{
    font-size:18px;
    margin-bottom:12px;
}

.trn__right__feedback{
    display:flex;
    align-items:center;
    justify-content:space-between;
}
.trn__right__feedback__error-btn{
    border:none;
    background:none;
    font-size:14px;
    padding:0;
    margin:0;
    transition:0.2s;
}
.trn__right__feedback__error-btn:hover{
    color:#3b71ca;
}

.trn__left__bottom{
    margin-top:12px;
    display:flex;
    justify-content:space-between;
}
.trn__left__bottom__reviews{
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid #C9D4D8;
    border-radius:4px;
    box-sizing:border-box;
    height:36px;
    width:304px;
    color:#21262B;
    font-size:14px;
}
.trn__left__bottom__reviews > div{
    width:50%;
}
.trn__left__bottom__reviews__amount{
    text-align:center;
    border-left:1px solid #C9D4D8;;
}
.trn__left__bottom__reviews__rate{
    display:flex;
    gap:5px;
    align-items:center;
    justify-content:center;
}

.trn__favorite-btn{
    padding:0;
    border:none;
    width:36px;
    height:36px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:4px;
}
.trn__share-btn{
    padding:0;
    border:none;
    width:36px;
    height:36px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:4px;
}
.trn-photo-list{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:24px;
}
.trn-photo-list a{
    display:none;
    width:calc((100% - 36px) / 4);
    height:225px;
    border-radius:8px;
    background-size:cover;
    background-position:center;
    position:relative;
    overflow:hidden;
}
.trn-admin-photo-list{
    gap:5px;
    margin-bottom:12px;
    margin-top:0;
}
.trn-admin-photo-list a{
    width:100px;
    height:100px;
    border:1px solid #78909C;
    display:flex;
}
.trn-admin-photo-list > div{
    display:flex;
    flex-direction:column;
    gap:3px;
}


.trn-photo-list a.active{
    display:flex;
}
.trn-photo-list a:after{
    content:'';
    display:block;
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0);
    transition:0.2s;
}
.trn-photo-list a:hover:after{
    background:rgba(0,0,0,.3);
}

.photos-sort button{
    height:38px;
}
.photos-sort button.active{
    background:#C9D4D8;
}

.trn__title,.gym__title{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
}
.trn__updated,.gym__updated{
    font-size:14px;
    color:#78909C;
    font-weight:400;
}
.trn__updated span,.gym__updated span{
    font-size:14px;
    color:#21262B;
}

.trn__content{
    overflow-wrap: break-word;
}
.trainers-list__item__description{
    overflow-wrap: break-word;
}

.trn-info__block .trainers-list__item__left {
    width:calc(100% - 9px - 30%);
}
.trn-info__block .trainers-list__item__right {
    width:calc(100% - 9px - 70%);
}
.trn-info__block .gyms-list {
    gap: 20px;
}

.trn-info__block .gyms-list .trainers-list__item{
    padding:0;
    width:100%;
}
.trn-info__block .gyms-list .trainers-list__item:nth-child(n+4) {
    display:none;
}
.trn-info__block .gyms-list.all .trainers-list__item:nth-child(n+4) {
    display:flex;
}
.trn-info__block .gyms-list .trainers-list__item__left{
    width:70%;
}
.trn-info__block .gyms-list .trainers-list__item__right{
    width:calc(30% - 9px);
}

.show-all-spec {
    height: 38px;
    background: #363D43;
    color: #fff;
    transition: 0.2s;
    margin:0 auto;
    width:248px;
    text-transform:none;
}
.show-all-spec:after {
    content:'Показать всех специалистов';
}
.show-all-spec:hover,.show-all-spec:focus{
    background: #4A5259;
    color:#fff;
}
.gyms-list.all .show-all-spec:after {
    content:'Скрыть';
}

.gym-price-list__item{
    display:flex;
    padding:16px 0;
    justify-content:space-between;
    align-items:center;
    border-bottom:1px solid #E2E8EB;
}
.gym-price-list__item:last-child{
    padding-bottom:0;
    border:none;
}
.gym-price-list__item__right{
    display:flex;
    gap:22px;
    align-items:center;
}
.gym-price-list__item__price{
    font-weight:bold;
    font-size:14px;
}
.gym-price-list__item__name{
    font-size:14px;
}


.show-all-prices {
    height: 38px;
    background: #363D43;
    color: #fff;
    transition: 0.2s;
    margin:24px auto 0 auto;
    width:248px;
    text-transform:none;
    display:block;
}
.show-all-prices:after {
    content:'Показать все цены';
}
.show-all-prices:hover,.show-all-prices:focus{
    background: #4A5259;
    color:#fff;
}
.trn-info__block_prices.all .show-all-prices:after {
    content:'Скрыть';
}
.gym-price-list__item:nth-child(n+4) {
    display:none;
}
.trn-info__block_prices.all .gym-price-list__item:nth-child(n+4) {
    display:flex;
}

.join-gyms-list{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}
.join-gyms-list__item{
    display:flex;
    flex-direction:column;
    gap:20px;
    border:1px solid #C9D4D8;
    padding:16px;
    border-radius:4px;
    box-sizing:border-box;
    width:calc((100% - 24px) / 3);
}
.join-gyms-list__item__logo img{
    max-width:100%;
}
.join-gyms-list__item__name{
    font-size:16px;
    color:#21262B;
}

.promotions-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:32px;
}
.promotions-top h2{
    margin:0;
}

.promotions-list__item{
    padding:16px;
    border-radius:4px;
    border:1px solid #C9D4D8;
}

.promotions-list__item__image{
    position:relative;
    width:100%;
    height:220px;
    background-size:cover;
    background-position:center;
    border-radius:4px;
    margin-bottom:24px;
}
.promotions-list__item__date{
    position:absolute;
    top:16px;
    left:16px;
    background:#fff;
    border-radius:2px;
    display:flex;
    align-items:center;
    padding:0 12px;
    color:#78909C;
    font-size:14px;
}

.promotions-list__item__title{
    margin-bottom:16px;
    font-weight:500;
    font-size:16px;
    color:#21262B;
}
.promotions-list__item__text{
    font-size:14px;
    color:#21262B;
    margin-bottom:16px;
}
.promotions-list__item__phone{
    display:flex;
    padding-top:16px;
    border-top:1px solid #C9D4D8;
    display:flex;
    justify-content:space-between;
}
.promotions-list__item__phone > div:first-child{
    opacity:0.5;
}

.gym__worktime {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  
  transition: all 0.2s ease;
  z-index: 10;
}

.gym__worktime__wrapper:hover .gym__worktime {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.gym__worktime__wrapper > span{
    text-decoration:underline;
}

.gym__worktime > div{
    display:flex;
    justify-content:space-between;
    gap:20px;
}

.cursor-pointer {
  cursor: pointer;
}

.trainers-list__item__top_gym{
    justify-content:space-between;
}
.trainers-list__item__top__left{
    display:flex;
    gap:12px;
}
.trainers-list__item__top__right{
    
}
.trainers-list__item__top__left .trainers-list__item__logo{
    width:64px;
    height:64px;
}
.trainers-list__item__top__right{
    display:flex;
    flex-direction:column;
    gap:4px;
}
.trainers-list__item__rate{
    width:85px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    font-size:16px;
    color:#21262B;
    font-weight:500;
    border-radius:2px;
    background:#E2E8EB;
    height:32px;
}
.trainers-list__item__rate span{
    line-height:16px;
}
.trainers-list__item__review-count{
    font-size:12px;
    color:#989898;
}

.metro__item{
    display:flex;
    align-items:center;
    gap:6px;
}
.metro__box{
    width:6px;
    height:6px;
    border-radius:50%;
}

#gymListM li{
    cursor:pointer;
}
#gymListM li.inactive{
    color: var(--mdb-list-group-action-active-color);
    background-color: var(--mdb-list-group-action-active-bg);
    cursor:default;
    pointer-events: none;
    cursor: not-allowed;
}
#gymListM li.inactive .danger{
    color:#dc4c64;
    font-weight:bold;
}

@media (max-width:992px) {
    .trn {
        flex-direction: column;
        align-items:center;
        gap: 20px;
    }
    .trn__left{
        width: 400px;
    }
    .trn__right{
        width: 100%;
    }
    .trn__chars{
         margin:20px 0;
    }
    .trn-info{
        flex-direction: column;        
    }
    .trn-info__sidebar{
        width:100%;
    }
    .trn-info__blocks{
        width:100%;
    }
    .reviews-list__item__title{
        font-size:14px;
    }
}

@media (max-width:768px) {
    .trn__title{
        gap: 50px;
        align-items:center;
    }    
    .trn__title div{
        font-size: 20px;
    }
    .trn__title .trn__updated{
        font-size: 12px;
        line-height: normal;
    }
    .trn__title .trn__updated span{
        font-size: 12px;
    }
    .reviews-sort {
        display:flex;
        flex-direction:column;
        gap: 5px;
    }
    .reviews__slider-btns {
        display:flex;
    }
    .reviews__slider-btns .btn {
        padding:0;
        width: 38px;
    }
}