@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;600;700&family=Commissioner:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /*    font-family: 'Comfortaa', sans-serif;*/
    font-family: 'Commissioner', sans-serif;
}
.inner-page {
    background: #EFEDFF;
}
/**********************************/
.inner-header {
    background: url(teacher-head-bg.png) center/cover no-repeat;
    border-radius: 0px 0px 70px 70px;
    box-shadow: 0px 4px 52.3px 0px rgba(0, 0, 0, 0.24);
    padding: 26px 0 0;
    text-align: center;
}
.rating-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
   
}
.rating-header .text {
    font-style: italic;
    font-weight: bold;
    font-size: 40px;
    text-align: left;
    flex: 0 1 60%;
    padding-bottom: 15px;
    color: #0F4B00;
    display: inline;
}
.rating-header .text img {
    width: 52px;
    height: 52px;
    vertical-align: middle;
    margin-left: 12px;
}
.logo img {
    height: auto;
    max-width: 350px;
    width: 100%;
}
.rating-title-img {
    margin-top: 24px;
}
.rating-img img {
    width: 100%;
    max-width: 200px;
    display: block;
    margin: 0 auto;
}
.inner-header__avatar {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 40px;
}
.inner-header__avatar .avatar {
    margin-right: 16px;
}
.inner-header__avatar .avatar img {
    border-radius: 50%;
}
.inner-header__avatar .description {
    max-width: 240px;
    
}
.inner-header__avatar .description h2 {
    font-size: 26px;
    color: #fff;
    font-weight: 600;
    font-family: 'Comfortaa', sans-serif;
}
.inner-header__avatar .description h3 {
    margin-top: 16px;
    font-size: 22px;
    color: rgba(255, 255, 255, 0.50);
    font-weight: 600;
    font-family: 'Comfortaa', sans-serif;
}
.inner-header__img {
    margin-bottom: -3px;
    text-align: right;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    align-items: flex-end;
    height: 100%;
    justify-content: flex-end;
}
.inner-header__img img {
    height: 220px;
    width: auto;
}
/*************************************/
.my-rating {
    margin-top: 24px;
}

.my-rating-wrapper__text span {
    font-weight: bold;
}
.my-rating-wrapper {
    padding: 24px;
    background: #fff;
    border-radius: 15px;
}
 
.parners {
    margin-top: 24px;
}
.partners-list > div {
    margin-bottom: 24px;
}
.partners-item {
    background: #fff;
    padding: 0 15px 15px 15px;
    border-radius: 15px;
    overflow: hidden;
}
.partners-item .img {
    position: relative;
    width: calc(100% + 30px);
     margin-left: -15px;
    margin-right: -15px;
}
.partners-item .img img {
    height: 200px;
    width: 100%;
    object-fit: cover;
   
}
.partners-item .img .date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #daffda;
    padding: 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    z-index: 10;
    color: #088f45;
}
.partners-item .img .bonus {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #ffdada;
    padding: 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    z-index: 10;
    color: #8f0808;
}
.partners-item h3 {
    font-weight: 500;
    font-size: 24px;
    color: #000;
    margin-top: 15px;
}
.partners-item p {
    margin-top: 12px;
    font-size: 15px;
    line-height: 150%;
    margin-bottom: 24px;
}
.partners-item button {
    margin-top: auto;
    font-family: inherit;
    font-size: 18px;
    font-weight: 500;
    outline: none;
    border: none;
    border-radius: 15px;
    padding: 8px 24px;
    color: #fff; 
    background: #e33535;
    cursor: pointer;
}
.partners-item {}
.partners-item {
    height: 100%;
    display: flex;
    flex-direction: column;
} 

.change-popup-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    overflow: auto;
    z-index: 100;
    background: #000000b3;
    display: none;
}
.change-popup {
    position: relative;
    background: #fff;
    border-radius: 15px;
    padding: 15px;
    max-width: 400px;
    width: 100%;
}
.close-change-popup {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 10;
    background: #fff;
   border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.close-change-popup svg {
    height: 24px;
    width: 24px;
}
.change-popup img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-radius: 15px;
}
.change-popup h2 {
    margin-top: 24px;
    font-size: 22px;
    font-weight: 500;
}
.change-popup p {
    margin-top: 16px;
}
.change-popup .img {
    position: relative;
}
.change-popup .date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #daffda;
    padding: 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    z-index: 10;
    color: #088f45;
}
.change-popup .price {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #ffdada;
    padding: 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    z-index: 10;
    color: #8f0808;
}
.change-popup .result {
    margin-top: 16px;
}
.change-popup .result a {
    color: #2429ec;
}
.change-popup button {
    margin-top: 24px;
    font-family: inherit;
    font-size: 18px;
    font-weight: 500;
    outline: none;
    border: none;
    border-radius: 15px;
    padding: 8px 24px;
    color: #fff; 
    background: #e33535;
    cursor: pointer;
    margin-top: 24px;
}
.category-list-wrapper {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.categories-filter { margin: 20px 0; text-align: center; }
   .categories-filter button {
  
    padding: 6px 12px;
    border: none;
    background: #ffffff;
    cursor: pointer;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
}    
        .categories-filter button.active { background: #000; color: #fff; }

.change-popup {}
@media only screen and (max-width: 768px) {
    .flow-item .head {
        padding: 14px;
    }
    .flow-item .content {
        padding: 0 5px 14px 5px;
    }
    .flow-item .head p {
        font-size: 18px;
    }
    .flow-body {
        margin-top: 12px;
    }
    .flow-header__name {
        flex: 1 1 45%;
    }
    .flow-header__name, .flow-header__level, .flow-header__points {
        font-size: 14px;
        padding: 6px;
        border-radius: 6px;
    }
    .flow-header__level {
        margin: 0 6px;
        flex: 1 1 30%;
    }
    
    .rating-header {
        flex-direction: column;
        justify-content: flex-start;
        gap: 10px;
    }
    .logo img {
        max-width: 180px;
    }
    .rating-img img {
        max-width: 250px;
    }
}