/*FORM*/

input[type=submit],
input[type=button],
input[type=reset],
input[type=text],
input[type=number],
input[type=password],
input[type=email],
input[type=range],
input[type=color],
button,
textarea,
select,
label {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

label {
  margin-bottom: 3px;
  font-size: 100%;
  font-weight: bold;
  font-family: inherit;
  font-size: inherit;
  display: block;
}

label a {
  font-size: inherit;
}

select {
  width: auto;
  margin-bottom: 10px;
}

input[type=submit],
input[type=button],
input[type=reset],
button {
  position: relative;
  display: block;
  text-decoration: none;
  background: var(--basecolor);
  color: var(--backgroundcolor);
  padding: 20px;
  margin: 20px 6px 0 0;
  text-align: center;
  line-height: normal;
  outline: none;
  font-weight: bold;
  border: none;
  border-radius: 40px;
  width: 100%;
  font-size: 22px;
  font-family: inherit;
}

.minisubmit {
  padding: 6px 25px !important;
  width: auto !important;
  font-size: 16px !important;
}

.normalsubmit {
  padding: 10px 40px !important;
  width: auto !important;
}

.inlinesubmit {
  display: inline-block;
  margin-right: 10px;
}

input[type=text],
input[type=number],
input[type=range],
input[type=password],
input[type=email],
input[type=date],
input[type=datetime-local],
input[type=time],
input[type=color],
textarea {
  position: relative;
  padding: 20px 10px;
  border: 1px solid var(--basecolor);
  margin: 0;
  margin-bottom: 10px;
  width: 100%;
  font-weight: normal;
  border-radius: 4px;
  color: var(--basecolor);
  font-family: inherit;
  font-size: inherit;
  line-height: normal;
  background-color: var(--backgroundcolor);
}

input[type=file] {
  border: none;
  margin: 0;
  margin-bottom: 10px;
  width: 260px;
  font-size: 16px;
  background-color: transparent;
  color: var(--basecolor);
}

input[type=checkbox],
input[type=radio] {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  -webkit-appearance: none;
  background: none;
  border: 0;
  outline: 0;
  border-radius: 2px;
  transition: background 300ms;
  cursor: pointer;
  margin-right: 8px;
  display: inline-block;
}

input[type=radio] {
  border-radius: 50%;
}

input[type=checkbox]::before,
input[type=radio]::before {
  content: "";
  color: transparent;
  display: block;
  width: inherit;
  height: inherit;
  border-radius: inherit;
  border: 0;
  background-color: transparent;
  background-size: contain;
  box-shadow: inset 0 0 0 1px var(--basecolor);
}

input[type=checkbox]:checked::before {
  background-image: var(--checkboxurl);
}

input[type=radio]:checked::before {
  background-color: #333;
}

.radiowrap,
.checkwrap {
  position: relative;
  margin-top: 10px;
  margin-bottom: 10px;
  line-height: 150%;
  border: 0px solid red;
}

.radiowrap label,
.checkwrap label {
  position: relative;
  display: inline;
  font-weight: normal;
}

input[type=hidden] {
  margin: 0;
  padding: 0;
}

textarea {
  width: 100%;
  height: 150px;
  padding: 15px;
  columns: var(--backgroundcolor);
  font-family: inherit;
}

select {
  width: 100%;
  height: auto;
  color: inherit;
  border: 1px solid var(--basecolor);
  background-color: var(--backgroundcolor);
  font-size: 22px;
  padding: 20px 10px;
  padding-left: 6px;
  margin-bottom: 20px;
  border-radius: 4px;
  box-sizing: border-box;
  background-image: url("images/droparrow.svg");
  background-position: right center;
  background-repeat: no-repeat;

  /* reset arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
}

.inlineselect {
  width: auto;
  padding: 1px;
  padding-right: 100px;
  background-image: url("images/droparrowmini.svg");
  font-size: inherit;
  margin: 0;
}

.numberfield {
  max-width: 100px;
}

::-webkit-input-placeholder {
  font-weight: normal;
  color: #999;
}

::-moz-placeholder {
  font-weight: normal;
  color: var(--basecolorlight);
}

#colorpicker {
  border-radius: 0;
  height: 60px;
  width: 60px;
  border: none;
  outline: none;
  -webkit-appearance: none;
}

#colorpicker::-webkit-color-swatch-wrapper {
  padding: 0;
}

#colorpicker::-webkit-color-swatch {
  border: none;
  border-radius: 0;
}

/* focus */
/* input[type=text]:focus {
    background-color:#fffdf5;
  } */


/*SLIDER FIELD*/
input[type=range] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 0px solid #fc0;
  background-color: transparent;
  width: 100%;
}

/* 
input[type=range]:focus {
  outline: none;
} */

/* LINE */
input[type=range]::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  position: relative;
  width: 100%;
  height: 1px;
  cursor: pointer;
  background-color: var(--basecolor);
  border-radius: 0px;
  border: none;
  top: -8px;
}

input[type=range]::-moz-range-track {
  -moz-appearance: none;
  position: relative;
  width: 100%;
  height: 5px;
  cursor: pointer;
  background-color: var(--basecolor);
  border-radius: 2px;
  border: none;
}

/* BUTTON, THUMB */
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  border: none;
  height: 35px;
  width: 35px;
  border-radius: 50%;
  background-color: var(--basecolor);
  cursor: pointer;
  margin-top: -17px;
}

input[type=range]::-moz-range-thumb {
  border: none;
  height: 35px;
  width: 35px;
  border-radius: 50%;
  background-color: var(--basecolor);
  cursor: pointer;
}

/*END SLIDER*/

/* COLOR */
input[type=color] {
  height: 80px;
  padding: 0;
  color: transparent;
}

/* END COLOR */

/*END FORM*/