html, body {
  overflow-x: hidden; /* Prevent scroll on narrow devices */
}

html {
  height: 100%;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  position: relative;
  min-height: 100%;
}

body.hasnav {
  padding: 5em 0 0 0;
}

h2 {
  font-size: 120%;
  font-weight: bold;
  margin-top: 1em;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 2px;
  background-color: #f5f5f5;
  text-align: center;
}

form .question {
  display: block;
  font-weight: bold;
  padding: 10px 0 0 5%;
  margin-top: 20px;
  margin-bottom: 10px;
  border-top: 2px solid #efefef;
}

form .question:first-of-type {
  border-top: 0;
}

form .likert, form .likertl {
  list-style: none;
  width: 100%;
  margin: 0;
  padding: 0 0 5px;
  display: block;
}

form .likert:last-of-type {
  border-bottom: 0;
}

form .likert:before {
  content: '';
  position: relative;
  top: 13px;
  display: block;
  background-color: #efefef;
  height: 4px;
}

form .likert li, form .likertl li {
  display: inline-block;
  text-align: center;
  vertical-align: top;
}

form .likert li input[type=radio] {
  display: block;
  position: relative;
  left: 50%;
  margin-left: 0;
}

form .likert li label {
  width: 100%;
}

form ul.likert2:before {
  left: 23%;
  width: 16%;
}

form li.likert2 {
  width: 16%;
}

form ul.likert3:before {
  left: 23%;
  width: 32%;
}

form li.likert3 {
  width: 16%;
}

form ul.likert4:before {
  left: 23%;
  width: 48%;
}

form li.likert4 {
  width: 16%;
}

form ul.likert5:before {
  left: 23%;
  width: 65%;
}

form li.likert5 {
  width: 16%;
}

form ul.likert6:before {
  left: 21%;
  width: 67%;
}

form li.likert6 {
  width: 13%;
}

form ul.likert7:before {
  left: 20%;
  width: 68%;
}

form li.likert7 {
  width: 11%;
}

form li textarea, .paste {
  margin-left: 5%;
  width: 85%;
}

form textarea {
  resize: none;
}

textarea.nowrap {
  white-space: pre;
  overflow-wrap: normal;
  overflow-x: scroll;
}

.paste {
  margin-left: 5%;
  margin-right: 5%;
}

textarea.paste {
  width: 90%;
}

form span {
  position: relative;
  display: inline-block;
  width: 10%;
  margin-left: 5%;
}

form span.dropdown {
  width: auto;
  margin-left: auto;
}

form label.criterion {
  font-style: italic;
}

div.criteria {
  margin: 1em 2em 1em 2em;
  display: inline-block;
  border: 1px solid;
  padding: 5px;
}

div.groups {
  display: inline-block;
  border: 1px solid;
  padding: 1em;
  clear: both;
}

.modal-lg {
  max-width: 90%;
}

.modal-lg.medium {
  max-width: 75%;
}

.fa-check {
  color: green;
}

.fa-times {
  color: red;
}

.far-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.tooltip-inner {
  max-width: 50%;
  text-align: left;
}

.nav-item {
  font-size: 1.2em;
  font-weight: bold;
}
