.form-section-container {
  display: flex;
  justify-content: center;
}
.form-content-container {
  width: 60%;
}
/* Form Styling  */
.form-section {
  width: 100%;
  background-color: #EEB111;
  color: #fff;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: 70% 87%;
  background-size: auto 405px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-left: 33px;
  padding-top: 20px;
}
.form-section h1 {
  font-size: 1.4rem;
  line-height: 1.2;
  font-weight: normal;
  width: 94%;
  margin-top: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  text-transform: capitalize;
  margin-bottom: 20px;
}
.margin-bottom-large {
  margin-bottom: 45px !important;
}
.widget-container {
  width: 55%;
  background-color: transparent;
}
.widget-email-field {
  width: 100%;
  margin: 0 auto;
  margin-bottom: 20px !important;
}
.widget-email-field input[type="email"] {
  width: 94%;
  height: 22px;
  margin: 0 auto;
  padding: 10px;
  font-size: 1rem;
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.widget-email-field input[type="email"]::placeholder {
  color: #fff;
  font-style: italic;
}
#widgetErrorPlaceholder,
#widgetTermsError {
  width: 100%;
  margin: 0 auto;
}
.error-container {
  display: block;
  margin: 0 auto;
  width: 93%;
  margin-bottom: 10px;
}
.error-container p {
  font-size: 0.8rem;
  color: #d71d0f;
  font-weight: bold;
}
.bottom-container {
  width: 100%;
  margin-bottom: 30px;
}
.widget-submit-container {
  margin-top: 30px;
}
.btn-submit {
  text-align: center;
  padding: 0.8rem 0;
  width: 90%;
  display: block;
  margin: 0 auto;
  background-color: #ffffff;
  border: 2px solid #ffffff;
  color: #eeb111;
  font-size: 1rem;
  transition: 0.25s;
  border-radius: 0;
  text-transform: uppercase;
  font-weight: bold;
  height: 90%;
}
.btn-submit:hover {
  border-color: #fff;
  cursor: pointer;
  color: #fff;
  background-color: #eeb111;
}
/* Error messages */
.required-msg,
.invalid-msg {
  color: red;
  font-size: 1.3rem;
  margin-top: 3px;
  margin-left: 3px;
}
.legal-terms-container {
  width: 100%;
  display: flex;
  margin: 0 auto;
  position: relative;
}
.legal-terms-container input[type=checkbox] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 20px;
  width: 20px;
  top: 0;
  z-index: 2;
}
.legal-terms-container label {
  padding-left: 32px;
  font-size: 0.8rem;
  line-height: 1.4;
}
.legal-terms-container p {
  color: #fff;
}
.custom-checkbox {
  position: absolute;
  top: 0;
  left: 0;
  height: 18px;
  width: 18px;
  background-color: transparent;
  border: 2px solid #fff;
  z-index: 1;
}
.legal-terms-container .custom-checkbox:after {
  content: "";
  position: absolute;
  left: 3px;
  top: -18px;
  width: 12px;
  height: 29px;
  border: solid white;
  border-width: 0 6px 6px 0;
  border-radius: 5px;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  display: none;
}
.legal-terms-container input[type=checkbox]:checked ~ .custom-checkbox:after {
  display: block;
}
.footer-section {
  width: 100%;
  background-color: #fff;
  margin: 20px 0;
}
#footer-disclaimer {
  font-size: 0.8rem;
  line-height: 1.4;
  color: #666;
  margin-left: 22%;
  width: 50%;
}
.mobile-img,
.mobile-overlay {
  display: none;
}
.legal-terms-container p a {
  font-weight: bold;
  color: #fff;
  text-decoration: underline;
}
/* MEDIA QUERIES */
@media screen and (min-width: 1920px) {
  #logo-section .logo-img {
    width: 200px;
    height: 65px;
  }
  .form-section {
    background-size: auto 390px;
    background-position: 63% 77%;
  }
  .form-section h1 {
    width: 80%;
    font-size: 1.3rem;
  }
  .form-content-container {
    width: 48%;
  }
  #footer-disclaimer {
    margin-left: 27%;
  }
}
@media screen and (min-width: 2048px) {
  .form-content-container {
    width: 45%;
  }
}
@media screen and (min-width: 2300px) {
  .form-content-container {
    width: 36%;
  }
  .form-section {
    background-position: 60% 77%;
  }
}
@media screen and (max-width: 1280px) {
  #footer-disclaimer {
    margin-left: 20%;
  }
  .form-section {
    background-position: 73% 81%;
    background-size: auto 415px;
  }
  .legal-terms-container label {
    font-size: 0.8rem;
  }
  .form-section h1 {
    width: 94%;
  }
  .form-content-container {
    width: 62%;
  }
  .widget-email-field input[type="email"] {
    width: 95%;
    font-size: 0.8rem;
    height: 40px;
  }
  .widget-container {
    width: 56%;
  }
}
@media screen and (max-width: 1080px) {
  .form-content-container {
    width: 75%;
  }
  .form-section {
    background-position: 82% 81%;
  }
  #footer-disclaimer {
    margin-left: 14%;
  }
}
@media screen and (max-width: 1024px) {
  .form-section h1 {
    width: 95%;
    font-size: 1.3rem;
  }
  .form-content-container {
    width: 77%;
  }
  .form-section {
    background-position: 80% 69%;
    background-size: auto 380px;
    padding-left: 5%;
  }
  .legal-terms-container label {
    font-size: 0.8rem;
  }
  .widget-email-field input[type="email"] {
    height: 25px;
    font-size: 1.1rem;
  }
  #footer-disclaimer {
    font-size: 0.8rem;
    margin-left: 15%;
  }
}
@media screen and (max-width: 800px) {
  #logo-section .logo-img {
    width: 160px;
    height: 52px;
    padding: 0 30px;
  }
  .form-content-container {
    width: 88%;
  }
  .margin-bottom-large {
    margin-bottom: 20px !important;
  }
  .form-section {
    padding-left: 20px;
    background-size: auto 360px;
    background-position: 87% 69%;
  }
  .form-section h1 {
    font-size: 1.2rem;
  }
  .widget-email-field input[type="email"] {
    height: 40px;
    font-size: 1rem;
  }
  #footer-disclaimer {
    margin-left: 7%;
  }
}
@media screen and (max-width: 640px) {
  .form-section h1 {
    font-size: 1.1rem;
    width: 100%;
  }
  .form-section {
    padding-left: 10px;
    background-size: auto 340px;
    background-position: 93% 68%;
  }
  .margin-bottom-large {
    font-size: 10px;
  }
  .form-content-container {
    width: 96%;
  }
  .widget-container {
    width: 54%;
  }
}
@media screen and (max-width: 580px) {
  .margin-bottom-large {
    margin-bottom: 20px !important;
  }
  .form-section {
    /* background-position: center 80%;
          background-size: auto 314px; */
    background-image: none;
    padding-top: 20px;
    position: relative;
  }
  .form-section h1 {
    font-size: 1.4rem;
    width: 100%;
  }
  .widget-container {
    width: 100%;
  }
  .widget-email-field input[type="email"] {
    font-size: 1.3rem;
  }
  .legal-terms-container label {
    font-size: 0.8rem;
  }
  .widget-submit-container {
    margin-top: 20px;
  }
  .btn-submit {
    font-size: 1rem;
    width: 90%;
  }
  /* .legal-terms-container {
          position: absolute;
          top: 22px;
          left: 6px;
          width: 97%;
        } */
  .legal-terms-container input[type=checkbox] {
    z-index: 3;
  }
  .custom-checkbox {
    z-index: 2;
  }
  #footer-disclaimer {
    font-size: 0.7rem;
    margin-left: 2px;
    width: 100%;
  }
  .mobile-img-container {
    position: relative;
    max-width: 100%;
  }
  .mobile-img {
    display: block;
    width: 500px;
  }
  .mobile-img img {
    width: 100%;
    max-width: 100%;
  }
}
@media screen and (max-width: 500px) {
  .mobile-img {
    display: block;
    width: 400px;
  }
}
@media screen and (max-width: 415px) {
  .mobile-img {
    display: block;
    width: 311px;
  }
}
@media screen and (max-width: 320px) {
  .mobile-img {
    display: block;
    width: 315px;
  }
}
@media screen and (min-width: 581px) {
  #formSection_wpESWHRCANewSegOptIn {
    margin-right: 40px;
  }
}
.form-section-container-post-submit {
  display: none;
}
.form-section-container-post-submit .form-section-post-submit {
  width: 100%;
  background-color: #EEB111;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 3%;
  padding-bottom: 3%;
}
.form-section-container-post-submit .form-content-container {
  width: 65%;
}
.form-section-container-post-submit .copy-image-container {
  display: flex;
  align-items: center;
}
.form-section-container-post-submit .form-section-post-submit h1 {
  font-size: 2.8rem;
  text-align: center;
  line-height: 1.5;
  font-weight: normal;
  margin-top: 0;
}
.form-section-container-post-submit .img-container {
  flex-basis: 40%;
  margin: 0 auto !important;
}
.form-section-container-post-submit .img-container img {
  max-width: 100%;
  margin: 0 auto !important;
}
.form-section-container-post-submit .margin-bottom-large {
  margin-bottom: 30px !important;
}
@media screen and (min-width: 1920px) {
  .form-section-container-post-submit .form-section-post-submit {
    background-position: 72% 70%;
    background-size: auto 620px;
  }
  .form-section-container-post-submit .form-section-post-submit h1 {
    font-size: 2.3rem;
  }
  .form-section-container-post-submit .form-content-container {
    width: 51%;
  }
}
@media screen and (max-width: 1280px) {
  .form-section-container-post-submit .form-section-post-submit {
    background-position: 79% 69%;
    background-size: auto 460px;
  }
  .form-section-container-post-submit .form-content-container {
    width: 70%;
  }
}
@media screen and (max-width: 1024px) {
  .form-section-container-post-submit .form-content-container {
    width: 90%;
  }
  .form-section-container-post-submit .form-section-post-submit {
    background-position: 90% 85%;
    background-size: auto 470px;
  }
}
@media screen and (max-width: 800px) {
  .form-section-container-post-submit .margin-bottom-large {
    margin-bottom: 30px !important;
  }
  .form-section-container-post-submit .form-section-post-submit {
    background-position: 95% 77%;
    background-size: auto 410px;
  }
  .form-section-container-post-submit .form-section-post-submit h1 {
    font-size: 2rem;
  }
  .form-section-container-post-submit .form-content-container {
    width: 90%;
  }
}
@media screen and (max-width: 667px) {
  .form-section-container-post-submit .margin-bottom-large {
    margin-bottom: 20px !important;
  }
  .form-section-container-post-submit .form-section-post-submit h1 {
    font-size: 1.8rem;
    text-align: center;
  }
}
@media screen and (max-width: 580px) {
  .form-section-container-post-submit .margin-bottom-large {
    margin-bottom: 20px !important;
  }
  .form-section-container-post-submit .copy-image-container {
    display: block;
  }
  .form-section-container-post-submit .form-section-post-submit h1 {
    font-size: 1.8rem;
  }
  .form-section-container-post-submit .ty-text {
    margin-top: 40px;
    font-size: 1.2rem;
  }
}
