/*
Theme Name: Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/

/* Add your custom styles here... */




/* Header */
/*  */

/* header.fl-theme-builder-header-sticky .header-hide-row{
  display: none;
} */

.header-hide-row {
  max-height: 100px;
  opacity: 1;



  transition:
    max-height 0.45s ease,
    opacity 0.2s ease;


}

.fl-theme-builder-header-sticky .header-hide-row {
  max-height: 0;
  opacity: 0;
}

.header-row .fl-row-content-wrap {
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: box-shadow 0.3s ease;
}

.fl-theme-builder-header-sticky .header-row .fl-row-content-wrap {
  box-shadow: 0px 12px 25px 0px #828C9D33;

}

/* Раскрываюшиеся списки */

.phones-dropdown {
  position: relative;
  display: inline-block;
  z-index: 5;
}

.phones-dropdown-header {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 6px;
}

.phones-chevron {
  width: 18px;
  height: 18px;
  background-color: #2E4771;
  /* цвет стрелки */
  transition: transform .25s ease;

  -webkit-mask: url('/wp-content/uploads/2025/11/arrow-down.svg') no-repeat center;
  -webkit-mask-size: contain;

  mask: url('/wp-content/uploads/2025/11/arrow-down.svg') no-repeat center;
  mask-size: contain;
}

/* Поворот при открытии */
.phones-dropdown.open .phones-chevron {
  transform: rotate(180deg);
}

.phones-popup {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid #828C9D;
  border-radius: 8px;
  padding: 16px 24px 24px 24px;
  display: none;
  width: 295px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  z-index: 9999;
}

.phones-dropdown.open .phones-popup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.phones-popup .phones-popup-list,
.phones-popup .phones-schedule {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.phones-popup .phones-schedule {
  margin-bottom: 16px;
}

.phones-popup .phones-popup-list a,
.phones-popup .phones-schedule .popup-phones-schedule {
  font-size: 16px;
  font-weight: 600;
  color: #1E3A8A;
}

.gray-text {
  color: #828C9D;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* заголовок */
.phones-popup-title {
  font-size: 20px;
  font-weight: 600;
  color: #1E3A8A;
}

.phones-popup-btn .btn-link {
  font-size: 18px;
  color: #1E3A8A;
  font-weight: 600;
  padding: 12px 17px;
}


.phones-dropdown a,
.email-link a,
.schedule {
  font-size: 20px;
  font-weight: 600;
  color: #1E3A8A;
  text-decoration: none;

  display: flex;
  align-items: center;
  gap: 8px;
}

.phones-dropdown a:hover,
.email-link a:hover {
  color: #172D6B;
}

/* Мобильное меню */


#menu-ru-mobile-menu {
  padding: 0 32px;
}

#menu-ru-mobile-menu.uabb-creative-menu-horizontal .uabb-menu-toggle:before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;

  background-color: currentColor;

  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 3L10 8L6 13' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;

  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 3L10 8L6 13' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

#menu-ru-mobile-menu.uabb-creative-menu-horizontal li .uabb-menu-toggle:before {
  display: inline-block;
  transition: transform 0.25s ease;
  transform-origin: center;
}

#menu-ru-mobile-menu.uabb-creative-menu-horizontal li.uabb-active .uabb-menu-toggle:before {
  transform: rotate(90deg);
}

.call-back-btn{
  margin-bottom: 32px;
}


/* Поиск хедер */

.search-bar {
  position: relative;
  /* width: 60%; */
}

.search-bar-input {
  padding: 8px 16px;
  background: transparent !important;
  border: 1px solid #111827 !important;
  border-radius: 12px !important;
  font-size: 16px !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;

}

/* при фокусе */

.search-bar-input:focus {
  border-color: #2A6CB0 !important;
  box-shadow: 0 0 5px rgba(42, 108, 176, 0.5);
  outline: none;
}

.search-bar-btn,
.search-bar-btn:hover {
  position: absolute;
  top: 6px;
  right: 16px;
  display: block;
  padding: 0;
  background-color: transparent;
  width: 24px;
  height: 24px;
  font-size: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: none;
  outline: none;
  text-decoration: none;
  background-image: url('/wp-content/uploads/2026/05/search-normal.svg');
  background-repeat: no-repeat;
  /* background-size: 16px; */
  background-position: center;
}

.search-input {
  flex: 1 1 auto;
  min-width: 0;
}


/* Языковой переключатель */

.custom-select {
  position: relative;

  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
}

.custom-select .selected {
  padding: 8px 25px 0px 10px;
  background: transparent;
  z-index: 10;
  position: relative;
}

.custom-select .options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;

  display: none;
  z-index: 10;
}

.custom-select.open .options {
  display: block;
  color: #354866;
}

.custom-select .lang-option {
    padding: 5px 10px 5px 10px;
    border-radius: 16px;
    background: #fff;
    display: inline-block;
    border: 1px solid #828C9D;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    line-height: 1;
}

.custom-select .lang-option:hover {
  color: #111827;  
  background: #fff;
}


/* ▼ треугольник */
.custom-select::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 55%;
  transform: translateY(-50%);

  width: 0;
  height: 0;

  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #000;
  /* цвет треугольника */
}

.custom-select::after {
  transition: transform 0.2s ease;
}

.custom-select.open::after {
  transform: translateY(-50%) rotate(-180deg);
}

/* Языковой переключатель в линию */
.lang-switcher option[selected="selected"] {
  display: none;
}

.custom-lang-switcher {
  display: flex;
  align-items: center;
}

.custom-lang-switcher .lang-item {
  font-size: 18px;
  font-weight: 600;
  color: #828C9D;
  text-decoration: none;
  padding: 0 4px;
}

.custom-lang-switcher .current-lang {
  color: #212B3C;
}

/* иконки социальных сетей */

.social-icons {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.social-icons a {
  color: #1E3A8A;
  transition: color 0.25s ease;
}

.social-icons a:hover {
  color: #172D6B;
}

.social-icons.depart-single {
  justify-content: center;
}

/*  */
/* Footer */
/*  */

ul.site-phones-simple-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.site-phones-simple-list li {
  margin-bottom: 10px;
}

ul.site-phones-simple-list a {
  font-size: 20px;
  font-weight: 600;
  color: #1E3A8A;
  text-decoration: none;

  display: flex;
  align-items: center;
  gap: 8px;
}

ul.site-phones-simple-list a:hover{
  color: #172D6B !important;
}




@media (max-width: 768px) {

  .site-phones-simple-list,
  .email-link {
    text-align: center;
  }
}

/*  */
/* Всплывающее меню Десктоп */
/*  */

.uabb-offcanvas-close-icon-wrapper {
  display: none;
}

.mmenu .search-bar-input {
  padding: 20px !important;
}

.mmenu .search-bar-btn,
.mmenu .search-bar-btn:hover {
  top: 20px;
}

/*  */
/* Мобильное меню */
/*  */

.mobile-menu-insert-before {
  background: #fff;
  padding: 8px 16px;
}

.mobile-menu-search-bar {
  margin-top: 40px;
  padding: 0 32px;
}

.uabb-creative-menu.menu-open .uabb-off-canvas-menu {
  width: 100% !important;
}

ul#menu-mobile-menu-ru,
ul#menu-mobile-menu-ua {
  margin-top: 40px;
  padding: 0 32px;
}

.mobile-menu-insert-after {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
  padding: 0 32px;
}

.mobile-menu-insert-after .search-bar {
  width: 100%;
}

.mobile-menu-insert-after .custom-lang-switcher {
  margin-top: 25px;
  margin-bottom: 40px;
}

.mobile-menu-insert-after .social-icons {
  margin: 32px 0;
}


/*  */
/* Иконки */
/*  */

/* .icon-left-center {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.icon-left-center span,
.icon-left-center img {
  margin-right: 20px;
} */

/* .dep-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 4px;
  background-color: #fff;
  vertical-align: middle;
  -webkit-mask: url('/wp-content/uploads/2025/11/direct-right.svg') no-repeat center;
  mask: url('/wp-content/uploads/2025/11/direct-right.svg') no-repeat center;
  mask-size: contain;
} */

/* .call-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 4px;
  background-color: #fff;
  vertical-align: middle;
  -webkit-mask: url('/wp-content/uploads/2025/11/calling.svg') no-repeat center;
  mask: url('/wp-content/uploads/2025/11/calling.svg') no-repeat center;
  mask-size: contain;
} */

/* .sms-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 4px;
  background-color: #fff;
  vertical-align: middle;
  -webkit-mask: url('/wp-content/uploads/2025/11/sms-edit.svg') no-repeat center;
  mask: url('/wp-content/uploads/2025/11/sms-edit.svg') no-repeat center;
  mask-size: contain;
} */

/*  */
/* Кнопки */
/*  */

.btn-link {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;

  text-decoration: none;
  color: #1E3A8A !important;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;

  border-radius: 16px;
  padding: 20px 40px;

  background: #F8ED24;

  cursor: pointer;
  user-select: none;

  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Hover — уменьшаем непрозрачность, можно добавить подъём */
.btn-link:hover,
.btn-link:focus {
  color: #1E3A8A;
  text-decoration: none;
  background: #FADE18;
}

/* SVG внутри кнопки */

.btn-icon {
  width: 20px;
  height: 20px;
  display: block;
}

/*  */
/* Sidebar */
/*  */

.vertical-menu-shortcode .menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vertical-menu-shortcode .menu-item {
  margin-bottom: 20px;
}

.vertical-menu-shortcode .menu-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;

  color: #2E4771;
  padding: 16px 17px;

  border: 1px solid #D7D9DF;
  border-radius: 8px;
}

.vertical-menu-shortcode .menu-item a:hover,
.vertical-menu-shortcode .menu-item.active a {
  color: #fff;
  background: #2E4771;
}


.vertical-menu-shortcode .menu-item-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin: 8px;
}

.vertical-menu-shortcode .menu-item a:hover .menu-item-icon,
.vertical-menu-shortcode .menu-item.active .menu-item-icon {
  filter: brightness(0) invert(1);
}

/*  */
/* График работы */
/*  */


/* Общий контейнер */
.schedule-single {
  text-align: center;
  /* background: #F5F6FA; */

  border: 1px solid #828C9D;
  border-radius: 8px;
  padding: 40px 0;
}

/* Заголовки */
.schedule-single p {
  margin-bottom: 15px;
}

/* Универсальный блок "таблицы" */
.schedule-table {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #ddd;
  margin-bottom: 20px;
  background: #fff;
  color: #2E4771;
}

/* Ячейки */
.schedule-table>div {
  padding: 20px 15px;
  border-right: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.schedule-table>div:last-child {
  border-right: none;
}

/* Мобильная адаптация */
@media (max-width: 767px) {
  .schedule-table>div {
    border-right: none;
    border-bottom: 1px solid #ddd;
    padding: 12px 10px;
    flex-direction: row;
    justify-content: space-between;
  }

  .schedule-table>div:last-child {
    border-bottom: none;
  }
}

/* ==== ВЫДЕЛЕНИЕ ДЛЯ АНАЛИЗОВ ==== */

/* только если таблица имеет класс is-highlight */

.schedule-table.is-highlight.even {
  background: #2E4771;
  color: #fff;
}

.schedule-table.is-highlight.odd {
  background: #F5F6FA;
  color: #2E4771;
}

/* Иконка услуги */
.schedule-single .price-service-title {
  display: flex;
  align-items: center;
  gap: 12px;
}


/* */
/* Контактные формы */
/* */

.cf-border .uabb-cf7-style {
  border: 1px solid #D7D9DF;
  border-radius: 8px;
}

form.wpcf7-form textarea,
form.wpcf7-form input:not(.wpcf7-submit) {
  background-color: #F5F6FA !important;
}

.user-ico {
  background: url("/wp-content/uploads/2025/11/user.svg") no-repeat !important;
  background-position: 15px 20px !important;

  padding-left: 40px !important;
}

.phone-ico {
  background: url("/wp-content/uploads/2025/11/call-add-1.svg") no-repeat !important;
  background-position: 15px 20px !important;

  padding-left: 40px !important;
}

.ms-ico {
  background: url("/wp-content/uploads/2025/11/message-question.svg") no-repeat !important;
  background-position: 15px 20px !important;

  padding-left: 40px !important;
  padding-top: 20px !important;
}

.send-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  /* отступ между иконкой и текстом */
  vertical-align: middle;

  /* используем маску для svg */
  -webkit-mask: url('/wp-content/uploads/2025/11/mouse-circle.svg') no-repeat center;
  mask: url('/wp-content/uploads/2025/11/mouse-circle.svg') no-repeat center;
  mask-size: contain;

  /* цвет иконки */
  background-color: #fff;
}

button[type=submit].mouse-circle {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;

  text-decoration: none;
  color: #fff;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;

  border-radius: 8px;
  padding: 16px 40px;

  background: radial-gradient(49.85% 99.69% at 49.85% 50.83%,
      #344C64 0%,
      #2F3943 100%);

  transition: opacity 0.25s ease, transform 0.25s ease;

  margin: 40px 0;
}

/* Hover — уменьшаем непрозрачность, можно добавить подъём */
button[type=submit].mouse-circle:hover,
button[type=submit].mouse-circle:focus {
  color: #fff;
  text-decoration: none;
  opacity: 0.85;
  transform: translateY(-2px);
}

.wpcf7-not-valid-tip {
  padding: 10px 0;
}

input.wpcf7-not-valid {
  border-color: red !important;
}

input[type=submit] {
  padding: 23px 0 !important;
}

.wpcf7-spinner,
.wpcf7-response-output {
  display: none !important;
}


/* Список адресов */

/* .departments-list .dept-header {
  background: #2E4771;
  color: #fff;
  border-radius: 8px;
  
}

.departments-list .dept-header>div {
  padding: 19px;
}



.departments-list .container {
  max-width: 100%;
}

.departments-list .departments-list-view .row {
  margin-right: 0;
  margin-left: 0;
}

.dept-view-switch {
  display: flex;
  justify-content: flex-end;

}

.dept-view-switch button {
  padding: 10px 21px;
  color: #828C9D;
  background: #fff;
  border: 1px solid #D7D9DF;

}

.dept-view-switch button:nth-child(1) {
  border-radius: 8px 0 0 8px;
}

.dept-view-switch button:nth-child(2) {
  border-radius: 0 8px 8px 0;
}

.dept-view-switch button.active {

  color: #fff;
  background: #828C9D;
}

.dept-view-switch button.active .btn-icon {
  background-color: #fff;
}

.dept-info-block .dept-block-title {
  color: #AEB3C0;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;

}

.dept-info-block .calendar-contact-item {
  font-size: 18px;
  font-weight: 700;
  color: #212b3c;
  margin-bottom: 10px;
}

.dept-info-block .calendar-contact-item a {
  color: #212b3c;

}

.dept-card h3>a {
  display: flex;
  align-items: center;
  gap: 12px;
} */

/*  */
/* Правила подготовки анализов */
/*  */

/* Карточка аккордиона */
.rules-accordion .card.rule-item {
  border: 1px solid #E3E7EF;
  /* единственная граница */
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  background: #fff;
}

/* Убираем любые внутренние бордеры */
.rules-accordion .card-header,
.rules-accordion .card-body {
  border: none !important;
}

/* Убираем дефолтный Bootstrap-бэкграунд */
.rules-accordion .card-header {
  background: transparent;
  padding: 0;
  margin: 0 !important;
}

/* Кнопка */
.rules-accordion .rule-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  font-weight: 500;
  text-decoration: none;
  color: #212B3C;
  line-height: 1.4;
  padding: 16px 20px;
  /* отступы внутри заголовка */
}

/* Иконка */
.rules-accordion .rule-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #212B3C;
  color: #fff;
  border-radius: 6px;
  font-size: 20px;
  transition: transform 0.25s ease;
}

/* Поворот иконки */
.rules-accordion .rule-icon.open {
  transform: rotate(180deg);
}

/* Тело */
.rules-accordion .card-body {
  padding: 16px 20px 20px;
}



/* ================================= */
/* Анализы */
/* ================================= */

h2>p {
  margin-bottom: 0 !important;
}

.analyses-list .analyses-header,
.analyses-list .analyses-row {
  margin: 0 !important;
}

.analyses-list .analyses-header {
  background: #2E4771;
  color: #fff;
  border-radius: 8px;
  margin-bottom: 15px !important;
}

.analyses-list .analyses-header>div {
  padding-top: 19px;
  padding-bottom: 19px;
}

.analyses-list .analyses-row>div {
  padding-top: 8px;
  padding-bottom: 12px;

}

.mobile-label {
  display: none;
  /* по умолчанию скрываем */

}

.analyses-list .analysis-code {
  color: #828C9D;
  font-weight: 600;
}

/* описание анализа */

.analyses-list .price-desc {
  font-weight: 400;
  /* color:#6c757d; */
  font-size: 0.9rem;
}

/* название анализа */

.analyses-list .analysis-title {
  color: #212B3C;
  text-decoration: none;
}

/* цены */

.analyses-list .price-current {
  color: #13950D;
}

.analyses-list .price-old {
  text-decoration: line-through;
  color: #212B3C;
}

.analyses-list .price-new {
  color: #8D4D4E;
}

.analyses-list .price-col {
  display: flex;
  flex-direction: column;
  font-weight: 600;
}

.analyses-list .analysis-duration {
  font-weight: 600;
}

/* MOBILE */

@media (max-width:767px) {

  .mobile-label {
    display: inline;
    /* показать только на мобилке */
    font-weight: 500;
    color: #828C9D;
    margin-right: 4px;
  }

  .analysis-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
  }

  .analysis-price {
    display: flex;
    align-items: center;
    /* вертикально центрируем “Цена:” по столбцу цен */
  }

  .price-col {
    display: flex;
    flex-direction: column;
    margin-left: 6px;
  }

  .analysis-duration {
    white-space: nowrap;
    margin-left: 10px;
    align-self: center;
    /* вертикальное центрирование */
  }

}

/* Бейдж "Временно недоступно" */
.analysis-badge {
  display: block;
  background-color: #8D4D4E;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 0px;
  border-radius: 4px;

  text-align: center;
}

/* Если анализ временно недоступен */
.analyses-row.out-of-stock .analysis-title {
  opacity: 0.5;
  text-decoration: line-through;
}


.analyses-row.out-of-stock .price-current,
.analyses-row.out-of-stock .price-old,
.analyses-row.out-of-stock .price-new,
.analyses-row.out-of-stock .analysis-duration,
.analyses-row.out-of-stock .analysis-meta {
  display: none !important;
}


table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 20px 0;
  border: 1px solid #828C9D;
  border-radius: 12px;
  overflow: hidden;
}

table th,
table td {
  border: 1px solid #828C9D;
  padding: 12px;
  vertical-align: middle;
  text-align: left;
}

table th {
  background-color: #f5f5f5;
  text-align: center;
  font-weight: bold;
}

table th:first-child {
  border-top-left-radius: 12px;
}

table th:last-child {
  border-top-right-radius: 12px;
}



.analysis-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
  /* margin: 24px 32px; */
}

/* Общий стиль для рядов */
.analysis-row {
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  border: 1px solid #ccc;
  border-radius: 12px;
  box-sizing: border-box;
  font-size: 16px;
}

/* Первый ряд — прозрачный фон */
.material-label,
.material-value {
  border-radius: 12px;
}

/* Второй ряд — синий фон */
.prepare-row {
  background: #2E4771;
  color: #fff;
  border-radius: 12px;
  border: 1px solid #2E4771;
}

/* Стили для ссылок во втором ряду */
.prepare-row a {
  color: #fff;
  /* text-decoration: none; */
}


/*  */
/* Faq блок */
/*  */

.single-prices .rules-accordion h3 {
  margin: 0;
}