@font-face {
  font-family: 'Sclate';
  src: url('../fonts/Sclate.eot'), url('../fonts/Sclate.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

html,
body {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    background-color: black;
    background-color: #1a1a1a;
}

body {
    font-size: 18px;
    /* border: 1px solid red; */
    color: white;
    color: #e1e1e1;
    font-family: Georgia, 'Times New Roman', Times, serif;
    padding: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

body.form-action {
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;
}

/* section {
 border: 1px solid red;
} */

footer {
  margin: 40px 0;
  border-top: 1px solid #747474;
  height: 150px;
}

a {
  color: #d3d3d3;
}

a:hover {
  color: white;
}


.form-wrap {
    /* border: 1px solid lightblue; */
    /* border-radius: 15px; */
    max-width: 600px;
    max-height: 700px;
    width: 600px;
    padding: 65px 25px 25px 25px;
    background-color: #2c2c2c;
    -webkit-box-shadow: 0px 0px 34px 21px rgba(0, 0, 0, 0.06);
    -moz-box-shadow: 0px 0px 34px 21px rgba(0, 0, 0, 0.06);
    box-shadow: 0px 0px 34px 21px rgba(0, 0, 0, 0.5);
    background: url("/public/clamp.gif") no-repeat top center, #2c2c2c;
}

#form-action h1 {
  text-align: center;
  margin: 0;
  color: #e2daab;
  /* color: #d80303; */
  font-size: 48px;
}
#form-action h2 {
  text-align: center;
  margin: 0 auto;
  /* color: #e2daab; */
  font-weight: normal;
  font-size: 20px;
}

h1.brand,
h2.brand {
  font-family: 'Sclate', 'Arial Cyr', Courier, monospace;
}

.fieldset {
    padding: 10px 10px;
    text-align: left;
}

label {
    display: block;
    text-transform: lowercase;
    letter-spacing: 2px;
    font-size: 20px;
    color: #ede8c9;
    margin: 20px 0 5px 0;
}

label .comments {
    font-size: 12px;
}

#form-action input {
  font-family: 'Sclate';
  border: none;
  outline: none;
  border-bottom: 1px solid #747474;
  background-color: transparent;
  color: inherit;
  outline: none;
  padding: 10px 0 0 30px;
  border-radius: 5px;
  letter-spacing: 2px;
  font-size: 18px;
  width: 520px;
  margin-left: 10px;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(100%);
}

#form-action input::placeholder,
#form-action input::-webkit-input-placeholder,
#form-action input::-moz-placeholder,
#form-action input:-moz-placeholder,
#form-action input:-ms-input-placeholder {
	font-size: 16px;
	color: rgb(135, 135, 135);
  text-transform: lowercase;
}

#form-action input:hover::placeholder,
#form-action input:hover::-webkit-input-placeholder,
#form-action input:hover::-moz-placeholder,
#form-action input:hover:-moz-placeholder,
#form-action input:hover:-ms-input-placeholder {
	color: rgb(198, 198, 198);
}

#form-action input:hover {
    border-bottom: 1px solid white;
    cursor: pointer;
}

#form-action div.error {
  height: 10px;
  font-size: 14px;
  color: red;
  padding-left: 25px;
}

#form-action input.error {
  border-bottom: 1px solid red;
  cursor: pointer;
}


#form-action input[type="checkbox"] {
  width: 20px;
}

#form-action input[type="submit"],
#form-action input[type="button"] {
  padding: 10px 30px;
  border-radius: 25px;
  margin: 0 auto;
  border-top: 1px solid #747474;
  border-bottom: 1px solid #747474;
  color: #747474;
  text-transform: uppercase;
  width: 100%;
}

#form-action input[type="submit"]:hover,
#form-action input[type="button"]:hover {
  border-top: 1px solid rgb(198, 198, 198);;
  border-bottom: 1px solid rgb(198, 198, 198);;
}

#form-action input.passed {
  border-bottom: 1px solid rgb(255, 255, 0);
  border-bottom: 1px solid rgb(255, 255, 255);
  color: yellow;
}

#form-action input[type="button"].approval {
  border-bottom: 1px solid rgb(255, 255, 0);
  border-bottom: 1px solid rgb(255, 255, 255);
  color: yellow;
}


.action-termin {
  font-weight: bold;
  /* color: red; */
  color: rgb(199, 199, 0);
}
.action-level {
  color: rgb(199, 199, 0);
}
b {
  /* color: blue; */
}
.brand {
  font-weight: bold;
  /* color: maroon; */
}
.brand-programm {
  /* color: maroon; */
  font-weight: bold;
}

input:-webkit-autofill {
  -webkit-box-shadow:0 0 0 50px white inset; /* Change the color to your own background color */
  -webkit-text-fill-color: #333;
}
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 50px white inset;/*your box-shadow*/
  -webkit-text-fill-color: #333;
}


input:invalid {
	border-color: red;
}

input,
input:valid {
	border-color: #ccc;
}

input#approval {
  /* position: absolute;
  z-index: -1;
  opacity: 0;  */
  padding-right: 25px;
  width: 20px;
  float: left;
}

input#approval ~ label {
  /* border: 1px solid black; */
  margin-top: 0;
}

@media (max-width: 700px) {
  .form-wrap {
    width: 500px;
    /*padding: 65px 25px 25px 25px;*/
  }
  label {
    letter-spacing: 2px;
    font-size: 14px;
    margin: 0;
  }
  #form-action input {
    padding: 10px 0 0 1px;
    font-size: 18px;
    width: 420px;
  } 
}

@media (max-width: 576px) {
  .form-wrap {
    width: 320px;
    height: 530px
    /*padding: 65px 25px 25px 25px;*/
  }
  label {
    letter-spacing: 2px;
    font-size: 14px;
    margin: 0;
  }
  #form-action input {
    padding: 10px 0 0 10px;
    font-size: 14px;
    width: 280px;
  } 
}