/* Buchung
-------------------------------------------------- */
form {
    width: 100%;
    margin: 0 auto;
    max-width: 55rem;
}

.uniform__potty {
	position: absolute;
	top: -9999px;
	left: -9999px;
}

.uniform-errors {
    max-width: 700px;
    color: red;
    margin: 0 auto;
}
.row {
    padding-bottom: 4rem;
    width: 100%;
    height: auto;
    display: inline-block;
    /* display: grid; */
    border-top: 1px solid #b9b9b9;
    padding-top: .5rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));

}

form .half {
    width: 50%;
    float: left;
    display: inline-block;
}

form .full {
    width: 100%;
}

input {
    padding: 0.8rem;
    background-color: #F5F5F5;
    display: block;
    width: 100%;
    font-size: 1rem;
}

.radio-group {
   display: inline-block;
    width: 100%;
    margin-bottom: 2rem;
    border-top: 2px solid #333;
    padding-top: 1rem;
}

.radio-group label {
    /* float: left;
    width: 33.33%; */
}

.row label {
    display: block;
    width: 100%;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.control-group label.control {
  width: auto;
  display: inline-block;
  margin-right: 2rem;
}

.yes, .no {
    display: inline-block;
    margin-right: 1rem;

}


form input:focus:invalid, form textarea:focus:invalid { /* when a field is considered invalid by the browser */
    background-color: #bfbfbf;
    box-shadow: 0 0 5px #d45252;
    border-color: #b03535;
}

textarea {
    width: 100%;
    min-height: 150px;
    background-color: #F5F5F5;
    border-radius: 2px;
    font-size: 1rem;
    padding: 1rem;
    line-height: 1.375;
}

form input:required:valid, form textarea:required:valid { /* when a field is considered valid by the browser */
        background: url(../../assets/images/check.svg) no-repeat right #F5F5F5;
}

input[type="checkbox"] {
    display: inline-block;
    width: 20px;
}

/* input[type="submit"] {
    -webkit-appearance: none;
} */

form button {
     padding: 0.7rem 1.4rem;
    border-radius: 200px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #fff;
    border: 1px solid #333; 
    margin: 2rem auto;
    display: block;
            transition: all 0.3sec ease;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s;
    cursor: pointer;
}

form button:hover {
    background-color: #333;
    color: #fff;
}

p.error-text {
    color: red;
    float: none;
    display: inline-block;
    margin-bottom: 0;
    font-weight: 900;
}
 .erroneous, .error {color: red;
    display: block;
    width: 100%;
     border: 2px solid red;
}
   .success {color: green;}

@media screen and (max-width: 40rem) {
    .half, .third, .small, .row h5, .row p {
        width: 100%;
    }
}


.control-group {
  display: inline-block;
  vertical-align: top;
  text-align: left;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    width: 100%;
  padding: 2rem 0 1rem 0;
}


.control {
  display: inline-block;
  position: relative;
  padding-left: 25px;
/* margin-right: 25px;*/
  margin-bottom: 15px;
  cursor: pointer;
  font-size: 18px;
    line-height: 1.3;
    float: none;
}
.control input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}
.control__indicator {
  position: absolute;
  top: 2px;
  left: 0;
  height: 20px;
  width: 20px;
  background: #454545;
}
.control--radio .control__indicator {
  border-radius: 50%;
}
.control:hover input ~ .control__indicator,
.control input:focus ~ .control__indicator {
  background: #ccc;
}
.control input:checked ~ .control__indicator {
  background: rgb(219, 56, 56);
}
.control:hover input:not([disabled]):checked ~ .control__indicator,
.control input:checked:focus ~ .control__indicator {
  background: #0e647d;
}
.control input:disabled ~ .control__indicator {
  background: #e6e6e6;
  opacity: 0.6;
  pointer-events: none;
}
.control__indicator:after {
  content: '';
  position: absolute;
  display: none;
}
.control input:checked ~ .control__indicator:after {
  display: block;
}
.control--checkbox .control__indicator:after {
  left: 8px;
  top: 4px;
  width: 3px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.control--checkbox input:disabled ~ .control__indicator:after {
  border-color: #7b7b7b;
}

.control--radio input:disabled ~ .control__indicator:after {
  background: #7b7b7b;
} 

form .dozenten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
form .dozenten li {
    width: 100%;
    float: none;
    padding: 0;
    margin: 0;
    min-height: 0;
    margin-bottom: 3rem;
}

form .dozenten .control__indicator img {
  max-width: none;
  width: 100%;
  height: auto;
}

form .dozenten .control__indicator {
  width: 9rem;
  height: auto;

  position: relative;
  background: none;
}
form .dozenten .control  {
  float: none;
}
form .dozenten h3  {
  margin: 0;
}

form .dozenten .control input:checked ~ .control__indicator {
  padding: 1rem;
}