/* Global */
* {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Resets */
legend {
  border: none;
  font-size: inherit;
  margin-bottom: 10px;
  padding: 0;
  position: relative;
  display: table;
}
fieldset {
  border: 0;
  padding: 0.01em 0 0 0;
  margin: 0;
  min-width: 0;
}
body:not(:-moz-handler-blocked) fieldset {
  display: table-cell;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  /* Customizable attributes */
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

p {
  /* Customizable attributes */
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

ol:not([template-default]),
ul:not([template-default]),
blockquote:not([template-default]) {
  text-align: left;
}

p:not([template-default]),
hr:not([template-default]),
blockquote:not([template-default]),
ol:not([template-default]),
ul:not([template-default]) {
  color: inherit;
  font-style: initial;
}

.formkit-input,
.formkit-select,
.formkit-checkboxes {
  font-family: inherit;
  width: 100%;
}

/* Submit Button */
.formkit-button,
.formkit-submit {
  border: 0;
  border-radius: 5px;
  color: #ffffff;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 15px;
  overflow: hidden;
  padding: 0;
  position: relative;
  vertical-align: middle;
}

/* Submit Button */
.formkit-button:hover > span,
.formkit-submit:hover > span,
.formkit-button:focus > span,
.formkit-submit:focus > span {
  background-color: rgba(0, 0, 0, 0.1);
}

.formkit-button > span,
.formkit-submit > span {
  display: block;
  -webkit-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
  padding: 12px 24px;
}

/* Inputs */
.formkit-input {
  background: #ffffff;
  font-size: 15px;
  padding: 12px;
  border: 1px solid #e3e3e3;
  -webkit-box-flex: 1;
          flex: 1 0 auto;
  line-height: 1.4;
  margin: 0;
  -webkit-transition: border-color ease-out 300ms;
  transition: border-color ease-out 300ms;
}

.formkit-input:focus {
  outline: none;
  border-color: #1677be;
  -webkit-transition: border-color ease 300ms;
  transition: border-color ease 300ms;
}

.formkit-input::-webkit-input-placeholder {
  color: inherit;
  opacity: 0.8;
}

.formkit-input::-moz-placeholder {
  color: inherit;
  opacity: 0.8;
}

.formkit-input:-ms-input-placeholder {
  color: inherit;
  opacity: 0.8;
}

.formkit-input::-ms-input-placeholder {
  color: inherit;
  opacity: 0.8;
}

.formkit-input::placeholder {
  color: inherit;
  opacity: 0.8;
}

/* Dropdown */
[data-group="dropdown"] {
  position: relative;
  display: inline-block;
  width: 100%;
}

[data-group="dropdown"]::before {
  content: "";
  top: calc(50% - 2.5px);
  right: 10px;
  position: absolute;
  pointer-events: none;
  border-color: #4f4f4f transparent transparent transparent;
  border-style: solid;
  border-width: 6px 6px 0 6px;
  height: 0;
  width: 0;
  z-index: 999;
}

[data-group="dropdown"] select {
  height: auto;
  width: 100%;
  cursor: pointer;
  color: #333333;
  line-height: 1.4;
  margin-bottom: 0;
  padding: 0 6px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  font-size: 15px;
  padding: 12px;
  padding-right: 25px;
  border: 1px solid #e3e3e3;
  background: #ffffff;
}

/* Checkboxes */
[data-group="formkit-checkboxes"] {
  text-align: left;
  margin: 0;
}

.formkit-checkboxes {
  margin-bottom: 10px;
}

.formkit-checkboxes:last-of-type {
  margin-bottom: 0;
}

.formkit-checkboxes * {
  cursor: pointer;
}

.formkit-checkboxes input[type="checkbox"] {
  display: none;
}

.formkit-checkboxes input[type="checkbox"] + label::after {
  content: none;
}

.formkit-checkboxes input[type="checkbox"]:checked + label::after {
  border-color: #ffffff;
  content: "";
}

.formkit-checkboxes input[type="checkbox"]:checked + label::before {
  background: #10bf7a;
  border-color: #10bf7a;
}

.formkit-checkbox + label {
  position: relative;
  display: inline-block;
  padding-left: 28px;
}

.formkit-checkbox + label::before,
.formkit-checkbox + label::after {
  position: absolute;
  content: "";
  display: inline-block;
}

.formkit-checkbox + label::before {
  height: 16px;
  width: 16px;
  border: 1px solid #e3e3e3;
  background: #ffffff;
  left: 0px;
  top: 3px;
}

.formkit-checkbox + label::after {
  height: 4px;
  width: 8px;
  border-left: 2px solid #4d4d4d;
  border-bottom: 2px solid #4d4d4d;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
  left: 4px;
  top: 8px;
}

.formkit-alert {
  background: #f9fafb;
  border: 1px solid #e3e3e3;
  border-radius: 5px;
  -webkit-box-flex: 1;
          flex: 1 0 auto;
  list-style: none;
  margin: 25px auto;
  padding: 12px;

  text-align: center;
  width: 100%;
}

.formkit-alert:empty {
  display: none;
}

.formkit-alert-success {
  background: #d3fbeb;
  border-color: #10bf7a;
  color: #0c905c;
}
.formkit-alert-error {
  background: #fde8e2;
  border-color: #f2643b;
  color: #ea4110;
}

.formkit-spinner {
  display: -webkit-box;
  display: flex;
  height: 0px;
  width: 0px;
  margin: 0 auto;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 0px;
  overflow: hidden;
  text-align: center;
  -webkit-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}

.formkit-spinner > div {
  margin: auto;
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 0.3;

  border-radius: 100%;
  display: inline-block;
  -webkit-animation: formkit-bouncedelay 1.4s infinite ease-in-out both;
          animation: formkit-bouncedelay 1.4s infinite ease-in-out both;
}

.formkit-spinner > div:nth-child(1) {
  -webkit-animation-delay: -0.32s;
          animation-delay: -0.32s;
}

.formkit-spinner > div:nth-child(2) {
  -webkit-animation-delay: -0.16s;
          animation-delay: -0.16s;
}

.formkit-submit[data-active] .formkit-spinner {
  opacity: 1;
  height: 100%;
  width: 50px;
}

.formkit-submit[data-active] .formkit-spinner span {
  opacity: 0;
}

.formkit-powered-by[data-active="false"] {
  opacity: 0.35;
}

@-webkit-keyframes formkit-bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
            transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

@keyframes formkit-bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
            transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

blockquote {
  padding: 10px 20px;
  margin: 0 0 20px;
  border-left: 5px solid #e1e1e1;
}
