* {
  box-sizing: border-box;
}

body {
  width: 100%;
  font-family: arial, sans-serif;
  font-size: 15px;
  color: #6e706f;
}

input::placeholder {
  font-family: arial, sans-serif;
  color: #0072cf;
  opacity: 1;
}

.widget {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.widget-submit {
  margin-top: 35px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

a {
  color: #00b38a;
}

a:hover {
  text-decoration: none;
}

input.text {
  padding: 5px 10px;
  border: 2px solid #0072cf;
  color: #0072cf;
  font-size: 99%;
  width: 100%;
  font-family: arial, sans-serif;
  min-width: 250px;
}

input[type="checkbox"] {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: #fff;
  border: 2px solid #0072cf;
  margin-right: 5px;
  position: relative;
}

input[type="checkbox"]:before {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  content: "";
  width: 8px;
  height: 8px;
  background: #00b38a;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

input[type="checkbox"]:checked:before {
  opacity: 1;
}

#auswahl {
  display: flex;
  justify-content: space-between;
}

#angebot-submit.na {
  cursor: not-allowed;
  background-color: #888;
}

label {
  font-weight: bold;
  display: inline-block;
  margin-bottom: 5px;
  color: #0072cf;
  font-size: 16px;
  border-bottom: 2px solid;
  margin-bottom: 10px;
  padding-bottom: 2px;
}

#module div label {
  margin-left: 10px;
  margin-bottom: 0;
  font-weight: normal;
  color: #6e706f;
  font-size: 15px;
  border: 0;
  margin: 0;
  cursor: pointer;
}

.info {
  border-top: 1px solid #00b38a;
  padding-top: 20px;
  align-items: center;
}

input[type="submit"] {
  margin-bottom: 15px;
  border: none;
  background-color: #0072cf;
  padding: 8px 20px;
  color: #fff;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  font-size: 18px;
}

input[type="submit"]:hover {
  background-color: #00b38a;
}

form .spalte {
  text-align: left;
  margin-right: 15px;
  padding-left: 0;
  display: block;
  width: 100%;
}

table {
  border-collapse: collapse;
  width: 100%;
}

td {
  background: #f1f1f1;
  padding: 8px;
  border-bottom: 2px solid #0072cf;
}

tr {
  padding-bottom: 10px;
}

.ausgabe {
  background: #00b38a;
  border-bottom: 2px solid #fff;
  color: #fff;
}

td:first-child {
  padding-right: 15px;
}

tr:last-child td {
  border-bottom: 0;
}

form .table {
  padding-left: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 30px;
}

td.ausgabe {
  white-space: nowrap;
  font-weight: bold;
  text-align: right;
  vertical-align: top;
}

h2 {
  min-height: 52px;
  margin-bottom: 0;
  color: #0072cf;
}

#output {
  border: 0;
  font-weight: bold;
  color: #00b38a;
  padding: 8px 10px;
  font-size: 16px;
  width: 100%;
  background: #f0f0f0;
  margin-top: 8px;
  text-align: center;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2) inset;
  /*border-radius: 16px;*/
}

#smail .form {
  text-align: right;
}

@media only screen and (max-width: 1024px) {
  #auswahl {
    flex-direction: column;
  }
  #auswahl div {
    margin-bottom: 15px;
  }
  .widget-submit {
    justify-content: flex-start;
  }
}

@media only screen and (max-width: 1024px) {
  #auswahl div:first-child {
    grid-template-columns: 1fr;
    grid-row-gap: 15px;
  }
  form .table {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 625px) {
  td {
    clear: both;
    width: 100%;
    display: block;
  }
  .ausgabe,
  #smail .form {
    text-align: left;
  }
}

/*@media only screen and (max-width: 480px) {
  #auswahl {
    display: block;
  }
  #auswahl div:first-child {
    display: flex;
    flex-direction: column;
  }
}*/

input[type="range"] {
  -webkit-appearance: none;
  margin: 10px 0;
  width: 100%;
}
input[type="range"]:focus {
  outline: none;
}
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 8px;
  cursor: pointer;
  animate: 0.2s;
  box-shadow: 0px 0px 0px #000000;
  background: #0072cf;
  border-radius: 8px;
  border: 0px solid #000000;
}
input[type="range"]::-webkit-slider-thumb {
  box-shadow: 0px 0px 1px #ffffff;
  border: 1px solid #ffffff;
  height: 16px;
  width: 16px;
  border-radius: 16px;
  background: #00b38a;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -4.5px;
}
input[type="range"]:focus::-webkit-slider-runnable-track {
  background: #0072cf;
}
input[type="range"]::-moz-range-track {
  width: 100%;
  height: 8px;
  cursor: pointer;
  animate: 0.2s;
  box-shadow: 0px 0px 0px #000000;
  background: #0072cf;
  border-radius: 8px;
  border: 0px solid #000000;
}
input[type="range"]::-moz-range-thumb {
  box-shadow: 0px 0px 1px #ffffff;
  border: 1px solid #ffffff;
  height: 16px;
  width: 16px;
  border-radius: 16px;
  background: #00b38a;
  cursor: pointer;
}
input[type="range"]::-ms-track {
  width: 100%;
  height: 8px;
  cursor: pointer;
  animate: 0.2s;
  background: transparent;
  border-color: transparent;
  color: transparent;
}
input[type="range"]::-ms-fill-lower {
  background: #0072cf;
  border: 0px solid #000000;
  border-radius: 16px;
  box-shadow: 0px 0px 0px #000000;
}
input[type="range"]::-ms-fill-upper {
  background: #0072cf;
  border: 0px solid #000000;
  border-radius: 16px;
  box-shadow: 0px 0px 0px #000000;
}
input[type="range"]::-ms-thumb {
  box-shadow: 0px 0px 1px #ffffff;
  border: 1px solid #ffffff;
  height: 16px;
  width: 16px;
  border-radius: 16px;
  background: #00b38a;
  cursor: pointer;
}
input[type="range"]:focus::-ms-fill-lower {
  background: #0072cf;
}
input[type="range"]:focus::-ms-fill-upper {
  background: #0072cf;
}
