#topper-finder {
  width: 100%;
  max-width: 800px;
  --color-light-blue: #e4ecf2;
  background-color: var(--color-light-blue);
  transition: height 0.25s ease-in;
}
.hidden {
  display: none;
}
.elementor-element-populated {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.tf-header,
.tf-body {
  background-color: var(--color-light-blue);
  width: 100%;
}
.tf-navigation {
  background-color: var(--color-light-blue);
  border-top: 0.5px solid #00000060;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  position: sticky;
  width: 100%;
  z-index: 10;
}
.tf-body {
  min-height: 80vh;
  margin-top: 10px;
  padding: 20px 5px;
}
.tf-header h2 {
  color: #003466;
  font-size: 24px;
  font-weight: 700;
  margin: -2px 5px 9px 5px;
  padding-left: 15px;
  padding-right: 15px;
}
.tf-body h2,
.tf-body p {
  margin-bottom: 5px;
}
.tf-body h2 {
  font-size: 22px;
}
.tf-body h3,
.tf-body label {
  color: var(--e-global-color-primary);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 0;
  margin-top: 15px;
}
.tf-sub-header {
  background-color: #91b2cb;
  border-radius: 2px;
  margin-bottom: -21px;
  margin-top: -5px;
  z-index: 1;
  display: none;
}
.tf-sub-header h3 {
  color: var(--e-global-color-primary);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 0;
  padding: 0px 10px;
}
.flex-container > label {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin: 0;
  width: 150px;
}
.flex-container span {
  color: var(--e-global-color-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
}
.flex-container .tf-form-control {
  margin-left: auto;
  width: 100%;
}
.flex-container p {
  color: var(--e-global-color-text);
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
}
.swiper-slide {
  align-items: center;
  background: #fff;
  display: flex;
  flex-direction: column;
  font-size: 18px;
  margin-top: 20px;
  text-align: center;
}
.tf,
.tf input,
.tf select {
  font-family: "Lato", Sans-serif;
}
.tf-header {
  font-size: 16px;
  margin-bottom: 5px;
  text-align: center;
}
.tf-product {
  text-align: center;
}
.tf-product-name {
  font-size: 14px;
  font-weight: 700;
}
.tf-product-button {
  background-color: #2db485;
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 30px;
}
.tf-flex-container {
  display: flex;
}
.tf-form-control {
  display: block;
  margin-left: 30%;
  text-align: center;
  width: 40%;
}

.tf,
.tf-product-button:hover {
  color: #2e2d2c;
}
.flex-container,
.tf-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 10px;
  column-gap: 35px;
  align-items: flex-start;
}
@media only screen and (max-width: 700px) {
  .tf-form-group input {
    font-size: 16px;
  }
}
.tf-product {
  margin: auto;
}
.tf select,
.tf input {
  background-position-y: calc(100% / 2);
  background-color: white;
}
.tf-message {
  font-size: 0.8em;
  text-align: center;
}
.lds-ring {
  height: 13px;
  position: relative;
  width: 30px;
}
.loadingAnimation,
.loadingAnimationInButton {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: space-around;
  width: 100%;
}
.lds-ring div {
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border: 5px solid #fff;
  border-color: gray transparent transparent;
  border-radius: 50%;
  box-sizing: border-box;
  display: block;
  height: 50px;
  position: absolute;
  width: 50px;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.tf-form-partner {
  display: flex;
  gap: 1em;
}
.line-between {
  border-left: 1px solid;
}
.swiper {
  min-height: 400px;
  width: 100%;
}
.button-prev-step,
.button-next-step {
  margin-bottom: 10px;
  margin-top: 10px;
}
.button-prev-step,
.button-prev-step:hover,
.button-prev-step:focus {
  background-color: transparent;
  color: #003466;
}
.button-next-step,
.button-next-step:hover,
.button-next-step:focus {
  background-color: #003466;
  border-radius: 5px;
  margin-right: 20px;
}
.disabled {
  cursor: not-allowed;
  opacity: 0.2;
}

.ergebnis {
  margin-top: 0;
}
.swiper-pagination {
  bottom: unset !important;
  display: flex;
  justify-content: space-between;
  top: 5px !important;
}
.swiper-pagination .progressbarElement {
  background-color: #003466;
  border-radius: 2px;
  width: 100%;
}
.tf-form .flex-container img {
  border-radius: 7px;
}

.tf-form picture {
  border-radius: 7px;
  height: 150px;
  margin: 10px;
  width: 150px;
}

.whiteBackground{
  background-color: white;
}

.tf-form .flex-container .bild_masse img {
  width: 250px;
  height: 250px;
}

.rating__background {
  fill: lightgray;
  height: 100%;
  stroke: red;
  stroke-width: 1;
  width: 100%;
}
.rating__value {
  fill: #ffb94b;
  height: 100%;
}
.rating-text {
  font-size: 14px;
}

.more-infos-button,
.more-infos-button:hover,
.more-infos-button:focus {
  background: unset;
  color: var(--e-global-color-text);
  padding-top: 0;
}
.more-infos-button svg {
  height: 18px;
  margin-bottom: -5px;
  margin-left: 5px;
}
.rating {
  width: 130px;
}
ul.produktinfo-liste {
  list-style: none;
  margin-bottom: 0;
  margin-left: 12px;
  padding: 0;
  text-align: left;
}
ul.produktinfo-liste li svg {
  fill: var(--e-global-color-2003e7b1);
  margin-right: 10px;
  width: 18px;
}
.tf-body img.attachment-woocommerce_thumbnail {
  mix-blend-mode: darken;
}
.productimage img {
  height: 130px;
  width: auto;
}
.preis {
  color: var(--e-global-color-primary);
  margin-bottom: 20px !important;
}
.preis .hinweis-groesse {
  color: var(--e-global-color-text);
  font-size: 12px;
  display: block;
  margin-top: -5px;
}
.button-zum-produkt {
  background-color: var(--e-global-color-2003e7b1);
  border-radius: 5px;
  height: 46px !important;
}
.more-infos-button {
  display: block !important;
}
* {
  touch-action: manipulation;
}
dialog {
  border-radius: 5px;
  background-color: var(--color-light-blue);
  border: none;
  color: var(--e-global-color-primary);
}
.button-dialog-send-email {
  border-radius: 20px 0 0 20px;
  padding-left: 15px;
  padding-right: 10px;
  position: fixed;
  right: 0;
  top: 140px;
  z-index: 11;
}
.button-dialog-send-email svg {
  fill: #fff;
  margin-top: -5px;
  width: 30px;
  height: 25px;
}
.button-dialog-send-email p {
  fill: #fff;
  margin-bottom: 0;
  margin-top: 5px;
}
.button-restart {
  display: none;
  margin-right: 20px;
  margin-top: 18px;
}
#email_for_result_send {
  margin-bottom: 15px;
  margin-top: 15px;
  background-color: white;
}
.button-close {
  float: right;
}
.start-tf-button {
  background-color: var(--e-global-color-2003e7b1);
  border-radius: 7px;
  font-size: 20px;
  margin: 30px 0;
  padding: 15px 20px;
  text-align: center;
}
#topper-finder-open-button {
  text-align: center;
}
.tf-link {
  font-weight: 700;
  text-decoration: underline !important;
}
.tf-radio-option-text {
  align-items: center;
  background-color: #fff;
  border-radius: 7px;
  display: flex;
  height: 150px;
  justify-content: center;
  margin: 10px;
  text-align: center;
  width: 150px;
}
.tf-radio-option-text span {
  color: #385e7a;
  font-size: 20px;
  font-weight: bolder;
  text-align: center;
}
.button-close-x,
.button-close-x:focus,
.button-close-x:hover {
  background: unset;
  float: right;
  margin: 0;
  padding: 0;
}
.button-close-x svg {
  height: 20px;
}
.content-flex {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 25px;
  max-width: 450px;
}
.content-flex svg {
  margin-right: 5px;
  fill: var(--e-global-color-primary);
  height: 20px;
  margin-bottom: -4px;
  margin-left: 1px;
}
.content-flex p {
  font-weight: 700;
}
.button-send-email {
  height: 45px;
  padding: 0 !important;
  width: 120px;
}
.loadingAnimationButton {
  background-color: #003466;
  height: 45px;
  width: 100%;
  margin-top: 5px;
}
.loadingAnimationInButton div {
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border: 5px solid #fff;
  border-color: #fff transparent transparent;
  border-radius: 50%;
  height: 30px;
  width: 30px;
}
.tf-form [type="radio"],
.tf-form [type="checkbox"] {
  height: 0;
  opacity: 0;
  position: absolute;
  width: 0;
}
.tf-form [type="radio"] + picture img,
.tf-form [type="radio"] + div,
.tf-form [type="checkbox"] + picture img,
.tf-form [type="checkbox"] ,
.tf-form [type="checkbox"] + span{
  cursor: pointer;
}
.tf-form [type="radio"]:checked + picture img,
.tf-form [type="radio"]:checked + div,
.tf-form [type="checkbox"]:checked + picture img {
  box-shadow: 0 0 5px #00356644;
  outline: 2px solid #003466;
}

.tf-form .besonderheiten_matratze [type="checkbox"] {
  height: unset;
  opacity: unset;
  position: unset;
  width: unset;
}

dialog::backdrop,
dialog + .backdrop {
  backdrop-filter: blur(3px);
  background-color: rgb(0 0 0 / 40%);
}
input.tf-form-control,
select.tf-form-control {
  margin-top: 5px;
}
.tf-header p {
  margin-bottom: 8px;
}
.tf-subheader {
  margin-top: -7px;
  margin-bottom: 15px !important;
}
#dialog_send_email p {
  font-weight: normal;
  margin-bottom: 0px;
}
#dialog_send_email input {
  margin-top: 5px;
  width: 100%;
}
.legal-text {
  font-size: 12px;
  line-height: 14px;
  color: gray;
  padding: 2px;
}
.tf-placeholder {
  width: 150px;
}

.tf-header-desktop,
.tf-body .desktop {
  display: none;
}

.trusted-shops-padge {
  display: none;
  text-align: center;
  color: white;
  font-size: 18px;
  font-weight: bold;
  padding: 5px;
}

.trusted-shops-padge img {
  margin-left: 5px;
}

#trustbadge-iframe + div {
  display: none;
}

#topper-finder h2 br {
  display: none;
}

.checkbox-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.tf-form .besonderheiten_matratze .checkbox-list [type="checkbox"] {
  height: 20px;
  width: 20px;
  position: relative;
  top: 4px;
  right: 5px;
}

@media only screen and (min-width: 768px) {
  #trustbadge-iframe + div {
    display: block;
  }
  #topper-finder {
    position: relative;
    box-shadow: 0px 0px 20px 0px #0000006b;
  }

  .tf-header {
    display: none;
  }
  .trusted-shops-padge {
    display: block;
  }

  .tf-body .desktop {
    display: block;
  }

  .tf-navigation {
    border-top: 0px;
  }

  .button-dialog-send-email {
    position: absolute;
  }
  .flex-container .tf-form-group {
    width: 300px;
  }

  #topper-finder br {
    display: none;
  }

  #topper-finder .productname br {
    display: block;
  }

  .tf-body h3 {
    margin-top: 40px;
  }

  .tf-header {
    padding: 10px;
  }
  .tf-body > div.flex-container:nth-child(1) {
    margin-top: 15px;
  }

  .tf-body {
    min-height: 441px;
    margin-top: 0;
  }

  .swiper-pagination {
    top: unset !important;
    bottom: 5px !important;
  }
  #topper-finder .amq-d-mt20 {
    margin-top: 20px;
  }
  .tf-placeholder {
    display: none;
  }
  .tf-header h2 {
    margin: 5px 5px 9px 5px;
  }
  .tf-subheader {
    margin-top: -9px;
    margin-bottom: -3px !important;
  }
  h2.tf-headerwithsubheader {
    margin-top: -7px !important;
  }
  .button-dialog-send-email {
    position: absolute;
    top: 50px;
  }
  .productname {
    min-height: 55px;
  }
  #topper-finder-bg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    min-height: 85vh;
    background-size: cover;
    background-position: center;
    background-image: url("/wp-content/plugins/amq-topperfinder/images/tf-bg-blur.jpg");
  }
  .tf-header-desktop {
    display: block;
    position: relative;
    width: 100%;
    text-align: center;
  }
  .tf-header-desktop h2 {
    color: #003466;
    font-size: 24px;
    font-weight: 700;
    margin: 20px 5px 10px 5px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .triangle {
    position: absolute;
    content: "";
    width: 100%;
    height: 32px;
    left: 50%;
    transform: translateX(-50%);
    background-repeat: no-repeat;
    background-position: center;
    z-index: 10;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDU3IDQwIj4KICA8cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjE1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTk2IC0zMTApIiBkPSJNMTk3IDMxOEw3MjQuNSAzMzggMTI1MiAzMTgiLz4KPC9zdmc+");
  }

  .tf-body h2 {
    color: var(--e-global-color-primary);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
  }
}

.amq-w100 {
  width: 100%;
}

.amq-w60 {
  width: 60%;
}

.amq-w40 {
  width: 40%;
}

.ergebnis {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: row;
  column-gap: 40px;
  flex-wrap: wrap;
  min-height: 525px;
}

.ergebnis .loadingAnimation {
  position: absolute;
  height: 500px;
}

.send-notification {
  padding: 5px;
  margin-top: 5px;
  border-radius: 5px;
  color: black;
  text-align: center;
}
.send-notification-error {
  background-color: #f8d7da;
  color: #721c24;
}
.send-notification-success {
  background-color: #b8e6c3;
  color: #155724;
}

/*Hide chat if mobile view*/
@media only screen and (max-width: 767px) {
  .TrengoWidgetLauncher__iframe {
    display: none;
  }
}