/*Quiz CSS*/
.quizy__body__form .quiz_form,
#wpcf7-f296-o1 {
  height: 100%;
}
.progress_bar {
  width: 100%;
  height: 6px;
  background: #dcdcdc;
  border-radius: 100px;
  margin-bottom: 20px;
}

.progress {
  height: 100%;
  background: #15b263;
  border-radius: 100px;
  width: 0;
  transition: 0.3s ease-in-out;
}

.contQ__inner {
  flex: 1 1 auto;
  margin-top: -20px;
}

@media (max-width: 576px) {
  .contQ__inner {
    margin-top: 0;
  }
}
.quiz_blockControl {
  display: flex;
  justify-content: space-between;
  /* gap: 11px; */
}
.btnControlWr-Prev .btn.btnPrev {
  margin-right: 12px;
}
.modal_item-body {
  position: relative;
}

.quizy_form__inner .quiz_block {
  display: none;
}

.quizy_form__inner .quiz_block.active {
  display: block;
}
@media (max-width: 576px) {
  .quizy_form__inner .quiz_block {
    padding: 20px 20px 0 20px;
    margin-bottom: 30px;
    position: relative;
  }
}
label {
  cursor: pointer;
}

.input_frm {
  width: 100%;
  /* color: #1c1c1c;
  font-weight: 700; */
  font-size: 16px;
}



.form_btn {
  margin: 20px 0 0 0;
  float: right;
}

.custom_select {
  display: inline-block;
  position: relative;
  width: 100%;
}

.select_title {
  background: #fff;
  color: #000;
  border: 1px solid #ccc;
  cursor: pointer;
  position: relative;
  text-align: left;
  padding: 0 10px;
  width: 100%;
  height: 50px;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.select_title:after {
  border-color: #000 transparent transparent transparent;
  border-style: solid;
  border-width: 8px 10px;
  content: "";
  display: block;
  height: 0;
  position: absolute;
  right: 15px;
  top: 45%;
  width: 0;
  transition: 0.3s ease;
}

.select_title.active:after {
  border-color: transparent transparent #000 transparent;
  top: calc(45% - 8px);
  transition: 0.3s ease;
}

.select_list {
  background: #fff;
  border-left: 1px solid #a5a5a5;
  border-right: 1px solid #a5a5a5;
  display: none;
  height: 0;
  margin: 0;
  opacity: 0;
  padding: 0;
  position: absolute;
  transition: 0.2s linear;
  width: 100%;
  z-index: 999;
}

.select_list.open {
  display: block;
  height: auto;
  opacity: 1;
  box-shadow: 0 1px 5px #ddd;
}

.select_list li {
  border-bottom: 1px solid #ddd;
  color: #000;
  cursor: pointer;
  height: 50px;
  padding: 0 10px;
  line-height: 50px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.select_list li span {
  min-width: 70px;
}

.select_list li:hover {
  background: #7a828e;
  color: #fff;
  transition: all 0.3s ease;
}

.select_list li.selected {
  background: #7a828e;
  color: #fff;
}

.select_optgroup {
  border-bottom: 1px solid #ddd;
  color: #fff;
  cursor: default;
  padding: 10px;
  text-align: center;
}

.select_img {
  max-width: 40px;
}

.labelForm {
  position: relative;
  display: flex;
  align-items: center;
  margin: 5px 0;
}
.labelForm2 {
  margin-bottom: 20px;
  display: block;
}

.labelForm2 .title_element {
  margin-bottom: 5px;
}

.title_element {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 700;
}
.remove_input {
  opacity: 0;
  position: absolute;
}
.checkedInput {
  display: block;
  width: 16px;
  height: 16px;
  border: 2px solid #262626;
  border-radius: 50%;
  margin-right: 5px;
  position: relative;
}
.checkedInput::after {
  content: "";
  position: absolute;
  display: block;
  transform: scale(0);
  top: 2px;
  left: 2px;
  width: 8px;
  height: 8px;
  background: #262626;
  border-radius: 50%;
  margin-right: 5px;
  transition: all 0.3s ease;
}
.remove_input:checked ~ .checkedInput::after {
  transform: scale(1);
}
.checkedInput.checkbox,
.checkedInput.checkbox::after {
  border-radius: 0;
}
.modal_item-footer {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-top: auto;
}
@media (max-width: 576px) {
  .modal_item-footer {
    display: block;
    padding: 20px;
    background-color: #f6f6f6;
    border-top: 1px solid #cbcccf;
    position: relative;
  }
  /* .modal_item-foote::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #F6F6F6;
  } */
}
.btnControlWr {
  position: relative;
}
@media (max-width: 576px) {
  .quiz_blockControl .btnControlWr:nth-child(2) {
    flex: 1;
  }
  .quiz_blockControl .btnControlWr:nth-child(2) .btn {
    width: 100%;
  }
}
.btnControlWr .btn {
  padding: 9px 30px 12px;
  border-radius: 100px;
  background: #15b263;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  min-width: 117px;
}
.btnControlWr.blockBtn {
  pointer-events: none;
  opacity: 0.4;
}

.btnControlWr .btnPrev {
  font-size: 0.01px;
  list-style: 0;
  padding: 0;
  margin: 0;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid #ddd;
  background-color: transparent;
  min-width: initial;
}
.btnControlWr .btnPrev::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 12px;
  bottom: 0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="17" viewBox="0 0 16 17" fill="none"><path d="M15.5 8.5H1.5M1.5 8.5L8.5 1.5M1.5 8.5L8.5 15.5" stroke="%23999999" stroke-width="2"/></svg>');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14px;
}
.contQ {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}
.currentQ_step {
  margin-left: auto;
  margin-right: 2px;
  color: #15b263;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.currentQ {
  font-size: 23px;
  padding: 0 1px 0 5px;
}
.currentQ_step i,
.allQ {
  color: #333;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.currentQ_precent {
  color: #000;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.currentQ_precent i {
  font-style: normal;
}

.quizy_form__inner {
  max-width: 1246px;
  margin: 0 auto;
  margin: 80px auto 100px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0px 4px 100px 0px rgba(143, 151, 177, 0.2);
  overflow: hidden;
}
@media (max-width: 1248px) {
  .quizy_form__inner {
    margin: 60px auto 80px;
  }
}

@media (max-width: 576px) {
  .quizy_form__inner {
    margin: 20px auto;
  }
}
.quizy__body {
  display: flex;
  overflow: hidden;
  min-height: 636px;
  justify-content: space-between;
}
.title_element {
  max-width: 600px;
  margin-bottom: 32px;
  color: #333;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

@media (max-width: 576px) {
  .title_element {
    margin-bottom: 20px;
    font-size: 20px;
  }
}
.quizy__body__form {
  flex: 0 1 920px;
  padding: 48px 56px 48px 56px;
}

@media (max-width: 992px) {
  .quizy__body__form {
    padding: 30px;
    display: block;
  }
}

@media (max-width: 576px) {
  .quizy__body__form {
    padding: 0;
  }
}
.quizy__body__form form {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.quiz_blockWr .wpcf7-list-item {
  margin-left: 0;
}
.quiz_blockWr .wpcf7-form-control.wpcf7-checkbox.costum__checbox,
.quiz_block__checkbox-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 25px;
}

@media (max-width: 576px) {
  .quiz_block__checkbox-inner {
    flex-direction: column;
    margin-bottom: 0;
    gap: 12px;
  }
}

/* //======================================================================================================================================================== */
.quiz_blockWr .wpcf7-list-item,
.costum__checbox {
  flex: 1 1 calc(100% / 2 - 20px);
  margin-bottom: 0;
}
.quiz_blockWr .wpcf7-list-item-label,
.costum__checbox--label {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #000;

  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

@media (max-width: 576px) {
  .quiz_blockWr .wpcf7-form-control.wpcf7-checkbox.costum__checbox,
  .quiz_block__checkbox-inner {
    gap: 12px;
    margin-bottom: 0;
    flex-direction: column;
  }

  .quiz_blockWr .wpcf7-list-item-label,
  .costum__checbox--label {
    font-size: 14px;
  }
}
.quiz_blockWr .wpcf7-list-item-label::before,
.costum__checbox--label::before {
  content: "";
  display: flex;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 2px;
  background-color: #dededf;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="12" viewBox="0 0 16 12" fill="none"><path d="M1 5L6 10L15 1" stroke="white" stroke-width="2.5"/></svg>');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 0;
  transition: all 0.2s ease 0s;
}

@media (max-width: 576px) {
  .quiz_blockWr .wpcf7-list-item-label::before,
  .costum__checbox--label::before {
    width: 24px;
    height: 24px;
  }
}
.costum__checbox input {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1000;
  visibility: hidden;
  padding: 0;
  margin: 0;
}
.costum__checbox input:checked ~ .wpcf7-list-item-label::before,
.costum__checbox input:checked ~ .costum__checbox--label::before {
  background-color: rgba(21, 178, 99, 1);
  background-size: 14px;
}

/* //======================================================================================================================================================== */

.quizy__body__form .btn.active.focus,
.quizy__body__form .btn.active:focus,
.quizy__body__form .btn.focus,
.quizy__body__form .btn:active.focus,
.quizy__body__form .btn:active:focus,
.btn:focus {
  outline: none;
}

.quizy__body__expert {
  flex: 1 1 auto;
  background-color: #15b263;
  display: flex;
  flex-direction: column;
  padding: 28px;
  position: relative;
  color: #fff;
  max-width: 290px;
}

@media (max-width: 992px) {
  .quizy__body__expert {
    display: none;
  }
}
.quizy__body__expert::after,
.quizy__body__expert::before {
  content: "";
  position: absolute;
  filter: blur(1.5px);
}
.quizy__body__expert::after {
  background-image: url(../../../../assets/img/quiz_bg_2.png);
  width: 159px;
  height: 186px;
  left: -3px;
  bottom: 114px;
  z-index: 1;
}
.quizy__body__expert::before {
  background-image: url(../../../../assets/img/quiz_bg_1.png);
  height: 304px;
  width: 207px;
  right: 0;
  bottom: 104px;
  z-index: 1;
}
.quizy__expert__body {
  border-radius: 4px;
  background: #2e353d;
  padding: 12px 16px;

  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 300;
  line-height: 145%;
  position: relative;
  z-index: 3;
}

.quizy__expert__header {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 3;
}

.quizy__expert__header--ava {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  object-fit: cover;
}
.quizy__expert__header--name {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  font-style: normal;
  line-height: normal;
}
.quizy__expert__header--name b {
  font-size: 15px;
  font-weight: 700;
}

.quizy__expert__footer {
  margin-top: auto;
  margin-bottom: 12px;

  position: absolute;
  left: -39px;
  right: 0;
  bottom: 40px;
  z-index: 2;
}

.quizy__expert__footer img {
  max-width: 100%;
  height: auto;
  display: block;
}
.quizy__body__form .quiz_block .input_inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 24px;
}
.quizy__body__form .quiz_block .input_inner {
  margin-bottom: 16px;
  gap: 16px;
}

.input_item--label {
  color: #848484;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 12px;
  display: block;
}

@media (max-width: 576px) {
  .input_item--label {
    margin-bottom: 10px;
    font-size: 14px;
  }
}
.input_inner input {
  border-radius: 2px;
  background: #ececec;
  border: 1px solid transparent;
  padding: 20px 24px;
  height: initial;
  font-size: 18px;
  /* font-weight: 700;
  color: #353232; */
  font-family: Manrope;
  outline: none;
}
@media (max-width: 576px) {
  .input_inner input {
    padding: 14px 16px;
    font-size: 14px;
  }
}
/* //======================================================================================================================================================== */
.input-file-row {
  display: inline-block;
}
.input-file {
  position: relative;
  display: inline-block;
  width: 100%;
}
.input-file span.wpcf7-form-control-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  outline: none;
  text-decoration: none;
  vertical-align: middle;
  border-radius: 2px;
  background: #ececec;
  height: 65px;
  padding: 20px;
  box-sizing: border-box;
  border: none;
  margin: 0;

  color: #333;
  font-size: 18px;
  line-height: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  transition: background-color 0.2s;
}
.input-file span.wpcf7-form-control-wrap::after {
  content: "Выберите файлы";
}
.input-file span.wpcf7-form-control-wrap::before {
  content: "";
  display: flex;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M11 16V7.85L8.4 10.45L7 9L12 4L17 9L15.6 10.45L13 7.85V16H11ZM6 20C5.45 20 4.979 19.804 4.587 19.412C4.195 19.02 3.99934 18.5493 4 18V15H6V18H18V15H20V18C20 18.55 19.804 19.021 19.412 19.413C19.02 19.805 18.5493 20.0007 18 20H6Z" fill="black"/></svg>');
  background-size: contain;
  transition: all 0.3s ease 0s;
}
.input-file input[type="file"] {
  position: absolute;
  z-index: -1;
  opacity: 0;
  display: block;
  width: 0;
  height: 0;
}

/* Focus */
.input-file input[type="file"]:focus + span {
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Hover/active */
.input-file:hover span {
  background-color: #59be6e;
  color: #fff;
}
.input-file:hover span::before {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M11 16V7.85L8.4 10.45L7 9L12 4L17 9L15.6 10.45L13 7.85V16H11ZM6 20C5.45 20 4.979 19.804 4.587 19.412C4.195 19.02 3.99934 18.5493 4 18V15H6V18H18V15H20V18C20 18.55 19.804 19.021 19.412 19.413C19.02 19.805 18.5493 20.0007 18 20H6Z" fill="%23ffffff"/></svg>');
}
.input-file:active span {
  background-color: #2e703a;
  color: #fff;
}

/* Disabled */
.input-file input[type="file"]:disabled + span {
  background-color: #eee;
  color: #000;
}

/* Список c превью */
.input-file-list {
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.input-file-list-item {
  display: inline-block;
  width: 150px;
  vertical-align: top;
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 10px 0 0 0;
}
.input-file-list-item img {
  width: 150px;
  max-height: 148px;
}
.input-file-list-name {
  text-align: center;
  display: block;
  font-size: 12px;
  text-overflow: ellipsis;
  overflow: hidden;
}
.input-file-list-remove {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  position: absolute;
  padding: 0;
  margin: 0;
  top: 5px;
  right: 5px;
  background: #ff0202;
  width: 16px;
  height: 16px;
  text-align: center;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  padding: 0 0 2px 0;
}

.input-file-list-item {
  width: 150px;
  height: 200px;
}
.input-file-list-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.form_btn {
  margin-top: 0;
}
.form_btn {
  display: none;
}

.modal_item-body._last_quiz + .modal_item-footer .form_btn {
  display: flex;
}
.quiz_block__checkbox-inner.w_auto {
  max-width: 395px;
}
.quiz_block__checkbox-inner.w_auto .costum__checbox {
  flex: 1;
}
.quizy__body {
  position: relative;
}
.quizy__body-thank-you {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #15b263;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: -10;
  opacity: 0;
  transition: opacity 0.3s ease 0s;
  transform: scale(0);
  visibility: hidden;
}
.quizy__body-thank-you-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 420px;
}
.quizy__body-thank-you-body--icon {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  background-color: #fff;
  border-radius: 50%;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quizy__body-thank-you-body--title {
  color: #fff;
  text-align: center;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 16px;
}
.quizy__body-thank-you-body--text {
  color: #fff;
  text-align: center;
  font-size: 24px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}
.quizy__body.thank-you .quizy__body-thank-you {
  opacity: 1;
  z-index: 10;
  transform: scale(1);
  visibility: visible;
}

/* 
#_contQ__inner{
  display: none;
} */
/* .wpcf7-form.init.visible_2 #_contQ__inner{
  display: block;
} */

#quiz_formdev-list .test__content--dev-list{
  display: flex;
}

@media (max-width: 576px){
  #quiz_formdev-list .test__content--dev-list{
    display: block;
  }
}

#quiz_formdev-list .dev-list__item{
  font-size: 15px;
  padding-right: 15px;
}
.quiz_formdev-list{
  display: flex;
  width: 100%;
}
.quizy_form__inner .test__content--dev-list{
  padding: 0 48px;
  flex: 0 1 920px;
}
.wrapper.wrapper__title.page__quiz-title{
  padding-top: 40px;
}