
/* ==================== CSS for PC ==================== */

.main-nav {
    position: fixed;
    width: 100%;
    height: 4vw;
    top: 0;
    left: 0;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 600;
    font-size: 2vw;
    list-style-type: none;
    padding: 0;
    overflow: hidden;
    background-color: #535353;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 1000;
}

.main-nav li {
    margin: 0;
    padding: 0;
    text-align: left;
}

.main-nav li a {
    display: block;
    color: #ffffff;
    text-align: left;
    padding: 1vw 2vw;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
    line-height: 4vw; /* Center text vertically */
}

.main-nav li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #000436; /* Matching the hover color of sidenav1 */
}

.main-nav li a#active {
    background-color: #000436;
    color: #ffffff;
}

/* Rest of the CSS */
h1  {
    position: relative; /* so it scrolls away */
    top: 0vw;
    right: 0;
    left: 0;
    text-align:right;
    font-size: 0.5vw;
    display: block;
    overflow: visible;
    background-color:#ffffff;
    color:#535353;
    text-decoration: none;
    font-family: 'Roboto', Arial, sans-serif; /* Renewed font */
    font-weight: bolder;
    margin: 0;
    z-index: 0;
}




/*h2  {
    position: fixed;
    width:95%;
    top: 35px;
    left:0%;
    font-size: .6rem;
    display: block;
    overflow: hidden;
    background-color:#EEEEEE;
    color:#EEEEEE;
    text-align: left;
    margin: 0;
    margin-top: 3px;
    padding: 1px 1px 2px 11px;
    overflow: hidden;
    text-decoration: none;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: lighter;
}
*/
h3  {
    left:0vh;
    font-size: 1.8vw; /* Renewed font size */
    color:#000436;
    text-align: left;
    margin-top: 5vh; /* Additional gap before and consistent margin */
    text-decoration: none;
    font-family: 'Roboto', Arial, sans-serif;
}

p {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1.8vw;
    line-height: 1.6;
    color: #333333;
    margin: 0vh 0;
    text-align: justify;
}


ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1.8vw;
    line-height: 1.4;
    color: #333333;
    margin: vh 0;
    text-align: justify;
}

.sidenav1 {
    position: fixed;
    top: 5vw; /* Reduced gap */
    left:0.15vw;
    overflow: hidden;
    background-color: #535353;
    width: 6vw;
    height: 100% - 1px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    font-family: 'Roboto', Arial, sans-serif; /* Updated font */
}

.sidenav1 a {
    color: #ffffff; /* Side nav specific link color */
    text-align: center;
    padding: 0.66vw 0; /* Slight adjustment for modern appearance */
    text-decoration: none;
    font-size: 1.05vw; /* Same font size as sidenav2 */
    display: block;
    font-weight: bold; /* Bold font for emphasis */
    transition: background-color 0.3s, color 0.3s;
    border-radius: 4px; /* Rounded edges for modernization */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Ensure text fits inside */
}

.sidenav1 a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #000436; /* Matching the active link color of main nav */
}

.sidenav1 a#active {
    background-color: #000436;
    color: #ffffff;
    font-weight: bold;
}

.sidenav2 {
    position: fixed;
    top: 5vw; /* Reduced gap */
    left:6.4vw; /* Ensure a consistent gap with sidenav1 */
    overflow: hidden;
    background-color: #535353;
    width: 4vw;
    height: 100% - 1px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    font-family: 'Roboto', Arial, sans-serif; /* Updated font */
    word-wrap: break-word; /* Adjust font for fitting */
    overflow-wrap: break-word; /* Ensure text fits inside */
}

.sidenav2 a {
    color: #ffffff; /* Side nav specific link color */
    text-align: center;
    padding: 0.5vw 0; /* Slight adjustment for modern appearance */
    text-decoration: none;
    font-size: 1.05vw; /* Larger font size */
    display: block;
    font-weight: bold; /* Bold font for emphasis */
    transition: background-color 0.3s, color 0.3s;
    border-radius: 4px; /* Rounded edges for modernization */
}

.sidenav2 a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #000436; /* Matching the active link color of main nav */
}

.sidenav2 a#active {
    background-color: #000436;
    color: #ffffff;
    font-weight: bold;
}





body {
    position: relative;
    left: 0px;
    top: 4.2vw;
    display: flex;
    flex-direction: column; /* Stack content vertically */
    background-color:rgb(255, 255, 255);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-decoration: none;
    font-size: 2.5vh;
    overflow: auto;
    /*height:100%;*/
    min-height: calc(100vh - 9vh);
    margin:0;
    margin-left:0.5vw;
    margin-right:0.5vw;

}


footer {
    position: relative;
    bottom: 0; /* Ensure footer does not overlap content */
    left: 0;
    width: 100%;
    height: 4vh; /* Reduced height */
    background-color: #a1a1a1;
    color: #ffffff;
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 2vw; /* Smaller font size */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    margin-top: auto; /* Ensure spacing from content */
}





.table a:link {
    color: #000436; /* Table-specific link color */
}

.table a:visited {
    color: #000436; /* Table-specific visited link color */
}

.table2 a:hover {
    color: #000436; /* Retain blue color for links in table2 */
}

table {
    width: 100%;
    text-align: center;
    font-family: 'Roboto', Arial, sans-serif;
    /*font-size: 1.2rem;*/
    border-collapse: collapse;
    margin-top: 2vh;
}

th {
    text-align: center;
    vertical-align: middle;
    background-color: #7e7e7e;
    color: #ffffff;
    padding: 1vh; /* Match row height */
    font-weight: bold; /* Bold font */
    font-size: 1.4vw; /* Slightly smaller font */
}

tr {
    transition: background-color 0.3s;
}

table tr:hover {
    background-color: rgba(144, 238, 144, 0.3); /* Light green with transparency */
}

td {
    text-align: center;
    vertical-align: middle;
    padding: 1vh;
    font-size: 1.4vw;
}

tr:nth-child(odd) {
    background-color: #f0f0f0; /* Slightly darker for better contrast */
}

tr:nth-child(even) {
    background-color: #ffffff;
}

.table-container {
    position: relative;
    width: calc(100% - 12vw); /* Adjust width for smaller gap */
    max-height: 80vh;
    /*margin: auto; */
    overflow-y: scroll;
    border: 1px solid #ccc;
    padding: 1vh;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin-left: 10.5vw; /* Smaller gap from side nav 2 */
    margin-top: 0.5vw; /* Minimal gap for visibility of h1 */ /* Smaller gap for visibility of h1 */
}

.table-container table.table2 {
    width: 100%;
    text-align: left;
    font-size: 1vh;
    border-collapse: collapse;
}

table.table2 th {
    position: sticky;
    top:8vh;
    background-color: #ffffff;
    padding-left: 2vh;
    padding-right: 2vh;
    color: #000000;
    text-align: center;
}

table.table2 tr {
    transition: background-color 0.3s;
}

table.table2 tr:nth-child(odd) {
    background-color: #f0f0f0; /* Slightly darker for better contrast */
}

table.table2 tr:nth-child(even) {
    background-color: #ffffff;
}

table.table2 tr:hover {
    background-color: rgba(144, 238, 144, 0.3); /* Light green with transparency */
}

table.table2 td {
    text-align:left;
    padding-left:1vh;
    padding-right: 1vh;
}

table.table3 {
    position:relative;
    background-color: #d8d8d8;
    width:23%;
    left:8%;
    font-size: .65rem;
    text-align: left;
    top:3px;
}

table.table3 th {
    background-color: #d8d8d8;
    top:35px;
    text-align: center;
}

table.table3 td {
    background-color: #d8d8d8;
    text-align:center;
}

.container img {
    position:absolute;
    left:32%;
    width:68%;
    top:3px;
}

.container .table-div {
    left:7%;
}






/* ==================== CSS for MOBILE ==================== */
@media (max-width: 768px) {

    .main-nav {
        position: fixed;
        width: 100%;
        height: 9vw;
        top: 0;
        left: 0;
        font-family: 'Roboto', Arial, sans-serif;
        font-weight: 600;
        font-size: 3vw;
        list-style-type: none;
        padding: 0;
        overflow: hidden;
        background-color: #535353;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        z-index: 1000; /* Ensures it stays above other elements */
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
    
    .main-nav li {
        margin: 0;
        padding: 0;
        text-align: left;
    }
    
    .main-nav li a {
        display: block;
        color: #ffffff;
        text-align: left;
        padding: 0.5vw 1vw;
        text-decoration: none;
        border-radius: 4px;
        transition: background-color 0.3s, color 0.3s;
        line-height: 9vw; /* Center text vertically */
    }
    
    .main-nav li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: #000436; /* Matching the hover color of sidenav1 */
    }
    
    .main-nav li a#active {
        background-color: #000436;
        color: #ffffff;
    }


    h1  {
        position: relative; /* so it scrolls away */
        top: 0vw;
        right: 0;
        left: 0;
        text-align:right;
        font-size: 1vw;
        display: block;
        overflow: visible;
        background-color:#ffffff;
        color:#535353;
        text-decoration: none;
        font-family: 'Roboto', Arial, sans-serif; /* Renewed font */
        font-weight: bolder;
        margin: 0;
        z-index: 0;
    }


    ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
        font-family: 'Roboto', Arial, sans-serif;
        font-size: 4vw;
        line-height: 1.4;
        color: #333333;
        text-align: justify;
    }
    
    .sidenav1 {
        position: fixed;
        top: 12vw; /* Reduced gap */
        left: 0.5vw;
        overflow: hidden;
        background-color: #535353;
        width: 7vw;
        height: 100% - 1px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;

        font-family: 'Roboto', Arial, sans-serif; /* Updated font */
    }
    
    .sidenav1 a {
        color: #ffffff; /* Side nav specific link color */
        text-align: center;
        padding: 1vw 0; /* Slight adjustment for modern appearance */
        text-decoration: none;
        font-size: 0.9vw; /* Same font size as sidenav2 */
        display: block;
        font-weight: bold; /* Bold font for emphasis */
        font-size: 1.25vw;
        transition: background-color 0.3s, color 0.3s;
        border-radius: 4px; /* Rounded edges for modernization */
        white-space: normal; /* Allow text wrapping */
        word-wrap: break-word; /* Ensure text fits inside */
    }
    
    .sidenav1 a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: #000436; /* Matching the active link color of main nav */
    }
    
    .sidenav1 a#active {
        background-color: #000436;
        color: #ffffff;
        font-weight: bold;
    }
    
    .sidenav2 {
        position: fixed;
        top: 12vw; /* Reduced gap */
        left:8vw; /* Ensure a consistent gap with sidenav1 */
        overflow: hidden;
        background-color: #535353;
        width: 4vw;
        height: 100% - 1px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        font-family: 'Roboto', Arial, sans-serif; /* Updated font */
        word-wrap: break-word; /* Adjust font for fitting */
        overflow-wrap: break-word; /* Ensure text fits inside */
    }
    
    .sidenav2 a {
        color: #ffffff; /* Side nav specific link color */
        text-align: center;
        padding: 1vw 0; /* Slight adjustment for modern appearance */
        text-decoration: none;
        font-size: 0.9vw; /* Larger font size */
        display: block;
        font-weight: bold; /* Bold font for emphasis */
        transition: background-color 0.3s, color 0.3s;
        border-radius: 4px; /* Rounded edges for modernization */
    }
    
    .sidenav2 a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: #000436; /* Matching the active link color of main nav */
    }
    
    .sidenav2 a#active {
        background-color: #000436;
        color: #ffffff;
        font-weight: bold;
    }
    

    /*
    h2  {
        position: fixed;
        width:95%;
        top: 35px;
        left:0%;
        font-size: .6rem;
        display: block;
        overflow: hidden;
        background-color:#EEEEEE;
        color:#EEEEEE;
        text-align: left;
        margin: 0;
        margin-top: 3px;
        padding: 1px 1px 2px 11px;
        overflow: hidden;
        text-decoration: none;
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        font-weight: lighter;
    } */
    
    h3  {
        left:0vh;
        font-size: 4vw; /* Renewed font size */
        color:#000436;
        text-align: left;
        margin: 2vh 0 0 0; /* Additional gap before and consistent margin */
        text-decoration: none;
        font-family: 'Roboto', Arial, sans-serif;
    }
    
    p {
        font-family: 'Roboto', Arial, sans-serif;
        font-size: 4vw;
        line-height: 1.4;
        color: #333333;
        margin: 2vh 0;
        text-align: justify;
    }


    body {
        position: relative;
        left: 0px;
        top: 10vw;
        display: flex;
        flex-direction: column; /* Stack content vertically */
        background-color:rgb(255, 255, 255);
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        text-decoration: none;
        font-size: 2.5vw;
        overflow: auto;
        /* height:calc(100% - 4vw); */
        min-height: calc(100vh - 13vh);
        margin: 0;
    }

    footer {
        position: relative;
        width: 100%;
        height: 4vw; /* Reduced height */
        background-color: #a1a1a1;
        display: flex;
        align-items: center; /* Center vertically */
        justify-content: center; /* Center horizontally */
        font-family: 'Roboto', Arial, sans-serif;
        font-size: 1vw; /* Smaller font size */
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
        margin-top: auto; /* Ensure spacing from content */
        }


    .table a:link {
        color: #000436; /* Table-specific link color */
    }

    .table a:visited {
        color: #000436; /* Table-specific visited link color */
    }

    .table2 a:hover {
        color: #000436; /* Retain blue color for links in table2 */
    }

    table {
        width: 100%;
        text-align: center;
        font-family: 'Roboto', Arial, sans-serif;
        font-size: 1vw;
        border-collapse: collapse;
        margin-top: 2vw;
    }

    th {
        text-align: center;
        vertical-align: middle;
        background-color: #7e7e7e;
        color: #ffffff;
        padding: 1vh; /* Match row height */
        font-weight: bold; /* Bold font */
        font-size: 2vw; /* Slightly smaller font */
    }

    tr {
        transition: background-color 0.3s;
    }

    table tr:hover {
        background-color: rgba(144, 238, 144, 0.3); /* Light green with transparency */
    }

    td {
        text-align: center;
        vertical-align: middle;
        padding: 1vw;
        font-size: 2vw;
    }

    tr:nth-child(odd) {
        background-color: #f0f0f0; /* Slightly darker for better contrast */
    }

    tr:nth-child(even) {
        background-color: #ffffff;
    }



    table.table2 th {
        position: sticky;
        top:7vw;
        background-color: #ffffff;
        padding-left: 2vw;
        padding-right: 2vw;
        color: #000000;
        text-align: center;
    }
    
    table.table2 tr {
        transition: background-color 0.3s;
    }
    
    table.table2 tr:nth-child(odd) {
        background-color: #f0f0f0; /* Slightly darker for better contrast */
    }
    
    table.table2 tr:nth-child(even) {
        background-color: #ffffff;
    }
    
    table.table2 tr:hover {
        background-color: rgba(144, 238, 144, 0.3); /* Light green with transparency */
    }
    
    table.table2 td {
        text-align:left;
        padding-left:1vw;
        padding-right: 1vw;
    }


    .table-container {
        position: relative;
        width: calc(100% - 15vw); /* Adjust width for smaller gap */
        max-height: 80vh;
        margin: auto;
        overflow-y: scroll;
        border: 1px solid #ccc;
        padding: 1vw;
        background-color: #f9f9f9;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        margin-left: 13vw; /* Smaller gap from side nav 2 */
        margin-top: 0vw; /* Minimal gap for visibility of h1 */ /* Smaller gap for visibility of h1 */
    }



    .container img {
        position:absolute;
        left:32%;
        width:68%;
        top:3px;
    }


    picture {
        display: block; /* Ensures consistent block-level behavior */
        margin-bottom: 0vh; /* Adds 10% viewport height space below the picture */
    }
}