/*
 Theme Name:   Ocimed Theme New
 Description:  Оригинальная тема Ocimed
 Version:      1.0.0
 Tested up to: 7.4
 Requires PHP: 7.4
 Text Domain: ocimed_theme_new
*/

body.customize-support {
    margin-top: 32px;
}
body.customize-support .header {
  top: 32px;
}

@media screen and (max-width: 782px) {
    body.customize-support {
        margin-top: 46px;
    }
    body.customize-support .header {
      top: 46px;
    }
}

#page, #content {
  width: 100%;
}

.container .container {
  padding: 0!important
}

/* Контент */
.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}
.single-post .descr-side p {
  margin-bottom: 1.4rem!important;
  font-size: 18px;
  line-height: 28px;
}
.single-post .descr-side h3 {
  margin-bottom: 0.5rem;
}

/* faq */
.faq-block {
  margin-top: 69px;
}
.faq-block-header {
  font-style: normal;
  font-weight: 400;
  font-size: 40px;
  line-height: 40px;
  color: #D26DD1;
}
.faq-block-list {
  margin-top: 35px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-block-list-item {
  width: 100%;
  border: 1px solid #CCCCCC;
  border-radius: 16px;
}
.faq-block-list-item-up {
  position: relative;
  padding: 24px 104px 24px 40px;
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  color: #1D1D1C;
  cursor: pointer;
}
.faq-block-list-item-up::before {
  content: '';
  position: absolute;
  top: 40px;
  right: 40px;
  width: 24px;
  height: 2px;
  background: #D26DD1
}
.faq-block-list-item-up::after {
  content: '';
  position: absolute;
  top: 29px;
  right: 51px;
  width: 2px;
  height: 24px;
  background: #D26DD1
}
.faq-block-list-item-down {
  display: none;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: #1D1D1C;
  padding: 0 40px 24px 40px;
}
.faq-block-list-item.opened .faq-block-list-item-up::after {
  display: none;
}

/* Совет специалиста */
.doctors-advice {
  margin-top: 32px;
  padding: 30px 48px 24px 48px;
  width: 100%;
  border: 2px solid #D26DD1;
  border-radius: 16px;
}
.doctors-advice-header {
  width: 100%;
  font-style: normal;
  font-weight: 400;
  font-size: 28px;
  line-height: 32px;
  color: #D26DD1;
}
.doctors-advice-description {
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: #1D1D1C;
  margin-top: 21px;
}
.doctors-advice-author {
  margin-top: 21px;
  display: flex;
  gap: 24px;
  align-items: center;
}
.doctors-advice-author-image {
  width: 48px;
  min-width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
}
.doctors-advice-author-image img {
  width: 100%;
}
.doctors-advice-author-info {

}
.doctors-advice-author-name {
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  color: #1D1D1C;
}
.doctors-advice-author-pos {
  margin-top: 3px;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  color: #1D1D1C;
}

/* Врачи */
.descr-block-footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.block-cols {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-top: 31px;
}
.block-cols .filter-form {
  position: sticky;
  top: 87px;
  left: 0;
  z-index: 1;
  margin-top: 0;
  width: 100%;
  min-width: 280px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.filter-form-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
body.admin-bar .block-cols .filter-form {
  top: calc(87px + 32px);
}
.block-cols .filter-form .input-group a {
  display: inline-block;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #1D1D1C;
  padding: 9px 16px 7px 16px;
  border-radius: 20px;
}
.block-cols .filter-form .input-group a.active {
  color: #D26DD1;
  background: #F5F5F5;
}
.block-cols .filter-form .input-group a:hover {
  cursor: pointer;
}
.select-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 24px;
}

.select-wrapper select {
  width: 100%;
  padding: 14px 36px 14px 16px;
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 20px;
  color: #1D1D1C;
  background: #FFFFFF;
  border: 1px solid #BBBBBB;
  border-radius: 4px;
  appearance: none; /* Убираем стандартную стрелку */
  -webkit-appearance: none; /* Для Safari */
  -moz-appearance: none; /* Для Firefox */
  cursor: pointer;
}
.select-wrapper::after {
  content: '';
  position: absolute;
  top: 18px;
  right: 16px;
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.25 1.25L6.42647 6.75L12.25 1.25' stroke='%23888888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}

.select-wrapper select:focus {
  outline: none;
  border-color: #888888;
  box-shadow: 0 0 0 2px rgba(136, 136, 136, 0.1);
}

.select-wrapper select:hover {
  border-color: #888888;
}
.select-wrapper select::-ms-expand {
  display: none;
}

.doctor-time-block {
  width: 100%;
  display: flex;
  background: #F5F5F5;
  border-radius: 16px;
  overflow: hidden;
}
.doctor-time-block-left {
  width: 100%;
  padding: 35px 48px 32px 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.doctor-time-block-header {
  font-weight: 500;
  font-size: 15px;
  line-height: 16px;
  text-transform: uppercase;
  color: #D26DD1;
}
.doctor-time-block-tabs {
  margin-top: 20px;
  background: #FFFFFF;
  border-radius: 20px;
  display: flex;
}
.doctor-time-block-tab {
  font-weight: 400;
  font-size: 15px;
  line-height: 20px;
  text-align: center;
  color: #1D1D1C;
  background: #fff;
  border-radius: 20px;
  padding: 10px 16px;
  white-space: nowrap;
  transition: .2s;
  user-select: none;
}
.doctor-time-block-tab.active {
  color: #ffffff;
  background: #D26DD1;
}
.doctor-time-block-tab:not(.active):hover {
  cursor: pointer;
}
.doctor-time-block-containers {
  margin-top: 20px;
  width: 100%;
}
.doctor-time-block-container {
  display: none;
}
.doctor-time-block-container.active {
  display: block;
}
.doctor-time-block-container-header {
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  color: #1D1D1C;
  margin-bottom: 30px;
}
.doctor-time-block-container-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 15px;
}
.doctor-time-block-container-row:last-child {
  margin-bottom: 0;
}
.doctor-time-block-container-day {
  width: 100%;
  max-width: 128px;
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  color: #1D1D1C;
}
.doctor-time-block-container-value {
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  color: #1D1D1C;
}
.doctor-time-block-right {
  width: 100%;
  max-width: 480px;
}
.doctor-time-block-map {
  display: none;
  height: 100%;
  min-height: 384px;
}
.doctor-time-block-map.active {
  display: block;
}
.doctor-time-block-map > div {
  height: 100%;
}

/* Услуги и цены */
.page-descr {
  margin-top: 30px;
}
.price-filter {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.price-filter .input-group a {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #1D1D1C;
  padding: 7px 16px 9px 16px;
  display: inline-block;
  border: 1px solid #DDDDDD;
  border-radius: 20px;
  transition: .15s;
}
.price-filter .input-group a:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.price-hider__content .price-hider-item .item-title:after {
    font-family: Fontello;
    font-style: normal;
    font-weight: 400;
    speak: never;
    text-decoration: inherit;
    font-variant: normal;
    text-transform: none;
    text-align: center;
}
.price-hider__content .price-hider-item .item-descr p + p,
.price-hider__content .price-hider-item + .price-hider-item {
    margin-top: 12px;
}
.price-hider__content .price-hider-item {
    border: 1px solid #ccc;
    border-radius: 16px;
}
.price-hider__content .price-hider-item .item-title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    font-size: 24px;
    line-height: 133%;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    padding: 23px 40px;
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
}
.price-hider__content .price-hider-item .item-title:after {
    content: "\e801";
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    color: var(--accent);
    position: absolute;
    right: 42px;
    top: calc(50% - 9px);
    font-size: 18px;
    line-height: 18px;
    -webkit-transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
}
.price-hider__content .price-hider-item .item-title:hover {
    color: var(--accent);
}
.price-hider__content .price-hider-item .item-title.active:after {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}
.price-hider__content .price-hider-item .item-descr {
    display: none;
    padding: 0 20px 20px 20px;
}
.pricelist-section__content .backcall-block .wpcf7-response-output {
  margin: 16px 0 0 0;
  border-radius: 4px;
  border-color: #bc61c0!important;
  background: #b95fbd;
  color: #fff;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
}

.price-search {
    position: relative;
    margin-top: 24px;
}
.price-search.has-text .price-search-clear {
    display: flex !important;
}
.price-search-input {
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #BBBBBB;
    border-radius: 4px;
    padding: 14px 36px 14px 44px;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    color: #000000;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s ease;
}
.price-search-input:focus {
    border-color: #D26DD1;
}
.price-search-input::placeholder {
    color: #777777;
    opacity: 1;
}
.price-search-input::-webkit-input-placeholder {
    color: #777777;
}
.price-search-input::-moz-placeholder {
    color: #777777;
    opacity: 1;
}
.price-search-input:-ms-input-placeholder {
    color: #777777;
}
.price-search-input:-moz-placeholder {
    color: #777777;
    opacity: 1;
}
.price-search::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 16px;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.5 0C11.6421 0 15 3.35786 15 7.5C15 9.39109 14.2985 11.1173 13.1436 12.4365L19.1035 18.3965C19.2988 18.5917 19.2988 18.9083 19.1035 19.1035C18.9083 19.2988 18.5917 19.2988 18.3965 19.1035L12.4365 13.1436C11.1173 14.2985 9.39109 15 7.5 15C3.35786 15 0 11.6421 0 7.5C0 3.35786 3.35786 0 7.5 0ZM7.5 1C3.91015 1 1 3.91015 1 7.5C1 11.0899 3.91015 14 7.5 14C11.0899 14 14 11.0899 14 7.5C14 3.91015 11.0899 1 7.5 1Z' fill='%23D26DD1'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    z-index: 1;
}
.price-search-clear {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
    display: none; /* Скрываем по умолчанию */
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.price-search-clear-icon {
    font-family: Fontello;
    font-style: normal;
    font-weight: 400;
    speak: never;
    text-decoration: inherit;
    font-variant: normal;
    text-transform: none;
    text-align: center;
    content: "\e801";
    font-size: 11px;
    color: #888888;
    line-height: 1;
}
.price-search-clear:hover .price-search-clear-icon {
    color: #D26DD1;
}
.price-search-result {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.price-search-result-header {
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  color: #D26DD1;
  margin-bottom: 18px;
}
.price-loader {
    text-align: center;
    padding: 40px;
}
.loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #D26DD1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.no-results {
    text-align: center;
    padding: 40px;
    color: #777;
}
.price-default-content {
    display: block;
}
.price-search-results {
    display: none;
}
.services-item .item-name a {
  position: relative;
  text-decoration: none;
}
.services-item .item-name a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: var(--accent);
}

/* CF7 */
.logged-in div.wpcf7 {
  margin-top: 0;
}
.wpcf7-form-control-wrap {
  width: 100%;
}
.wpcf7-form-control-wrap[data-name="check"] {
  display: none;
}
.wpcf7-spinner {
  display: none!important;
}
.wpcf7-submit {
  cursor: pointer;
}
.wpcf7-not-valid-tip {
  font-size: 13px;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
  /* border-color: #ffebb5; */
  font-size: 13px;
  line-height: 19px;
  /* background: #ffebb5; */
  border-radius: 16px;
  margin: 15px 0 0 0;
  color: #E54825;
  background: #fff;
  border-color: #fff;
  text-align: center;
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color: #d26dd1;
  font-size: 13px;
  line-height: 19px;
  background: #bc61bf;
  border-radius: 16px;
  margin: 15px 0 0 0;
  text-align: center;
}
input.wpcf7-not-valid {
  border-color: #E54825;
  color: #E54825;
}
input.wpcf7-not-valid::placeholder {
  color: #E54825;
  outline: none;
}
.wpcf7-not-valid-tip {
  display: none;
}
.modal-form .wpcf7-response-output {
  display: none;
}
.answer-form .ans-form .input-group label .wpcf7-form-control-wrap .input-style {
  max-width: calc(100% - 15px);
}

/* Хлебные крошки */
.breadcrumbs-row ol a {
  color: var(--grey) !important;
}

/* Карта */
/* .contacts-section__content .contact-item .map-block .map .ymaps-2-1-79-ground-pane { */
.map .ymaps-2-1-79-ground-pane {
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
}
/* .contacts-section__content .contact-item .map-block .map .ymaps-2-1-79-ground-pane { */
.map  .ymaps-2-1-79-inner-panes::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--accent);
  mix-blend-mode: color;
  opacity: 0.5;
  pointer-events: none;
  z-index: 501;
}

.faq-section {
  width: 100%;
}
.descr-side p {
  margin-bottom: 0!important
}
.faq-section__content .faq-item .item-title {
  margin-bottom: 0;
}
.pricelist-section__content .services-list .services-item .item-name {
  margin-bottom: 0;
}
.pricelist-section__content .services-list .services-item .item-price p {
  margin-bottom: 0;
}
.pricelist-section__content .doctor-info .descr-block .author-name {
  margin-bottom: 0;
}
.pricelist-section__content .doctor-info .descr-block .author-descr p {
  margin-bottom: 0;
}
.main-services .container {
  padding: 0 !important;
}
.main-services {
  padding-bottom: 0 !important;
}

/* Родитель */
.page-header {
  display: none;
}
div.main-wrapper .columns {
  padding: 0!important
}
div.main-wrapper #primary {
  padding-top: 0;
}
div.main-wrapper .row {
  margin: 0 auto;
  max-width: 1262px;
  padding: 0 15px;
}
div.main-wrapper p {
  margin-bottom: 1.4rem;
}
div.main-wrapper h1,
div.main-wrapper h2,
div.main-wrapper h3,
div.main-wrapper h4,
div.main-wrapper h5,
div.main-wrapper h6 {
  margin-bottom: 0.5rem;
}


@media (max-width: 1335px) {
  /* Услуги и цены */
    .price-hider__content .price-hider-item .item-title {
        font-size: 22px;
        padding: 20px;
    }
    .price-hider__content .price-hider-item .item-title:after {
        font-size: 16px;
        line-height: 16px;
        top: calc(50% - 8px);
        right: 20px;
    }
    .price-hider__content .price-hider-item .item-descr {
        padding: 0 20px 20px;
    }
}

@media (max-width: 1199px) {
  div.main-wrapper .row {
    padding: 0 32px;
  }
}
@media (max-width: 959px) {
  div.main-wrapper .row {
    padding: 0 16px;
  }
  /* Услуги и цены */
  .price-hider__content .price-hider-item .item-title {
      font-size: 20px;
  }
}

@media (max-width: 767px) {
  /* Услуги и цены */
  .price-hider__content .price-hider-item .item-title {
      font-size: 18px;
  }
}

@media (max-width: 639px) {
  /* Услуги и цены */
  .price-hider__content .price-hider-item .item-title {
      font-size: 16px;
  }
  .price-hider__content .price-hider-item .item-title:after {
      font-size: 14px;
      line-height: 14px;
      top: calc(50% - 7px);
  }
}

@media (max-width: 575px) {
  .article-item .image-block {
    max-height: 148px;
  }
  .consult-section__content .left-side .section-descr {
    font-size: 17px;
  }
}

.grecaptcha-badge {visibility: hidden;}


@media (max-width: 575px) {
  /* faq */
  .faq-block {
    margin-top: 56px;
  }
  .faq-block-header {
    font-size: 26px;
    line-height: 28px;
  }
  .faq-block-list {
    margin-top: 20px;
  }
  .faq-block-list-item-up {
    position: relative;
    padding: 16px 56px 16px 24px;
    font-size: 18px;
    line-height: 24px;
  }
  .faq-block-list-item-up::before {
    top: 29px;
    right: 25px;
    width: 16px;
    height: 2px;
  }
  .faq-block-list-item-up::after {
    top: 22px;
    right: 32px;
    width: 2px;
    height: 16px;
  }
  .faq-block-list-item-down {
    font-size: 16px;
    line-height: 24px;
    padding: 0 24px 16px 24px;
  }

  /* блог */
  .description-section__main {
    flex-direction: column-reverse;
  }

  /* Совет специалиста */
  .doctors-advice {
    padding: 24px;
  }
  .doctors-advice-header {
    font-size: 22px;
    line-height: 24px;
  }
  .doctors-advice-description {
    font-size: 16px;
    line-height: 24px;
    margin-top: 20px;
  }
  .doctors-advice-author {
    margin-top: 17px;
  }
  .doctors-advice-author-name {
    font-size: 16px;
    line-height: 20px;
  }

  /* Врачи */
  .block-cols {
    flex-direction: column;
    gap: 32px;
  }
  .block-cols .filter-form {
    position: relative;
    max-width: unset;
    top: unset;
    left: unset;
  }
  body.admin-bar .block-cols .filter-form {
    top: unset;
  }
  .filter-form-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .block-cols .filter-form .input-group a {
    font-size: 14px;
    line-height: 16px;
    padding: 5px 8px 3px 8px;
    border-radius: 12px;
  }
  /* Услуги и цены */
  .page-descr {
    margin-top: 25px;
  }
  .price-hider__content .price-hider-item .item-title {
      padding: 15px 35px 15px 20px;
  }
}
