/* STANDARD TAG REDEFINITIONS */
BODY { 
    color: White; 
    font-family: Arial, Helvetica, sans-serif; 
    font-size: 10pt; 
    background-color: Black; 
    margin: 0; 
    padding: 0; 
}
TD { font-size: 10pt; }
p { font-size: 10pt; margin-bottom: 7px; margin-top: 0; }
a { color: #76DEFC; text-decoration: none; }
a:hover { text-decoration: underline; color: White; }
form { margin: 0; }

#HEADER {
    width: 100%;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

#HEADER ul {
    margin: 0;
    padding-left: 0;
    height: 44px;
    line-height: 44px;
    display: block;
    list-style: none;
    background-color: #4D4D4D;
    background-image: url(bg_topnav.gif);
    background-repeat: no-repeat;
}

#HEADER li {
    display: inline;
    background-color: #222222;
    float: right;
}

#HEADER li a {
    height: 44px;
    line-height: 44px;
    display: block;
    padding-left: 27px;
    padding-right: 27px;
    border-left: 1px solid Black;
    float: left;
}

#HEADER li a:hover {
    background-color: #444444;
    text-decoration: none;
}

#HEADER .Visual {
    height: 130px;
    background-image: url(bg_visual.jpg);
    background-repeat: no-repeat;
    background-color: #4492C8;
    border-top: 3px solid Black;
    background-size: cover;  /* Make background responsive */
    background-position: center center; /* Center the background image */
}

h1 {
    margin: 0;
    padding: 40px 0 0 0;
    font-family: "trebuchet ms", Arial, Tahoma, Verdana, sans-serif;
    font-weight: normal;
    letter-spacing: .005em;
    color: White;
    font-size: 20pt;
}

#CONTENT {
    width: 100%;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

h2 {
    margin: 0;
    padding: 24px 0 7px 40px;
    font-family: "trebuchet ms", Arial, Tahoma, Verdana, sans-serif;
    font-weight: normal;
    letter-spacing: .005em;
    color: White;
    font-size: 15pt;
}

#TEXT {
    padding: 35px 40px 35px 40px;
    border-bottom: 1px solid #484848;
    border-top: 1px solid #484848;
    background-color: #222222;
}

#TEXT p {
    margin-bottom: 1em;
}

#FOOTER {
    width: 100%;
    max-width: 760px;
    margin-top: 27px;
    margin-left: auto;
    margin-right: auto;
    border-top: 4px solid #363636;
    text-align: right;
}

/* Responsive Styles for Navigation */
@media (max-width: 768px) {
    #HEADER li a {
        font-size: 12px; /* Reduce font size */
        padding-left: 15px; /* Reduce padding to make buttons smaller */
        padding-right: 15px;
    }
    
    #HEADER {
        max-width: 100%; /* Allow full width for the header on small screens */
    }
    
    #HEADER ul {
        padding-left: 0;
        margin-left: 0;
        height: auto;
    }
    
    #HEADER li {
        float: none; /* Stack the items vertically */
        display: block;
        text-align: center;
    }
    
    #HEADER .Visual {
        height: 100px; /* Optionally reduce visual height for mobile screens */
    }
    
    h1 {
        font-size: 18pt; /* Slightly smaller heading */
        padding-top: 20px; /* Adjust padding */
    }
}
