a{
    color: #06caca;
}

.main_block ul{
    padding: 0 0 0 20px;
}

.slider ul.bxslider > li{
    height: 560px;
    background-size: cover;
}

.slider .bx-viewport{
    height: 560px;
}
.header .callback {
    padding: 5px 20px;
    line-height: 19px;
}

.ymaps-image-with-content{
    background-image: url("../img/free-icon-font-marker-3916874.svg") !important;
}

.reviews-video__inner {
    padding: 20px 0;
    border: 0;
}

.reviews-video__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    border: 0;
}

.form-body [data-sid="FILE"]{
    display: none;
}

.video-sign:before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    content: url("../img/rev-video-sign.svg");
}

.video-sign {
    position: relative;
}

.reviews-video__item-img {
    display: block;
}

.reviews-video__item-txt {
    padding: 16px 0;
    border: 0;
}

.reviews-video__item-txt h4 {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
    font-weight: 700;
    line-height: 18px;
}

.reviews-video__item-txt p {
    display: block;
    color: #767676;
    font-size: 11px;
}

.img-obtain {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 991px){
    .reviews-video__item-img {
        height: 330px;
    }

    .reviews-video__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}
@media screen and (max-width: 768px){

    .banners-content .intro-text{
        margin: 20px;
    }

    .header .logo img{
        height: 44px;
        object-fit: contain;
    }

    .services_in .item .description div{
        margin-top: 0;
    }

    .services .item .description {
        height: auto;
    }

    .services .item .more{
        position: relative;
    }

    .slider ul.bxslider > li{
        height: 320px;
        background-size: cover;
    }

    .slider .bx-viewport{
        height: 320px;
    }

    .header .inner{
        flex-wrap: wrap;
    }

    .header .logo{
        width: 100px;
    }

    .reviews-video__item-img {
        height: 340px;
    }

    .reviews-video__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media screen and (max-width: 540px){
    .reviews-video__item-img {
        height: auto;
    }

    .reviews-video__grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
}

/* Course detail extra blocks */
.course-extra {
    --course-accent: #12c4c4;
    --course-accent-soft: #cef6f6;
    --course-text: #3f3f3f;
    --course-muted: #666;
    --course-line: #e5e5e5;
    --course-soft: #f3f3f3;
    --course-dark: #3f3f3f;
    margin-top: 52px;
    color: var(--course-text);
}

.course-extra * {
    box-sizing: border-box;
}

.course-extra img {
    display: block;
    max-width: 100%;
}

.course-extra__section + .course-extra__section {
    margin-top: 52px;
}

.course-extra__title {
    margin: 0 0 24px;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 700;
    color: var(--course-text);
}

.course-extra-stages__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.course-extra-stage {
    min-height: 204px;
    background: linear-gradient(180deg, #eefdfd 0%, #fff 100%);
}

.course-extra-stage__head {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 56px;
    padding: 12px 16px;
    background: var(--course-accent);
    color: #fff;
}

.course-extra__section .course-extra-stage__icon {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    margin-bottom: 0;
}

.course-extra-stage__icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}


.course-extra-stage h3,
.course-extra-schedule__head h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 700;
}

.course-extra-stage h3{
    color: #fff;
}

.course-extra-stage__text {
    padding: 13px 16px 18px;
    color: var(--course-muted);
    font-weight: 400;
    font-style: Regular;
    font-size: 13px;
    line-height: 22px;
}

.course-extra-stage__text p,
.course-extra-schedule__text p,
.course-extra-result__box p,
.course-extra-speaker__content p,
.course-extra-program__content p {
    margin: 0;
}

.course-extra-result__box {
    border-left: 3px solid var(--course-accent);
    background: var(--course-soft);
    padding: 36px 38px 38px;
}

.course-extra-result__box h2 {
    margin: 0 0 17px;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 700;
}

.course-extra-result__box div {
    color: var(--course-muted);
    font-weight: 400;
    font-style: Regular;
    font-size: 13px;
    line-height: 22px;
}

.course-extra-schedule__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.course-extra-schedule__item {
    min-width: 0;
    border-left: 2px solid var(--course-line);
}

.course-extra-schedule__head {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 55px;
    padding: 12px 14px;
    background: #ebebeb;
}

.course-extra-schedule__head span {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    min-width: 24px;
    height: 24px;
    margin-bottom: 0;
}

.course-extra-schedule__head img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.course-extra-schedule__text {
    padding: 12px 14px 0;
    color: var(--course-muted);
}

.course-extra-program__accordion {
    display: grid;
    gap: 24px;
}

.course-extra-program__item {
    border: 1px solid var(--course-line);
}

.course-extra-program__button {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 50px;
    align-items: center;
    width: 100%;
    min-height: 54px;
    padding: 0;
    border: 0;
    background: #fff;
    color: var(--course-text);
    text-align: left;
    cursor: pointer;
}

.course-extra-program__button span {
    display: flex;
    align-items: center;
    align-self: stretch;
    min-width: 99px;
    padding: 0 15px;
    background: var(--course-accent);
    color: #fff;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 700;
    margin-bottom: 0;
    justify-content: center;
}

.course-extra-program__button strong {
    padding: 0 10px;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
}

.course-extra-program__button i {
    position: relative;
    width: 34px;
    height: 34px;
    margin: 0 16px 0 0;
    justify-self: end;
    font-style: normal;
}

.course-extra-program__button i:before,
.course-extra-program__button i:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    background: #999;
    transform: translate(-50%, -50%);
}

.course-extra-program__button i:after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.course-extra-program__item.is-active .course-extra-program__button,
.course-extra-program__item.is-open .course-extra-program__button{
    background: var(--course-accent-soft);
}

.course-extra-program__item.is-open .course-extra-program__button i:after {
    opacity: 0;
}

.course-extra-program__content {
    display: none;
    padding: 18px 28px 22px 110px;
    border-top: 1px solid var(--course-line);
    color: var(--course-muted);
}

.course-extra-speaker {
    display: grid;
    grid-template-columns: 400px minmax(0, 1fr);
    gap: 72px;
    align-items: center;
    min-height: 480px;
    padding: 68px 238px;
    background: linear-gradient(90deg, #FFFFFF 0%, #EFEFEF 100%);
}

.course-extra-speaker__photo img {
    width: 400px;
    height: 402px;
    object-fit: cover;
}

.course-extra-speaker__content h2 {
    margin: 0 0 39px;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 700;
}

.course-extra-speaker__content h3 {
    margin: 0 0 22px;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 700;
}

.course-extra-speaker__content div {
    max-width: 245px;
    color: var(--course-muted);
}

.course-extra-gallery__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 50px;
    padding-bottom: 31px;
    border-bottom: 1px solid var(--course-line);
}

.course-extra-gallery__head .course-extra__title {
    margin: 0;
}

.course-extra-gallery__controls {
    display: flex;
    gap: 12px;
}

.course-extra-gallery__prev,
.course-extra-gallery__next {
    position: relative;
    width: 39px;
    height: 39px;
    border: 0;
    border-radius: 50%;
    background: #c9c9c9;
    cursor: pointer;
}

.course-extra-gallery__prev:before,
.course-extra-gallery__next:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 11px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
}

.course-extra-gallery__prev:before {
    transform: translate(-35%, -50%) rotate(-135deg);
}

.course-extra-gallery__next:before {
    transform: translate(-65%, -50%) rotate(45deg);
}

.course-extra-gallery__slider {
    overflow: hidden;
}

.course-extra-gallery__slider a {
    display: block;
    width: fit-content;
}

.course-extra-gallery__slider .swiper-slide{
    width: auto;
}

.course-extra-gallery__slider img,
.course-extra-gallery__slider video {
    width: 100%;
    height: 158px;
    object-fit: cover;
}

.course-extra-gallery__video-popup {
    width: min(900px, 90vw);
    background: #000;
}

.course-extra-gallery__video-popup video {
    display: block;
    width: 100%;
    max-height: 80vh;
}

.course-extra-gallery__video-popup + a[data-fancybox="course-extra-gallery"]{
    position: relative;
}

.course-extra-gallery__video-popup + a[data-fancybox="course-extra-gallery"]:after{
    content: "";
    position: absolute;
    inset: 0 0 0 0;
    background: rgba(0, 0, 0, 0.3);
}

.course-extra-gallery__video-popup + a[data-fancybox="course-extra-gallery"]:before{
    content: "";
    background: url(../img/rev-video-sign.svg) no-repeat center center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 25px;
    height: 25px;
    background-size: contain;
}

@media screen and (max-width: 1200px) {
    .course-extra-speaker {
        gap: 40px;
        padding: 56px 70px;
    }

    .course-extra-schedule__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 900px) {
    .course-extra__section + .course-extra__section,
    .course-extra {
        margin-top: 34px;
    }

    .course-extra-stages__grid,
    .course-extra-speaker {
        grid-template-columns: 1fr;
    }

    .course-extra-stages__grid {
        gap: 18px;
    }

    .course-extra-result__box {
        padding: 28px 24px;
    }

    .course-extra-program__button {
        grid-template-columns: 1fr 36px;
    }

    .course-extra-program__button span {
        grid-column: 1 / -1;
        min-height: 42px;
    }

    .course-extra-program__button strong {
        padding: 14px 15px;
        font-size: 15px;
    }

    .course-extra-program__content {
        padding: 16px;
    }

    .course-extra-speaker {
        padding: 28px;
    }

    .course-extra-speaker__photo img {
        width: 100%;
        height: auto;
        max-height: 420px;
    }

    .course-extra-speaker__content h2 {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 640px) {
    .course-extra__title,
    .course-extra-result__box h2,
    .course-extra-speaker__content h2 {
        font-size: 20px;
    }

    .course-extra-schedule__grid {
        grid-template-columns: 1fr;
    }

    .course-extra-gallery__head {
        margin-bottom: 28px;
        padding-bottom: 20px;
    }

    .course-extra-gallery__controls {
        display: none;
    }
}


/* Course detail description block */
.course-section.course-description {
    margin-top: 0;
}

.course-section.course-description + .course-section {
    margin-top: 52px;
}

.course-section .section-heading {
    margin-bottom: 48px;
    border-bottom: 1px solid #e5e5e5;
}

.course-section .section-heading h2 {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0 0 12px;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 700;
    color: #3f3f3f;
}

.course-section .section-heading h2:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 98px;
    height: 3px;
    background: #12c4c4;
}

.course-description .about-course {
    display: grid;
    grid-template-columns: minmax(0, 650px) 450px;
    gap: 70px;
    align-items: start;
}

.about-course__text ul,
.about-course__text ol{
    padding: 0 0 0 20px;
    margin: 0;
    color: #666;
    font-size: 13px;
    line-height: 22px;
}

.course-description .about-course h3 {
    margin: 0 0 26px;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 700;
    color: #3f3f3f;
}

.course-description .about-course p,
.course-description .about-course b{
    margin: 0;
    color: #666;
}

.course-description .about-course p + p {
    margin-top: 24px;
}

.course-description .about-course .lead {
    color: #3f3f3f;
    font-weight: 700;
}

.course-description .about-course__image img {
    display: block;
    width: 450px;
    height: 300px;
    max-width: 100%;
    object-fit: cover;
}

@media screen and (max-width: 900px) {
    .course-section.course-description + .course-section {
        margin-top: 34px;
    }

    .course-section .section-heading {
        margin-bottom: 28px;
    }

    .course-description .about-course {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .course-description .about-course__image img {
        width: 100%;
        height: auto;
        max-height: 420px;
    }
}

@media screen and (max-width: 640px) {
    .course-section .section-heading h2,
    .course-description .about-course h3 {
        font-size: 20px;
    }
}


/* Course detail certificate block */
.course-section.certificate-section {
    margin-top: 52px;
}

.certificate-section .certificate-cta {
    display: grid;
    grid-template-columns: 70px minmax(280px, 1fr) 220px 1px 236px;
    gap: 25px;
    align-items: center;
    min-height: 236px;
    padding: 36px 55px 36px 30px;
    background: #3f3f3f;
    color: #fff;
}

.certificate-cta .btn{
    width: 200px;
}

.certificate-section .certificate-cta__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff;
    color: #12c4c4;
}

.certificate-section .certificate-cta__icon img {
    display: block;
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.certificate-section .certificate-cta h2 {
    margin: 0 0 9px;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 700;
    color: #fff;
}

.certificate-section .certificate-cta p {
    max-width: 445px;
    margin: 0;
    color: #fff;
}

.certificate-section .certificate-cta__image img {
    display: block;
    width: 180px;
    max-width: 100%;
    margin: 0 auto;
}

.certificate-section .certificate-cta__divider {
    width: 1px;
    height: 113px;
    background: #fff;
}

.certificate-section .certificate-cta .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    min-width: 150px;
    min-height: 39px;
    padding: 10px 18px;
    background: #12c4c4;
    color: #fff;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
}

@media screen and (max-width: 1200px) {
    .certificate-section .certificate-cta {
        grid-template-columns: 70px minmax(260px, 1fr) 180px;
    }

    .certificate-section .certificate-cta__divider {
        display: none;
    }
}

@media screen and (max-width: 900px) {
    .course-section.certificate-section {
        margin-top: 34px;
    }

    .certificate-section .certificate-cta {
        grid-template-columns: 70px 1fr;
        gap: 20px;
        padding: 28px;
    }

    .certificate-section .certificate-cta__image,
    .certificate-section .certificate-cta .button {
        grid-column: 1 / -1;
    }
}

@media screen and (max-width: 640px) {
    .certificate-section .certificate-cta {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .certificate-section .certificate-cta__icon {
        width: 58px;
        height: 58px;
    }

    .certificate-section .certificate-cta h2 {
        font-size: 20px;
    }

    .certificate-section .certificate-cta .button {
        justify-self: stretch;
    }
}


/* Course detail video reviews slider */

.course-extra__section.course-extra-reviews{
    margin-top: 65px;
}

.course-extra-reviews__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.course-extra-reviews__head .course-extra__title {
    margin: 0;
}

.course-extra-reviews__controls {
    display: flex;
    gap: 12px;
}

.course-extra-reviews__prev,
.course-extra-reviews__next {
    position: relative;
    width: 39px;
    height: 39px;
    border: 0;
    border-radius: 50%;
    background: #c9c9c9;
    cursor: pointer;
}

.course-extra-reviews__prev:before,
.course-extra-reviews__next:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 11px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
}

.course-extra-reviews__prev:before {
    transform: translate(-35%, -50%) rotate(-135deg);
}

.course-extra-reviews__next:before {
    transform: translate(-65%, -50%) rotate(45deg);
}

.course-extra-reviews__slider {
    overflow: hidden;
    padding: 20px 0;
}

.course-extra-reviews .reviews-video__item {
    width: 100%;
}

@media screen and (max-width: 640px) {
    .course-extra-reviews__head {
        margin-bottom: 28px;
        padding-bottom: 20px;
    }

    .course-extra-reviews__controls {
        display: none;
    }
}
