/* Style sheet for DNR-Spring Mill pages */

body
{
  background-color: #00713D;
  margin: 0 auto;
}

h2
{
  color: black;
  text-align: center;
  font-family: "Arial", arial, sans-serif;
  padding: 0;
  width: 90%;
  margin: 0.4em auto;
}

h3
{
  color: black;
  text-align: left;
  font-family: "Arial", arial, sans-serif;
}

h4
{
  text-align: center;
  color: black;
  font-family: "Arial", arial, sans-serif; 
  font-size: 1em;
}

p
{
  text-align: left;
  color: black;
  font-family: "Arial", arial, sans-serif; 
  font-size: 0.875em;
  margin-top: 0.5em;
  margin-bottom: 0.7em;
}
p.boldtab {margin-left: 25px; font-weight:bold;}
p.caption {font-size: 0.6em; text-align:right;}
p.indent  {margin-left: 25px;}
p.centered {text-align: center;}
p.donor_bottom {color:black; text-align:center}
p.references {margin-left: 0.5in; text-indent: -0.25in}

img
{ 
  float: right;
  margin: 5px 10px;
  border-style: none;
  max-width: 100%;
}
img.hiddenPic {display:none;}


li
{
  text-align: left;
  color: #222200;
  font-family: "Arial", arial, sans-serif; 
  font-size: 0.875em;
  margin-top:10px;
}


a:link {COLOR: #0000FF;}
a:visited {COLOR: #FF4040;}
a:active {COLOR: #FF4040;}

hr
{
  width:50%;
  height: 1px;
  color: #FFFF00
}
hr.shortblack {width: 25%; color: black;}


.nav_button {text-align:center}
.nav_button input {font-size:0.8em}

.wrapper {
    width: 90%;
    max-width: 900px;
    padding: 15px;
    margin: 0 auto;
    background-color: #EEE;
    border-radius: 20px;
}

/* --- Desktop and Tablet Styles --- */
.side-image {
  float: right;                 /* Floats it to the right side of the text */
  margin: 0 0 12px 15px;        /* Adds clean breathing room to the left and bottom */
  max-width: 300px;             /* Constrains the image size on desktop layouts */
}

.side-image img {
  display: block;
  width: 100%;                  /* Forces the image to match the container width */
  height: auto;
}

.side-image .caption {
  margin-top: 6px;              
  font-size: 0.85rem;           
  color: #555555;               
  font-family: sans-serif;
  text-align: left;
}

/* --- Mobile Breakpoint (Under 479.98px) --- */
@media screen and (max-width: 479.98px) {
  .side-image {
    float: none !important;     /* Cancels the right float */
    max-width: 100% !important; /* Allows the image wrapper to scale up */
    margin: 15px auto !important; /* Centers the image and spaces it from surrounding paragraphs */
  }
  
  .side-image .caption {
    text-align: center;         /* Centers the text under the full-width image */
  }
}
