@font-face {
  font-family: Dosis;
  src: url('Dosis-Regular.woff');
  font-display: swap;
}

h1 {
  font-family: Dosis;
}

body {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  text-align: center;
  text-align: -webkit-center;
  text-align: -moz-center;
  font-size: 2em;
}

button {
  background-color: #555555;
  color: white;
  border: 2px solid #555555;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1em;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
  border-radius: 6px;

  width: 245px;
  margin-left: auto;
  margin-right: auto;
}

button:hover {
  background-color: white;
  color: black;
}

#nameInfo {

  font-size: 35px;
  font-family: Dosis;
}

/*
body {
  float: none;
  width: auto;
  display: grid;
}
*/
a {
  color: #676767;
}

#booking {
  display: block;
  width: auto;
  font-size: 0.8em;
  padding: 14px;
  margin-top: 20px;
  background-color: gray;
  border: 2px solid gray;
}

#booking:hover {
  background-color: white;
  color: #676767;
}

#sendAbsent {
  display: block;
  width: auto;
  font-size: 0.7em;
  padding: 12px;
  margin-top: 20px;
  background-color: #585858;
  border: 2px solid #585858;
}

#sendAbsent:hover {
  background-color: white;
  color: #676767;
}

a {
  text-decoration: none;
}


/* The container */
.container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default radio button */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom radio button */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.container:hover input~.checkmark {
  background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.container input:checked~.checkmark {
  background-color: #0a0a0a;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.container input:checked~.checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.container .checkmark:after {
  top: 9px;
  left: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

#absentButtons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
}

.container {
  margin: 10px;
}

.absentDateInput {
  border: none;
  border-bottom: 2px solid #dbdbdb;
  transition: all 0.3s;
  font-size: 0.7em;
  width: 160px;
}

textarea:focus,
input:focus {
  outline: none;
}

.absentDateInput:focus {
  border: none;
  border-bottom: 2px solid black;
  outline: none;
}

.invisible {
  display: none;
  opacity: 0;
}

.absent {
  transition: 0.3s;
  opacity: 0;
}

.visible {
  opacity: 1 !important;
}

.saving {
  background-color: #093f6e !important;
  border-color: #093f6e !important;
  color: white !important;
}

.success {
  background-color: #1e724b !important;
  border-color: #1e724b !important;
  color: white !important;
}

h1 {
  margin-bottom: -7px;
}

.Urlaub {
  color: white;
  background-color: #37a774;
}

.krank {
  color: white;
  background-color: #103c7e;
}

.Arbeitszeit {
  color: black;
  background-color: #e9e9e9;
}

.Überstunden {
  color: white;
  background-color: #df803d;
}

.Feiertag {
  color: white;
  background-color: #80c174;
}

 /* Chrome, Safari, Edge, Opera */
 input::-webkit-outer-spin-button,
 input::-webkit-inner-spin-button {
     -webkit-appearance: none;
     margin: 0;
 }

 /* Firefox */
 input[type=number] {
     -moz-appearance: textfield;
 }

 .hoursInput {
  display: inline;
  padding: 9px 13px;
  font-family: Arial, Helvetica, sans-serif;
  width: 33px;
  font-size: 19px;
  border: solid 1px #646464;
  border-radius: 5px;
  margin-top: 10px;
  margin-bottom: 30px;
  text-align: center;
  transition: 0.4s;
}

.absentDateInput {
  font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 17px;
}

@media (max-width: 420px) {
  h1 {
    font-size: 10vw;
  }

  #nameInfo {
    font-size: 8vw;
  }
}
