/* блок схемы */
.sheme_inner_items {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 8px;
    padding-top: 20px;
}

.div2 {
    grid-column-start: 1;
    grid-row-start: 2;
}

.div3 {
    grid-column-start: 1;
    grid-row-start: 3;
}

.div4 {
    grid-column-start: 1;
    grid-row-start: 4;
}

.div5 {
    grid-row: span 2 / span 2;
    grid-column-start: 2;
    grid-row-start: 2;
}

.div7 {
    grid-row: span 2 / span 2;
    grid-column-start: 3;
    grid-row-start: 2;
}

.div9 {
    grid-column-start: 3;
    grid-row-start: 4;
}

.div10 {
    grid-row: span 4 / span 4;
    grid-column-start: 4;
    grid-row-start: 1;
}

.div11 {
    grid-column-start: 5;
    grid-row-start: 1;
}

.div12 {
    grid-column-start: 5;
    grid-row-start: 2;
}

.div13 {
    grid-column-start: 5;
    grid-row-start: 3;
}

.div14 {
    grid-column-start: 5;
    grid-row-start: 4;
}

.div15 {
    grid-column-start: 6;
    grid-row-start: 1;
}

.div16 {
    grid-column-start: 6;
    grid-row-start: 2;
}

.div17 {
    grid-column-start: 6;
    grid-row-start: 4;
}

/* two */

.parent_footer {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 8px;
    position: relative;
}

.sheme_inner_items .sheme_item_block {
    box-sizing: border-box;
    position: relative;
    /* Auto layout */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    gap: 10px;

    /* width: 270px;
      height: 144px; */

    /* IBIM colors/Morning fog */
    background: #f0f4fa;
    /* IBIM colors/Rainfall */
    border: 1px solid #7b8ca2;

    /* Inside auto layout */
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    margin-bottom: 40px;
}

/* Таблица #2 */

.parent_footer {
    display: flex;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 8px;
    width: 100%;
    padding-top: 64px;
}

.sheme_footer_item {
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    gap: 10px;

    width: 198px;
    height: 144px;

    background: #eef9fb;

    border: 1px solid #169fb2;
    border-radius: 0px;

    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 1;
}

/* [приложение к договору] */

.sheme_item_top .sheme_item_top {
    /* Desktop/body text */
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 130%;
    /* or 23px */
    display: flex;
    align-items: center;
    text-align: center;

    /* IBIM colors/Deep night */
    color: #131f31;

    /* Inside auto layout */
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

/* Проектно-сметная документация */
.sheme_item_block span {
    font-family: "Nebulas";
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 120%;

    /* display: flex;
    align-items: center;
    text-align: center; */
    letter-spacing: 0.05em;

    color: #131f31;
}

.parent_footer .sheme_footer_item {
    position: relative;
}
.parent_footer .sheme_footer_item:before {
    content: "";
    background: url(/img/standart/arrow.svg) no-repeat;
    height: 26px;
    top: -27px;
    position: absolute;
    width: 10px;
}

.parent_footer:before {
    content: "";
    background: url(/img/standart/line.svg) no-repeat;
    width: 1358px;
    position: absolute;
    height: 2px;
    left: 50%;
    top: 37px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sheme_item_block.div5 {
    max-width: 290px;
    height: 144px;
    margin-top: 85px;
}

.sheme_item_block.div7 {
    max-width: 320px;
    height: 144px;
    margin-top: 85px;
}

.sheme_item_block.div10 {
    max-width: 275px;
}

.sheme_item_block.div9 {
    max-width: 320px;
}

.sheme_item_block.div11 {
    max-width: 320px;
}

.sheme_item_block.div12 {
    max-width: 320px;
}

.sheme_item_block.div13 {
    max-width: 320px;
}

.sheme_item_block.div14 {
    max-width: 320px;
}

.sheme_item_block.div15 {
    max-width: 320px;
}

.sheme_item_block.div16 {
    max-width: 320px;
}

.sheme_item_block.div17 {
    max-width: 320px;
}

/* Обычная таблица */
.sheme_item_block.div1:before {
    content: "";
    background: url(/img/standart/arrow_left.svg) no-repeat;
    height: 26px;
    position: absolute;
    width: 10px;
    top: 50%;
    right: -15px;
}

.sheme_footer_item.div1::before {
    left: 125px;
}

.sheme_item_block.div5:before {
    content: "";
    background: url(/img/standart/arrow_right_left.svg) no-repeat;
    height: 11px;
    position: absolute;
    width: 20px;
    top: 50%;
    right: -21px;
}

.sheme_item_block.div7:after {
    content: "";
    background: url(/img/standart/arrow_right_left.svg) no-repeat;
    height: 11px;
    position: absolute;
    width: 20px;
    top: 50%;
    right: -21px;
    transform: rotate(180deg);
}

.sheme_item_block.div2:before {
    content: "";
    background: url(/img/standart/arrow_left.svg) no-repeat;
    height: 11px;
    position: absolute;
    width: 11px;
    top: 50%;
    right: -15px;
}

.sheme_item_block.div3:before {
    content: "";
    background: url(/img/standart/arrow_left.svg) no-repeat;
    height: 11px;
    position: absolute;
    width: 11px;
    top: 50%;
    right: -15px;
}

.sheme_item_block.div4:before {
    content: "";
    background: url(/img/standart/arrow_left.svg) no-repeat;
    height: 11px;
    position: absolute;
    width: 11px;
    top: 50%;
    right: -15px;
}

.sheme_item_block.div7:before {
    content: "";
    background: url(/img/standart/arrow_1_top.svg) no-repeat;
    height: 310px;
    position: absolute;
    width: 11px;
    top: -155px;
    transform: translate(-50%, -50%);
}

.sheme_item_block.div9:before {
    content: "";
    background: url(/img/standart/arrow_2_top.svg) no-repeat;
    height: 119px;
    position: absolute;
    width: 11px;
    top: -63px;
    transform: translate(-50%, -50%);
}

.sheme_item_block.div9:after {
    content: "";
    background: url(/img/standart/arrow_3_top.png) no-repeat;
    height: 99px;
    position: absolute;
    width: 11px;
    top: 156px;
    transform: translate(-50%, -50%);
}

.sheme_inner_items .sheme_item_block.div1:after {
    content: "";
    background: url(/img/line_left.svg) no-repeat;
    height: 99px;
    position: absolute;
    width: 11px;
    top: 156px;
    transform: translate(-50%, -50%);
    position: absolute;
    width: 0px;
    height: 498px;
    left: 284px;
    top: 310px;
    width: 2px;
}

.sheme_item.first {
    display: block;
    background: #fff;
    z-index: 20;
    position: relative;
    max-width: 1730px;
}

.sheme_item_block.div11:before {
    content: "";
    background: url(/img/standart/arrow_line_right.svg) no-repeat;
    height: 20px;
    position: absolute;
    width: 20px;
    top: 50%;
    transform: translate(-50%, -50%);
    left: -12px;
}

.sheme_item_block.div12:before {
    content: "";
    background: url(/img/standart/arrow_line_right.svg) no-repeat;
    height: 20px;
    position: absolute;
    width: 20px;
    top: 50%;
    transform: translate(-50%, -50%);
    left: -12px;
}

.sheme_item_block.div13:before {
    content: "";
    background: url(/img/standart/arrow_line_right.svg) no-repeat;
    height: 20px;
    position: absolute;
    width: 20px;
    top: 50%;
    transform: translate(-50%, -50%);
    left: -12px;
}

.sheme_item_block.div14:before {
    content: "";
    background: url(/img/standart/arrow_line_right.svg) no-repeat;
    height: 20px;
    position: absolute;
    width: 20px;
    top: 50%;
    transform: translate(-50%, -50%);
    left: -12px;
}

.sheme_item_block.div15:before {
    content: "";
    background: url(/img/standart/arrow_line_right.svg) no-repeat;
    height: 20px;
    position: absolute;
    width: 20px;
    top: 50%;
    transform: translate(-50%, -50%);
    left: -12px;
}

.sheme_item_block.div16:before {
    content: "";
    background: url(/img/standart/arrow_line_right.svg) no-repeat;
    height: 20px;
    position: absolute;
    width: 20px;
    top: 50%;
    transform: translate(-50%, -50%);
    left: -12px;
}

.sheme_item_block.div17:before {
    content: "";
    background: url(/img/standart/arrow_line_right.svg) no-repeat;
    height: 20px;
    position: absolute;
    width: 20px;
    top: 50%;
    transform: translate(-50%, -50%);
    left: -12px;
}
@media (max-width: 992px) {
    .standart_adv .sheme_inner {
        display: none;
    }
    .standart_adv .sheme_inner_items {
        display: none;
    }
    .standart_adv .parent_footer {
        display: none;
    }
    .standart_adv .documents_inner {
        display: none;
    }
    .documents_container {
        display: block;
    }
    .documents_container button {
        width: 100%;
    }
    .documents_container div {
        width: 100%;
        margin-left: 15px;
        margin-right: 15px;
    }
}

.standart_adv {
    padding-bottom: 0;
}

@media screen and (min-width: 992px) {
    .m_banner__title {
        font-family: "Nebulas";
        font-style: normal;
        font-weight: 500;
        font-size: 80px;
        line-height: 85%;
        /* identical to box height, or 68px */
    }
    .m_banner__txt {
        /* Desktop/H6 */
        font-family: "Manrope";
        font-style: normal;
        font-weight: 500;
        font-size: 32px !important;
        line-height: 120%;
        /* or 38px */

        /* IBIM colors/Grey fog */
        color: #c3cdda !important;
    }
}

.mini-desc_mobile {
    display: none;
}

.mini-desc {
    display: block;
}

@media (min-width: 992px) and (max-width: 1440px) {
    .m_banner__title {
        font-size: 60px;
    }
}

@media (max-width: 768px) {
    .standart_page .row div {
        margin-bottom: 15px;
    }
    nav#toppanel {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        align-content: stretch;
    }

    .two_stages {
        display: flex;
        flex-wrap: wrap;
    }
    .standart_stages .stages__list li span {
        order: 1;
        position: relative;
        display: flex;
    }
    li.two_stages {
        display: flex;
        position: relative;
    }

    .mini-desc_mobile {
        display: block !important;

        font-family: "Manrope";
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
        line-height: 125%;
        text-align: right;

        color: #7b8ca2;
    }

    .mini-desc {
        display: none !important;
    }
    span.mini-desc_mobile {
        margin-left: auto;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .standart_adv .adv__box_new.first .adv__title {
        /* Mob/H2 */
        font-family: "Nebulas";
        font-style: normal;
        font-weight: 500 !important;
        font-size: 28px !important;
        line-height: 110% !important;

        color: #ffffff;
    }
}

.m_banner__txt_mobile {
    display: none;
}
.standart_description {
    display: none;
}

.stage_block {
    width: auto;
    white-space: nowrap;
}

.facebook__label_mobile {
    display: none;
}
.container-main.imp_footer_form {
    padding-left: 2vw;
    padding-right: 2vw;
    max-width: 100%;
    margin: 0 auto;
    font-family: "Nebulas", sans-serif;
}

.documents_container p {
    margin-bottom: 0;
}