/* ==========================================================================
   Global Link Styles
   ========================================================================== */
a,
a:link,
a:visited,
a:hover {
    background-color: transparent;
    color: #cc33cc;
    /* Sets purple color for all standard and hovered links */
}

/* ==========================================================================
   Header / Banner Section
   ========================================================================== */

div#titles {
    color: #000000;
    background-color: #103930;
    /* Dark green background filling the header bar */
    /* background-image: url('images/titlebg.jpg'); */
    background-repeat: repeat-x;
    overflow: hidden;
    /* Prevents child elements from spilling out of the header */
    -ms-background-size: contain;
    background-size: contain;

}



div#titles img {
    width: 100% !important;
    /* Makes image responsive across screen sizes */
    max-width: 198px !important;
    /* Reduced from 395px to scale width down by half */
    height: auto !important;
    /* Maintains 395:120 aspect ratio automatically */
    max-height: 60px !important;
    /* Reduced from 120px to cap maximum height at half size */
    display: block !important;
    /* Removes baseline inline spacing under the image */
    border: none;
}



/* ==========================================================================
   Home Page Buttons & Containers
   ========================================================================== */

#buttons button {
    color: darkslategray;
    background-color: white;
    border: 1px solid darkslategray;
    margin: 15px 0;
    padding: 1em;
    width: 100%;
    font-weight: bold;
    font-size: 120%;
}

#buttons button:hover,
#buttons button.active {
    background-color: whitesmoke;
    /* Subtle contrast highlight on hover or active state */
}

.divbox {
    color: darkslategray;
    background-color: white;
    border: 1px solid darkslategray;
    padding: 2em;
    margin-bottom: 1em;

}



p.explanation {
    font-size: 1.2em;
    font-style: italic;
}



/* Overrides site.css .tabcontent class to hide inactive local tab panels */

.tc-local {
    display: none;
    padding: 0;
    border: none;
}



/* Prevents form inputs in content boxes from overflowing their container */
.divbox form input,
.divbox form select {
    max-width: 100%;
}



/* ==========================================================================
   Interactive Map Layout
   ========================================================================== */

.inlineDiv {
    display: inline-block;
    vertical-align: top;
    /* Keeps side-by-side layout aligned to the top */

}



#gmapdiv {
    width: 59%;
    /* Takes up ~60% of horizontal layout width */
    height: 500px;
    background-color: grey;
    margin: 0;
    padding: 0;
    border: none;

}



#mapinfo {
    width: 39%;
    /* Takes up remaining horizontal space beside the map */
    background-color: whitesmoke;
    padding: 1em;
    margin-left: 1%;
}