﻿
h1, h2, h3, h4, h5, h6,
p, li, blockquote, td, th, caption {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: normal;
    font-style: normal;
    line-height: 180%;
    font-size: 15px;
    text-decoration: none;
    color: #000;
}

body {
    font-size: 15px;
    margin: 0;
    padding: 0;
    color: #000;
    box-sizing: border-box;
    background-color: #eeeeee;
    max-width: 100%;
}

*, *::before, *::after {
    box-sizing: inherit;
}

/* ICON FONT SAFETY (CRITICAL FIX) */

i,
i::before,
i::after,
.fa,
.fas,
.far,
.fab,
[class^="fa-"],
[class*=" fa-"] {
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free", FontAwesome !important;
    font-weight: 900;
    font-style: normal;
    line-height: 1;
    text-transform: none;
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-display: swap;
}

i::before {
    display: inline-block;
    text-decoration: inherit;
}

/* HEADINGS */

h1 {
    font-size: 25px;
    font-weight: 600;
    margin: 0 0 20px 0;
    border-bottom: 1px solid #999;
    padding: 10px 0;
    text-align: center;
}

h2 {
    font-size: 22px;
    font-weight: 600;
    margin: 10px 0;
}

h3 {
    font-size: 15px;
    font-weight: 600;
}

h4, h5, h6 {
    font-size: 14px;
}

/* IMAGES */

img {
    margin: 0;
    padding: 0;
    border: 0;
    display: block;
}

.imglft {
    float: left;
    margin-right: 10px;
}

.imgrgt {
    float: right;
    margin-left: 10px;
    padding: 5px 0px 5px 10px; /* From USDA CSS */
}

.imgctr {
    display: block;
    margin: 0 auto;
}

/* Make Image Scalable - From USDA CSS */
img.scalable {
    height: auto !important;
    width: auto !important;
    max-width: 100%;
}

/* WRAPPER */

#wrapper {
    max-width: 1150px;
    margin: 0 auto;
    background-color: #ffffff;
}

/* HEADER / MASTHEAD - USDA GREEN (#6D9886) */

#top {
    background-color: #6D9886; /* USDA Green */
    width: 100%;
    padding: 40px 0 30px 0;
    overflow: hidden;
}

#logo {
    float: left;
    margin-left: 20px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 46px;
    color: #ffffff;
    font-weight: 600;
    padding: 30px 0; /* From USDA CSS */
}

/* SOCIAL MEDIA (FIXED VERSION) */

#social-media {
    float: right !important;
    margin-right: 20px !important;
    text-align: right !important;
    color: #ffffff !important;
}

#social-media p {
    margin: 6px 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
}

#social-media ul {
    list-style: none !important;
    margin: 6px 0 !important;
    padding: 0 !important;
}

#social-media ul li {
    display: inline !important;
}

#social-media ul li a {
    display: inline-block !important;
    margin-right: 10px !important;
    text-decoration: none !important;
}

#social-media ul li a:last-child {
    margin-right: 0 !important;
}

#social-media ul li a:hover {
    opacity: 0.8 !important;
}

/* Properly style the social media images */
#social-media ul li img {
    width: 26px !important;
    height: 26px !important;
    display: block !important;
    border: none !important;
}

/* TOP NAVIGATION */

#topnav {
    clear: both;
    width: 100%;
    background-color: #333333;
}

#topnav ul {
    list-style: none;
    margin: 0;
    padding: 0 10px;
    overflow: hidden;
}

#topnav ul li {
    float: left;
}

#topnav ul li a {
    display: block;
    padding: 14px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
}

#topnav ul li a:hover {
    background-color: #53786c; /* Dark USDA Green instead of #900000 */
}

/* SUB BANNER - USDA LIGHT GREEN (#d2dfd9) */

#subbanner {
    width: 100%;
    background-color: #d2dfd9; /* USDA Light Green */
}

#subbanner p {
    margin: 0;
    padding: 30px 20px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
}

/* MAIN CONTENT LAYOUT (CONVENTIONAL SITE METHOD) */

#content {
    padding: 10px !important;
    background-color: #ffffff !important;
    min-height: 800px !important;
    float: left !important;
    width: 68% !important;
    margin-right: 2% !important;
    overflow: hidden !important;
}

#content p {
    line-height: 220%;
    margin: 10px 10px 0 0;
}

#content ul,
#content ol {
    margin: 0 0 20px 40px;
}

#content li {
    margin-bottom: 10px;
}

/* SIDEBAR (CONVENTIONAL SITE METHOD) */

#rightside {
    float: right !important;
    width: 28% !important;
    background-color: #ffffff !important;
    padding: 10px !important;
}

.sidebar-heading {
    background-color: #6D9886; /* USDA Green instead of black */
    color: #fff;
    font-weight: 600;
    padding: 4px 10px;
    margin: 20px 0 10px 0;
}

#rightside a {
    color: #0000EE;
    text-decoration: none;
    display: block;
    margin: 6px 0;
}

#rightside a:hover {
    color: #e60000; /* USDA Red hover */
    text-decoration: underline;
}

/* TABLES (TABLEIZER SAFE) */

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 8px;
    border: 1px solid #ccc;
}

thead, th {
    background-color: #ccc;
}

.tableizer-table {
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
}

.tableizer-table th {
    background-color: #104E8B;
    color: #ffffff;
    font-weight: 600;
}

/* FORMS */

form {
    margin: 20px;
}

label {
    float: left;
    width: 200px;
    text-align: right;
    font-weight: 600;
}

input, textarea, select {
    width: 280px;
    margin-left: 10px;
    padding: 5px;
    border: 1px solid #bbb;
}

input:focus, textarea:focus {
    background-color: #EFDEDE;
}

.submit {
    width: 90px;
    height: 25px;
    margin-left: 170px;
    font-size: 12px;
}

/* BOTTOM SECTIONS (FULL WIDTH WITH GREY SEPARATORS) */

#bottom-sections {
    overflow: auto !important;
    font-family: Verdana, Geneva, Tahoma, sans-serif !important;
    clear: both !important;
    width: 100% !important;
    background-color: #eeeeee !important;
    padding: 10px !important;
}

.bottom-div {
    width: 100% !important;
    background-color: #ffffff !important;
    padding: 15px !important;
    text-align: left !important;
    box-sizing: border-box !important;
    margin-bottom: 10px !important;
}

.bottom-div:last-child {
    margin-bottom: 0 !important;
}

/* FOOTER - USDA GREEN (#6D9886) */

.footer {
    clear: both;
    background-color: #6D9886; /* USDA Green */
    padding: 15px;
    font-size: 13px;
}

#footer p,
#footer a {
    color: #ffffff;
    text-align: center;
}

/* ============================================= */
/* USDA-SPECIFIC CLASSES FROM OLD CSS - MUST KEEP */
/* ============================================= */

/* Highlight boxes */
.highlight-grey {
    background-color: #efefef;
    padding-left: 12px;
    line-height: 180%;
    font-size: 15px;
    color: #000000;
    margin: 0 auto;
    margin-bottom: 20px;
}

/* FAQ toggle system */
.FAQ {
    cursor: pointer;
}
.FAA {
    display: none;
    background-color: #FEFEFE;
    padding-bottom: 1px;
    padding-left: 12px;
    font-size: 1em;
}
.questions {
    color: #0000FF;
}
.questions:hover {
    color: #FF0000;
}

/* Utility classes */
.bbold {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: 600;
}
.hh2 {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: 600;
    font-size: 22px;
}
.bold { 
    font-weight: 600; 
}
.center { 
    text-align: center; 
}

/* Confirmation Page Styling */
.confirmation-container {
    max-width: 700px;
    margin: 80px auto;
    background-color: #ffffff;
    border: 1px solid #ccc;
    padding: 40px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.confirmation-container h1 {
    font-size: 24px;
    color: #2a5934;
    margin-bottom: 20px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.confirmation-container p {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.confirmation-container a.back-home {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #6D9886;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.confirmation-container a.back-home:hover {
    background-color: #53786c;
}

/* UTILITIES */

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* ============================================= */
/* FIXES FOR POTENTIAL CONFLICTS */
/* ============================================= */

/* Remove conflicting .rightside class from old USDA CSS */
/* This class shouldn't exist - only use #rightside ID */
.rightside {
    /* Intentionally empty - do not use this class */
}

/* Ensure table defaults */
table, tr, th, td, tbody, tfoot, thead {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
    background: transparent;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Table footer from old CSS */
.tfooter {
    background-color: #ccc;
    text-align: center;
    font-style: italic;
}

/* Ensure strong tags are bold */
strong {
    font-weight: bold;
}

/* Blockquote styling from old CSS */
blockquote {
    color: #000;
    font-size: 12px;
}

/* Image floating corrections */
.imglft {
    float: left;
    margin-right: 10px;
}

.imgrgt {
    float: right;
    margin-left: 10px;
    padding: 5px 0px 5px 10px;
}

/* Remove any duplicate or conflicting rules */
#banner {
    /* Empty - not used */
}