.switch-wrapper.with-separators {
  position: relative;
}

.switch-wrapper.with-separators .separator {
  content:     '';
  border-left: 2px solid #6A79985C;
  bottom:      2px;
  position:    absolute;
  top:         2px;
  width:       2px;
}

.switch-wrapper.with-separators .separator.separator-33 {
  left: calc(33.33% + 2px);
}

.switch-wrapper.with-separators .separator.separator-50 {
  left: calc(50% + 2px);
}

.switch-wrapper.with-separators .separator.separator-66 {
  left: calc(66.66% + 2px);
}

.switch-wrapper.with-separators .switch-candy label:not(:nth-last-child(2)) {
  margin-right: 6px !important;
}

.switch-wrapper.with-separators .switch-candy label:nth-last-child(2):nth-child(6) {
  left:         0;
  margin-right: -12px !important;
}

.switch-wrapper.with-separators .switch-toggle input:checked:nth-last-child(3) ~ a {
  margin-left: 6px !important;
  right:       0;
}

.switch-wrapper.with-separators .switch-candy label:nth-last-child(2):nth-child(4),
.switch-wrapper.with-separators .switch-toggle input:checked:nth-child(3) ~ a {
  width: calc(50% - 6px);
}

.switch-wrapper.with-separators .switch-candy label:nth-child(4):not(:nth-last-child(2)),
.switch-wrapper.with-separators .switch-candy label:nth-last-child(2):nth-child(6),
.switch-wrapper.with-separators .switch-toggle input:checked:nth-child(5) ~ a {
  width: calc(33.33% - 6px);
}

.switch-wrapper.with-separators .switch-toggle label:nth-child(2):nth-last-child(6) ~ input:checked:nth-child(3) + label ~ a {
  left:  calc(33.33% + 6px);
  width: calc(33.33% - 6px);
}

.switch-wrapper.with-separators .switch-toggle.switch-candy#aiwf-available,
.switch-wrapper.with-separators .switch-toggle.switch-candy#eiwf-available {
  width: 160px;
}

.switch-wrapper.with-separators .switch-toggle.switch-candy#aiwf-state,
.switch-wrapper.with-separators .switch-toggle.switch-candy#eiwf-state {
  width: 390px !important;
}

.switch-wrapper.with-separators .switch-toggle.switch-candy#aiwf-price-type,
.switch-wrapper.with-separators .switch-toggle.switch-candy#eiwf-price-type {
  width: 430px !important;
}

.switch-wrapper.with-separators .switch-toggle.switch-candy label[for='aiwf-service'],
.switch-wrapper.with-separators .switch-toggle.switch-candy label[for='eiwf-service'] {
  padding: 10px !important;
}

.switch-wrapper.with-separators .switch-toggle.switch-candy label[for='aiwf-not-applicable'],
.switch-wrapper.with-separators .switch-toggle.switch-candy label[for='eiwf-not-applicable'],
.switch-wrapper.with-separators .switch-toggle.switch-candy label[for='aiwf-fixed'],
.switch-wrapper.with-separators .switch-toggle.switch-candy label[for='eiwf-fixed'] {
  padding: 10px 1px !important;
}

.switch-wrapper.with-separators .switch-toggle.switch-candy label[for='aiwf-take-from-service'],
.switch-wrapper.with-separators .switch-toggle.switch-candy label[for='eiwf-take-from-service'] {
  padding: 10px 13px !important;
}

#aiw-form-wrapper .aiwf-item-title.price + div .price-label,
#eiw-form-wrapper .eiwf-item-title.price + div .price-label {
  margin-top: 14px;
}

#aiw-form-wrapper input.aiwf-item-value#aiwf-price, #aiw-form-wrapper input.aiwf-item-value#aiwf-high-price,
#eiw-form-wrapper input.eiwf-item-value#eiwf-price, #eiw-form-wrapper input.eiwf-item-value#eiwf-high-price {
  width: 117px !important;
}

@media (max-width: 1399px) {

  .switch-wrapper.with-separators {
    background:    #E4E2EB;
    border-radius: 8px;
  }

  .switch-wrapper.with-separators .switch-toggle.switch-candy {
    background: none !important;
    z-index:    1;
  }

}

@media (max-width: 991px) {

  .switch-wrapper.with-separators {
    background: #E4E2EB;
    width:      fit-content;
  }

  #aiw-form-wrapper .aiwf-item-title.price + div .price-label,
  #eiw-form-wrapper .eiwf-item-title.price + div .price-label {
    margin-top: 22px;
  }

}

@media (max-width: 493px) {

  .switch-wrapper.with-separators .switch-toggle.switch-candy#aiwf-price-type,
  .switch-wrapper.with-separators .switch-toggle.switch-candy#eiwf-price-type {
    width: 370px !important;
  }

  .switch-wrapper.with-separators .switch-toggle.switch-candy label[for='aiwf-fixed'],
  .switch-wrapper.with-separators .switch-toggle.switch-candy label[for='eiwf-fixed'] {
    font-size:   13px !important;
    line-height: 32px !important;
  }

}

@media (max-width: 453px) {

  .switch-wrapper.with-separators .switch-toggle.switch-candy#aiwf-state,
  .switch-wrapper.with-separators .switch-toggle.switch-candy#eiwf-state {
    width: 311px !important;
  }

  .switch-wrapper.with-separators .switch-toggle.switch-candy label[for='aiwf-not-applicable'],
  .switch-wrapper.with-separators .switch-toggle.switch-candy label[for='eiwf-not-applicable'] {
    font-size:   13px !important;
    line-height: 32px !important;
  }

}

@media (max-width: 434px) {

  .switch-wrapper.with-separators .switch-toggle.switch-candy#aiwf-price-type,
  .switch-wrapper.with-separators .switch-toggle.switch-candy#eiwf-price-type {
    width: 311px !important;
  }

  .switch-wrapper.with-separators .switch-toggle.switch-candy label[for='aiwf-on-request'],
  .switch-wrapper.with-separators .switch-toggle.switch-candy label[for='eiwf-on-request'],
  .switch-wrapper.with-separators .switch-toggle.switch-candy label[for='aiwf-range'],
  .switch-wrapper.with-separators .switch-toggle.switch-candy label[for='eiwf-range'] {
    font-size:   13px !important;
    line-height: 32px !important;
    padding:     10px 1px !important;
  }

  .switch-wrapper.with-separators .switch-toggle.switch-candy label[for='aiwf-fixed'],
  .switch-wrapper.with-separators .switch-toggle.switch-candy label[for='eiwf-fixed'] {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    display:            -webkit-box;
    line-clamp:         1;
    margin-bottom:      10px;
    margin-top:         10px;
    overflow:           hidden;
    padding:            0 !important;
    text-overflow:      ellipsis;
    word-break:         break-all;
  }

}

@media (max-width: 371px) {

  .switch-wrapper.with-separators .switch-toggle.switch-candy#aiwf-state,
  .switch-wrapper.with-separators .switch-toggle.switch-candy#eiwf-state,
  .switch-wrapper.with-separators .switch-toggle.switch-candy#aiwf-price-type,
  .switch-wrapper.with-separators .switch-toggle.switch-candy#eiwf-price-type {
    width: 272px !important;
  }

  .switch-wrapper.with-separators .switch-toggle.switch-candy label[for='aiwf-not-applicable'],
  .switch-wrapper.with-separators .switch-toggle.switch-candy label[for='eiwf-not-applicable'] {
    line-height: 16px !important;
  }

}

@media (max-width: 368px) {

  .aiwf-item:has(input[value='range']:checked) + .aiwf-item .aiwf-item-title.price + div .price-wrapper,
  .eiwf-item:has(input[value='range']:checked) + .eiwf-item .eiwf-item-title.price + div .price-wrapper {
    width: 100%;
  }

}

@media (max-width: 334px) {

  .switch-wrapper.with-separators .switch-toggle.switch-candy#aiwf-state,
  .switch-wrapper.with-separators .switch-toggle.switch-candy#eiwf-state,
  .switch-wrapper.with-separators .switch-toggle.switch-candy#aiwf-price-type,
  .switch-wrapper.with-separators .switch-toggle.switch-candy#eiwf-price-type {
    width: 256px !important;
  }

}