.count-bubble {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #0da7b5;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    font-weight: 900;
    line-height: 30px;
}

.hiddenUi .header-wrapper, .hiddenUi .main-sidebar, .hiddenUi .main-footer{
    display: none;
}

.hiddenUi .layout-fixed .content-wrapper, .hiddenUi.layout-fixed .content-wrapper{
    top: 0px !important;
    padding-bottom: 0px;
}

body.hiddenUi:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .content-wrapper{
    margin-left: 0px !important;
}

.hiddenUi .canvas-container{
    top: 0px !important;
    left: 0px !important;
}

.odbl-card-image {
    max-height: 200px;
    height: 200px;
    object-fit: cover;
}

.text-primary {
    color: #0da7b5 !important;
}

.bg-primary {
    background-color: #0da7b5 !important;
}

.btn-primary {
    background-color: #0da7b5 !important;
    border-color: #20778c;
    color: #fff;
}

.btn-primary:hover {
    background-color: #3dbcc7 !important;
    border-color: #0da7b5;
    color: #fff;
}

.btn-secondary{
    background-color: #064959 !important;
    border-color: #064959;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #20778c !important;
    border-color: #20778c !important;
    color: #fff;
}

.btn-outline-primary {
    color: #0da7b5;
    border-color: #0da7b5;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #3dbcc7;
    border-color: #3dbcc7;
}

.btn-togglable.btn-primary{
    background-color: #6c757d !important;
    border-color: #6c757d;
}

.btn-togglable.btn-primary.active{
    background-color: #0da7b5 !important;
    border-color: #20778c;
}

/* Hide the fake checkbox box when there's no input before the label */
.custom-control-label::before,
.custom-control-label::after {
    display: none;
}

.custom-control-input + .custom-control-label::before,
.custom-control-input + .custom-control-label::after {
    display: block; /* restore if input exists */
}

.custom-checkbox .custom-control-input:indeterminate~.custom-control-label::before{
    background-color: #6c757d !important;
    border-color: #6c757d;
}
.custom-control-input:checked ~ .custom-control-label::before {
    background-color: #0da7b5 !important;
    border-color: #20778c;
}


form label.error{
    margin-top: .25rem;
    font-size: 80%;
    color: #dc3545;
    font-weight: 400 !important;
}

.imgToLoad{
    opacity: 0.3;
}

.modal-backdrop.show{
    opacity: 0.3;
}

.card-primary:not(.card-outline)>.card-header {
    background-color: #0da7b5 !important;
}

.btn-link {
    color: #0da7b5 !important;
}

.btn-link:hover {
    color: #064959 !important;
}

a {
    color: #0da7b5;
}

.lca-changed{
    border: 2px solid #0da7b5 !important;
    box-shadow: inset 0 1px 1px rgba(13, 167, 181, .075) !important;
}

.lca-category-editLbl{
    font-size: 0.9rem;
    padding-top: 5px;
}

.nav-category-label{
    border-radius: 0 !important;
}

.card-body{
    padding: 0.75rem;
}

.breadcrumb-item select{
    border-bottom: 2px solid #0da7b5 !important;
    padding-bottom: 0.3rem;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #fff;
    background-color: #0da7b5;
}

.nav-pills .nav-link:not(.active):hover {
    color: #0da7b5;
}

.text-secondary {
    color: #064959 !important;
}

.bg-secondary {
    background-color: #064959 !important;
}
@media (min-width: 768px) {
    .pt-md-180px {
        padding-top: 180px !important;
    }
}

.text-size-30px {
    font-size: 30px;
}

.text-size-40px {
    font-size: 40px;
}

.odbl-card {
    cursor: pointer;
}

.odbl-card:hover .bg-primary {
    background-color: #3dbcc7 !important;
}

.odbl-card:hover {
    background-color: #cceef1 !important;
}

.odbl-card:hover img{
    opacity: 0.6;
}

.odbl-card.bg-secondary:hover {
    background-color: #20778c !important;
}

.collapsed>.collapsed-hide{
    display:none;
}

:not(.collapsed)>.collapsed-show {
    display: none;
}

.collapser-hide{
    color : #064959 !important;
}

.collapser-show {
    color : #0da7b5 !important;
}

*:disabled>.collapser-hide, *:disabled>.collapser-show {
    color : #CCCCCC !important;
}

.hover-visible-parent .hover-visible{
    opacity: 0;
}

.hover-visible-parent:hover .hover-visible{
    opacity: initial;
}

.sidebar{
    height:initial;
}

[class*=sidebar-dark-]{
    background-color : #2d3233;
}

.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active, .sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active{
    background-color: #3dbcc7;
}

.sideMenuIcon{
    margin-top: -3px;
    width: 18px;
    height: 18px;
    filter: invert(100%) sepia(0%) saturate(3958%) hue-rotate(144deg) brightness(121%) contrast(73%);
}

.nav-link.active .sideMenuIcon{
    filter: invert(20%) sepia(4%) saturate(1498%) hue-rotate(169deg) brightness(99%) contrast(91%);
}

.rolesIcon{
    margin-top: -3px;
    width: 18px;
    height: 18px;
    filter: invert(20%) sepia(4%) saturate(1498%) hue-rotate(169deg) brightness(99%) contrast(91%);
}

#topNav{
    background-color: #f4f6f9;
}

.loader-container{
    display: none;
    position: absolute;
    left : 10;
    right: 10;
    opacity: 0.5;
    height: 4px;
    background-color: #f3f3f3;
    overflow: hidden;
}

.loader {
    position: absolute;
    height: 100%;
    width: 30%; /* Width of the moving part */
    background-color: #3dbcc7;
    animation: move 2s infinite ease-in-out;
}
.t-v-middle{
    vertical-align: middle !important;
}

/* Keyframes to move the progress bar left to right and back */
@keyframes move {
    0% {
        left: 0;
    }
    50% {
        left: 70%; /* Move right to the edge (100% - width of bar) */
    }
    100% {
        left: 0;
    }
}


.directory-tree-block{
    background-color: #f8f9fa;
}
a.nav-link{
    cursor: pointer;
}
a.nav-link.disabled{
    cursor: default;
}

.opacity-25{
    opacity: 0.25;    
}
.opacity-50{
    opacity: 0.5;
}
.opacity-75{
    opacity: 0.75;
}

.breadcrumb{
    padding: 0.1rem;
}

.btn{
    font-size: 0.9rem;
}

.table td, .table th{
    padding: .5rem
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, .03);
}

#taskOutputTable th, #taskOutputTable td{
    white-space: nowrap;
}

.no-sep-breadcrumb>.breadcrumb-item+.breadcrumb-item::before {
    content: "";
}

.border-primary{
    border-color : #0da7b5 !important
}

/**
.directory-tree-block:hover{
    background-color: #3baab430 !important;
}
*/
.leaflet-pane.leaflet-shadow-pane{
    display: none;
}

.odbl-autocomplete-results:not(:empty) {
    border: 1px solid #ccc;
    max-height: 150px;
    overflow-y: auto;
    background-color: #fff;
    position: absolute;
    width: 100%;
    z-index: 1000;
}
.odbl-autocomplete-results div {
    padding: 8px;
    cursor: pointer;
}
.odbl-autocomplete-results div:hover {
    background-color: #f0f0f0;
}

.taskblock-content {
    max-height: 300px; /* Initially show only 400px */
    overflow: hidden;  /* Hide overflow content */
    transition: max-height 0.5s ease; /* Smooth transition for expanding */
}
.taskblock-content.expanded {
    max-height: 10000px; /* Arbitrary large value to show full content */
}

.taskblock-content .close-taskblock-content{
    display: none;
    border-top: 1px solid #CCCCCC !important;
}

.taskblock-content.expanded .close-taskblock-content {
    display: initial;
}

.taskblock-content.expanded .open-taskblock-content{
    display: none;
}
.taskblock-content .open-taskblock-content {
    position: relative;
}

.taskblock-content .open-taskblock-content::before {
    content: '';
    position: absolute;
    top: -40px; /* Adjust this value based on the desired position */
    left: 0;
    width: 100%;
    height: 40px; /* Fixed height for the gradient */
    background: linear-gradient(0deg, #f8f9fa 0%, rgba(255,255,255,0) 100%);
    z-index: -1; /* Make sure it's behind the button text */
    border-radius: 5px 5px 0 0; /* Optional: if you want to round the top part of the gradient */
}

.toggle-taskblock-content{
    background-color: #f8f9fa !important;
    border: 0;
}



[class*="col-3xl-"] {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

/* Define the grid for extra extra large screens (2k px and above) */
@media (min-width: 2000px) {
    .col-3xl-1, .col-3xl-2, .col-3xl-3, .col-3xl-4,
    .col-3xl-5, .col-3xl-6, .col-3xl-7, .col-3xl-8,
    .col-3xl-9, .col-3xl-10, .col-3xl-11, .col-3xl-12 {
        max-width: none;    /* Remove the max-width limitation */
        flex: 0 0 auto;     /* Override the flex behavior */
    }

    .col-3xl-1 { width: 8.33%; }
    .col-3xl-2 { width: 16.66%; }
    .col-3xl-3 { width: 25%; }
    .col-3xl-4 { width: 33.33%; }
    .col-3xl-5 { width: 41.66%; }
    .col-3xl-6 { width: 50%; }
    .col-3xl-7 { width: 58.33%; }
    .col-3xl-8 { width: 66.66%; }
    .col-3xl-9 { width: 75%; }
    .col-3xl-10 { width: 83.33%; }
    .col-3xl-11 { width: 91.66%; }
    .col-3xl-12 { width: 100%; }
}

.responsive-h4 {
    font-size: 1rem; /* Smaller font size for mobile */
}

.responsive-h5 {
    font-size: 0.8rem; /* Smaller font size for mobile */
}

@media (min-width: 768px) {
    .responsive-h4 {
        font-size: 1.5rem; /* Larger font size for tablets and above */
    }
    .responsive-h5 {
        font-size: 1rem; /* Larger font size for tablets and above */
    }
}

/* Example for taller header */
.main-header {
    height: 110px; /* Set your actual header height */
}

.main-sidebar {
    margin-top: 110px;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    width: 280px;
}
@media (max-width: 768px) {
    .main-sidebar, .main-sidebar::before,
    .sidebar-collapse .main-sidebar, .sidebar-collapse .main-sidebar::before {
        margin-left: -280px;
    }
    .sidebar-visible .main-sidebar, .sidebar-visible .main-sidebar::before,
    .sidebar-visible .sidebar-collapse .main-sidebar,.sidebar-visible .sidebar-collapse .main-sidebar::before {
        margin-left: 0px;
    }
    .card-body{
        padding : 0.5rem;
    }
    .main-sidebar.elevation-4{
        box-shadow: none!important;
    }
    .text-sm-small{
        font-size: 0.8rem !important;
    }
}

@media (min-width: 768px) {
    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .content-wrapper, body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-footer{
        margin-left: 280px !important; /* Match the new sidebar width */
    }
    .control-sidebar {
        margin-left: 280px;
    }
}

body.layout-fixed{
    max-height: 100%;
    overflow-y: hidden;
}

.content-wrapper>.content {
    padding: 0 .5rem;
    overflow-y: auto;
    height: 100%;
}

.modal-open.layout-fixed .content-wrapper {
    position : initial;
    overflow-y: hidden;

}

.layout-fixed .content-wrapper {
    position: fixed;
    top: 110px;
    right: 0px;
    left: 0px;
    bottom: 0px;
}

.layout-fixed .content-wrapper .modal-dialog {
    z-index: 1045;
}


/* Custom scrollbar for the sidebar */
.main-sidebar::-webkit-scrollbar {
    width: 8px; /* Width of the scrollbar */
}

.main-sidebar::-webkit-scrollbar-thumb {
    background-color: #4d4d4d; /* Dark gray color for the scrollbar thumb */
    border-radius: 4px; /* Rounded corners for the thumb */
}

.main-sidebar::-webkit-scrollbar-thumb:hover {
    background-color: #6b6b6b; /* Lighter gray on hover */

}

.main-sidebar::-webkit-scrollbar-track {
    background-color: #1e1e1e; /* Background track color */
    border-radius: 4px; /* Rounded corners for the track */
}

/* Firefox scrollbar customization */
.main-sidebar {
    scrollbar-width: none; /* Thin scrollbar */
    scrollbar-color: #4d4d4d #1e1e1e; /* Thumb and track colors */
}

.main-footer {
    height: 57px; /* Adjust footer height if necessary */
}

.mcontent-wrapper {
    min-height: calc(100vh - 167px);
}

#navDigitalLogbookSidebar{
    height: min-content;
}

.canvas-container {
    position: fixed;
    display: block;
    top: 110px;
    bottom: 0px;
    left: 280px;
    right: 0px;
}
.interaction-bar {
    background-color: #f8f9fa;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    padding: 0 10px;
}
.canvas-area {
    flex: 1;
    position: relative;
    overflow: hidden;
}
canvas {
    width: 100%;
    height: 100%;
}

.content-wrapper {
    flex: 1;
    margin-left: 250px; /* Match the width of the sidebar */
    display: flex;
    flex-direction: column;
    height: initial;
}

.content-wrapper, body{
    background-color: #f4f6f9;
}

child-morph-component, morph-component-target{
    display: contents;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999; /* Ensure it's above all other elements */
    display: none; /* Hidden by default */
}


.two-columns-layout {
    display: flex;
}

.two-columns-layout > .col-6:first-child {
    display: flex;
    flex-direction: column;
}

.two-columns-layout > .full-height {
    display: flex;
    flex: 1;
}

.layout-top-nav #sidebar-collapser{
    display: none;
}

.overflow-x-auto .dataTables_wrapper .row{
    margin-left: 0;
    margin-right: 0;
}

/* Table background & text color */
.dataTables_wrapper {
    color: #333; /* Dark text */
}

/* Header Row */
table.dataTable thead {
    color: #064959;
}

.dataTables_wrapper .dataTables_length{
    margin: 0 5px;
}

/* Selected Row */
table.dataTable tbody tr.selected {
    background-color: #064959 !important;
    color: white !important;
}

/* Pagination Buttons */
.dataTables_wrapper .dataTables_paginate .paginate_button .page-link {
    background-color: #064959;
    color: white !important;
    border-radius: 4px;
    padding: 5px 10px;
    margin: 2px;
}

/* Active Page in Pagination */
.dataTables_wrapper .dataTables_paginate .paginate_button.active .page-link {
    border: 1px solid #064959;
    background-color: white !important;
    color: #064959 !important;
    cursor: default;
}

/* Search Box */
.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #064959;
    border-radius: 4px;
    padding: 5px;
}

/* Table Cell Padding */
table.dataTable td, table.dataTable th {
    padding: 10px;
}

/* Initially hide the column */
td.hidden-col, th.hidden-col {
    display: none;
}

/* Show the column when hovering over the table */
table:hover td.hidden-col,
table:hover th.hidden-col {
    display: table-cell;
}

/* Style the menu container */
.menu-container {
    display: inline-block;
    margin-left: 10px;
    position: relative;
}

.menu-button {
    cursor: pointer;
    background: none;
    border: none;
    font-size: 20px;
    padding-top: 1px;
}

/* Dropdown menu */
.menu-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    min-width: 150px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.menu-content button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 5px;
    border: none;
    background: none;
    cursor: pointer;
}

.menu-content button:hover {
    background-color: #f1f1f1;
}

.dataTables_filter {
    align-items: center;
}

.bcf-topic-comments {
    max-height: 200px;
    overflow-y: auto;
}

.no-move-formBuilder .form-wrap.form-builder .form-elements .field-options div:hover,
.no-move-formBuilder .form-wrap.form-builder .frmb .legend,
.no-move-formBuilder .form-wrap.form-builder .frmb .prev-holder {
    cursor: default;
}

.no-move-formBuilder .form-wrap.form-builder .frmb li.form-field:hover{
    border: none;
    box-shadow: none;
}

.no-move-formBuilder .form-wrap.form-builder .frmb li.form-field{
    margin-bottom: 0px;
}
.no-move-formBuilder .form-wrap.form-builder ul.frmb{
    margin:1rem;
    box-shadow: 0 0 1px rgba(0, 0, 0, .125), 0 1px 3px rgba(0, 0, 0, .2);
}

.no-move-formBuilder .form-wrap.form-builder .frmb li.form-field{
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    margin-bottom: 0px;
}

.no-move-formBuilder .form-wrap.form-builder .frmb li:last-of-type{
    padding-bottom: 1.25rem;
}

.no-move-formBuilder .form-wrap.form-builder .frmb .header-field{
    padding-top: 1.25rem;
}

.no-move-formBuilder .form-wrap.form-builder .frmb .header-field .formbuilder-header{
    color: #064959;
}

.no-move-formBuilder .form-wrap.form-builder .frmb .field-actions{
    display: none;
}

.btn-round-38{
    width: 38px;
    height: 38px;
    border-radius: 50% !important;
    padding-left: 8px !important;
}
.btn-round-38.collapsed {
    padding-left: 9px !important;
}

.btn-round-38:hover{
    background-color: rgba(0,0,0, 0.1) !important;
}

#bde-container .bde-selected .collapser-hide{
    color: white !important;
}

.bde-selected {
    background-color: #064959;
    color: white !important;
    border-radius: .25rem;
}

.bde-selected button{
    color: white !important;
}

.stab-button{
    color: #6c757d;
    border-radius: .25rem;
    padding: .5rem 1rem;
    cursor: pointer;
    border: none;
    background-color: transparent;
}
.stab-button.active{
    color: #fff;
    background-color: #0da7b5;
}

.stab-content{
    display: none;
}

.stab-content.active{
    display: block;
}

.fake-link{
    cursor: pointer;
}

.fake-link:hover {
    color: #0da7b5 !important;
}

.overflow-x-auto{
    overflow-x: auto;
}

.highlight-once {
    animation: highlight 1s ease-in-out;
    background-color: rgb(13, 167, 181, 0.1);
}

@keyframes highlight {
    0%   { background-color: rgb(13, 167, 181, 0); }
    0%   { background-color: rgb(13, 167, 181, 0.5); }
    100% { background-color: rgb(13, 167, 181, 0.1); }
}

.lca-category {
    text-align: left;
    color: #6c757d !important;
    font-size: 1.1rem;
}

.lca-years{
    margin:10px;
}

.cde-selectionMode:not(.cde-selectionMode-active) .cde-selectionModeItem{
    display: none !important;
}

.cde-selectionMode.cde-selectionMode-active .cde-selectionModeItem{
    display: initial;
}

.cde-selectionMode .cde-selectionModeItem-reverse{
    display: initial;
}

.cde-selectionMode.cde-selectionMode-active .cde-selectionModeItem-reverse{
    display: none !important;
}

.directory-tree .loader-container{
    opacity: 0 !important;
}