@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  color: #222;
}

h1, h2, h3, h4, h5, h6 {
  color: #000;
}

a {
  color: #003ea5;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

input, select, textarea {
  font-family: "Open Sans", sans-serif;
  padding: 5px;
}

input:focus, select:focus,
textarea:focus {
  border-color: rgba(0, 62, 165, 0.5);
  outline: 0;
  box-shadow: 0px 0px 2px rgba(0, 62, 165, 0.25);
}

input:disabled, select:disabled,
textarea:disabled {
  border-color: #ddd;
}

#aspnetForm {
  position: relative;
  min-height: 100%;
  padding: 1px 0 80px;
}

#nav, #sectSurvey {
  width: 86%;
  max-width: 980px;
  margin: 20px auto;
}

#menubackground {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

#logoLeft {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

#logoRight {
  display: none;
  margin: 0 auto;
  max-width: 100%;
}

#menubackground > h1 {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.divError {
  color: #fff;
  background-color: #ff0000;
  font-size: 15px;
  font-weight: 600;
  padding: 20px;
}

#sectSurvey > #ctl00_mainContent_blurb {
  font-size: large;
  color: #222;
}

#footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: auto;
  max-height: 60px;
  font-size: small;
  text-align: center;
  color: #fff;
  background-color: #000;
  padding: 20px 10px;
}

/* Buttons */
#clear, input[type=submit],
input[type=button] {
  color: #fff;
  background-color: #003ea5;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  transition: all 0.2s;
  cursor: pointer;
  line-height: 20px;
}

#clear {
  font-size: 14px;
  letter-spacing: 0.3px;
}

#clear:hover, input[type=submit]:hover,
input [type=button]:hover {
  color: #fff;
  background-color: #003ea5;
  opacity: 0.7;
}

.btnSave {
  padding: 10px 20px;
}

/* save & New button. */
.btnSave:nth-child(2) {
  display: none;
  margin-left: 10px;
}

/* Heading Section */
.tblHeading, .tblSection,
.tblTestimonial {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
  margin-bottom: 30px;
}

.tblHeading tr,
.tblSection tr {
  display: flex;
  flex-wrap: wrap;
}

.tblHeading td.label, .tblHeading td, .tblHeading .field,
.tblSection > tbody > tr > td {
  width: 100%;
}

.tblHeading td.label {
  margin-top: 20px;
}

#ctl00_mainContent_txtDate {
  width: auto;
}

/* Headings */
.heading {
  font-family: "Open Sans", sans-serif;
  font-weight: 500;
  color: #000;
}

.tblHeading .heading {
  font-size: 2em;
  text-align: center;
}

.tblSection .heading,
.tblTestimonial .heading {
  font-size: 1.5em;
}

/* Labelling */
td.labelleft, td.labelabove {
  padding: 10px 3%;
  text-align: left;
  background-color: #fcfbf7;
  margin-top: 20px;
}

.tblSection .field, .tblSection .fieldddl {
  width: 96%;
  margin: 0 2%;
}

.tblSection table.field tr {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  flex-wrap: wrap;
}

.tblSection table.field tr > td {
  margin-top: 10px;
}

.rqd {
  font-size: 15px;
  font-weight: 700;
  color: #ff0000;
}

.txtError {
  font-size: small;
  color: #ff0000;
}

/*** Testimonial styles ***/
.tblTestimonial span.field > label {
  display: inline-block;
  margin-left: 40px;
}

.tblTestimonial span.field > input {
  float: left;
  margin-right: -40px;
  zoom: 1.5;
}

.tblTestimonial #sig {
  width: 100%;
  border: 1px solid #ccc;
  height: 200px;
}

.tblTestimonial #sigText {
  color: #999;
}

@media (min-width: 576px) {
  #menubackground {
    height: 100px;
  }
  #logoLeft, #logoRight {
    width: auto;
    max-height: 100px;
    margin: 0;
  }
  #menubackground > h1 {
    margin: 0;
  }
  .tblHeading tr, .tblSection tr {
    display: table-row;
  }
  .tblHeading td.label {
    width: auto;
    padding-right: 20px;
  }
  .tblSection > tbody > tr > td.labelleft {
    width: 45%;
    vertical-align: baseline;
  }
  .tblSection > tbody > tr > td.labelabove::before {
    content: "";
    display: block;
    background: white;
    width: 106%;
    height: 20px;
    position: relative;
    top: -10px;
    left: -3%;
  }
  .tblSection table.field tr {
    align-items: center;
    flex-direction: row;
  }
  .tblSection table.field tr > td {
    margin-top: 0;
  }
}
@media (min-width: 768px) {
  #aspnetForm {
    background: #d2d2d2;
    background: linear-gradient(#fcfcfc, #d2d2d2) no-repeat;
  }
  #nav, #sectSurvey {
    width: 90%;
  }
  #sectSurvey, #sectSurveyComplete {
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 1px 1px 3px 0 #aaa;
  }
  #sectSurvey p {
    text-align: justify;
  }
}
@media print {
  #aspnetForm {
    background: #fff; /* removes bg gradient */
    padding-bottom: 0;
  }
  #sectSurvey {
    border: none;
    box-shadow: none;
    padding: 0;
  }
  .btnSave, #clear {
    display: none;
  }
  #footer {
    display: none;
  }
}
/*** Available Surveys List ***/
#availableSurveys { /* container */
  font-family: "Open Sans", sans-serif;
  margin-top: 40px;
}

#availableSurveys h2 {
  font-family: "Open Sans", sans-serif;
}

#availableSurveys > ul {
  font-size: large;
  list-style: disc;
  padding-left: 0;
  margin-left: 20px;
}

#availableSurveys > ul > li {
  margin: 10px 0;
}