.lds-roller {
  display: inline-block;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
}
.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}
.lds-roller div:after {
  content: ' ';
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-color);
  background: -moz-radial-gradient(
    circle,
    var(--gradient-one) 0%,
    var(--gradient-two) 100%
  );
  background: -webkit-radial-gradient(
    circle,
    var(--gradient-one) 0%,
    var(--gradient-two) 100%
  );
  background: radial-gradient(
    circle,
    var(--gradient-one) 0%,
    var(--gradient-two) 100%
  );
  margin: -4px 0 0 -4px;
}
.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
  top: 63px;
  left: 63px;
}
.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
  top: 68px;
  left: 56px;
}
.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
  top: 71px;
  left: 48px;
}
.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}
.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
  top: 71px;
  left: 32px;
}
.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
  top: 68px;
  left: 24px;
}
.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
  top: 63px;
  left: 17px;
}
.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12px;
}
@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
#logo {
  object-fit: contain;
  position: absolute;
  left: 40px;
  top: 60px;
  width: 350px;
}

#card {
  border-radius: 12px;
  min-width: 320px;
}
.select2-search--dropdown {
  display: block;
  padding: 4px;
  content-visibility: hidden !important;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow,
.select2-container--default
  .select2-selection--multiple
  .select2-selection__arrow {
  height: 26px;
  position: absolute;
  top: 1px;
  right: 1px;
  width: 20px;
  visibility: hidden;
}
#questName {
  font-size: 24px;
  font-weight: bold;
  font-style: normal;
  font-display: swap;

  font-family: 'Rubik';
  width: 370px;
  word-break: break-word;
}
#cards {
  border-radius: 12px;
  min-width: 320px;

  overflow: auto;
}
#langChangeRu {
  position: absolute;
  right: 80px;
  top: 40px;
  font-size: 20px;
  color: white;
  font-weight: bold;
  font-style: normal;
  font-display: swap;

  font-family: 'Rubik';
  text-decoration: underline;
}
#langSlash {
  position: absolute;
  right: 65px;
  top: 40px;
  font-size: 20px;
  color: white;
}
#langChangeEn {
  position: absolute;
  right: 30px;
  top: 40px;
  font-style: normal;
  font-display: swap;

  font-family: 'Rubik';
  font-size: 20px;
  color: white;
}

.arrowdown {
  position: absolute;
  width: 15px;
  right: 25px;
  top: 50%;
  transform: translate(0, -50%);
}

#divlogo {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
}
#questionnaireQuestions {
  height: calc(100% - 300px);
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 250px;
  padding: 0px 7px;
}
#questionnaire {
  -ms-overflow-style: none;
  scrollbar-width: none;
  overflow-y: scroll;
  width: 42%;
  padding-bottom: 50px;
}
#questionnaire::-webkit-scrollbar {
  display: none;
}
#results {
  text-align: left;
}
.resultQuestion,
label {
  display: block;
  line-height: 50px;
  word-break: break-word;
  padding: 5px 5px 0px 5px;
  margin-top: 20px;
  margin-bottom: 10px;
  color: var(--primary-color);
  font-weight: bold;
  font-style: normal;
  font-display: swap;
  font-size: 40px;
  font-family: 'Rubik';
}
.resultAnswer {
  font-size: 14px;
  padding: 5px 20px;
  color: var(--secondary-color);
  vertical-align: middle;
  width: 90%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  position: absolute;
  font-family: 'Rubik';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  word-break: break-word;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  flex-wrap: wrap;
}
#submit {
  border-radius: 12px;
  padding-top: 30px;
  padding-bottom: 30px;
  text-align: center;
}

button:not(.select2-selection__choice__remove) {
  height: 45px;
  line-height: 40px;
  width: 200px;
  color: var(--secondary-color);
  background: var(--primary-color);
  background: -moz-linear-gradient(
    0deg,
    var(--gradient-two) 0%,
    var(--gradient-one) 100%
  );
  background: -webkit-linear-gradient(
    0deg,
    var(--gradient-two) 0%,
    var(--gradient-one) 100%
  );
  background: linear-gradient(
    0deg,
    var(--gradient-two) 0%,
    var(--gradient-one) 100%
  );
  font-style: normal;
  font-weight: bold;
  font-display: swap;
  border-color: #b3b8c2;
  border-style: solid;
  font-family: 'Rubik';
  cursor: pointer;
  font-size: 16px;
  border-radius: 12px !important;
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
  display: table-cell;
  width: 100% !important;
  height: 50px !important;
  -moz-appearance: none; /* Firefox */
  -webkit-appearance: none; /* Safari and Chrome */
  appearance: none !important;
  outline: none !important;
  border: 1px solid lightgray !important;
  border-radius: 12px !important;
  padding: 10px !important;
  word-break: break-word;
  background-color: #ececec !important;
  border: 1px solid #dcdbd8 !important;
  font-size: 18px;
  color: #60646b !important;
  font-family: 'Rubik' !important;
  font-weight: 500 !important;
  font-style: normal !important;
  font-display: swap !important;
}
.select2-container--default .select2-selection--multiple {
  height: auto !important;
}
.select2-results__option {
  line-height: 25px !important;
  padding-left: 15px !important;
  font-size: 18px !important;
  color: #60646b !important;
  font-family: 'Rubik' !important;
  font-weight: 400 !important;
  border-bottom: 1px #b7b9bb solid !important;
}
.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice {
  margin-top: 0 !important;
}
/* textarea.select2-search__field {
  height: auto !important;
  line-height: normal !important;
} */
.select2-results {
  border-radius: 12px;
}
.resultPercent {
  font-size: 16px;
  white-space: nowrap;
  position: absolute;
  top: 25px;
  right: 20px;
  color: var(--secondary-color);
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  font-family: 'Rubik';
}
option {
  font-size: 15px !important;
  height: 70px !important;
  line-height: 80px !important;
  color: #60646b;
  font-family: 'Rubik';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  width: 80%;
  word-break: break-word;
}
.text-input {
  position: relative;
  margin-top: 15px;
}
.text-input > label,
.text-input input,
.text-input select {
  text-align: left;
  width: 100% !important;
  border-radius: 12px !important;
}
.text-input option {
  width: 200px !important;
  border-radius: 12px !important;
}
input[type='text'] {
  display: table-cell;
  width: 100%;
  height: 50px;
  box-sizing: border-box;
  outline: none;
  background-color: #ececec;
  border: 1px solid #dcdbd8 !important;

  color: #60646b;
  font-family: 'Rubik';
  font-size: 18px;
  border: 1px solid lightgray;
  border-radius: 3px;
  padding: 10px 10px 10px 15px;
}
.select2-dropdown {
  top: -1px;
}
.modal-title {
  font-family: 'Rubik';
  font-weight: 500;
}
.modal-body {
  font-family: 'Rubik';
  font-weight: 400;
}
.lang {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
}
.langselect {
  width: 100px !important;
}
#arrowlang {
  position: absolute;
  top: 20px;
  width: 15px;
  right: 13px;
}

.select2-container--default .select2-results > .select2-results__options {
  max-height: 250px !important;
}
.resultQuestion {
  border-radius: 12px;
}
.result-answer-container {
  margin-top: 4px;
}
.result-answer-block {
  border-radius: 8px;
  height: 72px;
  background-color: #818286b3;
  text-align: left;
  width: 100%;
}
.result-answer-scale {
  position: relative;
  place-self: center;
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.result-answer-scale-block {
  border-radius: 8px;
  height: 72px;
  display: flex;
  background: var(--primary-color);
  background: -moz-linear-gradient(
    0deg,
    var(--gradient-two) 0%,
    var(--gradient-one) 100%
  );
  background: -webkit-linear-gradient(
    0deg,
    var(--gradient-two) 0%,
    var(--gradient-one) 100%
  );
  background: linear-gradient(
    0deg,
    var(--gradient-two) 0%,
    var(--gradient-one) 100%
  );
}
.back-msg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 22px;
  font-family: 'Rubik';
  color: var(--secondary-color);
}
.back-msg a {
  color: var(--primary-color) !important;
}
#questionnaireQuestions.nologo {
  margin-top: 80px !important;
  height: calc(100% - 90px) !important;
}
/* .select2-results__options > li:not(:first-child) {
  line-height: 12px !important;
  margin-top: 10px !important;
  font-size: 12px !important;
}
.select2-results__options > li:not(:first-child)::first-letter {
  font-size: 40px !important;
  font-weight: bold !important;
} */
.select2-container--open.select2-container--below
  > .selection
  > .select2-selection {
  border-bottom-left-radius: 0px !important ;
  border-bottom-right-radius: 0px !important ;
}
.select2-container--open.select2-container--above
  > .selection
  > .select2-selection {
  border-top-left-radius: 0px !important ;
  border-top-right-radius: 0px !important ;
}
.select-wrapper {
  position: relative;
}
textarea.select2-search__field {
  height: 25px !important;
  line-height: normal !important;
}
.select2-container--default
  .select2-results__option--highlighted.select2-results__option--selectable {
  color: var(--secondary-color) !important;
}
.select2-container--default .select2-results__option--selected {
  background-color: var(--primary-color) !important;
  color: var(--secondary-color) !important;
}

@media screen and (max-width: 500px) {
  #logo {
    width: 70px;
    height: 80px;
    object-fit: contain;
    position: absolute;
    left: 20px;
    top: 10px;
  }
  label {
    width: 60% !important;
  }
}

@media screen and (max-width: 500px) {
  option {
    width: 80% !important;
  }
  body {
    position: relative;
    background-size: cover;
    background-attachment: fixed;
  }
  #card {
    border-radius: 12px;
    min-width: 0px !important;
  }
  #questionnaireQuestions {
    margin-top: 150px !important;
    height: calc(100% - 180px) !important;
  }
}
@media screen and (max-width: 1000px) {
  span.select2-selection--multiple {
    padding: 5px 15px 5px 5px !important;
    font-size: 14px !important;
  }
  .arrowdown {
    display: none !important;
  }
  button:not(.select2-selection__choice__remove) {
    margin-top: 20px;
    border-radius: 12px !important;
    width: 60% !important;
  }
  .arrowdown {
    position: absolute;
    width: 15px !important;
    right: 25px !important;
    top: 50% !important;
    transform: translate(0, -50%) !important;
  }
  #langChangeRu {
    position: absolute;
    right: 40px !important;
    top: 30px !important;
    font-size: 15px !important;
  }
  #langSlash {
    position: absolute;
    right: 32px !important;
    top: 30px !important;
    font-size: 15px !important;
  }
  #langChangeEn {
    position: absolute;
    right: 10px !important;
    top: 30px !important;
    font-size: 15px !important;
  }
  #questionnaire {
    /*margin-left: 40px;*/
    width: 90% !important;
  }
  .resultQuestion,
  label {
    display: block;

    line-height: 30px !important;
    word-break: break-word;
    padding: 5px 5px 0px 5px;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: bold;
    font-style: normal;
    font-display: swap;
    font-size: 1.5rem !important;
    font-family: 'Rubik';
  }

  #cards {
    border-radius: 12px;
    min-width: 0px !important;
  }
  #questName {
    font-size: 16px !important;
    width: 80% !important;
    font-weight: bold;
    font-style: normal;
    font-display: swap;

    font-family: 'Rubik';
  }
}
