/*!
Theme Name: Creamel 1.0.7
Theme URI: http://underscores.me/
Author: Serhii Ivanov
Author URI: https://koyot.info
Subauthor from 21.05.2025: Mikhail Katovais 
Subauthor URI: https://katovais.ru/
Description: Theme by Serhii Ivanov and Mikhail Katovais
Version: 1.0.7
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: creamel
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Creamel is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

:root {
  color-scheme: light only;
  --light: #FFFFFF;
  --red: #82003C;
  --dark: #303030;
  /*Dark*/
  --gray: #A6A6A6;
  /*Gray*/
  --dgray: #757575;
  /*Dark gray*/
  --biege: #EBE6E1;
  --dbiege: #C2B3A9;
  --ldark: #313131;
  /*Light Dark*/
  --lgray: #F5F5F5;
  /*Light Gray*/
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections ========================================================================== */
body {
  margin: 0;
}

main {
  display: block;
}

/* Grouping content ========================================================================== */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics  ========================================================================== */
a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b,
strong,
.strong {
  font-weight: 600;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content ========================================================================== */
img {
  border-style: none;
}

/* Forms ========================================================================== */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive ========================================================================== */
details {
  display: block;
}

summary {
  display: list-item;
}

/* Misc ========================================================================== */
template {
  display: none;
}

[hidden] {
  display: none;
}

/* Box sizing --------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  color: var(--dark);
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6,
.title_section {
  clear: both;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 1.16;
}

h1 {
  font-size: 72px;
  font-weight: 800;
}

h2,
#post_first h1 {
  font-size: 48px;
}

h3 {
  font-size: 24px;
}

p {
  margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", courier, monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: transparent;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/* Elements --------------------------------------------- */
body {
  background: #fff;
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0 0 1.5em 1em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li>ul,
li>ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

embed,
iframe,
object {
  max-width: 100%;
}

img {
  height: auto;
  max-width: 100%;
}

figure {
  margin: 1em 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/* Links --------------------------------------------- */
a {
  color: var(--red);
  text-decoration: none;
  outline: 0 !important;
  transition: .3s ease;
}

a:visited {
  color: var(--red);
}

a:hover,
a:focus,
a:active {
  color: var(--dark);
}

/* Forms --------------------------------------------- */
.r_btn,
.wpcf7-submit {
  min-width: 200px;
}

button,
.r_btn,
.rt_btn,
.b_btn,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid transparent;
  background: var(--red);
  border-radius: 27px;
  color: var(--light) !important;
  font-weight: 600;
  line-height: 1;
  padding: 14px 24px;
  transition: .3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  height: 54px;
  max-height: 58px;
  white-space: nowrap;
  width: fit-content;
}

.rt_btn {
  border: 1px solid var(--red) !important;
  background: var(--light) !important;
  color: var(--red) !important;
}

.b_btn {
  background: var(--biege) !important;
  color: var(--red) !important;
}

button:hover,
.r_btn:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  border: 1px solid transparent !important;
  background: var(--biege) !important;
  color: var(--red) !important;
}

.bg_biege .r_btn:hover {
  background: var(--light) !important;
}

.rt_btn:hover,
.b_btn:hover {
  border: 1px solid transparent !important;
  background: var(--red) !important;
  color: var(--light) !important;
}

.bg_wtb .r_btn:hover,
.bg_wtb .r_btn:active,
.bg_wtb .r_btn:focus {
  background: var(--light) !important;
  color: var(--red) !important;
  border: 1px solid transparent !important;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
  border: border: 1px solid transparent !important;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  color: #060606;
  border: 1px solid #d9d9d9;
  border-radius: 0;
  padding: 12px 24px;
  background-color: #fff;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: #111;
  border: 1px solid var(--yellow);
}

select {
  border: 1px solid transparent;
  background: #fff;
}

textarea {
  width: 100%;
}

.slider_btn {
  position: absolute;
  right: 0;
  bottom: -24px;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
/* Navigation --------------------------------------------- */
.main-navigation {
  display: block;
  width: calc(100% - 295px);
}

.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
}

.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}

.main-navigation ul ul li:hover>ul,
.main-navigation ul ul li.focus>ul {
  display: block;
  left: auto;
}

.main-navigation ul ul a {
  width: 200px;
}

.main-navigation ul li:hover>ul,
.main-navigation ul li.focus>ul {
  left: auto;
}

.main-navigation li {
  /*position: relative;*/
}

.main-navigation a {
  display: block;
  text-decoration: none;
}

#primary-menu {
  /*gap: 24px;*/
  display: flex;
  justify-content: space-between;
  position: relative;
  padding-right: 24px;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

@media screen and (min-width: 37.5em) {
  .menu-toggle {
    display: none;
  }

  .main-navigation ul {
    display: flex;
  }
}

ul.menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.sub-menu li:hover>a,
.current_page_ancestor>a,
.main-navigation .current_page_item>a,
.main-navigation .current-menu-item>a,
footer .menu .current_page_item>a,
footer .menu .current-menu-item>a {
  color: var(--red) !important;
}

#primary-menu li>a {
  /*padding: 10px;*/
  display: block;
}

#primary-menu>li>a {
  height: 56px;
  display: flex;
  align-items: center;
  color: var(--dark);
  position: relative;
}

#primary-menu ul.sub-menu {
  display: flex;
  flex-direction: column;
  background: var(--light);
  /*gap: 10px;padding: 10px;*/
  border-radius: 0 0 5px 5px;
}

#primary-menu>li>ul.sub-menu {
  padding: 24px;
  gap: 8px;
}

#primary-menu>li.current_page_item>a {
  color: var(--red);
}

#primary-menu>li>a:hover {
  color: var(--red);
}

#primary-menu>li.menu-item-has-children>a {
  display: flex;
  align-items: center;
}

#primary-menu>li.menu-item-has-children>a:after {
  content: '';
  width: 16px;
  height: 16px;
  display: block;
  margin-left: 4px;
  background: url(img/icon_arrow_down.svg)no-repeat center;
}

#primary-menu .sub-menu>li.menu-item-has-children {
  position: relative;
}

#primary-menu .sub-menu>li.menu-item-has-children>a {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#primary-menu .sub-menu>li.menu-item-has-children>a:after {
  content: '';
  width: 16px;
  height: 16px;
  display: block;
  margin-left: 4px;
  background: url(img/icon_arrow_down_yellow.svg)no-repeat center;
  transform: rotate(-90deg);
}

#primary-menu .sub-menu>li.menu-item-has-children:hover>.sub-menu {
  left: 100%;
}

#menu-item-228 ul.sub-menu {
  width: 100%;
  padding: 24px;
  row-gap: 16px;
  column-gap: 24px;
  flex-direction: column;
  flex-wrap: wrap;
}

.mobile-active {
  overflow: hidden;
}

.menu-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow-y: scroll;
  background: var(--biege);
  z-index: 9999;
  transition: 0.4s ease;
  transform: translateX(-100%);
}

.menu-bar li.current-menu-ancestor>a:after {
  display: none !important;
}

.menu-bar.active {
  transform: translateX(0);
}

.menu-bar__main {
  padding: 1.5rem;
}

.menu-bar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.menu-bar ul li {
  padding: 0.75rem 0;
  /*border-top: 1px solid #ebebeb;border-bottom: 1px solid #ebebeb;*/
}

.menu-bar button {
  padding: 0;
  border: none;
  background: none;
  height: 24px;
  width: 24px;
}

.menu-bar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
}

.menu-bar__footer {
  padding: 1.5rem;
}

.menu-bar .sub-menu {
  padding: 1.5rem;
}

.sub-menu__title {
  font-weight: 700;
  color: var(--dark);
}

.menu-item-has-children {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sub-menu__wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow-y: scroll;
  background: var(--biege);
  transform: translateX(-100%);
  transition: 0.4s ease;
  z-index: 1;
}

.sub-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--dark);
  color: #fff;
}

.menu-item.active>.sub-menu__wrapper {
  transform: translateX(0%);
}

.menu-bar__header .custom-logo {
  height: 36px;
  width: inherit;
}

.toggle-change {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

#mobile_navigation ul li a {
  display: flex;
  width: 100%;
  color: var(--red) !important;
}

#mobile_navigation ul li a>svg {
  margin-left: auto;
}

#mobile_navigation ul li a:hover {
  color: var(--dark) !important;
}

.hamburger {
  padding: 0;
  height: 20px;
  width: 20px;
  flex: 0 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border-radius: 26px;
  margin: 0;
  overflow: visible;
}

.hamburger:hover {
  opacity: 0.7;
}

.hamburger.is-active:hover {
  opacity: 0.7;
}

body #page .hamburger .hamburger.is-active .hamburger-inner,
body #page .hamburger .hamburger.is-active .hamburger-inner::before,
body #page .hamburger .hamburger.is-active .hamburger-inner::after {
  background-color: var(--red) !important;
}

.hamburger-box {
  width: 24px;
  height: 20px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  display: block;
  top: 50%;
}

body #page .hamburger .hamburger-inner,
body #page .hamburger .hamburger-inner::before,
body #page .hamburger .hamburger-inner::after {
  width: 20px;
  height: 2px;
  background-color: var(--red) !important;
  border-radius: 4px;
  position: absolute;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  display: block;
}

.hamburger-inner::before {
  top: -7px;
}

.hamburger-inner::after {
  bottom: -7px;
}

.hamburger--spin .hamburger-inner {
  transition-duration: 0.22s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--spin .hamburger-inner::before {
  transition: top 0.1s 0.25s ease-in, opacity 0.1s ease-in;
}

.hamburger--spin .hamburger-inner::after {
  transition: bottom 0.1s 0.25s ease-in, transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--spin.is-active .hamburger-inner {
  transform: rotate(225deg);
  transition-delay: 0.12s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hamburger--spin.is-active .hamburger-inner::before {
  top: 0;
  opacity: 0;
  transition: top 0.1s ease-out, opacity 0.1s 0.12s ease-out;
}

.hamburger--spin.is-active .hamburger-inner::after {
  bottom: 0;
  transform: rotate(-90deg);
  transition: bottom 0.1s ease-out, transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  text-align: end;
  flex: 1 0 50%;
}

.page-numbers {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  column-gap: 16px;
  font-weight: 300;
  justify-content: center;
  /*margin-top: 24px;*/
}

.page-numbers a {
  color: var(--dark);
}

.page-numbers a:hover {
  color: var(--orange);
}

.page-numbers .current {
  color: var(--orange);
}

.page-numbers svg {
  fill: var(--dark);
}

.page-numbers svg:hover {
  fill: var(--orange);
}

/* Posts and pages --------------------------------------------- */
.sticky {
  display: block;
}

.post,
.page {
  margin: 0 0 1.5em;
}

.updated:not(.published) {
  display: none;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

/* Comments --------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/* Widgets --------------------------------------------- */
.widget {
  margin: 0;
}

.widget select {
  max-width: 100%;
}

/* Media --------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
  color: var(--dark) !important;
}

/* Captions --------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/* Galleries --------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/
/* Jetpack infinite scroll
--------------------------------------------- */
/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities --------------------------------------------------------------*/
/* Accessibility --------------------------------------------- */
/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

/* Additional Bootstrap hack */
.col,
.col-1,
.col-10,
.col-11,
.col-12,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-auto,
.col-lg,
.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-auto,
.col-md,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-auto,
.col-sm,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-auto,
.col-xl,
.col-xl-1,
.col-xl-10,
.col-xl-11,
.col-xl-12,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9,
.col-xl-auto {
  padding-left: 12px;
  padding-right: 12px;
  position: relative;
}

.gap-x-2 {
  column-gap: 8px
}

.gap-x-3 {
  column-gap: 16px
}

.gap-x-4 {
  column-gap: 24px
}

.gap-x-5 {
  column-gap: 48px
}

.gap-y-2 {
  row-gap: 8px;
}

.gap-y-3 {
  row-gap: 16px;
}

.gap-y-4 {
  row-gap: 24px;
}

.gap-y-5 {
  row-gap: 48px;
}

/* Fancybox */
.fancybox-wrap {
  border-radius: 5px;
  overflow: hidden !important;
}

.wpcf7 h2 {
  font-size: 36px;
  font-weight: 800;
}

/*body #fancybox-wrap {width: fit-content !important;top:50%!important;left: 50% !important;transform: translate(-50%,-50%);}*/
body #fancybox-content {
  background: var(--lgray);
  border-color: var(--lgray);
}

body.page-id-14098 .fancybox-skin {
  background: #fff;
}

body #fancybox-close,
body .fancybox-close {
  width: 24px;
  height: 24px;
  background: transparent url(img/icon_close.svg)no-repeat center !important;
  top: 12px;
  right: 12px;
  font-size: 0;
  border: 0 !important;
  box-shadow: none !important;
  z-index: 111103;
  display: block;
}

body #fancybox-close span,
body .fancybox-close span {
  display: none;
}

#doc_at_home,
#order_online,
#order_online_2,
#request_meet {
  width: fit-content;
}

#doc_at_home>.wpcf7,
#callback>.wpcf7,
#order_online>.wpcf7,
#order_online_2>.wpcf7,
#request_meet>.wpcf7,
.response_ok {
  max-width: 432px;
  width: 100%;
}

.manager_img,
.manager_name {
  display: inline-block;
}

/*.manager_img {flex: 0 0 120px;width: 120px;}*/
#sendmail textarea {
  max-height: 120px;
}

/* Contact Form 7 */
.wpcf7 .title_section {
  font-size: 36px;
}

.wpcf7-form label {
  width: 100%;
}

.f_wrapper {
  position: relative;
  margin-bottom: 16px;
}

.wpcf7-form p,
.f_wrapper input,
.wpcf7-form label {
  margin: 0;
  width: 100%;
}

.wpcf7-form label .wpcf7-form-control-wrap {
  width: 100%;
  display: block;
}

.wpcf7-form .wpcf7-tel,
.wpcf7-form .wpcf7-text,
.wpcf7-form .wpcf7-email,
.wpcf7-form .wpcf7-select {
  width: 100%;
  height: 54px;
  padding: 14px 24px;
  border-radius: 27px;
}

.wpcf7-form .wpcf7-spinner {
  position: absolute;
  right: 52px;
  top: 50%;
  transform: translateY(-50%);
}

.wpcf7-form .wpcf7-list-item {
  margin: 0;
}

.wpcf7-not-valid-tip {
  display: none !important;
}

.wpcf7-form-control.wpcf7-not-valid {
  border: 1px solid #ff0000 !important;
}

.wpcf7-response-output {
  display: none !important;
}

#mfcf7_zl_add_file {
  background: url(img/icon_attach.svg)no-repeat center left !important;
  background-size: 24px;
  padding: 12px 24px 12px 32px;
  justify-content: start;
}

.form_submit {
  width: 100%;
}

.form_desc {
  color: var(--dgray);
}

.form_note {
  font-size: 12px;
  color: var(--dgray);
}

/* Backgrounds */
.bg_red {
  background: var(--red);
}

.bg_dark {
  background: var(--dark);
}

.bg_biege {
  background: var(--biege);
}

.bg_gray {
  background: var(--gray);
}

.bg_lgray {
  background: var(--lgray);
}

.bg_wtb {
  background: var(--light);
}

.bg_wtb:hover {
  background: var(--biege);
}

/* Text */
.fs-12 {
  font-size: 12px;
}

.fs-18 {
  font-size: 18px;
}

.fs-22 {
  font-size: 22px;
}

.fs-24 {
  font-size: 24px;
}

.fs-36 {
  font-size: 36px;
}

.fw-500 {
  font-weight: 500;
}

.fw-600 {
  font-weight: 600;
}

.ff-inter {
  font-family: Inter, sans-serif;
}

.text_dark {
  color: var(--dark) !important;
}

.text_red {
  color: var(--red) !important;
}

.text_gray {
  color: var(--gray) !important;
}

.text_dgray {
  color: var(--dgray) !important;
}

.d_link {
  color: var(--dark) !important;
}

.d_link:hover {
  color: var(--red) !important;
}

.nowrap {
  text-wrap: nowrap;
}

.ttu {
  text-transform: uppercase !important;
}

.tdu {
  text-decoration: underline !important;
}

.title_section {
  font-family: Inter, sans-serif;
  font-size: 48px;
  font-weight: 700;
  text-transform: none;
}

h1 span,
.title_section span,
h2 span,
h3 span {
  color: var(--red);
  font-weight: 800
}

.r_link {
  color: var(--red);
}

.r_link:hover {
  color: var(--dark);
}

.r_link:hover .icon_arrow_right {
  filter: brightness(0);
}

/* Others */
.grid {
  display: grid !important
}

;

/* clears the ‘X’ from Chrome search input */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  display: none;
}

body.page {
  margin: 0;
  overflow-x: hidden;
}

#page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#content {
  flex: 1;
  position: relative;
  z-index: 1;
}

/*section:not(#content) {overflow: hidden;}*/
.entry-content ul {
  margin: 0 0 1.5em 0;
  padding: 0;
}

.entry-content ul li {
  padding: 5px 0;
  position: relative;
}

#breadcrumbs {
  position: relative;
  z-index: 2;
}

.bread_wrap {
  color: var(--dark);
}

.bread_wrap a {
  color: var(--red);
}

/*.bc_white .bread_wrap a, .single-services .bread_wrap a, .single-vacancies .bread_wrap a {color: #fff;}*/
.p-32 {
  padding: 32px;
}

.p-96 {
  padding: 96px;
}

.py-96 {
  padding-top: 96px;
  padding-bottom: 96px;
}

.pt-96 {
  padding-top: 96px;
}

.pb-96 {
  padding-bottom: 96px;
}

.px-96 {
  padding-left: 96px;
  padding-right: 96px;
}

.flex-1 {
  flex: 1;
}

.flex-100 {
  flex: 0 0 100%;
}

.last-p-0 p:last-child {
  margin-bottom: 0;
}

.invert {
  filter: brightness(0) invert(1);
}

.site-footer ul.menu {
  gap: 8px;
  display: flex;
  flex-direction: column;
}

.box_shadow {
  box-shadow: 0px 7px 15px -1px rgba(0, 0, 0, 0.07);
  background: #fff;
}

.bb_lgray {
  border-bottom: 1px solid var(--lgray);
}

.bb_gray {
  border-bottom: 1px solid var(--gray);
}

.bl_dbiege {
  border-left: 1px solid var(--dbiege);
}

.bl_red {
  border-left: 1px solid var(--red);
}

.br_5 {
  border-radius: 5px;
  overflow: hidden;
}

.br_12 {
  border-radius: 12px;
  overflow: hidden;
}

.ul_dots ul {
  margin-left: 16px;
  padding-left: 0;
}

.ul_dots ul li:nth-child(n+2) {
  margin-top: 16px;
}

.ul_dots ul li::marker {
  color: var(--red);
}

.ul_dots p:last-child,
.ul_dots ul:last-child {
  margin-bottom: 0;
}

.container-full .container-fluid {
  padding-left: calc(((100vw - 1320px) / 2) + 12px);
  max-width: 100%;
}

.page_title_404 {
  font-size: 112px;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}

/* Icons */
.icon_phone {
  width: 16px;
  height: 16px;
  background: url(img/icon_phone.svg)no-repeat center;
  background-size: cover;
  display: inline-block;
}

.icon_mail {
  width: 16px;
  height: 16px;
  background: url(img/icon_mail.svg)no-repeat center;
  background-size: cover;
  display: inline-block;
}

.icon_pin {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  background: url(img/icon_pin.svg)no-repeat center;
  background-size: cover;
  display: inline-block;
}

.icon_time {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  background: url(img/icon_time.svg)no-repeat center;
  background-size: cover;
  display: inline-block;
}

.icon_arrow_right {
  width: 16px;
  height: 16px;
  background: url(img/icon_arrow_right.svg)no-repeat center;
  background-size: cover;
  display: inline-block;
}

.icon_eye {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background: url(img/icon_eye.svg)no-repeat center;
  background-size: cover;
  display: inline-block;
}

.icon_long_arrow_right {
  width: 35px;
  height: 12px;
  background: url(img/icon_long_arrow_right.svg)no-repeat center;
  background-size: cover;
  display: inline-block;
}

.icon_angle_down {
  width: 16px;
  height: 16px;
  flex: 0 0 20px;
  background: url(img/icon_angle_down.svg)no-repeat center;
  background-size: cover;
  display: inline-block;
}

.icon_download {
  width: 16px;
  height: 16px;
  flex: 0 0 20px;
  background: url(img/icon_download.svg)no-repeat center;
  background-size: cover;
  display: inline-block;
}

/* Slick */
.slick_nav {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
}

.dark_arrow {
  overflow: hidden;
}

.dark_arrow .slick-arrow {
  background: var(--biege);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .3s ease;
  padding: 0 !important;
  border-radius: 50px;
  /*box-shadow: 0px 7px 15px -1px rgba(0, 0, 0, 0.07);*/
}

.dark_arrow .slick-arrow svg {
  fill: var(--dark);
  transition: .3s ease;
}

.dark_arrow .slick-arrow:hover {
  background: var(--red);
}

.dark_arrow .slick-arrow:hover svg {
  fill: var(--light);
}

.dark_arrow .slick-arrow {
  position: absolute;
  z-index: 200;
  top: 50%;
  transform: translateY(-50%);
}

.dark_arrow .prev-slick {
  left: 12px;
}

.dark_arrow .next-slick {
  right: 12px;
}

.h_slider_nav {
  position: absolute;
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%);
}

/* Accordeon */
#accordeon-parent-block {
  background: #FFFFFF;
  box-shadow: 0px 6px 15px 0px rgba(0, 0, 0, 0.12);
}

#accordeon-parent-block .name-tab {
  width: 100%;
  height: 98px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 30px 70px 30px 30px;
  font-size: 24px;
  font-weight: 600;
  color: var(--color-dark);
  position: relative;
  cursor: pointer;
  transition: .3s ease;
}

#accordeon-parent-block .name-tab:hover {
  color: var(--color-link);
}

#accordeon-parent-block .name-tab span {
  margin-right: 25px;
}

#accordeon-parent-block .name-tab .plus_minus {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 30px;
  background: transparent;
  width: 20px;
  height: 20px;
  border-radius: 20px;
  border: 2px solid var(--orange);
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s ease;
}

#accordeon-parent-block .name-tab .plus_minus:before,
#accordeon-parent-block .name-tab .plus_minus:after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: block !important;
  background: var(--orange);
  border-radius: 2px;
}

#accordeon-parent-block .name-tab .plus_minus:before {
  width: 12px;
  height: 2px;
  flex: 0 0 12px;
}

#accordeon-parent-block .name-tab .plus_minus:after {
  width: 2px;
  height: 12px;
  flex: 0 0 2px;
}

#accordeon-parent-block.activate-tab .name-tab .plus_minus:after {
  content: '';
  display: none !important;
}

#accordeon-parent-block .name-tab:hover .plus_minus:after {
  content: '';
  display: none !important;
}

.accordeon-info {
  background: #fff;
  padding: 0 30px 30px;
  font-size: 16px;
  font-weight: 300;
  height: 0;
  transition: .3s ease;
}

#accordeon-parent-block.activate-tab .name-tab .plus_minus,
#accordeon-parent-block .name-tab:hover .plus_minus {
  background: transparent;
}

.table-price td:last-child {
  text-align: right;
}

#accordeon-parent-block.activate-tab .accordeon-info {
  height: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.header_menu .bvi-open {
  background: var(--light);
  padding: 16px 24px;
}

/* Home */
.hslider_wrapper {
  position: relative;
}

#h_slider .slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

#h_slider .slick-arrow.prev-slick {
  left: 96px
}

#h_slider .slick-arrow.next-slick {
  right: 96px
}

#h_slider .h_slider_item {
  position: relative;
  height: calc(100vh - 188px);
  min-height: 450px;
  background: #c4c4c4;
}

.h_slider_bg {
  height: 100%;
  object-fit: cover;
  object-position: right;
}

.h_slider__info {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.h_slider__info>div {
  max-width: 640px;
  width: 100%;
}

.h_slider__title {
  font-size: 72px;
  font-family: Inter, sans-serif;
  font-weight: 700;
}

.h_slider__title span {
  color: var(--red);
}


.service_cat_list_wrapper,
.service_item_wrapper {
  background: var(--light);
  transition: .3s ease;
}

.service_cat_list_wrapper:hover,
.service_item_wrapper:hover {
  background: var(--biege);
  box-shadow: 0px 7px 15px -1px rgba(0, 0, 0, 0.07);
}

.service_cat_list_wrapper:hover .cat_item_icon {
  filter: brightness(0);
}

.service_cat_list_wrapper .cat_item_post_list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service_cat_list_wrapper .cat_item_post_list a {
  color: var(--dark);
}

.service_cat_list_wrapper .cat_item_post_list a:hover {
  color: var(--red);
}

#h_services_pop .row>.service_item:nth-child(n+4) {
  display: none !important;
}

.service_item_wrapper {
  background: var(--biege);
  transition: .3s ease;
}

.service_item_wrapper:hover {
  background: var(--light);
  box-shadow: 0px 7px 15px -1px rgba(0, 0, 0, 0.07);
}

.dark_dots .slick-arrow {
  background: var(--light);
}

.dark_dots .slick-arrow:hover {
  background: var(--red);
}

.dark_dots .slick-arrow.prev-slick {
  left: -12px
}

.dark_dots .slick-arrow.next-slick {
  right: -12px
}

.dark_dots .slick-dots {
  margin: auto;
}

.dark_dots .slick-dots li button:before {
  background: var(--biege) !important;
}

.dark_dots .slick-dots li.slick-active button:before,
.dark_dots .slick-dots li:hover button:before {
  background: var(--red) !important;
}

.article_item__wrapper {
  background: var(--light);
  box-shadow: 0px 4px 45px -1px rgba(0, 0, 0, 0.07);
}

.article_item__wrapper:hover {
  background: var(--biege);
  box-shadow: none;
}

.article_item__wrapper:hover .b_btn {
  background: var(--red) !important;
  color: var(--light) !important;
}

.epi_step_wrapper {
  position: relative;
  z-index: 2;
  overflow: visible;
}

.epi_step_wrapper:after {
  content: '';
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 19px solid var(--light);
  display: block;
  position: absolute;
  right: -19px;
  z-index: 3;
}

.epi_step_num {
  background: var(--biege);
  color: var(--red);
  font-weight: 700;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dark_dots .clinic_gallery .slick-list {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}

.dark_dots.dark_arrow .slick-arrow {
  background: var(--biege);
}

.dark_dots.dark_arrow .slick-arrow:hover {
  background: var(--red);
}

.dark_dots .clinic_gallery .slick-arrow.prev-slick {
  left: -25px
}

.dark_dots .clinic_gallery .slick-arrow.next-slick {
  right: -25px
}

.clinic_gallery img {
  margin: 0 12px;
}

.certificates_list .slick-track {
  padding-top: 24px;
  padding-bottom: 24px;
}

.certificates_list>.cert_item:nth-child(n+5) {
  display: none !important;
}

.cert_item_wrapper {
  box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.08);
  position: relative;
}

.cert_item_wrapper:hover {
  box-shadow: none;
}

.cert_item_wrapper:after {
  content: '';
  width: 24px;
  height: 24px;
  background: url(img/icon_zoom.svg)no-repeat center;
  display: block;
  position: absolute;
  transition: .3s ease;
  opacity: 0;
}

.cert_item_wrapper img {
  opacity: 1;
  transition: .3s ease;
}

.cert_item_wrapper:hover img {
  opacity: .6;
}

.cert_item_wrapper:hover:after {
  opacity: 1;
}


.news_item__first .news_item__wrapper {
  position: relative;
}

.news_item__first .news_item__wrapper .news_item__info {
  position: absolute;
  left: 0;
  bottom: 0;
}

.news_item__wrapper {
  box-shadow: 0px 4px 45px -1px rgba(0, 0, 0, 0.07);
  background: var(--light);
  transition: .3s ease;
}

.news_item__wrapper:hover {
  box-shadow: none;
  background: var(--biege);
}

.news_item__img {
  position: relative;
}

.news_data {
  font-size: 12px;
  color: var(--dgray);
  border-radius: 26px;
  padding: 8px 10px;
  background: var(--biege);
  width: fit-content;
  margin-left: 24px;
  margin-top: 24px;
}

.news_item_small .news_data {
  position: absolute;
  left: 0;
  top: 0;
}

.news_item_small img {
  aspect-ratio: 2 / 1;
  object-fit: cover;
  width: 100%;
}

.news_item__first .news_data {
  margin: 0;
}

.news_item__first .news_item__info {
  background: var(--light);
}

.news_item__first:hover .news_item__info {
  background: var(--biege);
}

.news_item__wrapper:hover .news_data {
  background: var(--light);
}

.news_data_pa {
  position: absolute;
  background: var(--light);
}

.news_item__title {
  font-size: 18px;
  color: var(--dark);
}

.news_item__title:hover {
  color: var(--red);
}

#map,
#contacts_first {
  position: relative;
}

.map_wrapper {
  min-height: 514px;
  position: relative;
  z-index: 1;
  background: url(img/bg_map.jpg)no-repeat center;
  background-size: cover;
}

.map_info_wrapper {
  max-width: 560px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  font-size: 15px;
}

body.page-id-12 #content {
  display: flex;
}

.map_info_wrapper h1 {
  font-size: 48px;
}

.soclink {
  padding: 14px 24px;
  width: 162px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray);
  border-radius: 46px;
  font-weight: 600;
  gap: 8px;
}

.team_item_icon img {
  width: 100%;
}

#team_education th {
  font-weight: 400;
  font-size: 16px;
  color: var(--dgray);
  padding: 24px 48px;
}

#team_education tbody tr:nth-child(odd) {
  background: var(--lgray);
}

#team_education tbody td {
  padding: 24px 48px;
}

#team_advantages .advant_item_wrapper {
  box-shadow: 0 7px 15px -1px rgba(0, 0, 0, 0.07);
  background: var(--white);
}

.first_section {
  position: relative;
  margin-top: -72px;
  background: linear-gradient(90deg, #ebe6e1 0%, rgba(235, 230, 225, 0) 100%);
}

.first_bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  /*opacity: .45;*/
}

.service_price tr:nth-child(odd) {
  background: var(--lgray);
}

.col_price {
  max-width: 150px;
  text-align: right;
}

.prog_wrapper {
  box-shadow: 0 4px 45px -1px rgba(0, 0, 0, 0.07);
  background: var(--white);
}

.prog_wrapper:hover {
  box-shadow: none;
  background: var(--biege);
}

.prog_thumb img {
  aspect-ratio: 1/1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 290px;
}

footer ul.menu a {
  color: var(--dark);
}

footer ul.menu a:hover {
  color: var(--red);
}

footer ul#info-menu a {
  font-weight: 700;
}

body.bvi-active .bvi-body .bvi-link-fixed-top {
  top: 3.5rem !important;
}

.bottom_mmenu {
  height: 58px;
  width: calc(100% - 24px);
  position: fixed;
  bottom: 12px;
  left: 12px;
  z-index: 99;
}

.icon_mservices,
.icon_mdoc {
  display: flex;
  align-items: center;
  flex-direction: column;
  font-size: 12px;
  color: #fff !important;
}

.icon_mservices.active:after {
  content: 'Услуги';
}

.icon_mdoc.active:after {
  content: 'Специалисты';
}

@media (min-width: 992px) {

  /*
	.grid_news {grid-template-columns: repeat(2, 1fr);grid-template-rows: repeat(2, 1fr);}
	.grid_news > div:nth-child(n+1) { grid-area: 1 / 1 / 3 / 2; }
	.grid_news > div:nth-child(n+2) { grid-area: 1 / 2 / 2 / 3; }
	.grid_news > div:nth-child(n+3) { grid-area: 2 / 2 / 3 / 3; }
	*/
  .grid_news {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }

  .grid_news>div:nth-child(n+1) {
    grid-area: 1 / 1 / 3 / 6;
  }

  .grid_news>div:nth-child(n+2) {
    grid-area: 1 / 6 / 2 / 13;
  }

  .grid_news>div:nth-child(n+3) {
    grid-area: 2 / 6 / 3 / 13;
  }
}

@media (min-width: 1200px) {
  .container-full {
    max-width: 100%;
  }

  #h_services_pop .slick-list {
    padding-right: calc(((100vw - 1320px) / 2) + 0px);
  }

  #h_services_pop .slick-arrow.next-slick {
    right: calc(((100vw - 1320px) / 2) - 12px)
  }
}

@media (max-width: 1599px) {

  /*#h_slider .slick-arrow {transform: none;top: auto;bottom: 96px;}*/
  #h_slider .slick-arrow.prev-slick {
    left: 48px;
  }

  #h_slider .slick-arrow.next-slick {
    right: 48px;
  }

  .header_address {
    display: none !important;
  }
}

@media (max-width: 1399px) {

  h2,
  .title_section,
  .map_info_wrapper h1 {
    font-size: 42px;
  }

  h3,
  .fs-24 {
    font-size: 20px;
  }

  .container-full .container-fluid {
    padding-left: calc(((100vw - 1140px) / 2) + 12px);
  }

  .container-full .slick-list {
    padding-right: calc(((100vw - 1140px) / 2) + 0px);
  }

  .custom-logo-link img {
    width: 60px;
    height: auto;
  }

  .custom-logo-link .fs-12 {
    font-size: 8px;
  }
}

@media (max-width: 1199px) {

  h1,
  .h_slider__title {
    font-size: 42px !important;
  }

  h2,
  .title_section {
    font-size: 36px;
  }

  h3,
  .fs-24 {
    font-size: 18px;
  }

  .container-full .container-fluid {
    padding-left: calc(((100vw - 960px) / 2) + 12px);
  }

  .container-full .slick-list {
    padding-right: calc(((100vw - 960px) / 2) + 0px);
  }

  .news_item__first .news_item__wrapper .news_item__info {
    position: relative;
  }

  .first_bg .big_title {
    margin-top: 16px;
  }

  #h_services_pop .slick-list {
    padding-right: calc(((100vw - 960px) / 2) + 0px);
  }

  #h_services_pop .slick-arrow.next-slick {
    right: calc(((100vw - 960px) / 2) - 12px)
  }
}

@media (max-width: 991px) {
  .p-96 {
    padding: 48px;
  }

  .pt-96 {
    padding-top: 48px;
  }

  .pb-96 {
    padding-bottom: 48px;
  }

  .py-96 {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .px-96 {
    padding-left: 48px;
    padding-right: 48px;
  }

  .container-full .container-fluid {
    padding-left: calc(((100vw - 720px) / 2) + 12px);
  }

  .container-full .slick-list {
    padding-right: calc(((100vw - 720px) / 2) + 0px);
  }

  .prog_wrapper {
    flex-direction: column;
  }

  .prog_thumb img {
    max-width: 100%;
  }

  .bread_wrap {
    font-size: 14px;
  }

  .first_section {
    margin-top: -95px;
  }

  #h_services_pop .slick-list {
    padding-right: calc(((100vw - 720px) / 2) + 0px);
  }

  #h_services_pop .slick-arrow.next-slick {
    right: calc(((100vw - 720px) / 2) - 12px)
  }
}

@media (max-width: 767px) {
  .container-full .container-fluid {
    padding-left: calc(((100vw - 540px) / 2) + 12px);
  }

  .container-full .slick-list {
    padding-right: calc(((100vw - 540px) / 2) + 0px);
  }

  .soclink,
  .r_btn,
  .b_btn,
  .rt_btn {
    width: 100% !important;
  }

  .map_info_wrapper {
    width: 290px;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  #team_education tbody td {
    padding: 6px;
  }

  #h_slider .slick-arrow.prev-slick {
    left: 8px;
  }

  #h_slider .slick-arrow.next-slick {
    right: 8px;
  }

  .h_slider_bg {
    opacity: .3;
    object-position: right !important;
  }
}

@media (max-width: 575px) {

  h1,
  .h_slider__title,
  .map_info_wrapper h1 {
    font-size: 36px !important;
  }

  h2,
  .title_section,
  .wpcf7 h2 {
    font-size: 24px;
  }

  h3,
  .fs-24 {
    font-size: 18px;
  }

  .p-96 {
    padding: 48px 24px;
  }

  /*.py-96 {padding-top: 24px;padding-bottom: 24px;}*/
  .px-96 {
    padding-left: 24px;
    padding-right: 24px;
  }

  .container-full .container-fluid {
    padding-left: calc(((100vw - 100%) / 2) + 12px);
  }

  .container-full .container-fluid {
    padding-left: 12px;
    padding-right: 12px;
  }

  .container-full .slick-list {
    padding-right: calc(((100vw - 100%) / 2) + 0px);
  }

  .container-full .slick-list {
    padding-left: 4px;
    padding-right: 12px;
    /* 12 12 2025y */
  }

  .epi_step_wrapper:after {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-right: 12px solid transparent;
    border-left: 12px solid transparent;
    border-top: 19px solid var(--light);
    border-bottom: 0;
    right: auto;
  }

  header .icon_phone {
    width: 24px;
    height: 24px;
  }

  /*.h_slider_bg {object-position: left;}*/
  #page {
    margin-bottom: 74px;
  }
}

@media (max-width: 425px) {

  h1,
  .h_slider__title,
  .map_info_wrapper h1 {
    font-size: 28px !important;
  }

  header .header_socialnet a:nth-child(n+2) {
    display: none !important;
  }
}

/*
.wrapperImage {
	width: 100%;
	height: 400px;
}
.exmp3 img {
	border-radius:25px 25px 0 0;
	object-fit: cover;
	width: 100%;
	height: 100%;
}
*/
.service_main_img {
  background-color: #fff;
}

.service_main_img img {
  border-radius: 25px 25px 0 0;
}

.h_services_pop .service_item {
  /*min-width: 410px;

	2025y
	*/
}

.h_services_pop .service_item_desc {
  min-height: 91px;
  padding: 10px 0;
}

.doctor-image-container {
  max-height: 400px;
  overflow: hidden;
}

.buttonDoctorItems {
  text-align: center;
  min-height: 60px;
}

.r_btn.buttonDoctor {
  display: unset;
  margin: 0 7px;
}

.div_team_name {
  margin: 7px 0;
}

.nav_doctor_popSlider .team_itemBottom {
  min-height: 47px;
}


/* Модификации Михаилом Катовайсом от 21.05.2025 и старше*/
.dn {
  display: none !important;
}

.kat-header {
  display: flex;
  justify-content: space-between;
  position: fixed;
  width: 100%;
  gap: 20px 40px;
  align-items: center;
  width: 100%;
  font-family: 'Geologica', sans-serif;
  padding: 19px 17px;
  line-height: 130%;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0.85) !important;
  z-index: 10;
}

.kat-header .logo {
  display: flex;
  align-items: center;
  gap: 10px 20px;
  color: #000;
  transition: 0.1s;
  flex-shrink: 0;
}

.kat-header .logo:hover {
  color: #888888;
  transition: 0.1s;
}

.kat-header .header__main-menu {
  flex-basis: 0;
  flex-grow: 2;
}

.kat-header .header__main-menu .menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.kat-header .header__main-menu .menu a {
  display: flex;
  align-items: center;
  color: #000;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 100;
  font-size: 18px;
  padding: 8px 16px;
  transition: 0.1s;
}

.kat-header .header__main-menu .menu a:hover {
  color: #888888;
  transition: 0.1s;
}

.kat-header .header__main-menu .menu a:not([href]):hover {
  color: inherit;
  transition: 0.1s;
  cursor: default;
}

.kat-header .header__main-menu li {
  display: block;
  position: relative;
  float: left;
}

.kat-header .header__main-menu .menu-item-has-children {
  margin-right: 20px;
}

.kat-header .header__main-menu .menu-item-has-children>a:after {
  position: absolute;
  right: -6px;
  top: 9px;
  content: '';
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background: url(img/icon_chevron_down.svg)no-repeat center;
  background-size: 14px;
  display: inline-block;
  color: inherit;
}

.kat-header .header__main-menu .sub-menu {
  position: absolute;
  z-index: 5;
  visibility: hidden;
  opacity: 0;
  padding: 0;
  background-color: #FFF;
  z-index: 15;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.kat-header .header__main-menu .menu li:hover>.sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0px);
  border-radius: 12px;
  box-shadow: 0 0 50px 0px rgba(0, 0, 0, 0.14);
}

.kat-header .header__main-menu .sub-menu li {
  width: 100%;
}

.kat-header .header__main-menu .sub-menu li a {
  padding: 12px 16px;
  display: block;
}

.kat-header .header__main-menu .sub-menu li a:hover {
  color: inherit !important;
  background-color: #eeeeee;
}

.kat-header .header__main-menu .sub-menu li:first-child a {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.kat-header .header__main-menu .sub-menu li:last-child a {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.kat-header .header__main-menu .sub-menu:hover+.menu li {
  background-color: #eeeeee;
}

.kat-header .header__main-menu .sub-menu .sub-menu {
  position: absolute;
  top: 0;
  left: calc(100% - 1px);
  top: -2px;
}

.kat-header .header__main-menu .sub-menu .menu-item-has-children>a:after {
  position: absolute;
  right: -6px;
  top: 9px;
  content: '';
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background: url(img/icon_chevron_down.svg)no-repeat center;
  background-size: 14px;
  display: inline-block;
  color: inherit;
}

.kat-header .header-right-side {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 15px 40px;
  width: fit-content;
}

.kat-header .bvi-open {
  display: flex;
  gap: 3px;
  padding: 9px 18px;
  border: 1px solid #000 !important;
  background-color: #FFF !important;
  border-radius: 100px;
  color: #000 !important;
  height: fit-content;
  max-height: 100%;
  font-size: 18px;
  font-weight: 200;
  font-family: 'Geologica', sans-serif;
}

.kat-header .bvi-open:hover {
  background-color: #eeeeee !important;
}

.kat-header .bvi-open .icon_eye--black,
.kat-modal-window-mobile-menu-row .bvi-open .icon_eye--black {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background: url(img/icon_eye--black.svg)no-repeat center;
  background-size: 20px;
  display: inline-block;
}

.kat-header .header-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  font-size: 18px;
  flex-shrink: 0;
}

.kat-header .header-contacts a {
  color: #000;
  transition: 0.1s;
}

.kat-header .header-contacts a:hover {
  color: #888888;
  transition: 0.1s;
}

.header-spacer {
  width: 100%;
  height: 115px;
}

.kat-section-land {
  margin: 25px auto 0 auto;
  padding: 60px 0px 220px 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  height: 80dvh;
  background-image: url('./img/land-4.png');
  background-repeat: no-repeat;
  background-position: right 0%;
  background-size: 60%;
  max-width: 1560px;
  max-height: 1200px;
}

.kat-section-land h1 {
  font-size: 54px;
  line-height: 115%;
  font-weight: 200;
  font-family: 'Geologica', sans-serif;
}

.kat-section-land .advantages {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-weight: 200;
  font-family: 'Geologica', sans-serif;
  font-size: 18px;
  max-width: 530px;
  margin: 20px 0;
}

.kat-section-land .land-appointment-button {
  border: 1px solid #FF4E4E !important;
  background-color: #FFC5C5 !important;
  color: #560202 !important;
  padding: 16px 28px;
  border-radius: 100px;
  font-weight: 200;
  font-family: 'Geologica', sans-serif;
  font-size: 18px;
  transform: 0.1s !important;
}

.kat-section-land .land-appointment-button:hover {
  background-color: #f3a0a0 !important;
  transform: 0.1s !important;
}

.kat-section-land .other-services {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0 0 0;
  display: none;
}

.kat-section-land .land-service-button {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 100px;
  border: 1px solid #000;
  padding: 16px 28px;
  font-weight: 200;
  font-family: 'Geologica', sans-serif;
  font-size: 18px;
  color: #000;
  background-color: #FFF;
}

.kat-section-land .land-service-button:hover {
  background-color: #dddddd;
}

.kat-section-land .land-service-button::after {
  content: '';
  width: 24px;
  height: 24px;
  background: url(img/icon_arrow_right_alt--black.svg) no-repeat center;
  background-size: 24px;
}

.kat-section-land .land-service-button--icon-head::before {
  content: '';
  width: 30px;
  height: 31px;
  background-size: contain;
  background: url(img/icon_head--black.svg) no-repeat center;
}

.kat-section-land .land-service-button--icon-spine::before {
  content: '';
  width: 22px;
  height: 43px;
  background-size: contain;
  background: url(img/icon_spine--black.svg) no-repeat center;
}

.kat-section-land .land-service-button--icon-run::before {
  content: '';
  width: 27px;
  height: 38px;
  background-size: contain;
  background: url(img/icon_run--black.svg) no-repeat center;
}

.kat-mobile-menu-button {
  display: none;
}

.kat-mobile-menu-button,
.kat-mobile-menu-button:hover {
  width: 32px;
  height: 32px;
  background-size: contain;
  background: url(img/icon_hamburger--black.svg) no-repeat center !important;
  border-radius: 3px;
  border: none !important;
}

.kat-mobile-menu-button:hover {
  transform: none;
  background-color: #e2e2e2 !important;
}

.kat-modal-window-container {
  position: fixed;
  overflow-y: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  z-index: 31;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

#kat-modal-bg-mobile-menu {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  z-index: 30;
}

.kat-modal-window {
  flex-direction: column;
  z-index: 32;
  position: relative;
  gap: 10px;
  overflow-y: auto;
  border-right: 1px solid #ececec;
}

.kat-modal-window-mobile-menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px;
}

.kat-modal-window-mobile-menu-row .logo_mobile {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #000;
  transition: 0.1s;
  font-size: 13px;
  line-height: 130%;
}

.kat-modal-window-mobile-menu-row .logo_mobile:hover {
  color: #888888;
  transition: 0.1s;
}

.kat-modal-window-mobile-menu-row-right-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.kat-modal-window-mobile-menu-row .bvi-open {
  display: flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid #000 !important;
  background-color: #FFF !important;
  border-radius: 6px;
  color: #000 !important;
  height: fit-content;
  max-height: 100%;
  font-size: 18px;
  font-weight: 200;
  font-family: 'Geologica', sans-serif;
}

.kat-modal-window-mobile-menu-row .bvi-open:hover {
  background-color: #eeeeee !important;
}

.kat-modal-window-close {
  width: 32px;
  height: 32px;
  box-sizing: border-box;
  padding: 3px;
  border-radius: 6px;
  background-color: #ffffff;
  cursor: pointer;
  transition: .4s ease;
  position: relative;
  border: 1px solid #000000;
}

.kat-modal-window-close:hover {
  background-color: #eeeeee !important;
}

.kat-modal-window-close::before {
  content: "";
  border-radius: 50px;
  display: block;
  position: absolute;
  width: 2px;
  height: 20px;
  background: #000000;
  top: 6px;
  transform: rotate(45deg);
  right: 14px;
}

.kat-modal-window-close::after {
  content: "";
  display: block;
  position: absolute;
  width: 2px;
  height: 20px;
  border-radius: 50px;
  background: #000000;
  top: 6px;
  transform: rotate(135deg);
  right: 14px;
}

.kat-modal-window-close:hover:before,
.kat-modal-window-close:hover:after {
  background: #9c9c9c;
}

.menu-main-menu-container {
  width: 100%;
  padding: 0 10px;
}

.kat-mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 33;
}

.kat-mobile-menu>div {
  margin: auto;
}

.kat-mobile-menu .menu {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 20px;
}

.kat-mobile-menu .sub-menu {
  display: flex;
  flex-direction: column;
  list-style: none;
  position: initial;
  visibility: visible;
  opacity: 1;
  padding: 0 0 0 20px;
  margin: 0;
  gap: 5px;
  margin-top: 5px;
}

.kat-mobile-menu .sub-menu a:hover {
  color: #000 !important;
}

.kat-mobile-menu .menu-item-has-children {
  display: block;
}

.kat-mobile-menu .menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 7px 10px;
  border-radius: 4px;
  box-sizing: border-box;
  text-decoration: none;
  border: 1px solid #b9b9b9;
  color: #000;
  border-radius: 6px;
  transition: .3s ease;
  text-align: center;
}

.kat-mobile-menu .menu a:hover {
  background-color: #eee;
}

.kat-anchor {
  position: relative;
  top: -150px;
}

/* Popup Попап */
.kat-popup-container {
  display: flex;
  z-index: 60;
}

.kat-popup--medium {
  font-weight: 200;
  font-family: 'Geologica', sans-serif;
  background-color: #292A2D;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  box-shadow: 0px 0px 150px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 10px;
  z-index: 50;
}

.kat-popup--medium a {
  color: white;
  text-decoration: underline;
}

.kat-popup--medium a:hover {
  color: #3392EA;
}

.kat-popup--top-left {
  position: fixed;
  top: 10px;
  left: 10px;
}

.kat-popup--top-right {
  position: fixed;
  top: 10px;
  right: 10px;
}

.kat-popup--bottom-left {
  position: fixed;
  bottom: 10px;
  left: 10px;
}

.kat-popup--bottom-right {
  position: fixed;
  bottom: 10px;
  right: 10px;
}

#we-using-cookies-popup {
  font-size: 16px;
  font-weight: 500;
}

.kat-popup-button {
  padding: 4px 9px;
  background-color: #FFF;
  border-radius: 100px;
  color: #000;
  cursor: pointer;
  user-select: none;
}

/* Страницы */
.kat-h1 {
  font-family: 'Geologica', serif;
  font-size: 54px;
  font-weight: 200;
  line-height: 115%;
  text-align: center;
}

.kat-h2 {
  font-family: 'Geologica', serif;
  font-size: 40px;
  font-weight: 100;
  line-height: 115%;
}

.kat-prices-doc{
    text-align:center;
    display:block;
    margin: 0 auto 20px auto;
    font-size: 20px;
    text-decoration: underline;
}

.kat-prices-grid {
  display: grid;
  gap: 45px;
}

.kat-prices-card {
  display: grid;
  gap: 35px;
  border-radius: 20px;
  border: 1px solid #DDD;
  padding: 30px;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: anywhere;
}

.kat-spoiler {
  font-family: 'Geologica', serif;
  max-width: 970px;
  width: fit-content;
}

.kat-spoiler summary {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Geologica', serif;
  font-size: 30px;
  font-weight: 100;
  line-height: 115%;
  color: #000;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.kat-spoiler summary:hover {
  text-decoration: underline;
}

.kat-spoiler summary:after {
  display: block;
  content: '';
  background-image: url('./img/icon_chevron_down.svg');
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 3px;
  background-repeat: no-repeat;
  background-size: 20px;
  transition: 0.2s;
}

.kat-spoiler details[open] summary:after {
  transform: rotate(180deg);
  right: 10px;
}

.kat-spoiler-content {
  user-select: text;
  margin-top: 16px;
}

.kat-prices-card-grid {
  display: grid;
  gap: 40px;
}

.kat-price-table {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 20px;
  font-size: 20px;
  line-height: 115%;
  font-weight: 100;
}

.kat-price-table .price {
  text-align: right;
  font-weight: 400;
}

.kat-price-table .service {
  font-weight: 100;
  font-size: 18px;
  text-wrap: balance;
}

@media (max-width:1680px) {
  .kat-header .header__main-menu {
    display: none;
  }

  .kat-mobile-menu-button {
    display: flex;
    margin: auto;
  }

  .kat-section-land {
    background-position: 630px 0%;
  }
}

@media (max-width:1480px) {
  .kat-section-land {
    background-position: 100% 0%;
  }
}

@media (max-width:1315px) {
  .kat-section-land {
    background-size: 50%;
  }
}

@media (max-width:1040px) {
  .kat-header .bvi-open {
    display: none;
  }

  .kat-section-land {
    padding: 20px;
    height: auto;
    background-size: 60%;
  }
}

@media (max-width:888px) {
  .kat-section-land {
    padding: 0 20px;
    background-size: 50%;
  }

  .kat-section-land h1 {
    font-size: 30px !important;
    margin-bottom: 0 !important;
  }

  .kat-section-land .advantages {
    font-size: 16px;
    max-width: 55%;
    margin: 20px 0 30px 0 !important;
  }

  .kat-header {
    padding: 5px 10px;
  }

  .kat-mobile-menu-button,
  .kat-mobile-menu-button:hover {
    padding: 0 !important;
    height: 48px !important;
    width: 48px !important;
  }

  .kat-header .header-contacts {
    font-size: 14px;
    gap: 2px;
  }

  .kat-mobile-menu .menu {
    padding-bottom: 85px;
  }

  .header-spacer {
    height: 77px;
  }

  .kat-anchor {
    top: -120px;
  }
}

@media (max-width:750px) {
  .kat-header .logo {
    display: none;
  }

  .kat-mobile-menu-button {
    display: flex;
    margin: 0;
  }

  .kat-section-land .land-service-button {
    font-size: 13px;
  }

  .kat-section-land .other-services {
    margin: 0;
  }

  .kat-popup--medium {
    bottom: 80px;
  }

  .kat-spoiler {
    width: 100%;
  }

  .kat-price-table {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .kat-price-table .price {
    text-align: left;
  }

  .kat-price-table .service {
    margin-bottom: 20px;
  }

  .kat-prices-card {
    padding: 20px;
  }

  .kat-spoiler summary {
    font-size: 24px;
  }
}

@media (max-width:528px) {
  .kat-section-land h1 {
    font-size: 22px !important;
    margin-bottom: 0 !important;
  }

  .kat-section-land .advantages {
    font-size: 16px;
    max-width: 40%;
  }

  .kat-section-land {
    background-size: 65%;
  }

  .kat-section-land .land-service-button {
    padding: 10px 18px;
  }
}

@media (max-width:484px) {
  .kat-section-land {
    background-position: 100% 45px;
    background-size: 100%;

  }

  .kat-section-land h1 {
    width: 100%;
  }

  .kat-section-land h1 br:last-child {
    display: none;
  }

  .kat-section-land .advantages {
    margin-top: 230px !important;
    max-width: 100%;
  }

}





@font-face {
  font-family: "Geologica";
  src: url('./fonts/Geologica-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "Geologica";
  src: url('./fonts/Geologica-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}