﻿/* This is stylesheet for customizing default bootstrap 5 styles */

/* Make bootstrap dropdowns width take full length of content (no wrapping) */
/*.dropdown-menu-auto-width .show {
    display: inline-block;
}

.dropdown-menu-auto-width > .dropdown-item {
    white-space: nowrap !important;
}*/

/* Disable text decorations by default */
a {
    text-decoration: none;
}

/* Flip arrows when menus are expanded */
.card-title .ti-angle-down {
    float: right;
    transition: transform 0.3s ease;
}

.dropdown-toggle[aria-expanded="true"]::after {
    transform: scale(-1, -1);
}

/* Bootstrap Tables Plugin */
.page-item:first-child .page-link {
    border-top-left-radius: 20px !important;
    border-bottom-left-radius: 20px !important;
}

.page-item:last-child .page-link {
    border-top-right-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
}

.fixed-table-toolbar .btn-group > .btn-group:last-child > .btn {
    border-top-right-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
}

.fixed-table-toolbar .btn-group > .btn-group:first-child > .btn {
    border-top-left-radius: 20px !important;
    border-bottom-left-radius: 20px !important;
}

.bootstrap-table.bootstrap5 .fixed-table-body table {
    border-collapse: collapse;
}

.bootstrap-table.bootstrap5 .fixed-table-body th {
    border: none;
}

.bootstrap-table.bootstrap5 .fixed-table-body td {
    border-left: none;
    border-top: none;
    border-right: none;
}

/* This forces the 'undefined' text to not display. This will however override
    Page number information if we choose to enable them on any table in the future.
    If you desire to enable page numbers on a table, you will have to redo this rule. [Paul B. | 2025-05-08]
*/
.pagination-info {
    font-size: 0px;
}

/* Select elements */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='gray' height='20' width='20'%3E%3Cpath fill-rule='evenodd' d='M10 12a1 1 0 01-.71-.3l-5-5a1 1 0 111.42-1.4L10 9.58l4.29-4.3a1 1 0 011.42 1.42l-5 5a1 1 0 01-.71.3z' clip-rule='evenodd'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px;
}
