/* ===== Device modules ===== */
@media (min-width: 768px) {
  .tm-mob-menu-ds,
  .wl-mobile-only {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .ds_lang,
  .wl-desktop-only,
  .tm-navbar.uk-navbar .uk-container .tm-navbar-center.wl-desktop-only {
    display: none !important;
  }
}

/* ===== Header offset ===== */
:root {
  --wl-header-offset: var(--wl-space-112);
}
@media (min-width: 768px) {
  :root {
    --wl-header-offset: var(--wl-space-239);
  }
}
@media (min-width: 993px) {
  :root {
    --wl-header-offset: var(--wl-space-139);
  }
}
@media (min-width: 1367px) {
  :root {
    --wl-header-offset: var(--wl-space-163);
  }
}
.tm-header-container,
.tm-breadcrumbs-ds {
  margin-top: var(--wl-header-offset);
}
.wl-font-probe .tm-navbar-wrapper,
.wl-font-probe .tm-navbar-wrapper *:not([class*='uk-icon-']) {
  font-family: serif !important;
}

/* ===== Theme icons (SVG) ===== */
.tm-navbar .tm-search .tm-search-button::before,
.tm-footer .tm-totop-scroller::before,
.uk-overlay-icon:before,
.uk-close::after,
.uk-nav-parent-icon > .uk-parent > a:after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: middle;
  background-color: currentColor;
  -webkit-mask: var(--wl-icon) center / 1em 1em no-repeat;
  mask: var(--wl-icon) center / 1em 1em no-repeat;
}
.tm-navbar .tm-search .tm-search-button::before {
  --wl-icon: url("../img/icons/search.svg");
}
.tm-footer .tm-totop-scroller::before {
  --wl-icon: url("../img/icons/arrow-up.svg");
}
.uk-overlay-icon:before {
  --wl-icon: url("../img/icons/plus.svg");
}
.uk-close::after {
  --wl-icon: url("../img/icons/cross.svg");
}
.uk-nav-parent-icon > .uk-parent > a:after {
  --wl-icon: url("../img/icons/arrow-down.svg");
}
.tp-leftarrow.preview4:after,
.tp-rightarrow.preview4:after {
  content: "";
  font-family: inherit;
  background-position: center;
  background-size: 0.665em 1em;
  background-repeat: no-repeat;
}
.tp-leftarrow.preview4:after {
  background-image: url("../img/ui/chevron-left.svg");
}
.tp-rightarrow.preview4:after {
  background-image: url("../img/ui/chevron-right.svg");
}
@media (min-resolution: 2dppx) {
  .tp-leftarrow.preview4:after {
    background-image: url("../img/ui/chevron-left-hd.svg");
  }
  .tp-rightarrow.preview4:after {
    background-image: url("../img/ui/chevron-right-hd.svg");
  }
}

/* ===== Editor notice ===== */
.wl-template-notice {
  margin: 0 0 20px;
  padding: 10px 15px;
  border: 1px solid var(--wl-color-cf4d4d);
  color: var(--wl-color-cf4d4d);
  background: var(--wl-color-white);
}

/* ===== CF7 forms (RSForm markup) ===== */
.wpcf7-form > .hidden-fields-container + fieldset,
.wpcf7-form > .hidden-fields-container + h2 {
  margin-top: 0;
}
.uk-grid > * > .wpcf7:last-child > .wpcf7-form:last-child {
  margin-bottom: 0;
}
