#appform-banner {
    background-color: #900801;
    background-image: url(../images/photo-event-6.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}
.bg-dim {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
}
#app-form {
    background-image: url(../images/patten.png);
}
#app-form .sect-mod-1 {
    padding: 100px 0;
}
#app-form .sect-mod-1 p:first-of-type {
    font-size: 1.944444em;
}
#app-form .sect-mod-1 p:last-of-type {
    font-size: 1.611111em;
    margin: 0;
}
#app-form .sect-mod-1 p span {
  display: block;
}

#app-form-1 .grid_9 {
  text-align: center;
  padding: 60px 0;
  font-size: 1.166667em;
  margin: 0 auto;
  float: none;
}
#app-form-1 .grid_9 p {
    margin: 0;
    line-height: 2;
}
#app-form-form {
  background-color: #e5e5e5;
}
.aff-head {
  background-color: #7e0004;
  color: white;
  font-size: 1.166667em;
  text-align: center;
  line-height: 2;
}
.aff-form-box {
  margin: 0 auto;
  float: none;
  padding: 60px 0;
}

#app-form-2  {
  background-color: #7e0004;
}
#app-form-2 .grid_9 {
  text-align: center;
  color: white;
  padding: 30px 0;
  font-size: 1.166667em;
  line-height: 1.7;
  margin: 0 auto;
  float: none;
}
#app-form-2 .grid_9 p:last-of-type {
  margin: 0;
}
#app-form-2 .grid_9 span {
  display: block;
}
#app-form-3 {
  background-color: #e5e5e5;
}
#app-form-3 .grid_9 {
  padding: 60px 0;
  font-size: 1.166667em;
  line-height: 1.7;
  margin: 0 auto;
  float: none;
}
table.t1 {
  width: 100%;
}
table.t1 td {
  padding: 4px 12px;
}
table.t1 td.highlight {
  text-align: center;
  font-weight: bold;
}

section input[type='checkbox'] {
  vertical-align: middle;
  position: relative;
  margin: -4px 12px 0 0;
  -ms-transform: scale(1.5);
  -moz-transform: scale(1.5);
  -webkit-transform: scale(1.5);
  -o-transform: scale(1.5);
  transform: scale(1.5);
}
section input[type='text'], section textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: .809523em;
  padding: 11px 12px 9px;
  background-color: white;
  border: none;
  border-radius: 4px;
  width: 100%;
  resize: none;
}
section select {
  -webkit-appearance: none;
  -moz-appearance: none;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: .809523em;
  padding: 10px 40px 8px 10px;
  background-color: white;
  border: none;
  border-radius: 4px;
  background-image: url(../images/select-arrow.svg);
  background-position: right center;
  background-repeat: no-repeat;
  width: 100%;
}
section select.size {
  width: 650px;
}
input#dateofbirth {
  background-image: url(../images/input-calendar.svg);
  background-position: right center;
  background-repeat: no-repeat;
}

#app-form-4 {
  background-color: #e5e5e5;
}
#app-form-4 .grid_9 {
  padding: 60px 0;
  font-size: 1.166667em;
  line-height: 1.7;
  margin: 0 auto;
  float: none;
  text-align: center;
}
#app-form-4 .grid_9 span {
  display: block;
}
table.t2 {
  border: 1px solid black;
  width: 100%;
  margin-top: 40px;
}
table.t2 td {
  border: 1px solid black;
  padding: 4px 12px;
  text-align: center;
}

.aff-form-box {
  font-size: 1.166667em;
}
.aff-form-box .input-box {
  margin-bottom: 16px;
}
.aff-form-box .input-box:after {
  content: '';
  display: block;
  clear: both;
}
.input-box.onerow {
  margin-top: 30px;
}
.input-box.onerow span {
  margin-right: 30px;
}
.aff-form-box label {
  width: 325px;
  float: left;
  padding: 4px 0 4px;
}
.aff-form-box label span {
  display: block;
  font-size: .809524em;
  margin-top: 10px;
}
.aff-form-box input[type="text"], .aff-form-box textarea, .aff-form-box select {
    width: calc(100% - 325px);
    overflow: hidden;
}
.aff-form-box span.subhead {
    display: inline-block;
    margin: 10px 0 0 0;
}
.aff-form-box span.next {
    margin-top: 20px;
    display: block;
    text-align: right;
}
.aff-form-box span.next button {
  border: none;
  padding: 0;
  background: none;
  color: black;
  text-decoration: underline;
}
label.error {
    color: #a20027;
    margin-left: 325px;
}
.aff-form-box input[type="text"].error,
.aff-form-box textarea.error,
.aff-form-box select.error {
    border: 1px solid #a20027;
}
.errormgs-feedback {
    text-align: right;
    display: block;
    margin: 20px 0 0 0;
    color: #a20027;
}

#app-form-5 {

}
#app-form-5 .grid_9 {
  padding: 60px 0;
  font-size: 1.555556em;
  line-height: 1.7;
  margin: 0 auto;
  float: none;
  text-align: center;
  color: #ed1c24;
  font-weight: bold;
}

.t1wrap, .t2wrap {
  width: 100%;
  overflow-x: auto;
}
.t1, .t2 {
  width: 100%;
  min-width: 950px;
}

span.nexts2 {
  display: block;
  text-align: right;
  padding: 20px 0 0 0;
}
span.nexts2 button,
span.prevs2 button {
  border: none;
  padding: 0;
  background: none;
  color: black;
  text-decoration: underline;
}
.errormgs-feedback-s2 {
    text-align: right;
    display: block;
    margin: 20px 0 0 0;
    color: #a20027;
}

span.nexts3 {
  display: block;
  text-align: center;
  padding: 20px 0 0 0;
  float: right;
}
span.nexts3 button {
  border: none;
  padding: 0;
  background: none;
  color: black;
  text-decoration: underline;
}
.errormgs-feedback-s3 {
    text-align: center;
    display: block;
    margin: 20px 0 0 0;
    color: #a20027;
}
span.prevs3 {
  display: block;
  text-align: center;
  padding: 20px 0 0 0;
  float: left;
}
span.prevs3 button {
  border: none;
  padding: 0;
  background: none;
  color: black;
  text-decoration: underline;
}

.downloadpdf {
  margin: 0;
  padding: 0;
}
.downloadpdf img {
  width: 50px;
  height: auto;
}

@media only screen and (max-width: 1280px) {



}


@media only screen and (max-width: 1024px) {

  #app-form .sect-mod-1 {
      padding: 80px 0;
  }
  #app-form .sect-mod-1 p:first-of-type {
    font-size: 1.666667em;
  }
  #app-form .sect-mod-1 p:last-of-type {
    font-size: 1.25em;
  }

  .t1, .t2 {
    min-width: 870px;
  }

  .aff-form-box label {
    width: 250px;
  }
  .aff-form-box input[type="text"],
  .aff-form-box textarea,
  .aff-form-box select {
    width: calc(100% - 250px);
  }

  label.error {
      margin-left: 250px;
  }

}


@media only screen and (max-width: 768px) {

  section select.size {
    width: 100%;
  }

}


@media only screen and (max-width: 480px) {

  .aff-form-box label {
    display: block;
    width: 100%;
    float: none;
    margin: 0 0 10px 0;
  }
  .aff-form-box label.space {
    display: none;
  }
  .aff-form-box input[type="text"],
  .aff-form-box textarea,
  .aff-form-box select {
    width: 100%;
  }
  .aff-form-box label span {
    display: inline-block;
    margin: 0 0 0 10px;
  }


}
