
* {
    box-sizing: border-box;
    outline: 0;
}

input, textarea, select {
    border-radius: 0;
}

input[type=text]::-ms-clear {  display: none; width : 0; height: 0; }
input[type=text]::-ms-reveal {  display: none; width : 0; height: 0; }
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { display: none; }

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Gilroy';
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #4F4A3D;

}

body {
    background-color: #ffffff; 
}


body.home {
    background-image: url(../img/bg-home-1920.jpg);
    background-position: top center;
    background-repeat: no-repeat;
    width: 100%;
}


html {
    margin: 0 !important;
}

img {
    max-width: 100%; 
    object-fit: cover; 
    height: auto;
}

img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

body.header-window-active {
    overflow: hidden;
}

header {
    height: 772px;
    background-image: url(../img/bg-header.jpg);
    background-repeat: no-repeat;
    margin: 0 auto;
    background-position: center;
    padding-top: 20px;
}

.document {
    width: 100%;
}


.menu__toggle {
    display: none;
}

.alignright {
    float: right;
    margin-left: 30px;
    margin-bottom: 10px;
}

.alignleft {
    float: left;
    margin-right: 30px;
    margin-bottom: 10px;
}

.logo__text {
    display: block;
    width: 300px;
    font-family: 'Fita_Vjaz';
    font-style: normal;
    font-weight: 400;
    font-size: 64px;
    line-height: 59px;
    text-align: center;
    letter-spacing: 0.06em;
    color: #9D3C3C;
    margin: 0px auto;
}

.logo__text span {
    font-size: 32px;
    line-height: 64px;
    display: block;
}

iframe {
	border: 0; 
	outline: 0; 
    max-width: 100%; 
}

p:empty {
    display: none;
}

.svg {
    width: 24px; 
    height: 24px;
    overflow: hidden;
    display: inline-block; 
    vertical-align: middle;
}

.svg svg {
    width: 100%; 
    height: 100%; 
    display: block;
}

header .svg * {
    /* fill: #144570; */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

a {
    text-decoration: none; 
    color: #054878; 
    cursor: pointer;
}

p a {
    text-decoration: underline; 
}

h1, h2, h3, h4, h5, h6 {
    color: #393B3E; 
    line-height: 120%;
    margin: 10px 0;
}

h1 {
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 120%;
    color: #393B3E;
}

h2 {
    font-size: 24px;
}

h3 {
    font-size: 22px;
}

h4 {
    font-size: 20px;
}


.wp-block-heading {
    color: #AA9C72;
}



.scroll-up { 
    text-align: center;
    display: inline-block;
    padding: 7px 10px;
    font-size: 14px;
    line-height: 17px;
    background-color: rgba(0,0,0,.5);
    color: #fff;
    border-radius: 3px;
    bottom: 30px;
    transition: bottom 2s;
    position: fixed;
    left: 30px;
    bottom: -500px;
    cursor: pointer;
    z-index: 10;
}

.scroll-up.active {
    bottom: 30px;
}

.scroll-up::before {
    content: '';
    border: 8px solid transparent;
    border-bottom: 10px solid #b7b7b7;
    display: block;
    width: 0px;
    margin: 4px auto;
    margin-top: -6px;
}



#searchform {
    position: relative;
    margin: 50px 0;
}


#searchform .search-reset, #searchform button[type="submit"] {
    position: absolute;
    right: 14px;
    top: 15px;
    display: inline-block;
    background: unset;
    border: unset;
    color: #817554;
    font-size: 16px;
    cursor: pointer;
}

#searchform .search-reset {
    right: 80px;
    font-size: 34px;
    font-family: monospace;
    line-height: 14px;
    color: #817554;
}

#searchform button[type="submit"]:hover {
    opacity: .8;
}

#searchform input[type="search"] {
    padding: 10px 20px;
    border: 1px solid #B5B5B5;
    color: #000;
    border-radius: 30px;
    background-color: #ffffff;
    width: 100%;
    height: 50px;
}

#searchform input::-webkit-input-placeholder {color:#d5d5d5;} 
#searchform input::-moz-placeholder          {color:#d5d5d5;}
#searchform input:-moz-placeholder           {color:#d5d5d5;}
#searchform input:-ms-input-placeholder      {color:#d5d5d5;}

.search-empty {
    text-align: center;
    font-size: 22px;
    line-height: 140%;
    color: gray;
    margin: 30px 0;
}

.home__block {
    display: flex;
    width: 1240px;
    max-width: 100%;
    margin: 20px auto;
    position: relative;
    z-index: 1;
    gap: 45px;
}
.home__block-side {
    width: 276px;
}
.home__block-content {
    width: calc(100% - 321px);
}

.o-prihode {
    position: relative;
}


.o-prihode-text, 
.h2 {
    position: relative;
    z-index: 1;
}

.h3, 
.h2 {
    font-family: 'Fita_Vjaz';
    font-style: normal;
    font-weight: 400;
    font-size: 100px;
    line-height: 103px;
    text-align: left;
    color: #9D3C3C;
    margin-left: -4px;
    text-transform: uppercase;
}


.h3 a, 
.h2 a {
    color: #9D3C3C;
}

.h3 {
    font-size: 36px;
    line-height: 37px;
    color: #52769F;
}

.jhg {
    font-family: 'Fita_Vjaz';
    font-size: 36px;
    line-height: 37px;
    color: #52769F;
    float: left;
    display: inline-block;
    margin-right: 5px;
}

.home__zapiski-left {
    font-size: 16px;
    line-height: 19px;
    color: #4F4A3D;
}

.home__zapiski-left .h2, 
.home__zapiski-left .h3 {
    padding-left: 5px;
}

.home__zapiski-left .btn {
    margin-top: 20px;
}
 
.jkifd {
    line-height: 200%;
}




.wrap__calendar {
    margin: 50px 0;
}
.calendar__table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid #F9E9D2;
}
.calendar__table-row {
    border-bottom: 1px solid #F9E9D2;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0px;
}

.calendar__table-row.thead > div {
    font-family: 'Alegreya';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #4F4A3D;
    text-align: left;
    padding: 10px 0;
}


.calendar__table .ege {
    font-size: 16px;
    line-height: 19px;
    color: #52769F;
    padding: 12px 0;
}

.td-date {
    width: 120px;
}

.td-time {
    width: 100px;
}

.td-bogoslug {
    width: 300px;
}

.td-raspisanie {
    padding: 10px 0;
}

.td-raspisanie > div {
    width: 420px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
}


.td-raspisanie .date {
    width: 100px;
}
.td-raspisanie .title {
    width: 280px;
}

.calendar__table .title {
    font-family: 'Alegreya';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 27px;
    color: #4F4A3D;
}

.calendar__table .date {
    display: block;
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 30px;
    text-align: left;
    text-transform: uppercase;
    color: #4F4A3D;
}
.calendar__table .date::before {
    display: inline-block;
    width: 16px;
    height: 19px;
    content: '';
    margin-right: 4px;
    vertical-align: middle;
    background-image: url(../svg/ic-time.svg);
    background-repeat: no-repeat;
    background-position: top;
    background-size: contain;
}
.hiuf {
    background: #FFFFFF;
    box-shadow: 0px 10px 50px rgba(169, 175, 181, 0.31);
    border-radius: 40px;
    width: 120px;
    text-align: center;
    height: 140px;
    padding: 25px 0;
}
.hiuf span:first-child {
    font-weight: 400;
    font-size: 54px;
    line-height: 60px;
    text-align: center;
    text-transform: uppercase;
    color: #9D3C3C;
    display: block;
    font-family: 'a_Algerius';
}
.hiuf span:last-child {
    font-family: 'Alegreya';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    text-transform: uppercase;
    color: #4F4A3D;
}









.o-prihode-text {
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: #4F4A3D;
}

.o-prihode-image {
    width: 50%;
    float: right;
    position: relative;
    height: 420px;
    z-index: 0;
}
.o-prihode-image img {
    max-width: unset;
    display: block;
    position: absolute;
    right: -105px;
    top: -20px;
}









.principal__man {
    margin: 45px 0 50px 0;
    display: flex;
    gap: 20px;
}

.principal__man-image {
    width: 320px;
    position: relative;
}

.principal__man-image::before {
    position: absolute;
    width: 598px;
    height: 373px;
    content: '';
    display: block;
    background-image: url(../img/cloud-1.png);
    background-size: contain;
    bottom: -175px;
    left: -181px;
    background-repeat: no-repeat;
}

.principal__man-content {
    width: calc(100% - 340px);
    margin-top: 50px;
}


.principal__man h2 {
    font-family: 'Fita_Vjaz';
    font-style: normal;
    font-weight: 400;
    font-size: 64px;
    line-height: 66px;
    color: #52769F;
}

.principal__man strong {
    font-weight: 500;
}
.principal__man em {
    font-family: 'Alegreya';
    font-style: italic;
    font-weight: 500;
    font-size: 20px;
    line-height: 27px;
    text-align: right;
    color: #4F4A3D;
}




.slider {
    position: relative;
    z-index: 2;
    margin-top: 50px;
}

.slider__item {
    height: 520px;
    display: flex;
    align-items: center;
    text-align: center;
}

.slider__item .title {
    font-family: 'Alegreya';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 21px;
    text-align: center;
    color: #52769F;
    display: block;
    padding: 0 10px;
    margin-top: 10px;
    width: 90%;
    opacity: 0;
    transition: opacity 400ms; 
}

.slider__item img {
    width: 400px !important;
    height: 400px;
    max-width: unset;
}


.slider__item > div {
    width: 100%;
    transition: transform 500ms;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.active.center .slider__item .title {
    opacity: 1;
}

.active.center .slider__item > div {
    transform: scale(1.2);
    overflow: unset;
}


.active.center + .active {
    z-index: -1; 
}


[data-id=prihodskaja_jizn].slider .owl-nav {
    display: block !important;
}

.slider .owl-nav button {
    position: absolute;
    top: 210px;
    width: 80px;
    height: 80px;
    background-color: white !important;
    z-index: 58;
    border-radius: 50%;
    background-image: url(../svg/slider-arrow-left.svg) !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
.slider .owl-nav button span {
    display: none;
}

.slider .owl-nav button.owl-prev {
    left: -40px;
}

.slider .owl-nav button.owl-next {
    right: -40px;
    transform: rotate(180deg);
}

.slidetext__item {
    text-align: center;
}

.svyatitel_nikolaj {
    font-size: 18px;
    line-height: 140%;
    position: relative;
    margin-bottom: 167px;
}

.svyatitel_nikolaj p {
    margin: 20px 0;
}


.svyatitel_nikolaj::before {
    display: inline-block;
    width: 185px;
    height: 308px;
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    background: #FFEC8A;
    filter: blur(60px);
    opacity: .7;
}

.svyatitel_nikolaj .gallery {
    display: flex;
    align-items: center;
    margin: 70px auto !important;
    width: fit-content;
    position: relative;
}

/*
.svyatitel_nikolaj .gallery::before {
    display: inline-block;
    width: 938px;
    height: 607px;
    content: '';
    position: absolute;
    z-index: 3;
    top: 15%;
    right: -83%;
    background-image: url(../img/cloud-2.png);
    background-position: center;
    background-repeat: no-repeat;
}
*/


.svyatitel_nikolaj .gallery .gallery-item {
    position: relative;
    width: fit-content !important;
}
.svyatitel_nikolaj .gallery .gallery-item img {
    height: 450px;
    border: unset !important;
    width: auto;
    display: block;
}
.svyatitel_nikolaj .gallery .gallery-item:nth-of-type(1) {
    margin-right: -30px;
}
.svyatitel_nikolaj .gallery .gallery-item:nth-of-type(3) {
    margin-left: -30px;
}
.svyatitel_nikolaj .gallery .gallery-item:nth-of-type(2) {
    transform: scale(1.2);
    position: relative;
    z-index: 2;
}

.svyatitel_nikolaj .gallery .gallery-item:nth-of-type(2)::before {
    position: absolute;
    z-index: 1;
    display: block;
    width: calc(100% + 230px);
    height: 120%;
    content: '';
    margin-left: -118px;
    margin-top: -30px;
    background-image: url(../img/bg-nikolay-light.png);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.svyatitel_nikolaj .gallery .gallery-item:nth-of-type(2) .gallery-icon {
    position: relative;
    z-index: 1;
}

.svyatitel_nikolaj .gallery .gallery-item:nth-of-type(3)::before, 
.svyatitel_nikolaj .gallery .gallery-item:nth-of-type(1)::before {
    position: absolute;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    content: '';
    background-color: rgba(0, 0, 0, 0.6);
}



.ic {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    vertical-align: middle;
}

.ic-arrow-right, 
.ic-arrow-bottom, 
.ic-arrow-top, 
.ic-arrow-left {
    background-image: url(../svg/btn-arrow-left.svg);
}

.ic-arrow-right {
    transform: rotate(180deg);
}

.ic-arrow-top {
    transform: rotate(90deg);
}

.ic-arrow-bottom {
    transform: rotate(-90deg);
}


.btn {
    display: inline-flex;
    padding: 15px 40px;
    background: #484848;
    font-family: 'Alegreya';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 27px;
    text-align: center;
    color: #FFFFFF;
    border-radius: 40px;
    border: unset;
    cursor: pointer;
    gap: 10px;
    align-items: center;
}
.btn:hover {
    opacity: .9;
}
.btn-primary {
    background: #3E6798;
}
.btn-danger {
    background: #9D3C3C;
}

.btn-block {
    display: flex;
    width: fit-content;
    max-width: 100%;
    margin: 32px auto;
}

#svatini_prihoda.owl-carousel .owl-nav.disabled {
    display: block;
}

#svatini_prihoda.slider .owl-nav button {
    top: calc(50% - 40px);
    background-image: url(../svg/slider-arrow-left2.svg) !important;
}

#svatini_prihoda .slider__item {
    height: 580px;
}

#svatini_prihoda .slider__item img {
    height: 460px;
    width: 100% !important;
    display: block;
}


.wrap__prihodskaja_jizn {
    margin-bottom: 50px;
}

.wrap__slidetext {
    background-color: #ffffff;
    padding-top: 60px;
    margin-top: -60px;
    padding-bottom: 50px;
}

.slidetext {

}

.slidetext .title {
    font-family: 'Fita_Vjaz';
    font-style: normal;
    font-weight: 400;
    font-size: 48px;
    line-height: 50px;
    text-align: center;
    color: #3E6798;
    display: block;
    margin: 20px 0;
}

.slidetext .text {
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    text-align: center;
    color: #4F4A3D;
    max-width: 600px;
    display: block;
    margin: 0 auto;
    overflow-y: auto;
    max-height: 242px;
    padding-right: 20px;
}

.slidetext .text::-webkit-scrollbar-button {
    width: 6px;
}

.slidetext .text::-webkit-scrollbar-track {
    background: #fff;
    border-radius: 5px;
}

.slidetext .text::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: #3E6798;
}

.slidetext .text::-webkit-resizer {
    width: 7px;
}

.slidetext .text::-webkit-scrollbar {
    width: 11px;
}



.slider__nav {
    display: flex;
    gap: 20px;
    justify-content: center;
}


#svatini_prihoda .active .slider__item::before {
    position: absolute;
    z-index: 1;
    display: block;
    width: calc(100% + 400px);
    height: 100%;
    content: '';
    margin-left: -204px;
    background-image: url(../img/bg-nikolay-light.png);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;    
    transform: scale(.3);
    transition: transform 700ms;
}

#svatini_prihoda .active.center .slider__item::before {
    transform: scale(1);
}



.big__slider {
    margin-bottom: 70px;
}

.nastojatel_prihoda {
    position: relative;
    background-color: #fff;
    padding: 34px 34px 1px 34px;
    margin-top: 270px;
    filter: drop-shadow(0px 20px 100px rgba(169, 175, 181, 0.31));
}
.nastojatel_prihoda-head {
    display: block;
    position: absolute;
    top: -278px;
    left: 0px;
    width: 100%;
    background-image: url(../img/bg-nastoyatel-head.png); 
    background-position: center;
    background-repeat: no-repeat;
    height: 280px;
}

.nastojatel_prihoda::after {
    display: block;
    width: 100%;
    height: 60px;
    background-image: url(../img/bg-nastoyatel-foot.png);
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    content: '';
    position: absolute;
    bottom: -59px;
    left: 0;
}

.nastojatel_prihoda .slider .owl-nav button {
    width: 50px;
    height: 50px;
    background-size: contain;
    top: 41%;
}
.nastojatel_prihoda .slider .owl-nav button.owl-prev {
    left: -25px;
}
.nastojatel_prihoda .slider .owl-nav button.owl-next {
    right: -25px;
}


.wrap_stroim_sobor {
    margin-top: 160px;
}

.stroim_sobor {
    font-size: 18px;
    line-height: 140%;
}


.progress__circle {
    width: 300px;
    height: 300px;
    box-sizing: border-box;
    padding: 20px;
    background: #fcfcfc;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,.15) inset;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.progress__circle canvas {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%);
    z-index: 50;
}



.dnevnik_stroyki {
    display: flex;
    gap: 44px;
    flex-wrap: wrap;
    margin: 44px 0;
}
.dnevnik_stroyki-item {
    width: calc(100% / 3 - 30px);
    position: relative;
}

.dnevnik_stroyki-item img {
    height: 277px; 
    display: block;
}
.dnevnik_stroyki-item .date {
    font-size: 16px;
    line-height: 19px;
    text-align: center;
    color: #4F4A3D;
}

.dnevnik_stroyki-content {
    position: relative;
    display: block;
    margin-bottom: 10px;
}
.dnevnik_stroyki-content::before {
    display: block;
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    background-color: #00000050;
    opacity: 0;
    transition: opacity 500ms;
}
.dnevnik_stroyki-content .title {
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: left;
    width: 100%;
    padding: 20px;
    padding-bottom: 20px;
    color: #fff;
    opacity: 0;
    transition: opacity 500ms;
}


.dnevnik_stroyki-item:hover .dnevnik_stroyki-content::before,
.dnevnik_stroyki-item:hover .title {
    opacity: 1;
}



.home__zapiski {
    display: flex;
    justify-content: space-between;
}

.home__zapiski-left, 
.home__zapiski-right {
    width: 47%;
}


.home__zapiski .h2 {
    font-size: 64px;
    line-height: 66px;
}



.zapiski {
    background: #F4F4F4;
    padding: 30px 0;
}
.zapiski-logo {
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(../svg/zapiski-logo.svg);
    width: 40px;
    height: 50px;
    display: block;
    margin: 10px auto; 
}
.zapiski-title {
    font-family: 'Fita_Vjaz';
    font-style: normal;
    font-weight: 400;
    font-size: 48px;
    line-height: 50px;
    text-transform: uppercase;
    color: #4F4A3D;
    text-align: center;
}
.zapiski-name {
    font-family: 'Fita_Vjaz';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 25px;
    text-transform: uppercase;
    color: #52769F;
    text-align: center;
}
.zapiski__list {
    width: 240px;
    margin: 50px auto;
}
.zapiski__list-input {
    font-family: 'Alegreya';
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 18px;
    color: #4F4A3D;
    text-align: center;
    border: unset;
    background: unset;
    border-bottom: 1px solid #ECD9BF;
    display: block;
    padding: 10px 0;
}

.zapiska__nav {
    display: flex;
    gap: 20px;
    margin: 25px 0;
}



.home__background-item {
    position: absolute;
    width: 100%;
    text-align: center;
    z-index: 0;
    border: 1px solid green;
    overflow: hidden;
}

.home__background-item.bg-duhovenstvo {
    margin-top: -200px;
}

.home__background-item.bg-nikolay {
    margin-top: -200px;
}

.home__background-item.bg-svatini {
    margin-top: -200px;
}
.home__background-item.bg-nastojatel {
    margin-top: -270px;
}
.home__background-item.bg-nastojatel img {
    max-width: unset;
    display: block;
    margin-left: -200px;
}







.bg__home {
    position: absolute;
    width: 100%;
    top: 0;
}

.bg__home div {
    background-repeat: no-repeat;
    background-position: center top;
    position: absolute;
    width: 100%;
}

.bg__home-duhovenstvo {
    background-image: url(../img/bg-dukhovenstvo.jpg);
    height: 945px;
    top: 1606px;
}
.bg__home-nikolay {
    background-image: url(../img/bg_nikolay.jpg);
    height: 1936px;
    top: 2974px;
}
.bg__home-svatini {
    background-image: url(../img/bg-svatini.jpg);
    height: 1100px;
    top: 4896px;
}


footer {
    height: 860px;
    position: relative;
}

footer::before {
    display: block;
    position: absolute;
    z-index: -1;
    content: '';
    width: 100%;
    height: 976px;
    background-image: url(../img/bg-footer.jpg);
    background-size: cover;
    background-position: left top;
    background-repeat: no-repeat;
    bottom: 0px;
    left: 0px;
    box-shadow: 0px 0 80px 50px #ffffff;
}

.footer {

}

.footer__block {
    width: 1240px;
    display: flex;
    gap: 45px;
}
.footer__block-right, .footer__block-left {
    width: calc(100% / 2 - 20px);
}

.footer__block-left .h2 {
    font-size: 64px;
    line-height: 66px;
}

#map {
    background: #fff;
    -webkit-mask: url(../svg/map_inner.svg) left bottom no-repeat;
    mask: url(../svg/map_inner.svg) left bottom no-repeat;
    -webkit-mask-size: auto 100%;
    mask-size: auto 100%;
    height: 100%;
}

.footer__block p {
    font-size: 16px;
    line-height: 19px;
}

p.fic {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
}

p.fic > a, 
p.fic > span {
    max-width: calc(100% - 40px);
    display: inline-block;
    
}

p.fic > a {
    color: #4F4A3D;
    font-size: 20px;
    text-decoration: unset;
}

.fic::before {
    display: inline-block;
    content: '';
    width: 30px;
    height: 30px;
    vertical-align: text-top;
    background-repeat: no-repeat;
    background-size: contain;
    background-position-y: center;
}
.fic-krest::before {
    background-image: url(../svg/fic-krest.svg);
    height: 34px;
}
.fic-location::before {
    background-image: url(../svg/fic-location.svg);
}
.fic-phone::before {
    background-image: url(../svg/fic-phone.svg);
}
.fic-vk::before {
    background-image: url(../svg/fic-vk.svg);
}


.slider__hover {
    position: absolute;
    background-color: #0000004d;
    width: 400px !important;
    height: 400px;
    top: 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 6px 15px;
    gap: 5px;
    opacity: 0;
    transition: opacity 500ms;
    cursor: pointer;
}

.link-scale, .link-permalink {
    width: 34px;
    height: 34px;
    display: inline-block;
    background-image: url(../svg/ic-scale.svg);
    background-repeat: no-repeat;
    background-size: 80%;
    background-color: #00000040;
    border-radius: 4px;
    background-position: center;
}

.link-permalink {
    background-image: url(../svg/ic-readmore.svg);
}

.owl-item.active.center:hover .slider__hover {
    opacity: 1;
}


.nav__menu {
    filter: drop-shadow(0px 20px 20px rgba(169, 175, 181, 0.41));
    position: sticky;
    top: 30px;
    z-index: 1;
}

body.admin-bar .nav__menu {
    top: 54px;
}

.nav__menu::before, .nav__menu::after {
    display: block;
    height: 57px;
    width: 100%;
    content: '';
    background-image: url(../svg/menu__head.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position-y: bottom;
}
.nav__menu::before {
    margin-bottom: -1px;
}
.nav__menu::after {
    transform: rotate(180deg);
    margin-top: -1px;
}

.nav__menu .menu {
    margin: 0;
    padding: 0 30px;
    background: #fff;
}
.nav__menu .menu li {
    display: block;
    border-bottom: 1px solid #FFEFC4;
}

.nav__menu .menu li.active a {
    font-weight: 700;
}

.nav__menu .menu li:last-child {
    border-bottom: unset;
}
.nav__menu .menu li a {
    font-family: 'Alegreya';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: #4F4A3D;
    padding: 20px 0;
    display: block;
}

.mic-krest a::before, 
.mic-about a::before, 
.mic-hram a::before {
    display: inline-block;
    width: 10px;
    height: 18px;
    background-image: url(../svg/mic-hram.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    content: '';
    margin-right: 8px;
    vertical-align: text-top;
    margin-top: 2px;
}


.mic-krest a::before {
    background-image: url(../svg/mic-krest.svg);
}
.mic-about a::before {
    background-image: url(../svg/mic-about.svg);
}


.h1__button {
    position: relative;
    padding-bottom: 5px;
}
.h1__button .h2 {
    margin: 0;
    max-width: 400px;
}
.h1__button .btn {
    bottom: 18px;
    position: absolute;
    right: 0;
}

.h1__button .h2:before {
    content: "";
    display: block;
    border-top: 1px dotted #9D3C3C;
    width: 240px;
    position: absolute;
    bottom: 37px;
    left: calc(100% + -14px);
}



.rd-progress-wrap {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}
.rd-progress-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50px;
    top: 30px;
    width: calc(100% - 100px);
    height: calc(100% - 60px);
    text-align: center;
}
.rd-progress-content p {
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    text-align: center;
    color: #4F4A3D;
    margin: 0;
}

.rd-summ {
    font-family: 'Alegreya';
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 140%;
    text-align: center;
    color: #9D3C3C;
}

.rd-line {
    display: block;
    width: 100%;
    border: 1px dashed #4F4A3D;
    margin: 12px 0;
}

#rd-percent::after {
  content: '%';
}


.vidanov {
    font-size: 14px;
    line-height: 120%;
    margin-top: 20px;
    text-align: center;
    color: #cfcfcf;
}