.custom-control-label:before {
  left: 8px;
}

.custom-control-input:checked ~ .custom-control-label::after {
  left: 14px;
}

.display_block {
  display: block !important;
}

.form-control {
  border-bottom: none !important;
  margin-bottom: 10px;
}

.form-row-info {
  right: -75%;
}

.display-flex {
  display: flex !important;
}

.configurator {
  width: 100%;
  max-width: 866px;
  margin: 0 auto;
  min-height: 500px;
  overflow: hidden;
}

.configurator-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  padding: 60px 0 60px 0;
}

.info-box {
  width: 80%;
  background-color: #fff;
  display: flex;
  margin: 0 auto;
  margin-top: 40px;
  padding: 30px 20px 30px;
}
.btn-primary{
  background-color: #E2002A;
  color: #fff;
}
.p-checked {
  height: fit-content;
}

.configurator-page h3 {
  font-size: 36px;
  font-weight: bold;
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 45px;
}

.slide-btns-wrapper .apply-button{
  display: block;
}
.configurator-wrapper input[type="radio"],
.configurator-wrapper input[type="checkbox"] {
  display: none;
}
.configurator-wrapper label{
  display: block;
  margin: 10px auto 0;
}
.configurator-wrapper label,
.p-checked {
  border-color: #F5F5F5;
  background: #F5F5F5;
  border-radius: 0px;
  font-weight: 400;
  padding: 12px 15px;
  width: 100%;
  max-width: 331px;
  text-align: start;
  margin-bottom: 10px;
  border: none;
  cursor: pointer;
}

.configurator-wrapper input[type="radio"]:checked + label,
.configurator-wrapper input[type="checkbox"]:checked + label {
  background-color: #E2002A;
  color: #fff;
  font-weight: bold;

  /* background-image: url(../images/new-img/Form\ 1.png);
    background-repeat: no-repeat;
    background-position: 95% center; */
  position: relative;
}

.configurator-wrapper input[type="radio"]:checked + label::after,
.configurator-wrapper input[type="checkbox"]:checked + label::after {
  content: "";
  width: 17px;
  height: 10px;
  display: inline-block;
  border-bottom: 4px solid #fff;
  border-left: 4px solid #fff;
  transform: rotate(315deg);
  position: absolute;
  right: 15px;
  top: 15px;
}

.configurator-wrapper input[type="text"],
.configurator-page input[type="tel"] {
  width: 100%;
  max-width: 331px;
  border: none;
  outline: none;
  border-bottom: 2px solid #E2002A;
  margin: 0 auto;
  margin-bottom: 10px;
  /*background: #F1F4F9;*/
  border-radius: 0;
  font-size: 18px;
  padding: 12px 18px;
}
.configurator-wrapper .contact-inputs input[type="text"],
.contact-inputs .configurator-page input[type="tel"] {
  background: #f1f4f9;
}
.configurator-wrapper input[type="text"]:focus {
}

.configurator .next-form,
.btn-validate,
.btn-validate2,
.check-answers {
  height: 62px;
  width: fit-content;
  /*background-image: url(../images/new-img/arrow.png);*/
  background-repeat: no-repeat;
  background-position: 95% center;
  border: none;
  outline: none;
  font-size: 25px;
  font-weight: 500;
  box-shadow: 0px 3px 8px rgb(0 0 0 / 20%);
  cursor: pointer;
  padding: 0 29px;
  min-width: 177px;
  margin: 0 auto;
}

.input-form.fildError {
  outline: 1px solid red !important;
}

.input-form.fildValid {
  outline: 1px solid green !important;
}

.input-form.fildError::placeholder {
  color: red !important;
}

.slide-btns-wrapper {
  max-width: 331px;
  width: 100%;
  position: relative;
  margin-top: 60px;
}

.configurator-page .prev-form {
  color: var(--bs-orange);
  text-decoration: underline;
  font-size: 18px;
  font-weight: 400;
  position: absolute;
  left: -90px;
  top: 50%;
  transform: translateY(-50%);
}

.hidden-block,
.hidden-input {
  display: none;
}

.hidden-block-p-style {
  font-size: 11px;
  color: #333333;
  max-width: 280px;
  text-align: start;
  line-height: 1.4;
  padding-left: 24px;
  padding-right: 15px;
  margin: 0;
  position: absolute;
  right: -17px;
  top: 0;
  padding-bottom: 15px;
  padding-right: 20px;
  background: #fff;
  border-radius: 2px;
}

.hidden-block-p-style:before {
  content: "i";
  width: 18px;
  height: 18px;
  background-color: #888888;
  border-radius: 100%;
  color: #fff;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  font-size: 16px;
  font-weight: 500;
}

.answers-item-description {
  font-size: 12px;
  color: #333333;
  text-align: start;
  line-height: 1.4;
  padding-left: 20px;
  background-image: url(../images/configurator/Vektor-Smartobjekt.png);
  background-repeat: no-repeat;
  margin: 10px 0 0 0 !important;
}

.no-events {
  pointer-events: none;
}

.pzl-wrapper {
  display: flex;
  width: 100%;
  max-width: 331px;
  position: relative;
  background-color: #f1f4f9;
  border-radius: 5px;
  margin-bottom: 10px;
}

.pzl-wrapper input:first-child {
  width: 33.33%;
  margin: 0;
}

.pzl-wrapper input:nth-child(2) {
  width: 66.66%;
  margin: 0;
}

.pzl-wrapper:before {
  content: "";
  background-color: #c7c7c7;
  width: 1px;
  height: 29px;
  display: block;
  position: absolute;
  left: 33.33%;
  top: 8px;
}

.input-file-wrapper {
  position: relative;
  margin-bottom: 10px;
  max-width: 331px;
}

.input-file-wrapper input {
  height: 53px;
}

.input-file-wrapper p {
  text-align: left;
  font-size: 14px;
}

.form-row-info {
  font-size: 14px;
  color: #afaaae !important;
  line-height: 16px;
  position: absolute;
  right: -68%;
  top: 3px;
  margin: 0;
  padding-left: 23px;
  width: 200px;
}

.form-row-info {
  right: -63%;
}
.info-icon {
  position: absolute;
  left: 0;
  top: 0;
}
.info-icon {
  width: 17px;
}
.custom-checkbbox {
  max-width: 280px;
}

.custom-checkbbox label {
  border: none;
  background: none;
  padding: 0px 5px;
  width: 100%;
  max-width: 280px;
  text-align: start;
  margin-bottom: 0px;
  font-size: 13px;
}

.custom-control-label::after {
  left: 2px;
}

.last-slide h1 span {
  color: #9bd21a;
}

.last-slide {
  background-image: url(../images/new-img/Группа1.png),
    url(../images/new-img/go-ahead-bahn-bus-vector-logo.png);
  background-repeat: no-repeat, no-repeat;
  background-position: center 60px, center bottom 60px;
  padding: 160px 0;
}

.last-slide p {
  max-width: 300px;
}

.file-slide h1 {
  margin-bottom: 10px;
}

.file-slide p {
  margin-bottom: 10px;
}

.input-description-wrapper {
  width: 100%;
  position: relative;
}

.answers-wrapper {
  display: flex;
  width: 80%;
  flex-wrap: wrap;
  justify-content: center;
}

.answers-item-wrapper {
  width: 50%;
  padding: 5px;
}

.answers-item {
  padding: 20px;
  width: 100%;
  height: 100%;
  background: #f1f4f9;
  border-radius: 5px;
  text-align: start;
}

.answers-item button {
  background: none;
  border: none;
  outline: none;
  color: #737373;
  text-decoration: underline;
  cursor: pointer;
}

.answers-item p {
  margin-bottom: 5px;
}

.answers-item span {
  color: #E2002A;
  font-weight: bold;
  padding-left: 15px;
  position: relative;
}

.answers-item span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 10px;
  background-color: #E2002A;
  position: absolute;
  top: 11px;
  left: 0;
  transform: translateY(-50%);
}
.unfortunately-slide h3 {
  padding: 40px 20px;
  margin: 0;
}
.unfortunately-slide h3 span {
  color: var(--bs-orange);
}

.unfortunately-slide p {
  max-width: 520px;
  padding-inline: 20px;
}

.unfortunately-slide a {
  color: #f08300;
  text-decoration: underline;
}

.unfortunately-slide {
  padding: 40px 0;
}
.file-error {
  display: none;
  color: red;
  margin-top: 5px;
}
.custom-file-input {
  position: relative;
  z-index: 2;
  width: 100%;
  height: calc(2.25rem + 2px);
  margin: 0;
  opacity: 0;
}
.custom-file-label {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: calc(2.25rem + 10px);
  padding: 0.375rem 0.75rem;
  line-height: 1.2;
  color: #495057;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}

.custom-file-label::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: block;
  height: calc(calc(2.25rem + 2px) - 1px * 2);
  padding: 0.375rem 0.75rem;
  line-height: 1.5;
  color: #495057;
  content: "Browse";
  background-color: #e9ecef;
  border-left: 1px solid #ced4da;
  border-radius: 0;
}

.custom-file-label::after {
  color: #ffffff;
  background: var(--bs-orange);
  content: "+";
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
}

.checkbox-label {
  cursor: pointer;
  position: relative;
  margin-right: 12px;
  background: none !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.godrive .input-form-checkbox-label {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 96px;
}

.bundesland-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.checkbox {
  position: absolute;
  left: 0 !important;
  top: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: (-1px) !important;
}

.checkbox-marker {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 3px;
  vertical-align: middle;
  position: relative;
}

.checkbox-marker:before {
  content: "";
  opacity: 0;
  background: url(../images/configurator/check.png);
  width: 10px;
  height: 8px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-repeat: no-repeat;
  background-size: contain;
}

.checkbox:checked + .checkbox-marker {
  border: 2px solid #009f51;
}

.fl {
  max-width: 280px;
  width: 100%;
  margin: 0 auto;
  display: flex;
}

.checkbox:checked + .checkbox-marker:before {
  opacity: 1;
}

.errorCheckbox.fildError .fl-cjeckbox-text {
  color: red;
  font-weight: bold;
}

.errorCheckbox.fildError .checkbox-marker {
  border: 2px solid red;
}

.fl-cjeckbox-text {
  font-size: 12px;
  text-align: start;
  margin-left: 25px;
  cursor: default;
}

.fl-cjeckbox-text a {
  color: #f08300;
  text-decoration: underline;
}

.fl-cjeckbox-text::selection {
  background: none;
}

.fl::selection {
  background: none;
}

.btn-validate2 {
  background-image: none;
  font-size: 20px;
}

.input-file-wrapper .text-input {
  height: 120px;
  min-width: 331px;
}

.configurator-wrapper .input-file-wrapper .text-input {
  border: none;
  background-color: #f1f4f9;
  padding: 10px 15px;
}

.input-description-wrapper-red {
  margin-bottom: 10px;
  display: none;
  border: 3px solid #E2002A;
  border-radius: 7px;
  padding: 15px;
  width: 278px;
}

.configurator-wrapper label.input-form-checkbox-label {
  text-align: center;
  width: 159px;
  box-sizing: border-box;
  padding: 29px 15px;
  margin: 7px 5px;
  border-radius: 11px;
}
@media only all and (max-width:768px) {
	.configurator-wrapper label.input-form-checkbox-label {
		font-size:15px;
		padding: 15px 15px;
	}
}

.configurator-wrapper label.input-form-checkbox-label-2 {
  text-align: center;
  width: 162px;
  box-sizing: border-box;
  height: 70px;
  padding: 9px 15px;
  margin: 7px 5px;
  border-radius: 11px;
  justify-content: center;
  align-items: center;
  text-align: center;
  vertical-align: top;
  display: inline-flex;
}

.mb-10 {
  margin-bottom: 10px !important;
}

 .custom-tooltip {
  width: 17px;
  height: 17px;
  position: relative;
  display: inline-block;
  vertical-align: 3px;
  text-transform: initial;
}
.custom-tooltip::after {
  content: "i";
  width: 21px;
  height: 21px;
  background-color: #888888;
  border-radius: 100%;
  color: #fff;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  text-transform: none;
}

.custom-tooltip span {
  background: #fff;
  position: absolute;
  top: 30px;
  left: -57px;
  right: auto;
  padding: 5px 5px;
  border: 2px solid #f08300;
  display: none;
  padding: 5px 5px;
  border-radius: 0px;
  box-shadow: 0 0 2px #ddd;
  z-index: 99;
  font-size: 14px;
  color: #000 !important;
  font-weight: 400;
  text-align: left;
  width: 243px;
}
@media (max-width: 1000px) {
  .custom-tooltip span {
    right: -5px;
    left: auto;
  }
}
@media (max-width: 431px) {
  .custom-tooltip {
    left: 329px;
    top: 88px;
    position: absolute;
  }
}
@media (max-width: 420px) {
  .custom-tooltip {
    left: 156px;
  }
}
@media (max-width: 415px) {
  .custom-tooltip {
    left: 151px;
  }
}
@media (max-width: 415px) {
  .custom-tooltip {
    left: 233px;
    position: absolute;
  }
}


.custom-tooltip:hover span {
  display: block;
}
.custom-tooltip:hover span:hover {
  display: none; 
} 



.random-icon {
  position: absolute;
  top: 0;
  left: -64px;
}

.configurator-page h1.bigger {
  font-size: 30px;
  line-height: 1.4em;
}
.configurator-page h1.smaller {
  font-size: 25px;
  line-height: 1.4em;
}

.configurator .btn-validate2.longer {
  padding: 0 5px;
  min-width: 331px;
}
.configurator .btn-validate2.grey {
  background-color: #b7b7b7;
  color: #fff;
}

.no-bg {
  background-image: none !important;
}

.nowrap {
  white-space: nowrap;
}

.break-flex {
  flex-basis: 100%;
  height: 0;
}

.inline-flex {
  display: inline-flex;
}

.phone-wrapper {
  display: flex;
  width: 100%;
  max-width: 331px;
  position: relative;
  background-color: #f1f4f9;
  border-radius: 5px;
  margin-bottom: 10px;
}
.iti--allow-dropdown {
  width: 100%;
}

.configurator-wrapper .small-checkboxes {
  display: none;
  width: 254px;
  margin: auto;
  padding: 10px;
  text-align: left;
  box-sizing: content-box;
  border: 1px solid #f1f4f9;
  border-radius: 5px;
  margin-bottom: 10px;
}
.configurator-wrapper .small-checkboxes label {
  display: block;
  width: 200px;
  font-size: 14px;
  padding: 5px;
  margin: auto;
  background: #888888;
  margin-bottom: 10px;
}
.configurator-wrapper
  .small-checkboxes
  input[type="radio"]:checked
  + label::after,
.configurator-wrapper
  .small-checkboxes
  input[type="checkbox"]:checked
  + label::after {
  right: 8px;
  top: 9px;
}
@media (max-width: 600px) {
  .configurator-page h3 {
    font-size: 20px;
    font-weight: 500;
  }
  .configurator{
    min-height: unset;
  }

}
@media (max-width: 450px) {
  .configurator-page {
    padding: 60px 5% 60px 5%;
    margin: 0 10px;
  }



  .configurator-page .prev-form {
    left: 37%;
    top: -30%;
  }

  .configurator-wrapper label.input-form-checkbox-label {
    width: 45%;
  }

  .answers-item-wrapper {
    width: 100%;
  }

  .answers-wrapper {
    width: 90%;
  }

  .unfortunately-slide {

  }

  .unfortunately-slide h3 {
    padding: 40px 0 10px;
    margin: 0;
  }

  .unfortunately-slide p {
    margin-bottom: 10px;
  }

  .hidden-block-p-style {
    position: relative;
    right: 0px;
    max-width: 331px;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    padding-bottom: 5px;
    margin-bottom: 8px;
  }

  .hidden-block-p-style {
    top: 10;
  }

  label {
    font-size: 16px;
  }
  .form-row-info {
    position: relative;
    left: 0%;
  }
  .input-file-wrapper .text-input {
    height: 120px;
    /* min-width: 331px; */
    width: 100%;
    min-width: 0px;
  }

  .input-file-wrapper {
    /* max-width: 331px; */
    width: 100%;
  }

  .slide-btns-wrapper {
    /* max-width: 331px; */
    width: 100%;
    position: relative;
    margin-top: 50px !important;
  }

  .configurator .btn-validate2.longer {
    padding: 0 29px;
    min-width: auto;
  }

  .configurator .btn-validate2.btn.primary {
    margin-inline: 0;
  }
}

.label-hidden{position:absolute;opacity:0;}