@import url(form.css);
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url(../images/background.png);
    background-repeat: repeat-x;
    background-color: #8B4B04;
    font-family: Arial, Helvetica, sans-serif;
    color: #000;
    line-height: 1.15;
}

/* Container */
.container {
    position: relative;
    max-width: 742px;
    margin: 0 auto;
}

/* Header */
header {
    width: 100%;
    position: relative;
    background-color: #8B4B04; /* Matches body to cover gaps */
}

#header-image {
    width: 100%;
    max-width: 742px;
    height: 201px;
    display: block;
}


/* Asides */
#phone {
    position: fixed;
    top: 30px;
    right: 10px; /* Positions phone in the upper-right corner; adjust value as needed */
    color: #fff;
    font-size: 1.15em;
    line-height: 1;
}

#login {
    position: fixed;
    top: 30px;
    left: 10px;
    color: #fff;
    font-size: 1.15em;
    line-height: 1;
}

#login label {
    color: #fff;
    display: block;
    margin-bottom: 5px;
}

#login input[type="text"],
#login input[type="password"] {
    width: 100px;
    padding: 5px;
    margin-bottom: 10px;
}

#login input[type="submit"] {
    display: block;
    margin: 0 auto;
    background-color: #0066cc;
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}

.white { color: white; }


form.login_form .formInputText {width: 26px;}

/* Navigation */
.main-nav {
    width: 100%;
    max-width: 688px;
    margin: 0 auto;
    text-align: center;
    padding: 0;
    background-color: #E9DFBB;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    gap: 10px;
}

.main-nav li {
    position: relative;
}

/*.main-nav li:not(:last-child)::after {*/
/*    content: "|";*/
/*    color: #000;*/
/*    margin-left: 10px;*/
/*}*/

.main-nav a {
    color: #0066cc;
    font-weight: bold;
    text-decoration: none;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 15px;
}

.main-nav a:hover {
    color: #444466;
}

/* Dropdown Menu Styling */
.new-navbar ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #E9DFBB;
    list-style: none;
    padding: 10px;
    margin: 0;
    min-width: 150px;
    text-align: left;
}

.new-navbar li:hover > ul {
    display: block;
}

.new-navbar ul li {
    margin: 5px 0;
}

.new-navbar ul li a {
    font-size: 14px;
    color: #0066cc;
    font-weight: normal;
}

.new-navbar ul li a:hover {
    color: #444466;
}

/* Main Content */
main {
    position: relative;
    width: 100%;
    max-width: 688px;
    margin: 0 auto;
    padding: 15px 18px;
    background-color: #E9DFBB;
}

main::before,
main::after {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    width: 27px;
    background-repeat: repeat-y;
}

main::before {
    left: -27px;
    background-image: url("../images/left-side.gif");
}

main::after {
    right: -27px;
    background-image: url("../images/right-side.gif");
}

h1, h2, h3 {
    color: #412713;
    font-weight: bold;
    margin-bottom: 12px;
}

h1 {
    font-family: Trebuchet, Arial, Helvetica, sans-serif;
    font-size: 40px;
    letter-spacing: -.75px;
    text-align: center;
}

h2 {
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 1.5em;
    line-height: 25px;
    padding-left: 5px;
    padding-bottom: 4px;
}

p {
    padding-left: 5px;
    padding-bottom: 12px;
    font-size: 1em;
    text-indent: 0;
}

.floatleft {
    float: left;
    padding: 6px;
    margin: 0 0 6px 6px;
}

.floatright {
    float: right;
    padding: 6px;
    margin: 0 0 6px 6px;
}

ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

/*!* Signup Form *!*/
/*#signup-section form {*/
/*    margin-bottom: 20px;*/
/*}*/

/*#signup-section fieldset {*/
/*    border: 1px solid #5c4033;*/
/*    padding: 15px;*/
/*}*/

/*#signup-section legend {*/
/*    color: #5c4033;*/
/*    font-weight: bold;*/
/*    padding: 0 10px;*/
/*}*/

/*#signup-section label {*/
/*    display: block;*/
/*    margin-bottom: 5px;*/
/*    color: #5c4033;*/
/*}*/

/*#signup-section input[type="text"],*/
/*#signup-section input[type="email"] {*/
/*    width: 100%;*/
/*    max-width: 200px;*/
/*    padding: 5px;*/
/*    margin-bottom: 10px;*/
/*}*/

/*#signup-section input[type="submit"] {*/
/*    background-color: #0066cc;*/
/*    color: #fff;*/
/*    border: none;*/
/*    padding: 10px 20px;*/
/*    cursor: pointer;*/
/*}*/
/* Make sure the section clears the floated image */
#signup-section {
    overflow: auto; /* or use a clearfix approach */
    margin-bottom: 20px; /* optional spacing */
}

/* Floats the image to the right with some left margin */
.floatright {
    float: right;
    margin-left: 20px;
    margin-bottom: 20px; /* space below image */
}

/* Existing form styles */
#signup-section fieldset {
    border: 1px solid #5c4033;
    padding: 15px;
    background: url("../images/form_bg.gif") left bottom repeat-x; /* optional */
}

#signup-section legend {
    color: #5c4033;
    font-weight: bold;
    padding: 0 10px;
    border: none;
}

#signup-section label {
    display: block;
    margin-bottom: 5px;
    color: #5c4033;
    font-size: 14px;
    text-align: left;
}

#signup-section input[type="text"],
#signup-section input[type="email"] {
    display: block;
    width: 100%;
    max-width: 300px;
    padding: 5px;
    margin-bottom: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
}

#signup-section input[type="submit"] {
    background-color: #0066cc;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
}
/* Testimonials */

.audio-testimonials {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 1rem; /* Spacing between columns and rows */
}

.audio-testimonials figure {
    margin: 0;
    padding: 0;
}
.audio-testimonials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.audio-testimonials > h2 {
    grid-column: 1 / -1; /* Makes the h3 span from the first to the last column */
    text-align: center;

}

/* Force the first figure to span both columns */
.audio-testimonials figure:first-of-type {
    grid-column: 1 / -1;  /* Spans both columns */
    justify-self: center; /* Centers the figure horizontally */
}

.audio-testimonials figure {
    margin: 0;
}

.audio-testimonials figcaption {
    font-weight: bold;
    margin-bottom: 5px;
}


.text-testimonials {
    text-align: center;
}

.text-testimonials img {
    display: block;
    margin: 0 auto 10px;
}

.text-testimonials blockquote {
    font-style: italic;
    margin: 10px 0;
}


/* Subscribe Now */
.subscribe-now {
    text-align: center;
    margin: 20px 0;
}

/* Footer */
footer {
    text-align: center;
    width: 100%;  /* Ensures it takes the full width of its parent */
    max-width: 688px; /* Restricts it to the main container width */
    margin: 0 auto; /* Centers it */
    background-color: #E9DFBB;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; /* Adds spacing between elements */
}



.footer-inner {
    /* 1. Make it the center block at 688px */
    width: 688px;
    margin: 0 auto;
    background-color: #E9DFBB;
    position: relative; /* 2. Needed for absolute positioning */
    /* remove display: flex if it causes height issues,
       or ensure children are not floated without a clearfix */
}

/* 3. Attach side gradients to .footer-inner */
.footer-inner::before,
.footer-inner::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;               /* Spans the full container height */
    width: 27px;             /* Each side image is 27px wide */
    background-repeat: repeat-y;
}

.footer-inner::before {
    left: -27px;             /* Positions left gradient outside the 688px center */
    background-image: url("../images/left-side.gif");
}

.footer-inner::after {
    right: -27px;            /* Positions right gradient outside the 688px center */
    background-image: url("../images/right-side.gif");
}


.footer-nav {
    margin-bottom: 10px;
}

.footer-nav a {
    color: #0066cc;
    text-decoration: none;
    margin: 0 5px;
}

#copyright {
    font-size: 14px;
    margin-top: 5px;
}

/* ######### Style for Main Menu ######### */
#chromemenu {
    position: relative; /* Changed to relative for natural page flow */
    width: 688px;
    margin-top: -5px; /* this is to minimizing the annoying gap between the top image and the start of the chromemnue - Adjust as needed */
    /*margin: 0 auto;  Centered horizontally */
}

#chromemenu::before,
#chromemenu::after {
    content: "";
    position: absolute;
    top: 0;
    height: 100%; /* Matches the height of the navigation menu */
    width: 27px; /* Width of the side images */
    background-repeat: repeat-y; /* Repeats the image vertically */
}

#chromemenu::before {
    left: -27px; /* Positions left image outside the menu */
    background-image: url("../images/left-side.gif");
}

#chromemenu::after {
    right: -27px; /* Positions right image outside the menu */
    background-image: url("../images/right-side.gif");
}

#chromemenu a {
    text-decoration: none;
}

#chromemenu ul {
    list-style: none; /* Remove default list styling */
    padding: 0;
    margin: 0;
    display: flex; /* Modern flexbox for horizontal layout */
    justify-content: space-around; /* Evenly spaced items */
    align-items: center; /* Vertically centers the <li> elements */
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 15px;
    color: #412713;
    font-weight: bold;
}

#chromemenu ul li {
    position: relative; /* Positioning context for dropdowns */
}

#chromemenu ul li a {
    display: block; /* Full clickable area */
    padding: 6px 12px 0 12px; /* Top: 6px, Right: 12px, Bottom: 0, Left: 12px */
    color: black;
    font-weight: bold;
    text-decoration: none;
}

#chromemenu ul li a:hover {
    color: #444466; /* Hover color */
}

/* ######### Style for Drop Down Menu ######### */
.dropmenudiv {
    display: none; /* Hidden by default, better than visibility */
    position: absolute;
    top: 100%; /* Directly below parent item */
    left: 0;
    background-color: #F7F7F7;
    border: 1px solid #BBB;
    min-width: 150px; /* Flexible width */
    padding: 10px;
    z-index: 100;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Modern shadow */
}

/* Show dropdown on hover */
#chromemenu ul li:hover .dropmenudiv {
    display: block;
}

.dropmenudiv a {
    display: block;
    text-align: left; /* Aligns the text to the left */
    padding: 5px 10px; /* Adds padding for better spacing */
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.dropmenudiv a:hover {
    background-color: #F0F0F0;
}

/* Additional Styles */
.no_underline {
    text-decoration: none;
}


/* Responsive Adjustments */
@media (max-width: 742px) {
    .container, #header-image, main, .footer-image {
        width: 100%;
    }

    main::before, main::after {
        display: none;
    }

    #phone, #login {
        position: static;
        padding: 10px;
        text-align: center;
        background-color: rgba(0, 0, 0, 0.5);
    }

    .new-navbar ul {
        position: static;
        display: none;
        width: 100%;
    }

    .new-navbar li:hover > ul {
        display: block;
    }
}

