: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;
} 
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;
    background-size: cover;
    background-position: center;
    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);
}

.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: unset;
    margin-right: unset;
    padding: unset;
    border: 1px solid #cccccc;
    border-radius: 5px;
    box-shadow: 0 0 5px 0 rgba(0,0,0,0.2);
    overflow: hidden;  
    background-color: #eeeeee; 
}

.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 {
    display: inline;
    float: unset;
    height: unset;
    vertical-align: middle;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 0px;
    padding-bottom: 0px;

}
.hcard-description {
    font-size: .8rem;
    font-weight: lighter;
    line-height: 1.2;
}
.hcard a:hover {
    text-decoration: none;
}

.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;
}

h4 {
    color: #003388;
    font-size: 1.1em;
    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 {
    background: linear-gradient(to bottom, var(--color-secondary), var(--color-surface));
/*    flex: 0 1 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; 
    float: left;
    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;
}

.highlightcard a:hover {
    color: var(--color-on-surface);
}
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;
}
*/
/* CUSTOM FOOTER */
footer p {
    font-size: small;
    font-weight: normal;
    color: #fff;
}
footer a.contact, footer a {
    color: #fff;
}
footer a:hover, footer a.contact:hover {
    color: #bebebe;
}
footer .footer {
    background-color: var(--color-primary);
    min-height: 151px;
    padding-bottom: 26px;
    padding-top: 26px;
}
footer .footer__contact-details p  {
    margin: 0;
}

footer .footer li {
    list-style-type: none;
}
.social-media-icons li {
    display: inline-block;
    color: #fff;
    margin-bottom: 1rem;
}
.social-media-icons ul {
    padding-left: 0;
    margin-left: 0;
}
.social-media-icon {
    margin: 0 0.5rem;
    font-size: 1.5rem;
}
footer .footer {
    background-color: #2B6E6B;
    color: #fff;
    padding: 1rem 0;
}
footer .copyright {
    font-size: .9rem;
}


#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;
}
