/*
*   This is used in conjunction with the global Jquery script to
*   allow clicking non-anchor links that have special use cases
*/
[data-href] {
    cursor: pointer;
    z-index:2100;
}

/* Make dropdowns full width of sidebar */
.dropdown-menu.show{
    width:100%;
}

/*
* Scheduling table classes
*/ 
th.stick-y  { overflow-y: auto; height: 100px; position: sticky; position: -webkit-sticky; top: 0; z-index: 1000;
     /* border: 1px solid red */
    }
th.stick-x  { overflow-x: auto; width: 100px; position: sticky; position: -webkit-sticky; left: 0; z-index:999;
     /* border: 1px solid blue */
    }
th.stick-x.stick-y { overflow: auto; width: 300px; height: 100px; position: sticky; position: -webkit-sticky; left: 0; top: 0; z-index:1001;
    /* border: 1px solid green; */
     white-space:nowrap}
table.sticky-table{
    width:100%;
    height: 100%;
    padding-top: 4px;
    margin-top: -5px;
    overflow:none;
    display:block;
    border-collapse: separate;
}
.sticky-table-wrapper{
    /* flex-grow: 1; */
    /* border: 3px solid chartreuse; */
    display:block;
    overflow:auto;
    width:100%;
    height: 100%;
    /* border: 1px solid darkgray; */
    /* border-radius: 2px; */
    /* padding-top:30px; */
    /* padding-bottom:30px; */
}

/**
*   Sidebar nav link
*/ 
.nav-link.active{
    /* text-decoration: underline; */
    font-weight: bold;
    color: black;
    font-size: 1.1em;
}

.filter-icon:hover{
    cursor: pointer;
    transform: scale(1.1);
    color: rgb(77, 77, 77)
}

/** BS4 odd caption defaults **/
table caption{
    caption-side: top;
}
/** For spacing sections **/
hr.spacer{
    margin-top:30px;
    margin-bottom:30px;
}

/** table grouped by tbody hover **/
.table-tbody-hover tbody:hover {
    background-color: lightgray;
}
.table-tbody-groups tbody {
    border-bottom: 2px solid darkgray;
}
.table-tbody-groups tr td {
    border-top: none;
}

.optional-label-text{
    margin-left: 1em;
    font-style: italic; 
    color: rgb(41, 41, 41)
}
/** regular link styling like normal BS4*/
a.link{
    color: #007bff;
    text-decoration: none;
    background-color: transparent;
}

/** Tables with inputs must remove padding on td to make sense*/
table.no-table-td-bottom-padding > tbody > tr > td, table.no-table-td-bottom-padding > thead > tr > td {
    padding-bottom:0;
}

/** Profile picture circle */
.image-circle-wrapper{
    height: 1.6em;
    width:1.6em;
    background-color: transparent;
    border-radius: 50%;
    box-sizing: content-box;
    outline: none;
    overflow: hidden;
    display:inline-flex;
    flex-direction: row;
    justify-content: center;
    box-shadow: 0 0 0 2px transparent;
    border: none;
    margin: 0;
    padding: 0;
}

.image-circle-image{
    width: 1.6em;
    height: 1.6em;
    background-size: contain !important;
    background: transparent no-repeat center;
}

.hidden{
    height:0;
    width: 0;
    text-overflow: hidden;
}


.phpdebugbar-widgets-sqlqueries li.phpdebugbar-widgets-list-item.phpdebugbar-widgets-sql-duplicate {
    background-color: cyan !important; 
}

.custom-control.custom-switch{
    padding-left: 3em;
}
.custom-switch>.custom-control-input+.custom-control-label{

}
.custom-switch>.custom-control-input:not(:disabled)+.custom-control-label:hover{
    cursor: pointer;
}
.form-check>.form-check-input:not(:disabled)+.form-check-label:hover{
    cursor: pointer;
}