﻿.header {
    width: 100%;
    max-width: 1200px; /* Adjust max-width as necessary */
    margin: 0 auto; /* Center align if needed */
}

/* Header content styles */
.header-content {
    width: 75vw;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    /*align-items: center;*/ /* Center content horizontally */
    position: relative; /* Ensure proper stacking context */
}

/* Ensure the container does not expand beyond the viewport width */
body {
    overflow-x: hidden;
margin: 0; /* Remove default margin */
padding: 0; /* Remove default padding */
}

form {
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
}


.left-align-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align all items to the left */
}


.logo-top-links {
    display: flex;
    align-items: center; /* Align items vertically in the center */
    justify-content: space-between; /* Space out the logo and links */
    width: 100%; /* Ensure the container takes the full width */
    margin-top: 0; 
    padding-top: 0; /* Remove padding */
}

/* Top links styles */
.top-links {
    display: flex;
    gap: 4px;
    align-items: end;
    font-family: Arial, sans-serif;
    position: relative;
    justify-content: flex-end; /* Right-justify the links */
    flex-grow: 1; /* Allow the links to take up remaining space */
    margin-left: 275px; /* Adjust this value to align with TopImage */
}

    .top-links a {
        padding: 0 5px;
        color: #d61f27;
        text-decoration: none;
        font-size: 16px;
        font-weight: 500;
    }

        .top-links a:hover {
            color: black;
        }

/* Logo and top links container */
.logo-top-links-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align all items to the left */
}

/* Logo styles */
.logo {
    margin-bottom: 0px;
    margin-top: 0px;
    position: relative; /* Ensure proper stacking context */
    width: 250px;
    height: auto;
}

/* Menu table styles */
.menu-table {
    width: 100%;
    /*   table-layout: center;*/
    margin: 0;
    border-collapse: separate;
    border-spacing: 15px; /* Add spacing between table cells */
}

    .menu-table td {
        padding: 0;
        vertical-align: central;
    }

    .menu-table tr {
        line-height: 1; /* Adjusts the height of the rows */
        height: 5px; /* Set to your desired row height */
    }

.top-image {
    width: 1100px; /* Adjust this percentage to make the image wider */
    height: auto;
    position: relative;
    margin-left: 0; /* Ensure the image is left-aligned */
}

/* Button and legend styles */
button, #legend {
    position: relative;
    z-index: 2; /* Ensure buttons and legend are above the map */
}

/* Button style */
.button-style {
    display: inline-block;
    padding: 5px 10px; /* Smaller padding */
    margin: 5px 0; /* Adjust margin */
    margin-inline: 5px; /* Remove inline margin */
    font-size: 14px; /* Smaller font size */
    color: #000; /* Black text color */
    background-color: #fff; /* White background color */
    border: 1px solid #ccc; /* Add a light grey border */
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

    .button-style:hover {
        background-color: #f0f0f0; /* Light grey on hover */
    }




/* Menu styles */
.menu {
    width: 100%; /* Utilize the entire width of the table */
    display: inline-block; /* Ensure the menu is displayed inline */
    background-color: #d61f27;
    list-style: none;
    z-index: 10; /* Ensure the menu is above other elements */
    position: relative;
    font-size: 16px;
    color: white;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-weight: 500;
    padding: 0;
    margin: 0;
}

    /* Dropdown menu styles */
    .menu ul {
        position: absolute; /* Position the dropdown absolutely */
        top: 100%; /* Position below the menu item */
        left: 0; /* Align to the left */
        width: 100%; /* Ensure the dropdown takes the full width of the menu item */
        background-color: #404040; /* Set the background color */
        z-index: 11; /* Ensure the dropdown is above other elements */
        box-sizing: border-box; /* Ensure padding and border are included in the element's total width and height */
    }

        /* Ensure dropdown menus do not interact with other controls */
        .menu ul li {
            width: 100%;
            text-align: left;
            padding: 5px 10px;
            background-color: #d61f27;
            z-index: 12; /* Ensure the dropdown items are above other elements */
            box-sizing: border-box; /* Ensure padding and border are included in the element's total width and height */
            list-style-type: none; /* Remove default list style */
        }

            .menu ul li > a {
                color: white;
            }

                .menu ul li > a:hover {
                    color: black;
                }

/* Filler cell styles */
.filler-cell {
    width: 10px; /* Adjust the width as needed */
}

/* New styles for red background and white font */
.menu-container {
    background-color: red;
    color: white;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    justify-content: center; /* Center the menu horizontally */
    width: 100%;
}

.menu-title {
    font-size: 16px;
    font-weight: bold;
}

/* Ensure the content within the table row is left-justified */
.horizontalMenu {
    /*    display: flex;*/
    background-color: #d61f27;
    padding: 0;
    margin-top: 0;
    margin-bottom: -14px; /* Adjust this value as needed */
    padding-bottom: 0;
    list-style: none;
    width: 100%;
    /*justify-content:center;*/ /* Left-justify the content */
    /*justify-self: center;*/
}


    .horizontalMenu > li {
        position: relative;
        padding: 10px 20px;
        display: inline-block;
        color: white;
        font-family: Arial, sans-serif;
        /*font-weight: bold;*/
    }

        .horizontalMenu > li > a {
            color: white;
            text-decoration: none;
        }

    /* Adjust the dropdown menu styles */
    .horizontalMenu li ul {
        position: absolute;
        top: 100%;
        left: 100%; /* Start from the center */
        background-color: #404040;
        list-style: none;
        padding: 125px;
        margin: 0;
        /*padding-left: 120px;*/ /* Add padding to align with the top menu */
    }


    .horizontalMenu li:hover ul {
        display: block; /* Show dropdown on hover */
    }

    .horizontalMenu li ul li {
        width: auto;
        padding: 5px;
        background-color: #404040;
        box-sizing: border-box;
        border-bottom: 1px solid #808080; /* Change to darker grey */
    }

        .horizontalMenu li ul li:hover {
            background-color: #d61f27; /* Change the background color on hover */
        }

        .horizontalMenu li ul li a {
            color: white;
            text-decoration: none;
        }

            .horizontalMenu li ul li a:hover {
                background-color: #d61f27;
                color: white;
            }

        .horizontalMenu li ul li:last-child {
            border-bottom: none;
        }
/* Ensure the menu container is aligned horizontally */
.horizontalMenuCss {
    display: flex;
    justify-content: space-around; /* Adjust alignment as needed (e.g., flex-start, flex-end, etc.) */
    height: auto;
    padding-left: 20px;
    cursor: default; /* Keeps the cursor as the default pointer */
}

.horizontalMenuItemCss {
    display: inline-block;
    background-color: #d61f27;
    height: auto;
    background-image: none;
    position: relative;
    margin-right: 20px; /* Add margin to space out menu items */
    padding: 0 20px; /* Add padding to ensure arrowhead stays within bounds */
    font-weight: bold;
}

    .horizontalMenuItemCss::after {
        content: '';
        position: absolute;
        top: 40%; /* Center vertically */
        right: -15px; /* Align to the right edge of the menu item */
        width: 5px; /* Shorten the lines */
        height: 5px; /* Shorten the lines */
        border-left: 2px solid white; /* Left diagonal line */
        border-bottom: 2px solid white; /* Right diagonal line */
        transform: translateY(-50%) rotate(-45deg); /* Rotate counterclockwise and position */
    }


    /* Remove the arrow from the last menu item */
    .horizontalMenuItemCss:last-child::after {
        content: none;
    }

.content-container {
    width: 100%; /* Adjust this width as needed */
    /*height: 720px;*/ /* Set a fixed height for the content */
    position: relative;
    margin-top: -16px; /* Adjust this value as needed */
    padding-top: 0;
    margin-bottom: 0px; /* Adjust as needed */
}

.bottom-links-container {
    position: relative;
    width: 100%;
    margin-top: -10px; /* Adjust this value as needed */
    text-align: center;
    /*clear: both;*/ /* Ensures footer stays below content */
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: #f8f8f8; /* Adjust as needed */
}

.footer-social-links,
.footer-legal-links,
.footer-copyright {
    display: flex;
    align-items: center;
}

    .footer-social-links span,
    .footer-legal-links a {
        margin-right: 0px; /* Adjust spacing as needed */
    }

    .footer-legal-links .separator {
        margin: 0 5px; /* Adjust spacing as needed */
    }

    .footer-legal-links a {
        padding: 0 5px;
        color: #d61f27;
        text-decoration: none;
        font-size: 16px;
        font-weight: normal;
        font-family: Arial, sans-serif;
    }

        .footer-legal-links a:hover {
            color: black;
        }

    .footer-social-links
    a {
        margin-right: 5px; /* Adjust spacing as needed */
    }


.separator {
    color: black;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 10px; /* Reduced padding for less whitespace */
    border: 1px solid #888; /* Corrected the border property */
    width: 75%; /* Adjust width to make the modal smaller */
    max-width: 1200px; /* Ensure it doesn't exceed 1200px */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    position: relative; /* Added to position the close button */
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }


.dropdown, .dropleft, .dropright, .dropup {
    position: relative
}

.dropdown-toggle::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent
}

.dropdown-toggle:empty::after {
    margin-left: 0
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 10rem;
    padding: .5rem 0;
    margin: .125rem 0 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: .25rem
}

.dropdown-menu-right {
    right: 0;
    left: auto
}

.dropup .dropdown-menu {
    top: auto;
    bottom: 100%;
    margin-top: 0;
    margin-bottom: .125rem
}

.dropup .dropdown-toggle::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: 0;
    border-right: .3em solid transparent;
    border-bottom: .3em solid;
    border-left: .3em solid transparent
}

.dropup .dropdown-toggle:empty::after {
    margin-left: 0
}

.dropright .dropdown-menu {
    top: 0;
    right: auto;
    left: 100%;
    margin-top: 0;
    margin-left: .125rem
}

.dropright .dropdown-toggle::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid transparent;
    border-right: 0;
    border-bottom: .3em solid transparent;
    border-left: .3em solid
}

.dropright .dropdown-toggle:empty::after {
    margin-left: 0
}

.dropright .dropdown-toggle::after {
    vertical-align: 0
}

.dropleft .dropdown-menu {
    top: 0;
    right: 100%;
    left: auto;
    margin-top: 0;
    margin-right: .125rem
}

.dropleft .dropdown-toggle::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: .255em;
    vertical-align: .255em;
    content: ""
}

.dropleft .dropdown-toggle::after {
    display: none
}

.dropleft .dropdown-toggle::before {
    display: inline-block;
    width: 0;
    height: 0;
    margin-right: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid transparent;
    border-right: .3em solid;
    border-bottom: .3em solid transparent
}

.dropleft .dropdown-toggle:empty::after {
    margin-left: 0
}

.dropleft .dropdown-toggle::before {
    vertical-align: 0
}

.dropdown-menu[x-placement^=bottom], .dropdown-menu[x-placement^=left], .dropdown-menu[x-placement^=right], .dropdown-menu[x-placement^=top] {
    right: auto;
    bottom: auto
}

.dropdown-divider {
    height: 0;
    margin: .5rem 0;
    overflow: hidden;
    border-top: 1px solid #e9ecef
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: .25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0
}

    .dropdown-item:focus, .dropdown-item:hover {
        color: #16181b;
        text-decoration: none;
        background-color: #f8f9fa
    }

    .dropdown-item.active, .dropdown-item:active {
        color: #fff;
        text-decoration: none;
        background-color: #007bff
    }

    .dropdown-item.disabled, .dropdown-item:disabled {
        color: #6c757d;
        background-color: transparent
    }

.dropdown-menu.show {
    display: block
}

.dropdown-header {
    display: block;
    padding: .5rem 1.5rem;
    margin-bottom: 0;
    font-size: .875rem;
    color: #6c757d;
    white-space: nowrap
}

.dropdown-item-text {
    display: block;
    padding: .25rem 1.5rem;
    color: #212529
}




/* Styles for site.master */
.menus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    table-layout: fixed; /* Ensure the table layout is fixed */
    padding: 0;
    margin: 0;
}

    .menus td {
        padding: 0;
        margin: 0;
        border-spacing: 0;
        border-collapse: collapse;
    }

    .menus .menu {
        padding: 0;
        margin: 0;
    }

.logo-top-links {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    margin-right: 20px;
}

.modal-image {
    width: 100%;
}

.copyright-text {
    color: gray;
}

#drag-img {
    cursor: move;
    position: relative;
    width: 100%; /* Adjust as needed */
    height: auto; /* Adjust as needed */
}


#mapImage {
    overflow: hidden;
    position: relative;
    display: block; /* Changed to block for proper scaling */
    width: auto; /* Ensure the image scales properly */
    height: 675px; /* Ensure the image scales properly */
    min-width: 1000px; /* Set a minimum width */
    min-height: 675px; /* Set a minimum height */
    justify-content: center;
    align-items: center;
    z-index: -100; /* Ensure the image is below other elements */
}

/* Map wrapper styles */
#mapWrapper {
    overflow: hidden;
}

#panzoom {
    display: flex;
    justify-content: center;
    align-items: center;
}


#buttons {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    margin-top: 5px; /* Optional: Add some space above the buttons */

}

    #buttons .aspButton {
        padding: 10px 20px; /* Add padding to increase clickable area */
        cursor: pointer; /* Ensure cursor changes to pointer */
        border: 1px solid #ccc; /* Optional: Add border */
        background-color: #f0f0f0; /* Optional: Add background color */
        text-align: center; /* Center text */
        display: inline-block; /* Ensure buttons are inline-block */
    }
