/***************** Global *****************/
/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@600&family=Roboto:wght@300;500&display=swap");

/* Colors */
:root {
  --primary-color: #0c9fdc;
  --primary-color-lg: #c4d9ff;
  --primary-color-dk: #09658d;
  --primary-color-dark-headers: #06425c;
  --secondary-color: #cc2c7e;
  --secondary-color-dk: #84114c;
  --secondary-color-lg: #d188ae;
  --grey-color-lg: #eeeeee;
  --grey-color-dk: #9d9d9d;

  --font-color-bk: #2f2f2f;
  --font-color-wt: #fbfbfb;

  --rounded-border: 0.375rem;
  --shadow-darker: 0 5px 10px rgba(0, 0, 0, 0.3);
  --shadow-light: 0 5px 10px rgba(0, 0, 0, 0.15);
  --radius: 0.5rem;
  --font-header: "Roboto Slab", serif;
  --font-body: "Roboto", sans-serif;

  --animation-curve: cubic-bezier(0.12, 0.7, 0.74, 0.71);
}

body {
  font-family: var(--font-body);
  font-weight: lighter;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bolder;
  font-family: var(--font-header);
  color: var(--primary-color-dk);
}

.section-header {
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-align: center;
  justify-content: middle;
  display: flex;
  justify-content: center;
  flex-direction: column;
  /* text-transform: uppercase; */
}
.decorative_line {
  width: 85%;
  align-self: center;
}

.section-image {
  max-width: 100%;
}

/* .section-text {
    padding: 0 1rem;
} */

@media screen and (min-width: 768px) {
  .section-text {
    padding-left: 0;
  }
  .decorative_line {
    width: 50%;
  }
}

.bottom-links .link-dark {
  text-decoration: none;
}

.card {
  -o-object-fit: contain;
  object-fit: contain;
}

.service-btn {
  box-shadow: var(--shadow-light);
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  color: var(--font-color-bk);
  width: 100%;
  margin-bottom: 1rem;
  margin-top: 1rem;
}
.service-btn:hover {
  background-color: var(--grey-color-lg);
  color: var(--font-color-bk);
}

.service-btn i {
  font-size: 0.95rem;
  margin-right: 0.25rem;
}

.cta-buttons {
  margin-top: 1rem;
}

.cta-primary {
  background-color: var(--secondary-color);
  color: var(--font-color-wt);
  box-shadow: var(--shadow-light);
}

.cta-primary:hover {
  background-color: var(--secondary-color-dk);
  color: var(--font-color-wt);
}

.cta-secondary {
  background-color: var(--secondary-color-dk);
  color: var(--font-color-wt);
}

.cta-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--font-color-wt);
}

/***************** Login Page *****************/
.login {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
  min-height: 100vh;
}

.login .section-header {
  display: block;
}

.login .login-form {
  display: flex;
  flex-direction: column;
  align-self: center;
}

.login .navbar-logos {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.login .navbar-logos .navbar-brand {
  display: flex;
  justify-content: center;
}

.login .navbar-logos .navbar-brand img {
  max-width: 50%;
}

.login-form .bg-danger {
  color: var(--font-color-wt);
  font-size: 1rem;
  text-align: center;
  margin: 1rem 0.25rem;
  border-radius: var(--radius);
}

@media screen and (min-width: 768px) {
  .login .navbar-logos .navbar-brand img {
    max-width: 50%;
  }
}

/***************** Animated Call Button *****************/
.animated_call_btn {
  z-index: 99;
  height: 3rem;
  width: 3rem;
  border-radius: 50%;
  background-color: var(--secondary-color);
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  -webkit-animation: scaling 2s var(--animation-curve) infinite;
  animation: scaling 2s var(--animation-curve) infinite;
}

@-webkit-keyframes scaling {
  0% {
    transform: scale(1);
    background-color: var(--secondary-color);
  }
  100% {
    transform: scale(1.5);
    background-color: rgba(204, 44, 126, 0);
  }
}

@keyframes scaling {
  0% {
    transform: scale(1);
    background-color: var(--secondary-color);
  }
  100% {
    transform: scale(1.5);
    background-color: rgba(204, 44, 126, 0);
  }
}
.phone {
  z-index: 100;
  background-color: var(--secondary-color);
  color: var(--font-color-wt);
  font-size: 1.5rem;
  animation: phone 1s var(--animation-curve) infinite alternate-reverse;
  display: grid;
  justify-content: center;
  align-items: center;
  border: 0.5px white solid;
}

@-webkit-keyframes phone {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.2);
  }
}

@keyframes phone {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.2);
  }
}

.circle_1 {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}

.circle_2 {
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
}

@media screen and (min-width: 1400px) {
  .animated_call_btn {
    right: 12%;
    bottom: 2%;
  }
}
@media screen and (min-width: 2000px) {
  .animated_call_btn {
    right: 15%;
  }
}
@media screen and (min-width: 3000px) {
  .animated_call_btn {
    right: 30%;
  }
}

/* Floating Chat Button */
.chat-floating {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  z-index: 110; /* выше mobile bottom nav */
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
}

/* основная кнопка чата */
.chat-main-btn {
  border: 0.5px solid #fff;
  background-color: var(--secondary-color);
  color: var(--font-color-wt);
  box-shadow: var(--shadow-darker);
  cursor: pointer;
  outline: none;

  /* FLEX вместо GRID для горизонтального выравнивания */
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;

  /* размеры и форма */
  height: 3rem;
  padding: 0 1rem;
  border-radius: var(--radius);
  min-width: 14rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* иконка в кнопке */
.chat-main-btn i {
  font-size: 1.4rem;
  flex-shrink: 0; /* иконка не сжимается */
  min-width: 1.4rem;
}

.chat-label {
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font-body);
  text-transform: uppercase;
  flex-shrink: 1; /* текст сжимается при нехватке места */
}

/* выпадающее меню */
.chat-menu {
  display: none;
  flex-direction: column;
  margin-bottom: 0.5rem;
  background-color: var(--font-color-wt);
  box-shadow: var(--shadow-darker);
  border-radius: var(--radius);
  overflow: hidden;
}

/* пункты меню */
.chat-menu-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  color: var(--font-color-bk);
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
}

.chat-menu-item i {
  font-size: 1.25rem;
  margin-right: 0.5rem;
}

.chat-menu-item:hover {
  background-color: var(--grey-color-lg);
}

/* активное состояние (меню открыто) */
.chat-floating.open .chat-menu {
  display: flex;
}

/* на мобилке: скрываем */
@media screen and (max-width: 992px) {
  .chat-floating {
    display: none;
  }
  /* 
  .chat-main-btn {
    width: 3rem !important;
    height: 3rem;
    min-width: auto;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }

  .chat-label {
    display: none;
  } */
}

/* адаптация под большие экраны как у old .animatedcallbtn */
@media screen and (min-width: 1400px) {
  .chat-floating {
    right: 2rem;
    bottom: 2rem;
  }
}

@media screen and (min-width: 2000px) {
  .chat-floating {
    right: 15rem;
  }
}

@media screen and (min-width: 3000px) {
  .chat-floating {
    right: 30rem;
  }
}

/***************** Navigation *****************/
.navbar-brand img {
  width: 70%;
}

.nav-item {
  white-space: nowrap;
}

.hero_link {
  cursor: pointer;
}
.hero_nolink {
  cursor: default;
}

/* navbar-mobile - items displayed on mobile */
.navbar-mobile .navbar-nav {
  justify-content: space-around;
}

.navbar-mobile i {
  font-size: 2rem;
  color: var(--primary-color);
}

@media screen and (min-width: 1200px) {
  .navbar-mobile {
    display: none;
  }

  .navbar-brand img {
    width: 50%;
  }

  /* navbar-desktop - items displayed on desktop */
  .navbar-desktop .navbar-nav {
    flex-direction: column;
    display: flex;
    justify-content: space-evenly;
  }
  .navbar-nav .contact-item {
    width: 100%;
    margin-bottom: 0;
  }
  .navbar-desktop .contact-item {
    width: 100%;
  }
  .navbar-desktop .phonenumber {
    font-size: 1.95rem;
  }

  @media screen and (min-width: 1400px) {
    .navbar-desktop .phonenumber {
      font-size: 2.26rem;
    }
  }

  .navbar-desktop .contact-address {
    font-size: 1.25rem;
  }

  .navbar-desktop .booking-btn {
    background-color: var(--primary-color-dk);
    color: var(--font-color-wt);
    width: 90%;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
  }

  .navbar-desktop .booking-btn:hover {
    color: var(--primary-color-dk);
    background-color: var(--font-color-wt);
    border: 1px solid var(--primary-color-dk);
  }
  .navbar-desktop .booking-btn:hover h5 {
    color: var(--font-color-bk);
  }

  .navbar-desktop .booking-btn .contact-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
  }

  .navbar-desktop .booking-btn h5 {
    margin-bottom: 0;
    color: var(--font-color-wt);
  }

  /* navbar-navbar */
  /* .navbar-navbar {
        display: flex;
        justify-content: center;
        padding: 0;
        background-color: var(--primary-color);
    }
    .navbar-navbar .navbar-nav {
        flex-direction: row;
        justify-content: space-evenly;
        width: 100%;
    }
    .navbar-navbar .navbar-nav .nav-item {
        margin-left: 1rem;
    }
    .navbar-navbar .navbar-nav .nav-item:hover {
        text-decoration: underline;
        color: white;
    }
    .navbar-navbar .navbar-nav .nav-item .nav-link {
        font-size: 1.25rem;
        font-weight: bold;
        color: var(--font-color-wt);
    } */

  /* MAKING CHANGES HERE */
  .navbar-navbar {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 100%;
    padding: 0;
    background-color: var(--primary-color);
    height: 3rem;
  }
  .navbar-navbar .nav-item {
    /* margin-left: 1rem; */
    list-style-type: none;
  }
  .navbar-navbar .nav-item:hover {
    text-decoration: underline;
    color: white;
  }
  .navbar-navbar .nav-item .nav-link {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--font-color-wt);
  }
  .navbar-navbar .nav-item .nav-link.dropdown-toggle-split {
    width: 1rem;
  }
  /* MAKING CHANGES HERE */

  /* Вертикальный разделитель для navbar */
  .navbar-navbar .nav-divider {
    width: 1px;
    height: 2rem;
    background-color: rgba(255, 255, 255, 0.3); /* полупрозрачная белая линия */
    margin: 0.5rem 0.5rem;
    align-self: center;
    list-style: none;
  }
}

@media (max-width: 991.98px) {
  .navbar-navbar .nav-divider {
    display: none; /* скрываем на мобильных */
  }
}

@media screen and (max-width: 1199px) {
  .navbar-desktop {
    display: none;
  }
  .navbar-navbar {
    display: none;
  }
}

/***************** Search bar *****************/
.search-container {
  margin-bottom: 0.5rem;
}

.search-container form {
  display: flex;
  width: 90%;
  position: relative;
}

.search-container button {
  position: absolute;
  /* z-index: 100; */
  right: 0;
  background-color: var(--primary-color-dk);
  color: var(--font-color-wt);
}

.search-container button:hover {
  background-color: var(--font-color-wt);
  color: var(--primary-color-dk);
  border: 1px solid var(--primary-color-dk);
}

.search-container button i {
  font-size: 1.25rem;
}

/***************** Mobile Bottom Navigation *****************/
.mobile_bottom_nav {
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  left: 0;
  /* margin-top: 0.275rem; */
  /* border-top: 1px solid var(--grey-color-dk); */
  background-color: var(--font-color-wt);
  box-shadow: var(--shadow-light);
  /* width: 100vw; */
}

.mobile_bottom_nav .nav {
  padding-top: 0.5rem;
  justify-content: space-evenly;
  /* padding-bottom: 0.5rem; */
}

.mobile_bottom_nav .nav-item {
  font-size: 0.75rem;
  color: var(--primary-color-dk);
}

.mobile_bottom_nav .nav-item .nav-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--primary-color-dk);
  margin-bottom: 0.25rem;
}

.mobile_bottom_nav .nav-item button.nav-link {
  border: none;
  background: inherit;
}

.mobile_bottom_nav .nav-item .navbar {
  padding: 0;
  max-width: 100vw;
  max-height: 100vh;
}

.mobile_bottom_nav .nav-item .nav-link i {
  margin-bottom: 0.25rem;
}

.offcanvas-title .company_logo {
  width: 33%;
}

.mobile_bottom_nav .navbar .offcanvas {
  background: linear-gradient(
    -45deg,
    var(--primary-color),
    var(--secondary-color-dk)
  );
}

.mobile_bottom_nav .navbar .search-container {
  padding-left: 1rem;
}

.mobile_bottom_nav .navbar .search-container form {
  width: 100%;
}

.mobile_bottom_nav .navbar .nav-link {
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--font-color-wt);
  border-radius: var(--radius);
  width: 100%;
}

.mobile_bottom_nav .navbar .nav-link:hover {
  background-color: var(--secondary-color-lg);
}

.mobile_bottom_nav .navbar .nav-item .nav-link {
  display: inline-block;
}

.mobile_bottom_nav .navbar .offcanvas .offcanvas-header {
  padding-right: 2rem;
  padding-left: 2rem;
  padding-bottom: 1rem;
}

.mobile_bottom_nav .navbar .offcanvas .offcanvas-body i {
  margin-right: 0.25rem;
}

.mobile_bottom_nav .social_media_links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  color: var(--font-color-wt);
}

.mobile_bottom_nav .social_media_links .nav-link {
  text-align: center;
}

.mobile_bottom_nav .social_media_links .nav-link i {
  font-size: 1.75rem;
}

.mobile_bottom_nav .offcanvas-header .btn-close {
  font-size: 1.25rem;
  background-color: pink;
  border-radius: 50%;
}

@media screen and (max-width: 1200px) {
  .mobile_bottom_nav .navbar .offcanvas .nav-link {
    padding-left: 1rem;
  }

  /*.mobile_bottom_nav .nav-item .social_media_links .nav-link {*/
  /*  padding-left: 0;*/
  /*}*/
  .mobile_bottom_nav .nav-item .online-consultation {
    margin-top: 0.5rem;
  }
}

@media screen and (min-width: 1200px) {
  .mobile_bottom_nav .navbar .offcanvas {
    background: none;
  }

  .mobile_bottom_nav .navbar .offcanvas .offcanvas-body i {
    display: none;
  }
  /* .navbar .offcanvas .nav-link {
        padding-left: 0;
    } */
}

@media screen and (min-width: 1199px) {
  .mobile_bottom_nav {
    display: none;
  }
}

/***************** Services Navigation *****************/
.services_nav {
  display: none;
}

.services_nav .service-btn {
  box-shadow: none;
  border: 1px solid var(--primary-color-dk);
}

.services_nav .nav-item .active {
  background-color: var(--grey-color-lg);
  color: var(--primary-color-dk);
}

.services_nav .nav-link.active {
  color: var(--primary-color-dk);
}

.services_nav h6 {
  display: inline;
}

.services_nav .nav-link {
  color: var(--font-color-bk);
}

.services_sublist {
  display: none;
  list-style: none;
  padding-left: 0;
}

@media screen and (min-width: 992px) {
  .services_nav {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
  }

  .services_nav .nav-item {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    text-decoration: underline;
  }

  .services_sublist {
    padding-left: 0;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
  }

  .services_sublist li {
    max-width: 45%;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }
  .services_sublist .nav-item span {
    word-wrap: break-word;
    text-overflow: ellipsis;
    overflow: hidden;
  }
}

/***************** Footer Navigation *****************/
.footer_nav {
  margin-bottom: 0.5rem;
}

.footer_services_dropdown {
  height: 10rem;
  -o-object-fit: contain;
  object-fit: contain;
  overflow-y: scroll;
}
.footer_services_dropdown .nav-link {
  white-space: wrap;
}

.footer_nav .social_media_links {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.footer_nav .social_media_links .nav-link {
  text-align: center;
}
.footer_nav .social_media_links .nav-link:hover {
  color: var(--font-color-bk);
}

.footer_nav .social_media_links .nav-link i {
  font-size: 1.5rem;
}

.footer_nav .dropdown-divider {
  border: 1px solid var(--grey-color-dk);
}

.footer_nav .service-icon {
  width: 1.25rem;
}

.footer_nav_max_link {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

@media screen and (min-width: 992px) {
  .footer_nav {
    display: flex;
    flex-direction: row !important;
    justify-content: space-evenly;
  }

  .footer_services_dropdown .nav-link {
    white-space: nowrap;
  }

  /* .footer_nav .nav-link {
        border-bottom: none;
        padding-left: 1rem;
        border-radius: var(--radius);
    }

    .footer_nav .dropdown-menu {
        /* margin-top: 2rem; */
  /* background-color: var(--primary-color-dk);
        border: none;
        position: relative;
        display: block;
        flex-direction: column;
        padding-top: 0; */
  /* } */
}

/***************** Page: Index.php *****************/

/* Hero */
.hero-container {
  width: 100%;
  padding-right: 0;
  padding-left: 0;
}

.hero-carousel {
  box-shadow: var(--shadow-light);
  overflow: hidden;
}

.hero-carousel-link {
  display: block;
  position: relative;
  color: var(--font-color-wt);
  text-decoration: none;
}

.hero-carousel-link:hover {
  color: var(--font-color-wt);
}

.hero-carousel-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.hero-carousel-caption {
  position: absolute;
  top: 50%;
  left: 1.5rem;
  right: 1.5rem;
  transform: translateY(-50%);
  z-index: 2;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 12%;
  z-index: 3;
}

.hero-carousel .carousel-indicators {
  margin-bottom: 0.5rem;
  z-index: 3;
}

.hero {
  min-height: 30vh;
  max-width: 100%;
  /* background-image: url("../images/main_banner_mobile.jpg"); */
  /* background-image:
     linear-gradient(
        to top,
        rgba(0, 0, 0, 0.2),
        rgba(0, 0, 0, 0.1)
    ),
    url("../images/main_banner.jpg"); */
  background-position: center;
  background-size: inherit;
  background-repeat: no-repeat;
  padding-left: 1.5rem;
  box-shadow: var(--shadow-light);
}

.hero-slogan,
.hero-text {
  color: var(--font-color-wt);
}

@media screen and (min-width: 992px) {
  .hero-carousel-img {
    aspect-ratio: 13 / 3;
  }

  .hero-carousel-caption {
    left: 3rem;
    right: 3rem;
  }

  .hero {
    height: 45vh;
    /* background-image: url("../images/main_banner_desktop_blue.jpg"); */
  }
}

@media screen and (min-width: 1199px) {
  .hero {
    min-height: 20vh;
    /* background-image: url("../images/main_banner_desktop_blue.jpg"); */
  }
}

@media screen and (min-width: 992px) and (min-height: 768px) {
  .hero {
    max-height: 40vh;
    /* background-image: url("../images/main_banner_desktop_blue.jpg"); */
  }
}
@media screen and (min-width: 992px) and (min-height: 840px) {
  .hero {
    max-height: 35vh;
    /* background-image: url("../images/main_banner_desktop_blue.jpg"); */
  }
}
@media screen and (min-width: 992px) and (min-width: 992px) and (min-height: 976px) {
  .hero {
    max-height: 30vh;
    /* background-image: url("../images/main_banner_desktop_blue.jpg"); */
  }
}
@media screen and (min-width: 992px) and (min-height: 1148px) {
  .hero {
    max-height: 25vh;
    /* background-image: url("../images/main_banner_desktop_blue.jpg"); */
  }
}
@media screen and (min-width: 992px) and (min-height: 1371px) {
  .hero {
    max-height: 20vh;
    /* background-image: url("../images/main_banner_desktop_blue.jpg"); */
  }
}
@media screen and (min-width: 992px) and (min-height: 1701px) {
  .hero {
    max-height: 15vh;
    /* background-image: url("../images/main_banner_desktop_blue.jpg"); */
  }
}

@media screen and (max-width: 1200px) {
  .card {
    margin-top: 0.5rem;
  }
}

/***************** Services-section *****************/
.service-help {
  display: flex;
  /* flex-flow: column; */
  justify-content: center;
  text-align: center;
  padding: 0.5rem;
  margin-bottom: 1rem;
  background-color: var(--grey-color-lg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-light);
}

.service-help .btn {
  box-shadow: var(--shadow-darker);
}

.services-section .col-md-12 {
  display: flex;
  justify-content: center;
}

.service-help .service-btn,
.services-section .col-md-12 .service-btn {
  background-color: var(--primary-color);
  color: var(--font-color-wt);
  justify-content: center;
  box-shadow: var(--shadow-darker);
  text-transform: uppercase;
}

.service-help .service-btn:hover,
.services-section .col-md-12 .service-btn:hover {
  background-color: var(--font-color-wt);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.service-icon {
  max-width: 2rem;
  display: inline;
  margin-right: 0.25rem;
}

.services-section .service-btn i {
  margin-left: 0.25rem;
  margin-right: 0;
  margin-bottom: 0.125rem;
}

.services-section .mobile_buttons .service-btn {
  font-size: 0.9rem;
  justify-content: center;
}

.services-section .mobile_buttons .active {
  background-color: var(--grey-color-lg);
}

.service-img {
  display: flex;
  flex-flow: column;
  /* justify-content: center;
    text-align: center; */
  /* padding: 0.5rem; */
  margin-bottom: 1rem;
  /* background-color: var(--grey-color-lg); */
  /* border-radius: var(--radius); */
}

.service-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-darker);
}

@media screen and (min-width: 992px) {
  .service-help .service-btn,
  .services-section .col-md-12 .service-btn {
    width: 30%;
    align-self: center;
  }

  /*.services-section .mobile_buttons,*/
  /*.services-section .mobile-services-list,*/
  /*.decorative_line_mobile {*/
  /*  display: none;*/
  /*}*/
}

/***************** Search-page-section *****************/
.search-page-section .col-md-12 {
  display: flex;
  justify-content: center;
}

.search-page-search {
  position: relative;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-darker);
  border-radius: var(--radius);
}

.search-page-search form {
  width: 100%;
}

.search-page-search form > .fa-search {
  position: absolute;
  /* z-index: 10; */
  top: 30%;
  left: 0.75rem;
  color: var(--grey-color-dk);
}

.search-page-search .fa-xmark {
  position: absolute;
  font-size: 1.25rem;
  /* z-index: 10; */
  top: 25%;
  right: 15%;
  color: var(--font-color-bk);
  display: none;
}

.search-page-search .fa-xmark:hover {
  cursor: pointer;
}

@media screen and (min-width: 768px) {
  .search-page-search .fa-xmark {
    right: 10%;
  }
}

@media screen and (min-width: 992px) {
  .search-page-search .fa-xmark {
    right: 6%;
  }
}

.show-xmark {
  display: inline-block !important;
}

.search-page-search input {
  padding-left: 2rem;
  font-size: 0.9rem;
  line-height: 1.5rem;
}

.service-help .service-btn,
.search-page-section .col-md-12 .service-btn {
  background-color: var(--primary-color);
  color: var(--font-color-wt);
  justify-content: center;
  box-shadow: var(--shadow-darker);
  text-transform: uppercase;
}

.search-page-section .service-btn i {
  margin-left: 0.25rem;
  margin-right: 0;
  margin-bottom: 0.125rem;
}

.search-page-section .service-help {
  display: flex;
  flex-flow: row;
  justify-content: center;
  text-align: center;
  padding: 0.5rem;
  margin-bottom: 1rem;
  background-color: var(--grey-color-lg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-light);
}

.search-result-type {
  background-color: var(--primary-color);
  border-radius: var(--radius);
  padding: 0.5rem;
  color: var(--font-color-wt);
}

.search-result-type.promo {
  background-color: var(--secondary-color);
}

.search-result-type.news {
  background-color: var(--secondary-color);
  padding: 0.5rem;
}

.search-result-value-time {
  text-align: right;
  padding-right: 1rem !important;
}

.promo-end-date {
  font-size: 0.85rem;
  text-align: right;
}

.blog-posted-date {
  font-size: 0.85rem;
  text-align: right;
}

.blog-photo img {
  box-shadow: var(--shadow-darker);
  border-radius: var(--radius);
}

.news-posted-date {
  font-size: 0.85rem;
  text-align: right;
}

.search-result-body {
  overflow: hidden;
  word-wrap: break-word;
  text-overflow: ellipsis;
  margin-top: 1rem;
  margin-bottom: 1rem;
  max-height: 3rem;
  line-height: 1.6rem;
}

.search-page-section .table {
  caption-side: top;
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  box-shadow: var(--shadow-darker);
}

.search-results caption {
  background-color: var(--primary-color);
  color: var(--font-color-wt);
  width: 100%;
  padding-left: 0.5rem;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}

.search-result-item a,
.search-result-value a {
  width: 100%;
  height: 100%;
}

.search-result-item > a {
  font-weight: bold;
}

.search-result-item a:hover,
.search-result-value a:hover,
.promo-end-date a:hover {
  color: inherit;
}

.search-result-item {
  padding: 1rem !important;
}

.search-result-heading {
  display: inline-flex;
  justify-content: space-between;
  font-weight: bold;
}

.search-result-value {
  width: 20%;
  font-weight: bold;
  font-size: 1.1rem;
  text-align: right;
}

.search-result-value i {
  font-size: 1rem;
}

.search-result-code-time {
  font-weight: 100;
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.search-result-code {
  font-size: 0.9rem;
}

.search-result-time {
  font-size: 0.9rem;
}

.search-results-none {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

@media screen and (max-width: 768px) {
  .search-page-section .table {
    font-size: 0.8rem;
  }

  .search-result-value i {
    font-size: 0.75rem;
  }

  .search-result-item {
    width: 75%;
  }

  .search-result-value {
    font-size: 0.9rem;
    width: 25%;
    text-align: center;
  }

  .search-result-item > a,
  .search-result-value,
  .search-result-value i {
    line-height: 1.6rem;
    font-size: 0.7rem;
  }

  .search-result-code {
    font-size: 0.7rem;
  }

  .search-result-time {
    font-size: 0.7rem;
  }
}

/************ Pagination ************/
.pager {
  justify-content: space-around;
  margin-left: 0.75rem;
  margin-right: 0.5rem;
  margin-bottom: 1rem;
}
.pager .page-link,
.pager .form-select {
  font-size: 0.75rem;
}
.pagination {
  justify-content: center;
}

.pager .page-link {
  color: var(--font-color-bk);
}

.active > .page-link {
  background-color: var(--primary-color);
  border-color: var(--primary-color-dk);
  color: var(--font-color-wt);
}

.main_admin .pager .form-select {
  color: var(--primary-color-dk);
}

@media screen and (min-width: 768px) {
  .pagination {
    justify-content: flex-start;
  }

  .pager {
    margin-bottom: 0;
  }
}

/***************** Search Page Pagination *****************/
.pagination-container {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  justify-content: center;
}

.pagination-number,
.pagination-button {
  font-size: 1.1rem;
  background-color: transparent;
  border: none;
  margin: 0.25rem 0.25rem;
  cursor: pointer;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 0.2rem;
}

.pagination-number:hover,
.pagination-button:not(.disabled):hover {
  background: #fff;
}

.pagination-number.page-active {
  color: var(--font-color-wt);
  background: var(--primary-color);
  display: inline-block !important;
}

tr.hidden {
  display: none !important;
}

tr.active {
  display: block !important;
}

/***************** Promo-section *****************/
.promo-section > .row {
  justify-content: center;
}
.promo-section > .row > .col-md-12 {
  display: flex;
  justify-content: center;
}
.promo-single {
  height: 100%;
  margin-bottom: 1rem;
}
.promo-card {
  width: 100%;
  /* height: 10rem; */
  -o-object-fit: cover;
  object-fit: cover;
  justify-content: center;
  box-shadow: var(--shadow-light);
  border-radius: var(--radius);
}
.promo-section .service-btn {
  background-color: var(--primary-color);
  color: var(--font-color-wt);
  justify-content: center;
  box-shadow: var(--shadow-darker);
  text-transform: uppercase;
}

.promo-photo img {
  box-shadow: var(--shadow-darker);
  border-radius: var(--radius);
}

.promo-section .promo-photo {
  margin-bottom: 1rem;
}

.promo-section .service-btn {
  background-color: var(--primary-color);
  color: var(--font-color-wt);
  justify-content: center;
}

.promo-section .service-btn:hover {
  background-color: var(--font-color-wt);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

@media screen and (min-width: 768px) {
  /*.promo-single {*/
  /*  height: 20rem;*/
  /*}*/

  /*.promo-card {*/
  /*  height: 20rem;*/
  /*}*/

  .promo-section .service-btn {
    width: 30%;
  }

  .promo-description .service-btn {
    width: 100%;
  }
}

/***************** Blog-section *****************/
.blog-section {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  background-color: var(--grey-color-lg);
  border-radius: var(--radius);
}
.blog-section .section-header {
  padding-top: 1rem;
  margin-top: 1rem;
}

.blog-section .row {
  margin-bottom: 1rem;
  justify-content: center;
}

.blog-section .card {
  box-shadow: var(--shadow-darker);
}

.blog-section .card-body p {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.blog-section .card-text {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  height: 2rem;
  margin-bottom: 0.5rem;
}

.blog-section .blog-btn {
  display: flex;
  float: right;
  align-items: center;
  font-size: 0.75rem;
  height: 1.5rem;
  background-color: var(--primary-color);
  color: var(--font-color-wt);
}

.blog-section .btn {
    box-shadow: var(--shadow-darker);
}

.blog-section .col-12 {
  display: flex;
  justify-content: center;
}

.blog-section .service-btn {
  background-color: var(--primary-color);
  color: var(--font-color-wt);
  justify-content: center;
  box-shadow: var(--shadow-darker);
  text-transform: uppercase;
}

.blog-section .blog-btn:hover,
.blog-section .service-btn:hover {
  background-color: var(--font-color-wt);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.blog-description-body {
  text-align: justify;
}
.blog-description-body p {
  margin-bottom: 0.25rem;
}

.blog-section .single-blog {
  justify-content: flex-end;
}

@media screen and (min-width: 768px) {
  .blog-section .service-btn {
    width: 29.999084249%;
  }

  .blog-section .card {
    margin-bottom: 1rem;
  }

  .blog-section .row {
    margin-bottom: 0;
  }

  .blog-description .blog-date {
    float: right;
  }
}

/* Contact */
.contact-section {
  padding: 1rem;
  background-color: var(--grey-color-lg);
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}

.contact-section .section-header {
  margin-top: 0;
}

.contact-items {
  text-align: left;
}

.contact-item {
  margin-bottom: 0.5rem;
}

.contact-item .btn {
  box-shadow: var(--shadow-darker);
}

.contact-text {
  font-size: medium;
}

.contact-map iframe {
  height: 17.5rem;
  width: 100%;
}

.contact-form .textarea {
  min-height: 8rem;
}

.contact-text {
  white-space: nowrap;
  font-weight: lighter;
}

.contact-address {
  font-size: 0.92rem;
  white-space: pre-wrap;
}

.contact-schedule {
  font-size: 0.92rem;
  white-space: pre-wrap;
}

@media screen and (min-width: 768px) {
  .contact-address {
    font-size: 1rem;
  }
  
  .schedule .contact-icon {
    font-size: 1.35rem;
  }

  .contact-schedule {
    font-size: 1.35rem;
    white-space: pre-wrap;
  }
}

.email-btn {
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 0.375rem 0.5rem;
  border-radius: var(--radius);
  font-weight: 400;
  background: var(--primary-color);
  color: var(--font-color-wt);
  box-shadow: var(--shadow-light);
}

.email-btn:hover {
  color: var(--primary-color-dk);
  background: var(--font-color-wt);
}

.email {
  text-transform: uppercase;
  display: none;
}
.email .contact-text {
  color: var(--primary-color-dk);
  text-decoration: none;
}
a {
  color: var(--font-color-bk);
  text-decoration: none;
}

.contact-section .service-btn {
  background-color: var(--primary-color);
  color: var(--font-color-wt);
  justify-content: center;
  box-shadow: var(--shadow-darker);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.contact-section .service-btn:hover {
  background-color: var(--font-color-wt);
  color: var(--primary-color-dk);
}

/* .contact #submit { } */

/* Footer */
.footer {
  padding-bottom: 1rem;
  background-color: var(--primary-color-dk);
}

.footer .bottom-links {
  text-align: center;
}
.footer a:hover {
  color: var(--grey-color-dk) !important;
}

.service-help #amoforms_action_btn,
.contact-items #amoforms_action_btn {
  background-color: var(--primary-color) !important;
  color: var(--font-color-wt) !important;
  justify-content: center !important;
  box-shadow: var(--shadow-darker) !important;
  text-transform: uppercase !important;
  margin-bottom: 0.5rem !important;
  font-family: var(--font-body) !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  margin-top: 1rem !important;
  text-align: center !important;
  text-decoration: none !important;
  vertical-align: middle !important;
  cursor: pointer !important;
  border-radius: var(--radius) !important;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}

.service-help #amoforms_action_btn:hover,
.contact-items #amoforms_action_btn:hover {
  background-color: var(--font-color-wt) !important;
  color: var(--primary-color-dk) !important;
}

@media screen and (min-width: 992px) {
  .service-help #amoforms_action_btn {
    width: 30% !important;
    align-self: center !important;
  }
}

.navbar-desktop #amoforms_action_btn {
  background-color: var(--primary-color-dk) !important;
  color: var(--font-color-wt) !important;
  font-family: var(--font-body) !important;
  text-transform: uppercase !important;
  font-size: 0.85rem !important;
  box-shadow: var(--shadow-darker) !important;
  padding: 0 !important;
  width: 90% !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: var(--radius) !important;
}

.navbar-desktop #amoforms_action_btn:hover {
  color: var(--primary-color-dk) !important;
  background-color: var(--font-color-wt) !important;
  border: 1px solid var(--primary-color-dk) !important;
}

@media screen and (min-width: 1400px) {
  .navbar-desktop #amoforms_action_btn {
    font-size: 1rem !important;
  }
}

/***************** Page: all_services.php *****************/
.services-booking .btn-warning {
  margin-top: 1rem;
  font-size: 1.25rem;
}

.services-photo {
  -o-object-fit: cover;
  object-fit: cover;
}

.services-additional-info {
  margin-top: 1rem;
  text-align: right;
}

.services-description-body p {
  margin-bottom: 0.25rem;
}

.services-specific {
  margin-bottom: 1rem;
}

.mobile-services-list {
  list-style-type: none;
  padding-left: 0;
}

.decorative_line_mobile {
  width: 100%;
  margin-bottom: 1rem;
  padding-right: 10%;
  padding-left: 10%;
}

@media screen and (max-width: 768px) {
  .services-description {
    margin-top: 0.5rem;
  }
}

/***************** News-section *****************/
.news-section {
  margin-bottom: 1rem;
}
.news-section .row {
  margin-bottom: 1rem;
  justify-content: center;
}

.news-section .card {
  box-shadow: var(--shadow-darker);
}

.news-section .card-body p {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.news-section .card-text {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  height: 2rem;
  margin-bottom: 0.5rem;
}

.news-section .news-btn {
  display: flex;
  float: right;
  align-items: center;
  font-size: 0.75rem;
  height: 1.5rem;
  background-color: var(--primary-color);
  color: var(--font-color-wt);
}

.news-section .col-12 {
  display: flex;
  justify-content: center;
}

.news-section .service-btn {
  background-color: var(--primary-color);
  color: var(--font-color-wt);
  justify-content: center;
  box-shadow: var(--shadow-darker);
  text-transform: uppercase;
}

.news-section .news-btn:hover,
.news-section .service-btn:hover {
  background-color: var(--font-color-wt);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.news-section .btn {
  box-shadow: var(--shadow-darker);
}

.news {
  padding: 1rem;
  background-color: var(--fourth-color);
}

.news-description-body {
  text-align: justify;
}
.news-description-body p {
  margin-bottom: 0.25rem;
}

.news-photo {
  min-width: 100%;
  min-height: 100%;
}

.news-photo img {
  box-shadow: var(--shadow-darker);
  border-radius: var(--radius);
}

.news-section .single-news {
  justify-content: flex-end;
}

@media screen and (min-width: 768px) {
  .news-section .service-btn {
    width: 29.999084249%;
  }

  .news-section .row {
    margin-bottom: 0;
  }

  .news-section .card {
    margin-bottom: 1rem;
  }

  .news-description .news-date {
    float: right;
  }
}

/***************** Page: all_doctors.php *****************/
.doctors-section {
  margin-bottom: 1rem;
}
.doctors-section .row {
  margin-bottom: 1rem;
  justify-content: center;
}

.doctors-section .card {
  box-shadow: var(--shadow-darker);
}

.doctors-section .card-body p {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.doctors-section .card-text {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  height: 2rem;
  margin-bottom: 0.5rem;
}

.doctors-specific .doctors-btn {
  margin-bottom: 1rem;
}

.doctors-specific .doctors-card {
  margin-bottom: 1rem;
}

.doctors-section .doctors-btn {
  display: flex;
  /* float: right; */
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  height: 1.5rem;
  padding: 1rem;
  margin-top: 0.5rem;
  background-color: var(--primary-color);
  color: var(--font-color-wt);
}

.doctors-section .doctors-btn:hover {
  background-color: var(--font-color-wt);
  color: var(--primary-color-dk);
  border: 1px solid var(--primary-color-dk);
}

.doctors-section .doctors-position h6,
.doctors-section .doctors-specialty h6,
.doctors-section .doctors-experience h6,
.doctors-section .doctors-takes h6 {
  display: inline-block;
}

.doctors-section .card-body {
  padding-bottom: 0;
}

.doctors-section .doctors-details {
  display: none;
  padding: 0 1rem 1rem;
  position: absolute;
  top: 99%;
  width: 100%;
  background-color: var(--font-color-wt);
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.doctors-hours {
  margin-top: 0.5rem;
}

.show-details {
  display: block !important;
}

.doctors-section .doctors-details .doctors-location-value,
.doctors-section .doctors-details .doctors-hours-value {
  font-size: 0.9rem;
}

.doctors-section .doctors-location h6,
.doctors-section .doctors-hours h6 {
  margin-bottom: 0.25rem;
}

.doctors-section .col-12 {
  display: flex;
  justify-content: center;
}

.doctors {
  padding: 1rem;
  background-color: var(--fourth-color);
}

.doctors-description-body {
  text-align: justify;
}
.doctors-description-body p {
  margin-bottom: 0.25rem;
}

.doctors-section .doctors-more {
  justify-content: center;
  align-content: center;
  display: flex;
  background-color: var(--grey-color-lg);
  border-radius: var(--radius);
  margin-top: 0.25rem;
}

.doctors-section .doctors-more:hover {
  background-color: var(--grey-color-dk);
}

.doctors-section .doctors-more:hover a {
  color: var(--font-color-wt);
}

.doctors-section .doctors-card .doctors-btn span {
  padding-left: 0.25rem;
}

@media screen and (min-width: 992px) {
  .doctors-section .doctors-details {
    z-index: 50;
  }
}

@media screen and (max-width: 992px) {
  .doctors-section .card-image {
    justify-content: center;
    display: flex;
  }

  .doctors-section .doctors-photo {
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    margin-top: 0.5rem;
    box-shadow: var(--shadow-light);
  }

  .doctors-section .doctors-details {
    display: block;
    position: relative;
    box-shadow: var(--shadow-light);
  }
}

@media screen and (min-width: 768px) {
  .doctors-section .service-btn {
    width: 29.999084249%;
  }

  .doctors-section .row {
    margin-bottom: 0;
    justify-content: flex-start;
  }

  .doctors-section .card {
    margin-bottom: 1rem;
  }

  .doctors-section .doctors-details .doctors-location-value,
  .doctors-section .doctors-details .doctors-hours-value {
    font-size: 0.85rem;
  }
}

/***************** Page: doctor.php *****************/
.doctors-section .doctors-photo-lg {
  padding: 0;
  box-shadow: var(--shadow-darker);
}

/***************** Page: doctors_schedule.php *****************/
@media screen and (max-width: 992px) {
  .doctors-schedule-section .table {
    font-size: 0.5rem;
  }
}

/***************** Page: about_us.php *****************/
.about-us-section .about-us-photo img {
  box-shadow: var(--shadow-darker);
  border-radius: var(--radius);
}

.about-us-section .about-us-photo {
  margin-bottom: 1rem;
}

.about-us-text {
  text-align: justify;
}

.about-us-section .service-btn {
  background-color: var(--primary-color);
  color: var(--font-color-wt);
  justify-content: center;
}

.about-us-section .service-btn:hover {
  background-color: var(--font-color-wt);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

/***************** Page: questions.php *****************/
.questions-section {
  margin-bottom: 1rem;
}

.questions-section .single-question .answer {
  margin-bottom: 1rem;
}

.questions-section .question-btn {
  background-color: var(--grey-color-lg);
  color: var(--primary-color-dk);
  font-weight: bold;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  text-align: start;
  box-shadow: var(--shadow-darker);
  /* margin-bottom: 1rem; */
}

.question-btn:hover {
  background-color: var(--primary-color) !important;
  color: var(--font-color-wt);
}

/***************** Page: price_list.php *****************/
.price-list-section {
  margin-bottom: 1rem;
}

.price-list-section .service-help .btn {
  font-size: 1rem;
}

/* Price list calculator toggle */
.add-to-calculator {
  padding: 0.15rem 0.5rem;
  font-size: 0.85rem;
  line-height: 1;
  border: 1px solid var(--grey-color-dk);
  transition: all 0.2s ease;
  min-width: 2rem;
}

.add-to-calculator.btn-success {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--font-color-wt);
}

.add-to-calculator:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-light);
}

/* Price list calculator summary */
.calculator-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: flex-end;
}

.calculator-summary span {
  font-size: 1rem;
  font-weight: 500;
}

#clear-calculator {
  padding: 0.25rem 0.75rem;
  font-size: 0.85rem;
}

#clear-calculator:hover {
  background-color: var(--grey-color-dk) !important;
  color: var(--font-color-wt);
}

/* Calculator services list */
.calculator-services-list {
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 1rem;
  padding: 0.5rem;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  border: 1px solid var(--grey-color-lg);
}

.calculator-service-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--grey-color-lg);
}

.calculator-service-item:last-child {
  border-bottom: none;
}

.service-name {
  flex: 1;
  font-weight: 500;
  color: var(--primary-color-dk);
}

.service-qty {
  margin: 0 0.5rem;
  font-size: 0.85rem;
  color: var(--grey-color-dk);
  min-width: 2.5rem;
}

.service-price {
  font-weight: bold;
  color: var(--primary-color);
  min-width: 4rem;
  text-align: right;
}

.calculator-send {
  display: flex;
  justify-content: flex-end;
  /* align-content: flex-start; */
  flex-wrap: wrap;
}

.calculator-send .btn {
  margin-left: 1rem;
}

.calculator-send .form-text {
  text-align: right;
}

#send-calculator-whatsapp {
  margin-right: 0 !important;
}

.calculator-service-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.calculator-service-item .service-name {
  flex: 1;
}

.calculator-remove-btn {
  padding: 0.1rem 0.4rem;
  line-height: 1;
}

/* Responsive для мобильных */
@media (max-width: 768px) {
  .calculator-services-list {
    max-height: 150px;
  }

  .calculator-service-item {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    gap: 0.25rem;
  }

  .service-price {
    text-align: left;
    /* align-self: flex-end; */
  }
}

/***************** price_list sidenav *****************/
.price-list-section .nav-pills {
  box-shadow: var(--shadow-darker);
  border-radius: var(--radius);
  padding-right: 0;
}

.price-list-section .nav-link {
  color: var(--font-color-bk);
  justify-content: flex-start;
  display: flex;
  align-items: center;
  width: 100%;
}

.price-list-section .nav-pills .nav-link.active {
  background-color: var(--primary-color);
}

.price-list-section .nav-link i {
  margin-right: 0.25rem;
}

@media screen and (max-width: 1200px) {
  .price-list-desktop-nav {
    display: none;
  }
}

/***************** price_list mobile nav *****************/
.price-list-mobile-nav {
  margin-bottom: 1rem;
}

.price-list-mobile-nav select {
  box-shadow: var(--shadow-light);
}

.price-list-mobile-nav .floatingSelect {
  margin-left: 0.75rem;
}

@media screen and (min-width: 1200px) {
  .price-list-mobile-nav {
    display: none;
  }
}

/***************** price_list content *****************/
.price-list-section .table {
  caption-side: top;
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  box-shadow: var(--shadow-darker);
}

.price-list caption {
  background-color: var(--primary-color);
  color: var(--font-color-wt);
  width: 100%;
  padding-left: 0.5rem;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); */
}

.price-list-item a,
.price-list-value a {
  display: block;
  width: 100%;
  height: 100%;
}

.price-list-item a:hover,
.price-list-value a:hover {
  color: inherit;
}

.price-list-item {
  font-weight: bold;
  width: 88%;
}
.price-list-value {
  width: 12%;
  font-weight: bold;
  font-size: 1.1rem;
}
.price-list-value i {
  font-size: 1rem;
}

.price-list-code-time {
  font-weight: 100;
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.price-list-code {
  font-size: 0.9rem;
}

.price-list-time {
  font-size: 0.9rem;
}

.important_info ul {
  padding-left: 1rem;
}

.important_info li {
  margin-bottom: 0.5rem;
}

@media screen and (max-width: 768px) {
  .price-list-section .table {
    font-size: 0.8rem;
  }

  .price-list-value i {
    font-size: 0.9rem;
  }

  .price-list-item {
    width: 75%;
  }
  .price-list-value {
    width: 25%;
    text-align: center;
  }

  .price-list-code {
    font-size: 0.7rem;
  }

  .price-list-time {
    font-size: 0.7rem;
  }

  .important_info li {
    font-size: 0.7rem;
  }
}

/***************** price_list search bar *****************/
.price-list-search {
  position: relative;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-darker);
  border-radius: var(--radius);
}

.price-list-search form {
  width: 100%;
}

.price-list-search form > .fa-search {
  position: absolute;
  /* z-index: 10; */
  top: 30%;
  left: 0.75rem;
  color: var(--grey-color-dk);
}

.price-list-search .fa-xmark {
  position: absolute;
  font-size: 1.25rem;
  /* z-index: 10; */
  top: 25%;
  right: 8%;
  color: var(--font-color-bk);
  display: none;
}

.price-list-search .fa-xmark:hover {
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .price-list-search .fa-xmark {
    right: 15%;
  }
}

.show-xmark {
  display: inline-block !important;
}

.price-list-search input {
  padding-left: 2rem;
  font-size: 0.9rem;
  line-height: 1.5rem;
}

/***************** vacancies.php *****************/
.vacancies-section {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.vacancies-advantages {
  margin-top: 1rem;
}

.vacancies-advantages i {
  color: var(--primary-color);
  margin-right: 1rem;
}

.vacancies-advantages .card-body {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.vacancies-section .row {
  margin-bottom: 1rem;
}

.vacancies-section .card {
  box-shadow: var(--shadow-darker);
}

.vacancies-section .vacancies-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-darker);
}

.vacancies-section .card-body p {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.vacancies-section .card-text {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  height: 2rem;
  margin-bottom: 0.5rem;
}

.vacancies-section .vacancies-date {
  font-size: 0.75rem;
}

.vacancies-section .send-resume-btn {
  width: 40%;
  background-color: var(--primary-color);
  color: var(--font-color-wt);
  border-radius: var(--radius);
  box-shadow: var(--shadow-light);
  text-transform: uppercase;
  font-weight: bold;
}

.vacancies-section .send-resume-btn:hover {
  background-color: var(--font-color-wt);
  color: var(--primary-color);
}

.vacancies-section .vacancies-btn {
  display: flex;
  float: right;
  align-items: center;
  font-size: 0.75rem;
  height: 1.5rem;
  background-color: var(--primary-color);
  color: var(--font-color-wt);
}

.vacancies-section .col-12 {
  display: flex;
  justify-content: center;
}

.vacancies-section .col-12 {
  display: flex;
  justify-content: center;
}

@media screen and (min-width: 768px) {
  .vacancies-section .row {
    margin-bottom: 0;
  }

  .vacancies-section .card {
    margin-bottom: 1rem;
  }
}

/***************** service.php *****************/
.single-service-section {
  margin-bottom: 1rem;
}

.service-details {
  display: flex;
  flex-direction: column;
}
/* .service-details h3, .service-details h4, .service-details h5, .service-details h6 {
    color: var(--primary-color-dark-headers);
} */

.service-details .decorative_line {
  align-self: center;
}

.service-price i {
  font-size: 92%;
}

.service-description {
  margin-top: 1rem;
}

.service-important-info {
  padding-left: 1rem;
}

.service-important-info li::marker {
  color: var(--primary-color-dk);
}

#services_side_nav {
  padding-left: 0;
}
#services_side_nav .accordion-item {
  list-style-type: none;
}

@media screen and (max-width: 1199px) {
  #services_side_nav {
    display: none;
  }
}
/*
===================
Accept Cookies Modal
===================
*/
.hideModal {
  visibility: hidden;
}
.modalWrapper {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0%;
  width: 100%;
  /* height: 10%; */
  background-color: var(--primary-color-lg);
}
.modalBody {
  width: 100%;
  padding: 0.5em 0 0.5em 0;
}
/* .modalBody a {
  color: var(--clr-fourth-5);
  font-weight: bolder;
} */
.modalBody a:hover {
  color: var(--primary-color-lg);
  transition: var(--transition);
}
.modalMain {
  font-size: 0.75rem;
  margin: 0.5rem;
}
.modalMain p {
  margin: 0.5rem;
  margin-bottom: 0.5rem;
}
.acceptCookies {
  display: block;
  float: right;

  font-size: 1rem;
  margin: 1rem;
  background-color: var(--primary-color);
  color: var(--font-color-wt);
}
.acceptCookies:hover {
  background-color: var(--grey-color-dk);
  color: var(--font-color-wt);
}

/* Partners section */
.partners-section {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  /* background-color: var(--grey-color-lg); */
  border-radius: var(--radius);
}

.partners-section .section-header {
  padding-top: 1rem;
  margin-top: 1rem;
}

.partners-wrapper {
  overflow-x: auto;
  padding: 0.5rem 0;
}

.partners-list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 0.5rem 0;
  min-width: max-content; /* чтобы можно было скроллить, если логотипов много */
}

.partner-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-item img {
  max-height: 3rem; /* размер иконок */
  max-width: 6rem;
  object-fit: contain;
  filter: grayscale(0.2);
  opacity: 0.9;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    filter 0.2s ease;
}

.partner-item img:hover {
  transform: scale(1.05);
  opacity: 1;
  filter: grayscale(0);
}

/* Video Section */
.video-section {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  background-color: var(--grey-color-lg);
  border-radius: var(--radius);
}

.video-section .section-header {
  padding-top: 1rem;
  margin-top: 1rem;
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* Соотношение 16:9 */
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-darker);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 480px;
  max-height: 850px;
  border: none;
  border-radius: inherit;
}

.video-date {
  font-size: 0.85rem;
  color: var(--grey-color-dk);
  display: block;
  margin-bottom: 0.5rem;
}

.video-btn {
  display: flex;
  float: right;
  align-items: center;
  font-size: 0.75rem;
  height: 1.5rem;
  background-color: var(--primary-color);
  color: var(--font-color-wt);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-darker);
  text-decoration: none;
  transition: all 0.15s ease-in-out;
}

.video-btn:hover {
  background-color: var(--font-color-wt);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

