﻿/* Header container styles */
    .header-container {
    position: relative;
    max-width: 1500px;
    margin: 0 auto;
    width: 100%;
}
/* Header text styles */
    #header-text {
    position: absolute;
    top: 20px;
    left: 40px;
    color: white;
    z-index: 3;
    text-shadow: 2px 2px 4px black;
}
/* Header text paragraph styles */
    #header-text p {
    margin: 0;
    padding: 0;
    text-align: left;
}
/* Header text link styles with responsive font size */
    #header-text a {
    color: white;
    text-decoration: none;
    font-size: 2.0vw; /* Responsive font size */
    /* Set maximum font size for larger screens */
        @media screen and (min-width: 1500px) {
        font-size: 30px; /* Adjust the maximum font size for full-width screens */
}
}
/* Site description styles with responsive font size */
    #site-description {
    color: white;
    font-size: 1.2vw; /* Responsive font size */
    text-shadow: 2px 2px 4px black;
}
/* Ensure the parent container of the header image is position relative */
    .header-image, .header-image-mobile {
    position: relative;
}
/* Header CSS */
    body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 1500px; /* Maximum width of the entire site's content */
    margin: 0 auto; /* Center the content */
    width: 100%; /* Ensure it takes up the available space within the max-width */
    border: 4px solid #c0c0c0; /* Adding a silver border */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Optional: Adding a subtle shadow for depth */
    background: linear-gradient(to bottom, #e0e0e0, #ffffff); /* Replace these colors with your desired gradient */
    background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.1) 25%, transparent 50%, transparent 50%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.1) 75%, transparent 75%, transparent); /* Checkered pattern, adjust as needed */
    background-size: 5px 5px; /* Adjust the size of the pattern */
}
    header, footer {
    background-color: #fff;
    color: white;
    text-align: center;
    padding: 0em 0;
}
    @media screen and (min-width: 768px) {
        header, footer {
        background-color: #c0c0c0; /* White background */
        color: white;
        text-align: center;
        padding: 0em 0;
}
}
    .header-image img {
    width: 100%;
    height: auto;
}
/* Initially hide mobile header */
    .header-image-mobile {
    display: none;
}
/* Media query for mobile devices (up to 768px) */
    @media screen and (max-width: 768px) {
    /* Hide desktop header on mobile */
        .header-image {
        display: none;
}
    /* Style and display mobile header on mobile */
        .header-image-mobile {
        display: block;
        width: 100%; /* Ensures mobile header uses full width of the screen */
        height: auto; /* Maintains aspect ratio of the image */
}
        .header-image-mobile img {
        width: 100%; /* Ensures images in mobile header are fully responsive */
        height: auto; /* Maintains aspect ratio of the image */
}
}
/* Additional media query for very small screens (up to 480px) */
    @media screen and (max-width: 480px) {
        .header-image-mobile {
        width: 100%; /* Ensures mobile header and images are fully responsive */
        height: auto; /* Maintains aspect ratio of the image */
}
}

/* START MAIN NAVIGATION MENU */

/* Basic styling for the navigation menu */
#nav {
    background-color: #0e2c52; /* Navy blue background for the navigation menu */
    display: flex;
    justify-content: center; /* Center the links on desktop */
    align-items: center;
    padding: 0px;
}

#nav ul {
    list-style: none;
    display: flex;
    align-items: center; /* Center the links on mobile */
}

#nav li {
    margin-right: 25px;
    position: relative; /* For positioning the dropdown */
    text-align: center; /* Center text within the list item */
}

#nav a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: color 0.3s ease, background-color 0.3s ease;
    font-size: clamp(12px, 1.6vw, 14px); /* scales with screen size */
    padding: 5px 10px; /* stable padding */
    border-radius: 5px;
    display: block;
}

#nav .active a {
    font-weight: bold;
    color: #e4c95d; /* Color for active item */
    background-color: #333; /* Background color for active item */
}

#nav a:hover {
    background-color: #111; /* Background color for hover */
    color: #e4c95d; /* Text color for hover */
}

/* Dropdown menu styles */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #555; /* Lightened the dropdown background color */
    min-width: 180px;
    z-index: 5;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    top: 100%;
    border-radius: 5px; /* Rounded corners for the dropdown */
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #fff; /* Dropdown link text color */
    padding: 10px 15px;
    margin: 5px 0;
    text-decoration: none;
    display: block;
    font-weight: normal;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-family: Arial, sans-serif; /* Font family for the dropdown menu */
}

.dropdown-content a:hover {
    background-color: #404040; /* Darkened background color for dropdown hover */
}

/* Additional styles for the hidden checkbox and label */
#menu-toggle {
    display: none; /* Hide the Checkbox */
}

.menu-icon {
    display: none; /* Initially hidden */
    cursor: pointer;
    color: #fff; /* White text color */
    font-size: 16px;
    padding: 5px 50px;
    background-color: #333; /* Background color */
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    text-align: center;
    margin-bottom: 20px;
    /* Add additional styling as needed */
}

/* Media query for mobile menu */
@media screen and (max-width: 768px) {
    .menu-icon {
        display: block; /* Show the Mobile Menu Icon in Mobile View */
    }

    #nav {
        background: linear-gradient(to bottom, #ffffff 0%, #f2f2f2 100%);
        flex-direction: column;
        align-items: center; /* Center align items for mobile nav */
        padding: 0;
    }

    #nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 0; /* Remove default padding */
        margin: 0; /* Remove default margin */
    }

    #menu-toggle:checked + .menu-icon + #nav ul {
        display: flex; /* Show Menu When Checkbox is Checked */
    }

    #nav li {
        margin: 5px 0; /* Consistent margin for top and bottom */
        width: 100%; /* Full width for tap targets */
    }

    #nav a {
        text-align: center; /* Ensure text is centered within the anchor */
        color: #003173; /* Dark color for contrast */
        padding: 10px; /* Increased padding for better tap targets on mobile */
        display: block;
    }

    #nav a:hover, #nav a:focus {
        background-color: #e6e6e6; /* Hover and Focus States for Links */
        color: #003173;
    }

    .dropdown .dropdown-content {
        display: none; /* Hide Submenu by default */
        position: static;
        background-color: rgba(255, 255, 255, 0.95);
        border: none;
        padding: 8px;
    }

    .dropdown:hover .dropdown-content {
        display: block; /* Visible Submenu on Hover */
        position: static;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    }

    .dropdown .dropdown-content a {
        color: #003173; /* Ensuring text is visible */
        text-align: center; /* Centering text */
        margin-top: 10px;
        margin-bottom:10px;
        display: block;
    }

    #nav ul a:active {
        background-color: transparent; /* Prevent Text Highlight on Click */
    }
}

/* Hide Mobile Menu Icon on Desktop */
@media screen and (min-width: 769px) {
    .menu-icon {
        display: none;
    }

    #nav ul {
        display: flex !important; /* Display Nav Links on Desktop */
    }
}

/* Mobile menu override */
@media screen and (max-width: 768px) {
    #nav a {
        text-align: center;
        color: #003173;
        padding: 10px;
        display: block;
        font-size: 14px; /* <— set your mobile font size here */
    }
}

/* END MAIN NAVIGATION MENU */

/* Main Content CSS */
    main {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
    section {
    flex: 1; /* Allows the section to grow and take available space */
    padding: 0px 30px 30px 30px;
    box-sizing: border-box; /* Include padding in width calculation */
    order: 2; /* Adjust as per your layout requirement */
    background-color: #ffffff;
}
h1.entry-title,
h1.entry-title a,
h1.entry-title a:link,
    h1.entry-title a:visited {
    color: #333;
    text-decoration:none;
    margin-top:2rem;
}
h1.entry-title a:hover,
h1.entry-title a:focus,
    h1.entry-title a:active {
    color: #333;
    text-decoration:none
}
    .center{
    text-align:center
}
    .text-box {
    border: 3px solid #e3decc;
    border-radius: 10px; /* Rounded corners */
    background-color: #F5F5F5;
    padding: 15px;
    color: #333;
    font-size: 15px; /* Adjust font size for readability */
    line-height: 1.6; /* Improve line spacing */
    margin-bottom: 20px; /* Spacing below text box */
}

  .text-box2 {
    border: 0px solid #c0c0c0;
    border-radius: 10px; /* Rounded corners */
    background: linear-gradient(to bottom, #FCFCFC, #ffffff, #FCFCFC); /* Gradient background from gray to white to gray */
    padding: 15px; /* Increased padding for more space */
    color: #333;
    font-size: 15px; /* Slightly larger font size for readability */
    line-height: 1.8; /* Improved line spacing for better readability */
    margin-bottom: 25px; /* Slightly more spacing below text box */
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.2); /* Subtle drop shadow for depth */
}

.text-box3 {
    border: 0px solid #6dabd5; /* Blue border for questions and answers box */
    border-radius: 10px; /* Rounded corners */
    background-color: #f8f8f8; /* Light gray background */
    padding: 15px;
    color: #333;
    font-size: 15px; /* Adjust font size for readability */
    line-height: 1.6; /* Improve line spacing */
    margin-bottom: 20px; /* Spacing below text box */
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.2); /* Subtle drop shadow for depth */
}

    .maroon{
    color:#003173;
    font-weight:700
}
    .content-right-of-image{
    text-align:justify
}
    .main-image {
    margin-bottom: 25px;
    max-width: 100%;
    height: auto;
    text-align: center;
    display: block;
    clear: both; /* Added to clear floats */
}
    .main-image img {
    max-width: 100%;
    height: auto;
}
    .main-top{
    margin-top:0px
}
/* Style for all <p> elements */
    p {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 20px;
}
.boldp {
    font-weight: bold;
}
/* Apply font sizes to all header tags */
    h1 {
    font-size: 22px;
}
/* Mobile styles for h1 */
    @media only screen and (max-width: 768px) {
        h1 {
        font-size: 22px;
        text-align:center;
        margin-top: 0px;
        margin-bottom: 10px;
}
}
    h2 {
    font-size: 20px;
    color: #333
}
    h3 {
    font-size: 18px;
    color: #333
}
    h4 {
    font-size: 16px;
    color: #333
}
    h5 {
    font-size: 16px;
    color: #333
}
    h6 {
    font-size: 16px;
    color: #333
}
/* Sidebar CSS */
aside {
    width: 300px;
    background-image: linear-gradient(to right, #f4f4f4, white); /* Gradient from darker to white */
    padding: 20px;
    order: 1;
    overflow-x: auto;
}
    .sidebar-link-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
    .sidebar-link-menu ul li {
    line-height: 2; /* Adjust the line height as needed */
    font-size: 14px;
}
    .sidebar-link-menu ul li a {
    color: #333;
    display: block;
    text-decoration: none;
    padding: 8px 0;
    transition: background-color 0.3s, color 0.3s;
    font-weight:500;
}
    .sidebar-link-menu ul li a:hover {
    background-color: #e3decc;
    color: #333;
    border-radius: 5px;
}
    .sidebar-city-list {
    line-height: 2; /* Adjust the line height as needed */
    font-size: 14px;
    font-weight:500;
    color: #333;
}
    .sidebar-title {
    font-size: 16px;
    color: #333;
    text-align:center;
}
.sidebar-border-box {
    border: 3px solid;
    border-radius: 10px;
    background-color: transparent;
    border-color: #c0c0c0;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top:15px;
    margin-bottom:15px;
    box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.2); /* Subtle shadow for depth */
}
    .protect {
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 12px;
    text-decoration: none;
    text-align:center
}
    hr {
    border: 0; /* Removes default border */
    height: 2px; /* Sets the thickness of the line */
    background-image: linear-gradient(to right, #e3decc, #b8b19b, #e3decc); /* Gradient effect with darker color in the middle */
    margin: 20px auto; /* Vertically spaces and centers the separator */
    width: 50%; /* Adjust this value to control the length */
}
    .sidebar-content {
    padding: 10px;
}
    .sidebar-image {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.sidebar-image img {
    border-radius: 15px; /* This will give the images rounded corners. */
    /* Add other styles as needed for the image */
}
    .business-name {
    text-align: center;
    font-size: 0.8em;
    color: #333;
    font-weight:700;
    display: block;
    margin-bottom: 5px;
}
    .business-address {
    text-decoration: none;
    display: block;
    margin-bottom: 25px;
    font-size: 0.8em;
    text-align:center;
    color: #333;
}
    .ph-email {
    font-size: 0.8em;
    margin-bottom: 20px;
    display: block;
    text-align: center;
}
    .google-maps-section {
    background-color: transparent;
    padding: 15px;
    margin: 15px 0;
    border-radius: 5px;
    text-align: center;
}
    .google-maps-section h4 {
    margin-top: 0;
    color: #333;
}
    .google-maps-section p {
    color: #666;
}
    .google-maps-link {
    display: inline-block;
    margin-top: 10px;
    background-color: #0056b3;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
    .google-maps-link:hover {
    background-color: #0056b3;
}
/* Footer CSS */
    footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}
    .footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
    .footer-menu li {
    margin: 0 15px;
}
    .footer-menu a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    transition: color 0.3s;
}
.footer-menu a:hover,
    .footer-menu a:active {
    color: #c0c0c0;
}
    .footer-menu a:visited {
    color: #b0b0b0;
}
    .footer-text {
    display: inline-block;
    padding: 10px 20px;
    font-size: 15px;
}
    @media screen and (max-width: 768px) {
    /* Mobile Styles for Footer */
        footer ul {
        flex-direction: column;
        align-items: center;
}
        footer ul li {
        margin-right: 0;
        margin-bottom: 10px;
}
}
    .sidebar {
    width: 20%; /* Adjust based on your design */
    order: 1; /* Adjust as per your layout requirement */
}
    section p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}
    @media (max-width: 814px) and (min-width: 753px) {
        main {
        /* Ensuring the main content takes the remaining space after sidebar */
        flex-grow: 1;
}
        .sidebar, aside {
        /* Adjusting the sidebar width to prevent dropping below the main content */
        width: 25%; /* Adjust this percentage based on actual layout requirements */
        flex-shrink: 0; /* Preventing the sidebar from shrinking */
}
}
/* Media query for smaller screens */
    @media (max-width: 768px) {
        #header-text {
        position: relative;
        top: 20px; /* Increased top margin for mobile */
}
        #header-text a {
        color: #141c27;
        font-size: 4vw; /* Adjust font size for smaller screens */
        text-shadow: 1px 1px 2px #f4f4f4; /* Different text shadow for mobile */
}
        #site-description {
        color: #141c27;
        font-size: 2.4vw; /* Adjust font size for smaller screens */
        text-shadow: 1px 1px 2px #f5f5f5; /* Different text shadow for mobile */
}
        aside {
        width: 100%; /* Make the sidebar full width on mobile */
        padding: 20px; /* Keep the existing padding or adjust as needed */
        order: 2; /* Keep the sidebar above or below the main content as per your design */
        background-color: #f4f4f4; /* Maintain the background color */
        overflow-x: auto; /* Maintain horizontal scrolling if necessary */
}
}


/* User Sitemap */
.sitemap-list {
    list-style-type: none;
    padding: 0;
    font-family: Arial, sans-serif;
}
.sitemap-list li {
    background-color: #f5f5f5; /* Lighter background color */
    border: 1px solid #ddd;
    padding: 10px; /* Adjusted padding */
    margin-bottom: 10px;
    text-align: left; /* Align text to the left */
}
.sitemap-list a {
    text-decoration: none;
    color: #003173;
    font-size: 18px;
    background-color: #f5f5f5;
    padding: 5px 10px 5px 0px; /* Top, Right, Bottom, Left */
}
.sitemap-list span {
    color: #333; /* Darker text color for better contrast */
}

/* Attorney Schema Image Sidebar */

.attorney-sidebar {
    background-color: transparent;
    padding: 10px;
    text-align: center;
}

.attorney-image {
    max-width: 100%; /* Image will scale with the width of the container */
    height: auto; /* Height will scale proportionally */
    border: 3px solid #c0c0c0; /* Gray frame */
    box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.2); /* Subtle shadow for depth */
    margin-bottom: 5px; /* Space between image and name */
    border-radius: 10px; /* Rounded corners */
}

.attorney-name {
    font-size: 17px;
    color: #333; /* Dark text color */
    font-weight: bold;
}





