/* SIDEBAR */

.sidebar-parent {
    position: relative;
    
}

.sidebar {
    position: sticky !important;
    top: 0;
    left: 0;
    min-height: 100vh;
    height: auto;
    width: 80px;
    min-width: 80px;
    background-color: #12171e;
    /* padding: .4rem .8rem; */
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.sidebar.active ~ .content-wrapper {
    left: 250px;
    width: calc(100% - 250px);
}

.sidebar.active {
    width: 250px;
}

.sidebar #btn {
    color: white;
    top: .4rem;
    font-size: 2rem;
    line-height: 50px;
    cursor: pointer;
}

.sidebar .top .logo {
    color: white;
    height: 50px;
    width: 100%;
    pointer-events: none;
    opacity: 0;
}

.sidebar.active .top .logo {
    opacity: 1;
}


.user {
    margin: 1rem 0;
}

.user p {
    color: white;
    opacity: 1;
    margin-left: 1rem;
}

.bold {
    font-weight: 600;
}

.sidebar p {
    opacity: 0;
}

.sidebar.active p {
    opacity: 1;
}

.sidebar ul {
    padding: 10px;
}

.sidebar ul li {
    position: relative;
    height: 40px;
    width: 90%;
    margin: 0.8rem auto;
    list-style: none;
    line-height: 30px;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    border-radius: 0.8rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.sidebar ul li a:hover {
    background-color: white;
    color: #12171e;
}

.sidebar ul li a i {
    min-width: 50px;
    text-align: center;
    height: 50px;
    border-radius: 12px;
    line-height: 50px;
    font-size: 1.5rem;
}

.sidebar .nav-item {
    display: none;
}

.sidebar.active .nav-item {
    display: block;
}


/* END SIDEBAR */

/* various */

.disabled {
    opacity: 0.33;
}

.container {
    max-width: 2000px;
    padding-left: 30px;
    padding-right: 30px;
}

.content-wrapper {
    overflow-x: hidden;
}

.wrapper {
    min-height: 100vh;
    width: 100%;
}

.content-padding {
    padding-top: 50px;
}

.nav-text-animate {
}

.nav-text-animate:hover {
    color: #D9D4D4;
}

.date-picker {
    max-width: 400px;
}

/* CARDS */

.subsection-card {
    height: 125px;
}

.card-animate:hover {
    background-color: #f7f7f7d0;
    -webkit-transform: translateY(-4px);
            transform: translateY(-4px);
    -webkit-box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* report stats header */

.header-stats,
.header-stats-const {
    min-height: 150px;
    width: 95%;
    background-color: #DFDFDF;
    border-radius: 20px;
    margin-left: auto;
    margin-right: auto;
}

.header-stats h3,
.header-stats p,
.header-stats-const h3,
.header-stats-const p
 {
    display: block;
    color: black;
}

.header-stats.inactive {
    display: none !important;
}

.header-stats.inactive p, 
.header-stats.inactive h3{
    display: none;
}

/* table container */

.table-container {
    display: block;
}

.table-container.inactive {
    display: none;
}

/* export buttons container */

.export-container {
    display: block;
}

.export-container.inactive {
    display: none;
}

/* map containers */

/* #practice-map-container {
    width: 95%;
    height: 100%;
} */

#practice-map-container img {
    width: 100%;
    height: 100%;
    
    -o-object-fit: contain;
       object-fit: contain;
}

/* images */

#practice-logo {
    max-height: 100px;
    width: auto;
    max-width: 80%;
}

/* tooltips */

.tooltip {
    opacity: 100;
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 350px;
    background-color: rgba(46, 45, 45, 0.836);
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    
    /* Position the tooltip text above*/
    width: 350px;
    bottom: 100%;
    left: 50%;
    margin-left: -175px; /* Use half of the width (120/2 = 60), to center the tooltip */
    position: absolute;
    z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
}

/* placeholders */

.placeholder-card {
    display: block;
}

.placeholder-card-hidden {
    display: none;
}