.modal__wrap {
    width:  1140px;
    max-width: 98%;
    box-sizing: border-box;
    height: auto;
    border-radius: 3px;
    background: #fff;
    top: 0;
    bottom: auto;
    display: none;
    opacity: 0;
    z-index: 12;
    padding: 0;
    box-shadow: 0 0 25px rgba(68, 60, 34, 0.3);
    margin: 0 auto 40px;
    position: relative;
}
.modal__content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.modal__content > * {
    margin-bottom: 20px;}
.modal__content > .container {
    padding: 0;
    margin: 0;
    width: 100%;
    min-width: 100%;
}
.modal__content > .container > .row {
    margin: 0;
}
/*#overlay*/
.modal__overlay {
    margin-right: -15px;
    z-index: 111;
    position: fixed;
    background-color: rgba(35, 45, 53, .5);
    filter: alpha(opacity=80);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    cursor: pointer;
    display: none;
    overflow-y: auto;
    overflow-x: hidden;
}
/*//  close icon " X "*/
.modal__close {
    position: absolute;
    display: flex;
    justify-content: center;
    cursor: pointer;
    align-items: center;
    right: -50px;
    color: #fff;
    opacity: .9;
    top: 10px;
    width: 40px;
    height: 40px;
    z-index: 2;
    font-size: 63px;
    transition: all .25s;
}

#mydoc.modal__wrap {
    padding: 0;
    min-height: 500px;
    max-width: 895px;
    max-width: 525px;
}
#mydoc .modal__content {
    display: flex;
    justify-content: center;
    align-content: center;
}
#mydoc .img-wrapper {
    margin: 0;
}
#mydoc .img-wrapper img {
    max-width: 100%;
    height: auto;
    width: 100%;
}



.info-modal.modal__wrap {
    padding: 40px 15px;
    min-height: 500px;
    max-width: 1185px;
    cursor: default;
}
.info-modal .main-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;

}
.info-modal .img-wrapper {
    margin: 0;
    min-height: 100%;
    display: flex;
    align-items: center;
    padding-right: 25px;
    flex: 1 0 350px;
}
.info-modal .img-wrapper img {
    max-width: 100%;
    height: auto;
    width: 100%;
}
.info-modal .info__title {
    font-size: 30px;
    color: var(--green);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
}
.info-modal .info__item {
    color: #555555;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 15px;
    font-size: 18px;
}
.info-modal .green {
    color: var(--green);
}
.info-modal .levels {
    list-style: none;
    padding-left: 0;
}
.info-modal .levels li {
    margin-bottom: 5px;
}
.info-modal .show-more {
    color: var(--green);
    font-size: 18px;
    line-height: 1.3;
    font-weight: 400;
    width: 116px;
    position: relative;
    cursor: pointer;
}
.info-modal .show-more:after {
    content: '';
    position: absolute;
    right: 0;
    top: 8px;
    bottom: auto;
    display: block;
    width: 16px;
    height: 9px;
    background: url(/wp-content/themes/kora/images/online/form-icon5.png) no-repeat 0 0;
    background-size: contain;
}

.info-modal .reviews {
    margin-bottom: 0;
    margin-top: 25px;
}
.info-modal .reviews > div {
    background: #f7f8fb;
    padding: 15px;
    margin-bottom: 15px;
}
.info-modal .reviews > div:last-child {
    margin-bottom: 0;
}
.info-modal .reviews p {
    font-size: 15px;
    line-height: 1.35;
    font-family: roboto;
    margin: 0;
    padding: 0;
}
.info-modal .btn {
    font-weight: 700;
    padding: 5px 15px;
    min-height: 45px;
    margin-bottom: 50px;
    max-width: 540px;
    width: 100%;
}
.info-modal .reviews p .green{
    display: block;
    font-weight: 700;
}
.info-modal .add-review{
    margin: 10px auto;
    padding: 10px 20px;
}



.modal__content .form__wrapper{
    margin: 0;
    width: 100%;
    max-width: unset;
    box-sizing: border-box;
}

#mylesson1 {

}
.lesson-modal .block.block--form,
#mylesson1 .block.block--form {
    margin: 0;
}
.lesson-modal .slide .container,
#mylesson1 .slide .container {
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}
.lesson-modal .slide__info,
#mylesson1 .slide__info {
    padding-left: 30px;
}
.lesson-modal  .slide__info:after,
#mylesson1 .slide__info:after {
    width: 300px;
}
.lesson-modal .slide .slide__form ,
#mylesson1 .slide .slide__form {
    padding: 45px;
    background: url(/wp-content/themes/kora/images/online/m3-bg2.jpg) no-repeat 0 0;
    background-size: cover;
}



@media screen and (max-width: 1260px){
    .info-modal .modal__close,
    .lesson-modal .modal__close {
        right: 10px;
        top: 10px;
        width: 20px;
        height: 20px;
        z-index: 2;
        font-size: 26px;
    }
    .info-modal .modal__close {
        color: var(--green);
    }

}


@media screen and (max-width: 1200px) {
    .info-modal.modal__wrap {
        max-width: 98%;
    }
    .info-modal .main-info {
        align-items: flex-start;
    }

}


@media screen and (max-width: 991px){
    .info-modal .img-wrapper {
        flex: 1 0 270px;
    }
}

@media screen and (max-width: 768px){

    #mydoc.modal__wrap {
        max-width: 80%;
        min-height: unset;
        background: transparent;
        padding-top: 0;
    }
    #mydoc .modal__close {
        right: 0;
        top: 0;
        color: var(--green);
        opacity: 1;
        font-size: 40px;
        font-weight: 700;
    }

    .info-modal .main-info {
        flex-direction: column;
        align-items: center;
    }
    .info-modal .info__item {
        font-size: 15px;
    }
    .info-modal .img-wrapper {
        padding-right: 0;
    }
    .info-modal .btn {
        margin: 0 auto 40px;
        white-space: inherit;
    }


    .lesson-modal .slide .slide__form,
    #mylesson1 .slide .slide__form {
        padding: 0;
    }
    .lesson-modal .slider--fw .slide {
        padding-bottom: 25px;
    }
    .lesson-modal .slider--fw .slide .slide__info {
        padding: 30px 15px 0;
    }

    .slider--fw .hr + .slide__text {
        text-align: center;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .slider--fw .slide__title {
        text-align: center;
    }
    .slider--fw .hr {
        margin: 15px auto 15px;
    }


    .info-modal .modal__close,
    .lesson-modal .modal__close {
        color: var(--green)
    }
}

@media screen and (max-width: 550px){

    #mydoc.modal__wrap {
        max-width: 96%;
    }
}