.blocks {
    padding-top: 20px;
}

.pt2 {
    padding-top: 35px;
}
/*
@media(max-width: 767px) {
    .blocks, .pt2 {
        padding-top: 10px;
    }
}*/

.block, .block-full {
    position: relative;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    margin-top: 95px;
    overflow: hidden;
}

.dark-block .block {
    background-color: #023057;
}

.first-block .block-full {
    margin-top: 67px;
}

.block {
    min-height: 295px;
    padding: 50px;
    padding-right: 0;
}

.dark-block .block {
    margin-top: 50px;
}

@media(max-width: 991px) {
    .block-cont .block {
        padding-top: 70px;
    }
    .block-cont:first-child .block {
        margin-top: 70px;
    }
    .pbm0 {
        padding-bottom: 0;
    }
    .dark-block .block {
        margin-top: 40px;
    }    
}

.step-title {
    margin-top: 95px;
}

.minh-auto {
    min-height: auto;
}

.p70, .block-full {
    padding: 80px 70px 70px 70px;
}

.p70 {
    padding-right: 0;
}

.block-normal {
    padding-right: 70px;
}

@media(max-width: 1260px) {
    .block-full {
        padding-left: 50px;
        padding-right: 50px;
        padding-bottom: 50px;
    }
    .p70 {
        padding-left: 50px;
        padding-bottom: 50px;
    }
}

.block-cont {
    position: relative;
}

.block-text {
    width: 100%;
    max-width: 520px;
    padding-right: 35px;
}

.dark-block .block-text {
    max-width: 590px;
}

@media(max-width: 991px) {
    .block-text {
        max-width: 100%;
        padding-right: 0;
    }
    .block {
        min-height: auto;
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media(max-width: 767px) {
    .block, .block-full {
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 30px;
    }
}

@media(max-width: 991px) {
    .block-pbm0, .with-btns .block {
        padding-bottom: 0;
    }
}

@media(max-width: 767px) {
    .with-btns .block {
        padding-bottom: 30px;
    }
}


.block-text p {
    margin-top: 17px;
}

.block-image {
    position: relative;
    width: 100%;
    flex: 1 1;
}

.not-rel {
    position: unset;
}

.ml.block-image {
    margin-left: 60px;
}

@media(max-width: 1260px) {
    .ml.block-image {
        margin-left: 0;
    }
}

.shadow {
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.35));
}

.block-image img {
    max-width: none;
    max-height: 600px;
    position: absolute;
    z-index: 1800;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
}

.block-image .img-cent {
    max-height: 420px;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.block-image .closer {
    left: 45%;
}

@media(max-width: 991px) {
    .block-image .closer {
        max-height: 280px;
    }
}

.block-image .maxh320, .block-image .maxh320.img-cent {
    max-height: 320px;
}

.block-image .maxh300, .block-image .maxh300.img-cent {
    max-height: 300px;
}

.block-image .maxh350, .block-image .maxh350.img-cent {
    max-height: 350px;
}

.block-image img.in-right-bottom {
    top: auto;
    transform: none;
    bottom: -70px;
    left: auto;
    right: 0;
}

.block-image img.in-bottom.img-cent {
    top: auto;
    transform: translateX(-50%);
    bottom: -70px;
}

@media(max-width: 1260px) {
    .block-image .img-cent {
        left: 0;
        transform: translateY(-50%);
    }
    .block-image .media20 {
        left: -20%;
    }
    .not-rel {
        position: relative;
    }
    .block-image img.in-right-bottom {
        left: 0;
        right: auto;
    }
}

.block-image .img-top {
    transform: translateY(-35%);
}

@media(max-width: 991px) {
    .block-image {
        flex: none;
    }
    .block-image img, .block-image .img-cent {
        max-height: 400px;
        position: relative;
        top: auto;
        bottom: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin-top: 30px;
    }
    .block-image .img-mtm0 {
        margin-top: 0;
    }
    .maxw100 {
        padding: 0;
    }
    .maxw100 img {
        max-width: 100%;
    }
}

@media(max-width: 767px) {
    .block-image img {
        max-height: 300px;
    }
}

.block-number, .number-p, .number2-p {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -67px;
    width: 134px;
    height: 134px;
    border-radius: 50%;
    background-color: #fff;
}

.number2-p {
    width: 91px;
    height: 91px;
    border: 2px solid #1b80b8;
    top: -46px;
}

.number-p, .number2-p {
    z-index: 2500;
}

.block-number {
    z-index: 1500;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.block-cont:after {
    content: '';
    width: 200px;
    height: 100px;
    background-color: #fff;
    position: absolute;
    z-index: 1700;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
}

.dark-block:after {
    display: none;
}

.step-title.block-cont:after {
    display: none;
}

.step-title h4  {
    padding-top: 65px;
}

.number-p p, .number2-p p {
    position: relative;
    z-index: 2500;
    font-size: 35px;
    line-height: 0.9;
}

@media(max-width: 767px) {
    .number-p p, .number2-p p {
        font-size: 30px;
    }
}

.number2-p p {
    color: #1b80b8;
}

.block-btn {
    position: absolute;
    z-index: 3100;
    bottom: 0;
    right: 0;
}

@media(max-width: 767px) {
    .block-btn {
        width: 100%;
        position: relative;
        justify-content: center;
        margin-top: 0;
    }
    .block-btn .btn {
        width: 100%;
    }
}