/* ==========================================================================
   Mallinder Clan — Legacy 2012 Fixed-Width XHTML Stylesheet
   Originally designed by Paul Mallinder (October 2011); modal styles added July 2019
   ========================================================================== */

/* --- Base Typography & Background Tile --- */
body {
    margin: 0;
    padding: 0;
    background: #FFFFFF url(/assets/images/site/img02.gif) repeat;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #402C16;
}

h1, h2, h3 {
    margin: 0;
    padding: 0;
    font-weight: normal;
    color: #2E9F13;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 2.4em;
}

h3 {
    font-size: 1.6em;
}

p, ul, ol {
    margin-top: 0;
    line-height: 180%;
}

ul, ol {
}

a {
    text-decoration: none;
    color: #2E9F13;
}

a:hover {
    text-decoration: underline;
}

/* --- Content Image Alignment & Border Helpers --- */
img.border {
    border: 6px solid #EEE7DF;
}

img.alignleft {
    float: left;
    margin-right: 25px;
}

img.alignright {
    float: right;
}

img.aligncenter {
    display: block;
    margin: 0px auto;
}

/* --- Outer Page Wrapper --- */
#wrapper {
    margin: 0 auto;
    padding: 0;
    /* AUDIT NOTE: Pre-existing broken background path (missing slash & img03.gif absent on disk) */
    background: url(/2012images/img03.gif) no-repeat center top;
}

/* --- Header Banner (980x120) --- */
#header-wrapper {
    height: 120px;
}

#header {
    width: 980px;
    height: 120px;
    margin: 0 auto;
}

/* --- Top Navigation Menu --- */
#menu {
    width: 980px;
    height: 40px;
    margin: 0 auto;
    padding: 0;
    border-top: 1px solid #D0D0D0;
}

#menu ul {
    margin: 0;
    padding: 0px 0px 0px 4px;
    list-style: none;
    line-height: normal;
}

#menu li {
    float: left;
}

#menu a {
    display: block;
    margin-right: 1px;
    padding: 13px 20px 10px 20px;
    text-decoration: none;
    text-transform: uppercase;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: normal;
    color: #4E5B64;
    border: none;
}

#menu .current_page_item a {
}

#menu a:hover {
    text-decoration: none;
}

/* --- Main Page Container (980px) --- */
#page {
    width: 980px;
    margin: 0 auto;
    padding: 0;
    border-top: 1px solid #D0D0D0;
}

#page-bgtop {
}

#page-bgbtm {
    margin: 0px;
    padding: 40px 30px 0px 30px;
}

.links {
    display: block;
    width: 96px;
    padding: 2px 0px 2px 0px;
    background: #A53602;
    text-align: center;
    text-transform: uppercase;
    font-size: 10px;
    color: #FFFFFF;
}

/* --- Right Sidebar (280px) --- */
#sidebar {
    float: right;
    width: 280px;
    padding: 0px 0px 0px 0px;
}

#sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#sidebar li {
    margin: 0;
    padding: 0;
}

#sidebar li ul {
    margin: 0px 15px;
    padding-bottom: 30px;
}

#sidebar li li {
    padding-left: 20px;
    line-height: 35px;
    background: url(/assets/images/site/img01.gif) no-repeat left 12px;
}

#sidebar li li span {
    display: block;
    margin-top: -20px;
    padding: 0;
    font-size: 11px;
    font-style: italic;
}

#sidebar h2 {
    height: 38px;
    margin-bottom: 20px;
    padding: 12px 0 0 15px;
    border-bottom: 1px solid #D0D0D0;
    letter-spacing: -1px;
    font-size: 24px;
    color: #1A1A1A;
}

#sidebar p {
    margin: 0 0px;
    padding: 0px 20px 20px 20px;
    text-align: justify;
}

#sidebar a {
    border: none;
}

#sidebar a:hover {
    text-decoration: underline;
}

/* --- Left Main Content Column (600px) --- */
#content {
    float: left;
    width: 600px;
    padding: 0px 0px 0px 0px;
}

/* --- Footer Banner (980x60) --- */
#footer-wrapper {
    height: 60px;
}

#footer {
    width: 980px;
    height: 60px;
    margin: 0 auto;
}

/* --- Custom Image Lightbox Modal (Added July 2019) --- */
#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg:hover {
    opacity: 0.7;
}

/* Modal Backdrop Overlay */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
}

/* Modal Enlarged Image */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Modal Image Caption */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Modal Zoom-In Animation */
.modal-content,
#caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* Modal Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Mobile Modal Image Scaling */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}
