/******************************************************

    Your CSS here. This is the last stylesheet loaded. 

/******************************************************/

html{
    position: relative;
    min-height: 100%
}

body {
    height: 100%;
    color: var(--main-color);
    background-color: var(--main-bg);
}

/*main {
    color: var(--main-color);
    background-color: var(--main-bg);
}*/

.breadcrumb-row {
    color: var(--breadcrumb-color);
    background-color: var(--breadcrumb-bg);
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    color: var(--main-color);
    background-color: var(--footer-bg);
}


/* makes a link blue without resorting to # */
.selector {
    color: var(--selector-color);
    cursor: pointer;
}
a:link {
    text-decoration: none;
}
a:visited {
    text-decoration: none;
}
/*a:hover {
    text-decoration: underline;
}*/
a:active {
    text-decoration: underline;
}

/* Bootstrap 4 submenu */
/*.dropdown-submenu {
    position: relative;
}*/

/* Bootstrap 5 submenu */
/* ============ desktop view ============ */
.dropdown-menu li {
    position: relative;
}
.nav-item .submenu-left {
    right: 100%;
    left: auto;
}


@media all and (min-width: 992px) {
    .dropdown-menu > li:hover {
        background-color: #f1f1f1
    }

        .dropdown-menu > li:hover > .submenu {
            display: block;
        }

    .nav-item .submenu {
        display: none;
        position: absolute;
        left: 100%;
        top: -7px;
    }


}
/* ============ desktop view .end// ============ */

/* ============ small devices ============ */
@media (max-width: 992px) {
    .dropdown-menu .dropdown-menu {
        margin-left: 0.7rem;
        margin-right: 0.7rem;
        margin-bottom: .5rem;
    }
}
/* ============ small devices .end// ============ */

.dropdown-submenu a::after {
    transform: rotate(-90deg);
    -ms-transform: rotate(-90deg); /* IE 9 */
    -webkit-transform: rotate(-90deg); /* Safari and Chrome */
    position: absolute;
    right: 6px;
    top: .8em;
}

/*.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: .1rem;
    margin-right: .1rem;
}*/

/* Don't hit the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

/* ellipsis overflow on label */
form label .long {
    display: none;
}

/* prevents Vue bracket flashes - you will have to add the attribute */
[v-cloak] {
    display: none;
}

/* Custom Tab CSS */
ul.nav-tabs li.nav-item {
    border: none;
    color: var(--nav-color);
    background: var(--nav-bg);
    border-radius: 0;
}

.dropdown {
    cursor: pointer;
}

.tab-content {
    line-height: 25px;
    border: 1px solid var(--tab-border-color);
    padding: 30px 25px;
}

/* table overflow css */
.FinderTable > thead tr th, .FinderTable > tbody tr td {
    width: 100px;
    padding: 10px;
}

.FinderTable tbody tr th .long {
    display: none;
}

.tableFixHead {
    overflow-y: auto;
    max-height: 800px;
}

    .tableFixHead th {
        position: sticky;
        top: -1px;
        color: var(--table-fix-head-th-color);
        background-color: var(--table-fix-head-th-bg);
    }

        .tableFixHead th:first-of-type {
            border-top-left-radius:7px;
        }

        .tableFixHead thead th:last-of-type {
            border-top-right-radius: 7px;
        }


    .tableFixHead tbody tr {
        color: var(--table-fix-head-tr-color);
        background-color: var(--table-fix-head-tr-bg);
    }

.tableFixHead table {
    margin-bottom: 0 !important;
}

/* Just common table stuff. Really. */
table {
    border-collapse: collapse;
    width: 100%;
}

    table textarea {
        width: 100%;
        border: none;
    }

th, td {
    padding: 8px 16px;
}

th {
    background: var(--th-bg);
}

/* menu vs alert */
.sticky-top {
    z-index: 100;
}

/* This is temporary */
#LockSubmit{
    display:none;
}

/* Reduced padding on edit pages */
form[id$=EditForm] .card-body {
    padding: 10px;
}

/* separate buttons */
.btn-separator:after {
    content: ' ';
    display: block;
    float: left;
    background: var(--btn-separator-bg);
    margin: 0 10px;
    height: 34px;
    width: 1px;
}

/* let modal and alert div coexist */
.modal-dialog {
    margin: 7.0rem auto;
}

/* automatic accordian icon toggle for finder form - with animation */
.finderFormFauxAccordion .btn[aria-expanded=false] span:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f107";
    float: right;
    transition: all .5s;
}
.finderFormFauxAccordion .btn[aria-expanded=true] span:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f107";
    float: right;
    transition: all .5s;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    transform: rotate(180deg);
}

.finderIcon i {
    color: var(--main-color);
}

.finderIcon:hover i {
    color: red;
}

.redText {
    color: #dc3545 !important;
}

.blackColor{
    color:black;
}
.greenColor{
    color:green !important;
}

.tooltip{
    pointer-events: none;
}

.pointer{
    cursor: pointer
}
 

/* temporary stuff testing dark mode */
/*input:not(.btn), select, textarea {
    color: var(--main-color) !important;
    background: var(--input-bg) !important;
    border: var(--input-border) !important;
}*/

.bg-light {
    background-color: var(--bg-light);
    /*border: var(--bg-light-border)!important;*/
}

.nav-item {
    color: var(--main-color);
}

    .nav-item .active {
        background-color: var(--nav-item-active) !important;
        color: var(--main-color) !important;
    }



.lsar-info {
    display: none;
}

.lsar-label {
    width: 100%;
}

.lsar-label:hover .lsar-info {
    display: inline;
}