
/*Layouts for DigiTennis*/
#formDiv {
  width: 90%;
  margin: 0 auto;
  margin-bottom: 7px;
}

#formDivMobile {
  width: 90%;
  text-align: center;
  margin-bottom: 7px;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 20px;
}

#reservations {
  font-family: "Ubuntu";
  border-collapse: collapse;
  width: 90%;
  margin: 0 auto;
}

#reservations td {
  border: 1px solid #ddd;
  padding: 8px;
}

#reservations th {
  text-align:center;
  background-color: #A4A4A4;
  color: white;
  border: 1px solid #ddd;
  font-size: 20px;
}

.service_reservierung_mitglied {
  background-color: #E67E22;
	color: white;
  text-align: center;	
  font-size: 15px;
  position:relative;
}

.service_platz_sperre {
  background-color: #C0392B;
	color: white;
  text-align: center;
  font-size: 15px;	
}

.service_event {
  background-color: #2980B9;
	color: white;
  text-align: center;	
  font-size: 15px;
}

.service_reservierung_gast {
  background-color: #8E44AD;
	color: white;
  text-align: center;
  font-size: 15px;
}

.service_training {
  background-color: #F1C40F;
	color: white;
  text-align: center;
  font-size: 15px;
}

@media screen and (max-width: 450px) {
  .service_reservierung_mitglied {
    font-size: 7px;
  }
}

@media screen and (max-width: 450px) {
  .service_platz_sperre {
    font-size: 7px;
  }
}

@media screen and (max-width: 450px) {
  .service_event {
    font-size: 7px;
  }
}

@media screen and (max-width: 450px) {
  .service_reservierung_gast {
    font-size: 7px;
  }
}

@media screen and (max-width: 450px) {
  .service_training {
    font-size: 7px;
  }
}

@media screen and (max-width: 1080px) {
#reservations th {
  font-size: 17px;
  padding: 6px;
  }
}

#buttons {
  border: 0;
  width: 90%;
  margin: 0 auto;
}

  .my-legend {
    width: 90%;
    margin: 0 auto;
  }
  
  .my-legend .legend-title {
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 20px;
    }
  .my-legend .legend-scale ul {
    margin: 0;
    margin-bottom: 5px;
    padding: 0;
    float: left;
    list-style: none;
   
    }
  .my-legend .legend-scale ul li {
  
    list-style: none;
    margin-left: 0;
    line-height: 18px;
    margin-bottom: 4px;
    }
  .my-legend ul.legend-labels li span {
    display: block;
    float: left;
    height: 18px;
    width: 40px;
    margin-right: 5px;
    margin-left: 0;
    border: 1px solid #999;
    border-radius: 10px;
    }
  
#legend {
  width: 90%;
  margin: 0 auto;
  border: 0;
}

.datepicker-toggle {
  display: inline-block;
  position: relative;
  width: 18px;
  height: 19px;
}

.datepicker-toggle-button {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://digitennis.at/wp-content/uploads/2022/04/calendar.png');
  margin-top: 3px;
}

.datepicker-input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  box-sizing: border-box;
}

.datepicker-input::-webkit-calendar-picker-indicator {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  cursor: pointer;
}

.datepickerButton {
  background-color: #A4A4A4;
  padding: 12px 12px 9px 12px;
  border: 2px solid #A4A4A4;
  border-radius: 6px;
}

.datepickerButton:hover {
  background-color: #bfbfbf;
}

.inputDesktopNormal {
  cursor:pointer; 
  background-color: #A4A4A4;
  font-weight: bold; 
  color: white;
  border-color: #A4A4A4;
  border-style: solid;
  border-radius: 6px;
  font-size: 16px; 
  padding: 7px 20px 8.5px 20px;
  margin-right: 5px;
}

.inputDesktopNormal:hover {
  background-color: #bfbfbf;
}

.inputDesktopColor {
  cursor:pointer; 
  font-weight: bold; 
  color: white;
  border-color: #4b82e9;
  border-style: solid;
  border-radius: 6px;
  background-color: #4b82e9;
  font-size: 18px; 
  padding: 8px 30px 8px 30px; 
  letter-spacing: 2px;
  margin-right: 5px;
}

.inputDesktopColor:hover {
  background-color: #77a1ee;
}

.inputMobileNormal {
  cursor:pointer; 
  background-color: #A4A4A4;
  font-weight: bold; 
  color: white;
  border-color: #A4A4A4;
  border-style: solid;
  border-radius: 6px;
  font-size: 14px; 
  padding: 8px 20px 8px 20px;
  margin-right: 5px;
}

.inputMobileNormal:hover {
  background-color: #bfbfbf;
}

.inputMobileColor {
  cursor:pointer; 
  font-weight: bold; 
  color: white;
  border-color: #4b82e9;
  border-style: solid;
  border-radius: 6px;
  background-color: #4b82e9;
  font-size: 16px; 
  padding: 8px 30px 8px 30px; 
  letter-spacing: 2px;
  margin-right: 5px;
}

.inputMobileColor:hover {
  background-color: #77a1ee;
}

.datepickerButtonMobile {
  background-color: #A4A4A4;
  padding: 10px 12px 8.5px 12px;
  border: 2px solid #A4A4A4;
  border-radius: 6px;
}

.datepickerButtonMobile:hover {
  background-color: #bfbfbf;
}


.sportsDropdown {
  background-color: #A4A4A4;
  padding: 10px 12px 8.5px 12px;
  border: 0px;
  border-radius: 6px;
  color: white;
  font-size: 16px;
  font-weight: bold; 
  margin-left: 6px;
}

.sportsDropdown:hover {
  color: white;
  font-size: 16px;
  font-weight: bold; 
  background-color: #bfbfbf;
  cursor: pointer;
}

.sportsDropdown:focus {
  color: white;
  font-size: 16px;
  font-weight: bold; 
  background-color: #bfbfbf;
}

.sportsDropdownItem {
  color: white;
  font-size: 16px;
  font-weight: bold; 
}