/* request.css, gerald petter, 2023-01-09 */
  
body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 1em;
  line-height: 1.3em;
  margin: 0 auto;
  padding: 1.0em auto 1.0em;
  background-color: rgb(255, 255, 255);
  max-width: 600px;
}

body.anfrage {
  padding: 0;
  width: auto;
  max-width: none;
}

body.anfrage main {
  margin-bottom: var(--gap);
}

h1 {
  font-size: 1.8em;
  line-height: 1.3em;
  font-weight: 600;
  margin: 0 2%;
  text-align: center;
  text-transform: uppercase;
}

@media screen and (min-width: 600px) {
  #request.rtl {
    margin-top: 20px;
  }
}

@media screen and (min-width: 600px) {
  #request.rtl legend {
    margin-bottom: 0px;
  }
}

fieldset {
  margin: 0;
  padding: 10px 10px 0 0;
  border: none;
}

@media screen and (min-width: 600px) {
  fieldset.teilnehmer {
    margin-top: 20px;
  }
}

fieldset.date, 
fieldset.persons,
fieldset.other {
  margin: 15px 0;
}

fieldset.date,
fieldset.persons {
  display: flex;
  justify-content: start;
}
  @media screen and (max-width: 599px) {
    fieldset.date,
    fieldset.persons {
      justify-content: center;
    }
  }
  
fieldset #anrede {
  position: relative;
  top: -2px;
}

fieldset p {
  position: relative;
  margin: 10px 0 0px;
}

@media screen and (min-width: 400px) {
  fieldset.date p:first-child,
  fieldset.persons p:first-child  {
    margin-right: 20px;
  }
}

@media screen and (min-width: 600px) {
  #request fieldset label {
    min-width: auto;
    display: inline-block;
  }
}

@media screen and (min-width: 600px) {
  #request fieldset input {
    position: relative;
    top: 1px;
  }
  #request.rtl input#mannschaft_ja {
    display: inline-block;
    top: -2px;
    width: auto;
  }

  #request.rtl input#mannschaft_nein {
    display: inline-block;
    top: -2px;
    width: auto;
    margin-left: 0px;
  }
}

@media screen and (min-width: 600px) {
  #request fieldset.bestaetigung input {
    top: -3px;
    width: auto;
    display: inline;
  }
}

.other label {
  vertical-align: top;
  padding-right: 10px;
}

#date_children {
  display: block;
  padding-top: 16px;
}

input {
  display: block;
  width: 100%;
  border: none;
  border-bottom: 1px solid rgb(200, 200, 200);
  padding-left: 5%;
  padding-bottom: 1px;
  line-height: 1.3;
}
  @media screen and (max-width: 599px) {
    input {
      background-color: rgb( 250, 250, 250);
      margin-top: 4px;
      text-align: center;
    }
  }
  
.date input[type=date] {
  text-align: center;
  width: auto;
  display: inline-block;
  padding-left: 5px;
}

.persons input[type=number] {
  text-align: left;
  width: auto;
  display: block;
  min-width: 50px;
  padding-left: 5px;
}

input[type=number]::-webkit-inner-spin-button {
  cursor: pointer;
}

.persons input#number_adult,
.persons input#number_children {
  display: inline-block;
}

.rooms input {
  display: inline-block;
  width: auto;
  border: 1px solid rgb(200, 200, 200);
}

.rooms input:focus {
  border: 1px solid rgb(40, 40, 40);
  background: red;
}

input[id*='Geburtsdatum_Kind'] {
  display: block;
  margin: 10px 0;
}

input#quantity {
  padding-left: 80%;
}
  @media screen and (min-width: 500px) {
    input#quantity {
      padding-left: 90%;
    }
  }
  
ul {
  list-style: none;
}

.rooms ul {
  padding-left: 0;
  margin: 5px 5%;
}
  @media screen and (min-width: 600px) {
    .rooms ul {
      display: flex;
      justify-content: space-around;
      flex-wrap: wrap;
    }
  }
  
li {
  margin: .5em 0;
}

.other textarea {
  width: 100%;
}

.data-privacy {
  font-size: 0.8em
}
  @media screen and (min-width: 600px) {
    .data-privacy {
      font-size: 0.9em;
    }
  }
  
.data-privacy a {
  color: inherit;
  text-decoration: underline
}

.data-privacy a:hover {
  color: rgb(0, 0, 0);
}

.submit {
  display: flex;
  margin: 15px -2%;
}

.submit input {
  border: 1px solid rgb(150, 150, 150);
  background-color: transparent;
  color: rgb(80, 80, 80);
  transition: all 0.2s ease;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2em;
  padding: 5px 0;
  margin: 0 2%;
  cursor: pointer; 
  display: inline-block;
}

.submit input:hover {
  border: 1px solid rgb(100, 100, 100);
  background-color: rgb(240, 240, 240);
  color: rgb(50, 50, 50);
}

.misc {
  display: none;
}
