/* container margin */
.container-fluid {
    margin-bottom: 10px;
}

/* font color */

.martor-preview {
    color: black;
}

/* icon sizes */

.icon {
    width: 16px;
    height: 16px;
}

.icon-sm {
    width: 12px;
    height: 12px;
}

/* allow or disable user-select */

.copy-true {
    -moz-user-select:all;
    -ms-user-select:all;
    -webkit-user-user-select:all;
}

.copy-false {
    -moz-user-select:none;
    -ms-user-select:none;
    -webkit-user-user-select:none;
}

/* button colors */

.btn-black {
    background: Black;
    border: Black;
    color: White;
   }

.btn-black:hover {
    background: DarkGray;
    color: White;
}

.btn-light:hover {
    background: LightGray;
    border-color: LightGray;
}

.btn-green {
    background: MediumSeaGreen;
    border: MediumSeaGreen;
    color: White;
   }

.btn-green:hover {
    background: ForestGreen;
    color: White;
}

.btn-orange {
    background: Orange;
    border: Orange;
    color: White;
   }

.btn-orange:hover {
    background: DarkOrange;
    color: White;
}

.btn-red {
    background: Red;
    border: Red;
    color: White;
   }

.btn-red:hover {
    background: DarkRed;
    color: White;
}

.btn-white {
    background: White;
    border: White;
    color: Black;
   }

.btn-white:hover {
    background: LightGray;
    color: Black;
}

/* button shapes */

.btn.round {
    border-radius: 20px;
}

.btn.sharp {
    border-radius: 0px;
}

.btn.bottom-left {
    border-bottom-left-radius: 15px;
}

.btn.bottom-left-lg {
    border-bottom-left-radius: 25px;
}

.btn.top-right {
    border-top-right-radius: 15px;
}

.btn.top-right-lg {
    border-top-right-radius: 25px;
}

.btn.left {
    border-radius: 0px;
    border-bottom-left-radius: .25rem;
    border-top-left-radius: .25rem;
}

.btn.right {
    border-radius: 0px;
    border-bottom-right-radius: .25rem;
    border-top-right-radius: .25rem;
}

/* distances */

.top-distance {
    margin-top: 10px;
}

.bottom-distance {
    margin-bottom: 20px;
}

.right-distance {
    margin-right: 10px;
}

.right-s-distance {
    margin-right: 5px;
}

.left-distance {
    margin-left: 10px;
}

.nav-left-distance {
    margin-left: 30px;
}

.status-table-distance td
{
    padding:0 15px;
}

table.dataTable{
    margin-top: 15px !important;
    margin-bottom: 10px !important;
}

a {
    color: White;
    text-decoration: none;
}
a:hover {
    color: White;
}

/* sticky navbar */
@media(min-width: 1650px) {
    .navbar-toggler {
        display: none!important;
    }

    .navbar {
        position: sticky;
        top: 0px;
        height: 100%;
        align-items: normal;
    }

    #dfirtrack-navbar {
        top: 10px;
        right: 0;
        height: 100%;
        overflow-y: auto;
    }

    #dfirtrack-navbar ul {
        width: 100%;
    }

    .navbar {
        min-height: calc(95vh - 50px);
    }

    #mainrow {
        flex-wrap: nowrap !important;
    }
}

@media(max-width: 1650px) {
    .navbar-toggler {
        margin-top: 8px;
    }

    .collapse:not(.show) {
        display: none!important;
    }

    .navbar {
        width: 100%;
    }

    #dfirtrack-navbar.collapse.show {
        display: block!important;
        width: 100%;
    }

    #dfirtrack-navbar.collapsing {
        display: block!important;
        width: 100%;
    }
}

.toc {
    position: sticky;
    top: 10px;
    right: 0;
    height: 100%;
    overflow-y: auto;
}

#tableOfContents a {
    color: White;
    text-decoration: none;
}

#tableOfContents a:hover {
    color: White;
    text-decoration: none;
}

#tableOfContents .nav-link {
    padding: .1rem 0rem;
}

/* card design */
.tab-card {
    border: 1px solid #343a40;
}

.card-header {
    background-color: #343a40;
}

.nav-tabs .nav-link.active {
    background-color: #212529;
    color: #fff;
    border-color: #212529;
}

.nav-tabs .nav-link {
    color: #fff;
}

/* go to top of page button */

#btn-top {              /* id selector */
    display: none;      /* hide per default */
    position: fixed;    /* fixed position */
    bottom: 20px;       /* 20px from the bottom */
    right: 30px;        /* 30px from the right */
    z-index: 99;        /* show in foreground */
}

/* fixes bootstrap 5.0.1 */

.btn {
    white-space: nowrap !important;
}

.selector {
    width: 100% !important;
}

/* datatabel height */

.dataTable tr {
    height: 43px;
}
