@import url("https://fonts.googleapis.com/css?family=Cuprum:400,700|Open+Sans:300,400,600,700&subset=cyrillic");

body.sad337-preset-strict {
  --container: 1200px;
  --link: #3c929c;
  background: #fff url("../images/chester/opto-fon.jpg") 50% 0 no-repeat fixed;
  color: #333;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 19px;
}

body.sad337-preset-strict h1,
body.sad337-preset-strict .entry__title,
body.sad337-preset-strict .entry__content h1 {
  margin: 30px 0 16px;
  color: #666;
  font-family: Cuprum, sans-serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 42px;
  text-align: center;
}

body.sad337-preset-strict h2,
body.sad337-preset-strict .entry__content h2 {
  margin: 20px 0 10px;
  color: #666;
  font-family: Cuprum, sans-serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 36px;
}

body.sad337-preset-strict h4,
body.sad337-preset-strict h5,
body.sad337-preset-strict h6 {
  color: #666;
  font-family: Cuprum, sans-serif;
  font-weight: 400;
}

body.sad337-preset-strict h4 {
  margin: 24px 0 10px;
  font-size: 18px;
  line-height: 19px;
}

body.sad337-preset-strict h5,
body.sad337-preset-strict h6 {
  margin: 12px 0 4px;
  font-size: 16px;
  line-height: 18px;
}

body.sad337-preset-strict h6 {
  font-weight: 700;
}

body.sad337-preset-strict h3,
body.sad337-preset-strict .entry__content h3,
body.sad337-preset-strict .sad337-grid__title {
  margin: 26px 0 10px;
  color: #666;
  font-family: Cuprum, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
}

body.sad337-preset-strict a {
  color: #3c929c;
  text-decoration: none;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

body.sad337-preset-strict a:hover,
body.sad337-preset-strict a:focus {
  color: #74c1ca;
  text-decoration: underline;
}

body.sad337-preset-strict .site-header {
  border-bottom: 0;
  background: transparent;
}

body.sad337-preset-strict .site-top,
body.sad337-preset-strict .site-top:not(:has(.site-top-banner__extra)) {
  position: relative;
  padding: 10px 0 4px;
  border-bottom: 0;
  background: transparent;
}

body.sad337-preset-strict .site-top__inner {
  position: relative;
}

body.sad337-preset-strict .site-top-banner {
  position: relative;
  box-sizing: border-box;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  padding: 8px 31px;
}

body.sad337-preset-strict .site-top-banner__col--logo {
  box-sizing: border-box;
  flex: 0 0 66.6667%;
  max-width: 66.6667%;
  padding: 0 15px;
  text-align: center;
}

body.sad337-preset-strict .site-top-banner__col--contact {
  position: static;
  box-sizing: border-box;
  flex: 0 0 33.3333%;
  width: auto;
  max-width: 33.3333%;
  padding: 0 15px;
  text-align: center;
}

body.sad337-preset-strict .site-top-banner__col--contact > div {
  box-sizing: border-box;
  margin: 8px 0 0;
  padding: 10px 20px 20px;
  border: 1px solid #ccc;
  background: #fff;
  text-align: center;
}

body.sad337-preset-strict .site-navbar__inner {
  position: relative;
}

body.sad337-preset-strict .site-navbar__search {
  position: absolute;
  top: 26px;
  right: -28px;
  z-index: 4;
}

body.sad337-preset-strict .site-navbar__search .site-search__form {
  position: relative;
  display: block;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.sad337-preset-strict .site-navbar__search .site-search__field {
  width: 36px;
  height: 30px;
  margin: 0;
  padding: 0 28px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: transparent;
  cursor: pointer;
  transition: width 0.2s linear;
}

body.sad337-preset-strict .site-navbar__search .site-search__field::placeholder {
  color: transparent;
}

body.sad337-preset-strict .site-navbar__search .site-search__field:focus {
  width: 160px;
  color: #666;
  outline: 0;
  border-bottom: 1px solid #ccc;
  cursor: text;
}

body.sad337-preset-strict .site-navbar__search .site-search__field:focus::placeholder {
  color: #bbb;
}

body.sad337-preset-strict .site-navbar__search .site-search__submit {
  position: absolute;
  right: 0;
  top: 0;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10' cy='10' r='6.5' fill='none' stroke='%23999' stroke-width='2'/%3E%3Cpath d='M15 15l6 6' stroke='%23999' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat;
  color: transparent;
  font-size: 0;
  box-shadow: none;
}

body.sad337-preset-strict .site-navbar {
  background: transparent;
}

@media (min-width: 960px) {
  body.sad337-preset-strict .site-navbar.is-stuck {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    background: #fff;
    box-shadow: 0 0 20px 0 rgba(51, 51, 51, 0.1);
    animation: chester-slide-down 0.2s ease-out;
  }

  body.admin-bar.sad337-preset-strict .site-navbar.is-stuck {
    top: 32px;
  }
}

@keyframes chester-slide-down {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

body.sad337-preset-strict .site-navbar__inner {
  justify-content: flex-start;
  padding: 15px 0 19px;
}

body.sad337-preset-strict .site-navbar__inner > .primary-nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-start;
  width: 100%;
}

body.sad337-preset-strict .site-navbar__inner > .primary-nav > ul {
  margin: 0;
}

body.sad337-preset-strict .site-top-banner__col--logo img {
  display: block;
  margin: 0 auto;
}

body.sad337-preset-strict .primary-nav > ul {
  justify-content: flex-start;
  gap: 0;
  padding-left: 37px;
}

body.sad337-preset-strict .primary-nav > ul > li {
  margin: 0 6px 0 0;
  padding: 4px 0 0;
}

body.sad337-preset-strict .primary-nav > ul > li > a {
  display: block;
  height: 50px;
  padding: 0 20px;
  border: 1px solid #999;
  border-radius: 30px;
  background: #f1ebdb;
  color: #444;
  font-family: Cuprum, "Arial Narrow", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 50px;
  text-transform: uppercase;
  text-decoration: none;
}

body.sad337-preset-strict .primary-nav > ul > li.menu-item-has-children > a::after {
  content: none;
}

body.sad337-preset-strict .primary-nav > ul > li > a:hover,
body.sad337-preset-strict .primary-nav > ul > li > a:focus,
body.sad337-preset-strict .primary-nav > ul > li.current-menu-item > a,
body.sad337-preset-strict .primary-nav > ul > li.current-menu-ancestor > a,
body.sad337-preset-strict .primary-nav > ul > li.current_page_item > a {
  background: #dbd9d2;
  color: #333;
  text-decoration: none;
}

body.sad337-preset-strict .primary-nav .sub-menu {
  min-width: 280px;
  padding: 6px 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-align: left;
}

body.sad337-preset-strict .primary-nav .sub-menu a {
  display: block;
  height: auto;
  padding: 8px 16px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #333;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  text-transform: none;
}

body.sad337-preset-strict .primary-nav .sub-menu a:hover,
body.sad337-preset-strict .primary-nav .sub-menu a:focus {
  background: #f7f4ee;
  color: #333;
  text-decoration: none;
}

body.sad337-preset-strict .entry,
body.sad337-preset-strict .entry__content {
  background: transparent;
}

body.sad337-preset-strict .entry__content h4 {
  color: #666;
  font-family: Cuprum, sans-serif;
  font-weight: 400;
}

body.sad337-preset-strict table.category {
  width: 100%;
  margin: 0 0 20px;
  border-collapse: collapse;
  border: 1px solid #ddd;
  background: #fff;
}

body.sad337-preset-strict table.category td {
  padding: 8px 12px;
  border: 1px solid #ddd;
}

body.sad337-preset-strict table.category tbody tr:nth-child(odd) {
  background: #f9f9f9;
}

body.sad337-preset-strict .site-footer {
  margin-top: 0;
  padding: 20px 0;
  border-top: 0;
  background: #0c1742 url("../images/footer-fon.svg") center top no-repeat;
  color: #fff;
}

body.sad337-preset-strict .site-footer a {
  color: #fff;
}

body.sad337-preset-strict .wpcf7-form > p {
  margin: 0 0 14px;
  font-size: 14px;
}

body.sad337-preset-strict .wpcf7 label {
  display: block;
  margin: 0;
  color: rgba(0, 0, 0, 0.87);
  font-size: 13px;
  font-weight: 700;
  line-height: 24px;
}

body.sad337-preset-strict .wpcf7 label br {
  display: none;
}

body.sad337-preset-strict .wpcf7 .sad337-req {
  margin: -0.2em 0 0 0.2em;
  color: #db2828;
}

body.sad337-preset-strict .wpcf7 input[type="text"],
body.sad337-preset-strict .wpcf7 input[type="email"],
body.sad337-preset-strict .wpcf7 input[type="tel"],
body.sad337-preset-strict .wpcf7 textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 4px 0 0;
  padding: 9.5px 14px;
  border: 1px solid rgba(34, 36, 38, 0.15);
  border-radius: 4px;
  background: #fff;
  color: rgba(0, 0, 0, 0.87);
  font-family: Lato, "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  outline: 0;
  transition: color 0.1s ease, border-color 0.1s ease;
}

body.sad337-preset-strict .wpcf7 textarea {
  height: 100px;
  padding: 11px 14px;
  line-height: 18px;
  resize: vertical;
}

body.sad337-preset-strict .wpcf7 input:focus,
body.sad337-preset-strict .wpcf7 textarea:focus {
  border-color: #85b7d9;
}

body.sad337-preset-strict .wpcf7 .wpcf7-captchar {
  display: inline-block;
  width: 160px;
  margin: 0 0 0 8px;
  vertical-align: middle;
}

body.sad337-preset-strict .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

body.sad337-preset-strict .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: #333;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  cursor: pointer;
}

body.sad337-preset-strict .wpcf7-acceptance a {
  color: #4183c4;
}

body.sad337-preset-strict .wpcf7-acceptance a:hover {
  color: #1e70bf;
}

body.sad337-preset-strict .wpcf7-acceptance input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex: 0 0 49px;
  width: 49px;
  height: 21px;
  margin: 0;
  border-radius: 500rem;
  background: rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: background 0.3s ease;
}

body.sad337-preset-strict .wpcf7-acceptance input[type="checkbox"]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 21px;
  height: 21px;
  border-radius: 500rem;
  background: #fff linear-gradient(transparent, rgba(0, 0, 0, 0.05));
  box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15), 0 0 0 1px rgba(34, 36, 38, 0.15) inset;
  transition: left 0.3s ease;
}

body.sad337-preset-strict .wpcf7-acceptance input[type="checkbox"]:checked {
  background: #2185d0;
}

body.sad337-preset-strict .wpcf7-acceptance input[type="checkbox"]:checked::before {
  left: 28px;
}

body.sad337-preset-strict .wpcf7-submit {
  min-height: 1em;
  margin: 0 3.5px 0 0;
  padding: 11px 21px;
  border: 0;
  border-radius: 4px;
  background: #2185d0;
  color: #fff;
  font-family: Lato, "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 14px;
  text-transform: none;
  cursor: pointer;
  transition: background-color 0.1s ease;
}

body.sad337-preset-strict .wpcf7-submit:hover,
body.sad337-preset-strict .wpcf7-submit:focus {
  background: #1678c2;
  color: #fff;
}

body.sad337-preset-strict .breadcrumbs-wrap {
  margin: 0 0 12px;
  padding: 0;
  background: transparent;
  border: 0;
}

body.sad337-preset-strict .site-bottom-a > :not(.dark) {
  box-sizing: border-box;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 15px;
}

body.sad337-preset-strict .sad337-grid.sad337-grid--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.sad337-preset-strict .sad337-grid.sad337-grid--cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.sad337-preset-strict .sad337-grid.sad337-grid--cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

body.sad337-preset-strict .sad337-grid__image-link img,
body.sad337-preset-strict .sad337-grid__col img {
  width: 100%;
  height: auto;
}

body.sad337-preset-strict .slider1 {
  min-height: 676px !important;
  background-repeat: no-repeat;
  background-position: top center;
  background-color: #ddd;
}

body.sad337-preset-strict .sad337-slideshow,
body.sad337-preset-strict .sad337-slideshow__figure,
body.sad337-preset-strict .slider1,
body.sad337-preset-strict .slider1 .sad337-cols,
body.sad337-preset-strict .slider1 .sad337-cols > div {
  overflow: visible;
}

body.sad337-preset-strict .slider1 h3 {
  margin: 26px 0 10px;
  color: #333;
}

body.sad337-preset-strict .slider1 ul {
  margin: 0 0 10px;
  padding-left: 1.2em;
  list-style: disc;
}

@media (min-width: 1220px) {
  body.sad337-preset-strict .slider1 {
    margin: -20px -28px 10px;
  }
}

body.sad337-preset-strict .redlist-line,
body.sad337-preset-strict .whitelist-line {
  margin: 40px 0 10px 40px;
}

body.sad337-preset-strict .slider1 {
  line-height: 18px;
}

body.sad337-preset-strict .redlist-line > p,
body.sad337-preset-strict .whitelist-line > p {
  margin: 0 0 12px;
}

@media (min-width: 960px) {
  body.sad337-preset-strict .site-top-b .sad337-slideshow {
    max-height: 676px;
  }
}

body.sad337-preset-strict span.redlist,
body.sad337-preset-strict span.whitelist {
  display: block;
  width: 16px;
  height: 16px;
  margin-bottom: -21px;
  position: relative;
  left: -30px;
  border-radius: 12px;
}

body.sad337-preset-strict span.redlist {
  background: #dd0000;
}

body.sad337-preset-strict span.whitelist {
  background: #fff;
}

body.sad337-preset-strict span.text-redlist {
  color: #2b2a29;
  font-size: 16px;
  line-height: 26px;
}

body.sad337-preset-strict span.text-whitelist {
  color: #fff;
  font-size: 16px;
  line-height: 26px;
}

body.sad337-preset-strict a.tzar,
body.sad337-preset-strict .tzar,
body.sad337-preset-strict .slider1 [style*="border-radius:40px"] {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

body.sad337-preset-strict a.tzar::before,
body.sad337-preset-strict .tzar::before,
body.sad337-preset-strict .slider1 [style*="border-radius:40px"]::before {
  content: "";
  position: absolute;
  left: -160%;
  z-index: -1;
  width: 130%;
  height: 100%;
  background: #dbd9d2;
  transform: skewX(20deg);
  transition: left 0.4s;
}

body.sad337-preset-strict a.tzar:hover::before,
body.sad337-preset-strict a.tzar:focus::before,
body.sad337-preset-strict .tzar:hover::before,
body.sad337-preset-strict .slider1 [style*="border-radius:40px"]:hover::before {
  left: -15%;
}

body.sad337-preset-strict a.tzar,
body.sad337-preset-strict .tzar {
  display: block;
  box-sizing: border-box;
  height: 50px;
  margin: 0;
  padding: 0 20px;
  border: 1px solid #999;
  border-radius: 30px;
  background: #f1ebdb;
  color: #333;
  font-family: Cuprum, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 50px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

body.sad337-preset-strict a.tzar:hover,
body.sad337-preset-strict a.tzar:focus,
body.sad337-preset-strict .tzar:hover {
  background: #dbd9d2;
  color: #333;
  text-decoration: none;
}

body.sad337-preset-strict #map,
body.sad337-preset-strict .map {
  width: 100%;
  height: 550px;
}

body.sad337-preset-strict .contacts {
  position: relative;
}

body.sad337-preset-strict .contacts-block,
body.sad337-preset-strict .contacts-block.sad337-cols {
  display: block !important;
  position: absolute;
  left: 10%;
  top: 20%;
  z-index: 2;
  box-sizing: border-box;
  width: 300px;
  max-width: 80%;
  padding: 33px 20px 39px;
  background: #fff;
  color: #333;
  font-size: 15px;
  line-height: 19px;
}

body.sad337-preset-strict .site-bottom-d .contacts-block.sad337-cols {
  grid-template-columns: unset;
  gap: 0;
  padding: 33px 20px 39px;
  margin: 0;
  max-width: 80%;
}

body.sad337-preset-strict .contacts-block p {
  margin: 0 0 12px;
}

body.sad337-preset-strict .contacts-block span,
body.sad337-preset-strict .contacts-block__mail a {
  font-family: Roboto_med, Roboto, Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
}

body.sad337-preset-strict .contacts-block__mail a {
  color: #3c929c;
}

body.sad337-preset-strict .contacts-block__mail a:hover {
  color: #74c1ca;
}

body.sad337-preset-strict .contacts-block__adress,
body.sad337-preset-strict .contacts-block__phone,
body.sad337-preset-strict .contacts-block__mail {
  position: relative;
  margin-left: 60px;
}

body.sad337-preset-strict .contacts-block__phone,
body.sad337-preset-strict .contacts-block__mail {
  margin-top: 30px;
}

body.sad337-preset-strict .contacts-block__adress::before,
body.sad337-preset-strict .contacts-block__phone::before,
body.sad337-preset-strict .contacts-block__mail::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60px;
  width: 54px;
  height: 54px;
  background: center / 60% auto no-repeat;
}

body.sad337-preset-strict .contacts-block__adress::before {
  background-image: url("../images/chester/icon-adress.png");
}

body.sad337-preset-strict .contacts-block__phone::before {
  background-image: url("../images/chester/icon-phone.png");
}

body.sad337-preset-strict .contacts-block__mail::before {
  background-image: url("../images/chester/icon-mail.png");
}

body.sad337-preset-strict .dark {
  margin: 20px 0 10px;
  padding: 16px;
  background: url("../../../../uploads/joomla-import/garantia-fon.svg") center top no-repeat fixed;
  color: #fff !important;
}

body.sad337-preset-strict .dark > div {
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
}

body.sad337-preset-strict .dark h2,
body.sad337-preset-strict .dark h3,
body.sad337-preset-strict .dark p,
body.sad337-preset-strict .dark a,
body.sad337-preset-strict .h2white {
  color: #fff;
}

body.sad337-preset-strict .h2white {
  text-align: center;
}

body.sad337-preset-strict .oval {
  width: 32em;
  max-width: 100%;
  height: 6em;
  margin: 1em auto;
  padding: 0.01em 0 1.9em;
  border-radius: 100%;
  background: #202e66;
  color: #fff;
  text-align: center;
}

body.sad337-preset-strict .sad337-grid__col.chester-await {
  opacity: 0;
}

body.sad337-preset-strict .sad337-grid__col.chester-in {
  animation: chester-fade 0.8s linear both;
}

@keyframes chester-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

body.sad337-preset-strict .sad337-container {
  box-sizing: border-box;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding: 0 15px;
}

/* UIkit grid as Chester renders it: 3px edge, 15px column padding, 20px row margin */
body.sad337-preset-strict .entry__content .sad337-cols:not([style]) {
  display: block;
  margin-bottom: 0;
}

body.sad337-preset-strict .entry__content .sad337-cols[style] {
  display: grid;
}

body.sad337-preset-strict .entry__content .wpcf7,
body.sad337-preset-strict .entry__content .wpcf7 label,
body.sad337-preset-strict .entry__content .wpcf7-intro {
  text-align: left;
}

body.sad337-preset-strict .entry__content .sad337-gallery {
  gap: 8px;
}

body.sad337-preset-strict .entry__content .sad337-gallery__thumb {
  border-radius: 0;
}

body.sad337-preset-strict .site-top-b .sad337-cols[style],
body.sad337-preset-strict .site-bottom-a .sad337-cols[style],
body.sad337-preset-strict .site-bottom-d .sad337-cols[style],
body.sad337-preset-strict .entry__content .sad337-cols[style],
body.sad337-preset-strict .site-bottom-a .sad337-grid {
  box-sizing: border-box;
  gap: 20px 0;
  justify-items: stretch;
  align-items: start;
  margin: 0;
  padding: 4px 3px;
}

body.sad337-preset-strict .site-top-b .sad337-cols[style] > div,
body.sad337-preset-strict .site-bottom-a .sad337-cols[style] > div,
body.sad337-preset-strict .site-bottom-d .sad337-cols[style] > div,
body.sad337-preset-strict .entry__content .sad337-cols[style] > div,
body.sad337-preset-strict .site-bottom-a .sad337-grid > .sad337-grid__col {
  box-sizing: border-box;
  min-width: 0;
  padding: 0 15px;
}

body.sad337-preset-strict img {
  vertical-align: middle;
}

body.sad337-preset-strict .sad337-cols > div > :last-child,
body.sad337-preset-strict .entry__content > :last-child,
body.sad337-preset-strict .radius-block > :last-child {
  margin-bottom: 0;
}

body.sad337-preset-strict.home .site-main {
  box-sizing: border-box;
  padding: 0 28px;
}

body.sad337-preset-strict .site-bottom-d .nodiv {
  margin: 50px 43px 0;
}

/* Hero slideshow: dotnav over the photo, slidenav only on hover */
body.sad337-preset-strict .site-top-b {
  margin-top: 0;
  padding-bottom: 14px;
  overflow: hidden;
}

body.sad337-preset-strict .site-top-b .slider1 {
  margin-top: -16px;
  margin-bottom: 16px;
}

body.sad337-preset-strict .site-top-b .sad337-slideshow {
  position: relative;
  margin: -6px 0 0;
  overflow: hidden;
}

body.sad337-preset-strict.home .site-content {
  padding-bottom: 0;
}

body.sad337-preset-strict.home .site-bottom-a {
  margin-top: 0;
  padding-top: 22px;
}

body.sad337-preset-strict .site-bottom-a > :not(.dark) {
  display: flow-root;
}

body.sad337-preset-strict .site-bottom-a > * + :not(.dark) {
  margin-top: 20px;
}

body.sad337-preset-strict.home .site-bottom-d {
  padding-bottom: 8px;
}

body.sad337-preset-strict .site-top-b .sad337-slideshow__dots {
  position: absolute;
  right: 0;
  bottom: 30px;
  left: 0;
  z-index: 3;
  gap: 10px;
  padding: 0;
  background: transparent;
}

body.sad337-preset-strict .site-top-b .sad337-slideshow__dot {
  box-sizing: border-box;
  width: 24px;
  height: 24px;
  border: 1px solid #81664c;
  background: #fff;
  transition: background-color 0.2s;
}

body.sad337-preset-strict .site-top-b .sad337-slideshow__dot:hover,
body.sad337-preset-strict .site-top-b .sad337-slideshow__dot:focus,
body.sad337-preset-strict .site-top-b .sad337-slideshow__dot.is-active {
  background: #b3ae9f;
}

body.sad337-preset-strict .site-top-b .sad337-slideshow__nav {
  display: none;
  width: 30px;
  height: 30px;
  margin-top: 0;
  padding: 0 0 3px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.7);
  color: rgba(0, 0, 0, 0.7);
  font-size: 26px;
  line-height: 26px;
  text-align: center;
  cursor: pointer;
}

body.sad337-preset-strict .site-top-b .sad337-slideshow:hover .sad337-slideshow__nav {
  display: block;
}

body.sad337-preset-strict .site-top-b .sad337-slideshow__nav:hover,
body.sad337-preset-strict .site-top-b .sad337-slideshow__nav:focus {
  background: rgba(255, 255, 255, 0.9);
  color: rgba(0, 0, 0, 0.9);
}

body.sad337-preset-strict .site-top-b .sad337-slideshow__nav--prev {
  left: 20px;
}

body.sad337-preset-strict .site-top-b .sad337-slideshow__nav--next {
  right: 20px;
}

body.sad337-preset-strict .slider1 .sad337-container {
  text-align: left;
}

/* Chester content blocks */
body.sad337-preset-strict .radius-block {
  box-sizing: border-box;
  padding: 20px;
  border: 1px solid #999;
  border-radius: 30px;
  background: #f8f4ee;
}

body.sad337-preset-strict .wpcf7-form > p:last-of-type {
  margin-bottom: 0;
}

/* Joomla: Semantic form margin 24px + 20px ChronoForms credits line. */
body.sad337-preset-strict .site-bottom-a .wpcf7 {
  margin-bottom: 44px;
}

body.sad337-preset-strict .wpcf7-intro {
  margin: 14px 0;
  line-height: 20px;
}

body.sad337-preset-strict .wpcf7-intro br {
  content: "";
  display: block;
  margin-bottom: 14px;
}

body.sad337-preset-strict .radius-block > .sad337-cols {
  margin-bottom: 0;
}

body.sad337-preset-strict img.krug {
  width: auto !important;
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 50%;
}

/* uk-button: beige pill with the Chester skew shine */
body.sad337-preset-strict .uk-button:not(.tzar),
body.sad337-preset-strict .dark a.uk-button:not(.tzar) {
  position: relative;
  z-index: 1;
  display: inline-block;
  box-sizing: border-box;
  min-height: 30px;
  margin: 0;
  padding: 0 12px;
  overflow: hidden;
  border: 1px solid #333;
  border-radius: 20px;
  background: #f1ebdb;
  color: #666;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 30px;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  vertical-align: middle;
  cursor: pointer;
  transition: color 0.4s, background 0.2s;
}

body.sad337-preset-strict .uk-button:not(.tzar)::before {
  content: "";
  position: absolute;
  top: 0;
  left: -160%;
  z-index: -1;
  width: 130%;
  height: 100%;
  background: #dbd9d2;
  transform: skewX(20deg);
  transition: left 0.4s;
}

body.sad337-preset-strict .uk-button:not(.tzar):hover,
body.sad337-preset-strict .uk-button:not(.tzar):focus,
body.sad337-preset-strict .dark a.uk-button:not(.tzar):hover {
  border-color: #333;
  background-color: #f1ebdb;
  color: #666;
  text-decoration: none;
}

body.sad337-preset-strict .uk-button:not(.tzar):hover::before,
body.sad337-preset-strict .uk-button:not(.tzar):focus::before {
  left: -15%;
}

/* Case grid (Widgetkit grid, media teaser + scale overlay) */
body.sad337-preset-strict .sad337-grid__media--scale {
  display: block;
  overflow: hidden;
  margin: 0 0 15px;
}

body.sad337-preset-strict .sad337-grid__media--scale figure {
  margin: 0;
}

body.sad337-preset-strict .sad337-grid__media--scale img {
  display: block;
  transform: scale(1);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out, filter 0.3s ease-out;
}

body.sad337-preset-strict .sad337-grid__media--scale:hover img,
body.sad337-preset-strict .sad337-grid__media--scale:focus img {
  transform: scale(1.1);
}

body.sad337-preset-strict .sad337-grid__media--scale + .sad337-grid__title {
  margin: -6px 0 10px;
  color: #444;
  font-size: 18px;
  line-height: 22px;
  border-bottom: 1px solid #ddd;
  text-align: center;
  text-shadow: 0 1px 0 #fff, 0 -1px 0 #fff, 1px 0 0 #fff, -1px 0 0 #fff;
}

body.sad337-preset-strict .site-bottom-a .sad337-grid__title,
body.sad337-preset-strict .site-bottom-a .dark .sad337-grid__title {
  margin: -6px 0 10px;
  color: #444;
  font-size: 18px;
  line-height: 22px;
  border-bottom: 1px solid #ddd;
  text-shadow: 0 1px 0 #fff, 0 -1px 0 #fff, 1px 0 0 #fff, -1px 0 0 #fff;
}

body.sad337-preset-strict .site-bottom-a .sad337-grid__content {
  margin: 15px 0 0;
}

body.sad337-preset-strict .sad337-grid__media--scale ~ .sad337-grid__content {
  margin: 15px 0;
}

body.sad337-preset-strict .sad337-grid__more {
  margin: 0;
}

/* Symptoms */
body.sad337-preset-strict .dark > .sad337-cols:not([style]) {
  display: block;
}

body.sad337-preset-strict .dark .oval {
  box-sizing: content-box;
  padding: 0.01em 0 1.9em;
}

body.sad337-preset-strict .simptom {
  box-sizing: border-box;
  max-width: 180px;
  margin: auto;
  padding: 0 0 20px;
  border-top: 3px solid #fff;
  border-left: 3px solid #fff;
  border-radius: 94px 94px 0 0;
  background: linear-gradient(to bottom, rgba(36, 46, 84, 1) 24%, rgba(241, 235, 219, 0) 50%);
}

body.sad337-preset-strict .simptom img {
  display: block;
  max-width: 100%;
}

body.sad337-preset-strict .simptom-txt {
  margin: 20px 6px 10px;
  font-family: Cuprum, sans-serif;
  font-size: 16px;
  line-height: 19px;
  text-align: center;
  text-transform: uppercase;
}

body.sad337-preset-strict .dark [style*="border-radius: 40px"] h3,
body.sad337-preset-strict .dark [style*="border-radius:40px"] h3,
body.sad337-preset-strict .entry__content [style*="border-radius: 40px"] h3,
body.sad337-preset-strict .entry__content [style*="border-radius:40px"] h3 {
  margin: 26px 0 10px;
}

body.sad337-preset-strict .dark [style*="border-radius: 40px"] a,
body.sad337-preset-strict .dark [style*="border-radius:40px"] a,
body.sad337-preset-strict .entry__content [style*="border-radius: 40px"] a,
body.sad337-preset-strict .entry__content [style*="border-radius:40px"] a {
  color: #3c929c;
  font-family: Cuprum, sans-serif;
  font-size: 20px;
  line-height: 24px;
}

body.sad337-preset-strict .dark [style*="border-radius: 40px"] a:hover,
body.sad337-preset-strict .dark [style*="border-radius:40px"] a:hover,
body.sad337-preset-strict .entry__content [style*="border-radius: 40px"] a:hover,
body.sad337-preset-strict .entry__content [style*="border-radius:40px"] a:hover {
  color: #74c1ca;
}

/* FAQ accordion (Widgetkit accordion -> details) */
body.sad337-preset-strict .site-bottom-a details,
body.sad337-preset-strict .entry__content details {
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.sad337-preset-strict .site-bottom-a details > summary,
body.sad337-preset-strict .entry__content details > summary {
  display: block;
  margin: 0 0 15px;
  padding: 10px 0 10px 16px;
  border: 1px solid #727272;
  border-radius: 20px;
  background: #f1ebdb;
  color: #666;
  font-family: Cuprum, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  list-style: none;
  cursor: pointer;
}

body.sad337-preset-strict .site-bottom-a details > summary::-webkit-details-marker,
body.sad337-preset-strict .entry__content details > summary::-webkit-details-marker {
  display: none;
}

body.sad337-preset-strict .site-bottom-a details[open] > summary,
body.sad337-preset-strict .entry__content details[open] > summary {
  border-bottom: 1px solid #727272;
}

body.sad337-preset-strict .site-bottom-a details > :not(summary),
body.sad337-preset-strict .entry__content details > :not(summary) {
  margin: 0;
  padding: 0 10px 10px;
}

body.sad337-preset-strict .site-bottom-a details > p + p,
body.sad337-preset-strict .entry__content details > p + p {
  padding-top: 0;
}

/* Gradient band with tzar buttons */
body.sad337-preset-strict .site-bottom-d > div[style*="linear-gradient"] {
  margin: 20px 0 !important;
}

body.sad337-preset-strict .site-bottom-d > div[style*="linear-gradient"] .sad337-cols {
  max-width: 1170px;
  margin: 0 auto;
}

/* Footer: uk-container + uk-grid columns */
body.sad337-preset-strict .site-footer .site-container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  padding: 0 15px;
}

body.sad337-preset-strict .site-footer .sad337-cols[style] {
  box-sizing: border-box;
  gap: 20px 0;
  align-items: start;
  justify-content: normal;
  margin: 0;
  padding: 4px 3px;
}

body.sad337-preset-strict .site-footer .sad337-cols[style] + .sad337-cols[style] {
  margin-top: 20px;
}

body.sad337-preset-strict .site-footer .sad337-cols[style] > div {
  display: block;
  box-sizing: border-box;
  min-width: 0;
  padding: 0 15px;
  line-height: 19px;
}

body.sad337-preset-strict .site-footer h3 {
  margin: 26px 0 10px;
}

body.sad337-preset-strict .site-footer ul {
  margin: 0 0 12px;
  padding: 0 0 0 30px;
}

body.sad337-preset-strict .site-footer li {
  padding-top: 4px;
  line-height: 18px;
}

body.sad337-preset-strict .site-footer .sad337-cols details {
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.sad337-preset-strict .site-footer .sad337-cols details > summary,
body.sad337-preset-strict .site-footer .sad337-cols details > summary * {
  color: #666 !important;
}

body.sad337-preset-strict .site-footer .sad337-cols details > summary {
  display: block;
  margin: 0 0 15px;
  padding: 10px 0 10px 16px;
  border: 1px solid #727272;
  border-radius: 20px;
  background: #f1ebdb;
  font-family: Cuprum, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
}

body.sad337-preset-strict .site-footer .sad337-cols details > :not(summary),
body.sad337-preset-strict .site-footer .sad337-cols details > :not(summary) * {
  color: #fff !important;
}

body.sad337-preset-strict .site-footer .sad337-cols details > :not(summary) {
  padding: 0 10px 10px;
}

/* Back to top (Chester tm-totop-scroller) */
body.sad337-preset-strict .site-footer {
  position: relative;
}

body.sad337-preset-strict .chester-totop {
  position: absolute;
  top: 15px;
  right: max(10px, calc((100% - 1200px) / 2 + 25px));
  z-index: 2;
  box-sizing: border-box;
  width: 36px;
  height: 35px;
  padding: 5px 10px 10px;
  border-radius: 30px;
  background: #eee;
  color: #bbb !important;
  text-align: center;
  text-decoration: none;
}

body.sad337-preset-strict .chester-totop::before {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  margin: 8px auto 0;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
}

body.sad337-preset-strict .chester-totop:hover,
body.sad337-preset-strict .chester-totop:focus {
  color: #666 !important;
  text-decoration: none;
}
