html, body, div, span, object, iframe, p, blockquote, pre,
h1, h2, h3, h4, h5, h6, ul, ol, li, dl, dt, dd,
article, aside, canvas, details, figure, figcaption, 
footer, header, hgroup, menu, nav, section, summary {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
html {
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}
body {
    font: 14px/1.8 Helvetica, Arial, sans-serif;
    color: #2e2e2e;
    background: url("https://indianakarst.org/icons/body.png") repeat fixed;
}
body a {
    color: #e73420;
}
body a:hover {
    text-decoration: none;
    color: #e73420;
}
ol,
ul {
    list-style: none;
}
/*blockquote,
q {
    quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}*/
table {
    border-collapse: collapse;
    border-spacing: 0;
}
table.contact-table {
    width: 100%;   
}
.contact-table td {
    padding: 15px;                              
    vertical-align: top;          
}

img {
    max-width: 100%;
    height: auto;
}
#wrap {
    width: 960px;
    margin: 0 auto 60px;
    box-sizing: border-box;
}
.container {
    background: #eee;
    padding: 30px;
    border-radius: 12px 12px 0 0;
}

.remove-margin {
    margin-right: 0 !important;
}

.element-invisible {
    position: absolute !important;
    clip-path: inset(50%);
    overflow: hidden;
    height: 1px;
}
.element-invisible.element-focusable:active,
.element-invisible.element-focusable:focus {
    position: static !important;
    clip-path: none;
    overflow: visible;
    height: auto;
}
.breadcrumb {
    padding-bottom: 0.5em;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}
.clear {
    clear: both;
}
div.clear.padded {
    clear: both;
    padding-bottom: 20px;
}

/*blockquote {
    position: relative;
    margin: 30px 20px;
    padding-left: 25px;
    font-style: italic;
    font-weight: bold;
    color: #000;
    quotes: "\201C" "\201D" "\2018" "\2019";
}
blockquote:before {
    color: #000;
    content: open-quote;
    font-size: 3em;
    line-height: 0.1em;
    position: absolute;
    top: 20px;
    left: -10px;
}
blockquote p:last-child {
    margin: 0;
}
*/
pre {
    background: #fff url(https://indianakarst.org/icons/pre-bg.png) repeat;
    margin: 40px 0;
    padding: 25px 20px;
    line-height: 25px;
    border: 1px solid #ddd;
    white-space: pre-wrap;
    overflow-wrap: break-word
}
ul,
ol {
    margin: 0 0 1em 1.5em;
}
ul {
    list-style: disc;
}
ol {
    list-style-type: decimal;
}
ol ol {
    list-style: upper-alpha;
}
ol ol ol {
    list-style: lower-roman;
}
ol ol ol ol {
    list-style: lower-alpha;
}
ul ul,
ol ol,
ul ol,
ol ul {
    margin-bottom: 0;
}
table {
    margin: 0 0 1.5em;
    width: 100%;
    border: 1px solid #ddd;
    border-right: none;
    background: #fff;
}
th {
    font-weight: bold;
    padding: 10px 10px;
    background: #555;
    color: #fff;
}
td {
    padding: 5px 10px;
    border-top: 1px solid #ddd;
    border-right: 1px solid #ddd;
}
h1, h2, h3, h4, h5, h6 {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    color: #000;
    font-weight: 600;
}
h1 {
    font-size: 1.714em;
    margin-bottom: 20px;
}
h2, h3 {
    font-size: 1.286em;
}
h4 {
    font-size: 1em;
}
h5 {
    font-size: 0.857em;
}
h6 {
    font-size: 0.714em;
}
/*h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
    color: #e73420;
    text-decoration: none;
}*/
p {
    margin-bottom: 20px;
}
p img {
    margin: 0;
}
em {
    font-style: italic;
}
strong {
    font-weight: bold;
}
small {
    font-size: 80%;
}
hr {
    border: solid rgba(0, 0, 0, 0.2);
    border-width: 1px 0 0;
    clear: both;
    margin: 10px 0 30px;
    height: 0;
}
p a,
p a:visited {
    line-height: inherit;
}
a:link {
    text-decoration: none;
}
a:focus {
    outline: 0;
}
a {
    outline: 0;
}
a:focus {
    outline: 0;
}
#pre-header {
    margin: 5px 0 15px;
}
#facebook-link-top {
	position: absolute;
	top: 5px;
	right: 5px;
}
#facebook-link-bottom {
	position: absolute;
	bottom: 10px;
	right: 10px;
    display: none;
}

.logo-link {
  display: inline-block;
}

/* Make sure the active logo image scales fluidly */
.logo-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* --------------------------------------------------------------- */
/* CAPTIONED PRESERVE PHOTO CSS (Replaces the old old jQuery code) */
/* --------------------------------------------------------------- */
/* Base container style */
.caption-container {
    display: inline-flex;
    flex-direction: column;
    margin: 0 0 10px 0;
    box-sizing: border-box;
    background: #eee; /* Background to visualize container boundary */
    padding: 6px;       /* Adds the matching +12px overall width structure */
    border: 1px solid #ddd;
}
/* Enforce native responsive image sizing inside the container */
.caption-container img {
    display: block;
    max-width: 100%;
    height: auto;
}
/* Style the native text caption */
.caption-container figcaption {
    text-align: left;
    padding-left: 8px;
    font-size: 0.85rem;
    margin-top: 3px;
    color: #333;
    font-style: italic;
    box-sizing: border-box;
}
/* Handle Float Positions Cleanly */
.caption-container.float-right {
    float: right;
    margin-left: 10px;
}
.caption-container.float-left {
    float: left;
    margin-right: 10px;
}
/* Fallback logic if image is not floated */
.caption-container:not(.float-left):not(.float-right) {
    margin-top: 10px;
    display: flex; /* Centers or blocks nicely */
    width: fit-content;
}


#breadcrumbs {
    font-size: 11px;
}

h1.page-title {
    font-size: 2em;
    line-height: 1.2em;
    border-bottom: 3px double #aaa;
    padding: 4px; 
    margin-bottom: 10px;
}

/* THIS PUTS A BORDER AROUND ALL IMAGES IN A PAGE OF
   TYPE PAGE-NODE UNLESS THE NOBORDER CLASS IS APPLIED */
.page-node #content-wrap img {
    border: 1px solid #ccc;
    padding: 6px;
    height: auto;
    max-width: 97.4%;
    margin: 0.5em 1em 0.5em 0;
}

/* FOOTER STUFF */
#footer-bottom {
    padding-top: 10px;
    padding-bottom: 0;
    background: #2c2c2c url(https://indianakarst.org/icons/footer_bottom_bg.jpg) repeat-x top left;
    position: relative;
}
#footer-bottom p,
#footer-bottom a {
    font-size: 1.1em;
    color: #bbb;
}

#footer-area {
    background: none;
    padding: 40px;
    padding-bottom: 0;
    font-size: 0.929em;
    position: relative;
}
#footer-area a {
    color: #eee;
}
#footer-area a:hover {
    color: #e73420;
    text-decoration: none;
}

#site-footer {
    padding-top: 10px;
    padding-bottom: 3px;
    margin: -40px -40px -40px;
    background: #222;
    position: relative;
    bottom: 0;
    min-height: 103px;
    color: #bbb;
}
#site-footer p {
    font-size: 1em;
    padding: 0;
    margin: 0;
}
.region-footer {
    padding: 10px 20px;
    margin-bottom: 0;
}
#footer-right {
    float: right;
    width: 60%;
    text-align: right;
    position: relative;
}
#footer-left {
    float: left;
    width: 39%;
    position: relative;
}
.footer-right-link {
    float: right;
    display: inline;
}

/* IMAGE FLOATING */
.imgright {
    float: right;
    margin: 5px;
}
.imgleft {
    float: left;
    margin: 5px;
}
    
#header-wrap {
    margin-bottom: 15px;
}    
#header {
    position: relative;
    /* background: #111 url(https://indianakarst.org/icons/vintage.png);
    margin-bottom: 30px;*/
    background: #202020;
    border-radius: 10px 10px 0 0;
    margin-bottom: 0;
}
  
strong {
    color: black;
}
b {
    color: black;
    font-weight: bold;
}

.noborder {
    border: none !important;
}

/* NEW NAVIGATION STYLES FOR IKC SLIDESHOW */
.slideshow-navigation {
  display: grid;
  grid-template-columns: 1fr 3em 1fr;
  align-items: center;
  gap: 0.5rem;
  clear: both;
}
.slideshow-nav-btn {
  display: block;
  min-width: 0;
  text-decoration: none;
  color: #333333;
  background-color: #fff;
  padding: 0.4rem 0.5rem;
  border-radius: 20px;
  border: 1px solid #bbb;
  transition: all 0.2s ease;
}
/* Flex layout inside the outer buttons to handle text wrapping next to icons */
.slideshow-left, .slideshow-right {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem; /* Gap between the text and the icon */
}
.slideshow-left {
  justify-content: flex-start;
  text-align: left;
}
.slideshow-right {
  justify-content: flex-end;
  text-align: right;
}
.slideshow-middle {
  text-align: center;
  width: 3em;
  padding-left: 0;
  padding-right: 0; 
}
/* Icon style adjustments */
.slideshow-icon {
  font-weight: bold;
  flex-shrink: 0; /* Prevents the arrow from getting squished when text wraps */
}
/* Inner text container configuration for reliable wrapping */
.slideshow-btn-text {
  min-width: 0;
  overflow-wrap: break-word;
}
/* Hover effects */
.slideshow-nav-btn:hover {
  background-color: #007bff;
  color: #fff;
  border-color: #0056b3;
}


/* STYLES FOR DONOR TABLES */
.donor-table {
  width: 100%;
  text-align: center;
}  
.donor-table pre {
  margin: 0;
  padding: 2px 20px 0;
  line-height: 25px;
  text-align: center;
}
.donor-table th {
  background-color: #202020;
  text-align: center;
}

/* Accordion display/collapsible div pages */
.accordion-display summary {
   font-weight: bold;
   cursor: pointer;
   padding: 8px;
}

/* STYLES FOR SIGNUP AND COMMENT FORMS */
.form-text-field {
    margin-top: 10px;
    font-weight: 700;
}
.form-text-field input,
.form-text-field textarea {
    width: 95%; 
    border-radius: 5px;
    display: block;
    margin: 0 auto;
}
.form-text-field textarea {
    box-sizing: border-box;
    resize: vertical;
    min-height: 100px;
}
.form-text-field input:focus,
.form-text-field textarea:focus {
    background-color: #ffe;
}
.radio-buttons {
    margin-top: 5px;
    margin-left: 0;
    font-weight: 700;
    display: flex;
    width: 95%;
}
.radio-buttons .col {
    display: flex;
    gap: 4px;            /* Spacing between the circle and its text label */
    box-sizing: border-box;
}
.col-fixed {
    flex: 0 0 120px;     /* Adjust if you need a wider first column */
    padding-left: 15px;
}
.col-fluid {
    flex: 1;             
}
#submit-button {
    margin-top: 15px;
    color: #000;
    background: #ffc039;
    border-radius: 10px;
    border: 2px solid #000;
    text-shadow: none;
    box-shadow: none;
}

/* Form submission results banner (defaults to yellow) */
.form-banner {  
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0 6px 6px 0;
    margin-bottom: 1.5rem;
    background-color: #ffb;
    border-left: 4px solid #cc4;
    color: #000;
}
.form-banner.success {
    background-color: #cfc;
    border-left: 4px solid #4c4;
}
.form-banner.failure {
    background-color: #fcc;
    border-left: 4px solid #c44;
}
.form-banner span { /* banner dismiss */
    cursor: pointer;
    font-size: 1.5rem;
    float: right;
    margin-top: -0.5rem;
}

/* =================================
    MEDIA QUERY SECTION
   =================================*/
@media only screen and (min-width: 768.0px) {
    .slideshow-navigation {
        gap: 1.5rem;
    }
}

@media only screen and (max-width: 990.0px) {
    #pre-header {
        margin: 0 0 15px 0;
    }
    #site-footer {
        padding-bottom: 0;
    }
}

@media only screen and (min-width: 768.0px) and (max-width: 990.0px) {
    #wrap {
        width: 690px;
    }
}

@media only screen and (max-width: 767.98px) {
    #footer-left {
        width: 100%;
        text-align: center;
    }
    #footer-right {
        display: none;
    }
    #header-wrap {
        margin-bottom: 0;
    }
    #pre-header {
        margin: 0;
    }
    /* KEEP THIS - MAKES IMAGES EXPAND TO 100% ON MOBILE */
    .region-content img {
        max-width: 96% !important;
        margin: 1em auto !important;
        padding: 2% !important;
    }
    .container {
        border-radius: 0;
    }
    ul.inline li {
        display: block;
        padding: 5px;
    }
    /* keep-table-layout keeps tables from collapsing on mobile */
    table:not(.keep-table-layout) {
        max-width: 100% !important;
        border-top: none !important;
        border-right: none !important;
    }
    table:not(.keep-table-layout) tbody tr td {
        float: left;
        width: 94%;
        margin: 0 !important;
        padding: 3% !important;
    }
    /* Move FB link from logo to site footer on mobile */
    #facebook-link-top {
	  display: none;
    }
    #facebook-link-bottom {
	  display: block;
    }
}

@media only screen and (min-width: 480.00px) and (max-width: 767.98px) {
    #wrap {
        width: 370px;
    }
}

@media only screen and (max-width: 479.98px) {
    #wrap {
        width: 280px;
    }
    div#site-footer {
        min-height: 123px;
    }
    span.slideshow-btn-text {
        font-size: 0.55em;
    }
    #small-disappear {
        display: none;
    }
}
