/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* BREVO NEWSLETTER TOOL */
.sib-default-btn.wpcf7-submit {
	border-radius: 50px !important;
}

/* CONTACT FORM 7 GLOBAL STYLE */
.wpcf7 > .screen-reader-response {
	display: none!important;
}

.wpcf7 form.init .wpcf7-response-output {
	display: none
}

.wpcf7 > .wpcf7-form .wpcf7-not-valid-tip {
	color: #FF004D!important;
	font-weight: lighter!important;
	font-size: 16px!important;
}

.wpcf7 label {
	font-size: 16px !important;
}

.wpcf7 .captcha-image {
	margin-top: 5px !important;
	margin-bottom: 10px !important;
}


.acceptance-box  p,
.acceptance-box  a {
	font-size: 16px!important;
	line-height: 28px!important;
}

/* SIDE WIDGETS */
.side-widgets {
  --sw-green: #009A3F;
  --sw-green-dark: #009A3F;
  --sw-size: 64px;

  position: fixed;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  z-index: 2147483647 !important;
  isolation: isolate;
  pointer-events: auto;
}

.side-widget {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;

  width: var(--sw-size);
  height: var(--sw-size);
  min-width: var(--sw-size);

  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  overflow: hidden;
  text-decoration: none;
  z-index: 2147483647 !important;

  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);

  transition:
    min-width .35s ease,
    background .25s ease;
}

.side-widget__icon {
  flex: 0 0 var(--sw-size);
  width: var(--sw-size);
  height: var(--sw-size);

  display: flex;
  align-items: center;
  justify-content: center;
}

.side-widget__icon svg {
  width: 32px;
  height: 32px;
  fill: var(--sw-green);
}

/* Label geschlossen */
.side-widget__label {
  display: block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  padding: 0;

  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;

  transition:
    max-width .35s ease,
    opacity .25s ease,
    padding .35s ease;
}

/* geöffnet */
.side-widget.is-open {
  width: fit-content;
  min-width: 128px;
  background: var(--sw-green);
}

.side-widget.is-open .side-widget__icon svg {
  fill: #fff;
}

.side-widget.is-open .side-widget__label {
  max-width: 240px;
  opacity: 1;
  padding-left: 24px;
  padding-right: 2px;
}

/* Hover-Farbe nur wenn offen */
.side-widget.is-open:hover {
  background: var(--sw-green-dark);
}

.side-widget:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Poliklinik: Side Widgets in Blau */
body.is-poliklinik .side-widgets{
  --sw-green:#1c5fb0;
  --sw-green-dark:#164a8a;
}

@media (max-width: 1600px) {
  .side-widgets {
    display: none !important
  }
}