/*
==============================================
Form Content
==============================================
*/

.lead-form-section {
  position: relative;
  z-index: 1;
  background: #fff;
}
.lead-form-content {
  padding: 70px 30px;
}

/*
==============================================
Form Two Columns
==============================================
*/
.form-two-fields-content {
    display: flow-root;
  }

.email-capture-content-main-wrap {
  /* border: 1px solid blue; */
  width: 50%;
  float: right;
}
.email-capture-form-text {
  /* border: 1px solid purple; */
  width: 50%;
  float: left;
  padding-right: 100px;
}
.email-capture-form-text p {
  margin: 0 0 30px !important;
}
.email-field {
  width: 100%;
}

/*
==============================================
Floating Labels
==============================================
*/

/*
.field{
  position: relative;
}

label {
  position: absolute;
  pointer-events: none;
  left: 10px;
  top: 2px;
  transition: 0.2s ease all;
  font-size: 15px;
  color: red;
}
input:focus ~ label {
  top:-10px;
  font-size:12px;
}
.email-capture-content-main-wrap input:not([type="submit"]):focus ~ label{
  border: 2px solid #393939;
  color: blue;
}
*/

/*
==============================================
Form Structure
==============================================
*/
.email-capture-content-main-wrap {
  font-size: 16px;
  line-height: 30px;
}
.recaptcha-disclaimer, .required-text {
  font-size: 12px;
  line-height: 17px;
  margin-bottom: 20px !important;
}
.email-capture-content-main-wrap .field-validation-error {
  font-size: 16px;
  color: #D11F00 !important;
  line-height: 30px;
  animation: fadeIn 1s forwards;
  -webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}
.recaptcha-content-section {
  /* border: 2px solid red; */
  display: grid;
  width: 50%;
  float: left;
}
.submit-content-section {
  /* border: 2px solid green; */
  display: grid;
  width: 50%;
  position: relative;
  float: right;
}
.submit-content-section .two-button-submit{
  margin: 0 !important;
  position: absolute;
  right: 0;
}
.email-capture-content-main-wrap input[type="submit"] {
  min-width: inherit;
  width: auto;
  height: auto !important;
  padding: 10px 45px;
}
.email-capture-content-main-wrap input:not([type="submit"]).input-validation-error, .email-capture-content-main-wrap textarea.input-validation-error {
  border: 2px solid #D11F00 !important;
}

.one-single-field-content {
  width: 100%;
}

.email-capture-content-main-wrap .field-validation-error {
   -webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}
.first-name-field, .last-name-field {
  margin-right: 20px;
}
.first-name-form-container {
  margin-right: 20px;
  width: 50%;
}


.first-name-form-container, .last-name-form-container, .email-form-container {
display: grid;
/* display: flow-root; */
margin-bottom: 20px;
-webkit-transition: all 0.4s ease-in-out;
-moz-transition: all 0.4s ease-in-out;
-o-transition: all 0.4s ease-in-out;
-ms-transition: all 0.4s ease-in-out;
transition: all 0.4s ease-in-out;
}

.first-name-form-container {
  float: left;
}

.lead-form-section ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #444444;
  opacity: 0; /* Firefox */
}

.lead-form-section ::-ms-input-placeholder { /* Microsoft Edge */
  color: #444444;
}
/*
==============================================
Form Full Width (Uncomment the lines below)
==============================================
*/

/*
.email-capture-form-text, .email-capture-content-main-wrap {
  float: none;
  width: 100%;
}
*/


/*
==============================================
Responsive Meia Queries
==============================================
*/

/* Large devices (tablet landscape, 1024px and less) tablet-l */
@media only screen and (max-width: 1024px) {
}

/* Medium devices (tablet portrait, 768px and less) tablet-p */
@media only screen and (max-width: 768px) {
  .email-capture-form-text, .email-capture-content-main-wrap {
    float: none;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
  }
/*
==============================================
Form Model Styles
==============================================
*/
  .email-capture-content-main-wrap .email-form-sub-head-main {
     text-align: center;
   }
   .email-capture-content-main-wrap .email-form-sub-head-main:after {
     margin: 19px auto;
   }
}

/* Extra small devices (most portrait phones, 480px and less) mobile-p */
@media only screen and (max-width: 480px) {
  .email-capture-content-main-wrap .email-capture-form-text, .email-capture-content-main-wrap {
    float: none;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
  }
  .email-capture-content-main-wrap input:not([type="submit"]), .email-capture-content-main-wrap textarea {
    font-size: 14px;
  }
  .email-capture-content-main-wrap .recaptcha-content-section {
    width: 100%;
  }
  .email-capture-content-main-wrap .first-name-form-container, .email-capture-content-main-wrap .last-name-form-container, .email-capture-content-main-wrap .email-form-container {
    /* display: block;  */
    width: 100%;
  }
  .email-capture-content-main-wrap .first-name-field, .email-capture-content-main-wrap .last-name-field {
    margin-right: 0px;
  }
  .email-capture-content-main-wrap input[type="submit"] {
    min-width: 50%;
    width: 50%;
    height: auto;
    margin: 0 auto !important;
  }
  .email-capture-content-main-wrap .two-button-form .two-button-submit {
    float: none !important;
  }
  .email-capture-content-main-wrap .submit-content-section .two-button-submit {
    right: inherit;
    position: relative;
  }
  .email-capture-content-main-wrap .submit-content-section {
    display: grid;
    width: 100%;
    float: none;
  }
  .lead-form-content {
    padding: 100px 15px !important;
  }

}

/* Extra small landscape devices (most landscape phones, >=480px and <= 767 and landscape) mobile-l */
@media only screen and (min-width: 480px) and (max-width: 767px) and (orientation: landscape) {
  .email-capture-content-main-wrap .email-capture-form-text, .email-capture-content-main-wrap  {
    float: none;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
  }
  .lead-form-content {
    padding: 100px 15px !important;
  }

}

/* IE only */
@media screen\0 {
.email-capture-content-main-wrap .form-two-fields-content {
  display: -ms-flexbox;

  }
}
