html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.footer {
    bottom: 0;
    width: 100%;
}

.footer-text {
    font-size: 2.1vh;
}

@media screen and (min-width: 0px) and (max-width: 575.9px) {

    .footer-text {
        font-size: 1.5vh; /* Set font size relative to the viewport height */
        white-space: normal; /* Ensure text wraps as needed */
        word-wrap: break-word; /* Break long words if necessary */
    }
}

.spacing {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.editor-danger {
    border-color: rgb(255,102,133) !important;
}

.button.is-dark:focus, .button.is-dark:active, .button.is-dark:hover {
    color: white; /* Or any color you prefer */
    outline: none; /* Optional: remove focus outline */
}

.is-tag-warning {
    background-color: #ffedd5 !important;
    color: #c74e1c !important;
    font-weight: 700;
}

.is-tag-purple {
    background-color: #f4e3ee !important;
    color: #b41e8e !important;
    font-weight: 700;
}

.is-tag-pink {
    background-color: #fce7f3 !important; 
    color: #cd0e63 !important;
    font-weight: 700;
}

.is-tag-yellow {
    background-color: #fef9c3 !important; /* Yellow-100 */
    color: #d18805 !important; /* Yellow-700 for good contrast */
    font-weight: 700;
}



.is-tag-success {
    background-color: #dcfce7 !important;
    color: #15803d !important;
    font-weight: 700;
}

.is-tag-info {
    background-color: #e0f2fe !important;
    color: #1172a7 !important;
    font-weight: 700;
}

.is-tag-danger {
    background-color: #fee2e2 !important;
    color: #b91c1c !important;
    font-weight: 700;
}

.button.is-warning {
    background-color: #f97316 !important;
    color: white !important;
}

.button.is-link {
    background-color: #a855f7 !important;
    color: white !important;
}

.button.is-success {
    background-color: #22c55e !important;
    color: white !important;
}

.button.is-danger {
    background-color: #ef4444 !important;
    color: white !important;
}

.button.is-yellow {
    background: #ffc107;
    color: white;
}

.button.is-grey {
    background-color: #808080;
    color: white;
}

.button.is-cyan {
    background-color: #3b82f6 !important; /* your custom blue */
    color: white;
}

.button.is-light-green {
    background: #20c997;
    color: white;
}

.button.is-warning:hover {
    background-color: #dc6803 !important; /* darker orange */
    color: white !important;
}

.button.is-link:hover {
    background-color: #9333ea !important; /* darker purple */
    color: white !important;
}

.button.is-success:hover {
    background-color: #16a34a !important; /* darker green */
    color: white !important;
}

.button.is-danger:hover {
    background-color: #dc2626 !important; /* darker red */
    color: white !important;
}

.button.is-yellow:hover {
    background: #cc9a06; /* darker yellow */
    color: white;
}

.button.is-grey:hover {
    background-color: #5a5a5a; /* darker grey */
    color: white;
}

.button.is-cyan:hover {
    background-color: #2563eb !important; /* darker blue on hover/focus/active */
    color: white;
}

.button.is-light-green:hover {
    background: #17a589; /* darker light green */
    color: white;
}

/* Smooth transition for all buttons */
.button {
    transition: background-color 0.3s ease, color 0.3s ease;
}

    .button.is-info:hover {
        background-color: #4bbcf0; /* Slightly darker */
        color: #000000;
    }

.is-size-7 {
    font-size: 0.8rem !important;
}

.table-button-padding {
    padding: 2px 13px !important;
}

.tag {
    font-size: 0.7rem !important;
}

.dt-container .dt-search input {
    padding: 2px !important;
}

    .dt-container .dt-search input:focus {
        outline: white !important;
    }

.dt-container {
    font-size: 0.75rem;
}

.is-size-6 {
    font-size: 0.85rem !important;
}

.dt-search {
    justify-self: flex-end !important;
}

.hero.bg {
    background: url('../images/carabuilding.jpg') repeat;
    background-size: cover;
    height: 100%;
    min-height: inherit;
}

a[b-c7rs3hlok2] {
    color: #404654 !important;
}

@media screen and (max-width: 767px) {
    .navbar {
        display: block;
    }

    .navbar-brand {
        display: flex !important;
    }

    .modal-content {
        width: 80% !important;
    }
}
/* Ensure dropdown is only shown on mobile */
@media screen and (max-width: 768px) {
    .actions-desktop {
        display: none; /* Hide desktop buttons on mobile */
    }

    .is-mobile-only {
        display: block; /* Show mobile dropdown on smaller screens */
    }

    #userInfo {
        display: grid;
    }
}

@media screen and (min-width: 769px) {
    .is-mobile-only {
        display: none; /* Hide dropdown on larger screens */
    }

    .actions-desktop {
        display: block; /* Show desktop buttons */
    }
}


@media screen and (min-width: 768px) {
    .navbar-brand {
        display: flex;
    }
}

.navbar-menu {
    box-shadow: none !important;
}

.tabulator {
    border: none !important;
    font-size: 0.9rem !important;
}

/* Remove borders from cells */
.tabulator-cell {
    border: none !important;
}

/* Remove borders from rows */
.tabulator-row {
    border: none !important;
}

/* Remove borders from headers */
.tabulator-header {
    background-color: transparent !important;
    border: none !important;
}

.tabulator-col {
    border: none !important;
}

.tabulator-row:nth-child(even) {
    background-color: transparent !important; /* Remove striping effect */
}

/* Optional: You can also remove the default row hover effect if needed */
.tabulator-row:hover {
    background-color: transparent !important; /* Remove row hover background color */
}

.tabulator-row.tabulator-group {
    background: none !important;
}

.tabulator-col-content {
    background: white !important;
}

.tabulator-footer-contents {
    background: white !important;
}

.tabulator-cell {
    white-space: normal !important;
}



.tabulator .tabulator-tableholder {
    overflow-y: hidden !important;
}

.tabulator-row.tabulator-group .tabulator-group-toggle {
    display: none !important;
}

.tabulator .tabulator-row:hover {
    background-color: #f0f0f0 !important; /* Adjust color as needed */
}

.tabulator .tabulator-footer .tabulator-page {
    /*  border: 1px solid #d7d7d7 !important; */
    padding: 4px 15px !important;
}

.tabulator-row .tabulator-cell {
    padding: 8px 4px !important;
}

/*.tabulator-row.tabulator-group span {
    color: #0d6efd !important;
}*/

.note-editable ul {
    list-style: inherit !important;
}

.right-bottom {
    bottom: 10px;
    right: 10px;
    max-width: 22%;
    min-height: 20vh;
}

.right-bottom-box {
    overflow-wrap: anywhere;
    overflow-y: auto;
    max-height: 50vh;
}

    .right-bottom-box::-webkit-scrollbar {
        width: 7px;
    }
/* Handle */
:: -webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #8988;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

.disabled-input {
    background-color: #f0f0f0; /* Light grey background */
    border: 1px solid #dcdcdc; /* Light grey border */
    padding: 8px; /* Padding to make it look like an input */
    border-radius: 4px; /* Optional: rounded corners */
    color: #6e6e6e; /* Grey text color */
    font-size: 14px; /* Input-like font size */
    pointer-events: none; /* Disable interaction (optional) */
}

    .disabled-input ol, .disabled-input ul, .disabled-input li {
        margin: auto !important;
        padding: revert !important;
    }

    .disabled-input ul {
        list-style: inherit;
    }

.tabulator-row.tabulator-selectable.tabulator-row-odd {
    background-color: #f2f2f2;
}

.tabulator-table {
    width: inherit;
}

.folder-title {
    display: block;
    text-align: right; /* Align first line to the right */
    white-space: normal; /* Allow text to wrap */
}

    .folder-title::after {
        content: ""; /* Ensure pseudo-element is inserted */
        display: block;
        text-align: left; /* Subsequent lines will be aligned to the left */
    }

.table-bordered td {
    border-width: 1px !important;
}

a:hover {
    color: #d5008e;
}

.is-purple {
    color: #b41e8e !important;
}

.text-wrap {
    word-wrap: break-word; /* Allows long words to break and wrap to the next line */
    white-space: normal; /* Ensures the text can wrap */
    overflow: hidden; /* Hides overflow content */
    text-overflow: ellipsis; /* Optional: Add ellipsis if content overflows */
    max-width: 100%; /* Ensures the container width doesn't exceed its parent's width */
}

.back-to-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background-color: #333333;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 50%; /* Makes the button round */
    cursor: pointer;
    font-size: 15px; /* Adjust the icon size */
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.note-editor .note-editing-area .note-editable table td, .note-editor .note-editing-area .note-editable table th {
    border: 1px solid #333333 !important;
}

.note-editor .note-toolbar, .note-popover .popover-content {
    background: #d4e2f5 !important;
}

a.button {
    text-decoration: none; /* Remove underline */
}

    a.button:hover,
    a.button:focus {
        text-decoration: none; /* No underline on hover/focus */
        cursor: pointer; /* Pointer cursor */
    }

.version-tag {
    font-size: 9px;
    vertical-align: top;
    background: mediumseagreen;
    padding: 1px 6px;
    color: white;
    margin-left: 5px;
    border-radius: 60px;
}

ol.lower-roman {
    list-style-type: lower-roman;
}

ol.lower-alpha {
    list-style-type: lower-alpha;
}
