@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i&display=swap');
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,400i&display=swap');


/* General Page Styles */

html { margin-left: calc(100vw - 100%); }

form { margin-bottom: 5em; }

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: normal;
  margin-bottom: .5em;
  padding: .25em 0;
  position: relative;
}

h2::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0px;
    width: 100px;
    height: 3px;
    background-color: #1b75bc;
}

h3 {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: normal;
  margin-bottom: .5em;
  padding: .25em .75em;
}

h4 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: normal;
  margin-bottom: .5em;
  padding: .5em 0px 0px 0px;
}

a {
  color: #058acd;
  text-decoration: none;
}

a:hover {
  color: #23527c
}

input, select, .addresslabel select, input[type="text"] {
  border-radius: 0px;
  border: 2px solid silver;
  color: #000;
  background: #ededed;
  padding: 12px;
  transition: all .3s;
}

select, .addresslabel select {
  padding: 11px;
  transition: all .3s;
}

input:focus, select:focus, .addresslabel select:focus, input[type="text"]:focus {
  border: 2px solid black;
  box-shadow: none;
  transition: all .3s;
}


/* Resets & Fixes */

.container {
  top: auto !important;
}

input[type="text"], input[type="password"], input[type="email"], textarea, select {
  margin-bottom: 0px;
  margin-left: 0px;
  width: 100%;
  max-width: none;
  vertical-align: top;
}

select {
  padding: 6px 4px;
}


/* Header Styles */


/* Standard Fields */

.spanc24 ul {
  margin-bottom: 0px;
}

.spanc24 ul li {
  margin-bottom: .25em;
}

.spanc24 ul li .checkboxlabel {
  font-weight: bold;
  line-height: 21px;
}

p[id^="p"] {
  width: 100%;
  padding: 0 20px;
  margin-bottom: 10px;
  display: inline-block;
  box-sizing: border-box;
}

p[id^="p"]::after {
  text-align: right;
}

p[id^="p"] .questionlabel {
  font-weight: bold;
}

p[id^="p"] select {
  padding: 11px;
}

p[id^="p"] .questionlabel,
p[id^="p"] input[type="text"],
p[id^="p"] select {
  width: 100%;
  box-sizing: border-box;
}

.questionlabel {
  color: #1b75bc;
}

@media only screen and (min-width: 768px) {
  
  p[id^="p"] .questionlabel {
    box-sizing: border-box;
    width: 100%;
    padding-right: 1em;
  }
  
  p[id^="p"] input[type="text"],
  p[id^="p"] select {
    display: inline-block;
    box-sizing: border-box;
    width: 100%;
  }
}


/* Address Fields */


.addresslabel {
  width: 100%;
  padding: 0 20px;
  margin-bottom: 10px;
  display: inline-block;
  box-sizing: border-box;
}

.addresslabel::after {
  text-align: right;
}

.addresslabel .questionlabel,
.addresslabel input[type="text"],
.addresslabel select {
  width: 100%;
  box-sizing: border-box;
}

@media only screen and (min-width: 768px) {
  
  .addresslabel .questionlabel {
    box-sizing: border-box;
    width: 100%;
    padding-right: 1em;
  }
  
  .addresslabel input[type="text"],
  .addresslabel select {
    display: inline-block;
    box-sizing: border-box;
    width: 100%;
  }
  
  #p903 {
    width: 20%;
  }
  
  #p1, #p2 {
    width: 40%;
  }
}
  

/* Newsletters & Deployments */

div[id^="pp"],
div[id^="pd"] {
  margin-bottom: .25em;
}

div[id^="pp"] .questionlabel,
div[id^="pd"] .questionlabel {
  font-weight: bold;
}


@media only screen and (min-width: 768px) {
  div[id^="pp"],
  div[id^="pd"] {
    box-sizing: border-box;
  }
}


/* Demographics */

span[class^="spanc"] ul li {
  vertical-align: top;
}

span[class^="spanc"] ul li input:checked + span.radiolabel,
span[class^="spanc"] ul li input:checked + span.checkboxlabel {
  color: #000;
}

.spanc265 ul li {
  display: inline-block;
}

.spanc823 .questionlabel {
  display: none;
}

.spanc823 input {
  vertical-align: top;
  margin-right: 8px;
}

.response_subheader {
  color: #000;
  margin-left: 20px;
}

.licr785_6118, .licr785_6114, .licr785_6598, .licr785_6116 {
  margin-left: 20px;
}

.spanc823 .checkboxlabel {
  max-width: 80%;
  display: inline-block;
}

/* payment area styles */

#ccframe {
  display: inline-block;
  float: left;
}

#p32.addresslabel, #p32.addresslabel:after {
  display: inline-block;
  width: 160px;
  padding: 0;
  background: transparent;
}

#p32.addresslabel .questionlabel {
  display: block;
  line-height: 1;
  margin-top: 8px;
  width: 100%;
}

#p32.addresslabel select {
  padding: 2px;
  margin-bottom: 15px;
  margin-left: 0px;
  margin-top: 2px;
  width: 100%;
}

#id285 {
  width: 10%;
  display: block;
  padding: 11px;
  margin-bottom: 6px;
}

/* Submit Button */

#submitbtn, #custombtn {
  text-align: left;
  margin: 40px 0;
  padding: 20px 0;
  background-color: white;
}

#submitbtn.submit, #custombtn.submit {
  text-align: left;
  padding: 40px 20px;
}

#submitbtn input[type="submit"], #custombtn input[type="submit"] {
  font-family: 'Open Sans', sans-serif;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  color: #1b75bc;
  border: 1px solid #1b75bc;
  border-radius: 4px;
  padding: 18px;
  text-shadow: none;
  background: #fff;
  margin: 0px;
  width: 100%;
  max-width: 400px;
  transition: all .3s;
}

#submitbtn input[type="submit"]:hover, #custombtn input[type="submit"]:hover {
  background: #1b75bc;
  color: #fff;
  transition: all .3s;
}


/* Footer Styles */

.footer img {
  height: 65px;
  width: auto;
}

.footertext {
  text-align: center;
  font-weight: normal;
  font-size: .8em;
  line-height: 1.5em;
}


/* Other Fillin */

.otherfillin {
  padding: 0 20px;
}

.otherfillinlabelomeda {
  display: none;
}

.otherfillin input {
  border: 0px;
  border-bottom: 1px dotted;
  background-color: #fff;
}

.otherfillin input:focus {
  border: 0px;
  border-bottom: 1px dotted;
  box-shadow: none;
}


/* Fixed-Position Validation */

.highlight {
  color: red;
}

.validation ul {
  text-align: center;
  position: fixed;
  bottom: 0px;
  left: 0px;
  background: #ff0000;
  width: 100%;
  margin-bottom: 0px;
  max-height: 5em;
  overflow: auto;
  z-index: 9999;
}

.validation ul li {
  color: #fff;
  display: block;
  margin-right: 0px;
  margin-bottom: 0px;
}

.validation ul li:first-of-type {
  padding-top: .25em;
}

.validation ul li:last-of-type {
  padding-bottom: : .5em;
}

.validation ul li:only-of-type {
  padding-top: .25em;
  padding-bottom: .5em;
}
