body {
    font-family: Source Sans Pro, sans-serif;
    overflow-y: scroll;
}

h1, .h1 {
    color: var(--bs-secondary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: /*-6px 0 0 #fff, -5px 0 0 #fff, -4px 0 0 #fff, -3px 0 0 #fff, -2px 0 0 #fff, -1px 0 0 #fff,*/ 0 0 0 #fff,
    1px 0 0 #fff, 2px 0 0 #fff, 3px 0 0 #fff, 4px 0 0 #fff, 5px 0 0 #fff, 6px 0 0 #fff;
    line-height: 16px;
    background-image: linear-gradient(rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 9px, rgba(0, 0, 0, .125) 9px,
    rgba(0, 0, 0, .125) 10px, rgba(0, 0, 0, 0) 10px, rgba(0, 0, 0, 0) 100%);
}

h2 {
    font-size: 1.5rem;
    margin: 1rem 0 1rem 0;
}

.icon {
    display: inline-block;
    width: 20px;
    height: 20px;
}

.icon:not(svg) {
    /*background: rgba(128, 128, 128, .5);*/
}

.info-row {
    display: flex;
    flex-direction: row;
}

.info-row + .info-row {
    margin-top: 12px;
}

.info-icon + .info {
    padding-left: 12px;
}

.info-row .info-value {
    display: block;
    font-weight: 600;
}

code {
    color: inherit;
}

.info-icon {
    opacity: .5;
    margin-top: 2px;
}

.text-danger-dark {
    color: hsl(35, 90%, 40%);
}

.info-label {
    font-size: .8em;
    padding-top: 2px;
}

@media screen and (max-width: 640px) {
    .uuid {
        font-size: .7rem;
        font-weight: bold;
    }

    .info-compact .info-icon + .info {
        padding-left: 6px;
    }

    .info-compact .info-row + .info-row {
        margin-top: 6px;
    }
}

.btn-icon {
    margin-right: 2px;
    height: 16px;
    width: 16px;
    vertical-align: middle;
    margin-top: -2px;
}

.btn-icon-only {
    border-radius: 50%;
    padding: .375rem 0;
    width: calc(2 * .75rem + 16px - 2px);
}

@media screen and (min-width: 768px) {
    .btn-md-icon-only {
        padding: .375rem 0;
        width: calc(2 * .75rem + 16px - 2px);
    }

    .btn-md-icon-only .btn-icon {
        margin-right: 0;
    }
}

.btn-icon-only .btn-icon {
    margin-right: 0;
}

.belt {
    display: flex;
}

.belt > * + * {
    margin-left: .25rem;
}

@media screen and (max-width: 767px) {
    .belt-responsive {
        flex-direction: column;
    }

    .belt-responsive > * + * {
        margin-top: .5rem;
        margin-left: 0;
    }
}

.belt .dropdown-toggle {
    max-width: 32px;
}

.belt-mb .btn:last-of-type {
    margin-bottom: 1rem;
}

.sep {
    font-weight: normal;
    opacity: .5;
    padding: 0 2px;
}

.loading {
    color: var(--bs-secondary);
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.loading-wrap {
    position: relative;
}

.navbar-brand,
.nav-link {
    padding-bottom: 0;
    padding-top: 0;
}

.nav-link {
    margin-top: .125rem;
}

strong {
    font-weight: 600;
}

.card-success {
    background-color: #E2FFF0;
}

.card-warning {
    background-color: #FFEEB7;
}

.card-danger {
    background-color: #ffe4e6;
}

.card-fatality {
    background-color: #aa5059;
    color: #fff;
    -webkit-text-stroke: .1px;
}

.card-unclassified {
    background-color: #fcfcfc;
}

.dashboard-device-card {
    position: relative;
}

.dashboard-device-card .device-link {
    color: inherit;
    text-decoration: none;
}

.dashboard-device-card .device-link::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.opacity-50 {
    opacity: .5;
}

.form-group {
    margin-bottom: 1rem;
}

.hero {
    margin: 1rem 0;
    /*text-align: center;*/
}

.hero-title {
    color: var(--bs-secondary);
    font-weight: 600;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    color: var(--bs-secondary);
}

/* Bootstrap 4 vs 5 compatibility */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.form-inline {
    display: inline-flex;
    flex-direction: row;
}

.form-inline > .form-control {
    min-width: 100px;
}

.narrow {
    max-width: 640px;
}

.nav-tabs .nav-link {
    padding-bottom: .5rem;
    padding-top: .5rem;
}
