td {
  vertical-align: baseline;
}

label,
p.label {
  display: block;
  margin: 0;
  padding: 10px 0 3px;
}

input,
textarea,
select {
  background-color: #e4e4e4;
  border: 1px solid #e4e4e4;
  color: #333;
  -webkit-transition: border .8s, background .8s, color .8s;
  transition: border .8s, background .8s, color .8s;
}

input:focus,
textarea:focus,
select:focus {
  background-color: rgb(var(--main-light-color));
  border-color: #b2b2b2;
}

textarea {
  height: 120px;
  padding: 5px 10px;
  width: 100%;
  -webkit-appearance: none;
}

input {
  margin: 1px 0;
  padding: 10px;
  width: 100%;
}

input[type="date"] {
  min-height: 38px;
}

input[type="date"],
input[type="text"] {
  -webkit-appearance: none;
}

select {
  margin: 1px 0;
  padding: 9px 10px;
  width: 100%;
}

ul,
ol{
  padding: 0 0 0 20px;
  margin: 0;
}

.contactform .buttons {
  margin: 2em 0 0;
  text-align: right;
}

.contactform hr {
  border: 1px solid #a0a0a0;
  border-width: 1px 0 0 0;
  margin: 0 0 2em 0;
}

.contactform-cb {
  float: none;
  padding: 10px 0 0;
}

.contactform-cb label {
  display: block;
  font-size: 1.6rem;
  margin: 0 15px 0 0;
  overflow: hidden;
  padding: 0;
}

.contactform-cb input {
  background: none;
  border: 0;
  float: left;
  margin: 3px 6px 0 0;
  vertical-align: middle;
  width: auto;
}

.contactform-rb label {
  display: inline-block;
  font-size: 1.6rem;
  margin: 0 15px 0 0;
  overflow: hidden;
  padding: 0;
  vertical-align: middle;
}

.contactform-rb input {
  background: none;
  border: 0;
  display: inline-block;
  margin: 0 2px 0 0;
  vertical-align: middle;
  width: auto;
}

.contactform-sl > div {
  display: inline-block;
  margin-right: 25px;
}

#kkemail {
  display: none !important;
}

.contactform .cols {
  margin-bottom: 15px;
}

.cols.cols-form {
  margin-bottom: 15px;
  width: auto;
}

.cols-form > div {
  position: relative;
}

.cols-form > div:before,
.cols-form > div:after {
  content: '\00a0';
  opacity: 0;
  position: absolute;
  -webkit-transition: opacity .8s;
  transition: opacity .8s;
}

.has-error {
  position: relative;
}

.has-error input,
.has-error textarea {
  border: 1px solid #cf4646;
}

.has-error:before,
.has-error:after {
  background-color: #cf4646;
  border-radius: 2px;
  bottom: 14px;
  content: '\00a0';
  height: 14px;
  opacity: 1 !important;
  pointer-events: none;
  position: absolute;
  right: 20px;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  width: 3px;
}

.has-error:after {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.has-success {
  position: relative;
}

.has-success input,
.has-success textarea {
  border: 1px solid #86a145;
}

.has-success:after {
  border-style: solid;
  border-color: #86a145;
  border-width: 0 3px 3px 0;
  border-radius: 2px;
  bottom: 15px;
  content: '\00a0';
  height: 12px;
  opacity: 1 !important;
  pointer-events: none;
  position: absolute;
  right: 20px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  width: 6px;
}

.error {
  color: #d80000;
  font-weight: bold;
}

.success {
  background: rgb(var(--main-highlight-color));
  border-radius: 20px;
  color: rgb(var(--main-dark-color));
  margin: 20px 0 30px;
  padding: 20px;
  text-align: center;
}

.success a {
  color: rgb(var(--main-light-color));
}

.cfweb-cols:not(:first-child) {
  margin-top: 15px;
}

.wwiframe-privacy-icon svg *{
  fill: rgb(var(--main-highlight-color));
}

/*
 * Buttons
 */
.cfweb-button button,
.button,
a.button,
.button-cta,
a.button-cta,
.button-dark,
a.button-dark {
  background: rgb(var(--main-highlight-color));
  color: rgb(var(--main-dark-color));
  border: 2px solid rgb(var(--main-highlight-color));
  border-radius: 31px;
  cursor: pointer;
  display: inline-block;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 14px 30px;
  position: relative;
  text-decoration: none;
  text-transform: none;
  transition: all .4s linear;
  text-align: center;
}
a.button:hover,
a.button:focus,
.button:hover,
.button:focus{
  background: rgb(var(--main-dark-color));
  color: rgb(var(--main-highlight-color));
  border-color: rgb(var(--main-highlight-color));
}

.cfweb-button button,
.button-cta,
a.button-cta{
  background: rgb(var(--main-highlight-color));
  color: rgb(var(--main-light-color));
  border-color: rgb(var(--main-highlight-color));
}
.cfweb-button button:hover,
.cfweb-button button:focus,
.button-cta:hover,
.button-cta:focus,
a.button-cta:hover,
a.button-cta:focus{
  background: rgb(156,79,103);
  color: rgb(var(--main-light-color));
  border-color: rgb(156,79,103);
}
.button-outline,
a.button-outline{
  background: rgb(var(--main-light-color));
  color: rgb(var(--main-dark-color));
  border-color: rgb(var(--main-dark-color));
}
.button-outline:hover,
.button-outline:focus,
a.button-outline:hover,
a.button-outline:focus{
  background: rgb(var(--main-dark-color));
  color: rgb(var(--main-light-color));
  border-color: rgb(var(--main-dark-color));
}

input[type="file"] {
  font-size: 1.6rem;
  color: rgb(var(--main-dark-color));
  transition: all .4s;
}
input[type="file"].has-file{
  padding-left: 35px;
}
input[type="file"]::file-selector-button {
  font-size: 1.6rem;
  margin: 0 20px 0 0;
  background: transparent;
  color: rgb(var(--main-highlight-color));
  box-shadow: none;
  border: 1px solid rgb(var(--main-highlight-color));
  border-radius: 20px;
  padding: 5px 10px;
  transition: all .4s;
}
input[type="file"]:hover::file-selector-button,
input[type="file"]:focus::file-selector-button {
  background: rgb(var(--main-highlight-color));
  color: rgb(var(--main-light-color));
  border-color: rgb(var(--main-highlight-color));
}

.cfweb-errors,
#wwform-errors{
  background-color: rgb(var(--main-light-color));
  padding: 15px;
  border-radius: 20px;
  margin-bottom: 30px;
}

.cfweb-cb {
  display: flex;
  justify-content: center;
}
.cfweb-cb > label{
  display: inline-flex;
  align-items: center;
}
@media screen and (min-width: 640px) {
  .cfweb-cb {
    display: inline-block;
    margin-right: 20px;
  }
}

.cfweb-field input,
.cfweb-field textarea{
  background-color: #fff;
  border: 1px solid #fff;
  box-shadow: 0 0 3px rgba(0, 0, 0, .12), 0 2px 5px rgba(0, 0, 0, .09);
  border-radius: 10px;
}
.cfweb-field input:focus-within,
.cfweb-field input:hover,
.cfweb-field textarea:focus-within,
.cfweb-field textarea:hover{
  border-color: rgb(var(--main-highlight-color));
  outline: none;
}

input[type="radio"]{
  box-shadow: none;
  accent-color: rgb(var(--main-highlight-color));
}

/* ab 1024px */
@media screen and (min-width: 1024px) {

  button:not([type="button"]),
  .button,
  a.button,
  .button-cta,
  a.button-cta,
  .button-dark,
  a.button-dark {
    font-size: 2.4rem;
  }
  .cfweb-errors,
  #wwform-errors{
    padding: 20px 30px;
  }

  a.button-request {
    padding: 24px 60px;
  }
}

@media screen and (min-width: 1400px) {

  a.button-request {
    padding: 24px 140px;
  }
}

/*
 * Icons
 */

.contact-lock {
  box-sizing: content-box;
  color: #c8c8c8;
  display: inline-block;
  margin-right: -15px;
  position: relative;
  -webkit-transform: scale(0.4);
  transform: scale(0.4);
  -webkit-transform-origin: left 20%;
  transform-origin: left 20%;
  vertical-align: middle;
  width: 32px;
}

.contact-lock:before {
  border: 3px solid;
  border-radius: 10px;
  content: '\00a0';
  display: block;
  height: 18px;
  margin: 0 auto;
  position: relative;
  width: 20px;
}

.contact-lock:after {
  background: #c8c8c8;
  border-radius: 6px;
  content: '\00a0';
  display: block;
  height: 24px;
  margin: -10px auto;
  position: relative;
}

.contact-lock .keyhole {
  left: 50%;
  position: absolute;
  top: 15px;
  -webkit-transform: translatex(-50%);
  transform: translatex(-50%);
  z-index: 1;
}

.contact-lock .keyhole:before {
  background: rgb(var(--main-light-color));
  border-radius: 50%;
  content: '\00a0';
  display: block;
  height: 8px;
  margin: .3em auto 0;
  position: relative;
  width: 8px;
}

.contact-lock .keyhole:after {
  background: rgb(var(--main-light-color));
  border-radius: 0;
  content: '\00a0';
  display: block;
  height: 8px;
  margin: -0.1em auto 0;
  position: relative;
  width: 4px;
}

.contact-calendar {
  border-radius: 4px;
  border-style: solid;
  border-width: 4px 2px 2px;
  bottom: 0;
  box-sizing: border-box;
  color: #767676;
  direction: ltr;
  font-style: normal;
  height: 28px;
  margin: 5px 1px 1px;
  pointer-events: none;
  position: absolute;
  right: 0px;
  text-align: left;
  text-indent: -9999px;
  -webkit-transform: scale(0.7);
  transform: scale(0.7);
  -webkit-transform-origin: top left;
  transform-origin: top left;
  width: 32px;
}

.contact-calendar:before,
.contact-calendar:after {
  content: '\00a0';
  pointer-events: none;
  position: absolute;
  width: 4px;
}

.contact-calendar:before {
  box-shadow: inset 0 0 0 32px, 6px 0, 12px 0, 18px 0, 0 6px, 6px 6px, 12px 6px, 18px 6px, 0 12px, 6px 12px, 12px 12px, 18px 12px;
  height: 4px;
  left: 3px;
  top: 3px;
}

.contact-calendar:after {
  border-radius: 4px;
  box-shadow: inset 0 0 0 32px, 16px 0;
  height: 8px;
  left: 4px;
  top: -8px;
}

input:focus + .calendar {
  color: #333;
}
