﻿body {
    padding-top: 0px !important;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 30px;
    padding-right: 30px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.horizontal-list dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

@media (min-width: 768px) {
  .horizontal-list dt {
    float: left;
    width: 120px;
    overflow: hidden;
    clear: left;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.95em;
  }
  .horizontal-list dd {
    margin-left: 130px;
    font-size: 0.95em;
  }
  .horizontal-list dd:before,
  .horizontal-list dd:after {
    display: table;
    content: " ";
  }
  .horizontal-list dd:after {
    clear: both;
  }
  .horizontal-list dd:before,
  .horizontal-list dd:after {
    display: table;
    content: " ";
  }
  .horizontal-list dd:after {
    clear: both;
  }
}

.code
{
    font-family: Consolas, Courier New, Courier, monospace;
    font-size: .8em;
}
.codesystem
{
    color: #0000FF;
}
.codeclass
{
    color: #2B91AF;
}
.codecomment
{
    color: #008000;
}
.codestring
{
    color: #A32121;
}
.codeformat
{
    color: #2baf5e;
}

.history
{
    font-family: Consolas, Courier New, Courier, monospace;
    font-size: .8em;
    background-color: #222222 !important;
    color:aliceblue;
    max-height:300px;
    overflow-x:scroll;
}

body {
    background-color: #343a40 !important;
    color: white;
}

.link-dark a {
    color: #808080 !important;
}

footer {
    background-color: #000000;
}

.navbar-brand > img {
    -webkit-filter: invert(35%);
    filter: invert(35%);
}

.bg-main {
    background-color: #2d2d2d;
}

.thead-main {
    background-color: #2d2d2d !important;
}

    .thead-main > th {
        color: #e6e4e4 !important;
    }

    .thead-main > tr > th {
        color: #e6e4e4 !important;
    }

tbody {
    color: #e6e4e4;
}

/*Bootstrap Override*/
.table-hover > tbody > tr:hover > td {
    background-color: #e6e4e4 !important;
    color: #2d2d2d !important;
}

/*Bootstrap Override*/
.table-success > tbody > tr:hover,
.table-warning > tbody > tr:hover,
.table-danger > tbody > tr:hover {
    background-color: #e6e4e4 !important;
    color: #2d2d2d !important;
}

    .table-success > tbody > tr:hover > td,
    .table-warning > tbody > tr:hover > td,
    .table-danger > tbody > tr:hover > td {
        background-color: #e6e4e4 !important;
        color: #2d2d2d !important;
    }

.border-main {
    border-color: #e6e4e4;
}

/*Bootstrap Override*/
.bg-light, .table-light {
    background-color: #4c4c4c !important;
}

/*Bootstrap Override*/
.form-control {
    background-color: #2d2d2d !important;
    color: #e6e4e4 !important;
    color-scheme: dark;
}

/*Bootstrap Override*/
.form-select {
    background-color: #2d2d2d !important;
    color: #e6e4e4 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

/*Bootstrap Override*/
.navbar-light .navbar-nav .nav-link {
    color: #e6e4e4 !important;
}

/*Bootstrap Override*/
.navbar {
    background-color: #2d2d2d !important;
}

/*Bootstrap Override*/
.text-success {
    color: #27c57c !important;
}

/*Bootstrap Override*/
.text-primary {
    color: #83a1ce !important;
}

/*Bootstrap Override*/
.list-group-item {
    background-color: #2d2d2d;
}

/*Bootstrap Override*/
.btn-outline-dark {
    background-color: #ededed;
    color: black;
}

    .btn-outline-dark:hover {
        background-color: #878788;
        color: white;
    }

/*Bootstrap Override*/
.table-primary {
    --bs-table-bg: #83a1ce;
}

.table-secondary {
    --bs-table-bg: #808080;
}

.table-info {
    --bs-table-bg: #0986ab;
}

.img-hover-light {
    -webkit-filter: invert(75%);
    filter: invert(75%);
}

    .img-hover-light:hover {
        -webkit-filter: invert(100%);
        opacity: 1 !important;
        filter: opacity(1) invert(100%) !important;
    }

a.grey-link:link, a.grey-link:visited, .pager-link > td > a:link, .pager-link > td > a:visited, .thead-main > th > a:link, .thead-main > th > a:visited, .bg-main > a:link, .bg-main > a:visited {
    color: #c7c7c8;
    font-size: 1em !important;
    text-decoration: underline;
}

.table-hover > tbody > tr:hover > td > a.grey-link:link, .table-hover > tbody > tr:hover > td > a.grey-link:visited {
    color: #000 !important;
}

a.grey-link:hover, a.grey-link:active, .thead-main > th > a:hover, .thead-main > th > a:active, .bg-main > a.hover, .bg-main > a:active {
    color: #e6e4e4;
    font-weight: bold;
    text-decoration: underline;
}

.pager-link {
    background-color: #474747;
    color: #e6e4e4;
}

    .pager-link > td > a:hover, .pager-link > td > a:active {
        color: #e6e4e4;
        font-weight: bold;
        text-decoration: none;
    }

a.expander, a.expander:link, a.expander:visited, a.tree:link, a.tree:visited, a.report:link, a.report:visited {
    color: #e6e4e4;
    font-size: 1em;
    text-decoration: none !important;
}

.bg-main > a.expander:link, .bg-main > a.expander:visited,
.table-secondary > td > a.expander:link, .table-secondary > td > a.expander:visited {
    color: black;
    font-size: 1em;
    text-decoration: none;
}

a.expander:hover, a.expander:active, a.tree:hover, a.tree:active, a.report.hover, a.report:active {
    color: white;
    font-weight: bold;
    font-size: 1em;
    text-decoration: none !important;
    cursor: pointer;
}

.card-header > a.expander:link, .card-header > a.expander:visited {
    color: #000000;
    font-size: 1em;
    text-decoration: none;
}

.card-header > a.expander:hover, .card-header > a.expander:active {
    color: rgb(128,128,128);
    font-weight: bold;
    font-size: 1em;
    text-decoration: none;
}

.thead-dark > th > a:link, .thead-dark > th > a:visited, .bg-dark > a:link, .bg-dark > a:visited, a.expander-light:link, a.expander-light:visited {
    color: rgb(192,192,192);
    font-size: 1em;
    text-decoration: underline;
}

.thead-dark > th > a:hover, .thead-dark > th > a:active, .bg-dark > a.hover, .bg-dark > a:active, a.expander-light:hover, a.expander-light:active {
    color: #e6e4e4;
    font-weight: bold;
    text-decoration: underline;
}

.nav-tabs > li > a.nav-link {
    color: rgb(128,128,128);
    font-size: 1em;
    text-decoration: none !important;
}

.nav-tabs > li > a.active {
    color: #e6e4e4;
    font-size: 1em;
    text-decoration: none !important;
    font-weight: bold;
}

.table-warning a.grey-link:link, .table-warning a.grey-link:visited {
    color: #575758 !important;
}

.card-header > a.expander:link, .card-header > a.expander:visited {
    color: #ffffff;
    font-size: 1em;
    text-decoration: none;
}

.card-header > a.expander:hover, .card-header > a.expander:active {
    color: #ffffff;
    font-weight: bold;
    font-size: 1em;
    text-decoration: none;
}

.card-body {
    background-color: #4c4c4c;
}

.tree::before {
    color: white !important;
}

.active-node {
    color: white !important;
}

/******************************************************************/
/* ONLY LEGACY IN THIS AREA*/
/******************************************************************/
.cgBaseTDLeft {
    color: black;
}

.info {
    color: black;
}

.Questions > tbody > tr > td {
    color: black;
}

#divSubFooter {
    background-color: black !important;
    color: #808080 !important;
}

#divSubFooterRight a:visited, #divSubFooterRight a:link,
a.ConceroLogo:visited, a.ConceroLogo:link {
    color: #808080 !important;
}

.nav-link, .nav-link:hover {
    color: #808080;
}

/* Multi-column lists fall back to fewer columns on narrow screens. */
@media (min-width: 576px) {
    .list-2-cols, .list-3-cols, .list-4-cols {
        columns: 2;
    }
}

@media (min-width: 992px) {
    .list-3-cols {
        columns: 3;
    }

    .list-4-cols {
        columns: 4;
    }
}

/******************************************************************/
/* Starfield guide */
/******************************************************************/
.sf-quests > li {
    padding-bottom: .5rem;
    margin-bottom: .75rem;
    border-bottom: 1px solid #6c757d;
}

/* Views/Starfield/_YouTube.cshtml: a thumbnail standing in for the player. */
.yt-facade {
    display: block;
    background-color: #000;
}

    .yt-facade img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.yt-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 68px;
    height: 48px;
    margin: -24px 0 0 -34px;
    border-radius: 12px;
    background-color: rgba(33, 33, 33, .8);
}

    .yt-play::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        margin: -9px 0 0 -6px;
        border-style: solid;
        border-width: 9px 0 9px 16px;
        border-color: transparent transparent transparent #fff;
    }

.yt-facade:hover .yt-play, .yt-facade:focus .yt-play {
    background-color: #c00;
}