/* start file:/lists/styles/style.css   */

/* =-------------- Global Reset ----------*/

html, body, div, span, applet, object, pre,
iframe, h1, h2, h3, h4, h5, h6, blockquote,
p, a, abbr, acronym, address, big, cite,
code, del, dfn, em, font, img, ins, kbd, q,
s, samp, tt, small, strike, sub, strong, b,
sup, var, u, i, center, dl, dt, dd, ol, ul,
li, fieldset, form, label, legend, table,
caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent
}

blockquote, q {
    quotes: none
}

:focus {
    outline: 0
}

ins {
    text-decoration: none
}

del {
    text-decoration: line-through
}

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

/* =------------- Typography ----------*/

html * {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a {
  display: inline-block;     /* Makes the link behave like a block for centering */
  text-align: center;        /* Centers the text within the link box */
  font-weight: bold;         /* Makes the text bold */
  text-decoration: none;    /* Underlines the link */
  color: maroon;                /* Sets the link color to red */
}

h3 {
    font-family: Georgia, serif;
    font-size: 24px;
    font-weight: bold;
    margin: 20px 0px;
    line-height: 30px
}

p {
    font-family: Georgia, serif;
    font-size: 14px;
    margin: .75em 0
}

li, table, form {
    font-size: 12px
}

.error {
    font-size: 12px;
    padding: 3px;
    font-variant: small-caps;
}

input, textarea, select {
    font-size: 14px;
}

/* =-----------------Layout ----------*/

/* Remove default margin and padding */
body, h1, h2, h3, p, div {
    margin: 0;
    padding: 0;
}

#container {
    max-width: 920px;
    min-width: 300px;
    margin: 0 auto;
}

#header {
    display: block; /* Remove space underneath images */
    margin: 0;     /* Ensures no additional margins */
}

#footer {
    width: 100%;               /* Full width of the page */
    background-color: white;   
    color: black;              /* White text for readability */
    padding: 20px 0;           /* Vertical padding */
      
      /* Center all content horizontally */
    text-align: center;
      
      /* Optional: set font and size */
    font-family: Georgia, sans-serif;
    font-size: 12px;
    }

    /* Example: style links inside footer */
    footer a {
    color: #ff6347;            /* Tomato red color for links */
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;            /* Spacing between links */
    transition: color 0.3s ease;
    }

    footer a:hover,
    footer a:focus {
      color: #ffa07a;            /* Lighter tomato on hover/focus */
      text-decoration: none;
    }

/* =---------------- Styles ----------*/

table.main-content {
    width: 70%;
    border-collapse: collapse; /* Ensures no gaps between borders */
    position: relative;
    border-width: 5px;
    border-style: solid;
    border-color: black;
    margin-bottom: 5px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -moz-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.4);
    box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.6);
}

.panel {
    position: relative;
    border-width: 1px;
    border-style: solid;
    border-color: #14447A;
    margin-bottom: 5px;
    -moz-border-radius: 1px;
    -webkit-border-radius: 1px;
    border-radius: 1px;
    -moz-box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.4);
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    width: 65%;
    margin: auto;
}

.panel .content {
    position: center;
    border-width: 2px;
    border-style: solid;
    border-color: #14447A;
    padding: 5px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius: 0px;
}

.content form, .content > .error {
    margin: auto;
    width: 75%;
}

.content > h3 {
    padding: 10px;
}

.content > p {
    padding: 0 10px;
}

.content > a {
    display: inline-block;
    color: #ff6347;            /* Tomato red color for links */
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;            /* Spacing between links */
    transition: color 0.3s ease;
    }

    position: center;
    padding: 20 10px;
    align-items: center;           /* Center children horizontally */
    justify-content: center;       /* Center children vertically */
}

.subscribe-form {
    display: flex;                 /* already using flexbox */
    flex-direction: column;        /* stack fields vertically */
    align-items: center;           /* center contents horizontally */
    justify-content: center;       /* center vertically if needed */
    width: 600px;                 /* Set a specific width for the form */
    margin: 0 auto;               /* Center the form on the page */
}

.subscribe-form label {
    margin-bottom: 5px;           /* Space between the label and input*/
}

.subscribe-form input {
    margin-bottom: 15px;          /* Space between input and button */
    padding: 8px;                 /* Inner padding for comfort */
    width: 100%;                  /* Make the input full-width relative to the form */
}

.poweredby {
    clear: both;
    padding-top: 5px;
}

p.poweredby a {
    display: inline-block;         /* allow horizontal centering */
    margin: 10px auto 0 auto;      /* top margin 20px, auto horizontal */
    padding: 0;                   /* remove excessive padding */
    font-size: 12px;
    text-align: center;           /* center text inside link */
    color: red;                   /* keep red color if desired */
    font-weight: bold;
    margin-bottom: 15px;          /* Space between input and button */
    background: none;
}

p.poweredby a:hover {
    background: none;
    display: inline-block;
    color: #ff6347;            /* Tomato red color for links */
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;            /* Spacing between links */
    transition: color 0.3s ease;
    }

    text-decoration: underline;
    
}

p a {
    font-size: 16px;
}

p a[href='./?p=unsubscribe'] {
    display: inline-block;         /* allow horizontal centering */
    margin: 20px auto 0 auto;      /* top margin 20px, auto horizontal */
    padding: 0;                   /* remove excessive padding */
    font-size: 12px;
    text-align: center;           /* center text inside link */
    color: red;                   /* keep red color if desired */
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;              /* pointer cursor for usability */
    width: fit-content;           /* shrink to content width */
}

.footer {
    width: 100%;               /* Full width of the page */
    color: black;              /* Black text for readability */
    padding: 20px 0;           /* Vertical padding */
      
 /* Center all content horizontally */
    text-align: center;
    }

    /* Example: style links inside footer */
    footer a {
    display: inline-block;
    color: #ff6347;            /* Tomato red color for links */
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;            /* Spacing between links */
    transition: color 0.3s ease;
    }

    footer a:hover {
      color: #ffa07a;            /* Lighter tomato on hover/focus */
      text-decoration: underline;
    }

/* ---------------- Table Styles ---------------- */

#mainContent {
    padding: 0 10%;
}

#mainContent table {
    width: 100%;
    border-width: 2px;
    border-style: solid;
    border-color: #FFFFFF;
}

#mainContent table td {
    padding: 5px 5px;
    margin: 1px;
}

/* =---------------- Form Elements ----------*/

input[type="text"],
input[type="password"] {
    margin: 5px 0;
    padding: 6px;
    border-width: 2px;
    border-style: solid;
    width: 100%;
    box-sizing: border-box;
}

textarea {
    padding: 0px;
    border-width: 1px;
    border-style: solid;
    width: 70%;
}

select {
    margin: 0 5px 0 0;
    padding: 2px 1px 2px 5px;
    background: none repeat scroll 0 0;
    border-width: 1px;
    border-style: solid;
}

input[type="submit"],
p.button a, a.button {
    background-color: #ADD8E6;
    width: 98%;                 /* Set a specific width for the form */
    display: inline-block;
    margin: 2 auto;    
    border-style: solid;
    border-color: #14447A;
    border-width: 1px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius: 5px;
    transition: all 0.3s ease;
    padding: 3px 6px;
    font-size: 18px;
    line-height: 1;
}

input:hover[type="submit"],
a:hover.button, p.button a:hover {
    cursor: pointer;
    color: #14447A;
    text-decoration: underline;    /* Underline on hover */
    background-color: #30BEEE;
    display: inline-block;
    text-align: center;
    font-weight: bold;            /* Make text bold on hover */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* X-offset, Y-offset, Blur, Color */
    transform: scale(1);
    margin: 3px 3px;
}

span.required, div.required {
    color: red;
}

/* =---------------- Top Logo ----------*/

#logo {
    margin-top: 5px;
    font-size: 48px;
}

/* =---------------- small screens ----------*/

/* Responsive adjustments */
@media (max-width: 1008px) {
    .panel {
        width: 98%;
    }
}
/* end file:/lists/styles/style.css   */
