﻿/* General Styles */
.wrapper {
    margin: 0 auto;
    padding: 0;
    background-image: url(images/bg_2_4.jpg);
    background-position: center bottom;
    background-repeat: no-repeat;
}

.company {
    background-image: url(../Images/bg_company.png);
    background-repeat: no-repeat;
    background-position: left center;
}

.custom-bg-green {
    background-color: rgb(193, 225, 193);
}

.custom-bg-blue {
    background-color: rgb(144, 202, 249);
}

.custom-bg-blue100 {
    background-color: rgb(187, 222, 251);
}

.custom-bg-blue400 {
    background-color: rgb(66 165 245);
}

/* Footer */
#footer {
    line-height: 41px;
    margin: 1px auto 0 auto;
    background-color: rgb(66 165 245);
    background-repeat: repeat-x;
    background-position: center top;
    position: fixed; /* Keeps the footer fixed at the bottom */
    bottom: 0;
    width: 100%;
    height: 60px; /* Explicit footer height */
}

    #footer div {
        width: 960px;
        margin: 0 auto;
        text-align: left;
    }

    #footer a {
        color: #fff;
        font-weight: bold;
    }

/* Layout Adjustments */
html, body {
    height: 100%; /* Ensure the HTML and body fill the viewport */
    margin: 0; /* Reset any default margin */
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    padding-bottom: 80px; /* Reserve space for the footer */
}

/* Table Wrapper */
.content-wrapper {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 60px); /* Reserve space for the footer */
    overflow: hidden; /* Prevent content from spilling outside */
}

.table-wrapper {
    flex: 1; /* Allow the table to fill the remaining space */
    overflow-y: auto; /* Enable scrolling for long tables */
    margin-bottom: 10px;
    border: 1px solid #ddd; /* Optional: Add a border for better visual separation */
}
