
body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.25;
  text-align: center;
}



  input[type=button], input[type=submit], input[type=reset] {
      /* background-color: #93CA56; */
     /* background-color: #ffbb00;*/
      background-color: #7641AD;

      border: none;
      color: white;
      font-size: 1.3em;
      padding: 16px 32px;
      text-decoration: none;
      margin: 4px 2px;
      cursor: pointer;
}



.submit {
  text-align: center;
}

#completed {
  margin: auto;
}

/* qType=Header */
#content h1 {
  font-size: 1.0em;
  color: #dd0000;
  text-align: left;
  padding-top: 0.5em;
}

/* question */
#content h2 {
  font-size: 1.0em;
  color: #405060;
}

/* Note at the top of a matrix */
#content h3 {
  font-size: 1.1em;
  margin-bottom: 0;
  padding-bottom: 0;
}

textarea {
  max-width:95%;
  margin-bottom: 1em;
}

img {
  max-width: 100%;
  height: auto;
}

/* begin 1-10 */
table {
  /*border: 1px solid #ccc; */
  border: 1px solid #ff6666;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
}

table caption {
  font-size: 1.5em;
  margin: .5em 0 .75em;
}

table tr {
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  padding: .35em;
}

table th,
table td {
  padding: .625em;
  text-align: center;
  border: 1px solid #eeeeee;
  vertical-align: bottom;
}

th {
  /*background-color: #0070C0;*/
  background-color: #7641AD;
  color: #ffffff;
}

td:nth-child(1) {
    width: 40%;
    text-align: left;
}

th:nth-child(1) {
    width: 40%;
}


table th {
  font-size: .8em;
  letter-spacing: .1em;
  /*text-transform: uppercase; */
}

    tr:nth-child(even) {
      background: #ddd;
    }
    tr:nth-child(odd) {
      background: #fff;
    }

.wording1-10 {
  font-weight: bold;
  color: #405060;
}

table.OneToTen td {
  width: 14%;

}

th.white {
  background: #ffffff;
}

table.OneToTen th {
  width: 14%;

}

table.OneToTen td:nth-child(1) {
  width: 14%;
  text-align: center;

}

table.OneToTen th:nth-child(1) {
  width: 14%;

}

.center {
  text-align: center;
}

.mandatory {
  color: #ff0000;
}



.OneToTenQuestion {
  color: #405060;
  margin-bottom: 5px;
  padding-bottom: 0;
  font-weight: bold;
}

#container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

#header {
  text-align: center;
  /* border-bottom: 10px solid #FFC000; */
  padding: 1.5em;
 /* color: #ffdd00;*/
  color: #7641AD;
  
/*  background:  #0086de;*/
  
}

#footer {
  border-top: 10px solid #808083;
  font-size: 0.9em;
  text-align: center;
  margin-top: 3em;
  padding-top: 0.5em;
  color: #666666;
}

.progress {
    height: 20px;  /* Can be anything */
    width: 300px;
    position: relative;
    background: #ffffff;
    border: 1px solid #999999;
    margin: auto;
    margin-top: 1em;
    -moz-border-radius: 25px;
    -webkit-border-radius: 25px;
    border-radius: 2px;
    padding: 2px;
    box-shadow: inset 0 -1px 1px rgba(255,255,255,0.3);
  }
  
  .progress > span {
  display: block;
  height: 100%;
  margin-right: auto;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
  /*background-color: rgb(43,194,83); */
  /*background-color: #FFC000;*/
  background-color: #cccccc;
  background-image: linear-gradient(
    center bottom,
    rgb(43,194,83) 37%,
    rgb(84,240,84) 69%
  );
  box-shadow: 
    inset 0 2px 9px  rgba(255,255,255,0.3),
    inset 0 -2px 6px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
}

.topic {
   color: #666666;
   font-style: italic;
}
    
/*  BEGIN MOBILE */

  @media screen and (max-width: 768px) {
  table {
    border: 0;
    /*background-color: #ffffff; */
  }

  table caption {
    font-size: 1.3em;
  }
  
  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }

  th {
    background-color: #ffffff;
    color: #0000ff;
    font-weight: bold;
  }
  
  table tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: .625em;
  }
  
  table td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: .8em;
    text-align: left;
    background-color: #ffffff;
    color: #0070C0;
  }

  /*question */
  td:nth-child(1) {
    width: 98%;
    text-align: left;
    color: #ffffff;
    background-color: #0070C0;
  }
  
  table.OneToTen td {
  width: 97%;

}

table.OneToTen th {
  width: 14%;

}

table.OneToTen td:nth-child(1) {
  width: 97%;
  text-align: left;
  color: #0070C0;
  background: #ffffff;

}

table.OneToTen th:nth-child(1) {
  width: 50%;

}
  
.OneToTenQuestion {
  color: #ffffff;
  background: #0070C0;
  margin: 0;
  padding: 8px;
  font-size: 0.8em;

}

.wording1-10 {
  color: #ffffff;
  background: #0070C0;
  margin: 0;
  font-size: 0.8em;
}
    
  table td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    text-align: right;
    padding-right: 10px;
    width: 50%;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  .wording1-10 {
     font-size: 1em;
  }   
  
.mandatory {
  color: #FFC000;
}
      
    tr:nth-child(odd) {
      background: #ddd;
    }

    
  
}