/* Custom css for CRM form */
/* custom gf spinner */
/* img.gform_ajax_spinner {
  position: fixed !important;
  z-index: 999999;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  display: block !important;
  overflow: hidden !important;
  width: 100% !important;
  height: 100% !important;
  background-color: rgba(0, 0, 0, 0.9);
  background-image: url('data:image/svg+xml,<svg width="24" height="24" stroke="%23f8981c" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g><circle cx="12" cy="12" r="9.5" fill="none" stroke-width="3" stroke-linecap="round"><animate attributeName="stroke-dasharray" dur="1.5s" calcMode="spline" values="0 150;42 150;42 150;42 150" keyTimes="0;0.475;0.95;1" keySplines="0.42,0,0.58,1;0.42,0,0.58,1;0.42,0,0.58,1" repeatCount="indefinite"/><animate attributeName="stroke-dashoffset" dur="1.5s" calcMode="spline" values="0;-16;-59;-59" keyTimes="0;0.475;0.95;1" keySplines="0.42,0,0.58,1;0.42,0,0.58,1;0.42,0,0.58,1" repeatCount="indefinite"/></circle><animateTransform attributeName="transform" type="rotate" dur="2s" values="0 12 12;360 12 12" repeatCount="indefinite"/></g></svg>');
  background-repeat: no-repeat;
  background-size: 4rem;
  background-position: center center;
  content: "";
} */
/* confirmation message */
#gform_confirmation_wrapper_26 .container {
  text-align: center;
  margin: 50px auto;
  background: #fff;
  padding: 30px;
  border-radius: 15px;
}
#gform_confirmation_wrapper_26 .container img {
  max-width: 100%;
  height: auto;
  width: 130px;
  display: block;
  margin: 0 auto;
}
#gform_confirmation_wrapper_26 .container .tyCopy {
  margin-top: 20px;
  font-size: 1.3rem;
  line-height: 1.6;
}
.form-quotes-embeded .gform_wrapper.gravity-theme .gfield-choice-input+label {
    max-width: 100%;
}
.gform_wrapper.gravity-theme .nbfc_nbi_personallines_of_interest .gfield_required {
    font-size: inherit;
    color: inherit;
}
/* error css */
.gform_wrapper.gravity-theme .gfield_validation_message, 
.gform_wrapper.gravity-theme .validation_message {
  margin-block-start: -1px;
  padding: 5px 24px;
}
.form-quotes-embeded .gform_wrapper.gravity-theme .nbfc_consent .validation_message,
.contact-form-wrapper .gform_wrapper.gravity-theme .nbfc_consent .validation_message,
.form-quotes-embeded .gform_wrapper.gravity-theme .nbfc_annual_revenue .validation_message,
.form-quotes-embeded .gform_wrapper.gravity-theme .nbfc_nbi_personallines_of_interest .gfield_description,
.form-quotes-embeded .gform_wrapper.gravity-theme .nbfc_annual_revenue .validation_message,
.contact-form-wrapper .gform_wrapper.gravity-theme .nbfc_annual_revenue .validation_message,
.form-quotes-embeded .gform_wrapper.gravity-theme .nbfc_consent .validation_message {
  border-top: 1px solid;
}
.form-quotes-embeded .gform_wrapper.gravity-theme .gfield_validation_message, 
.form-quotes-embeded .gform_wrapper.gravity-theme .validation_message, 
.contact-form-wrapper .gform_wrapper.gravity-theme .gfield_description,
.form-quotes-embeded .gform_wrapper.gravity-theme .gfield_description,
.gform_wrapper.gravity-theme .gfield_validation_message,
.gform_wrapper.gravity-theme .validation_message {
  margin-block-start: 1px;
  padding: 5px 10px;
  border-radius: 5px;
  text-align: left;
  border-top: 0;
}
.form-quotes-embeded .gform_wrapper.gravity-theme .gfield_description {
  padding-top: 5px;
}
form .gfield_checkbox {
  height: 100%;
  flex-direction: row;
  box-sizing: border-box;
  display: flex;
  place-content: center flex-start;
  align-items: center;
}
form .gchoice {
  margin: 0 2% 3% 0;
}
form select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3c?xml version='1.0' encoding='windows-1252'?%3e%3c!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='284.929px' height='284.929px' viewBox='0 0 284.929 284.929' style='enable-background:new 0 0 284.929 284.929; fill: %231C8285' xml:space='preserve'%3e%3cg%3e%3cpath d='M282.082,76.511l-14.274-14.273c-1.902-1.906-4.093-2.856-6.57-2.856c-2.471,0-4.661,0.95-6.563,2.856L142.466,174.441 L30.262,62.241c-1.903-1.906-4.093-2.856-6.567-2.856c-2.475,0-4.665,0.95-6.567,2.856L2.856,76.515C0.95,78.417,0,80.607,0,83.082 c0,2.473,0.953,4.663,2.856,6.565l133.043,133.046c1.902,1.903,4.093,2.854,6.567,2.854s4.661-0.951,6.562-2.854L282.082,89.647 c1.902-1.903,2.847-4.093,2.847-6.565C284.929,80.607,283.984,78.417,282.082,76.511z'/%3e%3c/g%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position-x: right;
  background-position-x: 98%;
  background-position-y: center;
  background-size: 1em 1em;
}
.gform_wrapper.gravity-theme .gfield-choice-input + label,
.contact-form-wrapper .gform_wrapper.gravity-theme .gfield-choice-input + label
{
  max-width: 100%;
}
form {
  padding: 1rem;
}
.hide,
.gform_heading,
.gform_validation_errors,
.instruction,
form .hide-label {
  display: none !important;
}
.form-quotes-embeded {
  .gform_wrapper {
    display: inline-block;
    padding-top: 2rem;
    width: 100%;
    @media (max-width: 1024px) {
      width: 80%;
    }
    @media (max-width: 767px) {
      width: 100%;
    }
  }
}

form label,
form legend {
  color: #222;
  font-weight: normal !important;
  font-size: 1rem !important;
  text-align: left;
  display: inline-block !important;
  margin-bottom: 0.5rem !important;
}
form div.gfield_label {
  width: 100%;
}

legend.gfield_label.gform-field-label {
  text-align: left;
  margin-top: 10px;
}

form input[type="radio"] + label {
  padding-left: 28px;
}

form .ginput_container.ginput_container_radio {
  word-wrap: break-word;
  word-break: break-word;
}
form .gfield_radio {
  width: 100%;
  place-content: center space-between;
  align-items: center;
  grid-column-gap: 0 !important;
}

form .gfield_radio input {
  width: 16px;
  height: auto;
  margin-right: 8px;
  border-radius: 50%;
  float: left;
}

/* Inputs (selectors for all inputs)  */
form input-text,
form input[type="text"],
form input[type="input"],
form input[type="password"],
form input[type="email"],
form input[type="number"],
form input[type="url"],
form input[type="tel"],
form input[type="search"],
form select {
  display: block;
  width: 100%;
  height: calc(1.6em + 1.6rem + 4px);
  padding: 0.8rem 0.75rem;
  font-size: 1.25rem !important;
  font-weight: 300;
  line-height: 1.6;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 2px solid #d0d0d0;
  border-radius: 6px;
  /* transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; */
  margin-bottom: 1rem;
}

form input[type="text"].gfield_select {
  background-position-x: 98%;
}

form input[type="submit"] {
  background-color: #1c8285 !important;
  display: inline-block;
  font-weight: 600;
  color: #fff;
  vertical-align: middle;
  user-select: none;
  border: 2px solid transparent;
  padding: 0.8rem 2.5rem;
  font-size: 1.25rem !important;
  line-height: 1.6;
  border-radius: 2rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  display: block;
  margin: 0 auto;
}

/* custom radio and checkbox */

form input[type="radio"],
form input[type="checkbox"] {
  opacity: 0;
}

form input[type="radio"] {
  width: 100%;
  margin-right: 0;
}

form input[type="radio"] + label,
form input[type="checkbox"] + label {
  position: relative;
  cursor: pointer;
}

form input[type="checkbox"] + label {
  display: block !important;
  margin-left: 35px;
  margin-top: -21px;
}

form input[type="radio"] + label::before,
form input[type="checkbox"] + label::before {
  content: "";
  position: absolute;
  -webkit-transition: 0.25s all ease;
  -o-transition: 0.25s all ease;
  transition: 0.25s all ease;
  border: 2px solid #b2b2b2;
  width: 25px;
  height: 25px;
}

form input[type="radio"] + label::before,
form input[type="radio"] + label::after {
  left: -3px;
  top: -2px;
}

form input[type="checkbox"] + label::before {
  left: -35px;
}

form input[type="radio"] + label::after,
form input[type="checkbox"] + label::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  -webkit-transition: 0.25s all ease;
  -o-transition: 0.25s all ease;
  transition: 0.25s all ease;
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  -o-transform: scale(0);
  transform: scale(0);
}

form input[type="checkbox"] + label::after {
  left: -35px;
  top: 0;
}
form input[type="checkbox"] + label:lang(fr)::after {
  top: 0;
}

form input[type="checkbox"] + label::before,
form input[type="checkbox"] + label::after {
  border-radius: 0.25rem;
}

form input[type="radio"] + label::before,
form input[type="radio"] + label::after {
  border-radius: 50%;
}

form input[type="radio"]:checked + label::after,
form input[type="checkbox"]:checked + label::after {
  background: black;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
  content: "\2713";
  line-height: 1.6;
  text-align: center;
  color: #fff;
  font-size: 1rem !important;
  font-family: system-ui;
}

/* The background is removed in Windows high-contrast mode, so we
       need to set it explicitly here. `WindowText` is a system color
       that should work with whatever high contrast mode the user
       has set. */
@media screen and (-ms-high-contrast: active) {
  form input[type="radio"]:checked + label::after,
  form input[type="checkbox"]:checked + label::after {
    background: WindowText;
  }
}

form input[type="radio"]:focus + label::before,
form input[type="checkbox"]:focus + label::before,
form input[type="text"]:focus,
form input[type="input"]:focus,
form input[type="password"]:focus,
form input[type="email"]:focus,
form input[type="number"]:focus,
form input[type="url"]:focus,
form input[type="tel"]:focus,
form input[type="search"]:focus,
form textarea:focus,
form select:focus {
  /* The first box shadow makes the border thicker without
       moving the UI (like border-width would). */
  box-shadow: 0 0px 0px 1px #d77c04, 0 0px 8px #d77c04;
  /* Since box shadows don't show up in high contrast mode,
       we're adding a transparent outline (which does show up). */
  outline: 2px dotted transparent !important;
}

@media only screen and (max-width: 767px) {
  form .gfield_radio {
    place-content: flex-start space-evenly;
    align-items: flex-start;
    text-align: left;
    margin-left: 10px;
  }
}
/* End of custom css for crm form */


/* Material Design Submit Button */
.gform_button.button,
.gform_wrapper.gravity-theme .gform_footer input {
    margin: 0 auto;
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    padding: 0 40px;
    min-width: 150px;
    height: 55px;
    border: none;
    border-radius: 30px;
    background-color: #1d8284;
    color: #fff;
    font-family: inherit;
    font-size: 1.25rem;
    font-weight: 600;
    /* letter-spacing: 0.1em; */
    text-transform: initial;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 1px -2px rgba(0,0,0,0.2), 
                0 2px 2px 0 rgba(0,0,0,0.14), 
                0 1px 5px 0 rgba(0,0,0,0.12);
}

/* Hover state */
.gform_button.button:hover {
    background-color: #1a797a;
    box-shadow: 0 2px 4px -1px rgba(0,0,0,0.2), 
                0 4px 5px 0 rgba(0,0,0,0.14), 
                0 1px 10px 0 rgba(0,0,0,0.12);
}

/* Active/Pressed state */
.gform_button.button:active {
    background-color: #1a797a;
    box-shadow: 0 5px 5px -3px rgba(0,0,0,0.2), 
                0 8px 10px 1px rgba(0,0,0,0.14), 
                0 3px 14px 2px rgba(0,0,0,0.12);
}

/* Focus state */
.gform_button.button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 164, 172, 0.4);
}

/* Disabled state */
.gform_button.button:disabled {
    background-color: rgba(0, 0, 0, 0.12);
    color: rgba(0, 0, 0, 0.38);
    cursor: not-allowed;
    box-shadow: none;
}

/* Ripple effect on click */
.gform_button.button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.gform_button.button:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

/* Submit button container */
.gform_footer {
    position: relative;
}

/* Base button styles */
.gform_wrapper.gravity-theme .gform-loader {
  display: none !important;
}
/* Spinner styles */
.button__spinner {
    display: none;
    position: absolute;
    right: 10px;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top: 2px solid #fff;
    border-radius: 50%;
    top: 30%;
}

/* Processing state */
.gform_wrapper.processing .gform_button.button {
    padding-right: 44px; /* Make room for spinner */
    pointer-events: none;
    opacity: 0.8;
}

.gform_wrapper.processing .button__spinner {
    display: block;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
