﻿.scrollable {
    overflow-y: auto;
    scrollbar-width: thin; /* For Firefox */
    scrollbar-color: #ccc #f5f5f5; /* For Firefox */
}

    .scrollable::-webkit-scrollbar {
        width: 8px; /* Scrollbar width */
    }

    .scrollable::-webkit-scrollbar-track {
        background: #f5f5f5; /* Scrollbar track */
    }

    .scrollable::-webkit-scrollbar-thumb {
        background-color: #ccc; /* Scrollbar thumb */
        border-radius: 4px; /* Rounded corners */
        border: 2px solid #f5f5f5; /* Optional border around the thumb */
    }
    
    
.loading {
    position: relative;
    top: 20px;
    left: -webkit-calc(50% - 30px);
    left: -moz-calc(50% - 30px);
    left: calc(50% - 30px);
    margin: 80px 20px 20px 20px;
    transform: translate(-50%,-50%);
    width: 80px;
    height: 80px;
    background: transparent;
    border: 0px solid #3c3c3c;
    border-radius: 50%;
    text-align: center;
    line-height: 80px;
    font-family: sans-serif;
    font-size: 10px;
    color: var(--bs-text-gray-900) !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(0,0,0,.5);
}

    .loading:before {
        content: '';
        position: absolute;
        top: -0px;
        left: -0px;
        width: 100%;
        height: 100%;
        border: 3px solid transparent;
        border-top: 3px solid var(--bs-text-gray-900) !important;
        border-right: 3px solid var(--bs-text-gray-900) !important;
        border-radius: 50%;
        animation: animateC 2s linear infinite;
    }

loading.span {
    display: block;
    position: absolute;
    top: calc(50% - 2px);
    left: 50%;
    width: 50%;
    height: 4px;
    background: transparent;
    transform-origin: left;
    animation: animate 2s linear infinite;
}

    loading.span:before {
        content: '';
        position: absolute;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: #039AF1;
        top: -6px;
        right: -8px;
        box-shadow: 0 0 20px #039AF1;
    }

@keyframes animateC {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes animate {
    0% {
        transform: rotate(45deg);
    }

    100% {
        transform: rotate(405deg);
    }
}
 

li.validation-message {
    margin-left: 0rem; /* Adjusted for inline display used to be margin-left: 1.25rem;*/
    list-style: none;
}

ul.validation-errors {
    margin-left: 0rem;  
    padding-left: 0px;
}

/* The Overlay (background) */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bs-blockui-overlay-bg); /* Adjust the alpha value for transparency */
    z-index: 999;
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
    display: flex;
    justify-content: center;
    align-items: center;
}


.overlay-content {
    background-color: rgba(255, 255, 255, 0.8); /* A semi-transparent white color */
    color: #000; /* Text color */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4); /* Box shadow with a slight blur */
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

/* Position the content inside the overlay */
[data-bs-theme=dark] .overlay-content {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4); /* Box shadow with a slight blur */
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
}

/*jstree overwrites*/
.jstree-default .jstree-clicked {
    border-radius: 0.225rem;
    border: 1px solid var(--bs-primary-rgb);
    background-color: RGBA(var(--bs-primary-rgb), var(--bs-bg-opacity, 1)) !important;
}

.jstree-default .jstree-hovered {
    background-color: RGBA(var(--bs-primary-rgb), var(--bs-bg-opacity, 1)) !important;
    border-radius: 2px;
    box-shadow: inset 0 0 1px #cccccc;
}

.jstree-default .jstree-icon:empty {
    color: inherit;
}

.tree-wrapper {
    height: calc(100vh - 150px);
}

.tree-column {
    overflow-y: auto;
    height: 100%;
}

.badge a {
    color: inherit;
}

.mw-1250px {
    max-width: 1250px !important;
}

.hover-underline {
    text-decoration: none;
}

    .hover-underline:hover {
        text-decoration: underline;
    }


.analysis-box {
}

    .analysis-box p {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .analysis-box strong {
        color: var(--bs-heading-color) !important;
    }

    .analysis-box h1 {
        color: var(--bs-heading-color) !important;
        padding-bottom: 1rem;
        padding-top: 1rem;
    }

    .analysis-box h2 {
        color: var(--bs-heading-color) !important;
        padding-bottom: 1rem;
        padding-top: 1rem;
    }

    .analysis-box h3 {
        color: var(--bs-heading-color);
        !important;
        padding-bottom: 1rem;
        padding-top: 1rem;
    }