@charset "UTF-8";
@font-face {
  font-family: 'Cyrillic Old';
  src: url("../fonts/cyrillicold.ttf"); }

@font-face {
  font-family: 'Heuristica';
  src: url("../fonts/heuristica-regular.ttf"); }

@font-face {
  font-family: 'Posad-Ucs';
  src: url("../fonts/Posad_Ucs.ttf"); }

html, body,
div, span, p, a,
applet,
object,
iframe,
h1, h2, h3, h4, h5, h6,
blockquote,
pre,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
caption, table, tr, th, td, thead, tbody, tfoot,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav,
output,
ruby,
section, article,
summary,
time,
mark,
audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline; }

/* HTML5 display-role reset for older browsers */
aside,
details,
figcaption,
figure,
hgroup,
menu, nav {
  display: block; }

body {
  line-height: 1;
  font-family: 'Heuristica', sans-serif;
  overflow-x: hidden;}

blockquote,
q {
  quotes: none; }

ol, ul {
  list-style: none; }

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

a,
a:visited {
  color: #000;
  text-decoration: none;
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out; }

@media (hover) {
  a:hover,
  a:visited:hover {
    color: #fff;
    text-decoration: none; } }

a:focus {
  outline: 0; }

input,button {
  outline: none; }
  input:focus,button:focus {
  outline: none; }

*:not(.fancybox-container, .fancybox-container *) {
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}
strong{font-weight: 700;font-family: Cyrillic Old}
h1 {
  color: #9d2727;
  font-family: Cyrillic Old;
  font-size: 36px; }
  @media screen and (max-width: 1199px) {
    h1 {
      font-size: 32px; } }
  @media screen and (max-width: 991px) {
    h1 {
      font-size: 28px; } }

h2,h3 {
  font-family: Cyrillic Old;
  font-size: 30px;
  margin-bottom: 50px; }
  @media screen and (max-width: 991px) {
    h2,h3 {
      font-size: 26px; } }
  @media screen and (max-width: 575px) {
    h2,h3 {
      font-size: 22px; } }
p + h2,
p + h3{margin-bottom: 10px;margin-top: 40px}

@media (min-width: 1300px) {
  .container {
    max-width: 1230px; } }

@media (min-width: 1200px) {
  .container {
    max-width: 1170px; } }

.header {
  padding: 5px 0px;
  background-image: url("../img/bg-header.jpg"); }
  @media screen and (max-width: 1199px) {
    .header {
      padding: 10px 0px; } }
  @media screen and (max-width: 991px) {
    .header {
      padding: 0px 0px 0px; } }
  .header .container {
    display: flex;
    align-items: center;
    justify-content: space-between; }
    @media screen and (max-width: 1199px) {
      .header .container {
        flex-flow: wrap; } }
    @media screen and (max-width: 991px) {
      .header .container {
        max-width: 100vw;
        padding: 0; } }
    @media screen and (max-width: 575px) {
      .header .container {
        flex-flow: column; } }
  .header .logo-container {
    display: flex; }
    /*@media screen and (max-width: 1199px) {
      .header .logo-container {
        width: -moz-max-content;
        width: max-content;
        margin: 0px auto 10px; } }*/
    @media screen and (max-width: 575px) {
      .header .logo-container {
        max-width: 380px;
        margin: 0px auto 30px;
        width: 100%;
        padding: 0 20px; } }
    .header .logo-container img {
      /*width: 100%;
      max-width: 300px;*/
	  max-width: 100%;
      margin: auto; height: 68px}
      @media screen and (max-width: 1199px) {
       .header .logo-container img {
      height: 48px} }
      @media screen and (max-width: 991px) {
       .header .logo-container img {
      height: 68px} }
      @media screen and (max-width: 340px) {
       .header .logo-container img {
      height: auto;width: 100%; max-height: 70px} }
  .header .burger-menu {
    position: relative;
    right: 80px;
    top: 0px;
    width: 30px;
    height: 24px;
    align-items: center;
    justify-content: center; }
    @media screen and (max-width: 575px) {
      .header .burger-menu {
        top: -10px;
        right: 0;
        left: 0;
        margin-left: 0;
        margin-bottom: 0; } }
    .header .burger-menu span {
      display: block;
      margin: auto;
      border-radius: 5px;
      width: 100%;
      height: 4px;
      background-color: #9d2727;
      transition: all .3s; }
      .header .burger-menu span:before, .header .burger-menu span:after {
        content: '';
        position: absolute;
        left: 0;
        border-radius: 5px;
        width: 100%;
        height: 4px;
        background-color: #9d2727;
        transition: all .3s; }
      .header .burger-menu span:before {
        top: 0px; }
      .header .burger-menu span:after {
        bottom: 0px; }
    .header .burger-menu.active span {
      width: 0px; }
      .header .burger-menu.active span:before {
        top: 10px;
        transform: rotate(45deg); }
      .header .burger-menu.active span:after {
        bottom: 10px;
        transform: rotate(-45deg); }
  .header .burger-menu .text{position: absolute;
right: -60px;
cursor: pointer;color: #9d2727;
font-family: Cyrillic Old;
font-size: 20px;}
  @media screen and (max-width: 991px) {
    .header nav {
      display: none;
      height: calc(100% - 114px);
      width: 100vw;
      background-color: #9d2727;
      padding: 50px 0; } }
  .header nav .main-menu {
    display: flex;
    color: #000;
    font-family: Cyrillic Old;
    font-size: 16px; }
    @media screen and (max-width: 991px) {
      .header nav .main-menu {
        flex-flow: column;
        align-items: flex-start;
        justify-content: center;
        justify-content: flex-start;
        margin: auto;
        width: max-content; } }
    .header nav .main-menu li {
      position: relative;
      /*max-width: 140px;*/
      padding: 0px 15px; }
      @media screen and (max-width: 1199px) {
        .header nav .main-menu li {
          max-width: 125px; } }
      @media screen and (max-width: 991px) {
        .header nav .main-menu li {
          max-width: 240px; }
        .header nav .main-menu li:not(:last-child) {
          margin-bottom: 30px; } }
      .header nav .main-menu li a {
        position: relative;
        line-height: 1.2; }
        @media screen and (max-width: 991px) {
          .header nav .main-menu li a {
            color: #fff; } }
        .header nav .main-menu li a:after {
          position: absolute;
          content: '';
          left: 0;
          bottom: -5px;
          height: 1px;
          width: 0%;
          background-color: #9d2727;
          transition: all .3s;
          width: 0%; }
        @media screen and (min-width: 992px) {
          .header nav .main-menu li a:hover {
            color: #9d2727; } }
        @media (hover) {
          .header nav .main-menu li a:hover:after {
            width: 100%; } }
      .header nav .main-menu li.has-sub input[type="checkbox"] {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1100;
        opacity: 0;
        display: block;
        width: 100%;
        height: 100%; }
        @media screen and (max-width: 991px) {
          .header nav .main-menu li.has-sub input[type="checkbox"] {
            display: none; } }
        .header nav .main-menu li.has-sub input[type="checkbox"]:checked ~ .submenu {
          display: block; }
        .header nav .main-menu li.has-sub input[type="checkbox"]:checked ~ a {
          color: #9d2727; }
        @media (hover) {
          .header nav .main-menu li.has-sub input[type="checkbox"] {
            display: none; } }
      .header nav .main-menu li.has-sub > a {
        z-index: 1000; }
        @media screen and (max-width: 991px) {
          .header nav .main-menu li.has-sub > a:hover {
            color: #fff; } }
        .header nav .main-menu li.has-sub > a:after {
          position: absolute;
          content: '';
          left: 0;
          bottom: -5px;
          height: 1px;
          width: 0%;
          background-color: #9d2727;
          transition: all .3s;
          width: 0%; }
      @media (hover) {
        .header nav .main-menu li.has-sub:hover > a {
          color: #9d2727; }
          .header nav .main-menu li.has-sub:hover > a:after {
            width: 100%; }
        .header nav .main-menu li.has-sub:hover .submenu {
          display: block; } }
      .header nav .main-menu li.has-sub .submenu {
        display: none;
        position: absolute;
        z-index: 50;
        top: 40px;
        left: 0;
        margin-bottom: -100%;
        border: 1px solid #000;
        border-top: 0px;
        background-image: url("../img/bg-header.jpg");
        padding: 10px 15px; }
        @media screen and (max-width: 991px) {
          .header nav .main-menu li.has-sub .submenu {
            display: block;
            position: relative;
            background: none;
            margin-bottom: 0;
            top: 0;
            border: none;
            margin-left: 30px; } }
        .header nav .main-menu li.has-sub .submenu:before {
          position: absolute;
          content: '';
          height: 50px;
          width: calc(100% + 2px);
          top: -10px;
          margin-top: -40px;
          left: -1px;
          border: 1px solid #000;
          border-bottom: 0px;
          background-image: url("../img/bg-header.jpg"); }
          @media screen and (max-width: 991px) {
            .header nav .main-menu li.has-sub .submenu:before {
              display: none; } }
        .header nav .main-menu li.has-sub .submenu:after {
          position: relative;
          content: '';
          width: 100%; }
        .header nav .main-menu li.has-sub .submenu li {
          padding: 0;
          margin-bottom: 10px;
          width: max-content; }
          @media screen and (max-width: 991px) {
            .header nav .main-menu li.has-sub .submenu li {
              margin: auto auto 20px 0; }
              .header nav .main-menu li.has-sub .submenu li:last-child {
                margin-bottom: 0px; } }
          @media (hover) {
            .header nav .main-menu li.has-sub .submenu li a:hover:after {
              display: none; } }
      .header nav .main-menu li.active a {
        color: #9d2727; }
        .header nav .main-menu li.active a:after {
          width: 100%; }
    .header nav .main-menu .donation-button {
      border: 1px solid #fff;
      margin: auto; }
  .header .donation-button {
    background-color: #9d2727;
    border: 1px solid #9d2727;
    display: flex;
    align-items: center;
    padding: 8px 15px;
    color: #fff;
    font-size: 18px;
    font-family: Cyrillic Old;
    line-height: 1;
    text-align: center;
    width: -moz-min-content;
    width: min-content;
    cursor: pointer; }
    @media (hover) {
      .header .donation-button:hover {
        background-color: transparent;
        color: #9d2727; } }

@keyframes downScroll {
  from {
    margin-bottom: 10px; }
  33% {
    margin-bottom: 10px; }
  to {
    margin-bottom: -5px; } }

.main {
  position: relative; }
  .main .main-slider {
    position: absolute;
    height: 100%;
    width: 100%; }
    .main .main-slider .item {
      position: absolute;
      min-height: 100%;
      width: 100%;
      background-repeat: no-repeat;
      background-position: center center;
      background-size: cover; }
    .main .main-slider .item_1 {
      background-image: url("../img/bg-main.jpg"); }
    .main .main-slider .item_2 {
      background-image: url("../img/bg-main.jpg"); }
    .main .main-slider .item_3 {
      background-image: url("../img/bg-main.jpg"); }
  .main .owl-carousel .owl-stage-outer {
    height: 100%; }
  .main .owl-carousel .owl-stage {
    height: 100%; }
  .main .owl-carousel .owl-item {
    height: 100%; }
  .main .owl-carousel .owl-dots {
    display: flex;
    justify-content: center;
    position: relative;
    bottom: 90px;
    margin: auto; }
    .main .owl-carousel .owl-dots .owl-dot {
      width: 12px;
      height: 12px;
      background-color: #fff;
      border-radius: 6px;
      margin: 0 14px; }
      .main .owl-carousel .owl-dots .owl-dot.active {
        width: 14px;
        height: 14px;
        background-color: #c62424; }
  .main .scroll {
    position: absolute;
    bottom: 20px;
    left: calc(50% - 12px);
    margin-right: -12px;
    height: 42px;
    width: 24px;
    border: 2px solid #fff;
    border-radius: 10px;
    cursor: pointer;
    z-index: 100; }
    .main .scroll::after, .main .scroll::before {
      position: absolute;
      content: '';
      height: 12px;
      width: 12px;
      border-left: 2px solid #fff;
      border-bottom: 2px solid #fff;
      transform: rotate(-45deg);
      left: 4px;
      margin-top: -15px;
      animation: downScroll 2s infinite; }
    .main .scroll::after {
      bottom: 15px; }
    .main .scroll::before {
      bottom: 11px; }

main {
  background-image: url("../img/bg-header.jpg");
  padding: 40px 0px 80px; }
  @media screen and (max-width: 991px) {
    main {
      padding: 40px 0px; } }

.history h1.section-title {
  margin-bottom: 20px; }
  @media screen and (max-width: 991px) {
    .history h1.section-title {
      text-align: center; } }

.history .content p {
  font-size: 15px;
  line-height: 1.5; }
  @media screen and (max-width: 575px) {
    .history .content p {
      font-size: 14px; } }
  .history .content p:not(:last-child) {
    margin-bottom: 30px; }
  .history .content p:last-child {
    margin-bottom: 50px; }
  .history .content p span {
    display: block;
    color: #9d2727;
    float: left;
    font-family: Cyrillic Old;
    font-size: 78px;
    line-height: 1;
    /*border: 1px solid #191aaf;*/
    margin-right: 16px;
    margin-top: 4px; }

.cards {
  display: flex;
  justify-content: space-between;
  margin-bottom: 80px; }
  @media screen and (max-width: 991px) {
    .cards {
      flex-flow: column;
      margin-bottom: 60px; } }
  .cards .card {
    padding: 40px 40px 40px 50px;
    width: 48%;
    border-radius: 0;
    box-shadow: 9px 15px 26px rgba(0, 0, 0, 0.2); }
    @media screen and (max-width: 1199px) {
      .cards .card {
        padding: 36px 40px; } }
    @media screen and (max-width: 991px) {
      .cards .card {
        width: 80%;
        min-height: 500px;
        margin: auto auto; }
        .cards .card:not(:last-child) {
          margin-bottom: 40px; } }
    @media screen and (max-width: 767px) {
      .cards .card {
        width: 100%;
        padding: 36px 30px; } }
    @media screen and (max-width: 575px) {
      .cards .card {
        padding: 20px;
        text-align: center; } }
  .cards .schedule-card {
    border: 1px solid #cc948f;
    background-color: #f9efdf; }
    .cards .schedule-card h2 {
      color: #9d2727;
      position: relative;
      margin: auto;
      text-align: center;
      line-height: 1.4;
      padding-bottom: 20px;
      font-variant: small-caps;
      margin-bottom: 25px; }
      @media screen and (max-width: 575px) {
        .cards .schedule-card h2 {
          line-height: 1.2; } }
      .cards .schedule-card h2:after {
        position: absolute;
        content: '';
        left: 5%;
        bottom: 0;
        width: 90%;
        height: 1px;
        background-color: #9d2727; }
    .cards .schedule-card .date {
      font-family: Cyrillic Old;
      font-size: 26px;
      color: #000;
      text-align: center;
      text-transform: uppercase;
      margin-bottom: 25px; }
      @media screen and (max-width: 1199px) {
        .cards .schedule-card .date {
          font-size: 24px; } }
      @media screen and (max-width: 575px) {
        .cards .schedule-card .date {
          font-size: 22px; } }
    .cards .schedule-card .events-list .event {
      color: #000;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      margin-bottom: 25px; }
      @media screen and (max-width: 575px) {
        .cards .schedule-card .events-list .event {
          flex-flow: column; } }
      .cards .schedule-card .events-list .event .time {
        position: relative;
        display: inline-block;
        font-size: 26px;
        margin-right: 33px;
        /*min-width: 90px;
        width: 90px;*/ }
        @media screen and (max-width: 1199px) {
          .cards .schedule-card .events-list .event .time {
            font-size: 22px;
            min-width: auto;
            width: auto; } }
        @media screen and (max-width: 575px) {
          .cards .schedule-card .events-list .event .time {
            margin: auto 0px 10px; } }
        .cards .schedule-card .events-list .event .time:after {
          position: absolute;
          content: '-';
          right: -20px; }
          @media screen and (max-width: 575px) {
            .cards .schedule-card .events-list .event .time:after {
              display: none; } }
      .cards .schedule-card .events-list .event .content {
        font-size: 15px; }
        /*@media screen and (max-width: 767px) {
          .cards .schedule-card .events-list .event .content {
            font-size: 22px; } }
        @media screen and (max-width: 575px) {
          .cards .schedule-card .events-list .event .content {
            font-size: 18px; } }*/
    .cards .schedule-card .events-button {
      display: inline-flex;
      margin: auto;
      /*font-size: 25px;*/
      text-transform: uppercase;
      background-position: right 3px;
      background-size: 42px;
      background-repeat: no-repeat;
      padding: 15px 40px;
      background-color: #9d2727;
      color: #fff; }
      /*@media screen and (max-width: 1199px) {
        .cards .schedule-card .events-button {
          font-size: 22px; } }*/
      @media screen and (max-width: 575px) {
        .cards .schedule-card .events-button {
          /*font-size: 18px;*/
          background-position: right 0; } }
      @media (hover) {
        .cards .schedule-card .events-button:hover {
          opacity: .85; } }
  .cards .tour-card {
    background-image: url("../img/photo.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    align-items: center;
    justify-content: center;
    padding: 40px 30px; }
    .cards .tour-card h2 {
      color: #fff;
      font-size: 55px;
      margin-bottom: 50px; }
      @media screen and (max-width: 1199px) {
        .cards .tour-card h2 {
          font-size: 45px; } }
      @media screen and (max-width: 575px) {
        .cards .tour-card h2 {
          text-align: center; } }
    .cards .tour-card .tour-button {
      position: relative;
      background-color: #9d2727;
      color: #fff;
      /*font-size: 25px;*/
      text-transform: uppercase;
      padding: 15px 40px;
      cursor: pointer; }
      /*@media screen and (max-width: 1199px) {
        .cards .tour-card .tour-button {
          font-size: 22px; } }*/
      /*@media screen and (max-width: 575px) {
        .cards .tour-card .tour-button {
          font-size: 18px; } }*/
      @media (hover) {
        .cards .tour-card .tour-button:hover {
          color: #fff !important;
          opacity: .85; } }

.notes-section .section-title {
  margin-bottom: 30px; color: #9d2727}
  @media screen and (max-width: 991px) {
    .notes-section .section-title {
      text-align: center; } }

.notes-section .notes {
  display: flex;
  justify-content: space-between; }
  @media screen and (max-width: 991px) {
    .notes-section .notes {
      flex-flow: column; } }
  .notes-section .notes .note {
    background-color: #fff;
    border: 1px solid #000;
    padding: 40px 50px;
    width: 48%; }
    @media screen and (max-width: 1199px) {
      .notes-section .notes .note {
        padding: 36px 40px; } }
    @media screen and (max-width: 991px) {
      .notes-section .notes .note {
        width: 80%;
        margin: auto auto 40px; } }
    @media screen and (max-width: 767px) {
      .notes-section .notes .note {
        width: 100%; } }
    @media screen and (max-width: 575px) {
      .notes-section .notes .note {
        padding: 30px 20px; } }
    .notes-section .notes .note h3 {
      color: #000;
      margin-bottom: 25px; }
    .notes-section .notes .note p {
      color: #9d2727;
      /*font-size: 18px;*/
      font-variant: small-caps;
      line-height: 1.5;
      margin-bottom: 30px; }
    .notes-section .notes .note form {
      display: flex;
      flex-flow: column; }
      .notes-section .notes .note form input {
        border: none;
        border-bottom: 1px solid #000;
        font-size: 18px;
        padding-bottom: 10px;
        margin-bottom: 20px; }
      .notes-section .notes .note form .send-button {
        display: inline-block;
        align-self: center;
        border: 1px solid #9d2727;
        background-color: #9d2727;
        color: #fff;
        /*font-size: 18px;*/
        font-variant: small-caps;
        padding: 15px 40px;
        cursor: pointer;
        margin-bottom: 25px; }
        @media screen and (max-width: 575px) {
          .notes-section .notes .note form .send-button {
            padding: 15px; } }
        @media (hover) {
          .notes-section .notes .note form .send-button:hover {
            opacity: .85; } }
      .notes-section .notes .note form .remark {
        font-size: 10px;
        font-variant: small-caps;
        text-align: center; }
        .notes-section .notes .note form .remark .privacy-link {
          position: relative;
          display: inline-block; }
          @media screen and (max-width: 1199px) {
            .notes-section .notes .note form .remark .privacy-link {
              display: inline-block; } }
          @media screen and (max-width: 575px) {
            .notes-section .notes .note form .remark .privacy-link {
              color: #9d2727; } }
          @media (hover) {
            .notes-section .notes .note form .remark .privacy-link:hover {
              color: #000; } }
          .notes-section .notes .note form .remark .privacy-link:after {
            position: absolute;
            content: '';
            bottom: -2px;
            left: 0;
            height: 1px;
            width: 100%;
            background-color: #000; }
            @media screen and (max-width: 575px) {
              .notes-section .notes .note form .remark .privacy-link:after {
                display: none; } }

.footer {
  background-color: #9d2727;
  padding: 20px 0; }
  .footer h2 {
    color: #fff;
    font-size: 36px;
    margin-bottom: 20px; }
  .footer .container {
    display: flex;
    flex-flow: column; }
  .footer .main-row {
    position: relative;
    color: #fff;
    display: flex;
    justify-content: flex-start;
    padding-bottom: 20px; }
    @media screen and (max-width: 767px) {
      .footer .main-row {
        flex-flow: column; } }
    .footer .main-row:after {
      position: absolute;
      content: '';
      width: 100%;
      height: 1px;
      background-color: #fff;
      bottom: 0px; }
    .footer .main-row .column {
      width: 50%; }
      @media screen and (max-width: 767px) {
        .footer .main-row .column {
          width: 100%;
          text-align: center; } }
    @media screen and (max-width: 767px) {
      .footer .main-row .adress {
        margin-bottom: 30px; } }
    .footer .main-row .adress p {
      line-height: 1.5;
      margin-bottom: 20px; }
    .footer .main-row .adress .map-container {
      height: 160px;
      width: 80%;
      background-color: #fff;
      color: #000; }
      @media (max-width: 767px) {
        .footer .main-row .adress .map-container {
          margin: auto; } }
    @media screen and (max-width: 991px) {
      .footer .main-row .contacts {
        padding-left: 20px; } }
    @media screen and (max-width: 575px) {
      .footer .main-row .contacts {
        padding-left: 0; } }
    .footer .main-row .contacts-list {
      display: flex;
      align-items: flex-start;
      flex-flow: column; }
      @media screen and (max-width: 767px) {
        .footer .main-row .contacts-list {
          width: 60%;
          margin: auto; } }
      @media screen and (max-width: 575px) {
        .footer .main-row .contacts-list {
          width: -moz-max-content;
          width: max-content; } }
      .footer .main-row .contacts-list .contact-item {
        display: inline-flex;
        align-items: center;
        color: #fff;
        /*font-size: 18px;*/
        font-variant: small-caps;
        letter-spacing: 1px;
        min-height: 20px;
        padding-left: 25px;
        background-position: left center;
        background-repeat: no-repeat;
        background-size: 20px;
        margin-bottom: 6px; }
        @media (hover) {
          .footer .main-row .contacts-list .contact-item:hover {
            padding-left: 35px; } }
        .footer .main-row .contacts-list .contact-item.contact-item_vk {
          background-image: url("../img/icon-vk.png"); }
        .footer .main-row .contacts-list .contact-item.contact-item_mail {
          background-image: url("../img/icon-email.png"); }
        .footer .main-row .contacts-list .contact-item.contact-item_tel {
          background-image: url("../img/icon-tel.png"); }
  .footer .copyright {
    color: #fff;
    font-size: 12px;
    margin-bottom: 10px;
    padding-top: 20px;
    text-align: center; }
  .footer .privacy-link {
    position: relative;
    margin: auto;
    color: #fff;
    font-variant: small-caps;
    letter-spacing: 1px;
    text-align: center;
    color: #fff;
    font-size: 12px; }

    @media (hover) {
      .footer .privacy-link:hover {
        color: #fff; } }
    .footer .privacy-link:after {
      position: absolute;
      content: '';
      bottom: -2px;
      left: 0;
      height: 1px;
      width: 100%;
      background-color: #fff; }
      @media screen and (max-width: 575px) {
        .footer .privacy-link:after {
          display: none; } }

/*Страница контакты*/
main.contacts-content {
  /*background: #fff;*/
  padding: 40px 0px; }
  @media screen and (max-width: 767px) {
    main.contacts-content h3 {
      text-align: center; } }
  @media screen and (max-width: 575px) {
    main.contacts-content h3 span {
      display: block; } }
  main.contacts-content .map-section {
    position: relative;
    padding-bottom: 50px;
    border-bottom: 1px solid #a2a2a2;
    margin-bottom: 35px;}
  main.contacts-content .map-container {
    border: 1px solid #000;
    height: 426px;
    width: 100%; }
    /*@media screen and (max-width: 991px) {
      main.contacts-content .map-container {
        margin-bottom: 20px; } }*/
  main.contacts-content .contacts-block {
    line-height: 1.2;
    position: absolute;
    top: 50px;
    right: 50px;
    max-width: 410px;
    border: 1px solid;
    padding: 50px 20px 50px 40px; }
    @media screen and (max-width: 991px) {
      main.contacts-content .contacts-block {
        padding: 30px 20px 30px 30px;
        top: 40px;
        right: 30px; } }
    @media screen and (max-width: 767px) {
      main.contacts-content .contacts-block {
        position: static;
        width: 100%;
        max-width: 100%;
        text-align: center; } }
    @media screen and (max-width: 575px) {
      main.contacts-content .contacts-block {
        padding: 30px 20px; } }
    main.contacts-content .contacts-block .contacts-item h3 {
      margin-bottom: 0px; }
    /*main.contacts-content .contacts-block .contacts-item .content {
      font-size: 24px; }*/
      /*@media screen and (max-width: 991px) {
        main.contacts-content .contacts-block .contacts-item .content {
          font-size: 18px; } }*/
      main.contacts-content .contacts-block .contacts-item .content a {
        position: relative;
        color: #000; }
        main.contacts-content .contacts-block .contacts-item .content a:after {
          position: absolute;
          content: '';
          bottom: 0;
          left: 0;
          width: 0;
          color: #000;
          height: 1px;
          background-color: #000;
          transition: all .3s; }
        @media (hover) {
          main.contacts-content .contacts-block .contacts-item .content a:hover:after {
            width: 100%; } }
    main.contacts-content .contacts-block .contacts-item:not(:last-child) {
      margin-bottom: 20px; }
  main.contacts-content .donation {
    line-height: 1.2; }
    main.contacts-content .donation h3 {
      margin-bottom: 0px; }
    main.contacts-content .donation .desc {
      /*font-size: 24px;*/
      margin-bottom: 36px; }
      /*@media screen and (max-width: 991px) {
        main.contacts-content .donation .desc {
          font-size: 20px; } }*/
      @media screen and (max-width: 575px) {
        main.contacts-content .donation .desc {
          text-align: center; } }
    main.contacts-content .donation .requisites {
      border: 1px solid #9d2727;
      padding: 100px 40px 40px;
      /*font-size: 24px;*/
      background-image: url("../img/sberbank.png");
      background-position: 45px 35px;
      background-repeat: no-repeat;
      background-size: 150px ;background-color: #fff }
      
      @media screen and (max-width: 575px) {
        main.contacts-content .donation .requisites {
          padding: 100px 20px 40px; } }

/*Страница новости*/
main.news-section {
  padding: 40px 0 35px; }
  main.news-section .news-tabs {
    margin: auto auto 25px; }
    /*@media screen and (max-width: 991px) {
      main.news-section .news-tabs {
        margin: auto auto 50px; } }*/
    @media screen and (max-width: 575px) {
      main.news-section .news-tabs {
        flex-flow: column; } }
    main.news-section .news-tabs .nav-item {
      padding: 10px 40px;
      border: 1px solid #9d2727;
      font-family: Cyrillic Old;
      /*font-size: 32px;*/
      background-color: rgba(157, 39, 39, 0); }
      /*@media screen and (max-width: 1199px) {
        main.news-section .news-tabs .nav-item {
          padding: 10px 25px; } }*/
      /*@media screen and (max-width: 991px) {
        main.news-section .news-tabs .nav-item {
          font-size: 26px; } }*/
      @media screen and (max-width: 575px) {
        main.news-section .news-tabs .nav-item {
          text-align: center;
          /*font-size: 24px;*/ } }
      main.news-section .news-tabs .nav-item:not(:last-child) {
        border-right: none; }
        @media screen and (max-width: 575px) {
          main.news-section .news-tabs .nav-item:not(:last-child) {
            border-right: 1px solid;
            border-bottom: none; } }
      main.news-section .news-tabs .nav-item.active {
        color: #9d2727; }
        @media (hover) {
          main.news-section .news-tabs .nav-item.active:hover {
            color: #9d2727; } }
      @media (hover) {
        main.news-section .news-tabs .nav-item:hover {
          color: inherit;
          background-color: rgba(157, 39, 39, 0.08); } }
  main.news-section .news-tabs-content .tab-pane.active {
    display: flex;
    flex-flow: wrap;
    justify-content: flex-start; }
    @media screen and (max-width: 575px) {
      main.news-section .news-tabs-content .tab-pane.active {
        justify-content: center; } }
    main.news-section .news-tabs-content .tab-pane .new-card {
      width: 31%;
      border: 1px solid #9d2727;
      margin-bottom: 30px;margin-left: 1%;margin-right: 1% }
      @media screen and (max-width: 1199px) {
        main.news-section .news-tabs-content .tab-pane .new-card {
          width: 48%; } }
      @media screen and (max-width: 575px) {
        main.news-section .news-tabs-content .tab-pane .new-card {
          justify-content: center;
          margin: 0 20px 30px;
          min-width: 280px; } }
      main.news-section .news-tabs-content .tab-pane .new-card .img-container {
		  display:flex;
		  justify-content:center;
		  align-items:center;
        height: 200px;
        overflow: hidden;
        /*display: flex;*/
        margin-bottom: 0; }
        /*@media screen and (max-width: 767px) {
          main.news-section .news-tabs-content .tab-pane.active .new-card .img-container {
            
            margin-bottom: 0px; } }*/
        main.news-section .news-tabs-content .tab-pane.active .new-card .img-container img {
          object-fit: cover;
          object-position: top center;
          max-width: 100%;
          width: 100%; }
      main.news-section .news-tabs-content .tab-pane.active .new-card .card-content {
        display: flex;
        flex-flow: column;
        padding: 20px; }
        /*@media screen and (max-width: 991px) {
          main.news-section .news-tabs-content .tab-pane.active .new-card .card-content {
            padding: 20px 22px 30px; } }*/
        main.news-section .news-tabs-content .tab-pane.active .new-card .card-content .date {
          font-family: Cyrillic Old;
          /*font-size: 23px;*/
          color: #9d2727;
          padding: 3px 0 5px 30px;
          background-image: url("../img/clock.png");
          background-position: left center;
          background-repeat: no-repeat;
          background-size: 20px;
          margin-bottom: 20px; }
          @media screen and (max-width: 767px) {
            main.news-section .news-tabs-content .tab-pane.active .new-card .card-content .date {
              margin: auto auto 20px; } }
        main.news-section .news-tabs-content .tab-pane.active .new-card .card-content .title {
			display:flex;
			justify-content:center;
			align-items:center;
          font-family: Cyrillic Old;
          font-size: 22px;
          text-align: center;
          margin-bottom: 20px;/*height: 44px;*/
overflow: hidden; }
          /*@media screen and (max-width: 991px) {
            main.news-section .news-tabs-content .tab-pane.active .new-card .card-content .title {
              margin-bottom: 40px; } }*/
          @media screen and (max-width: 767px) {
            main.news-section .news-tabs-content .tab-pane.active .new-card .card-content .title {
              font-size: 20px;
              /*margin-bottom: 25px; */} }
        main.news-section .news-tabs-content .tab-pane.active .new-card .card-content .details-link {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          margin: auto;
          padding: 12px 45px;
          background-color: #9d2727;
          color: #fff;
          /*font-size: 25px;*/
          text-transform: uppercase; }
          /*@media screen and (max-width: 991px) {
            main.news-section .news-tabs-content .tab-pane.active .new-card .card-content .details-link {
              font-size: 20px; } }*/
          @media screen and (max-width: 767px) {
            main.news-section .news-tabs-content .tab-pane.active .new-card .card-content .details-link {
              padding: 12px 25px;
              /*font-size: 18px;*/ } }
          @media (hover) {
            main.news-section .news-tabs-content .tab-pane.active .new-card .card-content .details-link:hover {
              opacity: .85; } }
              
.news-img-container{width: 35%;
float: right;
margin: 0 0 10px 10px;}


/*Страница галерея*/
main.gallery-section {
  padding: 40px 0 35px; }
  main.gallery-section .media-tabs {
    margin: auto auto 25px; }
    @media screen and (max-width: 575px) {
      main.gallery-section .media-tabs {
        flex-flow: column; } }
    main.gallery-section .media-tabs .nav-item {
      padding: 10px 40px;
      border: 1px solid #9d2727;
      font-family: Cyrillic Old;
      /*font-size: 32px;*/
      background-color: rgba(157, 39, 39, 0); }
      /*@media screen and (max-width: 1199px) {
        main.gallery-section .media-tabs .nav-item {
          padding: 10px 40px; } }*/
      /*@media screen and (max-width: 991px) {
        main.gallery-section .media-tabs .nav-item {
          font-size: 26px; } }*/
      @media screen and (max-width: 575px) {
        main.gallery-section .media-tabs .nav-item {
          text-align: center;
          /*font-size: 24px;*/ } }
      main.gallery-section .media-tabs .nav-item:not(:last-child) {
        border-right: none; }
        @media screen and (max-width: 575px) {
          main.gallery-section .media-tabs .nav-item:not(:last-child) {
            border-right: 1px solid;
            border-bottom: none; } }
      main.gallery-section .media-tabs .nav-item.active {
        color: #9d2727; }
        @media (hover) {
          main.gallery-section .media-tabs .nav-item.active:hover {
            color: #9d2727; } }
      @media (hover) {
        main.gallery-section .media-tabs .nav-item:hover {
          color: inherit;
          background-color: rgba(157, 39, 39, 0.08); } }
  main.gallery-section .media-tabs-content .tab-pane.active {
    display: flex;
    flex-flow: wrap;
    justify-content: flex-start; }
    @media screen and (max-width: 575px) {
      main.gallery-section .media-tabs-content .tab-pane.active {
        justify-content: center; } }
    main.gallery-section .media-tabs-content .tab-pane.active .new-card {
      width: 30%;
      border: 1px solid #9d2727;
      margin-bottom: 65px; }
      @media screen and (max-width: 1199px) {
        main.gallery-section .media-tabs-content .tab-pane.active .new-card {
          width: 48%; } }
      @media screen and (max-width: 575px) {
        main.gallery-section .media-tabs-content .tab-pane.active .new-card {
          justify-content: center;
          margin: 0 20px 40px;
          min-width: 280px; } }
  main.gallery-section .media-tabs-content .tab-pane#audio {
    display: flex;
    flex-flow: column;
    align-items: center; }
  main.gallery-section .media-tabs-content .tab-pane .photo-card {
    width: 31%;
    margin-bottom: 20px;margin-left: 1%;margin-right: 1% }
    @media screen and (max-width: 991px) {
      main.gallery-section .media-tabs-content .tab-pane .photo-card {
        width: 48%; } }
    @media screen and (max-width: 575px) {
      main.gallery-section .media-tabs-content .tab-pane .photo-card {
        min-width: 280px; } }
    @media (hover) {
      main.gallery-section .media-tabs-content .tab-pane .photo-card:hover .card-title {
        color: #000; }
      main.gallery-section .media-tabs-content .tab-pane .photo-card:hover .img-container img {
        transform: scale(1.03); } }
    main.gallery-section .media-tabs-content .tab-pane .photo-card .img-container {
      height: 200px;
      overflow: hidden;
      margin-bottom: 15px; }
      @media screen and (max-width: 1199px) {
        main.gallery-section .media-tabs-content .tab-pane .photo-card .img-container {
          height: 192px; } }
      @media screen and (max-width: 991px) {
        main.gallery-section .media-tabs-content .tab-pane .photo-card .img-container {
          height: 226px; } }
      @media screen and (max-width: 767px) {
        main.gallery-section .media-tabs-content .tab-pane .photo-card .img-container {
          height: 166px; } }
      @media screen and (max-width: 767px) {
        main.gallery-section .media-tabs-content .tab-pane .photo-card .img-container {
          height: 200px; } }
      main.gallery-section .media-tabs-content .tab-pane .photo-card .img-container img {
        object-fit: cover;
        object-position: center;
        width: 100%; }
    main.gallery-section .media-tabs-content .tab-pane .photo-card .card-title {
      font-family: Cyrillic Old;
      /*font-size: 38px;*/
      text-align: center; margin-bottom: 0}
/*      @media screen and (max-width: 1199px) {
        main.gallery-section .media-tabs-content .tab-pane .photo-card .card-title {
          font-size: 30px; } }
      @media screen and (max-width: 575px) {
        main.gallery-section .media-tabs-content .tab-pane .photo-card .card-title {
          font-size: 26px; } }*/
  main.gallery-section .media-tabs-content .tab-pane .video-card {
    width: 31%;
    margin-bottom: 40px; margin-left: 1%; margin-right: 1%;}
    @media screen and (max-width: 991px) {
      main.gallery-section .media-tabs-content .tab-pane .video-card {
        width: 48%; } }
    @media screen and (max-width: 767px) {
      main.gallery-section .media-tabs-content .tab-pane .video-card {
        width: 100%; margin-left: 0; margin-right: 0; } }
    @media screen and (max-width: 575px) {
      main.gallery-section .media-tabs-content .tab-pane .video-card {
        min-width: 280px; } }
    @media (hover) {
      main.gallery-section .media-tabs-content .tab-pane .video-card:hover .card-title {
        color: #000; }
      main.gallery-section .media-tabs-content .tab-pane .video-card:hover .img-container img {
        transform: scale(1.03); } }
    main.gallery-section .media-tabs-content .tab-pane .video-card .video-container {
      overflow: hidden;
      margin-bottom: 15px; }
      main.gallery-section .media-tabs-content .tab-pane .video-card .video-container iframe {
        max-width: 100%;
        max-height: 100%; }
    main.gallery-section .media-tabs-content .tab-pane .video-card .card-title {
      font-family: Cyrillic Old;
      /*font-size: 38px;*/
      text-align: center; }
      /*@media screen and (max-width: 1199px) {
        main.gallery-section .media-tabs-content .tab-pane .video-card .card-title {
          font-size: 30px; } }
      @media screen and (max-width: 575px) {
        main.gallery-section .media-tabs-content .tab-pane .video-card .card-title {
          font-size: 26px; } }*/
  main.gallery-section .media-tabs-content .tab-pane .audio-item {
    width: 500px; }
    @media screen and (max-width: 575px) {
      main.gallery-section .media-tabs-content .tab-pane .audio-item {
        width: 100%; } }
    main.gallery-section .media-tabs-content .tab-pane .audio-item audio {
      width: 100%;
      outline: none; }

/* Страница духовенство */
main.clergy-content {
  padding: 50px 0px;
}
  main.clergy-content h1 {
    margin-bottom: 40px; }
    @media screen and (max-width: 767px) {
      main.clergy-content h1 {
        text-align: center; } }
  main.clergy-content .person-list .person-card {
    display: flex; }
    @media screen and (max-width: 767px) {
      main.clergy-content .person-list .person-card {
        flex-flow: column;
        align-items: center; } }
    main.clergy-content .person-list .person-card:not(:last-child) {
      margin-bottom: 40px; }
    main.clergy-content .person-list .person-card .img-block {
      width: 290px;
      min-width: 290px;
      margin-right: 36px; }
      @media screen and (max-width: 991px) {
        main.clergy-content .person-list .person-card .img-block {
          min-width: 250px;
          width: 250px; } }
      @media screen and (max-width: 767px) {
        main.clergy-content .person-list .person-card .img-block {
          margin-right: 0; } }
      @media screen and (max-width: 575px) {
        main.clergy-content .person-list .person-card .img-block {
          width: 220px;
          min-width: 220px; } }
      main.clergy-content .person-list .person-card .img-block img {
        width: 100%; }
    main.clergy-content .person-list .person-card .info-block {
      padding: 30px 0px; }
      @media screen and (max-width: 767px) {
        main.clergy-content .person-list .person-card .info-block {
          text-align: center; } }
      main.clergy-content .person-list .person-card .info-block .person-title {
        margin-bottom: 20px;
        color: #9d2727;
        font-family: Cyrillic Old;
        font-size: 24px;
        font-variant: small-caps;
        line-height: 1.4; }
        @media screen and (max-width: 575px) {
          main.clergy-content .person-list .person-card .info-block .person-title {
            line-height: 1.2;
            font-size: 22px; } }
        main.clergy-content .person-list .person-card .info-block .person-title span {
          display: block; }
      main.clergy-content .person-list .person-card .info-block .person-info {
        /*font-size: 22px;*/
        font-variant: small-caps;
        line-height: 1.2; }
        /*@media screen and (max-width: 991px) {
          main.clergy-content .person-list .person-card .info-block .person-info {
            font-size: 20px; } }
        @media screen and (max-width: 575px) {
          main.clergy-content .person-list .person-card .info-block .person-info {
            font-size: 18px; } }*/
/* Страница духовенство END */

.anchor-link {
	display: block;
	position: absolute;
	top: -20px;
}

.history {
	position: relative;
}

.history .anchor-link {
	top: -30px;
}

body.inner .page-content{width: 86%}
@media screen and (max-width: 1199px) {
    body.inner .page-content{width: 83%}
  }
@media screen and (max-width: 991px) {
    body.inner .page-content{width: 100%}
  }

.page-content h1.section-title {
  margin-bottom: 40px; }
  @media screen and (max-width: 991px) {
    .page-content h1.section-title {
      text-align: center; } }

.page-content .content p {
  /*font-size: 18px;*/
  line-height: 1.5; }
  /*@media screen and (max-width: 575px) {
    .page-content .content p {
      font-size: 16px; } }*/
  .page-content .content p:not(:last-child) {
    margin-bottom: 10px; }
  .page-content .content p:last-child {
    margin-bottom: 40px; }
  .page-content .content p span.firstletter {
    display: block;
    color: #9d2727;
    float: left;
    font-family: Cyrillic Old;
    font-size: 115px;
    line-height: 1;
    border: 1px solid #191aaf;
    margin-right: 16px;
    margin-top: 4px; }

    .page-content .content img{max-width: 100%;height: auto;}

.page-content .content ul{margin-left:20px;margin-bottom: 10px}
.page-content .content ul > li{line-height:1.5;position:relative;list-style-type:disc;padding:0 0 5px}
.page-content .content ol{margin-left:20px;margin-bottom: 10px}
.page-content .content ol > li{line-height:1.5;position:relative;list-style-type:decimal}

.tour-card {
	position: relative;
}

.notes-section .notes .note form .remark * {
	font-size: 10px;
	font-variant: small-caps;
	text-align: center;
  margin-bottom: 0
}

main.contacts-content .map-container {
	height: 426px;
}

.map-container, .map-container * {
	transition: unset !important;
	-webkit-transition: unset !important;
	-o-transition: unset !important;
	-moz-transition: unset !important;
}

main.contacts-content .contacts-block {
	background-color: #ffffff;
}

main.contacts-content .donation .desc {
	margin-top: 15px;
}

.big-404 {
	font-size: 100px;
	font-family: Cyrillic Old;
	text-align: center;
}
.content-404 {
	font-size: 30px;
	font-family: Cyrillic Old;
	margin-top: 20px;
	text-align: center;
}
.back-404 {
	text-align: center;
	margin-top: 60px;
}
.back-404-btn, .back-404-btn:visited {
    background-color: #9d2727;
    border: 1px solid #9d2727;
	color: #ffffff;
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    font-size: 20px;
    font-family: Cyrillic Old;
    line-height: 1;
    text-align: center;
    width: -moz-min-content;
    width: min-content;
    cursor: pointer;
}
@media (hover) {
	.back-404-btn:hover, .back-404-btn:visited:hover {
		background-color: transparent;
		color: #9d2727;
	}
}

@media screen and (max-width: 991px) {
	.header nav .main-menu li.active a {
		color: #ffffff;
		text-decoration: underline;
	}
}

.form-success-ico{display:inline-block;width:50px;height:50px;background-size:100%;background-repeat:no-repeat;background-position:cover;background-image:url(../img/success-ico.svg)}

/* ФОС */
form input.inputError { border-bottom: 1px solid red !important; }
form input[type="submit"].loading,
form button[type="submit"].loading {
	color: transparent !important;
	background-image: url(../img/loading.svg) !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-size: auto 80% !important;
}

#donationModal .modal-content {
    border-radius: 0px;
}
#donationModal .modal-title {
	text-align: center;
	font-size: 18px;
}
#donationForm .sum {
	max-width: 100%;
	border: none;
	border-bottom: 1px solid #000;
	font-size: 18px;
	padding-bottom: 10px;
}

#donationForm .send-button {
	display: inline-block;
	align-self: center;
	border: 1px solid #9d2727;
	background-color: #9d2727;
	color: #fff;
	/*font-size: 18px;*/
	font-variant: small-caps;
	padding: 15px 40px;
	max-width: 100%;
	cursor: pointer;
    margin-bottom: 20px
}
@media screen and (max-width: 575px) {
	#donationForm .send-button {
		padding: 15px;
	}
}
@media (hover) {
	#donationForm .send-button:hover {
		opacity: 0.85;
	}
}

.form-row {
	display: block;
}
.form-row + .form-row {
	margin-top: 20px;
}
#donationForm .form-row {
	text-align: center;
}

#donationModal .text p + p{margin-top: 10px}
#donationModal .text{margin-bottom: 20px}
#donationModal form + .text{font-size: 12px}
/* ФОС END */


/* Галерея - альбомы */
  main.gallery-album-section .album-content {
	display: flex;
    flex-flow: wrap;
    justify-content: flex-start;
  }
  main.gallery-album-section .photo-card {
    width: 31%;
    margin-bottom: 20px;margin-left: 1%;margin-right: 1% }
    @media screen and (max-width: 991px) {
      main.gallery-album-section .photo-card {
        width: 48%; } }
    @media screen and (max-width: 575px) {
      main.gallery-album-section .photo-card {
        min-width: 280px; } }
    @media (hover) {
      main.gallery-album-section .photo-card:hover .card-title {
        color: #000; }
      main.gallery-album-section .photo-card:hover .img-container img {
        transform: scale(1.03); } }
    main.gallery-album-section .photo-card .img-container {
      height: 200px;
      overflow: hidden;
      margin-bottom: 15px; }
      @media screen and (max-width: 1199px) {
        main.gallery-album-section .photo-card .img-container {
          height: 192px; } }
      @media screen and (max-width: 991px) {
        main.gallery-album-section .photo-card .img-container {
          height: 226px; } }
      @media screen and (max-width: 767px) {
        main.gallery-album-section .photo-card .img-container {
          height: 166px; } }
      @media screen and (max-width: 767px) {
        main.gallery-album-section .photo-card .img-container {
          height: 200px; } }
      main.gallery-album-section .photo-card .img-container img {
        object-fit: cover;
        object-position: center;
        width: 100%; }
    main.gallery-album-section .photo-card .card-title {
      font-family: Cyrillic Old;
      /*font-size: 38px;*/
      text-align: center;margin-bottom: 0 }
/* Галерея - альбомы */

/* Хлебные крошки */
.breadcrumbs ul{display:flex;margin-bottom:20px;font-size: 12px}
.breadcrumbs a {font-family: Cyrillic Old}
@media (hover) {
	.breadcrumbs a:hover {color:#9d2727}
}

@media screen and (max-width: 575px) {
	.breadcrumbs ul{flex-flow:wrap}
}

.breadcrumbs ul li:not(:last-child):after{content:"/";margin:0 5px;font-weight:400}
.breadcrumbs ul li:last-child a {color:#9d2727}
@media screen and (max-width: 575px) {
	.breadcrumbs a{font-size:14px}
}
/* Хлебные крошки END */


/* Расписание богослужений */
.timetable-content {
	position: relative;
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
}

.timetable-content .left-col,
.timetable-content .right-col {
	position: relative;
	display: block;
}
.timetable-content .left-col {
	width: 300px;
}
.timetable-content .right-col {
	width: calc(100% - 380px);
	margin-left: 40px;
}

.timetable-content .select-date-form {
	width: 300px;
	border: 1px solid #9d2727;
	margin: auto 0px auto auto;
}
.timetable-content .select-date-form .title {
	font-size: 18px;
	color: #ffffff;
	background-color: #9d2727;
	padding: 10px 15px;
}

.timetable-content .select-date-form .select-date-body {
	display: flex;
	justify-content: center;
	align-items: center;
}

.timetable-content .select-date-form .select-date-body .input-box {
	display: block;
	width: 50%;
	padding: 15px;
	padding-right: 5px;
}
.timetable-content .select-date-form .select-date-body .input-box + .input-box {
	padding-left: 5px;
	padding-right: 15px;
}

.timetable-content .select-date-form .submit-row {
	padding: 0px 15px 10px 15px;
}

.timetable-content .select-date-form .sumbit-btn {
	padding: 5px 10px;
	width: calc(50% - 5px);
	font-size: 14px;
	border: 1px solid #9d2727;
	background-color: #9d2727;
	color: #ffffff;
	cursor: pointer;
	outline: none;
}

.timetable-content .select-date-form .date-select-input {
	width: 100%;
	border: 1px solid #9d2727;
	padding: 5px;
}


.timetable-content .calendar-box {
	width: 300px;
	border: 1px solid #9d2727;
	margin: auto 0px auto auto;
	margin-top: 30px;
}

.timetable-content .calendar-box .title {
	font-size: 18px;
	color: #ffffff;
	background-color: #9d2727;
	padding: 10px 15px;
}

.timetable-content .calendar-box .calendar-body {
	padding: 15px 15px 0px 15px;
}


.timetable-content .calendar-box .week-link-wrap {
	text-align: center;
	margin: 10px 0px;
}
.timetable-content .calendar-box .week-link-wrap a {
	text-decoration: underline;
}
@media (hover) {
	.timetable-content .calendar-box .week-link-wrap a:hover {
		color: #000;
		text-decoration: none;
	}
}


.timetable-content .timetable-list-title {
	font-size: 18px;
	margin: 10px 0px;
	/*font-family: Cyrillic Old;*/
}

.timetable-content .day-box {
	position: relative;
	padding-bottom: 2px;
	border-bottom: 1px solid #222;
}

.timetable-content .day-box .day-title {
	font-size: 16px;
	font-weight: bold;
	color: #9d2727;
	margin: 20px 0px;
}

.timetable-content .day-box .day-event .day-event-title {
	font-size: 16px;
	line-height: 20px;
	margin: 15px 0px;
}

.timetable-content .day-box + .day-box {
	margin-top: 25px;
}

.timetable-content .day-box .day-event .day-event-text {
	padding-bottom: 15px;
	transition: none;
	-webkit-transition: none;
	-moz-transition: none;
	-o-transition: none;
}

.timetable-content .day-box .day-event .day-event-text p {
	margin-bottom: 0px;
}

.timetable-content .day-box .day-event .day-event-text strong.evan {
	display: inline-block;
	font-size: 20px;
	padding-top: 15px;
}

.timetable-content .day-box .day-event .day-event-text p + p {
	margin-top: 0px;
}

.timetable-content .day-box .day-event .day-event-text p a{text-decoration: underline;}
.timetable-content .day-box .day-event .day-event-text p a:hover{text-decoration: none;color: #000}

.timetable-content .day-box.hide .day-event .day-event-text {
	display: none;
}

.timetable-content .day-box .day-more-btn {
	position: relative;
	margin-top: 10px;
	width: 30px;
	height: 30px;
	padding: 0px;
	margin: 0px;
	background-repeat: no-repeat;
	background-color: transparent;
	background-size: 100% auto;
	background-position: center;
	background-image: url(../img/event-arrow-top.svg);
	outline: none;
	border: 0px;
	cursor: pointer;
}

.timetable-content .day-box.h .day-more-btn {
	background-image: url(../img/event-arrow-bot.svg);
}

@media screen and (max-width: 991px) {
	.timetable-content {
		flex-direction: column;
	}
	.timetable-content .left-col {
		display: flex;
		justify-content: flex-start;
		align-items: center;
		flex-direction: column;
		width: 100%;
	}
	.timetable-content .select-date-form {
		margin: 0px;
	}
	.timetable-content .calendar-box {
		margin: 0px;
		margin-top: 15px;
	}
	.timetable-content .right-col {
		width: 100%;
		margin-left: 0px;
		margin-top: 30px;
	}
}
@media screen and (max-width: 575px) {

}

.timetable .datepicker .event-day {
	position: relative;
}
.timetable .datepicker .event-day .circle {
	position: absolute;
	left: calc(50% - 16px);
	top: calc(50% - 16px);
	width: 32px;
	height: 32px;
	border: 1px solid #9d2727;
	border-radius: 5px;
}
.timetable .datepicker .datepicker--day-name{color: #9d2727}
.timetable .datepicker .datepicker--cell.-current-{color: #9d2727}
/* Расписание богослужений END */

#noteSuccessModal .modal-content {
    border-radius: 0px;
}

#noteSuccessModal .modal-body .text {
	text-align: center;
	margin-bottom: 20px;
	font-size: 18px;
}
#noteSuccessModal .modal-body .text * {
	font-size: 18px;
}

#noteSuccessModal .btn-wrap {
	text-align: center;
}

#noteSuccessModal .btn-wrap .donation-button {
	display: inline-block;
	align-self: center;
	border: 1px solid #9d2727;
	background-color: #9d2727;
	color: #fff;
	/*font-size: 18px;*/
	font-variant: small-caps;
	padding: 10px 15px;
	max-width: 100%;
	cursor: pointer;
    margin: 0px auto 0px auto;
}

@media (hover) {
	#noteSuccessModal .btn-wrap .donation-button:hover {
		opacity: 0.85;
	}
}

.datepicker--cell.-selected-.-focus-,
.datepicker--cell.-selected-, .datepicker--cell.-selected-.-current- {
	background: #9d2727 !important;
}


/*Страница роспись храма*/
main.paint-section {
  padding: 40px 0 35px; }
  main.paint-section .paint-tabs {
    margin: auto auto 25px; }
    /*@media screen and (max-width: 991px) {
      main.paint-section .paint-tabs {
        margin: auto auto 50px; } }*/
    @media screen and (max-width: 767px) {
      main.paint-section .paint-tabs {
        flex-flow: column; } }
    main.paint-section .paint-tabs .nav-item {
      padding: 10px 10px;
      border: 1px solid #9d2727;
      font-family: Cyrillic Old;
      /*font-size: 32px;*/
      background-color: rgba(157, 39, 39, 0); }
      /*@media screen and (max-width: 1199px) {
        main.paint-section .paint-tabs .nav-item {
          padding: 10px 25px; } }*/
      /*@media screen and (max-width: 991px) {
        main.paint-section .paint-tabs .nav-item {
          font-size: 26px; } }*/
      @media screen and (max-width:767px) {
        main.paint-section .paint-tabs .nav-item {
          text-align: center;
          /*font-size: 24px;*/ } }
      main.paint-section .paint-tabs .nav-item:not(:last-child) {
        border-right: none; }
        @media screen and (max-width: 767px) {
          main.paint-section .paint-tabs .nav-item:not(:last-child) {
            border-right: 1px solid;
            border-bottom: none; } }
      main.paint-section .paint-tabs .nav-item.active {
        color: #9d2727; }
        @media (hover) {
          main.paint-section .paint-tabs .nav-item.active:hover {
            color: #9d2727; } }
      @media (hover) {
        main.paint-section .paint-tabs .nav-item:hover {
          color: inherit;
          background-color: rgba(157, 39, 39, 0.08); } }
  main.paint-section .paint-tabs-content .tab-pane.active {
    display: flex;
    flex-flow: wrap;
    justify-content: flex-start;width: 86% }
    @media screen and (max-width: 1199px) {
    main.paint-section .paint-tabs-content .tab-pane.active{width: 83%}
  }
@media screen and (max-width: 991px) {
    main.paint-section .paint-tabs-content .tab-pane.active{width: 100%}
  }
    @media screen and (max-width: 575px) {
      main.paint-section .paint-tabs-content .tab-pane.active {
        justify-content: center; } }
    main.paint-section .paint-tabs-content .tab-pane .new-card {
      width: 31%;
      border: 1px solid #9d2727;
      margin-bottom: 30px;margin-left: 1%;margin-right: 1% }
      @media screen and (max-width: 1199px) {
        main.paint-section .paint-tabs-content .tab-pane .new-card {
          width: 48%; } }
      @media screen and (max-width: 575px) {
        main.paint-section .paint-tabs-content .tab-pane .new-card {
          justify-content: center;
          margin: 0 20px 30px;
          min-width: 280px; } }
      main.paint-section .paint-tabs-content .tab-pane .new-card .img-container {
        height: 200px;
        overflow: hidden;
        /*display: flex;*/
        margin-bottom: 0; }
        /*@media screen and (max-width: 767px) {
          main.paint-section .paint-tabs-content .tab-pane.active .new-card .img-container {
            
            margin-bottom: 0px; } }*/
        main.paint-section .paint-tabs-content .tab-pane.active .new-card .img-container img {
          object-fit: cover;
          object-position: top center;
          max-width: 100%;
          width: 100%; }
      main.paint-section .paint-tabs-content .tab-pane.active .new-card .card-content {
        display: flex;
        flex-flow: column;
        padding: 20px; }
        /*@media screen and (max-width: 991px) {
          main.paint-section .paint-tabs-content .tab-pane.active .new-card .card-content {
            padding: 20px 22px 30px; } }*/
        main.paint-section .paint-tabs-content .tab-pane.active .new-card .card-content .date {
          font-family: Cyrillic Old;
          /*font-size: 23px;*/
          color: #9d2727;
          padding: 3px 0 5px 30px;
          background-image: url("../img/clock.png");
          background-position: left center;
          background-repeat: no-repeat;
          background-size: 20px;
          margin-bottom: 20px; }
          @media screen and (max-width: 767px) {
            main.paint-section .paint-tabs-content .tab-pane.active .new-card .card-content .date {
              margin: auto auto 20px; } }
        main.paint-section .paint-tabs-content .tab-pane.active .new-card .card-content .title {
          font-family: Cyrillic Old;
          font-size: 22px;
          text-align: center;
          margin-bottom: 20px;height: 44px;
overflow: hidden; }
          /*@media screen and (max-width: 991px) {
            main.paint-section .paint-tabs-content .tab-pane.active .new-card .card-content .title {
              margin-bottom: 40px; } }*/
          @media screen and (max-width: 767px) {
            main.paint-section .paint-tabs-content .tab-pane.active .new-card .card-content .title {
              font-size: 20px;
              /*margin-bottom: 25px; */} }
        main.paint-section .paint-tabs-content .tab-pane.active .new-card .card-content .details-link {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          margin: auto;
          padding: 12px 45px;
          background-color: #9d2727;
          color: #fff;
          /*font-size: 25px;*/
          text-transform: uppercase; }
          /*@media screen and (max-width: 991px) {
            main.paint-section .paint-tabs-content .tab-pane.active .new-card .card-content .details-link {
              font-size: 20px; } }*/
          @media screen and (max-width: 767px) {
            main.paint-section .paint-tabs-content .tab-pane.active .new-card .card-content .details-link {
              padding: 12px 25px;
              /*font-size: 18px;*/ } }
          @media (hover) {
            main.paint-section .paint-tabs-content .tab-pane.active .new-card .card-content .details-link:hover {
              opacity: .85; } }
              
.news-img-container{width: 35%;
float: right;
margin: 0 0 10px 10px;}

main.paint-section .paint-tabs-content .tab-title {
    color: #9d2727;
    font-family: Cyrillic Old;
    font-size: 30px;
}

main.paint-section .paint-tabs-content .tab-description {
	margin-top: 15px;
}

main.paint-section .paint-tabs-content .tab-description p {
	line-height: 1.5;
}
main.paint-section .paint-tabs-content .tab-description p:not(:last-child) {
    margin-bottom: 10px;
}

main.paint-section .paint-tabs-content * + .paint-card {
	margin-top: 30px;
}

main.paint-section .paint-tabs-content .paint-card + .paint-card {
	margin-top: 45px;
}

main.paint-section .paint-tabs-content .paint-card {
	display: block;
    width: 100%;
}

main.paint-section .paint-tabs-content .paint-card .paint-card-title {
    font-family: Cyrillic Old;
    font-size: 22px;
}

main.paint-section .paint-tabs-content .paint-card .paint-card-body {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	margin-top: 15px;
}

main.paint-section .paint-tabs-content .paint-card .paint-card-body .paint-card-img-box {
	display: block;
	max-width: 100%;
	overflow: hidden;
}

main.paint-section .paint-tabs-content .paint-card .paint-card-body .paint-card-img-box img {
	width: 300px;
	max-width: 100%;
	height; auto;
}

main.paint-section .paint-tabs-content .paint-card .paint-card-body .paint-card-text-box {
	width: calc(100% - 320px);
	margin-left: 20px;
}

main.paint-section .paint-tabs-content .paint-card .paint-card-body .paint-card-text-box p {
	line-height: 1.5;
}

main.paint-section .paint-tabs-content .paint-card .paint-card-body .paint-card-text-box p:not(:last-child) {
    margin-bottom: 10px;
}

@media screen and (max-width: 991px) {
	main.paint-section .paint-tabs-content .paint-card .paint-card-body {
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-items: center;
	}

	main.paint-section .paint-tabs-content .paint-card .paint-card-body .paint-card-text-box {
		width: 100%;
		margin-left: 0px;
		margin-top: 20px;
	}
}


main.contacts-content .map-section {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
}

main.contacts-content .map-section .map-container {
	width: calc(50% - 10px);
	height: auto;
}
main.contacts-content .map-section .contacts-block {
	position: relative;
	top: unset;
	right: unset;
	max-width: unset;
	width: calc(50% - 10px);
	margin-left: 20px;
}



.contacts-content .container {
	max-width: 850px;
}

@media screen and (max-width: 768px) {
	main.contacts-content .map-section {
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

	main.contacts-content .map-section .map-container {
		width: 100%;
		height: 300px;
	}

	main.contacts-content .map-section .contacts-block {
		width: 100%;
		margin-left: 0px;
		margin-top: 30px;
	}
}

.up-block{display:none;opacity:0;position:fixed;top:50%;left:10px;margin-top:-20px;width:40px;height:40px;background-color:#000;color:#fff;border:1px solid #fff;text-align:center;border-radius:50%;cursor:pointer;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;z-index:100}
.up-block:after{position:absolute;left:50%;top:50%;content:'';height:0;width:0;border-bottom:5px solid #fff;border-left:5px solid transparent;border-right:5px solid transparent;margin-top:-3px;margin-left:-5px}
.up-block span{display:none}
@media (min-width: 992px) {
.up-block:hover{background-color:#9d2727;border-color:#9d2727;opacity:1!important}
}
@media (max-width: 991px) {
.up-block{top:5px;left:50%;margin-top:0;margin-left:-60px;width:120px;border-radius:15px;height:auto;padding:10px 0 5px;text-transform:lowercase}
.up-block:after{margin-top:0;top:5px}
.up-block span{display:block}
}

.page-content iframe {
	max-width: 100%
}

@media (max-width: 767px) {
	.page-content iframe {
		margin: 30px 0;
		width: 100%;
		height: 250px
	}
}



.history-faces-section .page-content {position:relative;display:block;}

.history-faces-section .page-photos {
	margin-left: -20px;
	margin-right: -20px;
}

.history-faces-section .photo-card {padding: 20px;}
.history-faces-section .photo-card .photo-box {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	width: 100%;
	max-width: 100%;
	transition: 0.3s;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
}

@media (hover) {
	.history-faces-section .photo-card:hover .photo-box,
	.history-faces-section .photo-card:active .photo-box {
		transform: scale(1.05);
		-webkit-transform: scale(1.05);
		-moz-transform: scale(1.05);
		-o-transform: scale(1.05);
	}
}

.history-faces-section .photo-card a {color:inherit; text-decoration: underline;}
@media (hover) {
	.history-faces-section .photo-card a:hover,
	.history-faces-section .photo-card a:active {color:inherit; text-decoration: underline;}
}

.history-faces-section .photo-card .photo-box:before {
	content: '';
	position: relative;
	display: block;
	padding-top: 100%;
}
.history-faces-section .photo-card .title { text-align: center; font-size: 16px; font-weight: bold; margin-top: 20px; }

@media screen and (max-width: 767px) {
	.history-faces-section .photo-card .photo-box {
		width: 300px;
		margin: auto;
	}
	.history-faces-section .photo-card .title {margin-top: 15px;}

	.history-faces-section .page-photos {
		margin-left: 0px;
		margin-right: 0px;
	}
}

@media screen and (max-width: 575px) {
	.history-faces-section .photo-card {padding: 0px;}
	.history-faces-section .photo-card + .photo-card {margin-top: 40px;}
}

@media screen and (max-width: 767px) {
	.history_img_fix {text-align:center;}
	.history_img_fix img {float: none!important;}
}

#test {display:block;position:fixed;bottom:0px;left:0px;width:100%;height:20px;background-color:#ffffff;z-index:100000;text-align:center;}