#symptom-screener-container a {
  color: rgb(95, 147, 23);
}

.hidden { visibility: hidden; }

.hidden-left {
  position: relative;
  right: 100%;
}

.symptom-screener-stories-table td {
  padding: 20px;
}

.symptom-screener-center {
  align-content: center;
}

#symptom-screener-container input[type=text] {
    padding: 15px;
}

#symptom-screener-assessment-user-responses td + td p {
    text-align: center;
}

.symptom-screener-avatar {
  width: 75px;
  height: 100px;
  display: inline-block;
  float: left;
  position: absolute;
  background: no-repeat url('../../Content/images/th-TH/gene_avatar.png');
  z-index: 1000;
  top: 10px;
  background-size: contain;
}

.symptom-screener-dialogue-bubble {
  width: 90%;
  display: inline-block;
  margin-top: 15px;
  margin-left: 73px;
  color: #000000;
  border: 1px solid #ccc;
  background-color: rgb(141, 198, 63, 0.15);

  border-top: 13px solid #00ce00;
}

@media(max-width: 480px) {
  .symptom-screener-avatar {
    width: 35px;
    top: 15px;
  }
  .symptom-screener-dialogue-bubble{
    /*width: 100%;*/
    margin-left: 34px;
    margin-right: 5px;
  }
  .symptom-screener-dialogue-item-option li {
    margin-left: 0;

  }
}

.symptom-screener-dialogue-item{
    position: relative;
}

.symptom-screener-results button{
    width: 90%;
    display: block;
    margin-left: 73px;
}

@media(min-width: 480px) {
  .symptom-screener-dialogue-item {
    margin: 50px;
    margin-bottom: 70px;
  }
  .symptom-screener-results{
    margin: 50px;
  }
}


@media(max-width: 480px) {
  .symptom-screener-dialogue-item {
    margin: 15px;
    margin-bottom: 35px;
  }

  .symptom-screener-results button{
    margin: 20px auto 40px;
  }
}

.symptom-screener-dialogue-item-completed {
  background-color: #efefef;
  transition: background 0.5s linear;
  -webkit-transition: background 0.5s linear;
  -moz-transition: background 0.5s linear;
}

.symptom-screener-dialogue-item ul {
  text-decoration: none;
  list-style-type: none;
  text-align: center;
  margin-bottom: 10px;
}

.symptom-screener-dialogue-prompt {
  background-color: #ffffff;
  overflow-x: hidden;
}

.symptom-screener-dialogue-prompt p {
  margin: 20px;
  margin-bottom: 25px;
}

@media(max-width: 480px) {
  .symptom-screener-dialogue-prompt {
    font-size: 0.9em;
  }
  .symptom-screener-dialogue-prompt p {
    font-size: 1em;
  }
}

.symptom-screener-dialogue-subprompt {
  margin-top: 40px;
  margin-left: 20px;
  padding: 10px;
  overflow-x: hidden;
}

.symptom-screener-dialogue-subprompt p {
  font-size: 1em;
}

.symptom-screener-dialogue-options {
  margin-top: 20px;
  padding: 20px;
  display: none;
}

.symptom-screener-dialogue-results {
  padding: 20px;
  display: none;
}

@media(max-width: 480px) {
  .symptom-screener-dialogue-subprompt {
    margin-top: 20px;
    margin-left: 0px; 
  }

  .symptom-screener-dialogue-options,
  .symptom-screener-dialogue-results {
    padding: 15px 5px;
    margin-top: 0;
  }

  .symptom-screener-dialogue-subprompt p{
    margin-bottom: 5px;
  }
}


.symptom-screener-dialogue-option-container {
  display: table;
  border-spacing: 10px;
  text-align: center;
}

.symptom-screener-dialogue-option-container-2w {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
  text-align: center;
  justify-content: center;
}

.symptom-screener-dialogue-option-container-3w {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(auto-fill, auto);
  grid-auto-columns: 1fr;
  grid-gap: 10px;
  text-align: center;
  justify-content: center;
}

@media(min-width: 768px) {
  .symptom-screener-dialogue-option-container-3w-collapsible-1w-md {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(auto-fill, auto);
    grid-auto-columns: 1fr;
    grid-gap: 10px;
    text-align: center;
    justify-content: center;
  }
}

@media(max-width: 768px) {
  .symptom-screener-dialogue-option-container-3w-collapsible-1w-md {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(auto-fill, auto);
    grid-auto-columns: 1fr;
    grid-gap: 10px;
    text-align: center;
    justify-content: center;
  }
}

.symptom-screener-dialogue-option-container-4w {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: auto;
  grid-auto-columns: 1fr;
  grid-gap: 10px;
  text-align: center;
  justify-content: center;
}

@media(min-width: 768px) {
  .symptom-screener-dialogue-option-container-4w-collapsible-1w-md {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    grid-auto-columns: 1fr;
    grid-gap: 10px;
    text-align: center;
    justify-content: center;
  }
}

@media(max-width: 768px) {
  .symptom-screener-dialogue-option-container-4w-collapsible-1w-md {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-auto-columns: 1fr;
    grid-gap: 10px;
    text-align: center;
    justify-content: center;
  }
}

@media(min-width: 1024px) {
  .symptom-screener-dialogue-option-container-4w-collapsible-1w-lg {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    grid-auto-columns: 1fr;
    grid-gap: 10px;
    text-align: center;
    justify-content: center;
  }  
}

@media(max-width: 1024px) {
  .symptom-screener-dialogue-option-container-4w-collapsible-1w-lg {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-auto-columns: 1fr;
    grid-gap: 10px;
    text-align: center;
    justify-content: center;
  }
}

.symptom-screener-dialogue-item-option {
  border: 1px solid gray;
  border-radius: 20px;
  -moz-outline-radius: 20px;
  padding: 10px;
  vertical-align: middle;
  background-color: #ffffff;
  overflow-x: hidden;
}

.symptom-screener-dialogue-item-option b {
  font-size: 16px;
}

.symptom-screener-dialogue-item-option p {
  font-size: 12px;
}

.symptom-screener-selected {
  border: 2px solid #8DC63F;
  background-color: rgb(141, 198, 63, 0.2);
}

.symptom-screener-button, 
.symptom-screener-button-null {
  border: 2px solid #8DC63F;
  border-radius: 20px;
  background-color: #8DC63F;
  color: #ffffff;

  padding: 5px 20px;

  font-size: 16px;
  color: #FFFFFF;
  font-weight: 100;
  letter-spacing: -0.71px;
  text-align: center;
  transition: all 0.2s ease-in;
}

.symptom-screener-wide-button{
    width: 100%;
}

.symptom-screener-button:hover{
    background-color: #8DC63F;
    border-color: #8DC63F;
}

.symptom-screener-submit-button {
  text-align: center;
  margin-bottom: 50px;
}

.symptom-screener-button-null {
  border-color: #c8c8c8;
  background-color: #c8c8c8;
  color: black;
}

.symptom-screener-paginated-container {

}

.symptom-screener-paginated-container-footer {
}

.symptom-screener-paginated-container-footer ul li {
}

.symptom-screener-paginated-container-footer-active {
  background-color: #8DC63F;
  border-radius: 3px;
}

.symptom-screener-paginated-container-footer li {
  display: inline-block;
  margin-left: 5px;
  min-width: 20px;
}

.symptom-screener-paginated-container-footer-active a {
  color: #ffffff !important;
}

#symptom-screener-overlay {
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

#symptom-screener-overlay .overlay {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.9);
  opacity: 0;
  transition: opacity 0.3s ease;
}

#symptom-screener-overlay.visible .overlay {
  opacity: 1;
}

#symptom-screener-container {
  background-color: #ffffff;
  height: 85%;
  width: 80%;
  margin: auto;
  margin-top: 55px;
  transition: all 0.3s ease;
  opacity: 0;

  -webkit-transform: scale(0.8);
      -ms-transform: scale(0.8);
       -o-transform: scale(0.8);
          transform: scale(0.8);
}

#symptom-screener-splash-container {
    min-height: 360px;
}

#symptom-screener-splash-container img{
    position: fixed;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 7%;
}
.symptom-screener-splash-content {
    position: fixed;
    top: 35%;
    margin-left: 10%;
    margin-right: 10%;
}

.symptom-screener-splash-content p{
    text-align: center;
}

.start-button {
    margin-top: 5%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    padding-left: 10%;
    padding-right: 10%;
}

#symptom-matcher-content-container {
    height: 100%;
}

#symptom-screener-overlay.visible #symptom-screener-container {
  opacity: 1;
  -webkit-transform: scale(1);
      -ms-transform: scale(1);
       -o-transform: scale(1);
          transform: scale(1);
}

@media(max-width: 480px) {
  #symptom-screener-overlay {
    overflow-y: scroll;
  }

  #symptom-screener-container {
    width: 100%;
  }
}

#symptom-screener-rehydration-prompt {
  margin: auto;
  padding: 20px 10px;
  width: 100%;
  background-color: #E7F2DB;
  z-index: 1002;
  position: relative;
  text-align: center;
  overflow-x: hidden;

  border-bottom: 1px solid #8DC63F;

}

#symptom-screener-rehydration-prompt p{
    text-align: center;
    font-weight: 500;
}

#symptom-screener-header-container {
  position: relative;
  z-index: 10;
  margin-top: 0;
  margin-bottom: 0;
  width: 100%;
  height: 100px;
  background-color: #f1f1f1;
  border-bottom: 1px solid #8DC63F;
  border-top: 13px solid #00ce00;
  box-shadow: 0px 0px 5px rgba(141, 198, 63,0.33);
}

#symptom-screener-header {
  text-align: center;
}

#symptom-screener-footer {
  margin-top: 0;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  height: auto;
  text-align: center;
  background-color: #ffffff;
}

#symptom-screener-footer p {
  border-top: 2px solid #8DC63F;
  padding: 15px;
  line-height: 12px;
  font-size: 0.7em;
  color: #000000;
}

#symptom-screener-dialogue {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  height: 80%;
  overflow-y: scroll;
  overflow-x: hidden;
  background-color: #f8f8f8;
}

#symptom-screener-container-close {
  position: absolute;
  display: inline;
  float: right;
  right: 10px;
  top: 10px;
}

@media(max-width: 480px) {
  #symptom-screener-container-close {
    visibility: hidden;
    top: 0;
    right: 0;
  }

  #symptom-screener-container-close:after {
    content: '˟';
    font-size: 44px;
    font-weight: 100;
    display: block;
    color: #8DC63F;
    position: absolute;
    right: 0;
    top: 0;
    width: 32px;
    height: 32px;
    visibility: visible;
  }
}

#symptom-screener-title {
  display: inline-block;
}

@media(max-width: 480px) {
  #symptom-screener-dialogue{
    height: auto;
  }
  #symptom-screener-title {
    display: block;
  }
}

#spinner {
  border: 16px solid #f3f3f3;
  border-top: 16px solid #00ce00;
  background-color: none;
  margin: auto;
  position: fixed;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
}

#symptom-screener-q8-footer {
  margin-top: 40px;
  margin-bottom: 40px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.off-left {
  position: absolute;
  left: -100% !important;
  -webkit-transition: left 1s ease-in-out;
  -moz-transition:    left 1s ease-in-out;
  -ms-transition:     left 1s ease-in-out;
  -o-transition:      left 1s ease-in-out;
  transition:         left 1s ease-in-out;
}

.off-right {
  position: absolute;
  left: 100% !important;
  -webkit-transition: left 1s ease-in-out;
  -moz-transition:    left 1s ease-in-out;
  -ms-transition:     left 1s ease-in-out;
  -o-transition:      left 1s ease-in-out;
  transition:         left 1s ease-in-out;
}

.off-bottom {
  position: absolute;
  bottom: -100% !important;
  -webkit-transition: bottom 1s ease-in-out;
  -moz-transition:    bottom 1s ease-in-out;
  -ms-transition:     bottom 1s ease-in-out;
  -o-transition:      bottom 1s ease-in-out;
  transition:         bottom 1s ease-in-out;
}

.off-top {
  position: absolute;
  bottom: 100% !important;
  -webkit-transition: bottom 1s ease-in-out;
  -moz-transition:    bottom 1s ease-in-out;
  -ms-transition:     bottom 1s ease-in-out;
  -o-transition:      bottom 1s ease-in-out;
  transition:         bottom 1s ease-in-out;
}

.left-justify-content {
  text-align: left;
}

@media(max-width: 480px) {
  #symptom-screener-dialogue-item-3-age {
    display: block;
  }
}

@media(max-width: 480px) {
  #symptom-screener-footer {
    font-size: 0.6em;
  }
}

.symptom-screener-tearsheet h4 {
  font-weight: 700;
}

.symptom-screener-tearsheet th {
  padding: 10px;
  border: 1px solid #efefef;
}

.symptom-screener-tearsheet tr {
  position: relative;
}

.symptom-screener-tearsheet td {
  padding: 10px;
  border: 1px solid #efefef;
  vertical-align: middle;
}

.symptom-screener-tearsheet {
  margin: 25px 100px;
}

.symptom-screener-tearsheet button a{
  color: #fff;
}

@media(max-width: 480px) {
  .symptom-screener-button-container {
    text-align: center;
  }

  .symptom-screener-result-button { 
    margin-bottom: 10px;
   }

  .symptom-screener-tearsheet {
    margin: 5px 5px;
  }
}


.loader {
    color: #343D46;
    font-size: 10px;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    position: fixed;
    top: 50%;
    left: 50%;
    text-indent: -9999em;
    -webkit-animation: load 1.3s infinite linear;
    animation: load 1.3s infinite linear;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}

@-webkit-keyframes load {
  0%,
  100% {
    box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
  }
  12.5% {
    box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  25% {
    box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  37.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  50% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  62.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
  }
  75% {
    box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
  }
  87.5% {
    box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
  }
}
@keyframes load {
  0%,
  100% {
    box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
  }
  12.5% {
    box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  25% {
    box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  37.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  50% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  62.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
  }
  75% {
    box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
  }
  87.5% {
    box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
  }
}
