:root {
    --color-primary: #192233; /* Dark Slate Gray */
    --color-primary: #75a4a2; /* Dark Slate Gray */
    --color-secondary: #7c492c; /* Saddle Brown */
    --color-accent: #81503d; /* Dark Earth Brown */
    --color-background: #fff2a9; /* Light Goldenrod Yellow */
    --color-surface: #f1c17d; /* Sandy Brown */
    --color-on-primary: #fff2a9; /* Light Goldenrod Yellow text or icons on primary color */
    --color-on-secondary: #fff2a9; /* Light Goldenrod Yellow text or icons on secondary color */
    --color-on-background: #75a4a2; /* Dark Slate Gray text or icons on background */
    --color-on-surface: #1a0f26; /* Midnight Blue text or icons on surface color */
    --color-on-accent: #fff2a9; /* Light Goldenrod Yellow text or icons on accent color */
    --color-offwhite: #fcfcfc;
  } 
  

/* :root {
/*    --color-primary: #00253e; /* Dark Slate Blue */
/*    --color-secondary: #afb4b3; /* Cadet Grey */
/*    --color-accent: #010a1a; /* Very Dark Blue */
/*    --color-background: #ffffff; /* White */
/*    --color-surface: #fcfcfc; /* Off White */
/*    --color-on-primary: #ffffff; /* White text or icons on primary color */
/*    --color-on-secondary: #00253e; /* Dark Slate Blue text or icons on secondary color */
/*    --color-on-background: #010a1a; /* Very Dark Blue text or icons on background */
/*    --color-on-surface: #010a19; /* Very Dark Blue (almost black) text or icons on surface color */
/*    --color-on-accent: #ffffff; /* White text or icons on accent color */
/*  } 

/* :root {
    --color-primary: #eae7dc; /* Pale Silver */
/*    --color-secondary: #a6a196; /* Granite Gray */
/*    --color-accent: #e5e2d8; /* Timberwolf */
/*    --color-background: #ffffff; /* White */
/*    --color-surface: #fbf8f0; /* Linen */
/*    --color-on-primary: #ffffff; /* White text or icons on primary color */
/*    --color-on-secondary: #ffffff; /* White text or icons on secondary color */
/*    --color-on-background: #a6a196; /* Granite Gray text or icons on background */
/*    --color-on-surface: #eae7dc; /* Pale Silver text or icons on surface color */
/*    --color-on-accent: #a6a196; /* Granite Gray text or icons on accent color */
/*  } 
*/ 
    
html {
    background-color: var(--color-offwhite);
}
body {
    font-size: 11pt;
    color: black;
    background-color: var(--color-offwhite);
    margin: auto; 
}

.box1024 {
    margin: auto; 
    max-width:1024px;
}

.orangebar {
    border-top-color: var(--color-primary);
    border-top-width: 4px;
    border-top-style: solid;
}
.homecardbar {
/*    background: linear-gradient(to bottom, var(--color-on-background), var(--color-on-surface)); */
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

nav {
    font-family: 'Open Sans';
    margin-top:10px;
}

.introtext {
    font-size: 2.0em;
    font-family:'Roboto';
    font-weight: 300;
    display: flex;
}

.introtext a {
    text-decoration: none;
    font-weight: bold;
    color: var(--color-on-surface);
}

.introtext a:hover {
    text-decoration: underline;
    color: var(--color-primary);
}

.introtext-image {
    flex: 0 0 30%; 
    max-width: 30%;
    padding-right: 10px;
}

.introtext-image img {
    width: 100%;
    height: auto;
}

.introtext p {
    flex: 1;
}

.splashpic2 {
    width: 100%;
    z-index:0;
/*    height: 772px; */
    max-height: 600px;
    background-image: url("https://www.americangeosciences.org/static/images/new-montage.jpg");
    background-repeat: no-repeat;
    opacity: 0.9;
}

.splashpic {
    width: 100%;
    z-index:0;
    position: relative;
}

.splashpic::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 15%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgb(255, 255, 255));
}
.maxbox {
    margin: auto; 
    max-width:1024px;
    background-color: var(--color-background);
}

.navbar {
    box-shadow: none;
    font-size: 12px;
    background-color: var(--color-primary);
}

.card a:hover {
    text-decoration: none;
}

.card a p {
    color: black;
}

.inactive {
    background-color: #cccccc;
}

/* Formatting for Horizontal Cards */
.hcard {
/*    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;  */
    float: left;
    height: 100px;
    background-color: var(--color-background);
    margin-bottom: 10px;
    margin-right: 5px;
    padding: 0px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    box-shadow: 0 0 5px 0 rgba(0,0,0,0.2);    
}

.hcard-img {
    float: left;
    height: 100px;
    width: 100px;
    margin-left: 0px;
    padding: 0px;
}

.hcard-img img {
    height: 100px;
    width: 100px;
    /*border-radius: 5px 0 0 5px; */
    float: left;
}

.hcard-text {
    float: left;
    height: 100px;
    vertical-align: middle;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 0px;
    padding-bottom: 0px;

}
.card {
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    float: left;
    width: 320px;
/*    height: 230px; */
}

.card-h230 {
    height: 230px;
}

.card-body {
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0px;
}

.card-body a {
    text-decoration: none;
}

.card-title h3 {
    color: #444444;
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 0px;
}

.card-text {
    font-size: 0.9em;
    line-height: 1.1em;  
}

.post-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 0px;
}

.post-subtitle {
    font-size: 20px;
    font-weight: bold;
    margin-top: 0px;
}

.nav-link {
    font-family: 'Noto-Sans', sans-serif;
    font-size: 1.2em;
    color: var(--color-on-surface);
    font-weight: bold;
}

.blueheader {
    color: #003388;
    font-size: 1.5em;
    font-weight: bold;
    clear: both;
}

h3 {
    color: #003388;
    font-size: 1.3em;
    font-weight: bold;
    clear: both;
}

.navbar-scroll .fa-bars {
    color: #4f4f4f;
}

.itemcard {
    max-width: 250px;
}

.caption-box {
    background-color: #0000002f;
    padding: 5px;
    border: 1px solid #0000002f;
    border-radius: 5px;
    margin-bottom: 5px;
    position: absolute;
    bottom: 0;
    width: 80%;
}

.strategicplanning h1,h2,h3,h4,h5,h6 {
    color: #333333;
    margin-bottom: 1.2em;
}
.strategicplanning h4 {
    color: #333333;
    margin-bottom: 0.8em;
    margin-top: 1.2em;
}

.strategicplanning h4:before {
    content: "";
    background-image: url("https://www.americangeosciences.org/static/images/AGIico.png");
    display: inline-block;
    margin-right: 5px;
    background-size: cover; /* or 'contain', or specific sizes like '50% auto' */
    background-repeat: no-repeat;
    width: 20px;
    height: 20px; 
}

.strategicplanning h1 {
    margin-top: 1em;
    font-size: 2.0em;
}

.strategicplanning h2 {
    font-size: 1.9em;
}
.strategicplanning h5 {
    color: teal;
    margin-bottom: 0px;
}

.strategicplanning hr {
    color: rgb(255, 204, 0);
    height: 2px;
    width: 50%;
    margin-left: 25%;
}

.flexcard {
    flex: 0 1 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; 
    float: left;
    background: linear-gradient(to bottom, var(--color-secondary), var(--color-surface));
    max-width: 22%;
}

.flexcard a {
    text-decoration: none;
    color: var(--color-on-surface);
}

.darktext {
    color: var(--color-on-surface);
    font-size: 1.2em;
    text-justify: auto;
}

.highlightcard {
    flex: 0 1 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; 
    float: left;
    max-width: 48%;
/*    border-top-color: var(--color-surface);
    border-top-width: 4px;
    border-top-style:  solid; */
}

.highlightcard h3 {
    color: var(--color-on-surface);
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 0px;
}

.highlightcard a {
    text-decoration: none;
    color: var(--color-on-surface);
    font-size: 1.2em;
    text-justify: auto;
}

button a {
    color: #222222;
    font-weight: bold;
}

a {
    text-decoration: none;
}
.landingline {
    border-top: 4px solid var(--color-surface);
    font: 'Roboto';
    font-weight: 300;
}

footer p {
    color: var(--color-on-surface);
    font-family: 'Noto-Sans', sans-serif;
    font-weight: bold;
    font-size: 1.2em;
}

footer a {
    color: var(--color-on-surface);
    font-family: 'Noto-Sans', sans-serif;
}

#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    text-align: center;
    z-index: 1000;
    display:none;
    background-color: #ebebeb;
}
    
.consent-banner-content button {
margin: 0 5px;
padding: 0.5em 1em;
cursor: pointer;
}


