   @font-face {
    font-family: 'OglavieUnicode'; 
    src: url('../fonts/oglavie.otf') format('opentype'); 
	}
   @font-face {
    font-family: 'Monomakh'; 
    src: url('../fonts/monomakh.otf') format('opentype'); 
	}

      @font-face {
        font-family: yauzatygra;
        src: url(./fonts/yauzatygra.ttf);
        font-weight: normal;
        }

        body {
            font-family: "Noto Sans", sans-serif;
            font-size: 19px;
            font-optical-sizing: auto;
            font-weight: 400;
            font-style: normal;
        }
        .slavic-header {
            font-family: 'OglavieUnicode', sans-serif;
            font-style: normal;
            font-size: 50px;
            color: #9c3625;
            text-align: center;
            padding: 20px 0;
            text-transform: uppercase;
        }
        .text-header {
            font-family: 'Monomakh', sans-serif;
		/*	font-size: 56px; */
            font-style: normal;
            text-align: center;
            padding: 20px 0;
            text-transform: uppercase;
        }

        .hdr {
            font-size: 56px;
        }
        .navbar-brand {
            font-family: Tahoma, sans-serif;
        }
        .bg-custom {
            background-color: #F0E68C;
        }
        .header-background {
            background-image: url('../images/head.jpg');
            background-size: cover;
            background-position: center;
            height: 60vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }
        .header-background h1 {
            position: relative;
            z-index: 1;
        }
        .note-form {
            background-color: #fff;
            padding: 20px;
            border-radius: 0px;
            margin-bottom: 20px;
        }
        .note-form h3 {
            text-shadow: none;
            text-align: center;
        }
        .note-form-health h3 {
            color: #9C3625;
        }
        .note-form-repose h3 {
            color: black;
        }
        .note-form-health {
            border: 1px solid #9C3625;
            border-radius: 15px;
            padding: 2rem;
        }
        .note-form-repose {
            border: 1px solid black;
            border-radius: 15px;
            padding: 2rem;
        }
        .form-control, .form-select {
            border: none;
            border-bottom: 1px solid #ced4da;
            border-radius: 0;
            padding-left: 0;
        }
        .form-control:focus, .form-select:focus {
            box-shadow: none;
            border-color: #80bdff;
        }
        .note-form-health .form-select {
            color: #9C3625;
        }
        .note-form-repose .form-select {
            color: black;
        }
        .input-group-text {
            background-color: transparent;
            border: none;
        }
         .btn-primary {
            background: linear-gradient(298.88deg, #827040 -64.01%, rgba(233, 188, 77, 0.73) 6.38%, rgba(249, 215, 133, 0.6) 29.99%, #ead5b6 79.31%, #d7bb76 150.49%, #3f3826 207.9%), linear-gradient(115.45deg, #b3834a 6.93%, #f6d5a3 37.56%, #e9d4b5 58.99%, #bea481 92.06%, #bea481 116.61%);
            border: 0px;
            color: #000;
        }
        .note-form-repose .btn-primary {
            background-color: black;
            border-color: black;
        }
        .recent-donations {
            margin-top: 2rem;
            padding-top: 1rem;
        }
        .recent-donations li {
            border-bottom: 1px solid #ced4da;
            padding: 0.5rem 0;
        }
        .recent-donations li:last-child {
            border-bottom: none;
        }
        .form-select, .btn {
            display: block;
            margin-left: auto;
            margin-right: auto;
            padding: 8px;
        }
        .first-letter {
            font-family: "Oswald", serif;
            font-optical-sizing: auto;
            font-weight: 400;
            font-style: normal;
            font-size: 50px;
            float: left;
            margin-right: 10px;
            line-height: 1;
            background: linear-gradient(45deg, #94bbd4, #37819b);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .note-type-selector {
            cursor: pointer;
            position: relative;
            display: inline-block;
            width: 100%;
            text-align: center;
            margin-bottom: 20px;
        }
        .note-type-selector h3 {
            border-bottom: 1px dashed;
            display: inline-block;
            padding-bottom: 5px;
        }
        .note-type-selector .dropdown-menu {
            display: none;
            position: absolute;
            background-color: #f9f9f9;
            min-width: 160px;
            box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
            z-index: 1;
            left: 50%;
            transform: translateX(-50%);
        }
        .note-type-selector:hover .dropdown-menu {
            display: block;
        }
        .note-type-selector .dropdown-menu a {
            color: black;
            padding: 12px 16px;
            text-decoration: none;
            display: block;
        }
        .note-type-selector .dropdown-menu a:hover {
            background-color: #f1f1f1;
        }
        .donation-form {
            border: 1.5px solid #dadada;
            background: #fff;
            border-radius: 15px;
            padding: 20px;
        }
        .gallery-item {
            margin-bottom: 30px;
        }
        .gallery-item img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 15px;
            transition: transform 0.3s ease-in-out;
        }
        .gallery-item img:hover {
            transform: scale(1.05);
        }
        .treby-block {
            background-color: #fff;
            padding: 30px 0;
        }
        .treby-item {
            background-color: #fff;
            border: 1px solid #dee2e6;
            border-radius: 15px;
            padding: 20px;
            margin-bottom: 20px;
            text-align: center;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        .treby-item:hover {
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transform: translateY(-5px);
        }
        .treby-item h4 {
            margin-bottom: 10px;
            color: #343a40;
        }
        .treby-item p {
            color: #6c757d;
        }
        .section-header {
            position: relative;
            text-align: center;
            margin-bottom: 30px;
        }
        
        #brick form {
            border: 1px solid;
            padding: 20px;
        }
        .brick-name-field, .brick-email-field, .brick-summ-field {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }
        .brick-name-field input {
            flex-grow: 1;
            margin-right: 10px;
        }
        .brick-name-field button {
            background-color: #dc3545;
            border: none;
            color: white;
            padding: 5px 10px;
            cursor: pointer;
        }
        .donation-chart-container {
            position: relative;
            width: 100%;
            height: 0;
            padding-bottom: 100%;
        }
        .donation-chart-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            width: 80%;
        }
        .donation-amount {
            font-size: 1.5em;
            font-weight: 500;
            margin-bottom: 10px;
        }
        .donation-date {
            font-size: 0.8em;
            color: #6c757d;
            margin-bottom: 15px;
        }
        .donation-stages {
            text-align: center;
            margin-bottom: 15px;
            font-size: 1.5em;
            font-weight: 500;
        }
        .donation-stages li {
            margin-bottom: 5px;
        }
        .donation-report {
            color: #000000;
            text-decoration: underline;
            cursor: pointer;
        }
        .donation-amount-large {
            font-size: 1em;
            font-weight: bold;
            color: #9C3625;
        }
        .donation-divider {
            width: 85%;
            height: 1px;
            background-color: #d7d7d7;
            margin: 10px auto;
        }
        .view-all-donations {
            display: block;
            text-align: center;
            margin-top: 10px;
            color: #000000;
            text-decoration: underline;
        }
        .modal-body {
            max-height: 70vh;
            overflow-y: auto;
        }
        
        .name-input-group {
            display: flex;
            margin-bottom: 10px;
        }
        
        .name-input-group input {
            flex-grow: 1;
            margin-right: 10px;
        }
        
        .name-input-group button {
            flex-shrink: 0;
        }
        
        .checkbox-group {
            margin-top: 20px;
        }
        
        .candle-options, .comment-input {
            margin-top: 10px;
            display: none;
        }

        .gallery {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        }
        
        .gallery img {
        width: 100px;
        height: auto;
        cursor: pointer;
        }

		.ngg-gallery-thumbnail-box {
			display: inline-block !important;
		}
        .galnew {
        padding-top: 0rem !important;
        padding-bottom: 2rem !important;
        }

        .modal-body img {
            width: 100%;
        }

        #tainstvaInfo p, #otpevanieInfo p, #osvyashenieInfo p {
            padding-top: 1rem;
        }
        
       .line_black {
            color: #000;
        }

        #contacts {
            border-bottom: 1px solid #e7e7e7;
            border-radius: 50px 50px 0 0;
        }

        #donations {
        background-image: url(../images/donat.png);
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        }

        #notes {
         background-image: url(../images/ob3.png);
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;           
        }

        #treby {
        background-image: url(../images/ob3.png);
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        }   

        #brick {
        background-image: url(../images/ob3.png);
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        }

        #gal {
        background-image: url(../images/ob3.png);
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        }

        .carousel-inner {
            border-radius: 10px;
        }

        .carus {
            width: 75%;
        }

        .carousel-control-next, .carousel-control-prev {
        width: 60px;
        height: 60px;
        border-radius: 10em;
        background: #fff;
        text-align: center;
        top: 45%;
        opacity: 100;
        -webkit-transition: all .35s ease;
        -o-transition: all .35s ease;
        transition: all .35s ease;
    }

        .carousel-control-prev-icon {
            background-image: url("../images/arrow-left.svg");
        }

        .carousel-control-next-icon {
            background-image: url("../images/arrow-left.svg");
            -webkit-transform: rotate(180deg);
            -ms-transform: rotate(180deg);
            transform: rotate(180deg);
        }

        .rounded {
            border-radius: 15px !important;
        }

        .btn-secondary {
            color: #000;
            background: var(--unnamed, linear-gradient(166deg, #e8b98b 0, #f4cea8 55.73%, #deab79 100%));
            border: 0px;
        }

        .posmotret {
            margin-bottom: 4rem;
        }

        @media (max-width: 767px) {
            #about .col-md-6:first-child {
                margin-bottom: 20px;
            }
            .view-all-donations {
                margin-bottom: 40px;
            }
            .carus {
                width: 100%;
            }
             .donation-report {
                font-size: 11px;
             }
          .donation-amount, .donation-stages {
          font-size: 16px;
          }
            .slavic-header {
            padding: 0px;
            }
        }


      /* Floating menu styles */
        .floating-menu {
            position: fixed;
            top: 0;
            left: -250px;
            width: 250px;
            height: 100%;
            background-color: #fff;
            box-shadow: 2px 0 5px rgba(0,0,0,0.5);
            transition: left 0.3s ease;
            z-index: 1000;
        }

        .floating-menu.open {
            left: 0;
        }

        .floating-menu .menu-toggle {
            position: absolute;
            top: 10px;
            right: -50px;
            width: 50px;
            height: 50px;
            background-color: #9C3625;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }

        .floating-menu ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .floating-menu ul li {
            padding: 15px;
            border-bottom: 1px solid #ddd;
        }

        .floating-menu ul li a {
            text-decoration: none;
            color: #333;
        }

.icon-center img {
    width: 400px;
    margin-bottom: 1rem;
}

ul, li {
  list-style: none;
}


li a {
  color: #000;
}

.bg-primary {
   background: linear-gradient(298.88deg, #827040 -64.01%, rgba(233, 188, 77, 0.73) 6.38%, rgba(249, 215, 133, 0.6) 29.99%, #ead5b6 79.31%, #d7bb76 150.49%, #3f3826 207.9%), linear-gradient(115.45deg, #b3834a 6.93%, #f6d5a3 37.56%, #e9d4b5 58.99%, #bea481 92.06%, #bea481 116.61%); !important;
}

        .header-background::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 1;
        }
        
        .header-background .container {
            position: relative;
            z-index: 2;
        }
        
        .header-background .text-header {
            color: #9c3625;
        }




/* Стили для форм Contact Form 7 */
.wpcf7-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.wpcf7-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="number"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 5px rgba(74, 144, 226, 0.2);
}

.wpcf7-submit,
.btn {
    background: #4a90e2;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.wpcf7-submit:hover,
.btn:hover {
    background: #357abd;
}

.wpcf7-not-valid-tip {
    color: #666;
    font-size: 14px;
    margin-top: -15px;
    margin-bottom: 15px;
}

.wpcf7-response-output {
    margin: 20px 0;
    padding: 12px;
    border-radius: 4px;
    text-align: center;
}

.wpcf7 form.invalid .wpcf7-response-output {
    border-color: #666;
    background: #f5f5f5;
    color: #666;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    background: #f0fff0;
    color: #46b450;
}


.nast {
    border-radius: 25px;
}

@media screen and (max-device-width:480px){
        .text-header {
			font-size: 46px;
        }

        .hdr {
            font-size: 46px;
        }
}

.button {
  display: inline-block;
  border-radius: 4px;
  background-color: #334ee8;
  border: none;
  color: #FFFFFF;
  text-align: center;
  font-size: 19px;
  padding: 20px;
  width: auto;
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px;
}

.button span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.button span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.button:hover span {
  padding-right: 25px;
}

.button:hover span:after {
  opacity: 1;
  right: 0;
}