/* Override the default heading size to make them smaller */
h1 {
    font-size: 1.5rem;
}
h2 {
    font-size: 1.25rem;
}
h3 {
    font-size: 1rem;
    font-weight: bold;
}

.avatar {
    width: 50px;            /* Set the size of the circle */
    height: 50px;           /* Same as width for a perfect circle */
    border-radius: 50%;     /* Makes the div circular */
    overflow: hidden;       /* Ensures the image stays within the bounds */
}

/* This ".banner" class refers to the dark blue header at the absolute top of the page */
.banner {
    background-color: #001C3D;
    border-radius: 2px;
    overflow: hidden;
}
.banner H1 {
    color: white;
    padding: 0.5rem 0.1rem;
}
.banner P {
    color: white;
}
.banner A {
    color: orange;
}
.banner Img {
    width: auto;
    height: 57px;
}

blockquote {
    border-left: 4px lightgrey solid;
    padding-left: 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    margin-left: 0rem;
}
/* Without clearfix the dbc.Button is not clickable because there is zero height.
clearfix class ensures that the parent div with floated elements is properly rendered and encloses both child elements */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.div-margin20 {
    margin-left: 20px;
    margin-right: 20px;
}

.dash-table-tooltip {
    background-color: var(--bs-dark) !important;
    color: white;
}

.sidebar {
    height: 100%;
    padding: 0rem 1rem;
    background-color: var(--bs-secondary);
}

/* Override for DataTable's select radio-button*/
.dash-select-cell input[type=radio] {
    appearance: none;
    cursor: pointer;
    width: 25px;
    height: 25px;
    background-image: url("/dashboard/assets/bi-eye-blue.svg"); /* image will be overridden by custom css selector rule in Datatable(s) on Profile page */
    background-repeat: no-repeat;
    background-position: center center;
}

/* Align icons with this class to the center of the table cell */
.icon-centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* DataTable's 'Toggle columns' button */
.show-hide {
    position: relative;
    width: 200px;
    /* Values below are copied from Bootstrap's btn and btn-secondary */
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 700;
    background-color: var(--bs-secondary);
    border: 1px solid var(--bs-secondary);
    border-radius: 6px;
    border-bottom-width: 4px;
    border-bottom-color: rgb(216, 216, 216);
    text-decoration-color: #000000;
    text-decoration-style: solid;
    text-transform: uppercase;
    transition: background-color 0.15s ease-in-out,
                border-color 0.15s ease-in-out,
                box-shadow 0.15s ease-in-out;
}
.show-hide:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Customize the button text */
.show-hide::before {
    background: inherit;
    content: "Show/Hide columns";
    position: absolute;
    left: 5px;
    right: 5px;
}
/* End of Toggle Column button */


/* Increase the vertical space before or after some elements */
.dash-table-container:after{
    content: "";
    display: block;
    margin-top: 60px; /* Vertical space in pixels */
}
.form-label:before{
    content: "";
    display: block;
    margin-top: 12px;
}
.footnote-txt:before{
    content: "";
    display: block;
    margin-top: 12px;
}
.nav-pills:after{
    content: "";
    display: block;
    margin-top: 50px;
}


/* Sets the expanded list of dropdown options (= Select-menu-outer) to be wider than the dropdown itself */
/* Prevents line wrapping and overlapping text for long dropdown values */
.wide-dropdown .Select-menu-outer {
    width: 350px;
}
