
.body {
  font-family: Arial, Helvetica, sans-serif;
}

.myTopDiv {
  position:sticky;
  top:0;
  width: 90%;
  z-index:10;
  padding: 5px 0;
  background-color: white;
  border-bottom: 1px solid lightgrey;;
}
.myTopDivTable {
  width: 100%; 
} 
.myTopDivTable td:first-child {
  width: 10%;
}
.myTopDivTable td:nth-child(2) {
  text-align: left;
  width: 40%;
}
.myTopDivTable td:nth-child(3) {
  text-align: right;
  width: 20%;
}
.myHeaderLogo {
  width: 5px;
}

.myLogoClass {
  width: 100px;
}

.myHeaderLine {
  text-align: center; 
  font-size: 1.5em;
  font-weight: 600;
  color: rgb(7, 75, 142);
  width: 70%; 
}

.myDiv1 {
  width: 90%;
  /* overflow: auto;  */
}
.myDiv2 {
  /* border-bottom: 1px solid lightgray;  */
  margin: 2px;
  padding: 5px;
  display:inline-block;
  width: 100%;
  min-height: 200px;
  vertical-align: top;
}

.myDiv2:nth-child(even) {
  /* background-color: rgb(227, 241, 248);  */
  background-color: rgb(236, 236, 236);
}

.myTable1 {
  width: 100%;
}

.myTD1 {
  width: 30%;
  vertical-align: top;
  font-size: 0.9em;
}

.myTD2 {
  width: 70%;
  vertical-align: top;
  font-size: 0.9em;
}

.myTDSubject {
  height: auto;
}

.myEventInputShow {
  border: 0px solid lightgray;
  font-size: 0.9em;
  font-weight: 600;
  background-color: inherit;
}

.myEventInputShowLong {
  width: 95%;
  overflow: hidden;
  overflow-x: hidden; /* Hide horizontal scrollbar */
  display: inline-block;
  border: 0px solid lightgray;
  font-size: 0.9em;
  font-weight: 400;
  margin-bottom: 10px;
  white-space: pre-line;
}

.Mybutton-01 {
  background-color: whitesmoke;
  border: 1px solid #000;
  color: black;
  text-align: center middle;
  text-decoration: none;
  cursor: pointer;
  width:  4.5rem;
  margin: 0.1rem; /* all 4 sides */
  border-radius: 5px; /* all 4 corners */
}
.Mybutton-01:hover {
  background-color: #4CAF50;
  text-decoration: none;
}

.Mybutton-01a {
  background-color: white;
  border: 1px solid #000;
  color: black;
  text-align: center middle;
  text-decoration: none;
  display: inline-block;
  /* font-size: 0.725rem; */
  padding: 0rem 1.6rem 0rem 1.6rem; /* oben, rechts, unten, links */
  margin: 0px ; 
  cursor: pointer;
  width:  5rem;
  height: 1.5rem;
}
.Mybutton-01a:hover {
  background-color: black;
  color: white;
}

.Mybutton-02 {
  background-color: #4CAF50;
  border: none;
  color: white;
  /* padding: 15px 32px; */
  text-align: center;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}
.Mybutton-02:hover {
  background-color: rgb(24, 24, 245);
  color: white;
}

.Mybutton-03 {
  background-color: rgb(218, 10, 10);
  border: none;
  color: white;
  /* padding: 15px 32px; */
  text-align: center;
  text-decoration: none;
  display: inline-block;
  /* font-size: 16px;
  margin: 4px 2px;  */
  cursor: pointer;
}
.Mybutton-03:hover {
  background-color: #000;
  color: white;
}

.Mybutton-04 {
  background-color: inherit;
  border: 0px solid #000;
  color: black;
  text-align: center middle;
  text-decoration: none;
  cursor: pointer;
  margin-left: 10px;
  padding: 0;
}

.Mybutton-05, .Mybutton-06  {
  background-color: inherit;
  border: 0px solid #000;
  color: black;
  text-align: center middle;
  text-decoration: none;
  cursor: pointer;
  margin-right: 10px;
  padding: 0;
}
.myFontawesomeButton {
  margin: 0 5px;
  padding: 2px 5px;
}
.myFontawesomeButton:hover {
  background-color: red !important;
}

.myArchiveButton {
  margin: 50px 5px;
  padding: 0 5px;
}
.myArchiveButton:hover {
  background-color: red !important;
}

.myIconsClass {
  display: flex;
}
.myParticipantContainer {
  display: flex;
}
.myParticipantClass {
  display: flex;
  margin-left: 5px;
  text-decoration: underline;
  width: 70%;
}
#ParticipantList, #EditEvent {           /* overwritte default confirmbox size */
  height: auto;
  max-height: 80%;           /* max height (or bottom) needed to enable scroll */
}
.myOptionYes {
  color: green;
}
.myOptionNo {
  color: red;
}
.myOptionMaybe {
  color: orange;
}
.myOptionLabel {
  display: none;  /* display only participant with option Yes, do not display Yes/No/Maybe option  */
}
.myRadioOption {
  margin: 30px 0 0 20px;
  display: none;  /* display only participant with option Yes, do not display Yes/No/Maybe option  */
}
.myParticipantsTable {
  width: 98%;
  background-color: rgb(211, 246, 246);
  color: black;
  text-align: center;
  border-collapse: collapse;
  font-size: 0.8rem;
}
.myParticipantsTable th {
  font-weight: 600;
}
.myParticipantsTable tbody td { 
  border-top: 2px solid white;
}
.myParticipantsTable td:nth-child(1), .myParticipantsTable th:nth-child(1){
  text-align: left;
  padding-left: 5px;
}

.myParticipantsTable tfoot td {
  border-top: 2px solid black !important;
}
.myDeleteParticipationButton {
  margin-left: 20px;
  background-color: inherit;
  border: 0px solid black;
  cursor: pointer;
}

.RequiredField {
  display: none;
  margin-left: 10px;
  color: red;
  font-size: medium;
}

.EventFields {
  width: 50%;
}

.myEventEdit {
  margin-bottom: 10px;
  max-width: 95%;
}

.myLoaderBackground {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 30px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.myLoader {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 100px;
  height: 100px;
  margin: -76px 0 0 -76px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
 
}
.myButtonLabel {
  padding-left: 10px;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media screen and (max-width: 827px) {
  .myHeaderLine {
    font-size: 1em;
  }

  .myTopDiv {
    width: 100%;
  }

  .myDiv1 {
    width: 99%;
  }
    
  .myTDSubject {
    height: auto;
  }
  .myEventInputShowLong {
    overflow: hidden;
  }
}

@media screen and (max-width: 568px) {
  .myParticipantsTable {
    font-size: 0.6rem;
  }

  .myButtonLabel {
    display: none;
  }

  .EventFields {
    width: 95%;
  }
}

@media (prefers-color-scheme: dark) {
  .day.dark-scheme {
    background: #333;
    color: white;
  }
  .night.dark-scheme {
    background: black;
    color: #ddd;
  }
}