img {border:1px;padding:3px;max-width:100%;max-height:100%;height:auto}
html {margin:0px; padding:0px}
body {margin:0px; padding:0px; background-color:#000000}
button {margin:2px; padding:2px; background-color: #707070; color: #FFFFFF;border-radius: 4px;box-shadow: 0 1px #000000;}
.button-danger {margin:2px; padding:2px; background-color: #707070; color: #FF5555;border-radius: 4px;box-shadow: 0 1px #000000;}
table {min-width:100%;text-align: left;vertical-align: middle;}
td {}
.thumbsTitle {height:24px;border:1px blue white;padding:0px;margin:0px;line-height:24px;border-collapse:collapse;border-spacing:0px;background-color:#333366;}
.thumbsTable {height:272px;border:none;padding:0px;margin:0px;line-height:24px;border-collapse:collapse;border-spacing:0px;background-color:#333333;}
.thumbsStatus {height:24px;border:1px solid white;padding:0px;margin:0px;line-height:24px;border-collapse:collapse;border-spacing:0px;background-color:#333333;}
.thumbsRow {height:136px;border:none;padding:0px;border-collapse:collapse;}
.thumbPicture16x9 {border:1px;padding:3px;min-width:360px;min-height:180;}
.thumbPicture4x3 {border:1px;padding:3px;min-width:160px;min-height:120;}
.collapsible {
    background-color: #777;
    color: white;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    font-weight: bold;
  }

  .flex-container {
    display: flex;
    flex-direction: row;
  }
  
  .flex-item {
    max-width: 300px;
    flex: 50%;
  }
  
  @media (max-width: 800px) {
    .flex-container {
      flex-direction: column;
    }
  }

.cam-container {
  position: relative;
  width: 100%; /* or any specific width */
  padding-top: 56.25%; /* 16:9 ratio = 9 / 16 = 0.5625, multiplied by 100 = 56.25% */
}

.cam-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

  .time-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
  }
  .time-group label {
      display: flex;
      flex-direction: column;
  }
  .btn-group {
      text-align: right;
  }
  input[type="radio"], input[type="time"] {
      background-color: #333;
      color: #ffffff;
      border: 1px solid #555;
  }
  .popup {
    display: none;
    flex-direction: column;
    padding: 20px;
    border: 1px solid #333;
    width: 300px;
    background-color: #1e1e1e;
    color: white;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

.button-row {
  display: flex;
  justify-content: space-between; /* Space them out evenly */
  gap: 10px; /* Optional: Space between the buttons */
}