@font-face {
  font-family: blago;
  src: url(../font/blago.ttf);
 }
@font-face {
  font-family: monomakh;
  src: url(../font/MonomakhUnicodeTT.ttf);
 }
@font-face {
  font-family: slav;
  src: url(../font/Slavianskiy.ttf);
}
@font-face {
  font-family: comforta;
  src: url(../font/comforta.ttf);
}
@font-face {
  font-family: izhitsa;
  src: url(../font/Izhitsa.ttf);
}
@font-face {
  font-family: preslav;
  src: url(../font/Preslav.otf);
}
@font-face {
  font-family: church_ai;
  src: url(../font/church_ai.ttf);
}
@font-face {
  font-family: russ;
  src: url(../font/a_RussDecor.ttf);
}
@font-face {
  font-family: irm;
  src: url(../font/irm.ttf);
}
@font-face {
  font-family: molodost;
  src: url(../font/Molodo-font.otf);
}
 body{
   background: #fff;
   color: #212529;
 }
 .blago{
   font-family: blago;
 }
 .monomakh{
   font-family: monomakh;
 }
 .slav{
   font-family: slav;
 }
 .comforta{
   font-family: comforta;
 }
 .izhitsa{
   font-family: izhitsa;
 }
 .church_new{
   font-family: church_new;
 }
 .preslav{
   font-family: preslav;
 }
 .geneva{
   font-family: geneva;
 }
 .geneva_reg{
   font-family: geneva_reg;
 }

 .russ{
   font-family: russ;
 }
 .irm{
   font-family: irm;
 }
 .molodost{
   font-family: molodost;
 }
 .orthodox{
   font-family: orthodox;
 }
 .history{
   font-family: history;
 }
 .mono{
  font-family: monospace;
 }
 @media (min-width: 992px){
   ul.navbar-nav li{
     font-size: 24px;
     padding: 0 5px;
     margin-top: 0;
   }
}
@media (max-width: 992px){
  ul.navbar-nav li{
    font-size: 24px;
    padding: 0;
    margin-top: 5px;
  }
  .navbar-collapse{
    margin-top: -20px;
  }
}

ul.navbar-nav li{
  -moz-user-select: none;
  -khtml-user-select: none;
  user-select: none;
}
a.green_link{
  color: #386641;
}
a.green_link:hover{
  color: #4c8a58;
}

a.green_link {
  color: #386641;
  text-decoration: none;
  position: relative;
  cursor: pointer;
  font-size: 1.2rem;
}
a.green_link:before {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: green;
  transition: width 0.3s ease-in-out;
}
a.green_link:hover:before {
  width: 100%;
}

nav .navbar-toggler{
  position: relative;
  font-size: calc( (100vw - 30rem)/(80 - 30) * (1.5 - 1) + 2rem);
  top: -2px;
}
#nav_menu {
  float: right;
  flex-grow: 0;
  font-size: 21px;
}
#logo{
  text-align: center;
  width: 100%;
}
a.logo{
  /*font-size: calc( (100vw - 30rem)/(80 - 30) * (1.5 - 1) + 3rem);*/
  font-size: 3rem;
  color: #386641;
  text-decoration: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  user-select: none;
  margin-left: 15px;
  margin-right: 15px;
}
.login_btn{
  font-size: 1.8rem;
  color: #2d4d2a;
  background: #adebb942;
}
.login_btn:hover{
  color: #223b20;
  background: #76eb8d42;
}
@media (max-width: 992px){
  .navbar-expand-lg .navbar-nav .nav-link{
    padding: 5px 10px 5px 10px;
  }
  a.logo{
    margin-left: 5px;
    margin-right: 0;
  }
}
#navigation{
  border-bottom: 1px solid #f1f1f1;
}
a.nav-link{
  padding: 5px 5px 5px 5px;
}
a.nav-link:hover{
  background: #fff;
  border-radius: 10px;
}
a.new_post{
  text-align: right;
  color: #535555;
  font-size: 1.3rem;
  text-decoration: none;
  padding-left: 0;
  padding-right: 0;
  border: 2px dotted #ffc600;
  border-radius: 10px;
}
a.new_post:hover{
  background: #fff;
  border-radius: 10px;
  color: #212529;
}
input.src_index{
  font-size: calc( (100vw - 30rem)/(80 - 30) * (1.5 - 1) + 1rem);
  outline: none;
  border: 0;
  border-radius: 20px;
  color: #212529;
  border: 1px solid #dbdbdb;
}
input.src_index:focus{
  box-shadow: 0 5px 15px rgb(0 0 0 / 30%);
}

i.fa-search {
  position: absolute;
  z-index: 1;
  float: left;
}

i.fa-search + input {
  padding-left: 26px;
}

/* Отрисовываем большую тень, но не показываем */
/*.card:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: opacity 0.3s ease-in-out:
}*/
/*
.card:hover{
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: box-shadow 1s ease-in-out:
}*/
.card_img{
  height: 300px;
  border-radius: 10px 10px 0 0;
  -webkit-mask: linear-gradient(to bottom, black 60%, transparent 99%);
  background-position: center;
  background-size: cover;
  background-position-y: 0px;
}
.card-title{
  overflow: hidden;
  text-overflow: ellipsis;
  display: -moz-box;
  -moz-box-orient: vertical;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  box-orient: vertical;
  text-overflow: ellipsis;
}

.white_text{
  color:#fff;
}
.dark_text{
  color:#212529;
}
.card-body{
  position: relative;
  top: 0px;
}
.col-lg-5 .card{
  max-height: 475px;
  min-height: 475px;
}
.col-lg-7 .card{
  max-height: 475px;
  min-height: 475px;
}
.col-lg-7 .card-footer .chanel_card{
  position: relative;
  /*top: 0.825rem;*/
  font-size: 1rem;

  white-space: nowrap;
  -webkit-line-clamp: 1;
  display: block;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, black, transparent calc(100% + 10%));
  mask-image: linear-gradient(to right, black, transparent calc(100% + 10%));

}
.col-lg-5 .card-footer .chanel_card{
  position: relative;
  /*top: 0.25rem;*/
  font-size: 1rem;

  white-space: nowrap;
  -webkit-line-clamp: 1;
  display: block;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, black, transparent calc(100% + 10%));
  mask-image: linear-gradient(to right, black, transparent calc(100% + 10%));

}

/*.col-lg-5 .card-footer .chanel_card:hover, .col-lg-7 .card-footer .chanel_card:hover{
  position: absolute;
  overflow: visible;
  -webkit-mask-image: none;
  mask-image: none;
  z-index: 99;
  background: #fff;
  padding-left: 5px;
  padding-right: 5px;
  border-radius: 5px;
  color: #212529;
  cursor: pointer;
  opacity: 0.8;
}*/

/*@media screen and (max-width: 1200px) {
  .col-lg-7 .card-footer .chanel_card{
    -webkit-mask-image: linear-gradient(to right, black, transparent 40%);
    mask-image: linear-gradient(to right, black, transparent 40%);
  }
  .col-lg-5 .card-footer .chanel_card{
    -webkit-mask-image: linear-gradient(to right, black, transparent 40%);
    mask-image: linear-gradient(to right, black, transparent 40%);
  }
}
@media screen and (max-width: 768px) {
  .col-lg-7 .card-footer .chanel_card{
    -webkit-mask-image: linear-gradient(to right, black, transparent 95%);
    mask-image: linear-gradient(to right, black, transparent 95%);
  }
  .col-lg-5 .card-footer .chanel_card{
    -webkit-mask-image: linear-gradient(to right, black, transparent 95%);
    mask-image: linear-gradient(to right, black, transparent 95%);
  }
}*/

/* Добавьте это в ваш файл style_form.css */

/* Стиль для кнопки "Подписаться" */
.subscribe-button {
    display: inline-block;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    padding: 5px 15px;
    font-size: 1.4rem;
    font-weight: bold;
    color: #fff;
    background-color: #3a7947;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Анимация при наведении */
.subscribe-button:hover {
    background-color: #3d8b4d;
    transform: scale(1.05);
}

/* Анимация при клике */
.subscribe-button:active {
    background-color: #228438;
    transform: scale(1);
}

/* Стиль для кнопки "Отписаться" */
.unsubscribe-button {
    display: inline-block;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    padding: 5px 15px;
    font-size: 1rem;
    font-weight: bold;
    color: #6c757d;
    background-color: #fff;
    border: 1px solid #6c757d;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Анимация при наведении */
.unsubscribe-button:hover {
    background-color: #5a6268;
    color: #fff;
    transform: scale(1.05);
}

/* Анимация при клике */
.unsubscribe-button:active {
    background-color: #495057;
    color: #fff;
    transform: scale(1);
}


.rate span{
  vertical-align: text-top;
}
.rate i{
  margin-top: 5px;
  font-size: 20px;
}
.rate i.fa-thumbs-up{
  position: relative;
}
.like{
  cursor: pointer;
  user-select: none;
  padding: 10px;
  font-size: 14px;
}
.like:hover{
  background: #ffffff2e;
  border-radius: 10px;
}
#post_img{
  background-size: 100%;
  width: 100%;
  min-height: 350px;
  height: auto;
  background-position: top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
#post .clearfix img{
  width: 100%;
  height: auto;
  border-radius: 10px;
  max-width: 900px;
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;

  max-height: 300px;
  width: auto;
}

figcaption{
  font-size: 12px;
  background: #f4f4f4;
  border-radius: 10px;
  padding: 5px 15px;
  text-align: center;
  margin-top: 1rem;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

#post_data{
  /*
  background: #ffffff7a;
  padding-top: 1rem;
  border-radius: 10px;
  */
}
#post_data .col-lg-8{
  background: #ffffff;
  border-radius: 10px;
}
h1.molodost{
  font-size: calc( (100vw - 30rem)/(80 - 30) * (1.5 - 1) + 2rem);
}
.info_data{
  font-size: 14px;
  color: #9d9d9d;
  display: inline-block;
}
#post_text{
  font-size: 1.2rem;
}
.dropdown-toggle{
  cursor: pointer;
  -moz-user-select: none;
  -khtml-user-select: none;
  user-select: none;
}
.hh{
  font-size: calc( (100vw - 30rem)/(80 - 30) * (1.5 - 1) + 1rem);
}
.save_settings{
    font-size: calc( (100vw - 30rem)/(80 - 30) * (1.5 - 1) + 0.5rem);
}
#coment_sort{
  font-size: 14px;
  padding-right: 15px;
}
#comments textarea{
  display: block;
  box-sizing: border-box;
  border: 0;
  padding: 10px 10px 10px 10px;
  border-radius: 15px;
  border: 1px solid #ebebeb;
  resize: none;
  outline: none;
  overflow: hidden;
}
#comentFucn{
  float: right;
  padding: 0 10px 10px 10px;
  margin-top: -35px;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: flex-end;
  justify-content: flex-end;
}
#picture_coment{
  cursor: pointer;
  border-radius: 5px;
  padding: 5px;
}
#send_coment{
  cursor: pointer;
  border-radius: 5px;
  padding: 0 10px;
}
#send_coment:hover, #picture_coment:hover{
  background: #f9f1da;
}

.comment {
  width: 100%;
  padding: 20px;
}

.author_coment {
  font-weight: bold;
  display: flex;
  align-items: center;
}

.author_details {
  display: flex;
  flex-direction: column;
  margin-left: 10px;
}

.author_name {
  color: #007bff;
  font-size: 14px;
}

.comment_time {
  color: #6c757d;
  font-size: 12px;
}

.text_coment {
  margin-top: 10px;
}

.mt-2 {
  margin-top: 10px;
}

.ml-4 {
  margin-left: 10px;
}

.replies {
  margin-left: 40px;
  border-left: 2px solid #ddd;
  padding-left: 20px;
}

.ava_comments {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

#comments textarea {
  display: block;
  box-sizing: border-box;
  border: 0;
  padding: 10px;
  border-radius: 15px;
  border: 1px solid #ebebeb;
  resize: none;
  outline: none;
  overflow: hidden;
  width: 100%;
}

#comentFucn {
  float: right;
  padding: 0 10px 10px 10px;
  margin-top: -35px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

#picture_coment {
  cursor: pointer;
  border-radius: 5px;
  padding: 5px;
}

#send_coment {
  cursor: pointer;
  border-radius: 5px;
  padding: 0 10px;
}

#send_coment:hover,
#picture_coment:hover {
  background: #f9f1da;
}

.replyForm {
  margin-top: 10px;
}

.replyForm textarea {
  display: block;
  box-sizing: border-box;
  border: 0;
  padding: 10px;
  border-radius: 15px;
  border: 1px solid #ebebeb;
  resize: none;
  outline: none;
  overflow: hidden;
  width: 100%;
}

.replyFunc {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 10px;
}

.replyFunc #picture_coment {
  cursor: pointer;
  border-radius: 5px;
  padding: 5px;
}

.replyFunc .send_reply {
  cursor: pointer;
  border-radius: 5px;
  padding: 0 10px;
}

.replyFunc .send_reply:hover,
.replyFunc #picture_coment:hover {
  background: #f9f1da;
}


.name_top_profile{
  text-align: center;
  font-size: 2rem;
}
.name_top_post{
  color: #1f1f1f;
  text-align: left;
  font-size: 1.3rem;
}
.name_top_post::first-letter{
  color: #cd2121;
}

.hram_name{
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 0;
}

.sub_top_profile{
  border-radius: 8px;
  color: #375772;
  background: #91c4f085;
  font-size: 1.4rem;
  transition: 0.3s;
  text-align: center;
  -webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
  cursor: pointer;
}
.sub_top_profile:hover{
  color: #386641;
  background: #98f09185;
  transition: 0.3s;
}
.sub_top_profile:focus,.sub_top_profile:target,.sub_top_profile:active{
  color: #f9fffa;
  background: #3ca13485;
  transition: 0.3s;
}
.sub_top_post {
  border-radius: 8px;
  color: #ffffff;
  background: #386742;
  font-size: 1.1rem;
  transition: 0.3s;
  text-align: center;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
  position: relative;
  overflow: hidden; /* Для предотвращения выхода анимации за границы кнопки */
}

.sub_top_post::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%; /* Начальная позиция вне кнопки */
  width: 200%; /* Ширина больше кнопки для покрытия всей поверхности */
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    left: -150%;
  }
  50% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}

.sub_top_post:hover {
  color: #386641;
  background: #98f09185;
  transition: 0.3s;
}

.sub_top_post:focus,
.sub_top_post:target,
.sub_top_post:active {
  color: #f9fffa;
  background: #3ca13485;
}

.unsub_top_post{
  text-align: left;
  color: #848d95;
  font-size: 14px;
  padding-left: 3px;
}

.miranin_reg{

}

.banner_zapiska_st_index{
  background-position: bottom 0px right -20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-attachment: inherit;
  border-radius: 10px;
}
.banner_zapiska_st{
  background-position: bottom 0px right -20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-attachment: inherit;
  border-radius: 10px;
}

.banner_st{
  background-position: bottom 0px right -20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-attachment: inherit;
  border-radius: 10px;
}

@media (max-width: 360px) {
  .banner_zapiska_st_index{
    background-position: top 10px right 0;
    background-size: 40%;
  }
  .banner_zapiska_st{
    background-position: top 10px right 0;
    background-size: 40%;
  }
  .banner_st{
    background-position: top 10px right 0;
    background-size: 40%;
  }
  .cat_mol{
    font-size: calc( (100vw - 30rem)/(80 - 30) * (1.5 - 1) + 1.5rem);
    text-transform: uppercase;
    text-align: center;
  }
  .whome_mol{
    font-size: calc( (100vw - 30rem)/(80 - 30) * (1.5 - 1) + 1.5rem);
    line-height: 1.5rem;
    text-align: center;
  }
  .what_mol{
    font-size: calc( (100vw - 30rem)/(80 - 30) * (1.5 - 1) + 1.5rem);
    line-height: 1.5rem;
    text-align: center;
  }
}
@media (max-width: 575px) {
  .banner_zapiska_st_index{
    background-position: center bottom;
    background-size: 39%;
    min-height: 300px;
  }
  .banner_zapiska_st{
    background-position: center bottom;
    background-size: 40%;
    min-height: 300px;
  }
  .banner_st{
    background-position: center bottom;
    background-size: 39%;
  }
  .cat_mol{
    font-size: calc( (100vw - 30rem)/(80 - 30) * (1.5 - 1) + 2.5rem);
    text-transform: uppercase;
    text-align: center;
  }
  .whome_mol{
    font-size: calc( (100vw - 30rem)/(80 - 30) * (1.5 - 1) + 1.5rem);
    line-height: 30px;
    text-align: center;
  }
  .what_mol{
    font-size: calc( (100vw - 30rem)/(80 - 30) * (1.5 - 1) + 1.5rem);
    line-height: 1.5rem;
    text-align: center;
  }
  .btn_banner{
    font-size: calc( (100vw - 30rem)/(80 - 30) * (1.5 - 1) + 1.2rem);
    margin-top: 1rem;
    margin-bottom: 0;
  }
  .info_mol{
    padding-bottom: 42%;
  }
}
@media (min-width: 576px) {
  .banner_zapiska_st_index{
    background-position: center bottom;
    background-size: 39%;
    min-height: 400px;
  }
  .banner_zapiska_st{
    background-position: center bottom;
    background-size: 39%;
    min-height: 300px;
  }
  .banner_st{
    background-position: bottom right;
    background-size: 39%;
  }
  .cat_mol{
    font-size: calc( (100vw - 30rem)/(80 - 30) * (1.5 - 1) + 2rem);
    text-transform: uppercase;
    text-align: center;
  }
  .whome_mol{
    font-size: calc( (100vw - 30rem)/(80 - 30) * (1.5 - 1) + 1.5rem);
    line-height: 30px;
    text-align: center;
  }
  .what_mol{
    font-size: calc( (100vw - 30rem)/(80 - 30) * (1.5 - 1) + 1.1rem);
    line-height: 1.5rem;
    text-align: center;
  }
  .btn_banner{
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

}

@media (min-width: 768px) {
  .banner_zapiska_st_index{
    background-position: center bottom;
    background-size: 42%;
    min-height: 480px;
  }
  .banner_zapiska_st{
    background-position: center bottom;
    background-size: 50%;
    min-height: 350px;
  }
  .banner_st{
    background-position: bottom right 0;
    background-size: 42%;
  }
  .cat_mol{
    font-size: calc( (100vw - 30rem)/(80 - 30) * (1.5 - 1) + 1.5rem);
    text-transform: uppercase;
    text-align: center;
  }
  .whome_mol{
    font-size: calc( (100vw - 30rem)/(80 - 30) * (1.5 - 1) + 1.3rem);
    line-height: 1.3rem;
    text-align: center;
  }
  .what_mol{
    font-size: calc( (100vw - 30rem)/(80 - 30) * (1.5 - 1) + 1.1rem);
    line-height: 1.5rem;
    text-align: center;
  }


}

@media (min-width: 992px) {
  .banner_zapiska_st_index{
    background-position: center bottom;
    background-size: 42%;
    min-height: 350px;
  }
  .banner_zapiska_st{
    background-position: center bottom;
    background-size: 65%;
  }
  .banner_st{
    background-position: bottom right 0;
    background-size: 42%;
  }
  .cat_mol{
    font-size: calc( (100vw - 30rem)/(80 - 30) * (1.5 - 1) + 1.5rem);
    text-transform: uppercase;
    text-align: center;
  }
  .whome_mol{
    font-size: calc( (100vw - 30rem)/(80 - 30) * (1.5 - 1) + 1rem);
    line-height: 1.5rem;
    text-align: center;
  }
  .what_mol{
    font-size: calc( (100vw - 30rem)/(80 - 30) * (1.5 - 1) + 0.8rem);
    line-height: 1.3rem;
    text-align: center;
  }

}

@media (min-width: 1200px) {
  .banner_zapiska_st_index{
    background-position: center bottom;
    background-size: 42%;
    min-height: 430px;
  }
  .banner_zapiska_st{
    background-position: center bottom;
    background-size: 55%;
    min-height: 410px;
  }
  .banner_st{
    background-position: bottom right 0;
    background-size: 42%;
  }
  .cat_mol{
    font-size: calc( (100vw - 30rem)/(80 - 30) * (1.5 - 1) + 2.5rem);
    text-transform: uppercase;
    text-align: center;
  }
  .whome_mol{
    font-size: calc( (100vw - 30rem)/(80 - 30) * (1.5 - 1) + 14px);
    /*text-transform: lowercase;*/
    line-height: 2rem;
    text-align: center;
  }
  .what_mol{
    font-size: calc( (100vw - 30rem)/(80 - 30) * (1.5 - 1) + 12px);
    /*text-transform: lowercase;*/
    line-height: 1.5rem;
    text-align: center;
  }
  .btn_banner{
    font-size: calc( (100vw - 30rem)/(80 - 30) * (1.5 - 1) + 0.8rem);
  }
}

.banner_st p{
  margin: 0;
  margin-bottom: 0.5rem;
}

.banner_zapiska_st_index p{
  margin: 0;
  margin-bottom: 0.5rem;
}
.banner_zapiska_st p{
  margin: 0;
  margin-bottom: 0.5rem;
}


.cat_mol{
  color: #212529;
}
.whome_mol{
  /*text-transform: lowercase;*/
}
.what_mol{
  /*text-transform: lowercase;*/
  word-break: break-word;
}

a.btn_banner{
  color: #fff;
  background-color: #c3b152;
  outline: none;
  text-transform: uppercase;
}
a.btn_banner:hover{
    color: #fff;
  background-color: #d5c15a;
}

.select_date{
  width: 100%;
  text-align: center;
  background: #f7f1d9;
  border: 0;
  padding: 5px;
  border-radius: 10px;
  appearance: none;
  user-select: none;
  font-size: calc( (100vw - 50rem)/(80 - 10) * (1.5 - 1) + 1rem);
}
.select_date {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8"><path d="M1.4 0.6l4.6 4.6 4.6-4.6 1.4 1.4-6 6-6-6 1.4-1.4z" fill="black"/></svg>') #f7f1d9 no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    padding-right: 30px;
}
.select_date:focus {
  outline: none;
  box-shadow: 0;
}

.select_date {
   overflow: hidden;
}

/*ALERT START*/


        .alert-arrow .alert-icon {
            position: relative;
            width: 3rem;
            background-color: #60c060;
        }

        .alert-arrow .alert-icon::after {
            content: "";
            position: absolute;
            width: 0;
            height: 0;
            border-top: .75rem solid transparent;
            border-bottom: .75rem solid transparent;
            border-left: .75rem solid #60c060;
            right: -.75rem;
            top: 50%;
            transform: translateY(-50%);
        }

        .alert-arrow .close {
            font-size: 1rem;
            color: #b3b3b3;
        }

        /* primary */
        .alert-arrow-primary {
            border: 1px solid #4d90fd;
            color: #3a8ace;
        }

        .alert-arrow-primary .alert-icon {
            background-color: #4d90fd;
        }

        .alert-arrow-primary .alert-icon::after {
            border-left: .75rem solid #4d90fd;
        }

        /* warning */
        .alert-arrow-warning {
            color: #f9c9a0;
        }

        .alert-arrow-warning .alert-icon {
            background-color: #f9c9a0;
            border-radius: 10px 0 0 10px;
        }

        .alert-arrow-warning .alert-icon::after {
            border-left: .75rem solid #f9c9a0;
        }

        .alert-arrow-warning .alert-message{
          color: #262626;
          border: 1px solid #f9c9a0;
          border-right: 0;
        }
        .alert-arrow-warning .close{
          border: 1px solid #f9c9a0;
          border-left: none;
          border-radius: 0 10px 10px 0;
        }

        /* danger */
        .alert-arrow-danger .alert-icon {
            background-color: #f3aaaa;
            border-radius: 10px 0 0 10px;
        }

        .alert-arrow-danger .alert-icon::after {
            border-left: .75rem solid #f3aaaa;
        }
        .alert-arrow-danger .alert-message{
          color: #262626;
          border: 1px solid #f2aaaa;
          border-right: 0;
        }
        .alert-arrow-danger .close{
          border: 1px solid #f2aaaa;
          border-left: none;
          border-radius: 0 10px 10px 0;
        }
/*ALERT END*/

.banner_st_page img{
  width: 100%;
}
.st .title{
  font-size: 18px;
  text-align: center;
  margin-bottom: 1rem;
}

.list_priest_settings{
  font-size: 1rem;
  cursor: pointer;
}

.gray_mess{
  color: #6c757d;
  font-size: 14px;
  text-align: center;
  margin-bottom: 1rem;
}


.spisok li.list-group-item{
  padding: 0.5rem 0.75rem;
  font-size: 14px;
  color: #1f1f1f;
  border: 1px solid #ecd897;
  margin-bottom: 1rem;
  border-radius: 10px;
}


.spisok li.list-group-item .date_calendar{
  font-size: 1rem;
}

.spisok li.list-group-item .title_calendar{
  color: #bd3338;
}

.spisok li.list-group-item a{
  text-decoration: none;
}

.spisok .card{
  border: 1px solid #dfd49b;
  border-radius: 6px;
}

.spisok .card .card-header{
  background: #dfd49b;
  border: 0;
  text-align: center;
}


.top_btn{
  font-family: 'russ';
  padding: 5px;
  border-radius: 8px;
  font-size: 1.4rem;
  transition: 0.3s;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
}


.raspisanie_btn{
  color: #242529;
  background: #ecd897;
}
.raspisanie_btn:hover{
  background: #faebbe;
  color: #715e25;
}

.treba_btn{
  color: #1f1f1f;
  background: #f8e9be;
}
.treba_btn:hover{
  color: #1f1f1f;
  background: #f8f0db;
}
.card-body a.treba_btn{
  color: #1f1f1f;
  background: #f8e9be;
}
.card-body a.treba_btn:hover{
  color: #1f1f1f;
  background: #f8f0db;
}

.sbor_item .card-body a{
    color: #1f1f1f;
}
.church_item .card-body a{
    color: #1f1f1f;
}

.donation_btn{
  color: #1f1f1f;
  background: #f8e9be;
}
.donation_btn:hover{
  color: #1f1f1f;
  background: #f8f0db;
}

.link_hram{
  color: #9c852a;
  border-bottom: 1px solid#9c852a;
}

.link_hram:hover{
 color: #b09944;
 border-bottom: 1px solid #b09944;
 text-decoration: none;
}

.img_main_sbor{
  width: 100%;
  height: 220px;
  background-position: center;
  background-size: cover;
  border-radius: 5px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.img_main_church{
  width: 100%;
  height: 220px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: 5px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.type_sbor{
  color: #c5c5c1;
}

.sum_sbor{
  border: 1px solid #dfd49b;
  border-radius: 10px;
  font-size: 1.5rem;
}


.saints-list {
  display: block;
  flex-wrap: wrap;
  justify-content: center;
}

.saint {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  cursor: pointer;
}

.saint-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 10px;
  -webkit-border-radius: 50%;
  border: 3px solid #cdbe5c;
  background: #f6e7bf;
}

.saint-image img {
  width: 100%;
  height: 100%;
  padding: 5px;
  object-fit: contain;
  margin-top: 5px;
}

.saint-name {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 5px;
}

.saint-price {
  font-size: 14px;
  text-align: center;
}

.treb_list{
  list-style: none;
}
.treb_list li{
  width: auto;
  cursor: pointer;
  display: inline-block;
  margin: 5px 0;
  background: #f7e8be;
  color: #1f1f1f;
  border-radius: 10px;
  padding: 5px 10px;
  font-size: 1.3rem;
  cursor: pointer;
}
.treb_list li:hover{
  color: #1f1f1f;
  background: #f8f0db;
}
.treb_list li.active, .treb_list li:active{
  background: #386641;
  color:#fff;
}

.whome_list li{
  width: auto;
  cursor: pointer;
  display: inline-block;
  margin: 5px 0;
  background: #f7e8be;
  color: #1f1f1f;
  border-radius: 10px;
  padding: 5px 10px;
  font-size: 14px;
  cursor: pointer;
}
.whome_list li:hover{
  color: #1f1f1f;
  background: #f8f0db;
}
.whome_list li.active, .whome_list li:active{
  background: #386742;
  color: #fff;
}
.st_src input {
  border: 1px solid #dfd49b;
  border-radius: 10px;
}

.saint:hover .saint-image{
  border: 3px solid #386742;
  box-shadow: 0 0 5px 1px #000;
}
div.active_saint .saint-image{
  border: 3px solid #218336;
}

.unselectable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.check_list_saints{
  zoom: 75%;
}
.btn-group .saint_name{
  background: #f7e8be;
  border: 0;
  cursor: pointer;
}
.btn-group .saint_name:hover{
  background: #f7edd1;
}
.btn-group .saint_close i{
  margin-top: 2.5px;
}
.btn-group .saint_close{
  background: #dec275;
  color: #fff;
  cursor: pointer;
}
.btn-group .saint_close:hover{
  background: #e13e43;
}

.block{
  border-radius: 10px;
  background: #fffef9;
  border: 1px solid #e0d59c;
  padding: 10px 20px;
  font-family: 'slav';
}

ul.jFiler-item-list{
  display: table-cell;
  width: 100%;
}
.filer_update_old{
  display: table;
}
.show_cnt_saint{
  display: block;
  position: relative;
  top: -25px;
  font-size: 18px;
  background: #fffaeaba;
  padding: 10px;
  border-radius: 1rem;
  z-index: -1; 
}

.cnt_banner{
  background: #386742;
  color: #fff;
  padding: 5px 8px;
  border-radius: 5px;
}

.treb_post .phone{
  background: #f9f4daa3;
}
.sbor_btn{
  font-size: 24px;
  color: #1f1f1f;
  background: #e0d59c;
}
.sbor_btn:hover{
  background: #f7e8be;
  color: #1f1f1f;
}
.st_name{
  color: #9e1917;
  border-radius: 10px;
  padding: 15px 5px;
  border: 1px solid #9e1917;
}
.pray_st,.qoutes_st,.patronaz_st{
  color: #9e1917;
  border-radius: 10px;
  padding: 10px 5px;
  border: 1px solid #9e1917;
}
.text_st{
  font-size: 20px;
}
.patronaz{
  list-style: none;
  text-align: center;
  font-size: 28px;
}
.memory_date{
  background: #386742;
  color: #fff;
  padding: 10px 5px;
  border-radius: 10px;
}
.st_list_img{
  min-height: 160px;
}
table{
  line-height: 24px;
}

.editor{
  
}
.text_editor{
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  border: 1px solid #e0d59c;
  border-radius: 10px;
  padding: 10px;
  font-size: 1.2rem;
  color: #1f1f1f;
  background: #fff;
  min-height: 200px;
}
.text_editor:focus{
  outline: none;
  box-shadow: 0 0 0 0;
}
.title_post{
  font-size: calc( (100vw - 30rem)/(80 - 30) * (1.5 - 1) + 2rem);
  font-weight: bold;
  color: #1f1f1f;
  border: 1px solid #e0d59c;
  border-radius: 10px;
  padding: 10px;
  background: #fff;
}
.img_prev_visible{
  width: 30%;
  border-radius: 10px;
  margin-top: 10px;
  margin-bottom: 20px;
}
.img_upload_post{
  border: 1px solid #e1d69d;
  padding: 10px;
  border-radius: 10px;
  background: #fff;
}

.btn-primary.active{
  color: #1f1d1d;
  background-color: #fff2b2;
}

.img_main_sbor{
  background-position: center;
  background-size: 100%;
  background-repeat: no-repeat;
}

.card-body a{
  color: #fff;
  text-decoration: none;
}

.post_preview{
  height: 100%;
    min-height: 200px;
    max-height: 350px;
    width: 100%;
    text-align: center;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 10px;
}

a.post_usr_name{
  color: #1f1f1f;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
  position: relative;
  bottom: -10px;
}

.post_ava{
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  height: 70px;
  width: 70px;
  max-height: 100px;
  max-width: 100px;
  border: 4px solid #386742;
}

.link_bottom{
  display: block;
  bottom: -5px;
  position: relative;
}

#sbory_list .card-body a{
  color: #4473b4;
  text-decoration: none;
}

.names_list{
    font-size: 21px;
}

#list_footer{
    font-size: 14px;
}

.scroll_horizontal {
    min-width: 600px; /* Задайте минимальную ширину, которая вам подходит */
    width: calc(100% - 100px); /* Уменьшаем ширину контейнера */
    padding-right: 150px; /* Добавляем отступ справа */
    padding-left: 0;
    overflow-x: scroll;
    display: flex;
    -webkit-overflow-scrolling: touch;
}
@media (min-width: 600px) {
    .scroll_horizontal {
        min-width: 600px;
    }
}

@media (max-width: 599px) {
    .scroll_horizontal {
        min-width: 100%;
    }
}
.banner_zapiska {
    min-width: 280px;
    box-sizing: border-box;
    flex: 0 0 auto;
    padding: 0;
}

.currency {
    font-size: 1.5rem;
    color: #1f1f1f;
    font-weight: bold;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    display: block;
}
.currency_rub{
    background: #f7e8be;
}
.currency_other{
    background: #f7e8be;
}
.currency_rub:hover{
    background: #f8f0db;
}
.currency_other:hover{
    background: #f8f0db;
}
.form-check-label{
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.international_data input {
    background: #f9f4daa3;
}

input[type="checkbox"].check_classic {
    width: 20px;
    height: 20px;
    background: #ddd;
    border-radius: 5px;
    border: 2px solid #555;
    cursor: pointer;
}

input[type="checkbox"].check_classic:checked {
    
}

input[type="checkbox"].check_classic:checked:after {
    display: block;
    width: 10px;
    height: 10px;
    margin: 4px;
    border-radius: 3px;
}
.back_treb, .back_currency{
  cursor: pointer;
  border-radius: 10px;
  padding: 10px;
  font-size: 1.2rem;
  color: #909090;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid #909090;
}
.back_treb:hover, .back_currency:hover{
  color: #1f1f1f;
}

#pray_to_link span{
    border-bottom: 1px solid;
}
.name_sbor{
  border: 1px solid #dfd49b;
  border-radius: 10px;
  font-size: 1.5rem;
}
.sbor_item label[for=anonim_sbor]{
  color: #6d757dbd;
}
.pri_lnk{
  border: 1px solid #386742;
  padding: 3px 15px;
  border-radius: 10px;
}
a.pri_lnk:hover{
  background: #4c8b59 !important;
  color: #fff !important;
  border: 1px solid #4c8b59;
}
.image-container {
  position: relative;
  display: inline-block;
}

.image-container img {
  max-width: 100%;
  border-radius: 10px 0 0 10px;
  display: block;
}

.image-container img {
  height: 100%;
  object-fit: cover;
}

.image-container::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(to left, rgba(34, 34, 34, 0.6), transparent);
  border-radius: 10px 0 0 10px;
}
.post_usr_wall .row{
  border-radius: 10px;
  background: #f7f7f796;
}
.post_usr_wall h3 a{
  color:#1f1f1f;
}
.post_usr_wall p a{
  color: #757575;
}

.post_usr_wall a.green_link{
  font-size: 1.5rem;
}

#exec_table .text-success{
  color: #386742b8 !important;
}

.btn_currency{
  display: contents;
}

.red_title{
  color: #1f1f1f;
}
p.red_title::first-letter{
  color: #cd2121;
}
.red_color{
  color: #cd2121;
}
.back_sbor{
  cursor: pointer;
  border: 1px solid #000;
  padding: 5px 10px;
  border-radius: 10px;
}
.phone {
  border: 1px solid #dfd49b;
  border-radius: 10px;
  font-size: 1.2rem;
}
#cardsList{
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.delete{
    cursor: pointer;
    color: #1f1f1f87;
}
.delete:hover{
    color: #9c1e1e;
}

/*NOTION*/

.codex-editor__redactor{
    padding-bottom: 100px !important;
}

#editorjs{

}
.notion-like-container {
    width: 100%;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background-color: #ffffff;
    text-align: left;
    height: auto;
}

.notion-title {
    width: 100%;
    padding: 15px;
    font-size: 2rem;
    border: none;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
    outline: none;
    box-sizing: border-box;
}

.submit-button {
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    color: #386742;
    background-color: transparent;
    border: 1px solid #386742;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: block;
    margin: 0 auto;
}

.submit-button:hover {
    color:#fff;
    background-color: #386742;
    transform: scale(1.05);
}

.submit-button:active {
    background-color: #1e7e34;
    transform: scale(1);
}

.close_popup{
  cursor: pointer;
  font-size: 12px;
  padding-right: 5px;
  position: relative;
  top: -1px;
}
.sobrano_sbor{
  font-size: 1.3rem !important;
  color: #666 !important;
}

#userDataCountry, #userDataPurpose{
  font-size: 1.2rem !important;
  margin-bottom: 5px;
  border-radius: 10px;
  outline: none;
  width: 100%;
  padding: 10px;
  background-color: #fff;
  border: 0;
}


/*POST*/
/*
.post-actions {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.post-actions span {
  display: inline-flex;
  align-items: center;
  font-size: 1.2rem;
  cursor: pointer;
  color: #c7c7c7;
  transition: color 0.3s ease, transform 0.3s ease;
}

.post-actions span i {
  margin-right: 5px;
}

.like-btn:hover i {
  color: #e63946;
}

.comment-btn:hover i {
  color: #4473b4;
}

.share-btn:hover i {
  color: #c3b152;
}

.like-btn:hover,
.comment-btn:hover,
.share-btn:hover {
  transform: scale(1.1);
}

.animate {
  transform: scale(1.3);
  transition: transform 0.3s ease;
}

.block_post {
  background: 0;
  border: 1px solid #e0d59c;
  border-radius: 20px;
  box-shadow: none;
  padding: 20px;
}

.title_post, .post_preview {
  background: none;
  border: none;
  box-shadow: none;
}

.title_post::first-letter{
  color: #cd2121;
}

.view-count {
  font-size: 1.2rem;
  color: #6c757d;
}

.soc_btn{
  padding-left: 10px;
}

.block_post .fa-eye{
  color: #c7c7c7;
}

.block_post a{
  color: #1f1f1f;
  text-decoration: none;
}

.block_post .dropdown_div{
  font-size: 1.5rem;
  position: absolute;
  top: 30px;
  right: 15px;
}

.block_post .dropdown-menu{
  border: 1px solid #e1d69d;
}

.block_post .dropdown-item{
  cursor: pointer;
}

.block_post .dropdown-item:not(:last-child) {
  border-bottom: 1px solid #e9e9e9;
}

.block_post .fa-ellipsis-h{
  color: #1f1f1f;
  padding: 5px 5px;
  
}

.block_post .fa-ellipsis-h:hover{
  border-radius: 10px;
  background: #e1d69d;
  color: #fff;
}
*/

#info_zapiski {
  background-color: #f9f8f4;
  border: 1px solid #e0c96e;
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
  font-family: 'MonomakhUnicodeTT', sans-serif;
  color: #242529;
}

.red::first-letter, #info_zapiski h2::first-letter, #info_zapiski .question-answer h3::first-letter {
  color: #cd2121;
}

#info_zapiski h2 {
  font-size: 2rem;
  color: #1f1f1f;
  text-align: center;
  margin-bottom: 20px;
  font-family: 'russ' !important;
}

#info_zapiski .question-answer h3 {
  font-size: 1.6rem;
  color: #1f1f1f;
  margin-bottom: 10px;
  font-family: 'russ' !important;
}

#info_zapiski .question-answer p {
  font-size: 1.2rem;
  color: #242529;
  margin-bottom: 20px;
  font-family: auto;
}



a.btn_svyat {
    width: 100%;
    display: inline-block;
    margin: 5px 0;
    background: #fff;
    border: 1px solid #b32424;
    color: #b32424;
    border-radius: 10px;
    padding: 5px 10px;
    font-size: 1.3rem;
    cursor: pointer;
}
a.btn_svyat::first-letter {
    color: #d23737;
}
