.main-container {
    /* This makes the footer "stick" to the bottom on short pages, but allows it to move down on long pages. */
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.page-content {
    margin-top: 10px;
    margin-left: 5%;
    margin-right: 5%;
    flex: 1 0 auto;
}

/* 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;
}

/* Show alert only when mobile device is in portrait mode */
.alert-mobile-landscape {
    display: none;
}
@media (max-width: 650px) {
    .alert-mobile-landscape {
        background-color: #d2460f;
        color: white;
        display: inline;
        padding: 10px;
        margin-bottom: 10px;
    }
}
.alert-mobile-landscape i {
    display: inline;
    margin-right: 5px;
}
.alert-mobile-landscape p {
    display: inline;
    margin-left: 5px;
}


.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 */
}

.header {
    background-color: #001C3D;
    border-radius: 2px;
    overflow: hidden;
    padding-left: 5%;
    padding-right: 5%;

}
.header h1 {
    color: white;
    padding: 0.6rem 0.2rem;
    display: flex;
    justify-content: center;
}
.header p {
    color: white;
    display: flex;
    justify-content: right;
    margin-bottom: 0;
}
.header a {
    color: orange;
    display: flex;
    justify-content: right;
}
.header img {
    width: auto;
    height: 57px;
}

.footer {
    background-color: #666666;
    border-radius: 2px;
    overflow: hidden;
    min-height: 57px;
    width: 100%;
    margin-top: 10px;
    padding-left: 20px;
    padding-right: 20px;

    /* Flexbox for centering the content */
    display: flex;
    justify-content: center; /* Horizontal alignment */
    align-items: center;    /* Vertical alignment */
    position: relative;
}
.footer p,
.footer a {
    color: #ffffff;
}

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;
}

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

/* 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;
    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;
}
