body {
  padding: 0;
  margin: 0;
  font-size: 14px;
  background-color: #fff;
  font-family: sans-serif;
}

body.preview {
  background: url(images/preview_bg.png) repeat -125px -125px;
}

#ProjectHeader img {
    margin: 15px 0;
}

.error-holder {
  text-align:center;
}

#ContentPanel{
  margin: 0;
}

#ContentPanel fieldset {
  border: 0;
  border-top: 1px solid #777;
  padding: 0 0 45px;
  margin: 0;
}

.ContentFooterPanel,
#ContentPanel fieldset legend {
  color: #767676;
  background-color: inherit;
  padding: 0 5px 0 0;
}

#ContentPanel fieldset legend h2 {
    color: #767676;
    padding: 0 5px 0 0;
    background-color: #fff;
    font-size: 1.1em;
    font-weight: normal;
    white-space: normal;
}

#ErrorPanel {
  background-color: #FFFFE1;
  border: 2px solid #c00;
  margin: 0 0 25px 0;
  padding: 15px;
  font-weight: bold;
  max-width: 780px;
  width: calc(96% - 64px); /* border + margin + padding = 64px */
  display: inline-block;
  text-align: left;
}

#ErrorPanel H2 {
    font-size:1.25em;
    font-weight:normal;
    padding: 0;
    margin: 0px 5px 15px 5px;
}

#ErrorPanel p {
    margin: 0px 0px 5px 5px;
}

#ErrorPanel ul {
    margin: 0 0 0 20px;
    padding: 0;
    list-style-type: disc;
}

#ErrorPanel li {
  padding: 5px 0px 5px 0px;
  margin: 0;
  background: none;
  border: none;
}

#ErrorPanel a {
  color: #06c;
  font-weight: normal;
  text-decoration: underline;
}

#ErrorPanel a:hover, #ErrorPanel a:focus  {
  color: #04a;
  text-decoration: none;
}

.MessageBox {
  font-size: 1.5em;
  text-align: center;
  margin: 10px 0;
}

.MessageBox.validate-id > div {
  margin: 20px 0;
}

input {
  font-size: 14px;
  line-height: 18px;
  padding: 4px;
  border: solid 1px rgba(203,203,203,1);
  border-radius: 3px;
  vertical-align: middle;
}

input[type="submit"] {
  background: #fff;
  border: 1px solid #06c;
  padding: 6px 20px;
  color: #06c;
  cursor: pointer;
  display: inline-block;  
  margin: 0 2px 3px;
  position: relative;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

input[type="submit"]:hover,
input[type="submit"]:focus {
  background: #049;
  border-color: #fff;
  color: #fff;
}

#CopyrightPanel {
  color: #767676;
  font-size: .9em;
  padding: 10px 20px;
  text-align: center;
}

#form1,
#projectForm {
  width: 95%;
  margin: 0 auto;
  max-width: 1000px;
}

#ProgressBarPanel {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: center;
  margin: 20px 0;
}

.ProgressBarIncomplete {
  background-color: #fff;
  border: 1px solid #318200;
  height: 20px;
  width: 100%;
  border-radius: 3px;
  display: inline-block;
}
.ProgressBarComplete {
  background: #5dc10e;
  /*background: -moz-linear-gradient(top,#5dc10e 0%,#58b410 48%,#51ad09 51%,#4da706 100%);
  background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#5dc10e),color-stop(48%,#58b410),color-stop(51%,#51ad09),color-stop(100%,#4da706));
  background: -webkit-linear-gradient(top,#5dc10e 0%,#58b410 48%,#51ad09 51%,#4da706 100%);
  background: -o-linear-gradient(top,#5dc10e 0%,#58b410 48%,#51ad09 51%,#4da706 100%);
  background: -ms-linear-gradient(top,#5dc10e 0%,#58b410 48%,#51ad09 51%,#4da706 100%);*/
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5dc10e',endColorstr='#4da706',GradientType=0 );
  background: linear-gradient(top,#5dc10e 0%,#58b410 48%,#51ad09 51%,#4da706 100%);
  height: 100%;
  border-radius: 2px;
}
.ProgressBarPercentage {
  display: block;
  padding-top: 5px;
}

.QuestionText,
.Question {
  width: inherit;
}

.QuestionText {
  padding: 0;
  font-size: 1.1rem;
}
.Question {
  padding: 10px 30px;
}

.mobile-matrix-group {
    padding: .25rem;
}

/* This is to make the text stay to the right of the input if it is too long and wraps. */
.matrix-group-option {
    display: flex;
    margin: 2px 0px;
}

.matrix-group-option input {
    margin-top: 2px;
    margin-right: 5px;
}

.second-matrix-group {
    background-color: #eeeeee;
    border: 1px solid #cccccc;
    margin-bottom: 1rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.Question ul, .QuestionGroup ul  {
  list-style-type: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.QuestionGroup ul li {
  padding: 15px;
}

.DropdownList label {
  display: block;
  margin-bottom: 10px;
}

.DropdownList select {
  padding: 4px;
  margin-left: 15px;
}

.Question textarea {
  width: 100%;
}

.questionPanel {
  padding: 15px;
}


.ContentFooterPanel #NextButton,
.ContentFooterPanel #BackButton {
  position: inherit;
  top: inherit;
  left: inherit;
}

.ContentFooterPanel #BackButton {
  margin-right: 10px;
}

#ValidationButton,
#NextButton {
    background-color: #06c;
    border-color: #fff;
    color: #fff;
}

#ValidationButton:hover,
#NextButton:hover,
#NextButton:focus{
  background-color: #049;
}

#ProjCompleted > span {
  display: block;
  margin-bottom: 15px;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.QuestionGroupDescriptionRow th {
    text-align: center;
    font-weight: normal;
    vertical-align: top;
    padding: .5rem 1rem;
}

.QuestionGroup {
    padding: 10px 0 0 0;
    position: relative;
    width: 100%;
}

.QuestionGroup tr {
    border-bottom: 1px solid #ccc;
}

.NumericValue th {
    text-align: center;
    padding-bottom: .5rem;
    height: inherit;
    vertical-align: inherit;
}

.QuestionGroupQuestionCell {
    padding: 10px 10px 10px 0;
}

.QuestionGroupInputCell {
    padding-top: 10px;
}

.AlternateShadeDark {
    background-color: #ededed;
}