/*region form-general*/
[class*="fas fa"] {
  font-family: "FontAwesome" !important;
}

[class*="fa fa"] {
  font-family: "Font Awesome 5 Free" !important;
}

.gform_body .gfield .main_label > label {
  margin: 0;
}
.gform_body .gfield .main_label > label > i {
  margin-right: 5px;
}

/* gform ready class*/
.gf_list_2col .gfield_checkbox,
.gf_list_2col .gfield_radio,
.gf_list_3col .gfield_checkbox,
.gf_list_3col .gfield_radio {
  display: block !important;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  form:not(.bg_default_theme) .BG_Button .gf_tooltip_body {
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
  }

  form:not(.bg_default_theme) .gf_tooltip_body {
    z-index: 1;
  }
}

@font-face {
  font-family: "bgicon";
  src: url("../../font/bgicon/bgicon.eot?29850996");
  src: url("../../font/bgicon/bgicon.eot?29850996#iefix")
      format("embedded-opentype"),
    url("../../font/bgicon/bgicon.woff2?29850996") format("woff2"),
    url("../../font/bgicon/bgicon.woff?29850996") format("woff"),
    url("../../font/bgicon/bgicon.ttf?29850996") format("truetype"),
    url("../../font/bgicon/bgicon.svg?29850996#bgicon") format("svg");
  font-weight: normal;
  font-style: normal;
}

.gf_progressbar_wrapper .gf_progressbar_title,
.gf_progressbar_wrapper .gf_progressbar_percentage > span {
  display: none !important;
}

.button:focus,
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus {
  outline: none !important;
}

.icon-ok-3:before {
  content: "\23";
}
/* '#' */
.icon-ok-4:before {
  content: "\24";
}
/* '$' */
.icon-ok-1:before {
  content: "\25";
}
/* '%' */
.icon-ok-5:before {
  content: "\28";
}
/* '(' */
.icon-cancel-1:before {
  content: "\29";
}
/* ')' */
.icon-right-open-1:before {
  content: "\31";
}
/* '1' */
.icon-spin1:before {
  content: "\32";
}
/* '2' */
.icon-spin4:before {
  content: "\33";
}
/* '3' */
.icon-spin5:before {
  content: "\34";
}
/* '4' */
.icon-spin6:before {
  content: "\35";
}
/* '5' */
.icon-desktop:before {
  content: "\36";
}
/* '6' */
.icon-laptop:before {
  content: "\37";
}
/* '7' */
.icon-tablet:before {
  content: "\38";
}
/* '8' */
.icon-mobile:before {
  content: "\39";
}
/* '9' */
.icon-info-1:before {
  content: "\41";
}
/* 'A' */
.icon-info-3:before {
  content: "\43";
}
/* 'C' */
.icon-info:before {
  content: "\44";
}
/* 'D' */
.icon-ok:before {
  content: "\45";
}
/* 'E' */
.icon-ok-circled:before {
  content: "\46";
}
/* 'G' */
.icon-asset-21:before {
  content: "\48";
}
/* 'H' */
.icon-asset-2-1:before {
  content: "\49";
}
/* 'I' */
.icon-cancel:before {
  content: "\4a";
}
/* 'J' */
.icon-plus:before {
  content: "\4b";
}
/* 'K' */
.icon-pencil:before {
  content: "\4c";
}
/* 'L' */
.icon-upload:before {
  content: "\4d";
}
/* 'M' */
.icon-download:before {
  content: "\4e";
}
/* 'N' */
.icon-trash:before {
  content: "\4f";
}
/* 'O' */
.icon-palette:before {
  content: "\50";
}
/* 'P' */
.icon-cog:before {
  content: "\51";
}
/* 'Q' */
.icon-down-open:before {
  content: "\55";
}
/* 'U' */
.icon-left-open-1:before {
  content: "\5a";
}
/* 'Z' */
.icon-help-circled:before {
  content: "\61";
}
/* 'a' */
.icon-question-circle-o:before {
  content: "\62";
}
/* 'b' */
.icon-help:before {
  content: "\63";
}
/* 'c' */
.icon-help-circled-1:before {
  content: "\64";
}
/* 'd' */
.icon-help-circled-2:before {
  content: "\66";
}
/* 'f' */
.icon-help-circled-3:before {
  content: "\67";
}
/* 'g' */
.icon-help-2:before {
  content: "\68";
}
/* 'h' */
.icon-help-circled-alt:before {
  content: "\69";
}
/* 'i' */
.icon-help-3:before {
  content: "\6a";
}
/* 'j' */
.icon-question:before {
  content: "\6b";
}
/* 'k' */
.icon-attention-alt:before {
  content: "\6c";
}
/* 'l' */
.icon-attention:before {
  content: "\6d";
}
/* 'm' */
.icon-attention-circled:before {
  content: "\6e";
}
/* 'n' */
.icon-attention-1:before {
  content: "\6f";
}
/* 'o' */
.icon-attention-filled:before {
  content: "\70";
}
/* 'p' */
.icon-warning-empty:before {
  content: "\71";
}
/* 'q' */
.icon-warning:before {
  content: "\72";
}
/* 'r' */
.icon-attention-3:before {
  content: "\73";
}
/* 's' */
.icon-attention-4:before {
  content: "\74";
}
/* 't' */
.icon-attention-alt-1:before {
  content: "\75";
}
/* 'u' */
.icon-attention-2:before {
  content: "\76";
}
/* 'v' */
.icon-info-circled-2:before {
  content: "\77";
}
/* 'w' */
.icon-info-2:before {
  content: "\78";
}
/* 'x' */
.icon-info-circled-alt:before {
  content: "\79";
}
/* 'y' */
.icon-info-circled-1:before {
  content: "\7a";
}
/* 'z' */
.icon-back:before {
  content: "\e802";
}
/* '' */
.icon-backmirrored:before {
  content: "\e803";
}
/* '' */
.icon-backspaceqwertylg:before {
  content: "\e804";
}
/* '' */
.icon-cancel-2:before {
  content: "\e805";
}
/* '' */
.icon-checkmark:before {
  content: "\e806";
}
/* '' */
.icon-chevrondown:before {
  content: "\e807";
}
/* '' */
.icon-chevronup:before {
  content: "\e808";
}
/* '' */
.icon-unknown:before {
  content: "\e809";
}
/* '' */
.icon-unknownmirrored:before {
  content: "\e80a";
}
/* '' */

.gf_browser_ie {
  display: block !important;
}
form:not(.bg_default_theme) .gform_body .gfield {
  margin-top: 24px !important;
  position: relative;
}

form:not(.bg_default_theme) .gform_body div,
form:not(.bg_default_theme) .gform_body > ul > li > div {
  margin-top: 5px;
}

form:not(.bg_default_theme) .gform_body > .ginput_complex span {
  padding-top: 0 !important;
}

.gform_wrapper label.gfield_label,
.gform_wrapper legend.gfield_label {
  font-weight: 500 !important;
}

.gform_wrapper > form:not(.bg_default_theme) {
  color: inherit !important;
}

.gform_wrapper > form:not(.bg_default_theme) .search-field {
  display: block;
  width: 100% !important;
  margin: 4px 0 !important;
  position: relative;
}

.gform_wrapper
  > form:not(.bg_default_theme)
  .search-field
  .chosen-search-input {
  width: 100% !important;
}

.gform_wrapper
  > form:not(.bg_default_theme):not(.BG_Material)
  input[type="text"],
.gform_wrapper > form:not(.bg_default_theme) .chosen-choices {
  background-color: transparent !important;
  background-image: none !important;
}

.gform_wrapper
  > form:not(.bg_default_theme):not(.BG_Material)
  input[type="text"],
.gform_wrapper > form:not(.bg_default_theme) select,
.gform_wrapper
  > form:not(.bg_default_theme):not(.BG_Material)
  input[type="text"],
.gform_wrapper > form:not(.bg_default_theme) .chosen-single,
.gform_wrapper
  > form:not(.bg_default_theme):not(.BG_Material)
  input[type="text"],
.gform_wrapper > form:not(.bg_default_theme) .chosen-choices {
  /* background: var(--input-background-color) !important; */
  box-shadow: none !important;
  line-height: 1.25 !important;
}

.gform_wrapper > form:not(.bg_default_theme).BG_Dark > select > option {
  background: #363636 !important;
}

/* .gform_wrapper > form:not(.bg_default_theme).BG_Light  >  select > option {
        background: var(--option-background-color-light) !important
    } */

.gform_wrapper
  form:not(.bg_default_theme)
  input[type="checkbox"]:checked
  ~ label,
.gform_wrapper form:not(.bg_default_theme) input[type="radio"]:checked ~ label {
  font-weight: 400 !important;
}

.gform_wrapper form:not(.bg_default_theme) input[type="checkbox"] ~ label,
.gform_wrapper form:not(.bg_default_theme) input[type="radio"] ~ label {
  user-select: none !important;
}

.gform_wrapper form:not(.bg_default_theme) .BG_filecancel_icon {
  cursor: pointer;
}

.gform_wrapper
  form:not(.bg_default_theme):not(.BG_Material):not(.BG_Material_out):not(
    .BG_Material_out_rnd
  )
  .address_country {
  margin-top: 0 !important;
}

form:not(.bg_default_theme) .BG_toggle label,
form:not(.bg_default_theme) .BG_toggle label {
  display: flex !important;
  position: relative;
  justify-content: flex-end;
  flex-direction: row-reverse;
  align-items: center;
  max-width: 100% !important;
}

form:not(.bg_default_theme) .BG_toggle {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

form:not(.bg_default_theme) .gform_fileupload_multifile {
  width: 100%;
}

form:not(.bg_default_theme) .gform_fileupload_multifile .bg_button_container {
  display: inline-block;
  margin: 0 auto !important;
}

form:not(.bg_default_theme) .gform_delete {
  display: inline-block;
}

form:not(.bg_default_theme) .gform_page_footer {
  border-top: none !important;
}

.SIBG-line-holder span {
  margin-bottom: 0 !important;
}

form:not(.bg_default_theme) .ginput_container {
  position: relative;
  text-align: left !important;
}

.gform_wrapper form:not(.bg_default_theme) .main_label {
  display: flex;
  align-items: center;
}

form:not(.bg_default_theme)
  .image-choices-choice.BG_default
  input[type="radio"]
  ~ label,
form:not(.bg_default_theme)
  .image-choices-choice.BG_default
  input[type="checkbox"]
  ~ label {
  margin-left: 0 !important;
  display: block !important;
}

form:not(.bg_default_theme).BG_small_size,
form:not(.bg_default_theme).BG_small_size .chosen-results,
form:not(.bg_default_theme).BG_small_size .chosen-single span,
form:not(.bg_default_theme).BG_small_size select option,
form:not(.bg_default_theme).BG_small_size .gfield_checkbox label,
form:not(.bg_default_theme).BG_small_size .gfield_radio label,
form:not(.bg_default_theme).BG_small_size input[type="text"],
form:not(.bg_default_theme).BG_small_size input[type="tel"],
form:not(.bg_default_theme).BG_small_size input[type="number"],
form:not(.bg_default_theme).BG_small_size input[type="email"] {
  font-size: 12px !important;
  font-weight: 400 !important;
}

form:not(.bg_default_theme).BG_medium_size,
form:not(.bg_default_theme).BG_medium_size .chosen-results,
form:not(.bg_default_theme).BG_medium_size .chosen-single span,
form:not(.bg_default_theme).BG_medium_size select option,
form:not(.bg_default_theme).BG_medium_size .gfield_checkbox label,
form:not(.bg_default_theme).BG_medium_size .gfield_radio label,
form:not(.bg_default_theme).BG_medium_size input[type="text"],
form:not(.bg_default_theme).BG_medium_size input[type="tel"],
form:not(.bg_default_theme).BG_medium_size input[type="number"],
form:not(.bg_default_theme).BG_medium_size input[type="email"] {
  font-size: 14px !important;
  font-weight: 400 !important;
  max-width: unset !important;
}

form:not(.bg_default_theme).BG_large_size,
form:not(.bg_default_theme).BG_large_size .chosen-results,
form:not(.bg_default_theme).BG_large_size .chosen-single span,
form:not(.bg_default_theme).BG_large_size select option,
form:not(.bg_default_theme).BG_large_size .gfield_checkbox label,
form:not(.bg_default_theme).BG_large_size .gfield_radio label,
form:not(.bg_default_theme).BG_large_size input[type="text"],
form:not(.bg_default_theme).BG_large_size input[type="tel"],
form:not(.bg_default_theme).BG_large_size input[type="number"],
form:not(.bg_default_theme).BG_large_size input[type="email"] {
  font-size: 16px !important;
  max-width: unset !important;
  font-weight: 400 !important;
}

form:not(.bg_default_theme).BG_xlarge_size,
form:not(.bg_default_theme).BG_xlarge_size .chosen-results,
form:not(.bg_default_theme).BG_xlarge_size .chosen-single span,
form:not(.bg_default_theme).BG_xlarge_size .gfield_label,
form:not(.bg_default_theme).BG_xlarge_size select option,
form:not(.bg_default_theme).BG_xlarge_size .gfield_checkbox label,
form:not(.bg_default_theme).BG_xlarge_size .gfield_radio label,
form:not(.bg_default_theme).BG_xlarge_size input[type="text"],
form:not(.bg_default_theme).BG_xlarge_size input[type="tel"],
form:not(.bg_default_theme).BG_xlarge_size input[type="number"],
form:not(.bg_default_theme).BG_xlarge_size input[type="email"] {
  font-size: 18px !important;
  max-width: unset !important;
  font-weight: 400 !important;
}

form:not(.bg_default_theme).BG_xlarge_size:not(.BG_Material):not(
    .BG_Material_out
  ):not(.BG_Material_out_rnd)
  input,
form:not(.bg_default_theme).BG_xlarge_size:not(.BG_Material):not(
    .BG_Material_out
  ):not(.BG_Material_out_rnd)
  .chosen-single,
form:not(.bg_default_theme).BG_xlarge_size:not(.BG_Material):not(
    .BG_Material_out
  ):not(.BG_Material_out_rnd)
  select,
form:not(.bg_default_theme).BG_large_size:not(.BG_Material):not(
    .BG_Material_out
  ):not(.BG_Material_out_rnd)
  input,
form:not(.bg_default_theme).BG_large_size:not(.BG_Material):not(
    .BG_Material_out
  ):not(.BG_Material_out_rnd)
  .chosen-single,
form:not(.bg_default_theme).BG_large_size:not(.BG_Material):not(
    .BG_Material_out
  ):not(.BG_Material_out_rnd)
  select:not([multiple="multiple"]) {
  height: 40px !important;
}

form:not(.bg_default_theme).BG_medium_size:not(.BG_Material) input,
form:not(.bg_default_theme).BG_medium_size:not(.BG_Material)
  select:not([multiple="multiple"]),
form:not(.bg_default_theme).BG_medium_size:not(.BG_Material) input,
form:not(.bg_default_theme).BG_medium_size:not(.BG_Material) .chosen-single {
  height: 35px !important;
}

form:not(.bg_default_theme).BG_small_size:not(.BG_Material):not(
    .BG_Material_out
  ):not(.BG_Material_out_rnd)
  input,
form:not(.bg_default_theme).BG_small_size:not(.BG_Material):not(
    .BG_Material_out
  ):not(.BG_Material_out_rnd)
  select:not([multiple="multiple"]),
form:not(.bg_default_theme).BG_small_size:not(.BG_Material):not(
    .BG_Material_out
  ):not(.BG_Material_out_rnd)
  .chosen-single {
  height: 33px !important;
}

.gform_wrapper form:not(.bg_default_theme).BG_large_size .BG_Button label {
  margin: 0 !important;
  line-height: 1.25 !important;
}

.gform_wrapper form:not(.bg_default_theme).BG_medium_size .BG_Button label {
  margin: 0 !important;
  line-height: 1.2 !important;
}

.gform_wrapper form:not(.bg_default_theme).BG_small_size .BG_Button label {
  margin: 0 !important;
  line-height: 1.3 !important;
}

form:not(.bg_default_theme).BG_medium_size .BG_Button .gf_tooltip_body {
  line-height: 1 !important;
}

.gform_wrapper form:not(.bg_default_theme) select[multiple="multiple"] {
  overflow: hidden !important;
  padding-right: 3px !important;
  border: 1px solid #000;
}

.gform_wrapper
  form:not(.bg_default_theme)
  .field_description_below
  .gfield_description {
  padding-top: 0 !important;
}

form:not(.bg_default_theme)
  .gform_page_fields
  .ginput_container
  select:not([multiple="multiple"]) {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background: none !important;
  background-size: 40px !important;
  background-repeat: no-repeat !important;
}

form:not(.bg_default_theme)
  :not(.bg_multiple_upload)
  .ginput_container_fileupload {
  position: relative;
  display: flex;
}

form:not(.bg_default_theme) .bg_multiple_upload .ginput_container_fileupload {
  display: block !important;
}

form:not(.bg_default_theme) .field_sublabel_hidden_label .main_label {
  display: none !important;
}

form:not(.bg_default_theme) .gfield.gf_right_half .ginput_complex > span {
  margin-top: 0 !important;
}

form:not(.bg_default_theme) div:not(.chosen-container) ~ .outline_container {
  display: none !important;
}

form:not(.bg_default_theme) .outline_container label {
  word-break: normal !important;
  word-wrap: unset !important;
}

.gform_wrapper
  .field_sublabel_hidden_label
  .ginput_complex.ginput_container
  input[type="text"],
.gform_wrapper
  .field_sublabel_hidden_label
  .ginput_complex.ginput_container
  select {
  margin-bottom: 0 !important;
}

form:not(.bg_default_theme) .BG_fileupload {
  height: 36px;
  border: 1px solid #8a8886;
  display: flex !important;
  align-items: center;
  position: relative;
  cursor: pointer;
  padding: 0 8px;
  overflow: hidden;
  background: #ffffff36;
}

form:not(.bg_default_theme)
  :not(.bg_multiple_upload)
  .ginput_container_post_image,
form:not(.bg_default_theme)
  :not(.bg_multiple_upload)
  .ginput_container_fileupload {
  display: flex;
  align-items: center;
}

form:not(.bg_default_theme) .BG_fileupload_icon {
  width: 18px;
  height: 18px;
  display: flex;
  margin-right: 8px;
  align-items: center;
  font-size: 20px;
  font-style: normal;
}

form:not(.bg_default_theme) i.BG_fileupload_icon:before {
  content: "\4d";
  font-family: bgicon;
  position: relative;
}

form:not(.bg_default_theme) .BG_fileupload_icon_selected {
  position: relative;
  margin-right: 20px;
}

form:not(.bg_default_theme) .BG_fileupload_icon_selected:before {
  content: "\24";
  font-family: bgicon;
  top: 50%;
  font-style: normal;
  position: absolute;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
}

form:not(.bg_default_theme) .BG_filecancel_icon:before {
  content: "\29";
  font-family: bgicon;
  font-style: normal;
  margin-left: 8px;
}

form:not(.bg_default_theme) .BG_fileupload_text {
  display: inline-block;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 90%;
  overflow: hidden;
}

form:not(.bg_default_theme) .ginput_preview {
  display: none;
}

form:not(.bg_default_theme)
  .ginput_container_fileupload
  .gform_drop_area
  .ginput_preview {
  display: block !important;
}

/* form:not(.bg_default_theme) input[type='file'] {
    display: none
} */

.multiple-input-container {
  left: 50% !important;
  top: 50% !important;
  width: 150px !important;
  height: 36px !important;
  cursor: pointer;
  transform: translate(-50%, -50%) !important;
  -webkit-transform: translate(-50%, -50%) !important;
  -moz-transform: translate(-50%, -50%) !important;
  -ms-transform: translate(-50%, -50%) !important;
  -o-transform: translate(-50%, -50%) !important;
}

.multiple-input-container input {
  cursor: pointer;
}

form:not(.bg_default_theme) .gform_body button,
form:not(.bg_default_theme) .gform_body textarea,
form:not(.bg_default_theme) .gform_body input[type="submit"],
form:not(.bg_default_theme) .gform_body input[type="button"] {
  outline: none !important;
  font-family: inherit !important;
}

form:not(.bg_default_theme) h3 {
  font-family: inherit !important;
}

form:not(.bg_default_theme) .gfield_visibility_hidden {
  display: none !important;
}

form:not(.bg_default_theme) .validation_message {
  color: red !important;
}

.gform_wrapper
  form:not(.bg_default_theme)
  .gfield.gfield_error.gfield_contains_required
  label.gfield_label {
  margin-top: 0 !important;
}

.gform_wrapper.gform_validation_error
  form:not(.bg_default_theme)
  .gform_body
  .gfield.gfield_error {
  border: none !important;
  background: none !important;
}

.gform_wrapper
  form:not(.bg_default_theme)
  .gform_body
  .gfield.gfield_error:not(.gf_left_half):not(.gf_right_half)
  input,
.gform_wrapper
  .gform_body
  .gfield.gfield_error:not(.gf_left_half):not(.gf_right_half)
  label {
  color: red !important;
  border-color: red !important;
}

form:not(.bg_default_theme).BG_xlarge_size .BG_fileupload_text {
  margin-top: 0 !important;
}

/* form:not(.bg_default_theme).BG_large_size .BG_fileupload_text {
    margin-top: 2px !important
} */

#gform_wrapper_[form_id]
  form:not(.bg_default_theme):not(.BG_Material)
  .gform_body
  .gfield.gfield_error:not(.gf_left_half):not(.gf_right_half)
  .ginput_container
  select,
#gform_wrapper_[form_id]
  form:not(.bg_default_theme):not(.BG_Material)
  .gform_body
  .gfield.gfield_error
  .ginput_container
  .chosen-single {
  color: red !important;
  border: 1px solid red !important;
}

form:not(.bg_default_theme) input:-webkit-autofill,
form:not(.bg_default_theme) input:-webkit-autofill:hover,
form:not(.bg_default_theme) input:-webkit-autofill:focus,
form:not(.bg_default_theme) input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #fff inset !important;
}

form:not(.bg_default_theme) .ginput_container .chosen-single {
  box-shadow: unset !important;
  display: flex;
  justify-content: center;
  flex-direction: column;
  outline: unset !important;
}

form:not(.bg_default_theme) .ginput_container .chosen-single > div {
  display: none !important;
}

form:not(.bg_default_theme).BG_Dark input:-webkit-autofill,
form:not(.bg_default_theme).BG_Dark input:-webkit-autofill:hover,
form:not(.bg_default_theme).BG_Dark input:-webkit-autofill:focus,
form:not(.bg_default_theme).BG_Dark input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #363636 inset;
}

.gform_wrapper form:not(.bg_default_theme) div.validation_error {
  display: none !important;
}

form:not(.bg_default_theme) .gfield .bg_error_message {
  color: red !important;
  position: relative !important;
}

form:not(.bg_default_theme) .ginput_container_fileupload .bg_error_message {
  color: red !important;
  position: absolute !important;
  top: 100%;
}

form:not(.bg_default_theme) .gform_page_footer {
  display: inline-block;
  width: 100% !important;
}

@media only screen and (min-width: 641px) {
  form:not(.bg_default_theme)
    .gform_page_footer
    .button:not(.gform_previous_button),
  form:not(.bg_default_theme)
    .gform_footer
    .button:not(.gform_previous_button) {
    float: right !important;
  }
}

form:not(.bg_default_theme) .ginput_container .datepicker.medium {
  width: calc(50% - 8px) !important;
}

form:not(.bg_default_theme) .button {
  height: 36px !important;
}

@media only screen and (max-width: 641px) {
  form:not(.bg_default_theme) .gform_page_footer .bg_footer_container {
    display: block !important;
  }

  form:not(.bg_default_theme):not(.BG_Material_out):not(.BG_Material):not(
      .BG_Material_out_rnd
    )
    .gform_page_footer
    .button,
  form:not(.bg_default_theme):not(.BG_Material_out):not(.BG_Material):not(
      .BG_Material_out_rnd
    )
    .gform_footer
    .button {
    margin: 8px 0 !important;
  }
}

form:not(.bg_default_theme) .bg_footer_container {
  display: flex !important;
  justify-content: flex-end;
  align-items: center;
}

@keyframes bg_spin {
  0% {
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
  }

  100% {
    transform: rotate(359deg);
    -webkit-transform: rotate(359deg);
    -moz-transform: rotate(359deg);
    -ms-transform: rotate(359deg);
    -o-transform: rotate(359deg);
  }
}

@-webkit-keyframes bg_spin {
  0% {
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
  }
}

form .gform_page_footer .bg-spin {
  font-family: bgicon;
  font-style: normal;
  display: inline-block;
  animation: bg_spin 3s linear infinite;
  -webkit-animation: bg_spin 3s linear infinite;
  margin-right: 16px;
  position: relative;
}

form:not(.bg_default_theme) .gf_tooltip_body {
  margin: 0 0 0 5px !important;
}

form:not(.bg_default_theme) .BG_Button .gf_tooltip_body {
  position: absolute !important;
}

form:not(.bg_default_theme) .BG_check {
  margin-bottom: 0 !important;
  flex-shrink: 0;
}

@media only screen and (max-width: 641px) {
  form:not(.bg_default_theme) .bg_prev_button_container {
    display: block !important;
  }

  form:not(.bg_default_theme) .bg_button_container {
    margin: 5px !important;
  }

  form:not(.bg_default_theme) .ginput_container .BG_check {
    margin-bottom: 0 !important;
  }
}

.gform_wrapper form:not(.bg_default_theme) .BG_Button .gchoice,
.gform_wrapper form:not(.bg_default_theme) .BG_Button > div {
  margin-right: 5px;
  position: relative;
}

form:not(.bg_default_theme)
  .BG_Icon:not(.BG_Icon)
  :not(.BG_Button)
  i:not(.dashicons) {
  width: 20px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 10px;
  transition: all 0.1s linear;
  -webkit-transition: all 0.1s linear;
  -moz-transition: all 0.1s linear;
  -ms-transition: all 0.1s linear;
  -o-transition: all 0.1s linear;
}

form:not(.bg_default_theme) .ui-datepicker-trigger {
  display: none !important;
}

form:not(.bg_default_theme) .BG_Icon i:not(.dashicons),
form:not(.bg_default_theme) i:not(.dashicons) {
  position: relative;
  left: 0;
}

form:not(.bg_default_theme) .BG_Icon {
  position: relative;
}

form:not(.bg_default_theme) input,
form:not(.bg_default_theme) select,
form:not(.bg_default_theme) .chosen-single {
  padding-left: 32px !important;
  transition: all 0.1s linear;
  -webkit-transition: all 0.1s linear;
  -moz-transition: all 0.1s linear;
  -ms-transition: all 0.1s linear;
  -o-transition: all 0.1s linear;
}

form:not(.bg_default_theme):not(.BG_Material):not(.BG_Material_out):not(
    .BG_Material_out_rnd
  )
  input:focus {
  padding-left: 8px !important;
  transition: all 0.1s linear;
  -webkit-transition: all 0.1s linear;
  -moz-transition: all 0.1s linear;
  -ms-transition: all 0.1s linear;
  -o-transition: all 0.1s linear;
}

form:not(.bg_default_theme) input ~ i:before {
  transition: all 0.1s linear;
  -webkit-transition: all 0.1s linear;
  -moz-transition: all 0.1s linear;
  -ms-transition: all 0.1s linear;
  -o-transition: all 0.1s linear;
}

form:not(.bg_default_theme):not(.BG_Material) input:focus ~ i:before {
  transform: translateX(-100%);
  transition: all 0.1s linear;
  -webkit-transition: all 0.1s linear;
  -moz-transition: all 0.1s linear;
  -ms-transition: all 0.1s linear;
  -o-transition: all 0.1s linear;
  -webkit-transform: translateX(-100%);
  -moz-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  -o-transform: translateX(-100%);
}

form:not(.bg_default_theme) input ~ i {
  overflow: hidden;
  display: flex;
}

form .gform_body .gform_fields .gfield:first-child {
  margin-top: 0 !important;
}

form:not(.bg_default_theme) .bg_prev_button_container {
  position: relative;
  display: inline-block;
  overflow: hidden;
  margin: 5px;
}

form:not(.bg_default_theme)
  .ginput_container_date.ginput_container
  select:not([multiple="multiple"]) {
  background-position: calc(100% - 6px), 15px !important;
  padding-right: 10px !important;
}

form:not(.bg_default_theme) .bg_button_container {
  position: relative;
  display: inline-block;
  display: flex;
  justify-content: flex-end;
  overflow: hidden;
  margin: 5px 5px 5px 16px;
}

form .hidden_label input {
  margin-top: 0 !important;
}

form:not(.bg_default_theme) .hidden_label .main_label {
  display: none !important;
}

form:not(.bg_default_theme) .gfield_radio,
form:not(.bg_default_theme) .gfield_checkbox {
  overflow: visible;
}
/* 
form:not(.bg_default_theme) .gfield_radio  label,
form:not(.bg_default_theme) .gfield_checkbox  label{
    width:100%;
} */
form:not(.bg_default_theme) .gf_list_2col * {
  overflow: visible !important;
}
form:not(.bg_default_theme) .bg_button_container img {
  display: none !important;
}

/* @media only screen and (min-width: 641px){
    .gform_wrapper .BG_sharp .ginput_complex .ginput_right{
        margin: 0 !important;
    }

    .gform_wrapper .ginput_complex .ginput_right{
        margin: 16px 3px 0 0 !important;
    }
} */

form:not(.bg_default_theme) .button {
  margin: 0 !important;
}

form.BG_Material_out input,
form.BG_Material input,
form.BG_Material_out_rnd input,
form.BG_Material_out select,
form.BG_Material select,
form.BG_Material_out_rnd select {
  box-shadow: unset !important;
}

form:not(.bg_default_theme):not(.BG_Material_out):not(.BG_Material):not(
    .BG_Material_out_rnd
  )
  .button {
  margin: 0 0 0 16px !important;
  line-height: 1.1;
}

form:not(.bg_default_theme) .gfield_date_year {
  max-width: unset !important;
}

/*endregion*/
/*region BG_Microsoft*/
/*region general*/
.BG_Microsoft select {
  margin-top: 0 !important;
}

.BG_Microsoft .name_prefix_select label {
  margin-top: -2px !important;
}

.BG_Microsoft input,
.BG_Microsoft select:not([multiple="multiple"]),
.BG_Microsoft .chosen-single {
  padding: 6px 6px 6px 6px !important;
}

.BG_Microsoft .gfield_date_year input {
  padding: 6px 4px 6px 4px !important;
}

.BG_Microsoft .gfield_time_hour i {
  position: relative;
  top: -50%;
  padding-left: 5px;
}

.gform_wrapper .BG_Microsoft .gfield_radio div input[type="radio"],
.BG_Microsoft .gfield_checkbox div input[type="checkbox"],
.gform_wrapper .BG_Microsoft .gfield_radio input[type="radio"],
.BG_Microsoft .gfield_checkbox input[type="checkbox"] {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  min-width: unset !important;
  min-height: unset !important;
  opacity: 0 !important;
  padding: 0 !important;
}

.BG_Microsoft .BG_fileupload {
  border-radius: 2px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
}

.BG_Microsoft
  :not(.image-choices-use-images)
  .BG_default
  input[type="radio"]
  ~ label,
.BG_Microsoft
  :not(.image-choices-use-images)
  .BG_default
  input[type="checkbox"]
  ~ label {
  position: relative;
  margin-left: 28px !important;
}

.BG_Microsoft
  .BG_default
  input[type="checkbox"]:hover
  ~ label
  > .BG_check:after {
  display: inline-block;
  color: #605e5c;
}

.BG_Microsoft
  .BG_default
  input[type="checkbox"]:checked
  ~ label
  > .BG_check:after {
  border-color: #fff;
  display: inline-block;
}

.BG_Microsoft
  .BG_default
  input[type="checkbox"]:checked:hover
  ~ label
  > .BG_check:after {
  color: white !important;
}

.BG_Microsoft .BG_default input[type="radio"]:hover ~ label .BG_check:after {
  display: inline-block;
}

.BG_Microsoft .BG_default input[type="checkbox"] ~ label > .BG_check:after {
  content: "\e806";
  font-family: bgicon;
  position: absolute;
  right: calc(100% + 10px);
  color: white;
  display: none;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.1s cubic-bezier(0.4, 0, 0.23, 1);
  -webkit-transition: all 0.1s cubic-bezier(0.4, 0, 0.23, 1);
  -moz-transition: all 0.1s cubic-bezier(0.4, 0, 0.23, 1);
  -ms-transition: all 0.1s cubic-bezier(0.4, 0, 0.23, 1);
  -o-transition: all 0.1s cubic-bezier(0.4, 0, 0.23, 1);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
}

.BG_Microsoft .BG_default input[type="checkbox"] ~ label > .BG_check:before,
.BG_Microsoft .BG_default input[type="checkbox"] ~ label > .BG_check:before {
  content: "";
  width: 20px;
  height: 20px;
  border: 1px solid #323130;
  display: inline-block;
  position: absolute;
  right: calc(100% + 7px);
  top: 50%;
  border-radius: 2px;
  transform: translateY(-50%);
  transition: all 0.2s linear;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -ms-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
}

.BG_Microsoft .BG_default input[type="radio"] ~ label .BG_check {
  width: 20px;
  height: 20px;
  border: 1px solid #323130;
  display: inline-block;
  position: absolute;
  right: calc(100% + 7px);
  top: 50%;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: all 0.2s linear;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -ms-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.BG_Microsoft.BG_Dark .BG_default input[type="radio"] ~ label .BG_check,
.BG_Microsoft.BG_Dark
  .BG_default
  input[type="checkbox"]
  ~ label
  > .BG_check:before {
  border-width: 1px !important;
  border-color: rgba(255, 255, 255, 0.45);
}

.BG_Microsoft .BG_default input[type="radio"] ~ label .BG_check:after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  position: absolute;
  background: #605e5c;
  left: 50%;
  display: none;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.1s cubic-bezier(0.4, 0, 0.23, 1);
  -webkit-transition: all 0.1s cubic-bezier(0.4, 0, 0.23, 1);
  -moz-transition: all 0.1s cubic-bezier(0.4, 0, 0.23, 1);
  -ms-transition: all 0.1s cubic-bezier(0.4, 0, 0.23, 1);
  -o-transition: all 0.1s cubic-bezier(0.4, 0, 0.23, 1);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.BG_Microsoft .BG_toggle input[type="checkbox"]:hover ~ label > .BG_check:after,
.BG_Microsoft .BG_toggle input[type="radio"]:hover ~ label > .BG_check:after {
  display: inline-block;
  border-color: #605e5c;
}

.BG_Microsoft .BG_toggle input[type="radio"],
.BG_Microsoft .BG_toggle input[type="radio"] ~ label {
  margin-left: 0 !important;
}

.BG_Microsoft
  .BG_toggle
  input[type="checkbox"]:checked
  ~ label
  > .BG_check:after,
.BG_Microsoft .BG_toggle input[type="radio"]:checked ~ label > .BG_check:after {
  background: #fff;
  left: 22px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.23, 1);
}

.BG_Microsoft
  .BG_toggle
  input[type="checkbox"]:checked:hover
  ~ label
  > .BG_check:after,
.BG_Microsoft
  .BG_toggle
  input[type="radio"]:checked:hover
  ~ label
  > .BG_check:after {
  background: #fff;
}

.BG_Microsoft .BG_toggle input[type="checkbox"]:hover ~ label > .BG_check,
.BG_Microsoft .BG_toggle input[type="radio"]:hover ~ label > .BG_check {
  border-color: #201f1e;
}

.BG_Microsoft .BG_toggle input[type="checkbox"]:hover ~ label > .BG_check:after,
.BG_Microsoft .BG_toggle input[type="radio"]:hover ~ label > .BG_check:after {
  background: #201f1e;
}

.BG_Microsoft.BG_Dark
  .BG_toggle
  input[type="checkbox"]:hover
  ~ label
  > .BG_check,
.BG_Microsoft.BG_Dark .BG_toggle input[type="radio"]:hover ~ label > .BG_check {
  border-color: #ffffffb0;
}

.BG_Microsoft.BG_Dark
  .BG_toggle
  input[type="checkbox"]:hover
  ~ label
  > .BG_check:after,
.BG_Microsoft.BG_Dark
  .BG_toggle
  input[type="radio"]:hover
  ~ label
  > .BG_check:after {
  background: #ffffffb0;
}

.BG_Microsoft .BG_toggle input[type="checkbox"] ~ label > .BG_check:after,
.BG_Microsoft .BG_toggle input[type="radio"] ~ label > .BG_check:after {
  content: "";
  width: 12px;
  height: 12px;
  position: absolute;
  border-radius: 50%;
  background-color: #605e5c;
  left: 4px;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.1s cubic-bezier(0.4, 0, 0.23, 1);
  -webkit-transition: all 0.1s cubic-bezier(0.4, 0, 0.23, 1);
  -moz-transition: all 0.1s cubic-bezier(0.4, 0, 0.23, 1);
  -ms-transition: all 0.1s cubic-bezier(0.4, 0, 0.23, 1);
  -o-transition: all 0.1s cubic-bezier(0.4, 0, 0.23, 1);
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
}

.BG_Microsoft .BG_toggle input[type="checkbox"] ~ label > .BG_check,
.BG_Microsoft .BG_toggle input[type="radio"] ~ label > .BG_check {
  width: 40px;
  height: 20px;
  border-radius: 10px;
  border: 1px solid #605e5c;
  float: left;
  position: relative;
  border-radius: 10px;
  margin-right: 8px;
  transition: all 0.2s linear;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -ms-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.BG_Microsoft .BG_Button {
  display: flex;
  flex-direction: row !important;
  flex-wrap: wrap;
}

.gform_wrapper .BG_Microsoft .BG_Button {
  margin-right: 5px !important;
}

.gform_wrapper .BG_Microsoft .BG_Button label {
  display: flex;
  align-items: center;
  text-align: center;
  padding: 8px;
  border: 1px solid #605e5c;
  max-width: 100% !important;
  border-radius: 2px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
}

.BG_Microsoft
  .BG_Button
  :not(.image-choices-choice)
  label:hover
  ~ .gf_tooltip_body
  > i {
  color: #fff !important;
  transition: none;
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  -o-transition: none;
}

.BG_Microsoft .BG_Button input[type="checkbox"]:checked ~ .gf_tooltip_body > i,
.BG_Microsoft .BG_Button input[type="radio"]:checked ~ .gf_tooltip_body > i {
  color: #fff !important;
  transition: none;
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  -o-transition: none;
}

@media only screen and (max-width: 641px) {
  .BG_Microsoft .BG_Button .gf_tooltip_body,
  .BG_Microsoft .BG_Button .gf_tooltip_body > span,
  .BG_Microsoft .BG_Button label > .BG_check {
    display: inline-block !important;
  }

  .BG_Microsoft label {
    width: unset !important;
  }
}

.BG_Microsoft input[type="button"].gform_previous_button {
  border: 1px solid #8a8886 !important;
  background: #fff !important;
  color: #323130 !important;
  font-weight: 600 !important;
}

.BG_Microsoft input[type="button"].gform_previous_button:hover {
  background: #f3f2f1 !important;
}

.BG_Microsoft .gf_progressbar {
  padding: 0 !important;
}

.BG_Microsoft .gf_progressbar:after {
  height: 0 !important;
}

.BG_Microsoft .gf_progressbar_percentage span {
  color: #8a8886 !important;
  text-shadow: none !important;
}

.BG_Microsoft .BG_filecancel_icon:before {
  content: "\e805" !important;
}

.BG_Microsoft .BG_fileupload_icon_selected:before {
  content: "\e806" !important;
}

.BG_Microsoft .BG_Button .gf_tooltip_body {
  position: absolute !important;
}

/* Hide default upload button and text */
[aria-describedby*="gfield_upload_rules"] {
  display: none;
}
.gform_fileupload_rules {
  position: absolute;
  bottom: -25px;
  width: max-content;
}
.BG_Microsoft .ginput_container_text i.fas {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
}
.gform_wrapper .gfield_checkbox .gchoice,
.gform_wrapper .gfield_radio .gchoice {
  display: flex;
  margin: 8px 0 8px 0;
  line-height: 1.3;
}

.bg_field_icon.ginput_container_select i.fas {
  position: absolute !important;
  bottom: 15%;
  left: 8px;
}
.ginput_container_select select.gfield_select {
  padding-left: 3% !important;
}

/* Fix list icons background */
#gform_1 [type="button"].add_list_item,
#gform_1 [type="button"].delete_list_item {
  background-color: transparent !important;
  background-repeat: no-repeat;
}
#gform_1 .gfield_list_icons [type="button"].add_list_item:hover,
#gform_1 .gfield_list_icons [type="button"].delete_list_item:hover {
  background-color: transparent !important;
}

/*endregion*/
/*endregion*/

/* fix cursor for next and previous buttons on pagged forms */
.gform_next_button,
.gform_previous_button,
input[id*="gform_submit_button"] {
  cursor: pointer;
}
