/* Events.css?ver=<?=time()?> */

* {
  box-sizing: border-box;
}

html {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

h1 {
  color: silver;
}

input[type="text"],
input[type="option"],
input[type="datetime-local"],
select {
  font-size: 1rem;
  padding: 6px;
  margin: 0.5rem;
  border: 2px solid silver;
  border-radius: 6px;
}

button {
  font-size: 15px;
  padding: 8px;
  cursor: pointer;
  background-color: black;
  color: chartreuse;
  border: 2px solid white;
  border-radius: 6px;
}

button:hover {
  background-color: chartreuse;
  color: black;
  border: 2px solid black;
}

.eventControls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

a {
  font-size: 18px;
  font-weight: normal;
  color: white;
  text-decoration: none;
  padding: 6px;
  margin: 1rem auto;
  background-color: black;
  border: 4px outset silver;
  border-radius: 10px;
}

a:hover {
  color: black;
  background-color: white;
}

.ContentsHeader {
  background: transparent;
  text-align: center;
  margin: auto;
}

.msg {
  color: white;
  text-align: center;
  margin: 1rem auto;
  font-size: 0.8rem;
}

.Header {
  color: rgb(20, 20, 20);
  background-color: rgba(245, 245, 245, 0.706);
  text-align: center;
  margin: auto;
  padding: 4px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 0.8rem;
  font-weight: bold;
  border-left: 1px dotted black;
  border-right: 1px dotted black;
}

.tblEvents {
  font-size: 0.8rem;
  width: 80%;
  max-width: 1000px;
  height: 100%;
  margin: auto auto 2rem auto;
  text-align: center;
  color: whitesmoke;
  background-color: black;
  border-collapse: collapse;
  border: 1px dotted white;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.SchedTable {
  border-collapse: collapse;
  border: 1px dotted white;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 0.8rem;
  margin: auto;
}

.EventCells {
  border: 1px dotted white;
  text-align: left;
  padding: 2px 8px 6px 4px;
  width: fit-content;
}

.CellText {
  border: 1px dotted white;
  text-align: left;
}

.CellText:first-child {
  text-align: center;
}

.imgBanner {
  width: 600px;
  max-width: 800px;
  aspect-ratio: 3.5/1;
  margin-top: 1.25em;
  margin-left: auto;
  margin-right: auto;
}

.Banner {
  text-align: center;
}

.divContents {
  height: 100vh;
  color: whitesmoke;
  margin-top: 1.5em;
}

.ControlRow {
  height: 80px;
  min-height: 40px;
  padding: 6px;
}
.CtrlBtn {
  width: fit-content;
  padding: 6px;
  background-color: silver;
  color: black;
  border: 2px solid white;
  border-radius: 6px;
  cursor: pointer;
}

.CtrlBtn:hover {
  color: silver;
  background-color: black;
  border-color: black;
}

.aBtn {
  cursor: pointer;
  text-decoration: none;
  padding: 3px;
  background-color: darkred;
  color: white;
  border: 3px solid white;
  border-radius: 8px;
  display: block;
  width: fit-content;
  margin: 1.5rem auto;
}

.aBtn:hover {
  border: 4px dotted yellow;
}

.aBtn:visited {
  color: white;
}

#AddNewBtn {
  color: black;
  background-color: chartreuse;
}

.controlsrow {
  width: 100%;
  text-align: center;
  margin: 0.5rem auto;
  white-space: nowrap;
}

.inlinecontrol {
  display: inline-block;
  margin: 0.5rem;
}

#divAdminMsg {
  color: chartreuse;
  font-size: 0.8rem;
  text-align: center;
  margin: 12px auto 6px auto;
  padding: 8px;
}

.Data {
  text-align: center;
  margin: 0 8px;
}

.Data label,
.Data input {
  display: block;
  margin: 0.5rem 0;
}

#btnLogout {
  margin: 16px 1rem;
  background-color: brown;
  color: white;
}

#btnCancel {
  background-color: gray;
  color: black;
}

#tblEvents tr td:nth-child(1),
#tblEvents tr th:nth-child(1),
#tblEvents tr td:nth-child(5),
#tblEvents tr th:nth-child(5) {
  text-align: center;
  vertical-align: middle;
}

@media only screen and (max-width: 429px) {
  #tblEvents {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
}
