/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #e0d7c5;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body { background: url(../img/bg-concrete-light.jpg) #DDD; font-size: 13px; }

#canvas { width: 960px; min-height: 650px; margin: 45px auto; position: relative; }
#wrapper { height: 100%; position: relative; border: solid 4px #420d00; }

#header { height: 125px; color: #FFF; z-index: 100; position: relative; 
	background: url(../img/logo-nelson-maroon.png) left 15% no-repeat rgba(66, 33, 0, 0.45); overflow: hidden; }
#nav { background: #420d00; color: #FFF; position: absolute; bottom: 0; width: 952px; text-align: right; padding: 0px; z-index: 0; }
#nav a { display: inline-block; width: 120px; padding: 2px 0px 2px 20px; margin: 0px; zoom: 1;
	color: #e0d7c5; text-decoration: none; text-align: left; font-size: 12px; line-height: 22px; }
#nav a:hover, #nav a.active { background-color: #82302f; color: #FFF; }
#nav span { display: inline-block; zoom: 1; position: relative; z-index: 0; }
#nav span div { position: absolute; width: 140px; bottom: 26px; background: rgba(0, 0, 0, 0.45); padding-top: 100px; padding-bottom: 10px; z-index: 10; font-size: 1px; }
#nav span div a { font-size: 10px; line-height: 13px; text-transform: uppercase; }
#nav span div a:hover, #nav span div a.active { background-color: transparent; color: #FFF; }

#maincontent { min-height: 475px; margin: 0px; z-index: 100; position: relative; }
.article {position: relative; }
.divider { border-bottom: solid 4px #420d00; }
.article .pics { float: left; width: 600px; }
	.pics h1{ font-size: 16px; font-weight: normal; margin: 0px; padding: 10px 20px 0px 20px; color: #82302f; }
	.pics p { margin: 10px 20px; }
.copybox { width: 400px; position: absolute; bottom: 20%; left: 17px; padding: 10px 20px;
	background: rgba(66, 33, 0, 0.65); color: #FFF; }
	.copybox h1 { font-size: 16px; font-weight: normal; margin: 0px; padding: 0px; color: #b19a70; }
.copycolumn { width: 300px; color: #FFF; float: right; padding: 20px 30px 0px 0px; color: #222; }
	.copycolumn h1{ font-size: 16px; font-weight: normal; margin: 0px; padding: 0px; color: #82302f; }

#slides { position: absolute; top: 0; left: 0; z-index: 0; width: 952px; height: 100%; background: #e0d7c5; overflow: hidden; }
/* #shadow { width: 960px; height: 41px; background: url(../img/bg-shadow.png) right no-repeat; } */
#shadow { width: 442px; height: 51px; background: url(../img/bg-shadow-2a.png) right no-repeat; position: relative; left: 557px; }
	#shadow div { width: 40px; height: 228px; background: url(../img/bg-shadow-2b.png) no-repeat; position: absolute; right: 1px; top: -228px; }

#gallery {}
#gallery #image { width: 400px; float: left; }
#gallery #thumbs { width: 120px; height: 500px; text-align: center; position: absolute; left: 400px; padding-bottom: 10px; outline: none; }
#gallery #thumbs #ssthumbs li { list-style: none; }
#gallery #description { width: 400px; float: right; margin-right: 25px; }
	#description h1 { font-size: 16px; font-weight: normal; margin: 0px; padding: 10px 20px 0px 0px; color: #82302f; }
	#description p { margin: 10px 0px; }

ul#ssthumbs { margin: 0px; padding: 0px; }
#ssthumbs a { width: 80px; padding: 3px; display: inline-block; border: 1px solid #b19a70; margin-top: 10px; }
#ssthumbs li.activeSlide a { /* background: #82302f; */ }
#ssthumbs a:focus { outline: none; }

hr { border-bottom: solid 4px #420d00; }
.clear { display: block; clear: both; margin: -6px 0; visibility: hidden;}

#footer { position: absolute; bottom: 0px; left: 10px; }








/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
