body {
    height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

header {
    border-top: 1px solid var(--main-border-accent);
    border-bottom: 1px solid var(--main-border-accent);
}

.scroll-y {
    height: calc(100vh - 75px);
    overflow-y: auto;
}

.no-scroll-y {
    overflow-y: hidden;
}

section.trim-viewport {
    min-height: 93vh;
}

/* For table header sorting links */
:root {
  --main-bg-color: #022346;
  --main-bg-color-highlight: #0dc0eb;
  --main-bg-color-light-highlight: #69f3ff;
  --main-border-danger: #dc3545;
  --main-bg-table-stripe: #dee2e6;
  --main-bg-table-stripe-hover: #d3d3d3;
  --main-border-accent: #022346;
  --main-footer-text-color: #ffffff;
  --main-nav-button-bg: #ececec;
  --main-nav-button-bg-hover: darkgray;
}

.bg-dark {
    background-color: var(--main-bg-color) !important;
}

th, td {
    font-size: 14px;
}

th.dashboard, td.dashboard {
    font-size: 12px;
}

th a {
    color: black;
    text-decoration: none;
}

th a:hover {
    color: #222222;
    text-decoration: underline;
}

tr {
    vertical-align: middle;
}

td a, dd a, div.d-inline-block > a.status-tag {
    color: black;
    text-decoration: none;
}

td a:hover, dd a:hover {
    color: #222222;
    text-decoration: underline;
}

a.style-link {
    color: black;
    text-decoration: none;
    border: none !important;
}

a.style-link:hover {
    color: #222222;
    text-decoration: underline;
    border: none !important;
}

/*For navbar links*/

.nav-item a.nav-link.disabled {
    color: var(--main-nav-button-bg-hover) !important;
}

.nav-item a.nav-link {
    color: lightgray !important;
}

.nav-item a.nav-link:hover {
    color: white !important;
}

nav.shorten {
    padding-top: 3px;
    padding-bottom: 3px;
}

/* For Bootstrap pagination-sm */

ul.pagination {
    justify-content: flex-start !important;
}

ul.pagination > li > a {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    line-height: 1.5;
    color: #212529;
    text-decoration: none;
    background-color: var(--main-nav-button-bg);
    border: 1px solid #212529;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

ul.pagination > li.disabled .page-link {
    color: #868e96;
    pointer-events: none;
    cursor: auto;
    background-color: var(--main-nav-button-bg);
    border-color: #718393;
}

ul.pagination > li.active .page-link {
    z-index: 1;
    color: white;
    background-color: #212529;
    border-color: #212529;
}

ul.pagination > .page-link:focus, .page-link:hover {
    color: #fff;
    text-decoration: none;
    background-color: var(--main-nav-button-bg-hover);
    border-color: #212529;
}

ul.pagination > li > a {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.non-table-font {
    font-size: 14px;
    line-height: 1.2rem;
}

ul.list-no-bullet, ul.list-no-bullet > li {
    list-style-type: none;
    margin: 0 0 5px 0;
    padding: 0;
}

div.row:has(.list-no-bullet) {
    height: 5.0rem;
}

.form-input {
    font-size: 14px;
    line-height: 0px;
}

.site-google-map {
    width: 100%;
    border: 1px solid var(--main-bg-color);
    height: 350px;
}

.site-google-map-lg {
    width: 100%;
    border: 1px solid var(--main-bg-color);
    height: 700px;
}

td > a > div.status-tag, dd > a > div.status-tag, dd > div > div > div.status-tag, div.d-inline-block > a > div.status-tag {
    border-radius: 3px;
    padding-top: 4px;
    padding-bottom: 4px;
    text-align: center;
    font-size: small;
    line-height: 1.0;
    width: 300px;
    box-shadow: gray 2px 2px 3px;
}

dd > div > div.status-tag {
    padding: 5px;
    border: 2px solid red;
    border-radius: 3px;
    width: 315px;
}

td > a > div.status-tag:hover, dd > a > div.status-tag:hover, div.d-inline-block > a > div.status-tag:hover {
    box-shadow: black 2px 2px 3px;
}

td > a.status-tag:hover, dd > a.status-tag:hover, div.d-inline-block > a > div.status-tag:hover {
    text-decoration: none;
}

a.status-tag-filter {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

a.status-tag-filter:hover {
    color: #FFFFFF;
    text-decoration: none;
}

div.status-tag-filter {
    font-size: small;
    font-weight: 600;
    border-radius: 3px;
    padding: 3px 0px;
    box-shadow: gray 2px 2px 2px;
}

div.status-tag-filter:hover {
    color: #444444;
    box-shadow: black 2px 2px 4px;
}

hr.filter-style {
    opacity: 100%;
    border: 1px solid white;
    border-bottom-color: black;
}

img.grow:hover {
    transform: scale(1.2);
}

.react-calendar {
    border: 2px solid var(--bs-dark) !important;
    width: 100% !important;
    font-size: small;
}

.react-calendar__month-view button {
    border: 1px solid gray !important;
    text-align: left !important;
}

.react-calendar__tile--active {
    background-color: var(--main-bg-color-highlight) !important;
    color: var(--bs-dark) !important;
    border: 2px solid var(--main-border-danger) !important;
}

.react-calendar__tile--now {
    background-color: var(--main-bg-color-light-highlight) !important;
}

span.office-hour-bar {
    position: absolute;
    top: 8px;
    height: 20px;
    background-color: var(--main-bg-color-highlight);
    border-radius: 2px;
    box-shadow: gray 2px 2px 2px;
    font-size: x-small;
    text-align: center;
    padding-top: 3px;
}

span.office-hour-bar:hover {
    color: #444444;
    box-shadow: black 2px 2px 4px;
}

a.company, a.policy, a.terms {
    text-decoration: none;
    color: #fff;
}

a.company:hover, a.policy:hover, a.terms:hover {
    color: #0BC1EC;
}

.footer-decoration {
    border-top: 1px solid var(--main-border-accent);
}

.text-footer-color {
    color: var(--main-footer-text-color);
}

button.faq-action, button.faq-action:focus, button.faq-action:active, button.faq-action.active, button.faq-action:visited {
    background-color: var(--main-bg-color-light-highlight) !important;
    box-shadow: none;
    border-color: var(--bs-dark);
    color: var(--bs-dark) !important;
}

button.faq-header, button.faq-header:focus, button.faq-header:active, button.faq-header.active, button.faq-header:visited {
    background-color: var(--main-bg-table-stripe) !important;
}

button.faq-action:hover {
    color: #444444;
    box-shadow: black 2px 2px 4px;
    background-color: var(--main-bg-color-highlight) !important;
}

button.faq-header:hover {
    background-color: var(--main-bg-table-stripe-hover) !important;
}

table.metrics-content {
    width: max-content;
}

th.metrics-facet-heading {
    width: 15%;
}

th.metrics-facet-value-heading {
    width: 7%;
}

tr.metrics-heading-row {
    border-bottom: 1px solid black;
}

tr.metrics-heading-row:first-child {
    border-top: 1px solid black;
}

th > div.metrics-heading-event-type {
    width: 100px;
    margin: 10px 0px;
}

th.metrics-column-start {
    border-right: 1px solid black;
    border-left: 1px solid black;
}

td.metrics-column-end:last-child, th.metrics-column-end:last-child {
    border-right: 1px solid black;
}

.metrics-fail-column {
    background-color: #ffe5e9 !important;
}

div.search-items {
    background-color: var(--main-nav-button-bg);
    border: 1px solid lightgrey;
    max-height: 75vh;
    height: auto;
    width: auto;
}

div.search-item {
    padding-left: 3px;
    padding-right: 3px;
}

div > a.search-item {
    text-decoration: none;
    color: black;
    font-size: 0.8rem;
    font-weight: 400;
    font-family: var(--bs-font-sans-serif);
    line-height: 1.5;
}

div.search-item:hover {
    background-color: var(--main-nav-button-bg-hover);
    color: white;
}

div > a.search-item:hover {
    color: white;
}

input.search-input {
    height: 1rem;
    width: 15rem;
    vertical-align: top;
}

.flex-form-field {
    height: 50px;
    width: 33%;
    flex: 0 1 auto;
    margin-right: 10px;
    margin-left: 10px;
}

img.icon-click-highlight:active {
    transform: translate(2px, -2px);
    background-color: green;
    border-radius: 4px;
}

img.icon-click-highlight:hover {
    text-decoration: none;
}

img.icon-danger {
    background-color: red;
    border-radius: 3px;
}

div.note-card-margins p, ul, ol, li {
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 0;
    margin-block-start: 0;
    margin-block-end: 0;
}

div.note-card-border {
    border-color: var(--main-nav-button-bg-hover);
}

.tinymce-content p {
    padding: 0;
    margin: 2px 0;
}

.tox-tinymce {
    border: 1px solid var(--main-nav-button-bg-hover) !important;
    border-radius: 0.25rem !important;
}

.tox-sidebar-wrap {
    border-top: 1px solid var(--main-nav-button-bg-hover) !important;
}

.sticky-note {
    background-color: var(--main-bg-color-highlight);
}