
fieldset,
label,
input,
select,
textarea {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  border: none;
  padding: 0;
  margin: 0;
  font-family: "PT Sans", sans-serif;
  font-size: 15px;
  color: #333;
}

*:focus { }

form { margin: 0px; }

div.form-response-box,
#content p.form-introtext,
div.form-fehler-box,
form#form1 {

}

#content p.form-introtext { margin-bottom: 35px; }

div.form-response-box {
  display: block;
  width: 99%;
  background: white;
  border: 8px solid var(--ehr-gray);
  padding: 30px 30px 25px 30px;
  margin-top: 60px;
  margin-bottom: 20px;
  border-radius: .25rem;
  line-height: 1.65em;
}

fieldset {
  position: relative;
  display: inline-block;
  width: 31%;
}

fieldset.first {
  width: 31%;
  margin-right: 2.5%;
}

fieldset.second {
  width: 31%;
  margin-right: 2.5%;
}


label {
  display: block;
  text-transform: uppercase;
  color: #666;
  font-size: .9em;
  margin: 0;
  margin-bottom: 3px;
  padding: 0;
  padding-left: 4px;
  letter-spacing: .025em;
}

legend { font-weight: 700; }
legend.second { margin-top: 30px; }

input,
select,
textarea {
  background-color: rgba(46,40,44,.12);
  padding: 16px 14px;
  margin: 0;
  border: 0px solid #CCC;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  font-weight: 700;
}


select:hover, select:focus,
input:hover, input:focus,
textarea:hover, textarea:focus {
  background-color: rgba(0,0,0,0.12);
}

form div {
  margin-bottom: 8px;
}


div.check-or-radio-wrapper { margin: 15px 0; }
div.check-or-radio {
  position: relative;
  margin-bottom: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
div.check-or-radio input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
div.check-or-radio .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 23px;
    width: 23px;
    background-color: rgba(46,40,44,.15);
    border-radius: 1px;
}
div.check-or-radio .checkmark.radio { border-radius: 50%; }
div.check-or-radio:hover input ~ .checkmark {
    background-color: rgba(46,40,44,.45);
}
div.check-or-radio input:checked ~ .checkmark {
    background-color: var(--ehr-cyan);
}
div.check-or-radio .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
div.check-or-radio input:checked ~ .checkmark:after {
    display: block;
}
div.check-or-radio .checkmark:after {
    left: 8px;
    top: 3px;
    width: 7px;
    height: 13px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
div.check-or-radio .checkmark.radio:after {
  left: 7px;
  top: 7px;
  border: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #FFF;
  -ms-transform: none;
  -webkit-transform: none;
  transform: none;
}


div.check-or-radio label {
  color: var(--ehr-gray);
  font-size: 1em;
  text-transform: none !important;
  display: block;
  width: 100%;
  padding-left: 35px;
  margin-bottom: 0;
  cursor: pointer !important;
}


input[type="text"] {
  display: block;
  width: 100%; /* calc(90% - 24px); */
}

select {
  display: block;
  width: 100%;
  background-image: url(../images/select-arrow.svg);
  background-position: 99% 50%;
  background-repeat: no-repeat;
}

div.thema { margin-top: 20px; }
div.submit-wrapper { text-align: center; }


input[type="button"],
input[type="submit"] {
  display: inline-block;
  background-color: var(--ehr-cyan);
  color: white;
  font-weight: 700;
  padding: 18px 32px;
  font-size: 1.2em;
  border: 0px solid transparent;
  cursor: pointer;
  margin-top: 40px;
  border-radius: .25rem;
}

input[type="button"]:hover, input[type="button"]:focus,
input[type="submit"]:hover, input[type="submit"]:focus {
  border-color: var(--ehr-gray);
  background-color: var(--ehr-gray);
}

input#betreff,
textarea { width: 100%; }

input[type="checkbox"],
input[type="checkbox"]:checked {
  -webkit-appearance: checkbox !important;
  -moz-appearance: checkbox !important;
  -ms-appearance: checkbox !important;
  -o-appearance: checkbox !important;
  appearance: checkbox !important;
}

input[type="radio"],
input[type="radio"]:checked {
  -webkit-appearance: radio !important;
  -moz-appearance: radio !important;
  -ms-appearance: radio !important;
  -o-appearance: radio !important;
  appearance: radio !important;
}

input[type="file"] {
  background: #EEE;
  border-radius:2px;
  padding: 2px 6px;
  font-size: .9em;
  margin-bottom: 4px;
}

input[type="file"]:hover {
  background: #DDD;
  border-color: #DDD !important;
  cursor: pointer !important;
}

div.successfull-uploads {
  padding:15px 20px;
  border:2px solid rgba(0,0,0,0.35);
  border-radius: 2px;
}




div.vv input#wohnort,
div.vv input#strasse { display: inline-block; width: calc(70% - 4px); }
div.vv input#plz,
div.vv input#hausnr { display: inline-block; width: calc(25% - 4px); }
div.vv input#plz,
div.vv input#strasse { margin-right: 5%; }

div.vv input.zwanzig { display: inline-block; width: calc(26% - 4px); }
div.vv input.zehn { display: inline-block; width: calc(12% - 4px); }

div.vv label.zehn {
  display: inline-block;
  width: 80%;
  margin: 0;
  padding-left: 9px;
  text-transform: none;
  font-size: 1em;
  letter-spacing: normal;
  color: var(--ehr-gray);
}

span.zehn { display: inline-block; width: 75%; margin-left: 10px; line-height: 1.2em; vertical-align: middle; }

@media (max-width: 600px) {
div.vv input.zehn { width: calc(17% - 4px); }
span.zehn { width: 70%; }
}

div.vv div.pips { margin: 35px 0 35px 0; }

.ssl-wrapper {
  color: var(--ehr-gray);
  text-align: center;
  font-size: .8em;
  margin-top: 20px;
}

.icon-ssl {
  display: inline-block;
  width: 25px;
  height: 25px;
  background-image: url(../images/ssl.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 20px 20px;
  margin-right: 10px;
  vertical-align: middle;
}

/* FEHLER */
.form-fehler-box {
  display: block;
  width: 99%;
  background: white;
  border: 5px solid #333;
  padding: 20px 25px 25px 25px;
  margin-top: 60px;
  margin-bottom: 20px;
  border-radius: .25rem;
  line-height: 1.65em;
}


.select-fail, .input-fail, .textarea-fail { background-color: rgba(255,0,0,.12); color: rgba(255,20,20,1); border: 2px solid red; }
.select-fail:hover, .select-fail:focus, .input-fail:hover, .input-fail:focus, .textarea-fail:hover, .textarea-fail:focus { background-color: rgba(0,0,0,.12); border-color: var(--ehr-gray); color: var(--ehr-gray); }

@media (max-width: 640px) {
fieldset { display: block; width: 100%; }
fieldset.first { width: 100%; margin-right: 0; }
fieldset.second { width: 100%; margin-right: 0; }


input#betreff,
textarea,
input[type="text"] { width: 100%; /* calc(100% - 28px); */ }
}


select,
input#betreff,
textarea,
input,
input[type="text"] { box-sizing: border-box; }

p.step-counter {
  border: 2px solid rgba(0,0,0,.1);
  border-radius: 2px;
  padding: 5px 0;
  margin-bottom: 45px;
  text-align: center;
  color: rgba(0,0,0,.5);
}

div.vv h2 {
  margin-bottom: 40px;
}

div.vv h2.sub-headline {
  margin-top: 90px;
  margin-bottom: 30px;
}

div.vv h3.sub-headline {
  font-size: 1.2em;
  margin-top: 40px;
  margin-bottom: 20px;
}

input.buttondisabled {
  background:#EEE;
  border-color:#DDD;
  color:#999;
  cursor:not-allowed !important;
}

input:disabled,
input[type="text"].input-disabled,
input.input-disabled,
select.select-disabled {
  -webkit-text-fill-color: rgba(0,0,0,0.5) !important; /* Override iOS / Android font color change */
  -webkit-opacity:1; /* Override iOS opacity change affecting text & background color */

  cursor: not-allowed !important;
  border-color: transparent !important;
  background-color: rgba(0,0,0,0.18) !important;
  color: rgba(0,0,0,0.5) !important;
}


div#forma_person_inputs { }

span#infohoverblock { position: relative; display: inline-block; }
span#infoicon {
  position: relative;
  display: inline-block;
  padding: 2px 6px 0 6px;
  margin-left: 8px;
  background-color: #AAA;
  color: #FFF;
  border-radius: 2px;
  cursor: help;
  font-weight: 500;
  font-size: .9em;
  letter-spacing: .025em;
  text-align: center;
  text-transform: uppercase !important;
}
span#hovertext { width: 320px; text-transform: none !important; display:none; }

span#infohoverblock:focus span#hovertext,
span#infohoverblock:hover span#hovertext {
  display: inline-block;
  position: absolute;
  z-index: 999;
  background: #FEFEFE;
  border: 2px solid #CCC;
  padding: 20px;
  font-size: 90%;
  line-height: 1.35em;

-webkit-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.1);
-moz-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.1);
box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.1);
}

span#infoschliessen { display: none; }

@media (max-width: 1024px) {
span#infoschliessen { display: inline-block; padding: 6px 8px; background: #CCC; margin-top: 16px; }
}
