/* custom styles */
body, .about__text, .advantages__text, .app__list li, .app__list-title, .app__text,
.contacts__label, .contacts__text, .field__input, .form__title,
.mserv h3, .mserv p, .mserv ul li, .offer__text, .price__cat,
.reviews__name, .reviews__date, .socials__caption, .team__wisywig h3, .team__wisywig p.subtitle-color,
.team__text, .team__text b, .title__text {
  color: #252525;
}

.foo, .modal-backdrop {
  background-color: #252525;
}

.tpan__call {
  padding-top: 1.375em;
  padding-bottom: 1.375em;
}

.price-alt {
  padding-top: 0;
}

.reviews-alt {
  padding-bottom: 1.875em;
}

.advantages__text strong, .app__text strong, .mserv__inner strong {
    font-weight: 700;
}

.about__text strong {
  font-weight: 700;
  position: relative;
  cursor: default;
  display: inline;
}

.team:not(.team_another) .team__wisywig {
  text-align: center;
}

.team:not(.team_another) .team__btn {
  margin-left: auto;
  margin-right: auto;
}

.team_another .team__wisywig p {
  font-size: 1.125em;
  line-height: 1.44444;
  margin-bottom: 1.38889em;
  margin-top: 0;
}

.team_another .team__wisywig .subtitle-color {
  margin-top: 0.5em;
}

.team__btn:hover,
.work-examples__btn:hover,
.work-examples__img:hover {
  cursor: pointer;
  opacity: 0.9;
}

.app__ciround {
  font-size: 0.95em;
}

.ciround__overlay {
  opacity: 0.08;
}

.agree a:hover {
  cursor: pointer;
}

.modal_menu .modal__menu {
  box-shadow: none;
}

.modal_menu .menu__link.active:before {
  opacity: 0;
}

#modal-menu .lang__current:hover:before,
#modal-menu .lang__current:focus:before,
#modal-menu .lang__current:before {
  opacity: 1;
}

.foo .foo__inner:nth-child(2) {
  flex-direction: column;
  margin-top: 2.75em;
}

.foo .foo__inner:nth-child(2) p:last-child {
  text-align: center;
  line-height: 1.5;
}

@media (min-width: 992px) {
  .foo .foo__inner:nth-child(2) {
    margin-top: 1.5em;
  }
  .foo .foo__inner:nth-child(2) p:last-child {
    line-height: 1.28571;
  }
}

/* shadows */
.lome {
  -webkit-box-shadow: 0 0.625em 1.25em rgba(190, 190, 190, 0.1);
  -moz-box-shadow: 0 0.625em 1.25em rgba(190, 190, 190, 0.1);
  box-shadow: 0 0.625em 1.25em rgba(190, 190, 190, 0.1);
}

.form,
.menu .sub-menu {
  -webkit-box-shadow: 0 0.625em 6.25em 0 rgba(0,0,0,0.1);
  -moz-box-shadow: 0 0.625em 6.25em 0 rgba(0,0,0,0.1);
  box-shadow: 0 0.625em 6.25em 0 rgba(0,0,0,0.1);
}

/* offer */
.offer_text-form .form__col:nth-child(4),
.offer_form-counter .form__col:nth-child(4) {
  display: none;
}

.offer_form-counter .title strong,
.offer__economy-text strong,
.offer__action-text strong {
  font-weight: 400;
}

.offer_form-counter .offer__economy-text:before {
  opacity: 0.1;
}

.offer_only-img .offer__bgi-img-oi {
  -o-object-position: center center;
  object-position: center center;
  font-family: "object-fit: cover; object-position: center center;";
}

@media (min-width: 768px) {
  .offer__embed {
      -webkit-transform: translate(-50%, -50%) scale(1);
      transform: translate(-50%, -50%) scale(1);
  }
}

/* video */
.about__figure-overlay {
  background-color: rgba(0, 0, 0, 0.1);
}
.about__figure-wrap:hover .about__figure-overlay {
  background-color: rgba(0, 0, 0, 0.15);
}

/* contacts divider */
@media (max-width: 991px) {
  .contacts__text .divider {
    display: inline-block;
  }
}

@media (max-width: 767px) {
  .no-location .tpan__item_address {
    display: block;
    font-size: 0.85em;
    margin-bottom: .5em;
  }
}

/* location fix */
@media (min-width: 992px) {
  .location__current {
    min-width: auto;
    padding-right: 0;
  }
}

/* inner page */
.layout__page {
  padding-top: 3.125em;
  padding-bottom: 3.125em;
}

@media (min-width: 992px) {
.layout__page {
    padding-top: 4.375em;
    padding-bottom: 4.375em;
  }
}

.layout__page p {
  margin-top: 1.38889em;
  text-align: justify;
}

.layout__page p:not(:last-child) {
    margin-bottom: 1.5em;
}

.layout__page p:first-child {
  margin-top: 0;
}


/* 404 */
.error404 .layout__page {
  padding-top: 3.125em;
  padding-bottom: 3.125em;
}

.error404 .layout__page p {
  font-size: 1.25em;
  line-height: 1.44444;
  text-align: center;
}

.error404 .btn__wrapper {
  margin-left: auto;
  margin-right: auto;
  max-width: 24em;
  margin-top: 2.8125em;
  margin-bottom: 1.75em;
}

.error404 .number {
  font-size: 8em;
  line-height: 1;
  text-align: center;
  font-weight: 700;
}

/* policy */
#modal-policy .mserv ul {
  margin-bottom: 2.5em;
}

/* services */
.services__item.no-hover:hover .services__words,
.services__item.no-hover:focus .services__words {
  visibility: visible;
  opacity: 1;
}

.services__item.no-hover {
  cursor: inherit;
}

.services__btn .btn a {
  text-decoration: none;
}

/* gallery */
.gallery.no-team:before {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0.08;
}
.gallery.no-team {
  padding-top: 3.125em;
  padding-bottom: 0;
  margin-top: 0;
}
@media (min-width: 768px) {
  .gallery.no-team {
  padding-top: 4.375em;
  }
}
@media (min-width: 992px) {
  .gallery.no-team {
  padding-top: 6.875em;
  }
}

/* contacts */
.isvg_messenger {
  max-width: 1.25em;
  max-height: 1.25em;
}

.messengers__link:hover {
  opacity: 0.9;
}

/* works */
.work-examples__wisywig h3 a {
  text-decoration: none;
  color: #252525;
}

.work-examples__wisywig h3 a:hover {
  text-decoration: underline;
}

/* bg colors */
.is-bg-colored:before {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0.08;
}

.is-bg-white:before {
  background-color: #ffffff !important;
}

/* new blocks */
.dental-numbers,
.dental-contact__top,
.dental-contact_v1 .dental-contact__top,
.dental-contact_v4 .dental-contact__top {
  background-color: transparent;
}

.dental-prices__bg-fig {
  -webkit-user-select: none;
 -moz-user-select: none;
 -ms-user-select: none;
 user-select: none;
 pointer-events: none;
 display: block;
 position: absolute;
 z-index: 0;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 -o-object-fit: cover;
 object-fit: cover;
 -o-object-position: center top;
 object-position: center top;
 font-family: "object-fit: cover; object-position: center top;";
}

.dental-services__grid a,
.dental-services_v5 .swiper-slide a {
  text-decoration: none;
}

.dental-services__grid a:hover {
  color: #252525;
  text-decoration: underline;
}

.dental-services_v4 a:hover,
.dental-services_v5 .swiper-slide a:hover {
  text-decoration: none;
}

.dental-services_v4 a:hover .dental-services__item,
.dental-services_v5 .swiper-slide .dental-services__swiper-slide-in.has-link:hover  {
  -webkit-box-shadow: 0 0.625em 1.25em rgba(190, 190, 190, 0.25);
  -moz-box-shadow: 0 0.625em 1.25em rgba(190, 190, 190, 0.25);
  box-shadow: 0 0.625em 1.25em rgba(190, 190, 190, 0.25);
}

.dental-services_v5 .swiper-slide .has-link a:hover img {
  cursor: pointer;
  opacity: 0.85;
}

.dental-contact_v1 .contacts__items-wrap,
.dental-contact_v2 .contacts__items-wrap {
  border-bottom: 1px solid #f0f0f0;
}

.menu .sub-menu {
  border-radius: 0.625em;
}

@media (max-width: 767px) {
  .menu .sub-menu {
    box-shadow: none;
  }

  .menu .sub-menu .menu-item:first-child {
    margin-top: 1em;
    margin-bottom: 0 !important;
  }

  .menu .sub-menu .menu-item {
    margin-top: 0;
    margin-bottom: 0 !important;
  }

  .menu .sub-menu > li > a {
    color: #fff !important;
  }

  .menu_modal .menu__item.dropdown > a{
    cursor: default;
    pointer-events: none;
  }
}

/* blog */
.blog-canread {
  margin-top: 6.875em;
}

.blog-pagination span {
    text-decoration: none;
    color: inherit;
    font-family: muller,sans-serif;
    font-weight: 400;
    font-size: 1em;
    line-height: 1;
    color: #fff;
    min-width: 3.125em;
    width: 3.125em;
    height: 3.125em;
    border-radius: .625em;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
}

/* gutenberg */
.content-area .blocks-gallery-item {
  padding-left: 0;
  margin-bottom: 1em !important;
}

.content-area .blocks-gallery-item:before,
.content-area .blocks-gallery-item:after {
  display: none;
}

.content-area ul li {
  line-height: 1.44444;
}

/* cf7 */
.wpcf7 p {
  margin: 0;
}

.wpcf7 .field__input {
  border: 0.07143em solid transparent;
}

.wpcf7-not-valid-tip, div.wpcf7-validation-errors,
.screen-reader-response, .screen-reader-response p, .screen-reader-response ul,
.ajax-loader, .wpcf7-form.invalid .wpcf7-response-output {
  display: none !important;
}

.wpcf7-form.sent .wpcf7-response-output {
  margin-top: 0em;
  margin-bottom: 1em;
  color: #1db132;
  border: 2px solid #1db132;
  padding: 1em 3em;
  line-height: 1.5em;
  font-size: 1.1em;
  text-align: center;
  font-weight: 400;
  border-radius: 2.1875em;
}

.app .wpcf7-form.sent .wpcf7-response-output,
.modal .wpcf7-form.sent .wpcf7-response-output,
.offer_text-form .wpcf7-form.sent .wpcf7-response-output,
.offer_form-counter .wpcf7-form.sent .wpcf7-response-output {
  padding: 1em;
  font-size: 1em;
}

.bdivider_form-v1-2 .field__input {
  border: 1px solid #fff;
}

/* modal */
.mserv ul li:not(:last-child) {
  margin-bottom: 1em;
}

.mserv ul {
  margin-bottom: 2em;
}

form.invalid input.wpcf7-not-valid,
form.invalid select.wpcf7-not-valid,
form.invalid textarea.wpcf7-not-valid {
  border: 0.07143em solid #F44336;
}

form.invalid input.wpcf7-not-valid::-webkit-input-placeholder,
form.invalid textarea.wpcf7-not-valid::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #F44336;
}

form.invalid input.wpcf7-not-valid::-moz-placeholder,
form.invalid textarea.wpcf7-not-valid::-moz-placeholder { /* Firefox 19+ */
  color: #F44336;
}

form.invalid input.wpcf7-not-valid:-ms-input-placeholder,
form.invalid textarea.wpcf7-not-valid:-ms-input-placeholder { /* IE 10+ */
  color: #F44336;
}

form.invalid input.wpcf7-not-valid:-moz-placeholder,
form.invalid textarea.wpcf7-not-valid:-moz-placeholder { /* Firefox 18- */
  color: #F44336;
}

.wpcf7 .form__btn.disabled, .wpcf7 .form__btn[disabled] {
    cursor: not-allowed !important;
    filter: alpha(opacity=65);
    -webkit-box-shadow: none;
    box-shadow: none;
    opacity: .65;
}

.agree-invisible {
   display: none;
}

.location__list li:not(:last-child) {
  border-bottom: 1px solid #f6f6f6;
}

/* responsive */
@media (min-width: 1680px) {
  .offer__layout-center {
    padding-top: 10em;
    padding-bottom: 10em;
    min-height: 43.5em;
  }
}

@media (min-width:1367px) and (max-width:1440px) {
  .layout, .modal {
    font-size: 0.85em;
  }
  .layout__center {
    max-width: 1100px;
  }
  .offer__layout-center {
    padding-top: 10em;
    padding-bottom: 10em;
  }
  .tpan, .lome {
    font-size: 1.05em;
  }
}

@media (min-width:1279px) and (max-width:1366px) {
  .layout, .modal {
    font-size: 0.85em;
  }
  .layout__center {
    max-width: 1050px;
  }
  .offer__layout-center {
    font-size: 0.9em;
  }
  .offer__text {
    font-size: 1.3em;
  }
  .offer__btn .btn__text {
    font-size: 0.95em;
  }
  .title__text {
    font-size: 2.75em;
  }
  .advantages__text, .price__cat {
    font-size: 1.2em;
  }
}

@media (max-width: 767px) {
  .mserv ul {
    margin-bottom: 1em;
  }
  .location__list li {
    padding-left: 1.25em;
    padding-right: 1.25em;
    text-align: center;
  }
  .location__current {
    padding-left: 1.25em;
    padding-right: 1.25em;
    width: 100%;
    justify-content: center;
  }
  .location__caret {
    position: absolute;
    height: 1.25em;
    width: 1.25em;
    top: 1.375em;
    right: 0.75em;
  }
  .location__list span {
    font-size: 1em;
  }
  .tpan__location .location__current-icon {
    display: none;
  }
  .tpan__inner.no-location {
    padding-bottom: 0.625em !important;
  }
}

@media (max-width: 575px) {
  .lome__logo {
    font-size: 0.75em;
  }
  .title__text {
    line-height: 1.15;
  }
  .tpan__inner {
    font-size: 1.15em;
  }
  .offer__layout-center {
    padding-top: .8em;
  }
  .offer__bgi-wrap {
    width: 62.5%;
  }
}
