.left-img {
    float: left;
    margin-bottom: 20px;
    margin-right: 20px;
}

.textTop {
    float: none !important;
}

#sdTab .tabsNav>ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

#sdTab .tabsNav>ul>li {
    width: 33.333333333%;
    position: relative;
    padding: 0;
}

#sdTab .tabsNav>ul>li:before {
    display: none;
}

#sdTab .tabsNav>ul>li>a {
    display: block;
    color: #a7a7ad;
    font-size: 20px;
    font-weight: 500;
    line-height: 20px;
    text-decoration: none;
    padding: 22px 10px;
    text-align: center;
    /* border: 2px solid #d7d7d7;*/
    border-bottom: 0;
    position: relative;
    height: 100%;
    font-weight: bold;
}

#sdTab .tabsNav>ul>li.active>a {
    color: #000;
    border: 1px solid #e0e0e2;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
}

#sdTab .tabsNav>ul>li.active>a:after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: #fff;
    position: absolute;
    left: 0px;
    bottom: -1px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

#sdTab .tab-pane {
    border: 1px solid #e0e0e2;
    padding: 40px 60px;
    border-radius: 15px;
}

#sdTab .tab-pane:first-child {
    border-top-left-radius: 0px;
}

#sdTab .tab-pane:last-child {
    border-top-right-radius: 0px;
}

form.calc, .callbackForm1 {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

form.calc input[type=number], form.callbackForm1 input[type=text] {
    height: 6.3rem;
    width: 100%;
    border: none;
    background: #f5f5f7;
    border-radius: 10px;
    padding: 0 4rem;
    margin-bottom: 3rem;
}

form.calc input[type=button], form.callbackForm1 input[type=submit] {
    border-radius: 5px;
    width: 100%;
    border: none;
    background: #ffc61a;
    height: 5.6rem;
    font-size: 1.4rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
}

.flex_column {
    display: flex;
    width: 66.6%;
    flex-wrap: wrap;
    align-items: flex-start;
}

#sdTab {
    margin-bottom: 10rem;
}

#sdTab .col-md-6 {
    width: 50%;
    padding-left: 15px;
    padding-right: 15px;
}

.calc_column {
    padding: 0 15px;
    width: 33.3%;
}

.flex_column .calc_column {
    width: 50%;
}

.calc_column select {
    height: 6.3rem;
    width: 100%;
    border: none;
    background: url(img/down-arrow.png) 93% center #f5f5f7 no-repeat;
    border-radius: 10px;
    padding: 0 4rem;
    margin-bottom: 3rem;
    -webkit-appearance: none;
}

.flex-radio {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2.8rem;
}

form.calc input[type=radio] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.accent-viol {
    font-size: 24px;
    color: #ffc515;
    font-weight: bold;
}

.calc_sq1, .calc_sq2, .calc_sq3, .calc_sq4 {
    width: 6.5rem;
    height: 6.5rem;
    margin-right: 2rem;
    cursor: pointer;
}

.calc_sq1 {
    background: url(img/calc1.png) center center no-repeat;
    background-size: contain;
}

form.calc input[type=radio]:checked + .calc_sq1 {
    background: url(img/calc1_1.png) center center no-repeat;
    background-size: contain;
}

.calc_sq2 {
    background: url(img/calc2.png) center center no-repeat;
    background-size: contain;
}

form.calc input[type=radio]:checked + .calc_sq2 {
    background: url(img/calc2_2.png) center center no-repeat;
    background-size: contain;
}

.calc_sq3 {
    background: url(img/calc3.png) center center no-repeat;
    background-size: contain;
}

form.calc input[type=radio]:checked + .calc_sq3 {
    background: url(img/calc3_3.png) center center no-repeat;
    background-size: contain;
}

.calc_sq4 {
    background: url(img/calc4.png) center center no-repeat;
    background-size: contain;
}

form.calc input[type=radio]:checked + .calc_sq4 {
    background: url(img/calc4_4.png) center center no-repeat;
    background-size: contain;
}

.slide_mob {
    display: none;
}

#projectContacts {
    padding: 80px 0;
    background: url(/bitrix/templates/energy_new/images/projectMapBg.jpg) 50% 50% no-repeat;
    background-size: cover;
    text-align: center;
}

.textTop:after {
    content: '';
    display: block;
    clear: both;
}

.main_slider.owl-carousel .owl-item img {
    display: block;
}

.begin_items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.begin_items .item {
    margin: 2rem;
    text-align: center;
}

.begin_items .item .name {
    margin-bottom: 1.5rem;
}

.begin_items .item .name a {
    font-weight: bold;
    text-decoration: underline;
}

.begin_items .item .img img {
    width: 30rem;
}

.begin_items .item .arrow {
    max-width: 6rem;
}

.begin_items .item .name a:hover {
    text-decoration: none;
}

.flex_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 6rem;
}

.flex_top .caption {
    font-size: 6rem;
    line-height: 1.16em;
    font-weight: bold;
}

.flex_top a {
    font-size: 1.4rem;
    font-weight: bold;
    color: #000;
    line-height: 1em;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 2rem 3.3rem;
    border-radius: 5px;
    border: 1px solid #ffc61a;
    -webkit-transition: all .25s ease;
    -o-transition: all .25s ease;
    transition: all .25s ease;
    text-transform: uppercase;
}

.flex_top a:hover {
    background: #ffc61a;
}

.banks {
    display: flex;
    flex-wrap: wrap;
}

.banks .banks_item {
    width: 31%;
    margin-right: 2%;
    margin-bottom: 2%;
}

.works_benef.works_benef_four .item {
    width: 23%;
}

.pad_top_bot {
    padding-top: 10rem;
    margin-bottom: 1em;
}

.menu ul li.submenu:nth-child(5) {
    padding-right: 3.6rem;
    padding-left: 1.8rem;
    background: -webkit-gradient(linear, left top, right top, from(#e29809), to(#fbbe13));
    background: -o-linear-gradient(left, #e29809, #fbbe13);
    background: linear-gradient(to right, #e29809, #fbbe13);
    font-weight: bold;
    color: #ffffff;
}

.menu ul li ul {
    left: 0;
}

.menu ul li.submenu:nth-child(5):after {
    right: 1.8rem;
}

.menu ul li.submenu:nth-child(5):after {
    right: 1.8rem;
}

.menu ul li ul li a {
    font-weight: normal;
}

#content-inner.house_page {
    padding-top: 0px;
}

.header .yellow .container .header_address {
    margin-right: 0px;
}

.header .yellow .container a.need_consult {
    margin-lefT: 2rem;
}

.services_flex {
    padding-top: 30px;
    padding-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.services_flex_img {
    width: 250px;
    height: 125px;
    background-position: center center;
    background-size: cover;
}

@media (max-width: 768px) {
    .flex_top .caption {
        font-size: 3rem;
        margin-bottom: 2rem;
    }

    .flex_top {
        margin-bottom: 2.5rem;
    }

    .begin_items .item {
        margin: 1rem;
    }

    .begin_items .item .arrow {
        display: none;
    }

    .slide_desc {
        display: none;
    }

    .slide_mob {
        display: block;
    }

    #sdTab .tab-pane {
        padding-left: 10px;
        padding-right: 10px;
    }

    .calc_column_img {
        display: none;
    }

    .flex_column, .flex_column .calc_column {
        width: 100%;
    }

    form.calc input[type=button], form.callbackForm1 input[type=submit] {
        margin-bottom: 3rem;
    }

    .calc_column select, form.calc input[type=number], form.callbackForm1 input[type=text] {
        padding: 0 2rem;
    }

    .calc_column select {
        padding-right: 4rem;
    }

    .calc_sq1, .calc_sq2, .calc_sq3, .calc_sq4 {
        marign-right: 1rem;
        margin-bottom: 1rem;
    }

    #sdTab .tabsNav>ul {
        margin-bottom: 1rem;
    }

    #sdTab .tabsNav>ul>li {
        width: 100%;
    }

    #sdTab .tabsNav>ul>li.active>a {
        border: 1px solid #e0e0e2;
        border-radius: 10px;
    }

    #sdTab .tab-pane:last-child, #sdTab .tab-pane:first-child {
        border-radius: 10px;
    }

    .banks .banks_item {
        width: 100%;
    }

    .middlePics img {
        width: 100%;
    }
}

@media (max-width: 580px) {
    .header .red .container {
        display: flex;
        justify-content: flex-start;
    }

    .header .red .container .header_red_right .header_phone {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        align-content: flex-start;
        justify-content: center;
    }

	.header .red .container .header_red_right .header_phone a {
		line-height: 6px;
	}
}
