/* Специальные стили, акутальные только для этого проекта, например: */
body {
  max-width: 1000px;
  width: 100%;
  text-align: center;
  display: none;
}

.buttons-wrapper, .radio-group, .infopane {
  margin-bottom: 12px;
}

.quiz-button {
  font-family: 'YS Text Web';
  background: #FF5200;
  margin: 0px auto 0;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  line-height: 26px;

  padding: 8px 36px;
  color: #fff;
}

.quiz-body {
  margin-left: 40px;
  margin-bottom: 40px;
}

.quiz-button_inactive {
  background: #e8e8e8;
  cursor: auto;
  color: #666666;
}

.content {
  width: 100%;
  max-width: 1000px;

  height: auto;
  background: no-repeat center center;
  background-size: 100%;
  background-color: white;

  text-align: center;
  align-items: center;
  font-size: 16px;
  line-height: 18px;

  border: none;
  box-sizing: border-box;
  border-radius: 20px;

  overflow: hidden;
}

.content_block {
  display: block;
}

.content_flex {
  display: flex;
}

/************** COVER *************/
.cover-wrapper {
  margin: 0 auto;
}

.quiz-label {
  height: 25px;
  padding: 5px 25px;
  background: rgba(255, 255, 255, 0.9);
  display: inline-block;
  font-size: 15px;
}

.quiz-title {
  font-size: 53px;
  margin: 0 auto;
  line-height: 1.25;
  padding: 2px 80px 0 80px;
  text-align: center;
}

.quiz-title span {
  background-color: #ffffff;
  color: #333333;
  display: inline;
  padding-left: 0.50rem;
  padding-right: 0.50rem;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/************** QUIZ-WRAPPER *************/
.question-wrapper {
  margin-bottom: 40px;
}

.question-wrapper .quiz-button {
  position: absolute;
  bottom: 0;
  display: block;
  transform: translate(-50%, 0);
  left: 50%;
}

.numeration {
  background: #000;
  display: inline-block;
  margin-top: 40px;
  width: 91px;
  height: 35px;
  color: #fff;

  border-radius: 8px;

  font-family: 'YS Text Web';
  font-style: normal;
  font-weight: bold;
  font-size: 20px;
  line-height: 26px;
  text-align: center;
  letter-spacing: 0.03em;

  padding-top: 4px;
  margin-bottom: 5px;
  padding-left: 2px;
}

.quiz-content {
  max-width: 790px;
  width: 100%;
  position: relative;
  background: #ffffff;
  margin: 0 auto;
  padding: 0 80px 60px;
  overflow: auto;
}

.quiz-header {
  /* border-bottom: 1px solid #dddddd; */
  margin-bottom: 40px;
}

.quiz-header_wrapper {
  margin: 30px auto 42px;
  max-width: 710px;
}

.quiz-header__text {
  font-family: "YS Text Web";
  font-style: normal;
  font-weight: normal;
  font-size: 20px;
  line-height: 26px;
  text-align: center;
}

.quiz-header__text > i {
  font-family: 'YS Text Web';
  font-style: italic;
  font-weight: bold;
  font-size: 20px;
  line-height: 26px;
  text-align: center;
}

.quiz-header__comment {
  font-size: 22px;
  line-height: 32px;
  margin: 0;
}

.quiz-header__img {
  max-width: 100%;
}

.quiz-header__img img {
  width: 100%;
  display: block;
  margin-bottom: -1px;
}

.option-wrapper {
  margin-bottom: 27px;
  width: 100%;
}

.option {
  margin-bottom: 5px;
  font-size: 16px;
  line-height: 30px;
}

.option_wrong .comment,
.option_wrong .comment a {
  color: #ff5200;
}

.option_wrong .comment a,
.option_right .comment a {
  text-decoration: underline;
}

.option_right .comment,
.option_right .comment a {
  color: #43C288;
}


.comment-wrapper {
  text-align: left;
  margin-left: 45px;

  max-width: 560px;
}

.option-wrapper:hover {
  cursor: pointer;
}

.option_wrong:hover,
.option_right:hover {
  cursor: default;
}

.option-wrapper:hover .option__checkbox {
  background-position: 25% 25%;
}

.option_wrong:hover .option__checkbox {
  background-position: 0 0;
}

.option_wrong:hover,
.option_right:hover,
.option_wrong:hover .option,
.option_right:hover .option {
  cursor: default;
}

.wrong {
  background-position: 50% 50% !important;
}

.right {
  background-position: 100% 100% !important;
}

.faded-right {
  background-position: 75% 75% !important;
}

.option__checkbox {
  background: url(../i/quiz-icons.svg) 0 0;
  width: 30px;
  height: 30px;
  background-size: cover;
  margin-top: -3px;
  float: left;
}

.option__text {
  font-family: "YS Text Web";
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 26px;
  text-align: left;
  margin-left: 45px;
}

.comment {
  text-align: left;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.02em;
  color: #43C288;
}

.comment > i {
  font-family: 'YS Text Web';
  font-style: italic;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.02em;
}

.comment-under-correct-if-wrong {
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.02em;
  color: #43C288;
}

.comment-under-correct-if-wrong > i {
  font-style: italic;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.02em;
  color: #43C288;
}

/************** RESULT-WRAPPER *************/

.result-wrapper {
  margin: 0 auto;
  max-width: 100%;
}

.result-wrapper_image {
  padding-top: 40px;
}

.result-wrapper_image .result-label {
  margin-top: 30px;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
}

.result-wrapper_none-image .quiz-content {
  min-height: 0;
  background: none;
}

.result-label {
  font-size: 24px;
  color: #FFFFFF;
  background: #49c189;
  display: inline-block;
  width: 125px;
  height: 40px;
  line-height: 40px;
}

.result-image {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}

.result-image img {
  width: 100%;
  display: block;
}

.result-text {
  margin: 3px auto 0;
  width: 100%;
  max-width: 630px;
  background: #FFFFFF;
  color: #333333;
  padding-top: 20px;
  padding-bottom: 10px;
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0.03em;
}
