/* ==========================================================================
   1. GLOBAL SYSTEM RESETS 
   ========================================================================== */
/* 1. Global Reset (Keep this exactly as it is) */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* 2. List Spacing */
ul, ol {
    padding-bottom: 1.25rem;
    padding-left: 1.5rem; /* Leaves room for bullet points/numbers */
}

/* 3. Text Spacing (Uses padding to prevent white space leaks) */
p {
    padding-bottom: 1.25rem; 
    line-height: 1.6;       
}

h1, h2, h3 {
    padding-top: 1.5rem;     
    padding-bottom: 0.75rem; 
    line-height: 1.2;
}

html {
    background-color: #000000; /* This makes any empty space black */
    height: 100%;
}

body {
    background-color: #ffffff;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

img {
    display: block;
}

/* Fixes default 90s table styling overrides */
table, tr, td, th {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    line-height: inherit;
}

/* Global Link Styles (Converted to clean lowercase) */
a {
    color: #0000ff; 
    text-decoration: none;
}
a:visited {
    color: #ff3300; 
    text-decoration: none;
}
a:hover {
    color: #ff9900; 
    cursor: pointer; 
}
a:active {
    color: #0000ff; 
    text-decoration: none;
}

/* ==========================================================================
   2. SITE HEADER & NAVIGATION 
   ========================================================================== */
.site-header {
    display: flex;
    align-items: center;
    background-color: #000000;
/*    padding-left: 30px; */
    border-top: 6px solid #000000;
    border-bottom: 1px solid #ffcc00;
}

.header-logo-section {
    background-color: #ffcc00;
    display: flex;
    align-items: center;
    justify-content: center; 
    height: 100px;
}

.header-logo {
    width: 95px;
    height: 75px;
    display: block;
}

.header-title-section {
    display: flex;
    flex-grow: 1;
    text-align: center;
    justify-content: center; 
    align-items: center;     
}

.header-title-section h1 {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 36px;
    font-weight: bold;
    margin: 0; 
    background: linear-gradient(to right, #ffff00, #ff3300, #ff9900);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    display: inline-block; 
}

.site-nav {
    background-color: #000000;
    text-align: center;
    padding: 10px 0;
    margin-top: 2px; 
    box-shadow: 
        0 -1px 0 0 #ffcc00,  
        0 -7px 0 0 #000000,  
        0 -10px 0 0 #ff9900, 
        0 -14px 0 0 #000000; 
    border-bottom: 4px solid #ffcc00; 
}

.site-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    padding: 0 10px;
    display: inline-block;
}

.site-nav a:hover {
    color: #ff9900; 
}
    
.site-nav a:not(:last-child)::after {
    content: " |";
    color: #ffffff;
    padding-left: 20px;
}

/* ==========================================================================
   3. STRUCTURAL UTILITIES
   ========================================================================== */
.blackbg { background-color: #000000; }
.whitebg { background-color: #ffffff; }
.gmarble { background-image: url("img/gmarble.jpg");  
           background-color: transparent;  
           background-repeat: repeat-y; }

footer {
    margin-top: auto;
    width: 100%;
}

.footer-section {
    background-color: #000000;
    flex-grow: 1;
    text-align: center;
    display: flex;
    justify-content: center; 
    align-items: center;
    box-shadow: 
        0 -1px 0 0 #ffcc00,  
        0 -7px 0 0 #000000,  
        0 -10px 0 0 #ff9900, 
        0 -14px 0 0 #000000; 
    border-bottom: 4px solid #000000; 
}

#footer-placeholder {
    margin-top: auto;          /* Pushes it down on standard flex pages */
    width: 100%;
    background-color: #000000; 
}

.bodytext {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 14px;
    color: #000000;
    line-height: 18px;
    text-indent: 8px;
    font-weight: bold;
}

.bordercolor {
    border: 1px solid #ffffff;
}

.shadowbox {
  margin: 10px 15px 30px 15px;
  width: 50em;
/*  text-align: center; */
  align-self: center;
  border: 1px solid #333333;
  box-shadow: 8px 8px 5px #444444;
  padding: 18px 18px;
  background-image: linear-gradient(180deg, white, #dddddd 40%, #cccccc);
}

.centerwhite {
  margin: auto;
  background: #ffffff;
  width: 66%;
}

.containing {
  display: flex inline;
}

.wbox {
  display: flex;
  flex: 1 1 0;
/*  grid-template-columns: repeat(auto-fill, minmax(200px, auto)); */
  margin: 0;
  width: 100px;
/*  border: 2px dotted #000000; */
  align-items: center;
  justify-content: center;
}
.wbox div {
  display: block;
/*  width: 250px; */
  height: 135px;
  background-color: #ffffff;
/*  border: 2px solid #000000; */
  flex-wrap: wrap;
/*  border-radius: 5px; */
/*  padding: 1em; */
}

.wtable {
  display: flex;
  width: 898px;
}
.wcolumn {
  margin-bottom: 1em;
  width: 50em;
}
.wrow {
/*  border: 1px solid #00000; */
  height: auto;
  margin: auto;
  width: 100%;
}

/* This walnut doesn't work either. */
.walnut {
  width: 100%;
  height: 500px;
  background-image: url("/img/walnut.jpg");
  background-position: center;
  background-repeat: repeat;
}

.centerblack {
  margin: auto;
  background: #000000;
  width: 66%;
}

/* This center-wrap doesn't seem to work yet. /*
.center-wrap {
    background-color: #000000;
    flex-grow: 1;
    text-align: center;
    display: flex;
    justify-content: center; 
    align-items: center;
    box-shadow: 
    border-bottom: 4px solid #ff9900; 
}


/* ==========================================================================
   4. TYPOGRAPHY & MESSAGING 
   ========================================================================== */
.cbold   { font-weight: bold; }
.citalic { font-style: italic; }

/* Legacy Layout Small Standard text */
.textwhite  { font-family: Verdana, sans-serif; color: #ffffff; font-size: 12px; }
.textaqua   { font-family: Verdana, sans-serif; color: #66ffff; font-size: 12px; }
.textyellow { font-family: Verdana, sans-serif; color: #ffff99; font-size: 12px; }
.textorange { font-family: Verdana, sans-serif; color: #ff3300; font-size: 12px; }
.textmaroon { font-family: Verdana, sans-serif; color: #ff0000; font-size: 12px; }

/* Warnings & System Info */
.redwarning   { font-family: Verdana, sans-serif; font-size: 11px; font-weight: bold; color: #ff0000; }
.greenwarning { font-family: Verdana, sans-serif; font-size: 11px; font-weight: bold; color: #009933; }

/* Font Sizing Remnants */
.cfs08 { font-size: 8px; }
.cfs10 { font-size: 10px; }
.cfs12 { font-size: 12px; }
.cfs14 { font-size: 14px; }
.cfs18 { font-size: 18px; }
.cfs24 { font-size: 24px; }
.cfs36 { font-size: 36px; }
.cfs48 { font-size: 48px; }

/* Relative Font Color Adjustments */
.cblue   { color: #0000ff; font-size: 1.25rem; }
.cred    { color: #ff0000; font-size: 1.25rem; }
.cyellow { color: #ffcc00; font-size: 1.25rem; }
.corange { color: #ff3300; font-size: 1.25rem; }
.cgirl   { color: #ff00cc; }
.cboy    { color: #0066ff; }
.cmoss   { color: #006600; }

/* Legacy Page Specific Content Markers */
p.c5  { color: #00ff80; }
h1.c4 { color: #00ff80; }
p.c3  { color: #000066; }
h2.c2 { color: #000066; }
div.c1 { text-align: center; }

/* Inline Old-style Table Classes */
.style1  { font-family: Verdana, sans-serif; font-size: 11px; color: #ffffff; font-weight: bold; }
.style7  { font-family: Verdana, sans-serif; font-size: 12px; }
.style11 { font-family: Arial, sans-serif; font-size: 12px; }
.style13 { color: #7ff7c6; }

/* ==========================================================================
   5. UI CONTROLS, COMPONENT BORDERS, & BUTTONS
   ========================================================================== */
.buttons {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #000000;
    font-weight: bold;
    cursor: pointer;
}

.lowText, a.lowText:link, a.lowText:visited, a.lowText:active, a.lowText:focus {
    color: #000000;
    font: 14px Arial, sans-serif;
    text-align: left;
    text-decoration: none;
}

.highText, a.highText:link, a.highText:visited, a.highText:active, a.highText:focus {
    color: #ffffff;
    font: 14px Arial, sans-serif;
    text-align: center;
    text-decoration: none;
}

.itemBorder       { border: 1px solid #666666; }
.itemBorderBlank  { border: 1px solid #ccccdd; }
.buttonBorder     { border: 1px outset #339966; }
.buttonBorderOver { border: 1px inset #cc9966; }

/* Graphical Button Component Link Modifications */
a.button, a:visited.button {
    display: block; 
    font-family: Arial, sans-serif; 
    font-weight: bold;
    text-align: center; 
    color: #000000; 
    width: 150px; 
    height: 50px; 
    background-color: transparent; 
    background-image: url("img/btnsqlime.jpg"); 
    text-decoration: none; 
    padding: 15px; 
    font-size: 14px;
}

a:hover.button {
    display: block; 
    background-color: transparent; 
    font-family: Arial, sans-serif; 
    font-weight: bold;
    color: #000000; 
    background-image: url("img/btnsqgreen.jpg");
}
