﻿/* Footer Sitemap Container (Keeping layout properties) */
#FooterSitemapContainer {
    width: 897px;
    margin: 0px auto;
    padding-top: 20px;
    border-top: 1px solid #ccc;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; 
    align-items: flex-start;
    background: url(images/img01.gif) repeat-x left top;
}

/* Columns */
.fs-column {
    flex: 0 1 20%; 
    min-width: 210px;
    margin: 0 6px 0 6px;
    padding: 0; 
    box-sizing: border-box;
}

.fs-column-single {
    display: flex;
    flex-direction: column;
}


/* 1. HEADER STYLE (Mimics #menu) - Fixed 24px Height with Image */
.fs-header {
    height: 23px; 
    overflow: hidden; 
    border-radius: 4px 4px 0 0; 
    margin-bottom: 0;
    padding: 0;

    /* --- Image Background --- */
    /* Use MenuBack.jpg (36px high) but restrict the container to 24px */
    /* background: url(/Content/images/MenuBack.jpg) repeat-x left top;*/
    /* --- End Image Background --- */
}

.fs-header a, 
.fs-header span {
    display: block;
    padding: 0 10px; 
    line-height: 24px; 
    
    text-decoration: none;
    font-size: 13px; 
    font-weight: bold; 
    color: #FFFFFF;  
    white-space: nowrap; 
}

.fs-header a:hover {
    /* Assuming ActiveMenu.jpg is the hover state for the main menu */
    background: url(/Content/images/ActiveMenu.jpg) repeat-x; 
    color: #a2e423; 
}

/* 2. LIST STYLE (Mimics #submenu) - Fixed 24px Height with Image */
ul.fs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    /*border: 1px solid #e0e0e0;
    border-top: none;*/
    margin-bottom: 12px; 
}

ul.fs-list li {
    margin: 0;
    padding: 0;
    height: 23px; 
    overflow: hidden; 
    /*border-bottom: 1px solid #e0e0e0;*/

    /* --- Image Background --- */
    /* Use SubMenuBack.jpg (24px high) for the list items */
    /*background: url(/Content/images/SubMenuBack.jpg) repeat-x left top; */
    /* --- End Image Background --- */
}

ul.fs-list li:last-child {
    border-bottom: none;
}

ul.fs-list a {
    display: block;
    padding: 0 10px;
    line-height: 24px; 
    
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px; 
    color: #E0E0E0; 
    transition: all 0.2s;
    white-space: nowrap; 
}

ul.fs-list a:hover {
    /* Using the deep blue hover color from your original provided styles */
    color: #a2e423; 
    /* Remove background image on hover to show just a solid color, 
       or you can define a hover background image if one exists. 
       For now, setting background to none to avoid image stacking: */
    background: none; 
    padding-left: 14px; 
}


/* Responsive adjustment (Keeping previous rules) */
@media (max-width: 920px) {
    #FooterSitemapContainer {
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
    .fs-column {
        flex: 0 1 45%;
        min-width: unset;
        margin-bottom: 20px;
    }
}

@media (max-width: 600px) {
    .fs-column {
        flex: 1 1 100%; 
    }
}