/*Form Gestaltung */
form.form {
    max-width: 400px;
    height: auto;
    position: relative;
    box-sizing: border-box;
	z-index: 0;
    margin: auto;
}
.zentriert {
    left: 50%;
    transform: translateX(-50%);
}
form.kontakt {
    width: 100%;
}
.form-field {
    position: relative;
    margin-top: 5%;
    padding: 3%;
}
.no-form-field {
    display: none;
}
.text_input {
    font-size: 1.1rem;
    margin: 5% 5% 0% 5%;
    width: 80%;
    padding: 5%;
    position: relative;
    border: none;
    border-bottom: 1px solid #326598;
    background-color: inherit;
}
.text_input:focus {
    outline: none;
    background-size: 100% 100%;
}
.input {
    margin: 5% 5% 5% 5%;
}
.input_check {
    margin: 1% 5% 0% 5%;
}
.label {
    font-size: 15px;
    color: #326598;
    position: absolute;
    top: 3%;
    left: 10%;
    opacity: 1;
    z-index: 1;
    transition: all 300ms;
}
.label_check {
    font-size: 15px;
    position: absolute;
    z-index: 1;
}
input:placeholder-shown + label {
    opacity: 0;
}
select {
    width: 90%;
    height: auto;
    font-size: 15px;
    padding: 2%;
    background-color: #f8f8f8;
    margin: 10% 5% 0% 5%;
}
option {
    background-color: #f8f8f8;
}
option:first-child {
    display: none;
}
textarea {
    margin: 10% 5% 0% 5%;
    width: 80%;
    padding: 5%;
    position: relative;
    border-bottom: 1px solid #326598;
    background-color: #f8f8f8;
}
span {
    width: 80%;
    float:right;
    margin-top: 2%;
    margin-right: 6%;
}
button.formbutton {
    width: 33%;
}
button:hover {
    background-color:#424242;
    cursor: pointer;
}
.error {
    border: 2px solid red;
    background-color: white;
    border-radius: 8px;
    text-align: center;
    padding: 3%;
}
.error_keine_daten ul {
    text-align: center;
    list-style: none;
    padding: 0;
}
.error li {
    list-style: none;
}
.right {
    border: 2px solid green;
    background-color: white;
    border-radius: 8px; 
    text-align: center;
    padding: 3%;
}
/*Form Effekte */
input.animation:valid {
    border-bottom: 2px solid green;
    background-repeat: no-repeat;
    background-size: 2.5rem;
    background-position: 97% 50%;
}
input.animation:focus:invalid {
    border-bottom: 2px solid rgb(255, 0, 0);
    background-repeat: no-repeat;
    background-size: 2.5rem;
    background-position: 97% 50%;  
}
.hint-text {
    position: absolute;
    bottom: -0.7rem;
    left: 5%;
    width: 90%;
}
input:invalid + label + .hint-text::before {
    opacity: 1;
    color: red;
}
input:focus:invalid + label + .name::before {
    content: 'Bitte gib einen gültigen Name ein. Keine Zahlen oder Sonderzeichen!'
}
input:focus:invalid + label + .pw::before {
    content: 'Bitte verwende mind. 8 Zeichen, Groß- und Kleinbuchstaben sowie Sonderzeichen. '
}
input:focus:invalid + label + .prediger::before {
    content: 'Bitte gib in diesem Format ein: M. Mustermann';
}
.hint-text::before {
    opacity: 0;
    display: block;
    font-size: 10px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
/*Benutzerbereichaktionen*/
.benutzeraktionen {
	float: right;
	margin: 2%;
	padding: 5px;
	color:white;
	text-decoration: none;
	background-color:#326598;
    border-radius: 8px;
}
/*Captcha*/
.frc-captcha {
    margin: 5% auto;
    background-color: inherit;
}

/*Ladeanzeige*/
.spinner {
    visibility: hidden;
    display: inline-block;
    background-color: #23282d;
    opacity: 0.75;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 100%;
    padding: 0;
    margin: 0 24px;
    position: relative;
    top: -50px;
    left: -180px;
}

@keyframes spin { 
    from { 
      transform: rotate(0) 
    } 
    to { 
      transform: rotate(360deg) 
    } 
  }

.spinner::before {
    content:'';
    position: absolute;
    background-color: #fbfbfc;
    top: 4px;
    left: 4px;
    width: 6px;
    height: 6px;
    border: none;
    border-radius: 100%;
    transform-origin: 8px 8px;
    animation-name: spin;
    animation-duration: 1000ms;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}