@font-face {
    font-family: 'Segoe Print';
    src: url('../fonts/SegoePrint.eot');
    src: url('../fonts/SegoePrint.eot?#iefix') format('embedded-opentype'),
    url('../fonts/SegoePrint.woff2') format('woff2'),
    url('../fonts/SegoePrint.woff') format('woff'),
    url('../fonts/SegoePrint.ttf') format('truetype'),
    url('../fonts/SegoePrint.svg#SegoePrint') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    padding: 0;
    margin: 0;
    border: 0;
}

*, *:before, *:after {
    box-sizing: border-box;
}

:focus, :active {
    outline: none;
}

a:focus, a:active {
    outline: none;
}

nav, footer, header, aside {
    display: block;
}

html, body {
    font-family: Arial,Tahoma,sans-serif;
    height: 100%;
    width: 100%;
    font-size: 100%;
    line-height: 1;
    font-size: 13px;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

input, button, textarea {
    font-family: inherit;
}

input::-ms-clear {display: none}
button {cursor: pointer}
button::-moz-focus-inner{padding: 0; border: 0}
a, a:visited, a:hover{text-decoration: none}
ul, li {list-style: none}
img {vertical-align: top}

h1, h2, h3, h4, h5, h6 {font-size: inherit; font-weight: 400;}




.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.d-none {
    display: none!important;
}

.d-block {
    display: block!important;
}

.d-flex {
    display: flex!important;
}

.align-end {
    align-items: flex-end!important;
}




header, footer {
    background: #d5a364;
    background: -moz-linear-gradient(135deg,#ce9757 0%,#d5a364 20%,#e0b57d 40%);
    background: -webkit-linear-gradient(135deg,#ce9757 0%,#d5a364 20%,#e0b57d 40%);
    background: linear-gradient(135deg,#ce9757 0%,#d5a364 20%,#e0b57d 40%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ce9757', endColorstr='#e0b57d',GradientType=0 );
}

.header {
    height: 90px;
}

.menu ul {
    display: flex;
}

.menu ul li a {
    display: block;
    font-size: 16px;
    color: #6E3400;
    line-height: 85px;
    padding: 0 20px;
    font-family: Tahoma,sans-serif;
}

.menu-link.active {
    border-bottom: 5px solid #CD822D;
}

.menu-link:hover {
    border-bottom: 5px solid #CD822D;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.right-buttons ul li a {
    font-size: 16px;
}

.ya-share2__container_size_m .ya-share2__icon {
    background-size: cover!important;
}

.button {
    background: #00CA3D;
    text-align: center;
    border-bottom: 3px solid #008414;
    color: #ffffff;
    font-family: Tahoma,sans-serif;
}

.button.header-button {
    max-width: 110px;
    margin: 10px;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 5px;

}

.button.header-button:hover {
    background: #008414;
}

.right-buttons {
    display: flex;
    align-items: center;
}




.main-content {
    background-position: top center!important;
    padding: 10px;
    background: #fff8ec;
    background: -moz-linear-gradient(135deg,#faeed5 0%,#fff8ec 20%,#f2d9b9 40%);
    background: -webkit-linear-gradient(135deg,#faeed5 0%,#fff8ec 20%,#f2d9b9 40%);
    background: linear-gradient(135deg,#faeed5 0%,#fff8ec 20%,#f2d9b9 40%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#faeed5', endColorstr='#f2d9b9',GradientType=0 );
}

.main-church {
    display: flex;
    margin-bottom: 20px;
}


.main-church-l {
    width: 56%;
    margin: 2%;
}

.main-church-r {
    width: 40%;
    padding: 20px;
}

.main-church-r-icon img {
    width: 220px;
}

.main-church-r-icon {
    width: 100%;
    display: flex;
    justify-content: center;
}

#name_siti {
    text-align: center;
    padding: 10px 0;
}

#name_siti span {
    color: #2A2020;
    font-size: 20px;
    padding: 5px 0;
    display: block;
}

#name_siti h1 {
    color: #2A2020;
    font-size: 28px;
    font-weight: 900;
    font-family: Arial,Tahoma,sans-serif;
}

.main-church-r-button {
    width: 250px;
    margin: 10px auto;
    position: relative;
    z-index: 2;
    display: block;
    padding: 13px 20px;
    font-size: 34px;
    border-radius: 15px;
}

.main-church-r-button:hover {
    background: #008414;
}

.restoration {
    display: flex;
}

.restoration-l {
    width: 60%;
    padding: 0 10px;
}
.restoration-r {
    width: 40%;
    padding: 0 20px 40px;
}


.name_bc {
    font-family: 'Segoe Print';
    font-size: 20px;
    font-weight: 700;
    color: #E42400;
    padding: 15px 25px;
    display: block;
}

.restoration-l-head {
    width: 100%;
    border-radius: 5px;
    border: 3px solid #EAC8A6;
    background: rgba(238,227,189,.40);
    padding: 10px;
    padding-bottom: 25px;
    display: flex;
    margin-bottom: 10px;
}

.restoration-l-head-img {
    margin-right: 10px;
    flex-shrink: 0;
}

.restoration-l-head-content {
    padding: 7px 5px;
    font-family: Arial;
}

.restoration-l-head-content h4 {
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
}
.restoration-l-head-content span {
    display: block;
}

.op_text {
    color: #797979;
    line-height: 20px;
    font-size: 16px;
}

.restoration-l-head-content span i {
    color: #ED3939;
    font-style: normal;
    font-weight: 700;
}

#message_obr {
    position: relative;
}

#message_obr p {
    padding: 10px 20px;
    font-family: Arial;
    display: block;
    font-size: 18px;
    color: #424242;
    text-shadow: 1px 1px #f2d9b9;
    line-height: 20px;
    position: relative;
    z-index: 2;
}

.message_obr_bg {
    position: absolute;
    bottom: 0;
    right: 0;
}

.restoration-l-button {
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 5px;
    margin-left: 10px;
    width: 110px;
}

.restoration-l-button:hover {
    background: #008414;
}

.sub-title-after {
    margin-bottom: 8px;
    font-family: Arial;
    color: #767676;
    font-size: 17px;
    clear: left;
    clear: both;
    font-weight: 700;
    margin-top: 25px;
}

#gotovo_bic_img img {
    width: 100%;
    min-width: 100%;
}

#gotovo_bic_img {
    border: 4px solid #FFF;
    box-shadow: 0 1px 5px rgba(0,0,0,.3);
    overflow: hidden;
}


button.owl-prev span, button.owl-next span {
    font-size: 30px;
    display: inline-block;
    background: #fff;
    padding: 0 6px 3px;
}

button.owl-next {
    position: absolute;
    right: 0;
    top: 50%;
    font-size: 30px;
    margin-top: -15px;
}

button.owl-prev {
    position: absolute;
    top: 50%;
    font-size: 30px;
    margin-top: -15px;
    left: 0;
}

.how-restavration, .how-pay, .how-help {
    font-size: 15pt;
    padding: 13px 20px;
    border-radius: 15px;
    width: 250px;
    margin: 10px auto;
    display: block;
    cursor: pointer;
}

.how-help {
    font-size: 34px;
}

.how-restavration:hover, .how-pay:hover, .how-help:hover {
    background: #008414;
}

.message_obr {
    border: 3px solid #EAC8A6;
}

.video-block {
    padding: 20px 0;
    text-align: center;
}

.wrapper-video {
    margin: 0 auto;
    max-width: 966px;
}

.thumb-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.thumb-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-width: 0;
    outline-width: 0;
}

#ist_bc h2 {
    font-family: 'Segoe Print';
    font-size: 20px;
    line-height: 28px;
}

#ist_bc p {
    font-family: Arial;
    display: block;
    margin: 10px 0;
    padding: 20px 10px 40px;
    font-size: 16px;
    color: #737272;
    line-height: 20px;
    text-align: center;
}

footer {
    padding: 20px;
    text-align: center;
}

#img_g img {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
}

#img_li span img {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
}

#img_li span {
    border-top: 5px solid #CD822D;
    border-bottom: 0 solid #CD822D;
    border-right: 2.55px solid #CD822D;
    border-left: 2.5px solid #CD822D;
    width: 100%;
    float: left;
    background: #CD822D;
}

#img_g {
    max-height: 550px;
    overflow: hidden;
    border: 5px solid #CD822D;
    border-bottom: none!important;
    background: #CD822D;
    overflow: hidden;
}

#overlay {
    z-index:3; /* пoдлoжкa дoлжнa быть выше слoев элементoв сaйтa, нo ниже слoя мoдaльнoгo oкнa */
    position:fixed; /* всегдa перекрывaет весь сaйт */
    background-color:#000; /* чернaя */
    opacity:0.5; /* нo немнoгo прoзрaчнa */
    -moz-opacity:0.8; /* фикс прозрачности для старых браузеров */
    filter:alpha(opacity=80);
    width:100%;
    height:100%; /* рaзмерoм вo весь экрaн */
    top:0; /* сверху и слевa 0, oбязaтельные свoйствa! */
    left:0;
    cursor:pointer;
    display:none;
}

#modal-form {
    width: 400px;
    min-height: 360px;
    background: #fff;
    position: fixed;
    top: 45%;
    left: 50%;
    margin-top: -180px;
    margin-left: -200px;
    display: none;
    opacity: 0;
    z-index: 5;
    padding: 35px;
}

#modal1Title {
    color: #2b2e38;
    font-size: 20px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 40px;
}

.form-input {
    display: block;
    margin-bottom: 15px;
    height: 45px;
    width: 100%;
    font-size: 14px;
    padding: 0 20px;
    border: 1px solid #2b2e38;
    border-radius: 2px;
}

.modal-btn {
    color: #fff;
    background: #81c784;
    text-transform: uppercase;
    font-size: 16px;
    padding: 15px 40px;
    letter-spacing: 3.1px;
    display: block;
    margin: auto;
}

.modal-btn:hover {
    background: #66bb6a;
}

.modal__close {
    position: absolute;
    left: 10px;
    top: 5px;
    font-size: 24px;
    color: #95979c;
    cursor: pointer;
}

.modal__close:hover {
    color: #2b2e38;
}

.toggle_btn {
    display: none;
}

#logo_str {
    display: flex;
}

#logo_str img {
    width: 120px;
}

#logo_str span {
    text-align: center;
    font-weight: 700;
    font-size: 24px;
    padding: 30px 20px;
    color: #743800;
    display: block;

}

#message_obr {
    margin-bottom: 40px;
}

.history-btn {
    margin-bottom: 40px;
}

#bs_obr {
    border-radius: 5px;
    border: 3px solid #EAC8A6;
    background: rgba(238,227,189,.40);
    margin: 10px;
    padding: 10px;
}

#img_obr {
    float: left;
}

#bs_obr_inf {
    margin-left: 90px;
    padding: 7px 5px;
    font-family: Arial;
}

#bs_obr_inf h4 {
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
}

#bs_obr_inf span {
    display: block;
}

.op_text {
    color: #797979;
    line-height: 20px;
    font-size: 16px;
}

#clr {
    clear: both;
}

table textarea, table input {
    padding: 5px 10px;
    border: 2px solid #CB9864;
    border-radius: 3px;
    background: #FFF;
}

input[type="submit"] {
    cursor: pointer;
}

p.photo-rabot img {
    max-width: 33%;
}

#message_obr p {
    padding: 10px 20px;
    font-family: Arial;
    display: block;
    font-size: 18px;
    color: #424242;
    text-shadow: 1px 1px #f2d9b9;
    line-height: 20px;
    position: relative;
    z-index: 2;
}

.three-column-img div#gotovo_bic_img {
    width: 31%;
    margin: 0 1% 10px;
}

#gotovo_bic_img {
    border: 4px solid #FFF;
    box-shadow: 0 1px 5px rgba(0,0,0,.3);
    overflow: hidden;
}

#gotovo_bic_img {
    height: auto;
    max-height: 100%;
}

p.photo-rabot {
    font-size: 0!important;
    display: flex!important;
    justify-content: space-between;
}

.spoiler-block, .spoiler-block ol li a {
    font-size: 16px;
}

.spoiler-block ol {
    margin: 15px 0 25px;
}

.spoiler-block ol li {
    margin-left: 25px;
}

.spoiler-block ol li p {
    margin-bottom: 3px;
}

.spoiler-block, .spoiler-block ol li a {
    font-size: 16px;
}

.spoiler-block .result {
    display: block;
}

#pay-form {
    padding: 25px;
    border: 1px solid #f8d11e;
    box-shadow: 0 21px 31px -8px rgba(0, 0, 0, 0.29);
    font-family: 'Cuprum', 'Arial Narrow', 'Helvetica', 'Arial', 'sans-serif' !important;
    border-radius: 5px;
    background: #fff;
}

table {
    width: 100%;
    border-collapse: separate;
    background-color: transparent;
    border-spacing: 5px;
}

#pay-form .field {
    position: relative;
    display: flex;
    margin: 10px 5px 0;
    padding-top: 5px;
    width: calc(100% - 10px);
    padding: 15px;
    border: 1px solid #d7d4f0;
    box-shadow: inset 0 0 5px rgba(0,0,0,.15);
    border-radius: 4px;
    text-align: center;
}

table tr {
    display: contents;
}

.price {
    width: 100%;
    border-radius: 4px;
    padding: 6px 12px;
    background: #fff;
    color: #212121;
    border: 1px solid #ccc;
    outline: none;
    text-align: center;
    display: inline-block;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    white-space: nowrap;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    transition: all .3s;
}

table tr.mobile {
    display: none;
}

#pay-form .field-item {
    width: 25%;
    margin-right: 15px;
    position: relative;
}

#pay-form .sum {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAMAAAC6V+0/AAAANlBMVEUAAAB/jI1/jI1/jI1/jI1/jI1/jI1/jI1/jI1/jI1/jI1/jI1/jI1/jI1/jI1/jI1/jI1/jI2GulRlAAAAEXRSTlMAAgMEBQYJEUxRY3uXvsfz92Ht8NMAAABNSURBVBjTlc5JDoAwDENRl8bMBXz/y7KliSqRt/ySlQC/rfIO4F5Kb1KF6LfiIEapeDVneCgRCwkj2cVNQpP0ic8c5oY9vHkCqOwZEl6REgm+dCTEAwAAAABJRU5ErkJggg==);
}

#pay-form input {
    line-height: 38px;
    padding: 0 0 0 40px;
    outline: none;
    margin-right: 15px;
    height: 34px;
    width: 100%;
    transition: all .3s;
    background-clip: padding-box;
    background-repeat: no-repeat;
    background-position: 10px center;
    border-radius: 3px;
    border: 1px solid rgba(159, 159, 156, 0.2);
    color: #686868;
    box-shadow: 0 0 3px rgba(60, 60, 60, 0.05);
}

.field-item.sum-ready-pay.full-width {
    width: 100% !important;
}

.pay {
    width: 100%;
    border-radius: 4px;
    padding: 7px 12px;
    background: #d45500;
    color: #e8fbe9;
    border: none;
    outline: none;
    text-align: center;
    display: inline-block;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    white-space: nowrap;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    transition: all .3s;
    max-width: 110px;
    float: right;
    margin-right: 3px;
}

.spoiler-block a {
    text-decoration: none;
    color: #4685A7;
    font-family: Tahoma,sans-serif;
}

.eMessage.three-column-img {
    display: flex;
    flex-wrap: wrap;
}







@media screen and (max-width: 1090px){
    .menu ul {
        flex-direction: column;
        display: none;
        margin-top: 10px;
        padding-bottom: 100px;
    }

    /*.header-wrapper {
        align-items: flex-end;
    }*/

    .toggle_btn {
        display: block;
    }

    .right-buttons {
        margin-bottom: 15px;
    }

    .header {
        height: unset;
        min-height: 90px;
        padding-top: 15px;
    }

    .toggle_btn {
        color: #6E3400;
        padding: 5px 10px;
        font-size: 17px;
        border: 2px solid #6E3400;
        border-radius: 8px;
        cursor: pointer;
        margin-left: 10px;
        width: 39px;
    }

    .toggle_btn:hover {
        background: #6E3400;
        color: #FFF;
    }

    .menu ul li a {
        line-height: 30px;
        border: none;
    }

    .menu-link.active {
        border-bottom: none;
    }

    .fa-times {
        display: none;
    }

    .restoration, .main-church {
        flex-direction: column;
    }


    .main-church-l, .main-church-r, .restoration-l, .restoration-r {
        width: 100%;
        margin: 0;
    }

    .main-church-r-icon {
        display: none;
    }

    #img_obr {
        float: none;
        margin: 5px auto;
        width: 80px;
    }

    #bs_obr_inf {
        margin: 5px;
    }

    #logo_str {
        flex-direction: column;
    }

    #gotovo_bic_img {
        max-height: none !important;
        width: 100% !important;
    }



}
