#top-menu .item:last-child {
    display: none;
}

@media(max-width: 767px) {
    #top-menu .item:last-child {
        display: block;
    }
}

.link-wrap--mobile {
    display: none;
}

@media screen and (max-width: 768px) {
    .link-wrap--mobile {
        display: block;
        text-align: center;
        margin-bottom: 15px;
    }
}
.btn-metal {
    padding: 10px;
    border: 1px solid #8e617d;
    margin-top: 20px;
    display: inline-block;
    width: fit-content;
}
.tags_header {
    margin-bottom: 10px; 
    font-weight: bold;
}
.tags_header span {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1f2529;
    text-align: left;
    line-height: 1;
}
.tags_links ul {
    list-style-type: none;
    padding: 0;
}
.tags_links li {
    border-bottom: 1px solid #ccc;
    padding: 7px;
}
.tags_links li.tag_active {
    background-color: #6454a8;
    color: #fff;
    border-bottom: 1px solid #ccc;
}
.tags_links li a {
    color: #000;
    border: none;
}
.tags_links li.tag_active a {
    color: #fff;
    border: none;
}

.flex {
    display: flex;
}

.flex--fr {
    flex-direction: row;
}

.flex--sb {
    justify-content: space-between;
}

.flex--fe {
    justify-content: flex-end;
}

.italic {
    font-style: italic;
}

.pale {
    color: #BDBDBD;
}

.course {
    font-family: Marmelad, serif;
}

.course-price {
    font-weight: bold;
    font-size: 36px;
}

.course-top .img-wrap {
    display: block;
    position: relative;
    width: 100%;
    padding: 10px;
    border: 1px solid #DDD;
    margin-bottom: 25px;
}

.course-top .img-wrap .img {
    display: block;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.course-top .img-wrap .img:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-image: url(../img/content/goods/around-big.png);
    background-size: 100% 100%;
}

@media (min-width: 1200px) {
    .course-top .images-block .img-wrap .img {
        height: 350px;
    }
}

.course-top .images {
    margin-bottom: 25px;
    padding-left: 3px;
    font-size: 0;
    text-align: center;
}

.course-top .images a {
    display: inline-block;
    width: 30%;
    border: 1px solid #DDD;
    margin: 0 1.5%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (min-width: 768px) {
    .course-top .images a {
        height: 100px;
    }
}

.course-slide {
    background-color: #8e617d;
    height: 450px;
}

.course-slide a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.course-slider img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.course .slick-prev {
    left: -35px;
}
.course .slick-next {
    right: -35px;
}

.course .slick-arrow:before {
    content: none;
}

.course .slick-arrow {
    width: 62px;
    height: 62px;
    border-radius: 100%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.course .slick-arrow i {
    width: 53px;
    height:  53px;
    border-radius: 100%;
    border: 1px solid #C7B1BF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course .slick-arrow:hover {
    opacity: 1;
}

.course .slick-arrow:hover i {
    background-color: #DDCFD8;
    opacity: 1;
}

.course-slider__nav {
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.course-slider__nav .course-nav-slide {
    background-color: #8e617d;
    height: 100px;
    margin: 5px;
    cursor: pointer;
    text-align: center;
}

.course-nav-slide img {
    max-width: 100%;
    position: relative;
    max-height: 100%;
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);
}

.course .title {
    color: #BDBDBD;
    font-style: italic;
}

.course-buy {
    background-color: #6C5BB4;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.course-buy > * {
    margin: 0 10px;
    color: #fff;
}

.course .teacher-block {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.teacher-block .teacher {
    background-color: #6C5BB4;
    padding: 30px;
    border: 1px dashed #fff;
    box-shadow: 0 0 0 3px #6c5bb4;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.teacher > * {
    flex: 1;
}

.teacher-pic img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.teacher-description {
    padding: 0 30px 0 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.teacher-name {
    color: #fff;
    font-size: 24px;
}

.teacher-note {
    color: #fff;
}

.course .schedule {
    width: 300px;
    min-height: 275px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border: 1px solid transparent;
    box-shadow: 0 0 0 1px #9d7b95;
    margin-left: 20px;
    padding: 10px;
}


.teacher-block--slider {
    padding: 20px 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.teachers_slider {
    max-width: 66%;
    min-width: 66%;
}

.teacher-block--slider .schedule {
    max-width: 33%;
    min-width: 33%;
}

.teachers_slider .teacher_slide {
    flex-direction: row;
    background-color: #6C5BB4;
    padding: 30px;
    border: 1px dashed #fff;
    box-shadow: 0 0 0 3px #6c5bb4;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    min-height: 450px;
}

.teacher_slide .teacher-pic {
    min-width: 33%;
    max-width: 33%;
}






@media screen and (max-width: 748px) {
    .course .teacher-block {
        flex-direction: column;
    }

    .teacher {
        flex-direction: column;
        
    }
    
    .teacher-block--slider {
        flex-direction: column;
        align-items: center;
    }
    
    .teachers_slider {
        max-width: 100%;
        min-width: 100%;
    }
    
    .teachers_slider .teacher_slide {
        flex-direction: column;
    }
    
    .teachers_slider .teacher_slide .teacher-pic {
        max-width: 100%;
        min-width: 100%;
    }
    
    .teacher-description {
        padding: 30px 0 30px;
    }
    
    .teacher-block--slider .schedule {
        width: 100%;
        max-width: 300px;
        margin-left: 0;
        margin-top: 5px;
    }
    
    .course .schedule {
        width: 100%;
        max-width: 300px;
        margin-left: 0;
        margin-top: 5px;
    }
}

.course-reviews {
    padding: 25px 0 20px;
}

.course-review {
    position: relative;
    height: 485px;
    padding: 40px 15px 70px;
    margin: 0 10px;
}

.course-review .review-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.course-review .review-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 37px);
    height: calc(100% - 110px);
}

.course-review .review-img img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.course-signup {
    background-color: #6C5BB4;
    position: relative;
    height: 510px;
    padding: 65px 0;
}

.course-signup:before  {
    content: '';
    position: absolute;
    background-color: #6C5BB4;
    height: 100%;
    top: 0;
    left: -100%;
    width: 100%;
}

.course-signup:after  {
    content: '';
    position: absolute;
    background-color: #6C5BB4;
    height: 100%;
    top: 0;
    right: -100%;
    width: 100%;
}

.course-signup > div,
.course-signup > div > div {
    height: 100%;
}

.course-signup .form {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    background-color: #fff;
    height: 100%;
}

.course-signup .form .form_left {
    width: 25%;
    max-width: 25%;
    min-width: 25%;
    height: 100%;
}

.course-signup .form .form_left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-signup .agreement-line {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.course-signup .form-right {
    padding: 30px;
    flex: 1;
    height: 100%;
    outline: 1px dashed #8e617d;
    outline-offset: -5px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.course-signup .form-bottom {
    min-width: 100%;
}

.course-signup .form-title {
    font-size: 24px;
}

.course-signup .form-info {
    flex: 1;
    height: 75%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    margin-right: 15px;
    border-bottom: 1px solid #BDBDBD;
    padding-bottom: 30px;
}

.course-signup .form-fields {
    flex: 1;
    height: 75%;
    margin-left: 15px;
}

.course-signup .form-fields .field {
    margin-bottom: 20px;
}

.course-form_price-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.course-form_price-block .italic {
    flex: 0.5;
}

.course-form_price-block .price {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.course-form_price-block .price .rub {
    font-size: 22px;
    display: block;
    padding-bottom: 8px;
    margin-right: 5px;
}

.course-form_price-block .price-number {
    font-size: 36px;
}

.course-form_price-block .price-number > sup {
    font-size: 26px;
}

.form-right .form-fields textarea.field__inp {
    
}

.form-bottom .result .alert {
    margin-bottom: 10px;
    padding: 10px;
}

.modal .form_left {
    display: none;
}

.modal .form-title {
    text-align: center;
}

.modal .course-name {
    font-size: 26px;
    font-weight: bold;
}

.modal .course-length {
    display: none;
}

.modal .course-form_price-block .price-number {
    font-size: 26px;
}

.modal .course-form_price-block .rub {
    font-size: 18px;
}

.modal .course-form_price-block .price-number > sup {
    font-size: 18px;
}

.modal .agreement-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.all-courses {
    padding-top: 30px;
    padding-bottom: 30px;
}

.all-courses .courses-list {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    /*height: 530px;*/
    flex-wrap: wrap;
}

.all-courses .courses-list .course-item {
    margin: 0 10px;
    border: 1px solid #eee;
    min-width: 365px;
    max-width: 365px;
    min-height: 465px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.all-courses .courses-list .course-item .course-item__top {
    padding: 20px;
    width: 100%;
    border-bottom: 1px solid #eee;
}

.all-courses .courses-list .course-item .course-item__top span {
    display: block;
    height: 190px;
    padding: 0 2px;
    border-left: 1px dashed #c2c8c6;
    border-right: 1px dashed #c2c8c6;
}

.all-courses .courses-list .course-item .course-item__top img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.course-item__middle {
    width: 100%;
    padding: 20px;
    border-bottom: 1px solid #eee;
    flex-grow: 2;
}

.course-item__middle .course-item-name {
    font-size: 18px;
}

.course-item__middle .course-item__length {
    margin-top: 25px;
}

.all-courses .courses-list .course-item .course-item__bottom {
    width: 100%;
    padding: 20px;
}

.all-courses .courses-list .course-item .course-item__bottom .italic {
    flex: 1;
    font-size: 14px;
}

.all-courses .courses-list .course-item .course-item__bottom > span {
    flex: 2;
}

.all-courses .courses-list .course-item .course-item__bottom .rub {
    font-size: 32px;
    line-height: 1.4;
    margin-right: 5px;
}

.all-courses .courses-list .course-item .course-item__bottom .course-price {
    font-weight: normal;
}

.all-courses .courses-list .course-item .course-item__hidden {
    width: 100%;
    padding: 20px;
    
    display: flex;
    justify-content: space-between;
}

.all-courses .courses-list .course-item .course-item__hidden a {
    /*display: block;*/
}

.all-courses .courses-list .course-item:hover {
    border-color: #6C5BB4;
    /*height: 530px;*/
}
/*
.all-courses .courses-list .course-item:hover .course-item__hidden {
    display: block!important;
}
*/
.school--combined {
    display: flex;
    flex-wrap: wrap;
    padding-top: 20px;
}

.school--combined h3 {
    min-width: 100%;
}

.school--combined .combined-text {
    flex: 3;
    padding-right: 25px;
}

.school--combined .school-address {
    max-width: 275px;
    min-width: 275px;
    padding: 20px 20px 20px 40px;
    background-color:  #6C5BB4;
    outline: 1px dashed #fff;
    outline-offset: -5px;
    padding: 20px 40px;
    color: #fff;
    font-size: 18px;
}

.school--combined .school-address .contacts-block {
    position: relative;
    padding: 15px 0;
}

.school--combined .school-address .contacts-block i {
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    border-radius: 100%;
    border: 1px solid #8E617D;
    box-shadow: 0 0 0 3px #fff;
    width: 45px;
    height: 45px;
    background-color: #fff;
}

.school--combined .school-address .contacts-block i:before {
    display: block;
    color: #8E617D;
    font-size: 26px;
    line-height: 1.7;
    text-align: center;
}

.number--whatsapp {
    display: none;
}
.rasp {
    -webkit-box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
    border-color: #efefef!important;
    border: none;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border-radius: 0.25rem;
}
.mb-5, .my-5 {
    margin-bottom: 3rem!important;
}
.rasp__header {
    border-radius: 5px 5px 0 0;
    padding: 1rem;
    background-color: #4F3D9B;
    border-bottom: 1px solid rgba(0,0,0,.125);
    color: #fff;
}
.contacts-info {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.contacts-info__item {
    margin: 0 48px 0 0;
    display: flex;
    align-items: center;
    color: #333;
}
.contacts-info__item:last-of-type {
    margin: 0;
}
.contacts-info__item .ui-icon {
    width: 24px;
    flex: none;
    margin: 0 12px 0 0;
}
.contacts-info__item .ui-icon svg {
    display: block;
    width: 100%;
    height: auto;
}
#top-menu .item:last-child {
    display: table-cell;
}


@media screen and (max-width: 748px) {
    .course-top_right {
        padding-top: 20px;
    }
    .course-signup {
        height: initial;
        background-color: #fff;
    }
    .course-signup:before,
    .course-signup:after {
        content: none;
    }
    .course-signup .form .form_left {
        display: none;
    }
    .course-signup .form-right {
        padding: 20px;
    }
    .course-signup .agreement-line {
        flex-direction: column;
    }
    
    .all-courses .courses-list {
        flex-wrap: wrap;
    }
    
    .all-courses .courses-list .course-item {
        min-width: 100%;
        max-width: 100%;
        border-color: #6C5BB4;
        margin-bottom: 5px;
    }
    
    .course-slide {
        height: 300px;
    }
    .course-slider__nav {
        display: none;
    }
    .course-signup .form-fields {
        margin-left: 0;
    }
    
    .all-courses .courses-list {
        height: initial;
    }
    
    .all-courses {
        padding-right: 0;
        padding-left: 0;
    }
    .all-courses .courses-list .course-item {
        min-width: 100%;
        max-width: 100%;
    }
    /*
    .all-courses .courses-list .course-item .course-item__hidden {
        display: block!important;
    }
    */
    .all-courses .courses-list .course-item .course-item__bottom {
        padding: 20px 10px;
    }
    
    .number--whatsapp {
        display: block;
    }

}


@media screen and (max-width: 1180px) {
    .all-courses .courses-list {
        height: initial;
        flex-wrap: wrap;
    }
    .all-courses .courses-list .course-item {
        margin-bottom: 5px;
    }
}
.btn--green {
    background-color: limegreen;
    
}

.course-item__hidden {
    display: flex;
    
}

.course-top_right {
    padding-left: 20px;
}
.all-courses .courses-list .course-item {
    width: calc((100% - 30px) / 3);
    min-width: auto;
    max-width: none;
    margin: 0;
    margin-right: 15px;
    margin-bottom: 15px;
    position: relative;
}

.all-courses .courses-list .course-item:nth-child(3n) {
    margin-right: 0;
}

.all-courses .courses-list {
    width: 100%;
    justify-content: flex-start;
    align-items: stretch;
}
@media(max-width:1199px){
.all-courses .courses-list .course-price{
    font-size: 34px;
}
}
@media(max-width:991px){
.all-courses .courses-list .course-item .course-item__bottom{
    flex-direction: column;
    align-items: flex-start;
}
.all-courses .courses-list .course-item .course-item__bottom > span{
    margin-top: 5px;
}
.all-courses .courses-list .course-item .course-item__hidden{
    flex-direction: column;
}
.all-courses .courses-list .course-item .course-item__hidden a:first-child{
    margin-bottom: 10px;
}
.all-courses .courses-list .course-item > a{
    display: flex;
    flex-direction: column;
    flex-grow: 2;
}
.all-courses .courses-list .course-item .course-item__middle{
    flex-grow: 2;
}
.all-courses .courses-list{
    align-items: stretch;
}
}
@media(max-width:767px){
    .all-courses .courses-list .course-item{
        margin-right: 0;
        width: 100%;
    }
    .all-courses .courses-list .course-item .course-item__hidden{
        max-width: 372px;
    }
    .all-courses .courses-list .course-item > a{
        width: 100%;
        max-width: 331px;
    }
}

.course-price-info{
    flex-direction: column;
}
.course-old-price{
    margin: 0 0 5px 0;
    width: 100%;
    text-align: right;
    font-size: 22px;
    line-height: 135%;
    text-decoration: line-through;
    color: #E0629B;
}
.course-item__actions{
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 2;
}
.course-item__action{
    background: #E0629B;
    margin-right: 7px;
    color: #fff;
    padding: 4px 8px;
    font-size: 16px;
    line-height: 130%;
}
.course-item-preview{
    margin-top: 15px;
    color: #E0629B;
}
.course-item__link{
    flex-grow: 2;
    display: flex;
    flex-direction: column;
}
@media(max-width: 991px){
    .course-price-info{
        width: 100%;
    }
}