* {
    font-family: Arial, serif !important;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: white;
}

.title-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 100%;
    flex-wrap: wrap;
}

.title-container-text {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-wrap: wrap;
    max-width: 100%;
}

#load{
    width:100%;
    height:100%;
    top: 35%;
    left: 45%;
    position:fixed;
    z-index:9999;
    visibility: hidden;
}

.title-highlight {
    margin: 10px;
    padding: 10px;
}

.title {
    margin: 0;
}

#loading_gif {
    height: 200px
}

.header {
    background-color: #0370A1;
    display: flex;
    justify-content: space-between;
    /* position: fixed; */
    width: 100%;
    top: 0;
    left: 0;
    /* z-index: 10; */
    flex-wrap: wrap;
}

.header > h1 {
    color: white;
}

.page-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    /*margin-left: 2rem;*/
    /*margin-right: 2rem;*/
    /*margin-top: 2rem;*/
    margin: 2rem;
    gap: 2rem;
}

footer {
    margin-top: auto;
    padding-bottom: 2rem;
    text-align: center;
}

.highlight-green {
    background-color: rgba(226, 252, 188, 1);
}

.highlight-red {
    background-color: rgba(242, 169, 178, 1);
}

.highlight-blue {
    background-color: rgba(205, 240, 255, 0.9921568627450981);
}

.red-color {
    color: red;
}

tbody tr:nth-of-type(even) {
    background-color: rgb(240 240 240);
}
tbody tr:nth-of-type(odd) {
    background-color: white;
}

.hidden {
    display: none;
}

.nav-link.hidden {
    visibility: hidden;
}

.bold {
    font-weight: bold;
}

/*.scrollable-table {*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    max-height: 50vh;*/
/*    width: 100%;*/
/*    overflow-y: auto;*/
/*}*/

.scrollable-table {
    overflow-x: auto;
    border-radius: 5px;
    /*box-shadow: 0 2px 8px rgba(0,0,0,0.08);*/
    margin: 1rem 0;
    max-height: 50vh;
    max-width: 85vw;
}

.scrollable-table-alert {
    overflow-x: auto;
    border-radius: 5px;
    /*box-shadow: 0 2px 8px rgba(0,0,0,0.08);*/
    margin: 1rem 0;
    max-height: 50vh;
    max-width: 100%;
}

.scrollable-table .wide-table {
    width: max-content;  /* table stretches only as far as its content needs */
    /*min-width: 100%;     !* always fills the scrollable area at least *!*/
    max-width: 100%;     /* always fills the scrollable area at least */
    /*border-collapse: collapse;*/
    border-collapse: separate;
}

.scrollable-table table {
    width: max-content;  /* table stretches only as far as its content needs */
    /*min-width: 100%;     !* always fills the scrollable area at least *!*/
    min-width: 100%;     /* always fills the scrollable area at least */
    /*border-collapse: collapse;*/
    border-collapse: separate;
}

.scrollable-table-dashboard {
    max-height: 50vh;
    overflow-y: auto;
}

.table-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 100%;
}

table {
    border-collapse: separate;
    border-spacing: 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

th {
    position: sticky;
    top: 0;
    background-color: rgba(242, 242, 242, 1);
}

th, td {
    /*padding: .5rem;*/
    padding: 0.5em 1em;
    /*border-bottom: 1px solid black;*/
    border: 1px solid #e0e0e0;

}


.clickable {
    cursor: pointer;
}

.clickable:hover {
    background-color: rgba(205, 240, 255, 0.9921568627450981);
}

tbody > tr:not(.default-pointer):hover {
    background-color: rgba(205, 240, 255, 0.9921568627450981);
}

.non-selectable {
    user-select: none;
}

.chart-nav {
    background-color: white;
    border-radius: 5px;
    border: 1px solid black;
    padding: .75rem;
    width: 13rem;
    margin-right: 1rem;
    font-size: 1.1rem;
    font-weight: bold;

    text-decoration: none;
    color: black;
}

a {
    text-decoration: underline;
    color: blue;
}

a.default-pointer {
    cursor: default;
    text-decoration: none;
    color: black;
}

a.default-pointer:hover {
    cursor: default;
    text-decoration: none;
    color: black;
}

.dashboard-content-root {
    margin-top: 2rem;
}

.dashboard-tab-container {
    display: flex;
    flex-direction: row;
}

.dashboard-tab {
    border-top: 1px solid #797979;
    border-bottom: 3px solid #797979;
    border-left: 1px solid #797979;
    border-right: 1px solid #797979;
    background-color:  rgb(242, 242, 242);
    padding: 1rem 1.5rem;
    width: 25%;
    text-wrap: stable;
    text-align: center;
    border-radius: 5px 5px 0px 0px;
    overflow: hidden;
    color: black;
    text-decoration: none;
}

.active-tab {
    border-top: 3px solid #797979;
    border-bottom: none;
    border-left: 3px solid #797979;
    border-right: 3px solid #797979;
    background-color: rgb(253, 253, 253);
    padding: 0.5rem 1.5rem;
}

.active-tab:hover {
    cursor: default;
}

.hover-tab:hover {
    cursor: pointer;
    background-color: rgba(205, 240, 255, 0.9921568627450981);
}

.dashboard-tab-filler-beginning {
    width: 3%;
    border-bottom: 3px solid #797979;
}

.dashboard-tab-filler-end {
    width: 100%;
    border-bottom: 3px solid #797979;
}

h3 {
    margin: 0;
    text-decoration: underline;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: #0370A1;
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.site-header-narrow {
    display: None
}

.header-left {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.header-center {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-center h1 {
  margin: 0;
  text-align: center;
}

.header-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem; /* space between right-side buttons */
}

.margin-auto {
    margin: auto
}

/* Responsive handoff */
@media (max-width: 675px) {
    .site-header-narrow {
        display: flex;
        flex-direction: column;    /* Stack vertically */
        align-items: stretch;      /* Full width */
        background-color: #0370A1;
        color: white;
        position: sticky;
        top: 0;
        z-index: 10;
    }

      .site-header {
          display: None
      }
      .header-center {
        justify-content: center;
        margin: 0.5rem 0;
      }
      .back-and-home-buttons-narrow,
      .active-and-snoozed-buttons-narrow {
        /*justify-content: center;*/
        /*margin: auto;*/

          display: flex; /* Arranges children (buttons) in a row */
          gap: 10px;     /* Adds space between buttons */
          justify-content: center; /* Centers buttons horizontally */
          flex-wrap: wrap;
      }
    button-container {
      display: flex; /* Arranges children (buttons) in a row */
      gap: 10px;     /* Adds space between buttons */
      justify-content: center; /* Centers buttons horizontally */
      flex-wrap: wrap; /* Allows buttons to wrap to next line if they don't fit */
    }

    .dashboard-tab-container {
        display: flex;
        flex-direction: column;
    }

    .dashboard-tab {
        border-left: none;
        border-top: 1px solid #797979;
        border-right: 1px solid #797979;
        border-bottom: 1px solid #797979;
        background-color:  rgb(242, 242, 242);
        padding: 0.5rem 1.5rem;
        width: 25%;
        text-wrap: stable;
        text-align: center;
        border-radius: 0 5px 5px 0;
        /*border-radius: 0 5px 0 0;*/
        overflow: hidden;
        color: black;
        text-decoration: none;
    }

    .dashboard-tab-filler-beginning {
        width: 3%;
        border-bottom: none;
    }

    .dashboard-tab-filler-end {
        width: 100%;
        border-bottom: none;
    }

    .active-tab {
        border-top: 3px solid #797979;
        border-bottom: 3px solid #797979;
        border-left: none;
        border-right: 3px solid #797979;
        border-radius: 0 5px 5px 0;
        background-color: rgb(253, 253, 253);
        padding: 0.5rem 2rem;
    }

    .nav-link.hidden {
        display: none;
    }
}
