html,
body {
  font-family: "Kurale", serif;
}

form#ctl01 {
  margin: 0;
  overflow: hidden; /*disable to fix menu, but add margin to the right*/
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.b-example-divider {
  width: 100%;
  height: 3rem;
  background-color: rgba(0, 0, 0, 0.1);
  border: solid rgba(0, 0, 0, 0.15);
  border-width: 1px 0;
  box-shadow: inset 0 0.5em 1.5em rgba(0, 0, 0, 0.1),
    inset 0 0.125em 0.5em rgba(0, 0, 0, 0.15);
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -0.125em;
  fill: currentColor;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
  --bd-violet-bg: #712cf9;
  --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--bs-white);
  --bs-btn-bg: var(--bd-violet-bg);
  --bs-btn-border-color: var(--bd-violet-bg);
  --bs-btn-hover-color: var(--bs-white);
  --bs-btn-hover-bg: #6528e0;
  --bs-btn-hover-border-color: #6528e0;
  --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
  --bs-btn-active-color: var(--bs-btn-hover-color);
  --bs-btn-active-bg: #5a23c8;
  --bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
  z-index: 1500;
}

.bd-mode-toggle .dropdown-menu .active .bi {
  display: block !important;
}

.blog-header-logo:hover {
  text-decoration: none;
}

.flex-auto {
  flex: 0 0 auto;
}

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

/* Pagination */
.blog-pagination {
  margin-bottom: 4rem;
}

/*
* Blog posts
*/
.blog-post {
  margin-bottom: 4rem;
}
.blog-post-meta {
  margin-bottom: 1.25rem;
  color: #727272;
}

.dropdown-menu li {
  position: relative;
}
.dropdown-menu .dropdown-submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: -7px;
}
.dropdown-menu .dropdown-submenu-left {
  right: 100%;
  left: auto;
}
.dropdown-menu > li:hover > .dropdown-submenu {
  display: block;
}

/**/

.dropdown:hover > .dropdown-menu {
  display: block;
}

.dropdown > .dropdown-toggle:active {
  /*Without this, clicking will make it sticky*/
  pointer-events: none;
}

/**/

/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

/* body {
	padding-top: 3rem;
	padding-bottom: 3rem;
	color: rgb(var(--bs-tertiary-color-rgb));
  } */

/* CUSTOMIZE THE CAROUSEL
  -------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 4rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 3rem;
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 30rem;
}

/* MARKETING CONTENT
  -------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
/* rtl:begin:ignore */
.marketing .col-lg-4 p {
  margin-right: 0.75rem;
  margin-left: 0.75rem;
}
/* rtl:end:ignore */

/* Featurettes
  ------------------------- */

.featurette-divider {
  margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
/* rtl:begin:remove */
.featurette-heading {
  letter-spacing: -0.05rem;
}

/* rtl:end:remove */

/* RESPONSIVE CSS
  -------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}

/*yandex maps*/
iframe.yandexmap {
  filter: grayscale(1);
}

/*swiper*/
.swiper {
  width: 100%;
  height: 80px;
}

.swiper-wrapper {
  gap: 0;
}

a.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  /* flex-shrink: initial; */
}

.swiper-slide img {
  display: block;
  width: 80px;
  /* height: 80px;
  object-fit: cover; */
}

.carousel button {
  text-color: #fff;
}

a[aria-expanded="true"]::after {
  content: 'Свернуть';
}

a.btn[aria-expanded="false"]::after {
  content: 'Читать далее...';
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

/*MENU START*/

.menu {
    position: sticky;
    top: 0;
    z-index: 9999;
    backdrop-filter: blur(10px);
    background: color-mix(in srgb, var(--bs-body-bg) 70%, transparent);
}

#h_menu ul {
  list-style-type: none;
  display: inline;
}

#h_menu li {
  display: inline-block;
  position: relative;
}

#h_menu .active {
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
}

#h_menu li:hover {
  _background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
}

#h_menu .level_1 li:hover {
  background-color: var(--bs-tertiary-bg);
  color: var(--bs-body-color);
}

#h_menu li a,
#h_menu li span {
  display: block;
  text-decoration: none;
  min-width: 32px;
}

#h_menu li.parent_active,
.menu_active,
.home-icon-active {}

#h_menu li a {
  color: inherit;
}


/* Настройка выпадающего меню */

#h_menu .level_0 ul {
  visibility: hidden;
  position: absolute;
  width: 180px;
  margin: 0;
  padding: 0;
  z-index: 9999;
  opacity: 0;
  transition: visibility 0.3s, opacity 0.2s ease-in;
}

#h_menu li:hover > ul {
  visibility: visible;
  opacity: 1;
}


/* General menu */

#h_menu .level_1 {
  left: 0;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 5px 5px;
}

#h_menu .level_1,
#h_menu .level_2 {
  background-color: var(--bs-body-bg);
}

#h_menu .level_0 > li:last-child ul {
  left: initial;
  right: 0;
}

#h_menu .level_1 li {
  display: block;
  text-align: left;
}

#h_menu .level_1 li:last-child {
  border-bottom: none;
}

#h_menu .level_1 li.parent {
  _box-shadow: inset -1px 0 0 #555;
}

#h_menu .level_1 li.parent::after {
  content: "›";
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
  
}

#h_menu .level_1 li > span,
#h_menu .level_1 li > a {
  padding: 0.5em 0.8em;
}

#h_menu .level_2 {
  left: 100%;
  top: -13px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.05);
  border-radius: 0 5px 5px 0;
}

#h_menu .level_3 {}

#h_menu .level_0 {
  margin: 0;
  padding: 0;
}


/*additional styles*/

#h_menu .level_0 {
display: flex;
justify-content: space-between;
    width: 100%;
}


#h_menu .level_0 ul {
  margin-top: 13px;
}

#h_menu .level_0 > li,
#h_menu .plus {
  display: inline-block;
  padding: 8px 0px;
  margin: 0;
  _text-transform: uppercase;
}

#h_menu li > ul {
  text-transform: none;
}

/*MENU END*/

header a {
    color: rgba(var(--bs-body-color));
    text-decoration: none;
}

/*
#h_menu {
    overflow: hidden;
}

#h_menu:hover {
    overflow: inherit;
}
*/

/* GTRANSLATE */

a.glink.gt-current-lang {
    border: 1px solid;
    padding: 0 4px;
}

/* YANDEX SEARCH */

#ya-site-form0 .ya-site-form__search-input {
    padding: 0 !important;
}

/* SOCIAL LINKS */
.social-links {
    font-size: 1.5rem;
    display: inline-flex;
    gap: 10px;
}

.header-icons a, .header-icons button {
color: #888;
}

a {
text-underline-offset: 0.2rem;
text-decoration-thickness: 0.01rem;
}

/*asdfyui*/

/**************************SCROLL PAGINATION NEWS*********************************/

.MapYear,
.MapMonth span {
  display: flex;
  justify-content: flex-start;
}

.MapYear {
  _background-color: #f9f9f9;
  _color: #aaa;
  height: 2rem;
}

.MapYear span.sel {
  _background-color: #eee;
}

.MapMonth,
.MapWrap {
  _background-color: #eee;
}

.MapMonth span a {
  _color: #aaa;
}

.MapYear span {
  cursor: pointer;
  display: inline-block;
  padding: 0 0.5rem;
  margin: 0.2rem;
}

.MapYear span.sel {
  display: inline-block;
  padding: 0 0.5rem;
  margin: 0.2rem;
border: 1px solid #eee;
}

.MapYear span.sel,
.MapMonth span b {
  _color: #333;
  border-radius: 1rem;
cursor: text;
    pointer-events: none;
}

.MapYear, .MapMonth {
  overflow-x: auto;
  overflow-y: none;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.MapMonth {
  height: 2.5rem;
}

.MapWrap {
  margin-bottom: 0;
  overflow: hidden;
  width: 100%;
  height: 1.9rem;
}

.MapMonth span a,
.MapMonth span b {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  margin: 0.2rem;
text-decoration: none;
color: var(--bs-body-color);
}

.MapMonth span a:hover {
  background-color: #ddd;
color: #000;
border-radius: 1rem;
}

.MapYear span:hover {
  background-color: #eee;
color: #000;
border-radius: 1rem;
}


.MapMonth span b {
  _background-color: #fbdf89;
border: 1px solid #eee;
  font-weight: normal;
}

.MapBody {
  margin-top: 1rem;
}

/*NEW ADDITIONS*/

.card-cover {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.fast-cards .card-cover div {
  backdrop-filter: contrast(60%) brightness(80%);
}

.fast-cards .card-cover div:hover {
  backdrop-filter: contrast(60%) brightness(50%);
}

.text-shadow-1 {
  text-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.25);
/*   white-space: nowrap; */
}

.card:hover {
  transform: scale(1.02);
  transition: transform .1s ease-in 0s;
}

/**/

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.min-height-2 {
    min-height: 3rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
}
