.cuform {
  position: relative;
  display: flex;
  flex-shrink: 0;

  flex-direction: column;

  width: 100%;
}

.cuform-row {
  position: relative;
  display: flex;

  flex-direction: row;
  flex-wrap: wrap;

  flex-shrink: 0;

  width: 100%;
}
.cuform-row > .cuform-column {
  flex: 1;
  flex-shrink: 0;

  max-width: 100%;
}

.cuform-column {
  position: relative;
  display: flex;
  flex-shrink: 0;

  flex-direction: column;
}

.cuform-input-title {
  position: relative;

  padding: 10px 0;

  line-height: 1;

  font-weight: 500;
  font-size: 17px;
}

.cuform-input-error {
  position: relative;
  display: none;

  margin-top: 15px;

  padding: 10px 5px;

  border: 0;
  border-radius: 4px;

  line-height: 1;

  font-size: 12px;

  color: white;

  background: #af0505;
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.06);
  transition: 0.3s background ease-out;
}
.cuform-input-error::after {
  content: '';
  position: absolute;
  display: flex;

  top: -4px;
  right: 4px;

  width: 10px;
  height: 10px;

  transform: rotateZ(45deg);
  transform-origin: center center;

  background: #af0505;
}
.cuform-input-error.active {
  display: flex;
}

.cuform-input {
  position: relative;
  display: flex;

  padding: 15px 15px;

  border: 0;
  border-radius: 4px;

  background: white;
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.06);
  transition: 0.3s background ease-out;
}
textarea.cuform-input {
  resize: vertical;
}
cuform-input[type="submit"],
button.cuform-input {
  cursor: pointer;
  width: fit-content!important;
}
.cuform-input[disabled] {
  cursor: not-allowed;
  opacity: 0.7;
}

.cuform-checklist {
  position: relative;
  display: flex;

  flex-direction: column;

  overflow-x: hidden;
  overflow-y: auto;

  max-height: 220px;

  border: 0;
  border-radius: 4px;

  background: white;
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.06);
  transition: 0.3s background ease-out;
}
.cuform-checklist > .cuform-checklist-item {
  position: relative;
  display: flex;

  flex-direction: row;

  justify-content: flex-start;
  align-items: flex-start;

  width: 100%;

  padding: 10px;
}
.cuform-checklist > .cuform-checklist-item input[type="checkbox"] {
  cursor: pointer;
  position: relative;
  display: flex;

  margin: 0;

  width: 20px;
  height: 20px;

  appearance: none;
  -webkit-appearance: none;

  border-radius: 4px;
  border: 2px solid #f1f4f9;

  background: white;

  transition: 0.16s all ease-in-out;
}
.cuform-checklist > .cuform-checklist-item input[type="checkbox"]::after {
  position: relative;
  content: '\f00c';
  display: none;

  width: 100%;
  height: 100%;

  justify-content: center;
  align-items: center;

  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 10px;

  color: white;
}
.cuform-checklist > .cuform-checklist-item input[type="checkbox"]:checked {
  border: 0;
  background: #af0505;
}
.cuform-checklist > .cuform-checklist-item input[type="checkbox"]:checked::after {
  display: flex;
}
.cuform-checklist > .cuform-checklist-item label {
  cursor: pointer;
  position: relative;
  display: flex;
  flex: 1;
  flex-shrink: 0;

  padding: 0 10px;

  line-height: 20px;

  font-size: 16px;
  font-weight: 500;

  transition: 0.16s all ease-in-out;
}
.cuform-checklist > .cuform-checklist-item input[type="checkbox"]:checked + label {
  /* text-decoration: underline;
  text-decoration-color: #af0505; */
}
.cuform-checklist > .cuform-checklist-itemadder input[type="text"] {
  position: relative;
  display: flex;

  margin: 0;
  padding: 0;
  border: 0;

  margin-right: 20px;

  width: 100%;

  padding: 5px 10px;

  background: rgba(255, 255, 255, 0);
}
.cuform-checklist > .cuform-checklist-itemadder.success input[type="text"],
.cuform-checklist > .cuform-checklist-itemadder.error input[type="text"] {
  color: white;
}
.cuform-checklist > .cuform-checklist-itemadder.success {
  background: rgba(139, 195, 74, 0.8);
}
.cuform-checklist > .cuform-checklist-itemadder.error {
  background: rgba(255, 87, 34, 0.8);
}
.cuform-checklist > .cuform-checklist-itemadder .cuform-checklist-itemadder-removebutton {
  cursor: pointer;
  position: relative;
  display: flex;

  align-items: center;
  justify-content: center;

  margin-right: 10px;

  height: 100%;

  color: #e8e8e8;
  fill: #e8e8e8;

  transition: 0.15s all ease-out;
}
.cuform-checklist > .cuform-checklist-itemadder .cuform-checklist-itemadder-removebutton > svg {
  width: 14px;
  height: 14px;
}
.cuform-checklist > .cuform-checklist-itemadder .cuform-checklist-itemadder-removebutton:hover {
  color: #ff594c;
  fill: #ff594c;
}

.cuform-inputgroup {
  position: relative;
  display: flex;

  flex-direction: column;

  width: 100%;
  min-width: 250px;

  padding: 12px;
}

.cuform-inputgroup > .cuform-input {
  width: 100%;
}

.cuform-inputgroup > .cuform-input-title {
  width: 100%;
}

.cuform-inputgroup > .cuform-input-error {
  width: 100%;
}

.cuform-inputgroup > .cuform-checklist {
  width: 100%;
}


/* Form Switcher. */

.cuform-inputgroup > .cuform-inputswitcher > .cuform-inputswitcher__input {
  display: none;

  -webkit-appearance: auto;
  -moz-appearance: auto;
  -ms-appearance: auto;
  -o-appearance: auto;
  appearance: auto;
}

.cuform-inputgroup > .cuform-inputswitcher > .cuform-inputswitcher__input ~ .cuform-inputswitcher__label {
  cursor: pointer;

  position: relative;
  display: flex;

  overflow: hidden;

  width: 75px;
  height: 25px;

  padding: 4px;

  border-radius: 100px;

  background: #b2b2b2;

  box-shadow: 0 0 2px #A4A4A4 inset;

  transition: all .2s ease-in-out;
}
.cuform-inputgroup > .cuform-inputswitcher > .cuform-inputswitcher__input[disabled] ~ .cuform-inputswitcher__label {
  cursor: default;

  background: #ddd;

  opacity: 0.5;
}
.cuform-inputgroup > .cuform-inputswitcher > .cuform-inputswitcher__input:checked ~ .cuform-inputswitcher__label {
  background: #75b936;
  box-shadow: 0 0 2px #579022 inset;
}

.cuform-inputgroup > .cuform-inputswitcher > .cuform-inputswitcher__input ~ .cuform-inputswitcher__label .cuform-inputswitcher__label_cursor {
  display: flex;
  position: absolute;

  top: 4px;
  right: 4px;

  width: calc(25px - (4px * 2));
  min-width: calc(25px - (4px * 2));
  height: calc(25px - (4px * 2));
  min-height: calc(25px - (4px * 2));

  border-radius: 100%;

  background: #fff;

  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 20%), 0 3px 4px 0 rgb(0 0 0 / 10%);

  transition: all .2s ease-out;
}
.cuform-inputgroup > .cuform-inputswitcher > .cuform-inputswitcher__input:checked ~ .cuform-inputswitcher__label .cuform-inputswitcher__label_cursor {
  right: calc((100% - (25px - (4px * 2 ))) - 4px);
}

.cuform-inputgroup > .cuform-inputswitcher > .cuform-inputswitcher__input ~ .cuform-inputswitcher__label .cuform-inputswitcher__label_text_on,
.cuform-inputgroup > .cuform-inputswitcher > .cuform-inputswitcher__input ~ .cuform-inputswitcher__label .cuform-inputswitcher__label_text_off {
  position: absolute;
  display: flex;

  align-items: center;
  justify-content: center;

  top: 0;
  bottom: 0;

  width: calc(100% - (4px * 2) - (17px) - 4px);

  line-height: 25px;

  font-weight: 400;

  color: white;

  transition: all .2s ease-in-out;
}
.cuform-inputgroup > .cuform-inputswitcher > .cuform-inputswitcher__input ~ .cuform-inputswitcher__label .cuform-inputswitcher__label_text_on {
  right: -100%;
}
.cuform-inputgroup > .cuform-inputswitcher > .cuform-inputswitcher__input:checked ~ .cuform-inputswitcher__label .cuform-inputswitcher__label_text_on {
  right: 4px;
}
.cuform-inputgroup > .cuform-inputswitcher > .cuform-inputswitcher__input ~ .cuform-inputswitcher__label .cuform-inputswitcher__label_text_off {
  left: 4px;
}
.cuform-inputgroup > .cuform-inputswitcher > .cuform-inputswitcher__input:checked ~ .cuform-inputswitcher__label .cuform-inputswitcher__label_text_off {
  left: -100%;
}



/* Form Button. */

.cuform-button {
  cursor: pointer;
  position: relative;
  display: flex;

  justify-content: center;
  align-items: center;

  flex-direction: row;

  width: fit-content;

  padding: 10px 20px;

  border: 1px solid rgba(27, 31, 35, 0.12);
  border-radius: 4px;

  fill: rgb(36, 41, 46);
  color: rgb(36, 41, 46);

  background: rgb(255, 255, 255);
  box-shadow: rgba(27, 31, 35, 0.04) 0px 1px 0px, rgba(255, 255, 255, 0.25) 0px 2px 0px inset;
  transition: none;
}
.cuform-button > svg {
  margin-left: 10px;
}
.cuform-button > span {
}
.cuform-button:hover {
  background: rgb(250, 251, 252);
  box-shadow: rgba(209, 213, 218, 0.2) 0px 1px 0px, rgba(255, 255, 255, 0.1) 0px 2px 0px inset;
}

.cuform-button-success {
  border: 1px solid rgb(34, 134, 58);

  fill: rgb(255, 255, 255);
  color: rgb(255, 255, 255);

  background: rgb(46, 164, 79);
  box-shadow: rgba(20, 70, 32, 0.1) 0px 1px 0px, rgba(255, 255, 255, 0.03) 0px 2px 0px inset;
}
.cuform-button-success:hover {
  background: rgb(44, 151, 75);
  border-color: rgba(27, 31, 35, 0.15);
}

.cuform-button-danger {
  border: 1px solid rgb(225, 228, 232);

  fill: rgb(203, 36, 49);
  color: rgb(203, 36, 49);

  box-shadow: rgba(149, 157, 165, 0.1) 0px 1px 0px, rgba(255, 255, 255, 0.25) 0px 2px 0px inset;
}
.cuform-button-danger:hover {
  border: rgba(27, 31, 35, 0.15);

  fill: rgb(255, 255, 255);
  color: rgb(255, 255, 255);

  background: rgb(203, 36, 49);
  box-shadow: rgba(27, 31, 35, 0.1) 0px 1px 0px, rgba(255, 255, 255, 0.03) 0px 2px 0px inset;
}

.cuform-button-primary {
  border: 1px solid rgb(225, 228, 232);

  fill: rgb(3, 102, 214);
  color: rgb(3, 102, 214);

  box-shadow: rgba(149, 157, 165, 0.1) 0px 1px 0px, rgba(255, 255, 255, 0.25) 0px 2px 0px inset;
}
.cuform-button-primary:hover {
  border: rgba(27, 31, 35, 0.15);

  fill: rgb(255, 255, 255);
  color: rgb(255, 255, 255);

  background: rgb(3, 102, 214);
  box-shadow: rgba(27, 31, 35, 0.1) 0px 1px 0px, rgba(255, 255, 255, 0.03) 0px 2px 0px inset;
}
