/*!
Theme Name: webdmitriev
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: webdmitriev
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.

webdmitriev 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/
*/

#CalltouchWidgetFrame {
  inset: auto 0px 92px auto !important;
}

.header-kz .kz-component-phone, .footer-kz .footer-kz__top-data {
	display: none !important;
}


body #app .block-16 .content-items .content-item {
position: relative;
align-content: flex-end;
min-height: 226px;
}
body #app .block-16 .content-items .content-item img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 24px;
}

body #app .block-16 .content-items .content-item .h4 {
 position: relative;
}

max-width: 576px {
body #app .block-16 .content-items .content-item img {
    width: 100%;
    height: 100%;
}
}






/* ===== Обёртка для кастомной стрелки ===== */
.wpcf7-select-wrap {
  position: relative;
  display: block;
  width: 100%;
}

/* ===== Сам select ===== */
.wpcf7-form select,
.wpcf7-select {
  /* Сброс дефолтных стилей */
  -webkit-appearance: none;   /* Safari / Chrome */
  -moz-appearance: none;      /* Firefox */
  appearance: none;

  /* Фикс для iOS Safari — убирает внутренние тени/скругления */
  border-radius: 0;
  background-image: none;

  /* Размеры и оформление */
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 12px 44px 12px 16px;   /* справа место под стрелку */
  font-size: 16px;                /* ВАЖНО: 16px предотвращает зум в iOS */
  line-height: 1.4;
  font-family: inherit;
  color: #1a1a1a;
  background-color: #fff;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  box-sizing: border-box;
  cursor: pointer;

  /* Плавность */
  transition: border-color .2s ease, box-shadow .2s ease;

  /* Убираем outline, но оставляем доступность через focus-visible */
  outline: none;
}

/* ===== Ховер / фокус ===== */
.wpcf7-form select:hover {
  border-color: #a0a0a0;
}

.wpcf7-form select:focus {
  border-color: #2b7cff;
  box-shadow: 0 0 0 3px rgba(43, 124, 255, .15);
}

/* ===== Кастомная стрелка (псевдоэлемент обёртки) ===== */
.wpcf7-select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #666;
  border-bottom: 2px solid #666;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;  /* чтобы клик проходил в select */
  transition: transform .2s ease;
}

/* ===== Safari iOS: если обёртки нет — рисуем стрелку через background ===== */
.wpcf7-form select:not(.in-wrap) {
  background-image:
    linear-gradient(45deg, transparent 50%, #666 50%),
    linear-gradient(135deg, #666 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% + 2px),
    calc(100% - 14px) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}

/* ===== Disabled ===== */
.wpcf7-form select:disabled {
  background-color: #f4f4f4;
  color: #999;
  cursor: not-allowed;
}

/* ===== Убираем синюю подсветку тапа в iOS ===== */
.wpcf7-form select {
  -webkit-tap-highlight-color: transparent;
}

/* ===== Фикс для iOS: если select внутри flex-контейнера ===== */
.wpcf7-form .wpcf7-select,
.wpcf7-form select {
  min-height: 44px;  /* рекомендованный тач-таргет Apple */
  text-indent: 0.01px;      /* старый фикс iOS, чтобы текст не обрезался */
  text-overflow: "";
}

/* ===== Опции (частично работает только в некоторых браузерах) ===== */
.wpcf7-form select option {
  color: #1a1a1a;
  background: #fff;
  padding: 8px;
}