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;
}

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

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

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*/

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

a.navbar-brand:hover {
    color: var(--main-bg-color-light-highlight);
}

.nav-item a.nav-link.disabled {
    color: darkgray !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;
}

.navbar-divider {
    height: 42px;
    border-right: 1px solid white;
}

/* 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: #ececec;
    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: #ececec;
    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: darkgray;
    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;
}

.form-input, .form-check-label, .col-form-label {
    font-size: 0.8em;
    line-height: 0px;
}

.col-form-label {
    padding-top: 1.0rem;
}

.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.status-tag > 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.status-tag > 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.status-tag {
    text-decoration: none;
    color: black;
}

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;
}

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;
}

button.site-button, button.site-button:focus, button.site-button:active, button.site-button.active {
    background-color: var(--main-bg-color-light-highlight);
    box-shadow: none;
    border-color: var(--bs-dark);
    color: var(--bs-dark);
    width: 250px;
}

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

div.invalid-feedback {
    margin-top: -8px;
    margin-bottom: 5px;
    color: red;
    font-size: small;
    display: initial;
}

form.login-form {
    min-width: 400px;
    max-width: 400px;
    margin: auto;
    border: 1px solid darkgray;
    border-radius: 4px;
}

form > div.login-form {
    border-radius: 4px;
    box-shadow: gray 2px 2px 4px;
}

.sign-up-consent {
    border: 1px solid darkgray;
    border-radius: 4px;
    background-color: var(--main-bg-table-stripe);
}

.sign-up-consent-text {
    font-size: 0.8em;
}

.info-alert-popup {
    font-size: small;
    z-index: 9999;
    padding: 0.5rem;
    background-color: var(--main-bg-color-light-highlight);
    border: 1px solid var(--main-border-accent);
}