/**
 * udb, A web interface to manage IT network
 * Copyright (C) 2022 IKUS Software inc.
 *
 * Custom CSS
 */


/* navbar layout */
main {
    padding: 78px 1rem 1rem 1rem;
}

@media (min-width: 992px) {
    .udb-navbar {
        width: 264px;
        height: 100vh;
        overflow-y: auto;
    }

    main {
        padding: 1rem 1rem 1rem 264px;
    }
}

.btn-circle.btn-sm {
    width: 24px;
    height: 24px;
    padding: 5px 0px;
    border-radius: 12px;
    font-size: 10px;
    line-height: 1;
}

.btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0px;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.42857;
}

/*
 * Light background color to highlight record status in edit view.
 */
.bg-light-danger {
    background-color: rgba(var(--bs-danger-rgb), 0.25) !important;
}

.bg-light-warning {
    background-color: rgba(var(--bs-warning-rgb), 0.25) !important;
}

/* Make form label bold */
.form-label {
    font-weight: 500;
}

/* Fix header of history in edit view */
.card.udb-card-table-wrapper thead {
    background-color: rgba(0, 0, 0, .03);
}

.card.udb-card-table-wrapper thead th {
    border-bottom: 1px solid rgba(0, 0, 0, .125)
}
