:root {
    --it-primary: #f7f0eb;
    --it-secondary: #be1522;
    --it-text-light: #eef3f8;
    --it-success: #51a351;
    --bs-btn-bg: #0a7c3e;
    --bs-body-font-size: 14px;
    --bs-btn-font-size: 14px;
    --bs-navbar-color: #000;
    --bs-nav-link-color: var(--bs-navbar-color);

}

h1 {
    font-size: 25px;
}

main > .container {
    padding: 70px 15px 20px;
}

main > .container-fluid-desktop {
    padding: 70px;
}

main > .container-fluid-mobile {
    padding-top: 70px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 80px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 767px) {
    .nav li > form > button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.navbar li.nav-item > a {
    color: #000 !important;
}

.toast-success {
    background-color: var(--it-success) !important;
}

.border-iteas {
    border-color: var(--it-primary) !important;
}

.border-iteas-light {
    border-color: var(--it-text-light) !important;
}

.border-iteas-secondary {
    border-color: var(--it-secondary) !important;
}

.bg-iteas {
    background-color: var(--it-primary) !important;
    color: #000;
}

.bg-iteas-dev {
    background-color: var(--it-primary) !important;
    color: #000;
}

.bg-iteas-light {
    background-color: var(--it-text-light) !important;
}

.bg-iteas-secondary {
    background-color: var(--it-secondary) !important;
}

.text-iteas {
    color: var(--it-primary);
}

.text-iteas-light {
    color: var(--it-text-light);
}

.text-iteas-secondary {
    color: var(--it-secondary);
}

/* Hide for mobile, show later */
.sidebar {
    display: none;
}

@media (min-width: 768px) {
    .sidebar {
        position: fixed;
        top: 51px;
        bottom: 0;
        left: 0;
        z-index: 1000;
        display: block;
        padding: 20px;
        overflow-x: hidden;
        overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
        background-color: #fff;
        border-right: 1px solid #eee;
    }
}

.icon {
    display: inline-block;
    height: 1em;
    vertical-align: -.125em;
}

.required .col-form-label:after {
    content: " *";
    color: red;
}

.navbar-brand {
    text-align: center;
    font-weight: 600;
    color: var(--bs-nav-link-color);
}

#iteas-dev-badge {
    display: none;
}

li.nav-item.active {
    --bs-nav-pills-link-active-bg: #00493f;
    color: #fff !important;
}

.btn {
    font-size: 14px;
}

.btn-success {
    --bs-btn-color: #fff;
    --bs-btn-bg:  #00493f;
    --bs-btn-border-color: #00493f;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #157347;
    --bs-btn-hover-border-color: #146c43;
    --bs-btn-focus-shadow-rgb: 60, 153, 110;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #00493f;
    --bs-btn-active-border-color: #00493f;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #198754;
    --bs-btn-disabled-border-color: #198754;
    --bs-btn-padding-x: 0.125rem;
    --bs-btn-padding-y: 0.125rem;
}

.table > :not(caption) > * > * {
    padding: 0.1rem 0.5rem;
    vertical-align: middle;
}

td > h3 > i {
    font-size: 1.25rem;
}

.navbar-toggler-icon {
    color: #0a0a0a !important;
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.text-opst {
    color: var(--bs-btn-bg) !important;
}
.navbar-userbox {
    padding-left:0.375rem;
    padding-right: 0.75rem;
}

.health-container {
    margin-top: 5rem;
    width: 100vh;
    margin-inline: auto;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    justify-content: center;

}


.health-card {
    width: 32%;
    margin-bottom: 1rem;
    margin-left: 0.5%;
    margin-right: 0.5%;
}

@media (max-width: 768px) {
    .health-container{
        width: 95%;
    }
    .health-card {
        width: 90%;
        margin-left: 0;
        margin-right: 0;
    }
}

.health-main-text {
    text-align: left;
    height: 12vh;
    overflow: auto;
}
.card-timestamp {
    text-align: left;
    margin: 0;
}

.hide-card {
    display: none;
}