/* fürs responsive forms*/

/* Style inputs, select elements and textareas */


input[type=text],
email,
select,
textarea {
  width: 100%;
  padding: 7px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
  font: 100% arial, sans-serif;
}

input[type=submit] {

  border-radius: 10px 0px 10px 10px;
  text-decoration: none;
  display: inline-block;
  background-color: #F5F5F5;
  font-size: 22px;
  color: black;
  border: 2px solid #ccc;
  padding: 10px 10px;
  transition-duration: 0.4s;
  cursor: pointer;
}



input[type=email] {
  width: 90%;
  padding: 7px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
  font: 100% arial, sans-serif;
}

input[type=password] {
  width: 90%;
  padding: 7px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
  font: 100% arial, sans-serif;
}

input[type=tel] {
  width: 90%;
  padding: 7px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
  font: 100% arial, sans-serif;
}


/* fürs suchfeld*/
input[type=search] {
  background-color: white;
  width: 13em;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 7px;
  font-size: 100%;

  /* background-image: url('https://www.kultnet.org/images/kultnet-logo195.jpg');*/
  background-image: url('https://www.kultnet.de/images/searchicon.png');

  background-position: 10px 10px;
  background-repeat: no-repeat;
  padding: 12px 20px 12px 40px;
  transition: width 0.8s ease-in-out;
}

input[type=search]:focus {
  width: 70%;
}


input[type=file] {
  background-color: white;
  color: black;
  border: 2px solid black;
  text-decoration: none;
  font-size: 1.11rem;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  position: relative;
  width: 95%;
  color: black;
  padding: 0.5em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: none;
  transition-duration: 0.4s;

}






@media (prefers-color-scheme: dark) {


  input[type=text],
  email,
  select,
  textarea {
    width: 100%;
    padding: 7px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical;
    font-size: 100%;
    color: beige;
    background-color: black;

  }

  input[type=email] {
    width: 90%;
    padding: 7px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical;
    font-size: 100%;
    color: beige;
    background-color: black;
  }

  input[type=password] {
    width: 90%;
    padding: 7px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical;
    font-size: 100%;
    color: beige;
    background-color: black;
  }

  input[type=tel] {
    width: 90%;
    padding: 7px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical;
    font-size: 100%;
    color: beige;
    background-color: black;
  }

  input[type=url] {
    width: 90%;
    padding: 7px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical;
    font-size: 100%;
    color: beige;
    background-color: black;
  }


  input[type=submit] {
    border-radius: 10px 0px 10px 10px;
    text-decoration: none;
    display: inline-block;
    background-color: black;
    font-size: 20px;
    color: beige;
    border: 1px solid beige;
    padding: 10px 10px;
    transition-duration: 0.4s;
    cursor: pointer;
  }



  /* fürs suchfeld*/
  input[type=search] {
    width: 13em;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 7px;
    font-size: 100%;
    color: beige;
    background-color: black;
    /* background-image: url('https://www.kultnet.org/images/kultnet-logo195.jpg');*/
    background-image: url('https://www.kultnet.de/images/searchiconB.png');

    background-position: 10px 10px;
    background-repeat: no-repeat;
    padding: 12px 20px 12px 40px;
    transition: width 0.8s ease-in-out;
  }

  input[type=search]:focus {
    width: 70%;
  }

  /* Ende fürs suchfeld*/


  input[type=file] {
    background-color: black;
    color: white;
    border: 1px solid #ccc;
    text-decoration: none;
    font-size: 1.11rem;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    position: relative;
    width: 75%;
    color: white;
    padding: 0.5em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    float: none;
    transition-duration: 0.4s;

  }



  label {
    padding: 12px 12px 12px 0;
    display: inline-block;
    font-size: 22px;
  }

}

/* Ende dark modus*/






/* Style the label to display next to the inputs */
label {
  padding: 12px 12px 12px 0;
  display: inline-block;
  font-size: 22px;
}

/* Style the submit button 
          text-decoration: overline;
         font: bold 125% arial, sans-serif;
         */









/* Style the container */
.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;

  font-family: sans-serif;
  font-size: 100%;
}

/* Floating column for labels: 25% width */
.col-25 {
  float: left;
  width: 25%;
  margin-top: 6px;
}

/* Floating column for inputs: 75% width */
.col-75 {
  float: left;
  width: 75%;
  margin-top: 6px;
}

/* Exception für password-wrapper - keine float! */
.col-75.password-wrapper {
  float: none !important;
  width: auto !important;
  display: flex !important;
  position: relative !important;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}








label {
  font-family: sans-serif;
  font-size: 1.2rem;
  padding-right: 7px;
}

select {
  font-size: 100%;
  padding: 2px 5px;
}


/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other 
 */

@media screen and (max-width: 600px) {

  .col-25,
  .col-75,
  input[type=submit] {
    width: 105%;
    margin-top: 0;

  }

}

/* Ende fürs responsive forms*/