﻿/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/

.dl-horizontal dt {
    white-space: normal;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 2px;
    height: 5px;
}

::-webkit-scrollbar-thumb {
    background-color: dodgerblue;
    border-radius: 10px;
}
#lnk:hover {
    /* put styles from .onlnk here */
    color: #0d6efd;
    background-color: #f8f9fa;
}
/* Menu */
.menu-link {
    color: #ffffff !important;
    font-size: 12px;
}

.menu-link:hover,
 .menu-link.active {
        color: #ff6a00 !important;
    }

.small-icon {
    font-size: 10px;
    color: white;
}

/* ================================
   Company Filter / Toolbar styles
   ================================ */

.input-group-text {
    font-size: 12px;
}

body {
    margin-top: 0; /* Set top margin */
    padding-top: 0;
}
.loading-spinner {
    border: 8px solid #f3f3f3; /* Light background color */
    border-top: 8px solid #3498db; /* Spinner color */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    /* Centering the spinner */
    position: fixed; /* Fixes the position relative to the viewport */
    top: 50%; /* Moves it to the middle vertically */
    left: 50%; /* Moves it to the middle horizontally */
    transform: translate(-50%, -50%); /* Adjusts it back to perfectly center */
    z-index: 9999; /* Ensures the spinner is on top of other content */
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/* Ensure the dropdown is styled without unnecessary animations */
.select2-container .select2-selection--single {
    border-radius: 0.25rem; /* Adjust the border-radius if needed */
    box-shadow: none !important; /* Remove any box shadow that might cause flicker */
}

/* Styling for the dropdown list */
.select2-dropdown {
    border-radius: 0.25rem; /* Ensure rounded corners */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Apply subtle shadow if needed */
}

/* Ensure the dropdown is positioned correctly */
.select2-dropdown--below {
    z-index: 1050 !important; /* Make sure dropdown appears above other elements */
}
/* Remove any transition effects from the select dropdown */
.select2-container .select2-selection--single,
.select2-dropdown {
    transition: none !important; /* Disable transitions */
}
.select2-container {
    width: 100% !important;
}
/* Override AdminLTE's form control styles if they conflict */
.form-control {
    box-shadow: none !important; /* Disable shadow */
    border: 1px solid #ced4da !important; /* Adjust border color to avoid conflicts */
    font-size: 12px;
    width: 100% !important;
}
/* Custom class for h5 element */
.customheader {
    /* Bootstrap classes */
    font-size: 1.25rem; /* Equivalent to card-title */
    margin-bottom: 0; /* Equivalent to mb-0 */
    float: left; /* Equivalent to float-left */
    color: orangered;
    margin-right: 1rem; /* Equivalent to mr-3 in Bootstrap */
}
.ingrpbtn {
    font-size: 13px;
    padding: 6px 12px; /* Adjust padding for a better look */
    background-color: dodgerblue;
    color: white;
    width: auto; /* Let the width adjust to the content */
    float: right;
}
.crdcode {
    border: none;
    width: 6%;
    padding-left: 0;
    padding-right: 0;
}

.invtbl {
    table-layout: fixed;
    width: 100%;
    font-size: 11px;
    word-break: break-all;
}
.nav-treeview {
    margin-left: 20px; /* Adjust the value as needed */
}
