html,
body {
  min-height: 100vh;
}
body {
  background: url("../pobeda_bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left;
  background-attachment: fixed;
  font-family: Montserrat, monospace;
}

.logo {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 168px;
}

@media screen and (max-width: 991px) {
  .logo {
    margin: 15px;
    align-self: flex-end;
    position: static;
    width: 121px;
  }

}


@media screen and (max-width: 768px) {
  .logo {

    width: 121px;
  }

}

.question-card::-webkit-scrollbar {
  width: 0;
}
::-webkit-scrollbar {
  width: 0;
}

/*.container {
    @media (max-width: 768px) {
        padding: 0px;
    }
}*/

.swiper {
  max-width: 100% !important;
}

#main {
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 100vh;
  height: 100%;
}
.main {
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.main-header {
  color: rgb(255, 255, 255);
  font-family: Montserrat;
  margin-top: 20px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.main-header-title {
  color: rgb(255, 255, 255);
  font-family: Montserrat;
  font-size: 55px;
  font-weight: 700;
  line-height: 50px;
  letter-spacing: 0px;
  text-align: left;
  margin-bottom: 0;
}
.main-header-subtitle {
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}
.btn-main {
  --bs-btn-color: #fff;
  --bs-btn-bg: #e4b152;
  --bs-btn-font-weight: 600;
  --bs-btn-font-size: 22px;
  --bs-btn-border-color: #e4b152;
  --bs-btn-border-radius: 20px;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #e4b152;
  --bs-btn-hover-border-color: #e4b152;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #e4b152;
  --bs-btn-active-border-color: #e4b152;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: rgba(44, 149, 95, 0.2);
  --bs-btn-disabled-border-color: rgba(44, 149, 95, 0.2);
}

.text-brand {
  color: #453333;
  font-weight: 500;
}

.bg-brand {
  background-color: #e9f4ff;
  border: none;
}

.bg-main {
  background-color: #e4b152;
}

.select-class {
  form-check {
  }
  input[type="radio"] {
    padding: 20px;
  }
}
.footer {
  background-color: #f5f5f5;
  font-size: 0.9em;
  height: 60px;
}

.footer > .container {
  padding-right: 15px;
  padding-left: 15px;
}

.not-set {
  color: #c55;
  font-style: italic;
}

.bg-orange {
  background-color: #CB734C;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
  content: "";
  left: 3px;
  display: inline-block;
  width: 0;
  height: 0;
  border: solid 5px transparent;
  margin: 4px 4px 2px 4px;
  background: transparent;
}

a.asc:after {
  border-bottom: solid 7px #212529;
  border-top-width: 0;
}

a.desc:after {
  border-top: solid 7px #212529;
  border-bottom-width: 0;
}

.grid-view th {
  white-space: nowrap;
}

.hint-block {
  display: block;
  margin-top: 5px;
  color: #999;
}

.error-summary {
  color: #a94442;
  background: #fdf7f7;
  border-left: 3px solid #eed3d7;
  padding: 10px 20px;
  margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
  padding-top: 7px;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 767px) {
  .nav li > form > button.logout {
    display: block;
    text-align: left;
    width: 100%;
    padding: 10px 0;
  }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
  outline: none;
}

.form-group {
  margin-bottom: 1rem;
}

.form_label {
  font-weight: 500;
  font-size: 27px;
  color: black;
}

.form_radio_btn {
  display: inline-block;
}
.form_radio_btn input[type="radio"] {
  display: none;
}
.form_radio_btn label {
  flex:1;
  display: flex;
  padding: 20px;
  justify-content: center;
  align-items: center;
  height: 64px;
  cursor: pointer;
  line-height: 34px;
  text-align: center;
  font-weight: 500;
  border-radius: 8px;
  user-select: none;
  background: #f4f3f3;
}

/* Checked */
.form_radio_btn input[type="radio"]:checked + label {
  background: #CB734C;
  color: white;
}
.form_radio_btn input[type="radio"]:hover + label {
  background: #CB734C;
}

/* Hover */
.form_radio_btn label:hover {
  color: white;
}

/* Disabled */
.form_radio_btn input[type="radio"]:disabled + label {
  background: #efefef;
  color: #666;
}

.btn-radio {
  --bs-btn-color: #535b42;
  --bs-btn-bg: #f4f3f3;
  --bs-btn-border-color: #535b42;
  --bs-btn-hover-color: #f4f3f3;
  --bs-btn-hover-bg: #c7a362;
  --bs-btn-hover-border-color: #c7a362;
  --bs-btn-focus-shadow-rgb: 255, 255, 255;
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: #CB734C;
  --bs-btn-active-border-color: #CB734C;
  --bs-btn-active-shadow: inset 0 0px 0px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: rgba(255, 255, 255, 0.2);
  --bs-btn-disabled-border-color: rgba(255, 255, 255, 0.2);
  --bs-btn-padding-x: 15px;
  --bs-btn-padding-y: 15px;
  --bs-btn-font-family: "Montserrat";
  --bs-btn-font-size: 18px;
  --bs-btn-font-weight: 500;
  --bs-btn-line-height: 1.5;
  --bs-btn-border-width: 0;
  --bs-btn-border-radius: 20px;

  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 15px;
  align-items: center;
  @media (max-width: 1200px) {
    grid-template-columns: 25px 1fr;
    --bs-btn-font-size: 15px;
    --bs-btn-line-height: 18px;
  }
}

.btn-result {
  --bs-btn-color: #535b42;
  --bs-btn-bg: #f4f3f3;
  --bs-btn-border-color: #e9f4ff;
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: #459ef0;
  --bs-btn-hover-border-color: #459ef0;
  --bs-btn-focus-shadow-rgb: 255, 255, 255;
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: #459ef0;
  --bs-btn-active-border-color: #459ef0;
  --bs-btn-active-shadow: inset 0 0px 0px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: rgba(255, 255, 255, 0.2);
  --bs-btn-disabled-border-color: rgba(255, 255, 255, 0.2);
  --bs-btn-padding-x: 15px;
  --bs-btn-padding-y: 15px;
  --bs-btn-font-family: "Montserrat";
  --bs-btn-font-size: 18px;
  --bs-btn-font-weight: 500;
  --bs-btn-line-height: 1.5;
  --bs-btn-border-width: 0;
  --bs-btn-border-radius: 20px;
  cursor: initial;
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 15px;
  align-items: center;
  pointer-events: none;
}

.btn-quiz {
  --bs-btn-color: #ffffff;
  --bs-btn-bg: #cb734c;
  --bs-btn-border-color: #cb734c;
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: #cb734c;
  --bs-btn-hover-border-color: #cb734c;
  --bs-btn-focus-shadow-rgb: 255, 255, 255;
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: #cb734c;
  --bs-btn-active-border-color: #cb734c;
  --bs-btn-active-shadow: inset 0 0px 0px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #cb734c;
  --bs-btn-disabled-bg: rgb(255, 255, 255);
  --bs-btn-disabled-border-color: #cb734c;
  --bs-btn-padding-x: 40px;
  --bs-btn-padding-y: 20px;
  --bs-btn-font-family: "Montserrat";
  --bs-btn-font-size: 18px;
  --bs-btn-font-weight: 600;
  --bs-btn-line-height: 1.5;
  --bs-btn-border-width: 3px;
  --bs-btn-border-radius: 20px;
  @media (max-width: 1200px) {
    --bs-btn-padding-x: 15px;
    --bs-btn-padding-y: 20px;
    --bs-btn-font-size: 15px;
    --bs-btn-line-height: 18px;
  }
}
.validate-class {
  cursor: not-allowed !important;
  opacity: 0.3 !important;
}
.btn-quiz.swiper-button-disabled {
  cursor: not-allowed;
  opacity: 0.3;
}
.btn-quiz-back {
  --bs-btn-color: #cb734c;
  --bs-btn-bg: rgb(255, 255, 255);
  --bs-btn-border-color: #cb734c;
  --bs-btn-hover-color: #cb734c;
  --bs-btn-hover-bg: rgb(255, 255, 255);
  --bs-btn-hover-border-color: #cb734c;
  --bs-btn-focus-shadow-rgb: 255, 255, 255;
  --bs-btn-active-color: #CB734C;
  --bs-btn-active-bg: rgb(255, 255, 255);
  --bs-btn-active-border-color: #cb734c;
  --bs-btn-active-shadow: inset 0 0px 0px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #cb734c;
  --bs-btn-disabled-bg: rgb(255, 255, 255);
  --bs-btn-disabled-border-color: #cb734c;
  --bs-btn-padding-x: 40px;
  --bs-btn-padding-y: 20px;
  --bs-btn-font-family: "Montserrat";
  --bs-btn-font-size: 18px;
  --bs-btn-font-weight: 600;
  --bs-btn-line-height: 1.5;
  --bs-btn-border-width: 3px;
  --bs-btn-border-radius: 20px;
  @media (max-width: 1200px) {
    --bs-btn-padding-x: 15px;
    --bs-btn-padding-y: 20px;
    --bs-btn-font-size: 15px;
    --bs-btn-line-height: 18px;
  }
}
.btn-quiz-back.swiper-button-disabled {
  cursor: not-allowed;
  opacity: 0.3;
}
.btn-check:checked:after + .btn {
  content: "Выбран";
  margin-left: auto;
}
.radio-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.radio-badge {
  width: 35px;
  height: 35px;
  justify-content: center;
  align-items: center;
  display: inline-flex;
  color: rgb(255, 255, 255);
  font-family: Montserrat;
  font-size: 18px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 0px;
  text-align: left;
  border-radius: 20px;
  background: #cb734c;
  @media (max-width: 1200px) {
    width: 25px;
    height: 25px;
  }
}
.question-selector {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-bottom: 25px;
  margin-top: 25px;
}
.question-selector-tile {
  width: 100%;
  height: 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  background: rgb(255, 255, 255);
  color: #5d7f9a;
  font-family: Montserrat;
  font-size: 18px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0px;
  text-align: left;
}
.question-selector-dotted {
  background: rgb(69, 158, 240);
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
  display: none;
}
.quiz-thumbnail {
  width: 100%;
}
.quiz-thumbnail-tile.swiper-slide-thumb-active > .question-selector-tile {
  background: #cb734c;
  color: rgb(255, 255, 255);
}
.quiz-thumbnail-tile.swiper-slide-thumb-active
  > .question-selector-tile
  > .question-selector-dotted {
  display: none !important;
}

.question-card {
  /*    overflow-x: hidden;
    overflow-y: auto;*/
  padding: 20px 20px 0px 20px;
  min-height: calc(100vh - 105px);
  border-radius: 35px 35px 0px 0px;
  background: rgb(255, 255, 255);
  position: relative;
}
.question-card::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background: #ffffff;
  top: 50%;
  left: 0;
  right: 0;
  z-index: -1;
}
.question-card-count {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #453333;
  font-family: Montserrat;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0px;
  text-align: left;
  z-index: 1;
  @media (max-width: 1200px) {
    font-size: 15px;
  }
}
.ratio-img {
  --bs-aspect-ratio: 45%;
  @media (max-width: 768px) {
    --bs-aspect-ratio: 60%;
  }
}
.question-card-count-num {
  color: #cb734c;
  box-sizing: border-box;
  border: 3px solid #cb734c;
  border-radius: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 0px 10px;
  @media (max-width: 1200px) {
    border: 2px solid #cb734c;
    width: 30px;
    height: 30px;
    font-size: 15px;
  }
}
.question-card-title {
  color: #535b42;
  font-family: Montserrat;
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: 0px;
  text-align: left;
  margin-top: 20px;
  @media (max-width: 1200px) {
    font-family: Montserrat;
    font-size: 15px;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: 0px;
    text-align: left;
  }
}
.question-card-header {
  /* position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 20px;
    border-radius: 20px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    overflow: hidden; */
}
.question-card-header:after {
  /* content: '';
    z-index: 0;
    position: absolute;
    background: linear-gradient(180.00deg, rgba(0, 0, 0, 0) 43.046%,rgba(0, 0, 0, 0.5) 100%);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%; */
}
.question-card-body {
  margin-top: 20px;
  margin-bottom: auto;
  @media (max-width: 1200px) {
    margin-top: 20px;
  }
}
.question-footer {
  margin-top: 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.question-footer-count {
  color: #535b42;
  font-family: Montserrat;
  font-size: 22px;
  font-weight: 500;
  line-height: 27px;
  letter-spacing: 0px;
  @media (max-width: 1200px) {
    font-size: 18px;
    line-height: 1;
  }
}
.btn-result.choice {
  background: rgb(203, 80, 80);
  color: rgb(255, 255, 255);
}
.btn-result.choice > .radio-badge {
  background: rgb(203, 80, 80);
}
.btn-result.is-correct > .radio-badge {
  background: rgb(95, 175, 71);
}
.btn-result.choice.is-correct {
  color: rgb(255, 255, 255);
  background: rgb(95, 175, 71);
}
.btn-result.choice.is-correct > .radio-badge {
  background: rgb(95, 175, 71);
}
.result-card {
  /*    overflow-x: hidden;
    overflow-y: auto;*/
  border-radius: 40px 40px 0px 0px;
  min-height: calc(100vh - 30px);
  padding: 50px 50px 0px 50px;
  background: rgb(255, 255, 255);
  margin-top: 30px;
  position: relative;
  @media (max-width: 992px) {
    padding: 20px 20px 0px 20px;
  }
}
.result-card::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background: #ffffff;
  top: 50%;
  left: 0;
  right: 0;
  z-index: -1;
}

.question-result {
  display: flex;
  align-items: center;
  gap: 20px;
}
.question-result-correct {
  color: #535b42;
  font-family: Montserrat;
  font-size: 90px;
  font-weight: 700;
  line-height: 64px;
  letter-spacing: 0px;
  text-align: left;
}
.question-result-count {
  color: #cb734c;
  font-family: Montserrat;
  font-size: 64px;
  font-weight: 700;
  line-height: 78px;
  letter-spacing: 0px;
  text-align: left;
  @media (max-width: 992px) {
    font-family: Montserrat;
    font-size: 40px;
    font-weight: 700;
    line-height: 49px;
    letter-spacing: 0px;
    text-align: left;
  }
}
.question-result-selector {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-bottom: 30px;
}
.question-selector-result-tile {
  width: 100%;
  height: 55px;
  border: 3px solid rgb(255, 255, 255);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  background: rgb(255, 255, 255);
  color: #535b42;
  font-family: Montserrat;
  font-size: 18px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0px;
  text-align: left;
}
.question-selector-result-dotted {
  background: rgb(203, 80, 80);
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
}
.question-selector-result-tile.choice > .question-selector-result-dotted {
  background: rgb(95, 175, 71);
}
.quiz-thumbnail {
  width: 100%;
}
.quiz-thumbnail-result-tile.swiper-slide-thumb-active
  > .question-selector-result-tile {
  background: rgb(203, 80, 80);
  color: rgb(255, 255, 255);
}
.quiz-thumbnail-result-tile.swiper-slide-thumb-active
  > .question-selector-result-tile.choice {
  background: rgb(95, 175, 71);
  color: rgb(255, 255, 255);
}
.quiz-thumbnail-result-tile.swiper-slide-thumb-active
  > .question-selector-result-tile
  > .question-selector-result-dotted {
  display: none !important;
}

.page-grid {
  display: inline-grid;
  grid-template-columns: 1fr;
  grid-template-rows: 120px 1fr;
  width: 100%;
  height: 100%;
}
.main-input {
  padding: 15px;
  border-radius: 15px;
  background: #f4f3f3;
  border-width: 0;
}
.question-card-scroll {
  height: 100%;
}
.question-footer-next.swiper-button-disabled {
  display: none;
}

.question-footer-next.swiper-button-disabled ~ #question-footer-end {
  display: block;
}

.description {
  color: blueviolet;
}

