@font-face {
    font-family: 'MyWebFont';
    src: url('flaviusZ.woff') format('woff'), 
    url('flaviusZ .ttf') format('truetype');
}

html {
    background: #ffffff!important;
}

body {
    background: url("../../img/bg_block.png") 0 0 repeat;

    font-family: 'MyWebFont';
}

h1, h2, h3, h4 {
    font-family: 'MyWebFont'!important; 
}

#search {
    font-family: 'sans-serif'; 
}

#logo {
    width: 30px;
    margin: 5px 20px;
}

.navbar {
    background: rgb(0,0,0);
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(170,170,170,0.92) 35%, rgba(245,245,245,0.6) 100%);
    font-family: 'MyWebFont'; 
/*box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(9.5px);
-webkit-backdrop-filter: blur(9.5px);*/
}

#donate {
    color: #fff;
    text-decoration: none;
}

#navbarCollapse ul li a {
    color: #fff;
    text-shadow: 1px 1px 1px black, 0 0 1em gray, 0 0 0.2em black;
    font-size: 18px;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.scrolling-wrapper {
  margin-top:12px;
  margin-bottom:12px;
  overflow:auto;
  overflow-y: hidden;
  white-space: nowrap;
  background: #e7e7e7;
}
 .scrolling-wrapper .card {
    display: inline-block;
    width: 350px;
    height: 460px;
    margin: 8px 12px;
    vertical-align: bottom;
    border-radius:12px;
}


.btn-dnt {
    background-color: #4da1f8!important;
    color: #fff!important;
    border-color: #6c757d!important;
    position: relative;
    overflow-x: hidden;
}

.btn-news {
    background-color: #4da1f8!important;
    color: #fff!important;
    border-color: #6c757d!important;
    position: relative;
    display: inline-block;
    overflow: hidden;
    font-size:22px;
}

.btn-news:before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100%;
  background-image: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 30%, /* Прозрачность начала блика */
    rgba(255, 255, 255, 0.8), /* Цвет блика */
    rgba(255, 255, 255, 0) 70% /* Прозрачность конца блика */
  );
  top: 0;
  left: -100px;
  
}

.btn-news:hover:before
{
animation: shine 2s infinite linear; /* Анимация блика */
}


/* Ключевые кадры для анимации блика */
@keyframes shine {
  0% {
    left: -100px; /* Начальная позиция блика (левая сторона кнопки) */
  }
  20% {
    left: 100%; /* Позиция блика в конце (правая сторона кнопки) */
  }
  100% {
    left: 100%; /* Завершение анимации */
  }
}


#navbarCollapse ul li a {
    color: #ffffff;
}

#navbarCollapse ul li a:hover {
    color: #ffffff;
}

.navbar-brand{
    color: #fff!important;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    font-size: 0px;
}

#header_title {
    margin-top: -30px;
    font-size: 30px;
}

#page_title {
    margin-top: 20px;
    font-size: 30px;
}

.social_nav {
    margin-right:16px;
    margin-bottom:0px;
}

.title-brand {
    text-align: center;
    padding: 0px;
    margin: 0px;
}

.h-md-320 {
    height: 320px;
}

.navbar-dark .navbar-toggler {
    color: #4da1f8!important;
    border-color: #4da1f8!important;
}

.navbar-toggler svg {
    color: #000;
}

.navbar-toggler:focus {
    box-shadow: 0!important;
    outline: 0!important;
}

.azbyka-saints {
    padding: 0px 24px;
}

.hpk {
    padding: 0px 24px;
}

.hpk h4 {
    font-family: 'MyWebFont';
}

.carousel-caption h1 {
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.carousel-caption p {
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.carousel-caption a {
    text-shadow: none;
}


#cover-img-1 {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height: 32rem;
    background-image: url("../../img/cover_1.jpg");
    background-size: cover;
    background-position: center;
}

#cover-img-2 {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height: 32rem;
    background-image: url("../../img/cover_2.jpg");
    background-size: cover;
    background-position: center;
}

#cover-img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height: 32rem;
    background-size: cover;
    background-position: center;
}

#search {
    padding-top: 6px;
    padding-bottom: 3px; 
    padding-left: 6px;
    font-size: 14px;
}

#search_btn {
    font-size: 14px;
    margin-bottom: 3px;
}

#CS {
    width: auto;
}

#wl {
    background-image: url("../../img/bg-card.jpg");
}

.bd-placeholder-img {
    border-color: #b7b7b7 #7a7a7a #7a7a7a #b7b7b7;
    border-image: none;
    border-radius: 50px 0 50px 0;
    border-style: solid;
    border-width: 8px;
    box-shadow: 2px 4px 16px rgba(0,0,0,.5);
    margin: 10px;
    transition: 2s;
}

.bd-placeholder-img:hover {
    border-color: #00bfff #0099cc #0099cc #00bfff;
    transition: 2s;
}

.card-body {
    text-align: center;
    white-space: normal;
}

.card-body a {
    transition: 1s;
}

.card-body a:hover {
    background: #00bfff;
    border-color: #0099cc;
    transition: 1s;
}

.post_img {
    width: 200px;
    height: auto;
    float: left;
    margin-right: 30px;
    border-radius: 8px;
}

#map {
    box-shadow: 0px 1px 8px 1px rgba(34, 60, 80, 0.6);
}

#notes {
    text-align: center;
    margin: 30px auto;
}

#ModalNotes iframe {
    width: 100%;
    height: 500px;
}

#qr {
    text-align: center;
}

#qr img {
    width: 490px;
    display: flex;
    margin: auto;
    border-radius: 12px;
}

#qr button {
    margin: 10px 0px;
}

#p_form {
    text-align: center;
}

#question {
    display: flex;
    margin: 30px auto;
}

#question a {
    margin: auto;
}

.rounded {
    padding: 5px;
}

.azbyka-saints a:link{color:#c66;text-decoration:underline}
.azbyka-saints p{color:#c66}
.azbyka-saints a:visited{color:#c66;text-decoration:underline}
.azbyka-saints .fasting-message, .azbyka-saints .main-block,.azbyka-saints .today{font-family:'MyWebFont';font-size:15px}
.azbyka-saints .today{margin:12px 0;text-align:center}
.azbyka-saints a:hover{color:#f76161;text-decoration:none}
.azbyka-saints .next,.azbyka-saints .prev{appearance:none;border:0;border-radius:0;background:0 0;color:#c66}
.azbyka-saints .days-image{position:relative;width:100%}
.azbyka-saints .days-image img{margin:24px auto;display:block;box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.8);}

@media (min-width: 768px)
.h-md-320 {
    height: 320px;
}

@media (min-width: 768px) and (max-width: 920px) { 
    #navbarCollapse ul li a {
        font-size: 14px;
    }
    #donate {
        font-size: 14px;
    }
}

@media (min-width: 768px) and (max-width: 1260px) { 
    #header_title, #page_title {
        font-size: 24px;
    }
}

@media (min-width: 768px) and (max-width: 1090px) { 
    .social_nav {
        display:none;
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 18px;
    }
    #qr img {
        width: 90%;   
    }

    #cover-img-1, #cover-img-2, #cover-img-3 {
        background-position: center;
    }

    #CS {
        width: 100%;
    }
    
    .scrolling-wrapper .card {
    display: inline-block;
    width: 250px;
    height: 520px;
    margin: 8px 12px;
    }
    
    .social_nav {
    margin-right:0px;
    margin-bottom:16px;
}

}

@media (max-width: 490px) {

    #cover-img{
        height: 16rem;
        background-position: center;
    }

    .card {
        display: block;
        text-align: center;
    }

    .bd-placeholder-img {
        max-width: 200px;
        height: auto;
    }

    .post_img {
        float: none;
        display: block;
        margin: 25px auto;

    }

    #header_title, #page_title {
        font-size: 16px;
        padding: 0px 12px;
    }
    #logo {
        margin: 5px 10px;
    }
}

@keyframes updown {
    0% {
        transform: translateY(-1%);
    }

    50% {
        transform: translateY(1%);
    }

    100% {
        transform: translateY(-1%);
    }
}

.dropdown-menu-dark {
    background-color: #86c3ffde;
}

.navbar-toggler svg
{
    color: #4da1f8;
}

.text-muted span {
    color: black;
}


