/*
Theme Name: Medfit
Theme URI: https://www.medfit.cz
Description: Child theme of Divi theme for the Divi theme
Author: Pavel Gracias
Author URI: https://www.pavelgracias.cz
Template: Divi
Version: 5.0.0.beta
*/

/***************/
/*** GRACIAS ***/
/***************/

html {
  --color-primary: #203d97;
  --color-secondary: #e6dcc4;
  --color-tertiary: #a49d8c;
  --color-primary-light: #1e398d;
  --color-primary-dark: #172c6e;
  --color-primary-darker: #222256;

  --color-brand-secondary: #009ce2;

  --color-gray-400: #f7f4f0;

  --color-bg-500: #dad1ba;
  --color-bg-600: #d3cab4;
  --color-bg-700: #d9cfb8;
  --color-bg-800: #cfc6b3;
  --color-bg-900: #d7c5ad;

  --color-white: #ffffff;
  --color-black: #000000;

  --color-required: #ff0000;

  --radius-sm: 12px;
  --radius-md: 35px;
  --radius-lg: 60px;
  --radius-full: 100%;

  /* --header-offset: 110px;
  scroll-padding-top: var(--header-offset, 0px); */
  scroll-behavior: auto;~
}

/* @media all and (max-width: 767px) {
  html {
    --header-offset: 80px;
  }
} */

body {
  background-color: var(--color-secondary);
}

@media all and (max-width: 768px) {
  .entry-content .text-table table tr td {
    padding: 4px 9px;
  }

  .entry-content .text-table table tr td h4 {
    font-size: 0.9rem;
  }
}

@media all and (max-width: 360px) {
  .entry-content .text-table table tr td {
    padding: 4px 8px;
  }
}

.package-table tr td {
  position: relative;
}

.tooltip_diagnose {
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.tooltip_diagnose::after {
  content: 'i';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.7rem;
  width: 1.35rem;
  height: 1.35rem;
  aspect-ratio: 1/1;
  border-radius: 50%;
  /* border: 2px solid var(--color-brand-secondary);
  color: var(--color-brand-secondary); */
  border: 2px solid var(--color-primary) !important;
  background-color: var(--color-primary);
  /* test tyrkysová:
  border: 2px solid var(--color-brand-secondary) !important;
  background-color: var(--color-white);
  color: var(--color-brand-secondary);
  */
  color: var(--color-white);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.tooltip_diagnose:hover:after {
  background-color: var(--color-tertiary);
  border-color: var(--color-tertiary) !important;
  color: var(--color-white);
}

.tooltip_diagnose.is-active::after {
  background-color: var(--color-tertiary);
  border-color: var(--color-brand-secondary) !important;
  color: var(--color-white);
}

.diagnose-tooltip {
  position: absolute;
  z-index: 10;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease;
  width: fit-content;
  max-width: 22rem;
  padding: 2rem 2.5rem 1.5rem;
  background-color: var(--color-bg-900);
  border-radius: var(--radius-md);
  color: var(--color-black);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
  pointer-events: auto;
}

.diagnose-tooltip__close {
  position: absolute;
  top: 0rem;
  right: 0.75rem;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
  color: var(--color-primary);
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
}

.diagnose-tooltip__close:hover,
.diagnose-tooltip__close:focus {
  color: var(--color-primary-dark);
}

.tooltip_diagnose.is-active + .diagnose-tooltip {
  visibility: visible;
  opacity: 1;
  top: 80%;
  right: 0;
  transform: translateX(50%);
}

.diagnose-tooltip h5 {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3em;
}

.diagnose-tooltip ul {
  list-style: none;
  padding: 0 0 0 1rem;
  margin: 0;
}

.diagnose-tooltip ul li {
  list-style-type: circle;
  padding: 0 0;
  line-height: 1.3em;
}

#et-boc .area-outer-wrap[data-da-color=dark] .da-close {
  background-color: var(--color-white);
  color: var(--color-black);
  font-size: 2.5rem;
  text-shadow: none !important;
}

@media all and (max-width: 768px) {
  .package-table tr td:has(.tooltip_diagnose) {
    padding-right: 2px !important;
  }

  .tooltip_diagnose::after {
    border: 2px solid var(--color-brand-secondary) !important;
    background-color: var(--color-white);
    color: var(--color-brand-secondary);
    margin-left: 0.25rem;
    width: 1.25rem;
    height: 1.25rem;
    font-size: 1rem;
    font-weight: 800;
  }

  .tooltip_diagnose:hover:after {
    background-color: var(--color-primary);
    border-color: var(--color-primary) !important;
    color: var(--color-white);
  }

  .tooltip_diagnose.is-active::after {
    background-color: var(--color-primary);
    border-color: var(--color-brand-secondary) !important;
    color: var(--color-white);
  }

  .tooltip_diagnose.is-active + .diagnose-tooltip {
    padding: 2rem 1.25rem 1.25rem;
    width: max-content;
    left: 0;
    right: unset;
    transform: none;
  }

  .diagnose-tooltip {
    border-radius: var(--gvid-ve6ympmh46);
  }

  .diagnose-tooltip h5 {
    font-size: 0.9rem;
  }

  .diagnose-tooltip ul li {
    font-size: 0.9rem;
  }

  #et-boc .area-outer-wrap[data-da-color=dark] .da-close {
    font-size: 2rem;
  }
}

@media all and (max-width: 360px) {
  .et_pb_row:has(.package-table) {
    width: 100% !important;
  }

  .tooltip_diagnose.is-active+.diagnose-tooltip {
    max-width: 95vw;
  }

  .diagnose-tooltip,
  .diagnose-tooltip h5,
  .diagnose-tooltip ul li {
    font-size: 0.9rem !important;
  }
}

.video-vertical .et_pb_video_box {
  max-height: inherit;
}

.video-vertical .et_pb_video_box video {
  width: auto !important;
  height: auto !important;
  max-height: inherit;
  aspect-ratio: 9 / 16;
}

/*** HEADER ***/
/* 1. Make the custom header always fixed */
#custom-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  /* transition: all 0.3s ease-in-out; */
  transition: none !important;
}

/* 2. Define the initial padding for the main content container */
/* This should match the full, non-sticky height of your header */
.et-tb #page-container,
.et-tb-has-header #page-container {
  /* padding-top: 154px; */
  padding-top: 106px;
  transition: padding-top 0.4s ease-out;
}

.et-tb #page-container,
.et-tb-has-header.header-scrolled #page-container {
  transition: padding-top 0.4s ease-out;
}

body.header-scrolled #page-container {
  /* padding-top: 154px; */
  padding-top: 106px;
}

@media all and (max-width:767px) {

  .et-tb #page-container,
  .et-tb-has-header #page-container {
    /* padding-top: 134px !important; */
    padding-top: 78px !important;
    transition: padding-top 0.4s ease-out;
  }

  .et-tb #page-container,
  .et-tb-has-header.header-scrolled #page-container {
    /* padding-top: 134px !important; */
    padding-top: 78px !important;
  }
}

/* 4. Style the header itself when scrolled */
body #custom-header .header-social {
  max-height: 100px;
  /* A value larger than the row's actual height */
  opacity: 1;
  overflow: hidden;
  transform: translateY(0);
  transition: max-height 0.4s ease-out, opacity 0.3s ease-out, transform 0.4s ease-out;
  will-change: max-height, opacity, transform;
  /* Performance optimization */
}

body.header-scrolled #custom-header .header-social {
  max-height: 0;
  opacity: 0;
  transform: translateY(-20px);
  /* Gently slide up as it fades */
}

/* #custom-header.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

#custom-header.is-sticky .et_pb_row_0_tb_header.header-social {
  display: none;
} */

#custom-header #logo {
  cursor: pointer;
}

#custom-header .et_pb_menu--without-logo {
  width: 90%;
  /* max-width: 42rem; */
  max-width: 46rem;
  border-radius: 3.75rem;
  padding: 0.4rem 1.1rem;
}

#custom-header .et_pb_menu--without-logo .et_pb_menu__menu,
#custom-header .et_pb_menu--without-logo .et_pb_menu__menu .et-menu-nav,
#custom-header .et_pb_menu--without-logo .et_pb_menu__menu .et-menu-nav ul.et-menu {
  width: 100%;
  justify-content: center;
}

#custom-header .et_pb_menu--without-logo .et_pb_menu__menu .et-menu-nav ul.et-menu {
  align-items: center;
  /* justify-content: center; */
  /* column-gap: 3vw; */
  justify-content: space-evenly;
  column-gap: 0;
}

#custom-header .et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li {
  margin-top: 0;
}

#custom-header .et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li>a {
  padding: 0.6rem 1rem;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.1rem;
}

body:not(.home) #custom-header .et_pb_menu--without-logo .et_pb_menu__menu .et-menu-nav ul li.current-menu-item>a {
  background-color: rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-lg);
}

#custom-header .et_pb_menu--without-logo .et_mobile_nav_menu .mobile_nav .mobile_menu_bar::before {
  font-size: 2rem;
  font-weight: 500;
}

@media all and (max-width: 768px) {
  #custom-header .et_pb_button_module_wrapper:has(.header-cta) {
    display: none;
  }
}

@media only screen and (max-width: 920px) {
  #custom-header .et_pb_menu--without-logo {
    width: fit-content;
    padding: 0.65rem 1.1rem;
  }

  .et_pb_menu_0_tb_header .et_pb_menu__wrap,
  #custom-header .et_pb_menu--without-logo .et_pb_menu__wrap {
    justify-content: center !important;
  }

  #custom-header .et_pb_menu--without-logo .et_mobile_nav_menu .mobile_nav ul.et_mobile_menu {
    width: fit-content;
    min-width: 50vw;
    right: -2rem;
    left: unset;
    margin-top: 0.5rem;
  }
}

div.grecaptcha-badge {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Cookies lišta */
.cmplz-cookiebanner .cmplz-header {
  /* display: none !important;
  height: 0; */

  position: absolute;
  grid-template-columns: auto 1fr auto !important;
  top: 0;
  right: 0;
  width: fit-content;
}

@media (min-width: 1024px) {
  .cmplz-cookiebanner {
body>#cmplz-manage-consent>.cmplz-manage-consent {
  display: none;
}

    grid-template-rows: 1fr auto !important;
    row-gap: 0 !important;
  }

  .cmplz-cookiebanner .cmplz-header {
    padding-right: 10px;
    padding-top: 4px;
  }

  .cmplz-cookiebanner .cmplz-header .cmplz-close svg {
    width: 30px;
    height: 30px;
  }

  .cmplz-cookiebanner .cmplz-body,
  .cmplz-cookiebanner .cmplz-buttons {
    grid-row-start: 1 !important;
  }
  .cmplz-cookiebanner .cmplz-links.cmplz-documents {
    grid-row-start: 2 !important;
  }
}

@media (max-width: 1023px) {
  .cmplz-cookiebanner {
    padding: 10px 10px !important;
    grid-gap: 5px !important;
    border-radius: var(--radius-sm) !important;
  }

  .cmplz-cookiebanner .cmplz-header {
    padding-right: 4px;
    padding-top: 0;
  }

  .cmplz-cookiebanner .cmplz-header .cmplz-close svg {
    width: 24px;
    height: 24px;
  }

  /* .cmplz-cookiebanner .cmplz-buttons {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  } */

  .cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
    /* width: fit-content !important; */
    padding: 12px 16px !important;
    height: fit-content !important;
    font-size: 14px !important;
    line-height: 1em !important;
  }

  #cmplz-manage-consent .cmplz-manage-consent {
    display: block !important;
    right: 0 !important;
    font-size: 0;
    height: 45px !important;
  }

  #cmplz-manage-consent .cmplz-manage-consent::before {
    content: 'Cookies';
    display: inline;
    font-size: 14px;
  }
}

body.wp-child-theme-medfit #page-container .et_pb_section .preset--module--divi-button--kaphxw0jcr:before,
body.wp-child-theme-medfit #page-container .et_pb_section .preset--module--divi-button--kaphxw0jcr:hover:before{
  line-height: 0 !important;
}

/*** HERO ***/
.hero-title h1 strong {
  color: var(--color-primary);
  font-weight: 800;
}

.hero-title p {
  max-width: 15rem;
  margin: 0 auto;
}

.blurb-turbo {
  position: relative;
  text-align: center;
}
.blurb-turbo .et_pb_blurb_content {
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: unset;
  padding: 0 2rem;
  background: white;
}

.blurb-turbo .et_pb_blurb_content .et_pb_main_blurb_image {
  display: flex;
  width: fit-content;
  margin: 0;
}

.blurb-turbo .et_pb_blurb_content .et_pb_blurb_container {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  height: inherit;
}

.blurb-turbo::before,
.blurb-turbo::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 1.5rem);
  /* gap left around the text */
  border-top: 1px solid var(--color-primary-darker);
  pointer-events: none;
}

.blurb-turbo::before {
  left: 0;
}

.blurb-turbo::after {
  right: 0;
}

.blurb-attribute .et_pb_blurb_container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 5rem auto;
  gap: 2rem;
}

.blurb-attribute .et_pb_blurb_container .et_pb_module_header {
  width: 90%;
  max-width: 16rem;
  margin: 0 auto;
}

.blurb-attribute.attribute-6x .et_pb_blurb_content .et_pb_module_header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: left;
}

.blurb-attribute.attribute-6x .et_pb_blurb_content .et_pb_module_header::before {
  content: '';
  background-image: url(/wp-content/uploads/6x-icon.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center top;
  display: block;
  width: 10rem;
  max-width: 50%;
  aspect-ratio: 3/2;
}

.blurb-effect .et_pb_blurb_content {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
}

.blurb-effect .et_pb_blurb_content .et_pb_main_blurb_image {
  display: block;
  margin: 0;
  width: fit-content;
}

.blurb-effect .et_pb_blurb_content .et_pb_main_blurb_image .et_pb_blurb_content {
  display: block;
}

.blurb-attribute.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.blurb-attribute.no-image .et_pb_blurb_content {
  /* max-width: 800px; */
}

.blurb-attribute.no-image .et_pb_blurb_container {
  grid-template-rows: 1fr auto;
  gap: 0.5rem;
}

.blurb-attribute.no-image .et_pb_blurb_container .et_pb_module_header {
  width: 100%;
  max-width: 100%;
}

.blurb-effect .et_pb_blurb_content .et_pb_main_blurb_image .et_pb_image_wrap img {
  display: block;
}

.blurb-effect .et_pb_blurb_content .et_pb_blurb_container {
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 1.5rem;
  height: inherit;
  padding-left: 0;
}

.blurb-effect .et_pb_blurb_content .et_pb_blurb_container .et_pb_module_header {
  align-self: center;
}

.blurb-effect .et_pb_blurb_content .et_pb_blurb_container .et_pb_blurb_description h4 {
  padding-bottom: 1rem;
  color: var(--color-primary);
  font-size: 1.25rem;
  font-weight: 600;
}

@media all and (max-width:980px) {
  .blurb-attribute.attribute-6x .et_pb_blurb_content .et_pb_module_header::before {
    max-width: 40%;
  }
}

@media all and (max-width:768px) {
  .blurb-attribute.attribute-6x .et_pb_blurb_content .et_pb_module_header {
    gap: 0.5rem;
  }

  .blurb-effect .et_pb_blurb_content {
    flex-direction: column;
    gap: 0.5rem;
  }

  .blurb-effect .et_pb_blurb_content .et_pb_blurb_container {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: 0.2rem;
  }

  .blurb-effect .et_pb_blurb_content .et_pb_blurb_container .et_pb_module_header {
    gap: 0;
    padding-bottom: 0.4rem;
  }

  .blurb-effect .et_pb_blurb_content .et_pb_blurb_container .et_pb_blurb_description h4 {
    padding-bottom: 0.4rem;
    color: inherit;
    font-size: inherit;
    line-height: 1.3em;
  }
}

@media all and (max-width: 480px) {
  .blurb-turbo .et_pb_blurb_content {
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
  }

  .blurb-attribute .et_pb_blurb_container {
    display: block;
    gap: 1rem;
  }

  .blurb-attribute.attribute-6x .et_pb_blurb_content .et_pb_module_header::before {
    max-width: 35%;
  }
}

.blurb-function-2.et_pb_blurb .et_pb_main_blurb_image span.et-pb-icon.et-waypoint::before {
  content: ' ';
  display: inline;
}

.blurb-function-3.et_pb_blurb .et_pb_main_blurb_image span.et-pb-icon.et-waypoint::before {
  content: '  ';
  display: inline;
}

/*** TIMELINE ***/
.row-timeline .et_pb_column {
  position: relative;
}

.row-timeline .et_pb_column:nth-of-type(odd)::before {
  content: '';
  position: absolute;
  right: -1rem;
  display: block;
  border: 1px solid var(--color-bg-600);
  width: 0;
  height: 100%;
}

.row-timeline .et_pb_column:nth-of-type(odd) .timeline-title::after {
  content: '';
  position: absolute;
  top: 0;
  right: -24px;
  display: block;
  border: 2px solid var(--color-bg-600);
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  width: 14px;
  height: 14px;
  aspect-ratio: 1 / 1;
}

.row-timeline .et_pb_column:nth-of-type(odd):last-of-type::before,
.row-timeline .et_pb_column:nth-of-type(odd):nth-last-of-type(2)::before {
  display: none;
}

.row-timeline .et_pb_column .timeline-title {
  transition: all 0.3s ease-in-out;
}

.row-timeline .et_pb_column:hover .timeline-title {
  opacity: 0.9;
  transition: all 0.3s ease-in-out;
}

/*** SLUŽBY ***/
body #page-container .et_pb_section .row-sluzby .et_pb_button_module_wrapper .et_pb_button {
  width: 100%;
  text-align: center;
}

body #page-container .et_pb_section .row-sluzby .et_pb_button_module_wrapper:not(:last-of-type) .et_pb_button {
  pointer-events: auto;
  cursor: pointer;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

/* Disable ONLY the buttons with empty href="" */
body #page-container .et_pb_section .row-sluzby .et_pb_button_module_wrapper:not(:last-of-type) .et_pb_button[href=""] {
  pointer-events: none;
  cursor: default;
}

body #page-container .et_pb_section .row-sluzby .et_pb_button_module_wrapper:not(:last-of-type) .et_pb_button::before {
  content: '•' !important;
  position: relative;
  inset: unset !important;
  display: block !important;
  opacity: 1;
  margin: 0 !important;
  font-size: 2rem !important;
  line-height: 0 !important;
  font-family: inherit !important;
  color: #1f99d5;
}

body #page-container .et_pb_section .row-sluzby .et_pb_button_module_wrapper:last-of-type .et_pb_button::before {
  content: '' !important;
  display: none;
}

body #page-container .et_pb_section .row-sluzby .et_pb_button_module_wrapper:has(a.infuze-zeny) {
  order: -2;
}

body #page-container .et_pb_section .row-sluzby .et_pb_button_module_wrapper:has(a.infuze-muzi) {
  order: -1;
}

@media all and (max-width: 768px) {
  body #page-container .et_pb_section .row-sluzby .et_pb_button_module_wrapper:nth-child(3) {
    order: 1;
  }

  body #page-container .et_pb_section .row-sluzby .et_pb_button_module_wrapper:nth-child(4) {
    order: 4;
  }

  body #page-container .et_pb_section .row-sluzby .et_pb_button_module_wrapper:nth-child(5) {
    order: 7;
  }

  body #page-container .et_pb_section .row-sluzby .et_pb_button_module_wrapper:nth-child(6) {
    order: 2;
  }

  body #page-container .et_pb_section .row-sluzby .et_pb_button_module_wrapper:nth-child(7) {
    order: 5;
  }

  body #page-container .et_pb_section .row-sluzby .et_pb_button_module_wrapper:nth-child(8) {
    order: 8;
  }

  body #page-container .et_pb_section .row-sluzby .et_pb_button_module_wrapper:nth-child(9) {
    order: 3;
  }

  body #page-container .et_pb_section .row-sluzby .et_pb_button_module_wrapper:nth-child(10) {
    order: 6;
  }

  body #page-container .et_pb_section .row-sluzby .et_pb_button_module_wrapper:nth-child(11) {
    order: 9;
  }
}

/*** KONTAKT ***/
.map-iframe .et_pb_code_inner,
.map-iframe .et_pb_code_inner iframe {
  width: 100%;
  height: 100%; 
}

.blurb-videocesta.et_pb_blurb .et_pb_blurb_content {
  align-items: stretch;
}

.blurb-videocesta.et_pb_blurb .et_pb_blurb_content .et_pb_blurb_container .et_pb_module_header {
  height: 100%;
  padding-bottom: 0;
}

.blurb-videocesta.et_pb_blurb .et_pb_blurb_content .et_pb_blurb_container .et_pb_module_header a {
  display: flex;
  align-items: center;
  height: 100%;
}

.opening_hours strong {
  color: var(--color-secondary);
}

.opening_hours h5 strong {
  color: inherit;
}

/*** FORMULÁŘE ***/
.et-db #et-boc .et-l div.form-kontakt.wpforms-container-full .wpforms-field input.wpforms-field-large,
.et-db #et-boc .et-l div.form-kontakt.wpforms-container-full .wpforms-field textarea {
  background-color: var(--color-white);
  border: 1px solid var(--color-bg-800);
  border-radius: var(--radius-sm);
}

.et-db #et-boc .et-l div.form-kontakt.wpforms-container-full .wpforms-field input.wpforms-field-large:focus,
.et-db #et-boc .et-l div.form-kontakt.wpforms-container-full .wpforms-field input.wpforms-field-large:focus:invalid,
.et-db #et-boc .et-l div.form-kontakt.wpforms-container-full .wpforms-field textarea:focus,
.et-db #et-boc .et-l div.form-kontakt.wpforms-container-full .wpforms-field textarea:focus:invalid {
  background-color: var(--color-white);
  border: 1px solid var(--color-secondary);
  outline: 2px solid var(--color-secondary);
  border-radius: var(--radius-sm);
}

/* .et-db #et-boc .et-l div.form-kontakt.wpforms-container-full .wpforms-field input.wpforms-field-required::before { */
.et-db #et-boc .et-l div.form-kontakt.wpforms-container-full .wpforms-field:has(input.wpforms-field-required) {
  position: relative;
}

.et-db #et-boc .et-l div.form-kontakt.wpforms-container-full .wpforms-field-layout.wpforms-field:has(input.wpforms-field-required):before,
.et-db #et-boc .et-l div.form-kontakt.wpforms-container-full .wpforms-field-layout.wpforms-field:has(textarea.wpforms-field-required):before {
  display: none;
}

.et-db #et-boc .et-l div.form-kontakt.wpforms-container-full .wpforms-field:has(input.wpforms-field-required):before,
.et-db #et-boc .et-l div.form-kontakt.wpforms-container-full .wpforms-field:has(textarea.wpforms-field-required):before {
  content: '*';
  position: absolute;
  top: 40%;
  right: 1rem;
  z-index: 2;
  display: block;
  color: var(--color-required);
  margin-left: .25rem;
  font-weight: 700;
  font-size: 2.5rem;
}

.et-db #et-boc .et-l div.form-kontakt.wpforms-container-full .wpforms-field:has(textarea.wpforms-field-required):before {
  top: 20% !important;
}

.et-db #et-boc .et-l div.form-kontakt.wpforms-container-full .wpforms-submit-container button.wpforms-submit {
  display: block;
  width: fit-content;
  height: auto;
  margin: 0 auto;
  background-color: var(--color-gray-400);
  border: none;
  border-color: var(--color-primary);
  border-radius: var(--radius-md);
  padding: 1rem 1.8rem !important;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2em !important;
  color: var(--color-primary);
}

.et-db #et-boc .et-l div.form-kontakt.wpforms-container-full .wpforms-submit-container button.wpforms-submit:hover {
  background-color: var(--color-bg-600);
  border: none;
  border-color: var(--color-bg-600);
  color: var(--color-primary);
}

.et-db #et-boc .et-l .form-white div.form-kontakt.wpforms-container-full .wpforms-field label.wpforms-field-label-inline,
.et-db #et-boc .et-l .form-white div.form-kontakt.wpforms-container-full .wpforms-field label.wpforms-field-label-inline a {
  color: var(--color-white);
}

.et-db #et-boc .et-l .form-white div.form-kontakt.wpforms-container-full .field-gdpr.wpforms-field label.wpforms-field-label-inline,
.et-db #et-boc .et-l .form-white div.form-kontakt.wpforms-container-full .field-gdpr.wpforms-field label.wpforms-field-label-inline a {
  color: var(--color-white) !important;
  font-size: 0.9rem !important;
}

@media all and (max-width: 768px) {
  .et-db #et-boc .et-l div.form-kontakt.wpforms-container-full .wpforms-field-layout.wpforms-field .wpforms-layout-column {
    width: 100%;
    padding: 0;
  }
  .et-db #et-boc .et-l div.form-kontakt.wpforms-container-full .wpforms-field-layout.wpforms-field .wpforms-layout-row {
    margin: 0;
  }
}

/*** FOOTER ***/
.footer-blurb .et_pb_main_blurb_image {
  max-width: 100%;
  height: auto;
  /* aspect-ratio: 1; */
  margin-bottom: 1rem;
}

.footer-blurb.et_pb_blurb .et_pb_main_blurb_image .et_pb_image_wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  aspect-ratio: 1/1;
}

.footer-blurb.et_pb_blurb .et_pb_main_blurb_image .et_pb_image_wrap img {
  object-fit: contain;
  object-position: center center;
}

.footer-blurb.footer-blurb-radius.et_pb_blurb .et_pb_main_blurb_image .et_pb_image_wrap img {
  border-radius: var(--radius-full);
}

footer .et_pb_social_media_follow_0_tb_footer li.et_pb_social_icon a.icon:before,
footer .et_pb_social_media_follow .et_pb_social_media_follow_network_0_tb_footer.et_pb_social_icon a.icon:before {
  font-size: inherit !important;
  line-height: inherit !important;
}