.alert-debug {
  color: black;
  background-color: white;
  border-color: #d6e9c6;
}

.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

/* BS4 issue with form feedback in input groups from Django Crispy Forms */
.input-group ~ .invalid-feedback { display: block; }

/* Display django-debug-toolbar
   See https://github.com/django-debug-toolbar/django-debug-toolbar/issues/742
   and https://github.com/pydanny/cookiecutter-django/issues/317
*/
[hidden][style="display: block;"] {
  display: block !important;
}

/* Override some user agent stylesheets */
:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Fluid typography */

/* Older browsers */
html {
  font-size: 16px;
}

/* Modern browsers */
@media screen and (min-width: 25em) {
  html {
    font-size: calc(14px + (16 - 14) * (100vw - 400px) / (800 - 400));
  }
}

/* Safari <8 and IE <11 */
@media screen and (min-width: 25em) {
  html {
    font-size: calc(14px + (16 - 14) * (100vw - 400px) / (800 - 400));
  }
}

@media screen and (min-width: 50em) {
  html {
    font-size: calc(14px + (16 - 14) * (100vw - 400px) / (800 - 400));
  }
}

/* Custom survey styling */
.btn-primary {
  color: #fff !important;
}

.btn-outline-secondary {
  color: #737373 !important;
}

.question-label {
  font-size: 1.5em;
}

.multi-question-label {
  font-size: 1em;
}

.answer-label {
  font-size: 1em;
}

.button-label {
  font-size: 1em;
}

.subtext {
  font-size: 0.8em;
}

.loadingoverlay_fontawesome {
  color: #f39c12;
}

.card-light-gray {
  background-color: #f2f2f2;
  border-color: #f2f2f2;
}

.btn-radio-row {
  width: 100%;
}

.btn-radio {
  color: #404040;
  background-color: #fce7c3;
  width: 100%;
  border: 0.125em solid #fff;
}

@media (min-width: 768px) {
  .btn-radio-20 {
    width: 20%;
  }
}

.btn-radio:hover {
  color: #404040;
  background-color: #fce7c3;
  border: 0.125em solid #fff;
}

.btn-radio:focus, .btn-radio.focus {
  -webkit-box-shadow: 0 0 0 0.125em rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 0.125em rgba(255, 255, 255, 0.5);
}

.btn-radio.disabled, .btn-radio:disabled {
  background-color: #fff;
}

.btn-radio:active, .btn-radio.active,
.show > .btn-radio.dropdown-toggle {
  color: #ffffff;
  background-color: #f39c12;
  background-image: none;
  border: 0.125em solid #404040;
}

.btn-radio-label {
  white-space: normal;
  margin-bottom: .5em !important;
}

/* Social media */
.fb {
  background: url("../images/fb_200.f63017ee4495.png") no-repeat center top;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, .7);
  border-radius: 5px;
  width: 198px;
  height: 37px;
  overflow: hidden;
  margin: 0 auto;
}

.or-separator {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1.3em;
  opacity: 0.6;
}

/* Recommender */
.score {
  padding: 0.3125em;
  font-size: 0.8em;
  font-weight: bold;
  white-space: nowrap;
  color: #404040;
  background-color: #999999;
  -webkit-border-radius: 0.1875em;
  -moz-border-radius: 0.1875em;
  border-radius: 0.1875em;
}

.score-1 {
  background-color: #ebebeb;
}

.score-2 {
  background-color: #d6d7a1;
}

.score-3 {
  background-color: #c2c471;
}

.score-4 {
  background-color: #adb042;
}

.score-5 {
  background-color: #999c13;
}
