.w-popup-box-content {
  position: relative;
}

.w-popup-box-content .wpcf7 .wpcf7-not-valid-tip {
  text-align: center;
  font-size: 0.8rem;
}

.w-popup-box-content .wpcf7 p {
  margin: 0 0 1rem;
}

.w-popup-box-content .wpcf7 .wpcf7-spinner {
  position: absolute;
  left: 45%;
  top: 40%;
  transform: translate(-50%, -50%);
}

.w-popup-box-content .wpcf7-form input:not([type=submit]), .wpcf7-form textarea, .wpcf7-form select {
  margin-top: 0;
}

.w-popup-box-content .wpcf7 .wpcf7-response-output {
  display: none;
}
.w-popup-box-content .wpcf7 .service_sub {
  text-align: center;
}
.w-popup-box .w-popup-box-title {
  font-size: 1.5rem;
}

/* скрыть параметры формы */
.hidden-param {
  display: none;
}
.popup-my,
.popup-my-second {
  cursor: pointer;
  position: fixed;
  overflow-y: auto;
  overscroll-behavior: none;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10002;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  --content-bg-color: var(--color-content-bg);
}
.vc_column-inner.custom-popup {
  text-align: center;
  position: fixed;
  border-radius: 5px;
  width: 600px;
  max-height: 100%;
  cursor: default;
  padding: 5%;
  background-color: #fff;
}

.inputs_custom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.inputs_custom .service_sub .wpcf7-spinner{
  position: absolute;
  top: 50%;
  left: 37%;
  transform: translate(-50%, -50%);
}
.inputs_custom > p {
  flex: 0 0 27%;
  margin: 0 0 0;
}
.inputs_custom .service_sub {
  flex: 0 0 9%;
  position: relative;
}
.inputs_custom .wpcf7-not-valid-tip {
  display: none;
}
.w-html .wpcf7 .wpcf7-response-output {
  text-align: center;
  margin: 0;
  border: none;
  color: red;
  font-size: 0.8rem;
}

.hidden-block {
  display: none;
}
.succes__block {
  display: none;
}
.column-form .succes__block {
  display: none;
}
.no-margin p{
  margin: 0 0 1rem;
}

.no-margin .wpcf7 .wpcf7-not-valid-tip {
  font-size: 0.8rem;
}
.no-margin .wpcf7 .wpcf7-spinner {
  position: absolute;
  left: 15%;
  top: 25%;
}
.no-margin .service_sub {
  position: relative;
}
.no-margin .wpcf7-form input:not([type=submit]), .wpcf7-form textarea, .wpcf7-form select {
  margin-top: 0;
}
.no-margin .wpcf7-list-item-label {
  font-size: 16px;
}


.custom_btnsl button {
  position: absolute;
  top: 0;
  z-index: 10;
  margin-top: 454px;
  left: 18%;
}

.counter_sum {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.counter-elem__input.splash-input {
  text-align: center;
  margin: 0 12px;
  width: 60px;
}

.counter-elem__arrow.counter-elem__minus,
.counter-elem__arrow.counter-elem__plus {
  width: 30px;
  background: #b7bbc0;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}

.counter-elem__arrow.counter-elem__minus:hover,
.counter-elem__arrow.counter-elem__plus:hover {
  background: #818489;
}

.checkbox-list {
  margin-bottom: 20px;
  font-size: 16px;
}
.checkbox-list p{
  margin: 0 0 12px 10px;
  text-align: left;
}

.checkbox-list input[type="checkbox"] {
  margin: 0;
}

.inv_form_block .service_sub {
  position: relative;
}
.inv_form_block .service_sub .wpcf7-spinner {
  position: absolute;
  transform: translate(-100%, -50%);
  top: 50%;
  left: 50%;
}













@media (max-width: 1600px) {
  .custom_btnsl button {
    left: 11.3%;
  }
}

@media (max-width: 1440px) {
  .custom_btnsl button {
    left: 7%;
  }
}

@media (max-width: 1280px) {
  .custom_btnsl button {
    left: 1.6%;
  }
}

@media (max-width: 1024px) {
  .inputs_custom > p {
    flex: 0 0 25%;
  }
  .custom_btnsl button {
    margin-top: 370px;
    left: 1.6%;
  }
}
@media (max-width: 968px) {
  .inputs_custom > p {
    flex: 0 0 25%;
  }
}
@media (max-width: 768px) {
  .inputs_custom > p {
    flex: 0 0 22%;
  }
  .custom_btnsl button {
    margin-top: 290px;
    left: 28.6%;
  }
}
@media (max-width: 650px) {
  .inputs_custom > p {
    flex: 0 0 100%;
    margin: 0 0 0.5em;
  }
  .inputs_custom > p:nth-child(3) {
    margin-bottom: 16px;
  }
  .inputs_custom {
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 12px;
  }
  .custom_btnsl button {
    margin-top: 240px;
    left: 24.6%;
  }
}
@media (max-width: 580px) {
  .custom_btnsl button {
    margin-top: 208px;
    left: 30.6%;
    font-size: 11px;
  }
}
@media (max-width: 480px) {
  .custom_btnsl button {
    margin-top: 180px;
    left: 26.6%;
    font-size: 11px;
  }
}
@media (max-width: 425px) {
  .custom_btnsl button {
    margin-top: 275px;
    left: 23.6%;
    font-size: 11px;
  }
}
@media (max-width: 375px) {
  .custom_btnsl button {
    margin-top: 240px;
    left: 20%;
  }

}
@media (max-width: 320px) {
  .custom_btnsl button {
    margin-top: 205px;
    left: 15%;
  }

}