/* FORMS WRAPPER */

.formidable-form .frm_forms {
  width: 100%;
}

.formidable-form .frm_fields_container,
.formidable-form .frm_form_fields .frm_fields_container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: wrap;
}

.formidable-form.third-width-button .frm_fields_container,
.formidable-form.third-width-button .frm_form_fields .frm_fields_container {
  flex-wrap: nowrap;
}

@media only screen and (max-width: 900px) {
  .formidable-form.third-width-button .frm_fields_container,
  .formidable-form.third-width-button .frm_form_fields .frm_fields_container {
    flex-direction: column;
    flex-wrap: wrap;
  }
}

/* FORM OVERRIDE */

.formidable-form .frm_form_field {
  position: relative;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: 0 0 30px;
  margin: 0 !important;
}

.formidable-form .frm_form_field.frm_half {
  width: calc(50% - 15px);
}

@media only screen and (max-width: 780px) {
  .formidable-form .frm_form_field.frm_half {
    width: 100%;
  }
}

.formidable-form .frm_form_field.toggle-form {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  padding: 0 0 30px;
  margin: 0 !important;
}

.formidable-form .frm_form_field.toggle-form.toggle-required {
  flex-direction: column;
  align-items: flex-start;
}

.formidable-form .frm_style_formidable-style.with_frm_style .toggle-required .frm_error {
    margin: 10px 0 0 55px;
}

.formidable-form .frm_form_field.toggle-form .toggle-form-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
}

.formidable-form .frm_form_field.toggle-form .frm_primary_label {
  padding: 0 0 0 15px;
  margin: 0;
  color: #535E79;
  background-color: #FFFFFF;
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  text-transform: none;
  line-height: 1.4;
  font-size: 16px;
  order: 1;
  cursor: pointer;
}

@media only screen and (max-width: 650px) {
  .formidable-form .frm_form_field {
    padding: 0 0 20px;
  }
}

/* FORM LABELS AND TEXT */

.formidable-form .frm_primary_label,
.formidable-form .with_frm_style .frm_primary_label {
  padding: 0 5px 5px 0;
  margin-bottom: -12px;
  color: #0A2447;
  background-color: #FFFFFF;
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1;
  font-size: 14px;
  z-index: 1;
}

.formidable-form .frm_primary_label span.sup {
  font-size: 10px;
  position: relative;
  top: -2.5px;
  font-weight: 600;
}

.form-footnote span.sup,
.formidable-form .toggle-form .frm_primary_label span.sup {
  font-size: 10px;
  position: relative;
  top: -4px;
  font-weight: 600;
}

.formidable-form .asterisk,
.formidable-form .frm_required {
  color: #0590D5;
}

.formidable-form .frm_style_formidable-style.with_frm_style .frm_blank_field label {
  color: #F20045;
}

.formidable-form .frm_style_formidable-style.with_frm_style .frm_error {
  color: #F20045;
  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;
}

.formidable-form .form-text-header {
  padding: 0 0 20px;
}

.formidable-form .form-text-copy {
  padding: 0 0 30px;
}

/* FORM INPUT FIELDS */

.formidable-form .frm_form_field input,
.formidable-form .with_frm_style .frm_form_field input,
.formidable-form .with_frm_style .frm_form_field input[type=email] {
  height: 62px;
  border-radius: 0;
  outline: 0;
  border: 1px solid #D0D7E8;
  padding: 15px 20px 10px;
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  box-shadow: none;
  transition: all 250ms;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.formidable-form .frm_form_field input:hover {
  border: 1px solid #ABB5CD;
}

.formidable-form .frm_form_field input:active,
.formidable-form .frm_form_field input:focus {
  box-shadow: none !important;
  border: 1px solid #0590D5 !important;
}

/* TEXTAREA CSS */

 .formidable-form .with_frm_style textarea {
   width: 100% !important;
   border-radius: 0;
   outline: 0;
   border: 1px solid #D0D7E8;
   padding: 25px 20px 10px;
   font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
   font-size: 15px;
   box-shadow: none;
   transition: all 250ms;
   -webkit-appearance: none;
   -moz-appearance: none;
   appearance: none;
 }

 .formidable-form .with_frm_style textarea:hover {
   border: 1px solid #ABB5CD;
 }

 .formidable-form .with_frm_style textarea:active,
 .formidable-form .with_frm_style textarea:focus {
   box-shadow: none !important;
   border: 1px solid #0590D5 !important;
 }

/* DROPDOWN CSS */

.formidable-form .frm_slimselect.ss-main {
  display: flex;
  align-items: center;
  height: 62px;
  border-radius: 0;
  border: 1px solid #D0D7E8;
  padding: 15px 20px 10px;
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  box-shadow: none;
  transition: all 250ms;
}

.ss-main .ss-values .ss-placeholder {
  color: #7E8BA8;
}

.formidable-form .with_frm_style .chosen-container a.chosen-single {
  display: flex;
  align-items: center;
  height: 62px;
  border-radius: 0;
  border: 1px solid #D0D7E8;
  padding: 15px 20px 10px;
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  box-shadow: none;
  transition: all 250ms;
}

.formidable-form .with_frm_style .chosen-container a.chosen-single:hover {
  border: 1px solid #ABB5CD;
}

.formidable-form .with_frm_style .chosen-container.chosen-container-active a.chosen-single {
  box-shadow: none !important;
  border: 1px solid #0590D5 !important;
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
}

.ss-content .ss-search input,
.formidable-form .with_frm_style .chosen-container-single .chosen-search input[type="text"] {
  background-image: url('https://cdn.brief.vet/plumbs/marketing-site/images/icons/Icons_Search.svg') !important;
  background-position: center right 8px !important;
  background-size: 15px 15px !important;
  background-repeat: no-repeat;
}

.formidable-form .with_frm_style .chosen-container a.chosen-single > div > b {
  display: none;
}

/* Hide hardcoded chevron arrow and close icon from Formidable that appeared after a plugin update */
.ss-main.frm_slimselect .ss-arrow,
.ss-main .ss-deselect {
  display: none;
}

.ss-main.frm_slimselect::after {
  content: "";
  height: 60px;
  display: block;
  position: absolute;
  right: 0;
}

.ss-main.frm_slimselect::after,
.formidable-form .with_frm_style .chosen-container a.chosen-single > div {
  top: 0;
  width: 50px;
  background-image: url('https://cdn.brief.vet/plumbs/marketing-site/images/icons/Icons_Chevron_Navy_Down.svg');
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 250ms;
}

.formidable-form .frm_style_formidable-style.with_frm_style .chosen-container-single .chosen-single abbr {
  display: none;
}

.ss-main.frm_slimselect.ss-open-below::after,
.formidable-form .with_frm_style .chosen-container.chosen-with-drop a.chosen-single > div {
  top: 0;
  width: 50px;
  background-image: url('https://cdn.brief.vet/plumbs/marketing-site/images/icons/Icons_Chevron_Navy_Down.svg');
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(180deg);
}

.ss-main.frm_slimselect.ss-open-below,
.ss-content.ss-open-below,
.formidable-form .with_frm_style .chosen-container.chosen-with-drop .chosen-drop,
.ss-content .ss-search input,
.ss-content .ss-search input:focus {
  border-radius: 0;
  border: 1px solid #0590D5;
  box-shadow: none;
}

.ss-content.ss-open-below,
.formidable-form .with_frm_style .chosen-container.chosen-with-drop .chosen-drop {
  border-top: 0;
}

.ss-content .ss-search,
.ss-content .ss-list .ss-option {
  color: #535E79;
  font-size: 15px;
  line-height: 15px;
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  padding: 8px 10px;
}

.ss-content .ss-list .ss-option.ss-highlighted,
.ss-content .ss-list .ss-option:hover {
  background: #0590D5;
}

.ss-content .ss-list .ss-option:not(.ss-disabled).ss-selected {
  background: #0A2447;
}

.formidable-form  .with_frm_style .chosen-container-single .chosen-search {
  padding: 0 10px 10px;
}

.ss-content .ss-search input,
.formidable-form .frm_style_formidable-style.with_frm_style .chosen-container-single .chosen-search input[type="text"] {
  height: 42px;
  padding: 5px 15px;
}

/* clears the ‘X’ from Internet Explorer */
input[type=search]::-ms-clear { display: none; width : 0; height: 0; }
input[type=search]::-ms-reveal { display: none; width : 0; height: 0; }
/* clears the ‘X’ from Chrome */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { display: none; }

.formidable-form .with_frm_style .chosen-container .chosen-results {
  margin: 0;
  padding: 0;
}

.formidable-form .with_frm_style .chosen-container .chosen-results li {
  padding: 8px 10px;
}

.formidable-form .with_frm_style .chosen-container .chosen-results li.highlighted {
  background-image: none;
  background-color: #0590D5;
}

.formidable-form .mobile-chevron-formidable-select {
  display: none;
}

@media only screen and (max-width: 1024px) {
  .formidable-form .mobile-chevron-formidable-select {
    display: block;
    position: absolute;
    top: 35px;
    right: 20px;
  }
}

/* SELECT CSS */

.formidable-form .with_frm_style select {
  height: 62px;
  border-radius: 0;
  outline: 0;
  border: 1px solid #D0D7E8;
  padding: 15px 20px 10px;
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  box-shadow: none;
  transition: all 250ms;
  background: url('https://cdn.brief.vet/plumbs/marketing-site/images/icons/Icons_Chevron_Navy_Down.svg') !important;
  background-position: center right 20px !important;
  background-size: 10px !important;
  background-repeat: no-repeat !important;
  cursor: pointer;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance:none;
  -moz-appearance:none;
}

.formidable-form  .frm_style_formidable-style.with_frm_style select:hover {
  border: 1px solid #ABB5CD;
}

.formidable-form  .frm_style_formidable-style.with_frm_style select:active,
.formidable-form  .frm_style_formidable-style.with_frm_style select:focus {
  box-shadow: none !important;
  border: 1px solid #0590D5 !important;
}

/* BUTTON CSS */

@media only screen and (max-width: 650px) {
  .formidable-form .frm_style_formidable-style.with_frm_style .frm_submit button.frm_button_submit {
    width: 100%;
  }
}

.formidable-form .frm_style_formidable-style.with_frm_style .frm_submit button.frm_button_submit {
  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;
}

@media only screen and (max-width: 650px) {
  .formidable-form .frm_style_formidable-style.with_frm_style .frm_submit button.frm_button_submit {
    margin: 0;
  }
}

.formidable-form .frm_style_formidable-style.with_frm_style .frm_submit button.frm_button_submit:hover {
  box-shadow: rgba(7, 142, 227, 0.4) 0px 2px 24px;
}

/* SLIDER CSS */

.frm_slider:before {
  left: 2px;
  bottom: 2px;
  width: 21px;
  height: 21px;
}

input:checked + .frm_switch .frm_slider {
  background-color: transparent;
  background: linear-gradient(-90deg, #00CAE0, #0590D5);
}

/* CUSTOM FOOTNOTE */

.formidable-form .form-footnote {
  width: 100%;
  color: #535E79;
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  font-size: 15px;
}

/* ERRORS */

.formidable-form .frm_style_formidable-style.with_frm_style .frm_error_style {
  margin: 0;
  margin-bottom: 20px;
  color: #FFFFFF;
  background-color: #F20045;
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  font-size: 16px;
  border: 1px solid #F20045;
  border-radius: 0;
}

.formidable-form .frm_style_formidable-style.with_frm_style .frm_blank_field input[type=text],
.formidable-form .frm_style_formidable-style.with_frm_style .frm_blank_field input[type=password],
.formidable-form .frm_style_formidable-style.with_frm_style .frm_blank_field input[type=url],
.formidable-form .frm_style_formidable-style.with_frm_style .frm_blank_field input[type=tel],
.formidable-form .frm_style_formidable-style.with_frm_style .frm_blank_field input[type=number],
.formidable-form .frm_style_formidable-style.with_frm_style .frm_blank_field input[type=email],
.formidable-form .frm_style_formidable-style.with_frm_style .frm_blank_field textarea,
.formidable-form .frm_style_formidable-style.with_frm_style .frm_blank_field .mce-edit-area iframe,
.formidable-form .frm_style_formidable-style.with_frm_style .frm_blank_field select,
.formidable-form .frm_form_fields_error_style,
.formidable-form .frm_style_formidable-style.with_frm_style
.formidable-form .frm_blank_field .frm-g-recaptcha iframe,
.formidable-form .frm_style_formidable-style.with_frm_style .frm_blank_field .g-recaptcha iframe,
.formidable-form .frm_style_formidable-style.with_frm_style .frm_blank_field .frm-card-element.StripeElement,
.formidable-form .frm_style_formidable-style.with_frm_style .frm_blank_field .chosen-container-multi .chosen-choices,
.formidable-form .frm_style_formidable-style.with_frm_style .frm_blank_field .chosen-container-single .chosen-single,
.formidable-form .frm_style_formidable-style.with_frm_style .frm_form_field :invalid {
  border-color: #F20045;
}

/* SUCCESS */

.formidable-form .with_frm_style .frm_message {
  margin: 0;
  margin-bottom: 20px;
  color: #FFFFFF;
  background-color: #55983A;
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  font-size: 16px;
  border: 1px solid #55983A;
  border-radius: 0;
}

.formidable-form .with_frm_style .frm_message p {
  margin: 0;
  color: #FFFFFF;
  text-align: center;
}

/* Field Description Text */
.formidable-form .tooltip-message-wrapper {
  display: flex;
  flex-direction: row;
  margin: 15px 0 0;
  transition: all 250ms;
  cursor: pointer;
  align-items: center;
}

.formidable-form .formidable-tooltip .tooltip-message,
.formidable-form .formidable-tooltip .tooltip-answer,
.frm_style_formidable-style.with_frm_style div.frm_description {
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  color: #535E79;
  transition: all 250ms;
}

.frm_style_formidable-style.with_frm_style div.frm_description {
  margin: 10px 0 0;
}

.formidable-form .formidable-tooltip .tooltip-message {
  color: #0590D5;
}

.formidable-form .formidable-tooltip .tooltip-icon {
  margin: 0 0 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.formidable-form .tooltip-message-wrapper:hover .tooltip-message  {
  color: #0A2447;
}

.formidable-form .tooltip-message-wrapper .tooltip-icon path  {
  transition: all 250ms;
}

.formidable-form .tooltip-message-wrapper:hover .tooltip-icon path  {
  fill: #0A2447;
}

.formidable-form .formidable-tooltip .tooltip-answer {
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: all 250ms;
  padding: 0;
}

.formidable-form .formidable-tooltip .tooltip-answer.show {
  opacity: 1;
  height: auto;
  padding: 0;
}

.formidable-form .formidable-tooltip {
  margin-top: -35px !important;
}

/* Placeholder Text */
/* placeholder: #7E8BA8 */
/* active: #404961 */

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  opacity: 1 !important; /* Firefox */
  color: #7E8BA8 !important;
  font-size: 15px !important;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #7E8BA8 !important;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: #7E8BA8 !important;
}

/* placeholder for fancy select boxes */
.formidable-form .chosen-single span {
  color: #7E8BA8 !important;
}

/* placeholder for select boxes */
.formidable-form .frm_form_field select {
  color: #7E8BA8;
}

/* active colors */
.formidable-form .frm_form_field input,
.formidable-form .chosen-single-with-deselect span,
.formidable-form .frm_form_field[class='frm_form_field form-field frm_required_field frm_top_container'] select,
.ss-main .ss-values .ss-single {
  color: #293040;
}

/* Fancy Select Box */
.ss-main .ss-values .ss-single {
  margin: 0;
}

/* Paragraphs */
.formidable-form p {
  color: #535E79;
}

/* Confirm Email Field */
.formidable-form .frm_form_field.frm_conf_field {
  margin-top: -25px !important;
}

/* Contest Form Response */
.contest-form-submit-message h2 {
  padding: 0 0 30px;
}

/* Remove Honeypot Field From Form -- started showing after a plugin update */
.frm_fields_container [class^="frm__"] {
  display:none !important;
}
