/* 
p,
h1,
label,
span {
  font-family: "Gotham", sans-serif;
} */

body {
  background-color: #f5f6fa;
  color: #293034;
  cursor: auto;
}
html {
  background-color: #f5f6fa;
  opacity: 1 !important; /* to remove transparent overlay of 0.5 opacity on .placeholder class */
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.5;
}

.logo {
  width: 9%;
  margin-left: 100px;
}

#tryagain {
  display: none;
  margin-top: 2rem;
  font-size: 1rem; /* to increase font size of red notification message box */
}

.question {
  display: none;
  background-color: transparent;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  padding: 3rem;
  margin-top: 2rem;
  border: 1px solid #c2c8d6;
  box-shadow: inset 0px 10px 20px rgba(0, 0, 0, 0.05);
}

.position-form__intro {
  padding: 3rem 0 2rem;
  text-align: left;
  padding: 3rem;
  background-color: #ffffff;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.05);
  border-radius: 5px;
}

/*.position-form__intro::before {
  content: "";
  width: 100%;
  position: absolute;
  background-color: #000000;
  height: 200px;
  left: 0;
  top: 0;
  z-index: -1;
}*/

.position-form__intro h1 {
  font-size: 2rem;
}

.position-form__intro p {
  font-size: 1rem;
  /*font-weight: 300;*/
  margin: 0;
}

.buttons {
  display: flex;
  justify-content: space-between;
  background: #c2c8d6;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  padding: 2rem;
  margin-bottom: 1rem;
}

.btn--primary {
  background-color: #00a3e0;
  border-radius: 2px;
  font-weight: 700;
  color: #ffffff;
  transition: background-color 0.2s;
  /*font-family: "Gotham", sans-serif;*/
}

.btn--primary:hover {
  background-color: #00a3e095;
  border-radius: 2px;
  font-weight: 700;
  color: #ffffff;
}

.btn--text {
  color: #00a3e0;
  background-color: #ffffff80;
  border-radius: 2px;
  font-weight: 700;
  transition: background-color 0.2s;
  /*font-family: "Gotham", sans-serif;*/
}

.btn--text:hover {
  background-color: #00a3e095;
  border-radius: 2px;
  font-weight: 700;
  color: #ffffff;
}

.fw-bold {
  font-size: 18px;
}

#introtext li{
  list-style-type: disc;
  font-size:medium;
  margin-top:1em;
}

#introtext h1
#introtext p
#scores p{
  background-color: #ffffff;
}

.healthStatus {
  border-spacing: 0.8em;
}

.healthStatus td {
  background-color: #e4e4e4;
  border-bottom-color: #777777;
  border-bottom-width: 0.3em;
  border-bottom-style: solid;
}

.healthStatus td.healthStatusSelected {
  background-color: #fec0c0;
  border-bottom-color: #dd3721;
  border-bottom-width: 0.3em;
  border-bottom-style: solid;
}

.border-domain {
  border: 1px solid black;
}

#healthy,
#vulnerable,
#adequate,
#unhealthy {
  border: 1px solid black;
  box-shadow: 0 0 3px 3px #adb5bd;
}

.healthy,
.vulnerable,
.adequate,
.unhealthy {
  background-color: black;
  color: white;
}

.red-score {
  background-color: #ffefef;
  border-left-color: #dd3721;
  border-left-width: 0.8em;
  border-left-style: solid;
  padding: 0.5rem !important;
}

.orange-score {
  background-color: #fff3e5;
  border-left-color: #ffa500;
  border-left-width: 0.8em;
  border-left-style: solid;
  padding: 0.5rem !important;
}

.green-score {
  background-color: #effbf1;
  border-left-color: #5cd981;
  border-left-width: 0.8em;
  border-left-style: solid;
  padding: 0.5rem !important;
}

.legend-border {
  width: 2.5rem;
}

.good-border {
  border: 1px solid #5cd981;
  background-color: #effbf1;
}
.moderate-border {
  border: 1px solid #ffa500;
  background-color: #fff3e5;
}
.poor-border {
  border: 1px solid #dd3721;
  background-color: #ffefef;
}

.question > label {
  font-size: 1.4rem;
  margin-bottom: 2rem !important;
  font-weight: 500 !important;
}

.question .form-check {
  font-size: 1.2rem;
  margin: 0.5rem 0 !important;
  padding-left: 3rem;
  padding-right: 0.5rem;
  border-radius: 2px;
  transition: background 0.2s;
  display: flex;
  /* align-items: center; */
}

.question .form-check:hover {
  background: #c2c8d650;
}

.question .form-check:first-of-type {
  margin-top: 0 !important;
}

.question .form-check:hover,
.question .form-check > *:hover {
  cursor: pointer;
}

.form-check > label {
  font-size: 1.2rem;
  font-weight: 200 !important;
  padding-bottom: 0.5rem;
  padding-top: 0.5rem;
  padding-left: 1rem;
  width: 100%;
}

.legend {
  font-size: 0.8rem;
  font-style: italic;
  margin: 0.5rem 0 1rem 0;
  display: flex;
  align-items: center;
}
.legend-title {
  flex: 0;
  padding: 0;
  flex-basis: max-content;
}
.legend-label {
  margin-left: 5px;
}
.legend-field {
  display: flex;
  justify-content: flex-start;
  flex: 0;
}

/* responsive design for mobile */
@media screen and (max-width: 767px) {
  .logo {
    width: 25%;
    margin-left: 8px;
  }

  h1 {
    font-size: 25px;
  }

  .position-form {
    height: 900px;
    margin-top: 50px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 50px;
    transform: inherit !important;
    left: inherit !important;
    top: inherit !important;
  }

  nav,
  form {
    width: 100%;
  }
}

#reload {
  background-color: black;
}

/* responsive design for landscape tablets */
@media (min-width: 900px) and (max-width: 1200px) {
  .logo {
    width: 15%;
    margin-left: 15px;
  }

  h1 {
    font-size: 25px;
  }

  .position-form {
    height: 900px;
    margin-top: 50px;
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 50px;
    transform: inherit !important;
    left: inherit !important;
    top: inherit !important;
  }

  nav,
  form {
    width: 100%;
  }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) {
  .col-domain,
  .col-results,
  .legend-title,
  .legend-field {
    flex: 100%;
    padding: 0;
  }
  .border-domain {
    border: 0;
  }
  .col-domain {
    margin-bottom: 1rem;
  }
  .legend-field {
    justify-content: flex-start;
    margin-top: 5px;
  }
}

.center-vertical {
  display: flex;
  align-items: center;
}

.mt-md-5 {
  margin-top: 20px;
}
