@media screen {
    html {
        margin-top: 0 !important;
    }
}
@media screen and (max-width: 782px) {
    html {
        margin-top: 0 !important;
    }
}


.footer-menu-first {
    margin-bottom: 0 !important;
}
.footer-menu-second {
    margin-top: 0 !important;
}

.calc-sect__block span.wpcf7-form-control-wrap,
.calc-sect__block span.wpcf7-form-control.wpcf7-radio,
.calc-sect__block span.wpcf7-list-item.first.last {
    display: contents;
}
.calc-sect__type .wpcf7-list-item-label {
    display: none;
}

.def-check .wpcf7-list-item-label {
    color: transparent;
    font-size: 0;
}

.calc-sect__content form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 35px
}

@media only screen and (max-width: 768px) {
    .calc-sect__content form {
        gap: 30px
    }
}

.calc-sect__footer .calc-sect__desc {
    order: 2;
    min-width: 25%;
}

.calc-sect__footer .wpcf7-form-control {
    order: 3;
}

.calc-sect__footer .wpcf7-spinner {
    order: 1;
}

.calc-sect__check span.wpcf7-not-valid-tip,
.calc-sect__type span.wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 1em;
    font-weight: normal;
    display: block;
    border: none;
    background: transparent;
    text-align: center;
}

.wpcf7-response-output {
    text-align: center;
    padding: 15px !important;
    margin: 20px 0 0 0 !important;
    border-radius: 7px;
}
#wpcf7-f245-o4 .wpcf7-response-output {
    margin: 40px 0 0 0 !important;
}
#wpcf7-f254-o1 .wpcf7-response-output {
    margin: 0 0 0 0 !important;
}
#wpcf7-f290-o2 .wpcf7-response-output {
    margin: 0 0 0 0 !important;
}
#wpcf7-f6-o3 .wpcf7-response-output {
    margin: 0 0 0 0 !important;
}

.calc-sect__type .calc-sect__div.active {
    background-color: #386548;
    color: #fff
}


.calc-sect__type .calc-sect__div {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 0px;
    flex: 1 0 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #e1e1e1;
    background-color: rgba(255, 255, 255, .3);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    color: #171107;
    -webkit-transition: all .35s ease-out;
    -o-transition: all .35s ease-out;
    transition: all .35s ease-out
}

.calc-sect__type .calc-sect__div:hover {
    border-color: #171107;
}

@media only screen and (max-width: 1590px) {
    .calc-sect__type .calc-sect__div {
        padding: 10px
    }
}

@media only screen and (max-width: 360px) {
    .calc-sect__type .calc-sect__div {
        padding: 5px;
        gap: 5px
    }
}

.calc-sect__type .calc-sect__div em {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: #fff;
    border-radius: 7px;
    height: 180px;
    width: 100%
}

.calc-sect__type .calc-sect__div em img {
    display: inline-block;
    height: auto;
    block-size: auto;
    max-width: 100%;
    max-inline-size: 100%;
    padding: 10px
}

.calc-sect__type .calc-sect__div span {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 0px;
    flex: 1 0 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    line-height: 1.2;
    font-weight: 500;
    min-height: 1.875em;
    width: 100%
}


.def-check .wpcf7-form-control-wrap {
    border: none;
    background: transparent;
    margin-left: 0;
}
.def-check .wpcf7-form-control.wpcf7-checkbox {
    border: none;
    background: transparent;
    margin-left: 0;
}
.def-check .wpcf7-list-item.first.last {
    border: none;
    background: transparent;
    margin-left: 0;
}
.faq-sect__form-check .def-check {
    overflow: visible;
}
.def-check .wpcf7-not-valid-tip {
    /*display: none;*/
    position: absolute;
    bottom: -45px;
    left: -10px;
    width: 100%;
    min-width: 240px;
    border: none;
    text-align: left;
    margin-right: auto;
    font-size: 1.1em;
    font-weight: normal;
}
@media only screen and (max-width: 480px) {
    .def-check .wpcf7-not-valid-tip {
        font-size: 1em;
    }
}
/*
#wpcf7-f245-o4 .def-check .wpcf7-not-valid-tip {
    left: -40px;
}

#wpcf7-f254-o1 .def-check .wpcf7-not-valid-tip {
    left: -40px;
}

#wpcf7-f290-o2 .def-check .wpcf7-not-valid-tip {
    left: -40px;
}
*/
.def-check__agree {
    max-width: 400px;
}

.cont-sect__info .main-header__soc a img {
    filter: brightness(0) saturate(100%) invert(1);
}

.cont-sect__info-content a {
    color: #fff;
}
.cont-sect__info-content a:hover {
    color: #fff;
    text-decoration: underline;
}
.faq-sect__form-phone a {
    color: #171107;
}
.faq-sect__form-phone a:hover {
    color: #171107;
    text-decoration: underline;
}
.faq-sect__form-email a {
    color: #6b6b6b;
    white-space: nowrap;
}
.faq-sect__form-email a:hover {
    color: #6b6b6b;
    white-space: nowrap;
    text-decoration: underline;
}

.calc-sect__block .faq-sect__form-input input {
    background-color: rgba(255, 255, 255, .3);
}

.calc-sect__footer {
    justify-content: space-between;
}

.main-header__container {
    justify-content: space-between;
}

.error404 .content-sect__text {
    text-align: center;
    margin-top: 50px;
}


@media only screen and (max-width: 768px) {
    .faq-sect__form-submit {
        margin-top: 30px;
    }
}