html {
    font-size: 8px;
    font-style: normal;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    overflow-x: hidden;
    font-family: acuminvariableconcept;
    background-color: #FFFFFF;
    color: #171717;
}

@font-face {
    font-family: 'acuminvariableconcept';
    src: url('../fonts/acuminvariableconcept.otf') format('opentype');
}

h1 {
    text-transform: uppercase;
    font-weight: 600;
}

.huge-text {
    padding-left: 10px;
    padding-top: 0px;
    margin-top: 0px;
    font-size: 200rem;
    text-align: center;
}

.table .huge-text {
    font-size: 6rem;
    text-align: center;
    line-height: 3rem;
}

a {
    color: #132b44;
    text-decoration: none;
}

    a:hover {
        color: #132b44;
    }

option {
    font-family: Arial;
}

select {
    font-family: Arial;
}

/* Background Styles */

.bg-relations {
    background-color: #132b44;
    color: white;
    border-radius: 10px;
    height: fit-content;
    padding: 10px;
}
.bg-relations a:not(.btn-success) {
    color: white;
}

.bg-gray {
    background-color: #d3d3d362;
}

/* Button Styles */

.btn-primary {
    background-color: white;
    border-color: white;
    color: #132b44;
    font-weight: bold;
}
    .btn-primary:hover {
        background-color: #132b44;
        color: white;
    }
    .btn-primary:focus {
        background-color: #132b44;
        color: white;
    }
    .btn-primary .bi{
        color: #132b44;
    }
button .bi {
    color: #f59c06;
}
    button:hover .bi {
        color: white;
    }

.btn-success {
    background-color: white;
    color: #f59c06;
    border: 0;
    font-weight: bold;
}
    .btn-success:hover {
        background-color: #f58a00;
    }

.btn-danger {
    background-color: white;
    color: #e92811;
    border-color: white;
}
    .btn-danger .bi {
        color: #e92811;
        border-color: white;
    }
    .btn-danger:hover {
        background-color: #e92811;
    }

.btn-secondary {
    background-color: #132b44;
    border-color: white;
    color: white;
    font-weight: bold;
    border-radius: 0.3rem;
}

    .btn-secondary:hover {
        background-color: #f59c06;
    }
    .btn-secondary .bi {
        color: white;
    }

a .bi {
    color: #f59c06;
}

    a:hover img {
        color: white;
    }

    .table-hover th{
        border-style: none;
    }

th li .btn {
    width: 100%;
    background-color: #d3d3d362;
    border: none;
    text-align: left;
}
    th li .btn:hover {
        background-color: #132b44;
        color: white;
    }
.list-group-horizontal > .list-group-item {
    border: none;
    padding:0.1rem;
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 0;
}

th li .btn{
    width:100%;
    font-weight: bold;
}

li .dropdown-toggle {
    width: 100%;
    background-color: #d3d3d362;
    border: none;
    text-align: left;
    border-radius: 0.5rem;
}

.btn.form-control {
    border: solid;
    border-width: 1px;
    border-color: lightgray;
}

div .form-group .dropdown-menu {
    overflow-y: scroll;
    max-height: 150px;
}

.filter-white {
    filter: invert(100%) sepia(1%) saturate(5931%) hue-rotate(170deg) brightness(82%) contrast(113%);
}

    .filter-white:hover {
        filter: invert(60%) sepia(91%) saturate(525%) hue-rotate(352deg) brightness(94%) contrast(105%);
    }
/*
.hover-yellow:hover {
    filter: invert(60%) sepia(91%) saturate(525%) hue-rotate(352deg) brightness(94%) contrast(105%);
}*/

.btn-success img {
    filter: invert(60%) sepia(91%) saturate(525%) hue-rotate(352deg) brightness(94%) contrast(105%);
}

    .btn-success:hover img {
        filter: invert(100%) sepia(1%) saturate(5931%) hue-rotate(170deg) brightness(100%) contrast(113%);
    }

.btn-primary img {
    filter: invert(11%) sepia(37%) saturate(1724%) hue-rotate(179deg) brightness(100%) contrast(91%);
}

    .btn-primary:hover img {
        filter: invert(100%) sepia(1%) saturate(5931%) hue-rotate(170deg) brightness(100%) contrast(113%);
    }

    .btn-primary.show img {
        filter: invert(100%) sepia(1%) saturate(5931%) hue-rotate(170deg) brightness(100%) contrast(113%);
    }
    .btn-primary:focus img {
        filter: invert(100%) sepia(1%) saturate(5931%) hue-rotate(170deg) brightness(100%) contrast(113%);
    }
.btn-danger img {
    filter: invert(16%) sepia(80%) saturate(5226%) hue-rotate(2deg) brightness(99%) contrast(87%);
}
    .btn-danger:hover img {
        filter: invert(100%) sepia(1%) saturate(5931%) hue-rotate(170deg) brightness(100%) contrast(113%);
    }

.btn-secondary img {
    filter: invert(100%) sepia(1%) saturate(5931%) hue-rotate(170deg) brightness(100%) contrast(113%);
}

    .btn-secondary:hover img {
        filter: invert(100%) sepia(1%) saturate(5931%) hue-rotate(170deg) brightness(100%) contrast(113%);
    }

td a img:not(.hover-yellow) {
    filter: invert(11%) sepia(37%) saturate(1724%) hue-rotate(179deg) brightness(100%) contrast(91%);
}

    td a:hover img {
        filter: invert(60%) sepia(91%) saturate(525%) hue-rotate(352deg) brightness(94%) contrast(105%);
    }

/* Table Styles */
td a .bi {
    color: #132b44;
}
    td a .bi:hover {
        color: #171717;
    }
th .btn-group {
    width: 100%;
}
.btn-group > .btn:not(:first-child) {
    margin: 0px;
}

th .dropdown-toggle-split {
    text-align: center;
    max-width: 2rem;
    font-size: larger;
}

th .btn-primary {
    width: 100%;
    color: black;
    background-color: #d3d3d362;
    text-align: start;
    border-radius: 0.5rem;
    padding:0.2rem;
}

    th .btn-primary:hover {
        background-color: #132b44;
        color: white;
    }

th .btn-group .btn {
    color: black;
    background-color: #d3d3d362;
    border-radius: 0.5rem;
    border-style: none;
    border-color: #d3d3d362;
}
    th .btn-group .btn:hover {
        background-color: #132b44;
        color: white;
    }

th .btn .dropdown-toggle-split{
    text-align: end;
    border-width: 0px;
}

th .dropdown-menu {
    overflow-y: auto;
    max-height:40vh;
    min-width: 20vw;
}

th li {
    border-bottom: solid;
    border-width: 1px;
}

.table-responsive {
    overflow-y: scroll;
    min-height:40vh;
    max-height: 62vh;
    min-width: 85vw;
}
.quickentry {
    overflow-y: scroll;
    max-height: 45vh;
}

div .table-responsive thead {
    position: sticky;
    top: 0px;
    background-color: white;
    z-index: 99;
}

/*tr th:first-child .btn {
    padding: 0px;
    margin: 0px;
}*/

tr th {
    padding: 0px;
    margin: 0px;
    font-size: smaller;
}

/* Set a fixed width for the accordion button */
.w-20 {
    width: 20vw; 
}
.w-30 {
    width: 30vw;
}

/* Set a fixed height for the accordion button */
td .accordion-button {
    display: flex;
    align-items: center; /* Vertically center text */
    background-color: #d3d3d362;
    border-radius: 0.2rem;
}
td .accordion-button::after {
    width: 2rem;
    height: 2rem;
    background-size: 2rem;
    margin-top: -3rem;
}
    td .accordion-button:focus {
        background-color: #d3d3d362;
        color: black;
    }
    td .accordion-button:not(.collapsed) {
        background-color: #d3d3d362;
        color: black;
    }
td .accordion-body li {
    border-bottom: 0.2rem solid #d3d3d362;
    padding-bottom: 0.2rem;
    padding-top: 0.2rem;
}

/* Menu Styles */
.modal {
    z-index: 1055 !important;
}

.modal-backdrop {
    z-index: 1050 !important;
}

#sidebar {
    z-index: 1000;
    position: fixed;
    left: -1px;
    width: 100px;
    height: 100%;
    margin-left: -10px;
    overflow-y: auto;
    background: #132b44;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    border-right: solid;
    border-color: #132b44;
}

    #sidebar header {
        background-color: #fff;
        font-size: 100%;
        line-height: 4rem;
        text-align: center;
        padding-left: 12px;
        padding-right: 12px;
        max-height: 4rem;
    }
        #sidebar header img {
            max-height: 3rem;
        }

        #sidebar header a {
            color: #fff;
            display: block;
            text-decoration: none;
            max-height: 4rem;
        }

            #sidebar header a:hover {
                color: #fff;
            }

    #sidebar .nav li a {
        color: #CFD8DC;
        /*display: block;*/
        /*font-size: 100%;*/
        text-align: center;
        padding-top: 0px;
        padding-bottom: 0px; 
        margin-top:0px;
        margin-bottom:0px;
        padding-right: 0px;
    }
    #sidebar .nav-link.active {
        border-right: 2px solid white;
    }

    #sidebar .nav li {
        /*width: 100%;*/
        padding-right: 0px;
    }
        #sidebar .nav li:hover p {
            /*width: 100%;*/
            color: #f59c06;
        }
        #sidebar .nav li:hover img {
            /*width: 100%;*/
            filter: invert(60%) sepia(91%) saturate(525%) hue-rotate(352deg) brightness(94%) contrast(105%);
        }
        
    #sidebar .nav ul {
        /*width: 100%;*/
        padding-right: 0px;
        margin-top:0px;
        margin-bottom:0px;
    }

            #sidebar .nav li a:hover {
                /*background: #171717;*/
            }

            #sidebar .nav li:active {
/*                background: #f59c06;*/
            }

    #sidebar .nav a i {
        color: #CFD8DC;
        /*font-size: 4vh;*/
        font-size: 25px;
    }

            #sidebar .nav a i:hover {
                color: #f59c06;
            }

    #sidebar .nav a p {
        font-size: 12px;
        color: white;
    }
        #sidebar .nav a p:hover {
            color: #f59c06;
        }

    #sidebar .nav li img {
        padding-top: 0px;
        padding-bottom: 0px;
        padding-left: 0px;
        padding-right: 0px;
    }

/*.nav-border {
    border-bottom: solid;
    border-width: 4px;
    border-color: #132b44;
}*/

/* Content styles */
.content-body {
    border-top: solid;
    border-width: 4px;
    border-color: #132b44;
    max-height: 87vh;
    overflow-y: scroll;
    padding-top: 50px;
    padding-left: 50px;
    padding-right: 50px;
}

.content {
    z-index: 1000;
    margin-left: 90px;
    min-width: 94vw;
    max-width: 94vw;
}

/* TABS STYLES */
.nav-tabs{
    margin-bottom: 1rem;
}
.nav-link {
    color: black;
    font-size: large;
    font-weight: bold;
}

.nav-item .active {
    color: black;
    font-size: larger;
}

.nav-link:hover {
    color: #f59c06;
    border: none;
}
    #sidebar .nav a .nav-link .active {
        color: #f59c06;
        border: none;
    }
.nav-tabs .nav-item .active {
    border-top: 0.2rem solid #d3d3d362;
    border-left: 0.2rem solid #d3d3d362;
    border-right: 0.2rem solid #d3d3d362;
    border-bottom: none;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}
    .nav-tabs .nav-item .active:hover {
        color: #f59c06;
    }

/* BACKGROUND STYLES */
.grey-div {
    background-color: #d3d3d362;
    border-radius: 0.5rem;
    padding: 2rem;
}

/* TAG STYLES */
.tag-item {
    background-color: #e4e4e4;
    border: 1px solid #aaa;
    border-radius: 4px;
    float: left;
    margin-right: 5px;
    margin-top: 5px;
    padding: 0 5px;
}

    .tag-item:hover {
        background-color: #132b44;
        color: white;
        border: 1px solid #aaa;
        border-radius: 4px;
        float: left;
        margin-right: 5px;
        margin-top: 5px;
        padding: 0 5px;
    }

/* ACCORDION STYLES */
.scroll-accordion {
    overflow-y: scroll;
    max-height: 70vh;
}