.survey_modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.survey_modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  z-index: 1000;
}

.survey_close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.survey_close:hover,
.survey_close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.qns_wrpr {
  margin-top: 50px;
  padding: 20px 15%;
  background-color: #ecf1ec;
}

.qns {
}
.qns_wrpr h2 {
  margin-top: 40px;
}
table {
  margin-top: 15px;
}
tr:nth-child(2n) {
  background-color: white;
}
th {
  width: 10%;
  text-align: center;
  padding: 10px;
}

td {
  padding: 10px;
  width: 10%;
  text-align: center;
}
.qns_wrpr .btn_wrpr {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.qns_wrpr button {
  margin: auto;
  margin-top: 25px;
  padding: 10px 25px;
  background-color: #213974;
  color: white;
  border-radius: 5px;
}

/*Result Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 250px;
}
.modal .wrpr {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  justify-content: start;
}
.modal .sub {
  display: flex;
}
.modal .score {
  margin-left: 10px;
}
.modal .value {
  margin-left: 10px;
  font-size: 18px;
  font-weight: bold;
}
.modal .ps{
  margin-top: 20px;
  text-align: center;
  font-size: 10px;
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* age Form */
.modal input[type="text"] {
  width: 100%;
}
.modal .label{
  width: 100px;
}
.modal .age_sub{
  margin-top: 10px;
}
.modal button{
  margin-top: 20px;
}
@media only screen and (max-width: 768px) {
  .survey_modal-content {
    margin: 0;
    margin-top: 110px;
    width: 100vw;
    padding: 0;
  }
  .survey_modal-content .survey_close {
    margin-right: 15px;
  }
  .qns_wrpr {
    padding: 10px;
  }
  .qns_wrpr h1 {
    font-size: 25px;
  }
  .qns h2 {
    font-size: 20px;
  }

  .qns_wrpr th {
    padding: 2px;
    width: 5%;
    font-size: 12px;
  }
  .qns_wrpr td {
    padding: 2px;
    font-size: 12px;
  }

  .modal-content {
    margin-top: 50%;
  }
}
