/* Dark theme */

:root {
  --ycf-accent-color: #059ce2;
  --ycf-accent-color-darker: #0483be;
  --ycf-base-text-color: #ffffff;
  --ycf-light-text-color: #aaaebd;
  --ycf-danger-color: #ef325f;
  --ycf-danger-color-lighten: #fff0f0;
  --ycf-danger-color-darker: #ed1245;
  --ycf-base-border-color: #343434;
  --ycf-base-x-spacing: 16px;

  --ycf-form-font-family: inherit;
  --ycf-form-font-family-monospace: 'Consolas', monospace;

  --ycf-form-max-width: 700px;
  --ycf-form-background-color: #191c23;
  --ycf-form-border-width: 1px;
  --ycf-form-border-color: var(--ycf-base-border-color);
  --ycf-form-border-radius: 1rem;
  --ycf-form-title-size: 1.25rem;
  --ycf-form-title-margin-bottom: 1.5rem;
  --ycf-form-group-title-size: 1.125rem;
  --ycf-form-group-title-border-color: var(--ycf-base-border-color);

  --ycf-link-color: var(--ycf-base-text-color);

  --ycf-field-text-color: var(--ycf-base-text-color);
  --ycf-field-placeholder-color: var(--ycf-light-text-color);
  --ycf-field-helper-text-color: var(--ycf-light-text-color);
  --ycf-field-background-color: #25252d;
  --ycf-field-border-color: var(--ycf-base-border-color);
  --ycf-field-border-color-focus: var(--ycf-accent-color);
  --ycf-field-border-width: 1px;
  --ycf-field-border-radius: 0.375rem;
  --ycf-boolean-field-border-color: #404040;
  --ycf-boolean-field-background-color: #30303b;
  --ycf-boolean-field-background-color-checked: var(--ycf-accent-color);
  --ycf-boolean-field-border-radius: 0.25rem;

  --ycf-button-border-radius: 0.5rem;

  --ycf-button-primary-text-color: #fff;
  --ycf-button-primary-background-color: var(--ycf-accent-color);
  --ycf-button-primary-background-color-hover: var(--ycf-accent-color-darker);
  --ycf-button-primary-background-color-disabled: var(--ycf-accent-color-darker);
  --ycf-button-primary-border-color: var(--ycf-accent-color);
  --ycf-button-primary-border-color-hover: var(--ycf-accent-color-darker);
  --ycf-button-primary-border-color-disabled: var(--ycf-accent-color-darker);
  --ycf-button-primary-focus-visible-color: var(--ycf-accent-color-darker);

  --ycf-button-danger-text-color: #fff;
  --ycf-button-danger-background-color: var(--ycf-danger-color);
  --ycf-button-danger-background-color-hover: var(--ycf-danger-color-darker);
  --ycf-button-danger-background-color-disabled: var(--ycf-danger-color);
  --ycf-button-danger-border-color: var(--ycf-danger-color);
  --ycf-button-danger-border-color-hover: var(--ycf-danger-color-darker);
  --ycf-button-danger-border-color-disabled: var(--ycf-danger-color);
  --ycf-button-danger-focus-visible-color: var(--ycf-danger-color-darker);

  --ycf-button-light-text-color: #fff;
  --ycf-button-light-background-color: #343434;
  --ycf-button-light-background-color-hover: #454545;
  --ycf-button-light-background-color-disabled: #25252d;
  --ycf-button-light-border-color: #343434;
  --ycf-button-light-border-color-hover: #454545;
  --ycf-button-light-border-color-disabled: #25252d;
}

/* Overwrites */

:root { 
  --ycf-base-text-color: #fff;
  --ycf-light-text-color: #fff;
  --ycf-danger-color: #f4a6a4;
  --ycf-danger-color-lighten: #edc7c6;
  --ycf-danger-color-darker: #eb5b57;
  --ycf-base-border-color: #fff;
  --ycf-base-x-spacing: 0;

  --ycf-form-max-width: 500px;
  --ycf-form-background-color: transparent;
  --ycf-form-border-width: 0;
  --ycf-form-title-size: 24px;
  --ycf-form-title-margin-bottom: 8px;
  --ycf-form-group-title-border-color: transparent;

  --ycf-field-placeholder-color: var(--ycf-base-text-color);
  --ycf-field-background-color: transparent;
  --ycf-field-border-width: 0;
  --ycf-field-border-color: #fff;
  --ycf-field-border-color-focus: #fff;
  --ycf-field-border-radius: 0;
  --ycf-boolean-field-border-color: #fff;
  --ycf-boolean-field-background-color: trasparent;
  --ycf-boolean-field-background-color-checked: transparent;
  --ycf-boolean-field-border-radius: 0;

  --ycf-button-border-radius: 0;

  --ycf-button-primary-text-color: #fff;
  --ycf-button-primary-background-color: transparent;
  --ycf-button-primary-background-color-hover: transparent;
  --ycf-button-primary-background-color-disabled: transparent;
  --ycf-button-primary-border-color: #fff;
  --ycf-button-primary-border-color-hover: #fff;
  --ycf-button-primary-focus-visible-color: transparent;
}

/* outer */

.yepcode-form-wrapper > .yepcode-loading-overlay-root,
.yepcode-form-wrapper > .yepcode-form-outer {
  padding: 0 !important;
}

/* title */

.yepcode-form .my-1 {
  margin-top: 0;
}

.yepcode-form .my-1 h5 p {
  font-weight: 400;
  line-height: 36px;
}

/* input */

.yepcode-form input[type='text'],
.yepcode-form input[type='number'],
.yepcode-form input[type='password'],
.yepcode-form input[type='email'],
.yepcode-form select,
.yepcode-form textarea {
  font-size: 16px;
  line-height: normal;
  border-bottom: 1px solid #fff !important;
  padding: 12px 0;
}

/* form group */

.yepcode-form .form-group {
  margin-bottom: 22px;
}

.yepcode-form > .form-group,
.yepcode-form > .form-group > .form-group,
.mb-0.form-group {
  margin-bottom: 0;
}

/* checkbox group & radio */

.yepcode-form .custom-checkbox + .custom-checkbox {
  margin-top: 4px;
}

/* radio */

.yepcode-form .form-check-input[type='radio']:checked ~ .form-check-label::after {
  background-size: 18px;
}

.yepcode-form .mb-0.form-group {
  padding: 0 16px;
  border: 1px solid var(--ycf-base-text-color);
}

.yepcode-form .mb-0.form-group .form-check {
  padding: 16px 0;
}

.yepcode-form .mb-0.form-group .form-check-label::before,
.yepcode-form .mb-0.form-group .form-check-label::after {
  left: unset;
  right: 0;
}

.yepcode-form .form-check + .form-check {
  margin-top: 0;
  border-top: 1px solid var(--ycf-base-text-color);;
}

/* label */

.yepcode-form .form-label {
  font-size: 14px;
  line-height: 1.375;
  margin-bottom: 2px;
  opacity: .5;
}

/* helper */

.yepcode-form .text-muted {
  opacity: .4;
}

/* placeholder */

.yepcode-form .form-control::placeholder,
.yepcode-form .form-control::-webkit-input-placeholder {
  opacity: .75;
  transition: all .3s;
}

.yepcode-form .form-control:hover::placeholder,
.yepcode-form .form-control:hover::-webkit-input-placeholder {
  opacity: 1;
  transition: all .3s;
}

/* privacy */

.yepcode-form .form-check-label span,
.yepcode-form .custom-control-label span {
  display: block;
  font-size: 16px;
  letter-spacing: -0.096px;
  line-height: 22px;
  opacity: .75;
  transition: all .3s;
}

.yepcode-form .form-check-label span:hover,
.yepcode-form .custom-control-label span:hover {
  opacity: 1;
  transition: all .3s;
}

.yepcode-form .form-check-label a {
  color: var(--ycf-base-text-color);
  text-decoration: underline;
}

.yepcode-form .form-check-label::before,
.yepcode-form .custom-checkbox label::before {
  border: 1px solid var(--ycf-boolean-field-border-color);
}

.yepcode-form .form-check-input[type='checkbox']:checked ~ .form-check-label::after,
.yepcode-form .custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
  top: 1px !important;
  left: 1px !important;
}

.yepcode-form .form-check-input[type='checkbox'] ~ .form-check-label::before,
.yepcode-form .form-check-input[type='checkbox'] ~ .form-check-label::after,
.yepcode-form .custom-checkbox .custom-control-input:checked ~ .custom-control-label::before,
.yepcode-form .custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
  width: 16px;
  height: 16px;
  left: 0;
  background-size: 65% !important;
}

.form-group.field.field-boolean.yepcode-type-boolean.yepcode-widget-default.yepcode-field-default .form-group {
  margin-bottom: 8px;
}

/* button */

.yepcode-form .btn {
  border: solid 1px;
  border-radius: 2rem;
  font-size: 16px;
  text-align: left;
  padding: 12px 48px 12px 24px;
  text-transform: uppercase;
  width: auto;
  background-image: url('https://uploads-ssl.webflow.com/5e81f51ccb7246becdfec96c/5e845ca910db4f66866b9151_Union.svg');
  background-position: calc(100% - 24px) center;
  background-repeat: no-repeat;
  text-transform: uppercase;
  transition: background-image .3s;
}

.yepcode-form .btn:hover {
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVQI12NgkAIAAB0AG+K5eBUAAAAASUVORK5CYII=);
  transition: background-image .3s;
}

.yepcode-form .btn-primary:hover {
  opacity: 0.75;
  transition: opacity .3s !important;
}

/* error */

.yepcode-form .field-error.has-error.has-danger .list-group {
  margin-left: 0;
}

/* file */

.yepcode-form input[type='file'] {
  border: 1px dashed var(--ycf-base-border-color) !important;
  margin: 7px;
}

.form-group.field.field-string.yepcode-type-string.yepcode-widget-file.yepcode-field-default .form-group > div {
  border: 1px solid #fff;
}

.yepcode-form .form-control-file {
  width: calc(100% - 14px);
}

.form-group.field.field-string.yepcode-type-string.yepcode-widget-file.yepcode-field-default .form-group > div ul {
  list-style-type: none;
}

/* outer */

.yepcode-form-outer p {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  line-height: 23px;
}