.ecf-overlay {
  background: var(--ecf-overlay);
}

.is-open .ecf-overlay {
  opacity: var(--ecf-overlay-alpha);
}

.ecf-choice {
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  min-width: 0;
  white-space: normal;
  overflow: hidden;
}

.ecf-choice-icon {
  align-items: center;
  background: color-mix(in srgb, var(--ecf-primary) 14%, transparent);
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 36px;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.ecf-choice-icon i,
.ecf-choice-icon svg {
  color: var(--ecf-primary);
  fill: currentColor;
  height: 16px;
  width: 16px;
}

.ecf-choice-icon .ecf-choice-fallback {
  fill: none;
}

.ecf-choice-icon .ecf-choice-fallback path {
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.ecf-choice-label {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: normal;
}

.ecf-form input:not([type="checkbox"]),
.ecf-form textarea {
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.ecf-submit {
  background: var(--ecf-form-button-bg, var(--ecf-primary)) !important;
  color: var(--ecf-form-button-color, var(--ecf-text)) !important;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.ecf-submit:hover {
  background: var(--ecf-form-button-hover-bg, var(--ecf-primary-hover)) !important;
  color: var(--ecf-form-button-hover-color, var(--ecf-text)) !important;
}

/* Global popup controls. Elementor widget settings can override these defaults. */
.ecf-modal {
  border-width: var(--ecf-popup-border);
  box-shadow: 0 30px 90px rgb(16 24 40 / var(--ecf-popup-shadow-alpha)), 0 10px 30px rgb(16 24 40 / .12);
}

.ecf-panel {
  padding: var(--ecf-panel-y) var(--ecf-panel-x);
}

.ecf-panels {
  min-height: var(--ecf-content-min-height);
}

.ecf-panel > .elementor,
.ecf-panel > .elementor-location-single,
.ecf-panel > .elementor-section-wrap,
.ecf-panel-preview-main > .elementor {
  margin-left: auto;
  margin-right: auto;
  max-width: min(100%, var(--ecf-content-width));
  width: 100%;
}

.ecf-panel > .elementor > .elementor-section > .elementor-container,
.ecf-panel > .elementor > .elementor-section-wrap > .elementor-section > .elementor-container,
.ecf-panel-preview-main > .elementor > .elementor-section > .elementor-container,
.ecf-panel-preview-main > .elementor > .elementor-section-wrap > .elementor-section > .elementor-container {
  max-width: 100%;
}

.ecf-panel > .elementor > .e-con,
.ecf-panel-preview-main > .elementor > .e-con {
  --container-max-width: 100%;
  max-width: 100%;
}

.ecf-panel h1,
.ecf-panel h2,
.ecf-panel h3 {
  font-size: var(--ecf-heading);
}

.ecf-panel p,
.ecf-panel li {
  font-size: var(--ecf-body);
}

/* In Elementor mode the plugin supplies layout only; the widgets own all content typography and colors. */
.ecf-content-elementor .ecf-panel h1,
.ecf-content-elementor .ecf-panel h2,
.ecf-content-elementor .ecf-panel h3,
.ecf-content-elementor .ecf-panel h4,
.ecf-content-elementor .ecf-panel h5,
.ecf-content-elementor .ecf-panel h6 {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

.ecf-content-elementor .ecf-panel p,
.ecf-content-elementor .ecf-panel li {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.ecf-content-elementor .ecf-panel li {
  margin-bottom: initial;
}

.ecf-header {
  background: var(--ecf-header-bg);
  padding-left: var(--ecf-header-padding);
  padding-right: var(--ecf-header-padding);
}

.ecf-header-logo {
  max-height: var(--ecf-logo-height);
  max-width: var(--ecf-logo-width);
}

.ecf-icon-button {
  align-items: center !important;
  appearance: none !important;
  background: var(--ecf-header-icon-bg) !important;
  border-color: var(--ecf-header-icon-border) !important;
  border-radius: var(--ecf-header-icon-radius) !important;
  border-style: solid !important;
  border-width: var(--ecf-header-icon-border-width) !important;
  box-shadow: none !important;
  color: var(--ecf-header-icon) !important;
  display: inline-flex !important;
  height: var(--ecf-header-icon-box) !important;
  justify-content: center !important;
  margin: 0 !important;
  min-height: var(--ecf-header-icon-box) !important;
  min-width: var(--ecf-header-icon-box) !important;
  padding: 0 !important;
  width: var(--ecf-header-icon-box) !important;
}

.ecf-icon-button svg {
  height: var(--ecf-header-icon-size) !important;
  width: var(--ecf-header-icon-size) !important;
}

.ecf-icon-button:hover {
  background: var(--ecf-header-hover) !important;
}

.ecf-progress {
  background: var(--ecf-progress-bg);
  height: var(--ecf-progress-height);
}

.ecf-progress span {
  background: var(--ecf-progress-color);
}

/* Choice layout controls. */
.ecf-icon-position-right .ecf-choice {
  flex-direction: row-reverse;
}

.ecf-choice-grid.ecf-icon-position-right .ecf-choice {
  flex-direction: row-reverse;
}

.ecf-icon-position-top .ecf-choice {
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.ecf-choice-grid.ecf-icon-position-top .ecf-choice {
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.ecf-choice-icon,
.ecf-choice-label {
  transition: background-color .24s ease, color .24s ease, transform .24s ease;
}

/* Fully configurable launcher. */
.ecf-launcher {
  aspect-ratio: 1 / 1 !important;
  background: var(--ecf-launcher-bg) !important;
  border-color: var(--ecf-launcher-border) !important;
  border-radius: var(--ecf-launcher-radius) !important;
  border-style: solid !important;
  border-width: var(--ecf-launcher-border-width) !important;
  bottom: var(--ecf-y);
  box-shadow: 0 var(--ecf-launcher-shadow-y) var(--ecf-launcher-shadow-blur) color-mix(in srgb, var(--ecf-launcher-shadow) calc(var(--ecf-launcher-shadow-alpha) * 100%), transparent);
  box-sizing: border-box !important;
  height: var(--ecf-launcher) !important;
  max-height: var(--ecf-launcher) !important;
  max-width: var(--ecf-launcher) !important;
  min-height: var(--ecf-launcher) !important;
  min-width: var(--ecf-launcher) !important;
  padding: 0 !important;
  right: var(--ecf-x);
  width: var(--ecf-launcher) !important;
}

#ecf-root[data-launcher-position="left"] .ecf-launcher {
  left: var(--ecf-x);
  right: auto;
}

.ecf-launcher:hover {
  transform: translateY(calc(-1 * var(--ecf-launcher-lift))) scale(var(--ecf-launcher-scale));
}

.ecf-launcher-media {
  align-items: center;
  background: var(--ecf-launcher-bg);
  border-radius: max(0px, calc(var(--ecf-launcher-radius) - var(--ecf-launcher-border-width)));
  display: flex;
  inset: var(--ecf-launcher-padding);
  justify-content: center;
  overflow: hidden;
  position: absolute;
}

.ecf-launcher-logo {
  border-radius: inherit;
  display: block;
  height: 100% !important;
  max-height: none !important;
  max-width: none !important;
  object-fit: var(--ecf-launcher-fit);
  width: 100% !important;
}

.ecf-launcher-mark {
  display: grid;
  height: 100%;
  place-items: center;
  width: 100%;
}

.ecf-launcher-label {
  align-items: center;
  background: var(--ecf-launcher-label-bg);
  border-radius: 999px;
  color: var(--ecf-launcher-label-color);
  display: inline-flex;
  font-family: inherit;
  font-size: var(--ecf-launcher-label-size);
  font-weight: 750;
  line-height: 1;
  min-height: 34px;
  padding: 8px 13px;
  position: absolute;
  right: calc(100% + var(--ecf-launcher-label-gap));
  white-space: nowrap;
  box-shadow: 0 8px 24px rgb(16 24 40 / .14);
}

#ecf-root[data-launcher-position="left"] .ecf-launcher-label {
  left: calc(100% + var(--ecf-launcher-label-gap));
  right: auto;
}

.ecf-launcher-pulse {
  border-color: var(--ecf-launcher-pulse);
  animation-duration: var(--ecf-launcher-pulse-speed);
}

#ecf-root[data-launcher-pulse="off"] .ecf-launcher-pulse {
  display: none;
}

@media (max-width: 767px) {
  .ecf-panel {
    padding: var(--ecf-panel-y-mobile) var(--ecf-panel-x-mobile);
  }

  .ecf-content-plugin .ecf-panel h1,
  .ecf-content-plugin .ecf-panel h2,
  .ecf-content-plugin .ecf-panel h3 {
    font-size: var(--ecf-heading-mobile);
  }

  .ecf-launcher {
    height: var(--ecf-launcher-mobile) !important;
    max-height: var(--ecf-launcher-mobile) !important;
    max-width: var(--ecf-launcher-mobile) !important;
    min-height: var(--ecf-launcher-mobile) !important;
    min-width: var(--ecf-launcher-mobile) !important;
    width: var(--ecf-launcher-mobile) !important;
  }

  .ecf-launcher-label {
    display: none;
  }
}
