/* remove margins and padding from top level elements */
.fake-column-2-content > * {
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
}

/* the padding-bottom is set to 60px in recursive-elements.css so I'm resetting to 0 here.
   eventually we'll probably remove from recursive-elements.css
*/
#page > .page-container[data-element="2-column"] ~ .page-container .page-body-content {
  padding: 0;
}

.formidable-form .frm_form_field.custom-validation-fail,
.formidable-form .frm_form_field.custom-validation-success {
  padding-bottom: 0;
}

.formidable-form .frm_form_field.custom-validation-fail label {
  color: #F20045;
}

.formidable-form .frm_form_field.custom-validation-fail label {
  color: #F20045;
}

.formidable-form .frm_form_field.custom-validation-fail input {
  border-color: #F20045;
}

.formidable-form .frm_form_field.custom-validation-error-message,
.formidable-form .custom-validation-success-message {
  display: none;
}

.formidable-form .frm_form_field .frm_error {
  padding-bottom: 0;
}

.formidable-form .frm_form_field.custom-validation-fail input:active,
.formidable-form .frm_form_field.custom-validation-fail input:focus {
  border: 1px solid #F20045 !important;
}

.formidable-form .frm_form_field.custom-validation-field input {
    padding-right: 46px;
}

.custom-validation-field::after {
  content: '';
  width: 20px;
  height: 20px;
  background-size: 20px 20px;
  background-repeat: no-repeat;
  position: absolute;
  top: 29px;
  right: 15px;
  z-index: 1;
}

.custom-validation-field.custom-validation-processing::after  {
  background-image: url(https://cdn.brief.vet/plumbs/marketing-site/images/icons/pro/Icons_Loader_Large.svg);
  animation: custom-validation-loader-rotate 1.2s infinite linear;
}

.custom-validation-field.custom-validation-success::after  {
  background-image: url(https://cdn.brief.vet/plumbs/marketing-site/images/icons/pro/Icons_Checkmark_Table.svg);
}

@keyframes custom-validation-loader-rotate {
  from {
    transform: rotate(0deg);
  } to {
    transform: rotate(360deg);
  }
}

.frm_final_submit.disabled-submit-button,
.formidable-form .frm_style_formidable-style.with_frm_style .frm_submit button.frm_button_submit.disabled-submit-button {
  opacity: .5;
  cursor: auto;
}

.frm_final_submit.disabled-submit-button:hover,
.formidable-form .frm_style_formidable-style.with_frm_style .frm_submit button.frm_button_submit.disabled-submit-button:hover {
  box-shadow: none;
}

.formidable-form .custom-validation-success-message > div,
.formidable-form .frm_style_formidable-style.with_frm_style .custom-validation-success-message > div,
.formidable-form .custom-validation-error-message > div,
.formidable-form .frm_style_formidable-style.with_frm_style .custom-validation-error-message > div {
  margin: 10px 0 0;
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.4;
  font-size: 14px;
  padding: 0;
  text-align: left;
  font-style: normal;
  max-width: 100%;
}

.formidable-form .custom-validation-success-message > div,
.formidable-form .frm_style_formidable-style.with_frm_style .custom-validation-success-message > div {
  color: #535E79;
}

.formidable-form .custom-validation-error-message > div,
.formidable-form .frm_style_formidable-style.with_frm_style .custom-validation-error-message > div {
    color: #F20045;
}

/* Custom Success Message */
.promo-form-submit-message h2 {
  padding: 0 0 30px;
}

.promo-form-submit-message p.body-copy-18 {
  padding-left: 0;
  padding-right: 0;
}

.promo-form-submit-message .gradient-button {
  margin: 5px 0 20px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
}

@media only screen and (max-width: 1200px) {
  .promo-form-submit-message .gradient-button {
    margin: 5px 0 0;
  }
}

.promo-form-submit-message .gradient-button-wrapper {
  width: 100%;
  min-width: 180px;
  padding: 22px 40px;
  margin: 0;
  background: linear-gradient(-90deg, #00CAE0, #0590D5);
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  color: #FFFFFF;
  border-radius: 5px;
  border: 0;
  transition: all 250ms;
  user-select: none;
  cursor: pointer;
  z-index: 3;
}

/* Width Overrides */

.testimonials-carousel-container {
    width: 100%;
}

/* Spacing Overrides */

@media only screen and (max-width: 1500px) {
  .testimonials-carousel-container {
    margin-top: 30px;
  }
}

/*
@media only screen and (max-width: 550px) {
  #page > .page-container ~ .page-container[data-element="testimonials"] .page-body-content {
    padding: 0 0 30px;
  }
}
*/

/* override to prevent extra left padding that we don't normally use */
.bullet-list {
    padding: 0 30px 30px 0;
}

@media only screen and (max-width: 550px) {
  .mobile > h2 {
    text-align: center !important;
  }
}

/* Icon Boxes Text */

.page-container[data-element="2-column"] .cards-container .card-container .text {
  width: calc(100% - 97px);
}

@media only screen and (max-width: 1050px) {
  .page-container[data-element="2-column"] .cards-container .card-container .text {
    width: 100%;;
  }
}

/* Text Promo */

[data-element="text-promo"] .page-body-content {
    max-width: 800px;
}

/* Full Width Image */

[data-element="full-width-image"] .page-body-content {
    padding-bottom: 0 !important;
}

/* Pricing Column */

[data-element="pricing-column"] .page-body-content .lead-in-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Omeda specific */
/* the omeda form loads in after the formidable one so we hide them both by default and then load them in together with js */
[data-promo-landing-page-type="omeda"] .hubspot-omeda-user-validation,
[data-promo-landing-page-type="omeda"] iframe {
  transition: all 250ms;
  display: none;
  opacity: 0;
}

[data-promo-landing-page-type="omeda"] .hubspot-omeda-user-validation.show,
[data-promo-landing-page-type="omeda"] iframe.show {
  display: block;
  opacity: 1;

  -webkit-animation: fadeInFromNone 0.25s ease-out;
  -moz-animation: fadeInFromNone 0.25s ease-out;
  -o-animation: fadeInFromNone 0.25s ease-out;
  animation: fadeInFromNone 0.25s ease-out;
}

@-webkit-keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
    }
}

@-moz-keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
    }
}

@-o-keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
    }
}

@keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
    }
}

[data-promo-landing-page-type="omeda"] .omeda-form.loader  {
  background-image: url(https://cdn.brief.vet/plumbs/marketing-site/images/icons/pro/Icons_Loader_Large.svg);
  background-position: center center;
  background-repeat: no-repeat;
  animation: custom-validation-loader-rotate 1.2s infinite linear;
  min-height: 130px;
  background-size: 50px;
}

.page-container[data-element="cards"] + style + .page-container[data-element="faqs"] {
  padding-top: 0;
}

@media only screen and (max-width: 1050px) {

  .page-container .fake-column-2-container {
    padding: 0 30px 30px;
  }

}

/* Demo Video */

[data-element="video"] {
  background-color: #F4F6FC;
}

@media only screen and (max-width: 1050px) {
  [data-element="video"] {
    background-color: #fff;
  }
}

[data-element="video"] .page-body-content .lead-in-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

[data-element="video"] .page-body-content {
  width: 100%;
  padding: 90px 30px 60px !important
}

@media only screen and (max-width: 700px) {
  [data-element="video"] .page-body-content {
    padding: 60px 30px 30px !important;
  }
}

[data-element="video"] .page-body-content .jwplayer {
  /* margin: -20px -20px 0; */
  /* width: calc(100% + 40px) !important; */
  height: 0 !important;
  padding-bottom: 68.12%;
}

[data-element="video"] .page-body-content .jwplayer.jw-flag-fullscreen {
  height: auto;
  padding: 0;
}

[data-element="video"] .page-body-content .jw-video {
  cursor: default;
}

/* Lead in Text */

[data-element="video"] .page-body-content .lead-in-text {
  padding: 0 0 60px;
}

[data-element="video"] .page-body-content .lead-in-text h1 {
    width: 100%;
    max-width: 650px;
}

[data-element="video"] .page-body-content .lead-in-text p {
  width: 100%;
  max-width: 600px;
  padding: 0 30px 30px;
}
