/* Define the Source Sans Pro Font */
@font-face {
  font-family: "Source Sans Pro";
  src: url("../fonts/SourceSansPro-Regular.ttf");
  font-style: normal;
  font-weight: normal;
}
@font-face {
  font-family: "Source Sans Pro";
  src: url("../fonts/SourceSansPro-Bold.ttf");
  font-style: normal;
  font-weight: bold;
}
@font-face {
  font-family: "Source Sans Pro";
  src: url("../fonts/SourceSansPro-It.ttf");
  font-style: italic;
  font-weight: normal;
}
@font-face {
  font-family: "Source Sans Pro";
  src: url("../fonts/SourceSansPro-BoldIt.ttf");
  font-style: italic;
  font-weight: bold;
}
.visually-hidden {
  position: absolute !important;
  clip: rect(1px,1px,1px,1px);
  overflow: hidden;
  height: 1px;
  width: 1px;
  word-wrap: normal;
}
.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  position: static !important;
  overflow: visible;
  clip: auto;
  width: auto;
  height: auto;
}
h1 {
  margin: 0;
}
html {
  background-image: url("../resources/background.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  margin: 0;
  padding: 0;
  font-family: "Source Sans Pro", sans-serif;
}
.result a {
  color: #003c78;
  text-decoration: none;
  font-weight: bold;
}
.result  a:hover {
  text-decoration: none;
  color: gray;
}
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}
#container {
  min-height: 100%;
  position: relative;
}
#mainheader1 {
  text-align: right;
  min-height: 10px;
  background-color: #003c78;
  border-bottom: 2px solid #003c78;
  color: #003c78;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 10px;
}
#mainheader2 {
  min-height: 65px;
  background-color: #00b0ca;
  margin-bottom: 5px;
  padding-top: 10px;
  padding-left: 20px;
  text-align: left;
}
.logo {
  height: auto;
  width: 215px;
  border-left: 20px;
  margin-top: 14px;
}
.title {
  text-align: center;
  vertical-align: top;
  font-weight: bold;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 35px;
  height: 40px;
  margin-top: 30px;
  margin-bottom: 70px;
  color: #003c78;
}
#intro {
  position: relative;
  margin-left: 30px;
  width: 80%;
}
#header1 {
  background-color:  rgba(255, 255, 255, 0.85);
  padding: 20px;
  width: 700px;
  position: relative;
  top: 30px;
  font-size: 40px;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: normal;
  color: #003c78;
}
#blurb1 {
  width: 700px;
  position: relative;
  top: 30px;
  font-size: 15px;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: normal;
  color: #003c78;
  background-color:  rgba(255, 255, 255, 0.85);
  padding: 20px;
  padding-bottom: 50px;
}
#blurb1 p {
  font-size: 15px;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: normal;
}
#blurb1 a {
  text-decoration: none;
  color: #003c78;
  font-weight: bold;
}
#blurb1 a:hover {
  text-decoration: none;
  color: gray;
}
.contents {
  margin-top: 20px;
  padding-top: 20px;
  margin-right: auto;
  margin-left: auto;
  width: 750px;
  background-color:  rgba(255, 255, 255, 1.0);
  padding-bottom: 30px;
}
#results {
}
#spacer {
  height: 50px;
}
#mainfooter {
  width: 100%;
  height: 20px;
  background-color: #003c78;
  border-bottom: 2px solid #003c78;
  color: #ffffff;
  text-align: center;
  padding-top: 10px;
  position: absolute;
  bottom: 0;
  margin-top: 50px;
}
#mainfooter a {
  color: #ffffff;
  text-decoration: none
}
#mainfooter a:hover {
  text-decoration: underline;
}
.buttondiv {
}
.buttondivintro {
  display: inline-block;
  float: right;
}
.center {
  text-align: center;
}
.floatright {
  float: right;
}
.left {
  text-align: left;
}
.right {
  text-align: right;
}
.bottomspace {
  margin-bottom: 30px;
}
.whitebutton {
  color: #ffffff;
  border: 2px solid #ffffff;
}
.bluebutton {
  color: #003c78;
  border: 2px solid #003c78;
}
.button {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 16px;
  font-weight: bold;
  border-radius: 0px;
  padding: 5px;
  cursor: pointer;
}
.large {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 18px;
  font-weight: bold;

}
.whitebutton:hover {
  background-color: #ffffff;
  color: #003c78;
}
.bluebutton:hover {
  background-color: #003c78;
  color: #ffffff;
}
.metform {
  margin-bottom: 12px;
  width: 200px;
}
.label {
  font-weight: normal;
  font-size: 15px;
  font-family: "Source Sans Pro", sans-serif;
  width: 130px;
  display: inline-block;
  word-break: break-word;
}
.stronger {
  border: 2px solid #003c78;
  background-color: rgba(180, 190, 0, 0.15);
}
.unit {
  font-weight: normal;
  font-size: 15px;
  font-family: "Source Sans Pro", sans-serif;
  width: 100px;
  display: inline-block;
}
legend {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: #003c78;
}
.instruction {
  margin-left: 20px;
  width: 700px;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 18px;
  font-weight: normal;
  margin-bottom: 30px;
  color: #003c78;
}
.instruction p {
  font-size: 18px;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: normal;
}
.instruction a {
  text-decoration: none;
  color: #003c78;
  font-weight: bold;
}
.instruction a:hover {
  text-decoration: none;
  color: gray;
}
.instructiontext {
  margin-top: 10px;
  margin-bottom: 30px;
  width: 400px;
}
.errortext {
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 50px;
  width: 660px;
}
.indented {
  padding-left: 15px;
}
.errorlist p {
  color: #000000;
}
.errorlist li {
  color: #003c78;
}
.instructionlink {
  margin-top: 0px;
  float: right;
  display: inline-block;
  font-weight: bold;
  font-size: 12px;
  font-family: "Source Sans Pro", sans-serif;

}
a .instructionlink {
  float: right;
  text-decoration: none;
  color: #003c78;
  cursor: pointer;
}
a:hover .instructionlink {
  text-decoration: none;
  color: gray;
}
.result {
  border: 2px solid red;
  width: 700px;
  padding: 0;
  margin: 0;
  margin-bottom: 20px;
  height: auto;
  background-color: #ffffff;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 20px;
}
.resultpart {
  height: auto;
  display: none;
  padding: 0;
  margin: 0;
}
.resultpartheader {
  font-weight: bold;
  font-size: 20px;
  font-family: "Source Sans Pro", sans-serif;
  color: #ffffff;
  width: 350px;
  padding-left: 20px;
  margin-bottom: 0;
  margin-top: 20px;
  float: left;
}
.resulttext {
  width: 500px;
  float: left;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 20px;
  margin-bottom: 20px;
}
#enduranceChart {
  margin: 0;
  padding: 0;
}
.gaugediv {
  display: inline-block;
  width: 150px;
  text-align: center;
  float: right;
}
.gauge {
  margin-right: auto;
  margin-left: auto;
  display: inline;
  width: 90px;
  height: 45px;
}
.gaugelabel {
  font-weight: bold;
  font-size: 15px;
  font-family: "Source Sans Pro", sans-serif;
  display: inline-block;
}
.invisible {
  position: absolute;
  left: -999em;
}
.hidden {
  display: none;
}

/* some testing stuff below */
.clear:before, .clear:after {
  content: " ";
  display: table;
}
.clear:after {
  clear: both;
}
.test {
  border: 2px solid red;
  width: 700px;
  padding: 0;
  margin: 0;
  margin-bottom: 20px;
  height: auto;
  min-height: 300px;
  background-color: #D3D2D2;
  margin-left: auto;
  margin-right: auto;
}
.testimage {
  width: 210px;
  height: 300px;
  display: inline-block;
  float: left;
}
.testheader {
  width: 470px;
  height: 40px;
  display: inline-block;
  float: left;
  color: white;
  font-weight: bold;
  font-size: 25px;
  font-family: "Source Sans Pro", sans-serif;
  margin-bottom: 0;
  margin-top: 0;
  padding-left: 20px;
  padding-top: 10px;
}
.testheader.full {
  width: 680px;
}
.testform {
  width: 480px;
  min-height: 230px;
  display: inline-block;
  float: left;
  padding-top: 20px;
  padding-left: 10px;
  background-color: #ffffff;
}
.testlabel {
  min-width: 300px;
  font-weight: bold;
  font-size: 15px;
  font-family: "Source Sans Pro", sans-serif;
  display: table-cell;
}
.testheaderrow {
  display: table;
  margin-bottom: 10px;
}
.testinstructionlink {
  width: 100%;
  display: table-cell;
  text-align: right;
  padding-right: 20px;
}
.testinstructionlink a {
  color: #003c78;
  text-decoration: none;
  cursor: pointer;
}
.testinstructionlink a:hover {
  text-decoration: none;
  color: gray;
}
.white {
  background: #ffffff;
}
.turquoise {
  background: #00b0ca;
}
.darkblue {
  background: #003c78;
}
.pink {
  background: #e21776;
}
.violet {
  background: #57068c;
}
.green {
  background: #b4be00;
}
.orange {
  background: #ff5800;
}
.borderturquoise {
  border: 3px solid #00b0ca;
}
.borderblue {
  border: 3px solid #003c78;
}
.borderpink {
  border: 3px solid #e21776;
}
.borderviolet {
  border: 3px solid #57068c;
}
.bordergreen {
  border: 3px solid #b4be00;
}
.borderorange {
  border: 3px solid #ff5800;
}

/* safety notice */
.overlaytitle {
  text-align: center;
  width: auto;
  font-weight: bold;
  font-size: 30px;
  font-family: "Source Sans Pro", sans-serif;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #003c78;
}
.overlayparttitle {
  text-align: left;
  width: auto;
  font-weight: bold;
  font-size: 20px;
  font-family: "Source Sans Pro", sans-serif;
  /*margin-left: 20px;*/
  margin-top: 50px;
  margin-bottom: 20px;
  color: #003c78;
}
.overlay h3 {
  color: #003c78;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 20px;
  margin-bottom: 20px;
  padding-left: 20px;
  padding-right: 20px;
}
.overlay p {
  width: auto;
  font-weight: normal;
  font-size: 18px;
  font-family: "Source Sans Pro", sans-serif;
  margin-bottom: 20px;
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 20px;
  color: #003c78;
}
.overlay ol, ul {
  margin-left: 50px;
  margin-right: 50px;
}
.overlay ol ol {
  margin-left: 0;
}
.overlaytext a {
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
}
.overlaytext a:hover {
  text-decoration: none;
  color: gray;
}
.testinstructionlink a:hover {
  text-decoration: none;
  color: gray;
}
.overlay li {
  width: auto;
  font-weight: normal;
  font-size: 18px;
  font-family: "Source Sans Pro", sans-serif;
  padding-left: 20px;
  padding-right: 20px;
  color: #003c78;
}
#cover {
  position:fixed;
  top:0;
  left:0;
  background:rgba(0,0,0,0.7);
  z-index:5;
  width:100%;
  height:100%;
  display:none;
}
.overlay {
  top: 25px;
  max-height: 90%;
  width: 750px;
  left: 0;
  right: 0;
  margin: auto;
  position: fixed;
  z-index: 10;
  display: none;
  background-color: #ffffff;
  border: 3px solid #003c78;
  overflow: scroll;
  overflow-x: hidden;
  padding-left: 25px;
  padding-right: 25px;
}
.wide {
  width: 1000px;
  overflow: scroll;
  min-height: 550;
}
#testinstructionimage {
  object-fit: cover;
  width: 100%;
  margin-bottom: 30px;
}
.chart {
  margin-left: 20px;
}
.resulttablemet td {
  vertical-align: top;
}
.debug {
  border: 1px solid red;
  background-color: pink;
}
#instructionbuttontext {
  display: inline-block;
}
.larger {
  font-size: 20px;
}
.smaller, .smaller li {
  font-size: 10pt;
}
@media screen {
  .print {
    display: none;
  }
  .screen {
  }
}

/* For printing */
@media print {
  .test, .result {
    page-break-before: always;
  }
  .button  {
    display: none;
  }
  .buttondiv {
    display: none;
  }
  .print {
  }
  .screen {
    display: none;
  }
  #results {
    display: block;
  }
  .result {
    display: block;
  }
}
