/*
 * 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: #b3d4fc;
    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
   ========================================================================== */

/* apply a natural box layout model to all elements */
* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
    * {
        -webkit-text-size-adjust:100%
    }

    body {
        -webkit-text-size-adjust: none;a
    }


html {
    min-height: 100%;
    height: 100%;
}

body{
    width: 100%;
    min-height: 100%;
    height: 100%;
    background: url('../img/darkCloth.jpg') repeat fixed;
    font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif;
}


img{
    border: 0;
}



#header h1, #pixels{
    color: #48941A;
}

.float-left{
    float: left;    
    margin: 0 0 0 20px;
}

.float-right{
    float: right;
    margin-right: 40px;
}

.center{
    font-size: 2.5em;
    padding: 80px 0 0 0;
    text-align: center;
}

#nav{
    list-style: none;
    position: fixed;
    right: 20px;
}

#nav li{
    margin: 0 0 15px 0; 
}

#header, #intro, #second{
    width: 100%;
}

#logo {
    background:url('../img/logo.png') no-repeat;
    height: 300px;
    width: 250px;
    position: fixed;
    top: 0;
    left: 50%;
    margin-left: -470px;
    z-index: 320;
    pointer-events: none;
}

#intro{
    background:url('../img/bg_intro_1500.jpg') 50% 0 no-repeat fixed;
    color: white;
    height: 100%;
    margin: 0 auto;
    padding: 0;
}

#intro .bg{
    background: url('../img/large_branch.png') 50% -700px no-repeat fixed;
    height: 1300px;
    margin: 0 auto;
    margin-top: -300px;
    padding: 0;
    position: absolute;
    width: 900px;
    z-index: 200;
}

#intro #welcome {
    position: absolute;
    bottom: 50%;
    padding: 20px 0;
    margin-bottom: -100px;
    left: 50%;
    margin-left: -180px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
}

#welcome h1 {
    display: block;
    width: 639px;
    height: 173px;
    background: url('../img/large_logo.png') no-repeat;
    text-indent: -99999px;
    font-size: 150px;
    line-height: 120px;
    margin: 0;
    margin-bottom: 30px;
}
#welcome span {
    font-size: 34px;
    margin: 0;
    border: 1px solid #fff;
    border-left: 0;
    border-right: 0;
    padding: 10px 0;
}

#about{
    background: url('../img/bg_about_1500.jpg') 50% 0 no-repeat fixed;
    color: white;
    height: 800px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0;
}

#about p {
    font-size: 20px;
}

.motto {
    font-weight: lighter; font-size: 22px; font-family: 'Cutive Mono', serif; letter-spacing: -1px; text-transform: uppercase; text-align: center; margin: 0;
}

.fancyDivider {
    height: 17px;
    background: url('../img/divider.png') no-repeat center;
    border: 0;
}



#gallery{
    background: url('../img/bg_gallery_1500.jpg') 50% bottom repeat-y fixed;
    color: white;
    height: 700px;
    padding: 100px 0 0 0;   
}

.flexslider {
    max-width: 960px;
    margin: 0 auto;
    background: none;
    border: none;
}

.flexslider .slides img {
    width: auto; margin: 0 auto;
    max-width: 100%;
    height: 480px;
    box-shadow: 0 1px 4px rgba(0,0,0,.2); -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2); -moz-box-shadow: 0 1px 4px rgba(0,0,0,.2); -o-box-shadow: 0 1px 4px rgba(0,0,0,.2); 
}

#contact{
    background: url('../img/bg_contact_1500.jpg') 50% 0px no-repeat scroll;
    height: 700px;
    position: relative;
    margin: 0 auto;
    padding: 40px 0 0 0;
}
.phone {
    font-size: 22px;
}

.phone a {
    background: url('../img/phoneIcon.png') no-repeat left;
    background-size: 10px;
    color: #c39987;
    padding-left: 20px;
    text-decoration: none;
}

.phone a:hover {
    color: #fff;
}

.story{
    margin: 0 auto;
    margin-top: 30px;
    //min-width: 980px;
    overflow: hidden;
    width: 980px;
    position: absolute;
    left: 50%;
    margin-left: -470px;
    min-height: 100%;
}

.bottom-anchor {
    bottom: 140px;
}

.story .float-left, .story .float-right{
    margin-top: 100px;
    width: 450px;   
}

footer {
    height: 100px;

    position: relative;
}

#redBand {
    width: 100%;
    max-width: 2200px;
    height: 60px;
    margin: 0 auto;
    background: url('../img/redBand.jpg') repeat-x;
    z-index: 30;
  -webkit-box-shadow: 0 2px 10px rgba(0,0,0,0.85);
     -moz-box-shadow: 0 2px 10px rgba(0,0,0,0.85);
          box-shadow: 0 2px 10px rgba(0,0,0,0.85);
}

#disclaimer {
    position: absolute;
    top: 16px;
    z-index: 100;
    padding-right: 77px;
    color: #c39987;
    font-weight: bold;
    left: 50%;
    margin-left: -470px;
}

#ed_label {
    position: absolute;
    top: -2px;
    left: 50%;
    margin-left: 310px;
    z-index: 100;
    display: block;
    width: 180px;
    height: 76px;
    background: url('../img/ed_label.png') no-repeat top;
    text-indent: -99999px;
}

#ed_label:hover {
    background-position: bottom;
}

.fb_label {
    z-index: 100;
    display: block;
    position: absolute;
    top: -2px;
    left: 50%;
    margin-left: -235px;
    line-height: 30px;
    width: 74px;
    height: 70px;
    background: url('../img/facebook.png') no-repeat top;
    text-indent: -99999px;
}

.fb_label:hover {
    background-position: bottom;
}


/* Affiliate listing */

#affiliates {
    margin: 0;
    padding: 0;
    padding-left: 0px;
    padding-top: 40px;
}

#affiliates li {
    float: left;
    width: 320px;
    text-indent: 0;
    list-style-type: none;
}


h1 {
    color: #fff;
    margin: 0;
    font-size: 14px;
    text-transform: uppercase;
    background: rgba(255,255,255,0.2);
    width: auto;
    text-align: center;
    position: relative;
    top: 40%;
    padding: 20px 0;
    z-index: 5;
}

h2 {
    font-size: 56px;
    line-height: 40px;
    letter-spacing: -2px;
    margin-bottom: 30px;
}

h3 {
    font-size: 28px;
    margin: 0;
}

p {
    margin-top: 0;
    font-family: serif;
}

#primaryNav {
    width: 1003px;
    height: 79px;
    background: transparent url('../img/nav_bg.png') no-repeat center top;
    position: fixed;
    top: 0;
    left: 50%;
    margin-left: -501px;
    z-index: 300;
}

#primaryNav ul {
    position: absolute;
    left: 175px;
    margin: 0;
    top: 16px;
}

#primaryNav ul li {
    float: left;
    margin: 0;
    margin-right: 20px;
}

#primaryNav ul li a {
    color: #a33b2d;
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
}

#primaryNav ul li a:hover {
    color: #c39987;
}

.link-active {
    color: #fff !important;
}

#contactBrief {
    font-weight: bold;
    position: absolute;
    right: 50px;
    top: 20px;
    letter-spacing: -1px;
}

#mapLink {
    background: url('../img/mapIcon.png') no-repeat left;
    background-size: 10px;
    color: #c39987;
    padding-left: 20px;
    text-decoration: none;
}

#mapLink:hover {
    color: #fff;
}

.box {
    height: 100%;
    width: 100%;
    background-attachment: fixed;
    z-index: 1;
    position: relative;
    background: url('../img/bg_counter.jpg');
}

#slider {
    margin: 0 auto;
    width: 940px;
    height: 450px;
    background: #000 url('../img/orbit/loading.gif') no-repeat center center; overflow: hidden; }
}
          
#slider img,  
#slider div { display: none; }

#slider, div.orbit-wrapper { 
    margin: 0 auto;
}

.brown {
    color: #530000;
}

.red {
    color: #a33b2d;
}

.tan {
    color: #c39987;
}

.grey {
    color: #847c7b;
}

.white {
    color: #fff;
}

.dark-container {
    background: rgba(0,0,0,0.7);
    padding: 0px 40px 20px 40px;
}

#inlineLogo {
    max-width: 100%;
    margin: 10px 0;
}










/* ==========================================================================
   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: 1700px) {
    #intro {
        background:url('../img/bg_intro_2200.jpg') 50% 0 no-repeat fixed;
    }

    #about {
        background:url('../img/bg_about_2200.jpg') 50% 0 no-repeat fixed;
    }

    #gallery {
        background:url('../img/bg_gallery_2200.jpg') 50% 0 no-repeat fixed;
    }

    #contact {
        background-image: url('../img/bg_contact_2200.jpg');
    }


}

@media only screen and (max-width: 640px) {
    body {
        width: 100%;
    }

    #primaryNav {
        display: none;
        width: 100%;
        margin: 0;
        left: auto;
    }

    #intro {
        display: none;
    }

    .fancyDivider {
        background-size: 75%;
    }

    #logo {
        height: 150px;
        width: 125px;
        left: 50%;
        margin-left: -63px;
        position: absolute;
        background-size: 100%;
    }


    #gallery {
        height: auto;
        padding: 20px 0;
        background: url('../img/bg_gallery_mobile.jpg') repeat 50% 50%;
    }

    .flexslider .slides img {
        height: 200px;
    }


    .flex-direction-nav a {
        background-size: 50px;
        margin-top: -10px;
        width: 25px;
        height: 25px;
    }

    .flex-direction-nav .flex-prev {
        opacity: 1;
        left: 20px;
    }

    .flex-direction-nav .flex-next {
        opacity: 1;
        right: 20px;
    }

    #about {
        width: 100%;
        background: #000 url('../img/bg_about_mobile.jpg') no-repeat 50% 70%;
        height: auto;
        padding-top: 450px;
        padding-bottom: 10px;
    }
    .story {
        min-width: 0px;
        width: 80%;
        position: static;
        left: auto;

        margin: 0 auto;
    }
    #about .story p {
        font-size: 15px;
    }

    #inlineLogo {
        display: none;
    }

    .story .float-left, .story .float-right {
        width: 100%;
        max-width: 100%;
        margin: 0;
        float: left;
    }

    #contact {
        height: auto;
        background: url('../img/bg_contact_mobile.jpg') repeat;
        padding-top: 0px;
    }

    .phone a {
        color: #fff;
        display: block;
        width: 95%;
        margin: 0 auto;
        border: 1px solid #a33b2d;
        padding: 10px;
        padding-left: 55px;

        background-position: 20px;
        background-size: 20px;
        box-shadow: 2px 2px 6px #000;
    }

    .phone a:hover, #mapLink:hover {
        border: 1px solid #c39987;
    }

    #mapLink {

        color: #fff;
        display: block;
        width: 95%;
        font-size: 12px;
        margin: 0 auto;
        border: 1px solid #a33b2d;
        padding: 10px;
        padding-left: 55px;
        background-position: 20px;
        background-size: 20px;
        box-shadow: 2px 2px 6px #000;
    }

    #affiliatesTitle {
        display: none;
    }

    #affiliates {
        display: none;
    }

    #disclaimer {
        margin: 0;
        left: 0;
        width: 100%;
        text-align: center;
        padding: 0;
        margin-top: 50px;
    }

    #ed_label {
        margin-left: -50px;
    }

    .fb_label {
        margin-left: -120px;
        top: -1px;
    }

}

@media only screen and (max-width: 500px) {
    #about {
        width: 100%;
        height: auto;
        background: url('../img/bg_about_mobile.jpg') no-repeat 50% 90%;
        padding-top: 350px;
        padding-bottom: 10px;
    }
}

@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;
    }
}
