/*
 * 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.
 */



  /* ==========================================================================
                    VERSION HISTORY
    
    april 15 2014 
    -- added active class for navigation (line 183) -ping




========================================================================== */



/* ==========================================================================
        FRACTION SLIDER
========================================================================== */
.fraction-slider{
    position:relative;
    width:100%; height:100%;
    overflow:visible;
}

.fraction-slider .slide{
    display:none; width:100%; height:100%;
    position:absolute;
    z-index:5000;
}

.fraction-slider .active-slide{
    z-index:9999;
}

.fraction-slider .fs_obj{
    display:block; display:none;
    position:absolute;
    top:0px; left:100%;
    z-index:7000;
}

.fraction-slider .fs_fixed_obj{
    z-index:6000;
    left:0;
}

.fraction-slider .fs_obj *{
    display:inline-block;
    position:relative;
    top:0px; left:0px;
}

.fs_loader{
    width:100%; height:400px;
    background:url(images/fs.spinner.gif) center center no-repeat transparent;
}

/** CONTROLS **/

.fraction-slider .prev,
.fraction-slider .next{
    display:none;
    position:absolute;
    width:45px; height:45px;
    z-index:9999;
}

.fraction-slider .prev{
    left:10px; top:45%;
    background:url(images/fs.prevnext.png) 0px 0px no-repeat transparent;
    
}
.fraction-slider .prev:hover{
    background:url(images/fs.prevnext.png) 0px -45px no-repeat transparent;
}

.fraction-slider .next{
    right:10px; top:185px;
    background:url(images/fs.prevnext.png) -45px 0px no-repeat transparent;
}
.fraction-slider .next:hover{
    background:url(images/fs.prevnext.png) -45px -45px no-repeat transparent;
}

.fraction-slider:hover .prev,
.fraction-slider:hover .next{
    display:block;
}

/** PAGER **/

.fs-pager-wrapper{
    position:absolute;
    left:10px; bottom:10px;
    z-index:9999;   
}

.fs-pager-wrapper a{
    display:inline-block;
    width:14px; height:14px;
    margin:0 5px 0 0;
    background:url(images/fs.pager.png) 0px -14px no-repeat transparent;
}
.fs-pager-wrapper .active{
    background:url(images/fs.pager.png) 0px 0px no-repeat transparent;
}



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


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

body {
    font-size: 1em;
    
    background: #000;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets 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
   ========================================================================== */
   
   .garagegothic{ font-family: 'Pathway Gothic One', sans-serif; }

body{color:#fff}

h3{font-size:60px}

p{font-size:26px;line-height:30px;word-wrap:break-word;}

a{color:#fff}

a:focus{outline:none;border:0;}

.max-width{max-width:100%}
#wrapper{
float:left;
background:#000;
}

#header{
	background: rgba(0,0,0,0);
    position: fixed;
    width: 100%;
	float:left;
	border-bottom:0px solid#333;
	z-index: 1;
}
.head_top{
	background: rgba(0,0,0,1);
	}
.head_bottom{
height:185px;
	background: rgba(0,0,0,0) url(../img/fade.png) top center repeat-x;
	}
.container{
	margin:0 auto;

	}
    .box{padding:0 2.954209%}
        .box-content{padding:20px 0;}
            .box-left{padding-right:10px}
            .box-right{padding-left:10px}
            .box-text{width:51.698670%} /* 700px/1354px */
                .box-text h3{text-transform:uppercase;margin:0 0 10px;}
                .box-text p{margin:0 0 20px}
            .box-image img{display:block;width:100%;}
            .box-wall-image img{max-width:100%;}     
    .table{display:table;table-layout:fixed}
        .table-cell{display:table-cell;vertical-align:middle}
            .table-cell.box-left.box-image{text-align:left;}
            .table-cell.box-right.box-image{text-align:right;}

.button{font-size:40px;background:#ec1d23;display:block;padding:8px 15px 15px;text-align:center}

.down-arrow, .up-arrow{text-align:center}

.float-left{float:left;}

.float-right{float:right;}

.text-center{text-align:center;}

.background{background-size:cover;background-attachment:fixed;background-repeat:no-repeat;background-position:center top; position:relative;}

.cufon-loading { 
                visibility: hidden;
}

/* Header */
#logo{float:left;padding:5px 15px}
#main-navigation{float:right}
    #main-navigation ul{padding:0;margin:0; height: 65px;}
        #main-navigation ul li{display:inline-block}
            #main-navigation ul li a{
                color:#fff;text-decoration:none;
                font-size:32px;
                text-transform:uppercase;
                padding:15px;
                display:block;
                background-color:transparent;
                transition: all 0.5s;
                -moz-transition: all 0.5s;
                -o-transition: all 0.5s;
                -ms-transition: all 0.5s;
                -webkit-transition: all 0.5s;
            }
                #main-navigation ul li a:hover{
                    background-color:#ec1d23;
                    transition: all 0.5s;
                    -moz-transition: all 0.5s;
                    -o-transition: all 0.5s;
                    -ms-transition: all 0.5s;
                    -webkit-transition: all 0.5s;
                }
    #mobile-navigation-wrapper{background:#2c2c2d;opacity:.9;outline:0}
        #mobile-navigation{display:none;padding:20px 0;background:url(../img/mobile-nav.png) center right no-repeat;cursor:pointer;outline:0}


/* NAV ACTIVE CLASS */
.active {background-color:#ec1d23 !important;}


/* Banner */
    #our-coffee-story-left{float:left;width:20%;padding:15px 0;text-align:center;}
    #our-coffee-story-right{float:right;width:75%;}
        #our-coffee-story-right .button{width:245px}
        #our-coffee-story-image-mobile{display:none;}

/* Our Coffees */
#our-coffees .button{width:275px}

/* Wall First */
#wall-first{background-image:url('../img/shots/11.jpg'); min-height: 780px; }
    #wall-first-image{float:left;position:relative;left:70px;padding: 100px 0;}
        #wall-first-image .button{position:absolute;right:-118px;bottom:230px;width:300px;}

/* Roasting */

/* Wall Second */
#wall-second{background-image:url('../img/shots/2.jpg'); min-height: 780px; }
    #wall-second-image{float:right;position:relative;right:70px;padding:100px 0;}

/* Wall Third */
#wall-third{background-image:url('../img/shots/10.jpg');min-height:780px;}

/* Wholesale Orders */

/* Wall Fourth */
#wall-fourth{background-image:url('../img/shots/15.jpg'); min-height: 780px; }
    #wall-fourth-image{position:relative;float:right;right:70px;padding:100px 0;}
        #wall-fourth-image .button{position:absolute;bottom:280px;left:-175px;width:360px;}

/* Shop Now */
#shop-now{background-image:url('../img/grungeBG.jpg');background-repeat:no-repeat;background-attachment:scroll;background-size:auto;background-position:center -122px;}
    #shop-now .box-text{margin:0 auto;padding:20px 0 0}
    #shop-now .button{width:275px;margin:0 auto;position:relative;bottom:150px;}
    #shop-now .box-image{position:relative;}


.topsspace{height:65px; width:100%; background:rgba(0,0,0,0); position:absolute; bottom:0;}
.topsspacetop{height:65px; width:100%; background:rgba(0,0,0,0); top:0;}


/* --------------------------------------------
   1080px viewport
-------------------------------------------- */
@media screen and (max-width: 1080px) {

    /* Header */
    #logo,#main-navigation{
        float:none;
    
    }

    #logo {
        float:left;
    }

    .desktop-nav, #menu-homepage {
        display:none !important;
    }

    .mobile-toggle {

    }

    /* Shop Now */
    #shop-now .button{bottom:75px;}
	.topsspace{height:128px; width:100%; background:rgba(0,0,0,0); position:absolute; bottom:0;}
	.topsspacetop{height:128px; width:100%; background:rgba(0,0,0,0); top:0;}
}


/* --------------------------------------------
   800px viewport
-------------------------------------------- */
@media screen and (max-width: 800px) {

    h3 { font-size: 46px; }
    p { font-size: 24px; line-height: 24px }
    .button {  font-size: 28px;padding: 2px 0 8px;}

    /* Header */
    #mobile-navigation{display:block}
    #main-navigation{float:none}
        #main-navigation ul{display:none;position:absolute;width:100%;z-index:999;background:#2c2c2d;opacity:.9; overflow:hidden; height:auto;}
            #main-navigation ul li{display:inline;text-align:center;}
                #main-navigation ul li a{padding:8px;font-size:24px}

    /* Wall First */
        #wall-first-image{float:none;left:0;padding: 100px 0;text-align:center;}
            #wall-first-image .button{position:relative;right:0;bottom:0;margin:20px auto 0;width:275px;}

    /* Wall Second */
    #wall-second-image{float:none;right:0;text-align:center;}

    /* Wall Fourth */
        #wall-fourth-image{position:relative;float:none;right:0;padding:100px 0;text-align:center;}
            #wall-fourth-image .button{position:relative;bottom:0;left:0;margin:20px auto 0;width:275px;}

    /* Shop Now */
    #shop-now .button{bottom:50px;}
	
	.topsspace{height:104px; width:100%; background:rgba(0,0,0,0); position:absolute; bottom:0;}
	.topsspacetop{height:104px; width:100%; background:rgba(0,0,0,0); top:0;}
}


/* --------------------------------------------
  Mobile
-------------------------------------------- */
@media (max-width: 600px) {
    
    .table,.table-cell{display:block;}
    .button{margin:0 auto;}
    .box{padding:0;width:80%;margin:0 auto;}
    .box-left{padding-right:0}
    .box-right{padding-left:0}
    .box-text{width:100%;text-align:center;}
    .box-image{width:50%;margin:0 auto;}

    #our-coffee-story-right .button,#our-coffees .button{width:200px;}

    #wall-first-image,#wall-second-image,#wall-fourth-image{width:100%;}

    #our-coffee-story-left{float:none;width:50%;margin:0 auto;padding:10px 0;}
        #banner #our-coffee-story-image{display:none;}
        #banner #our-coffee-story-image-mobile{display:block;}
    #our-coffee-story-right{float:none;width:100%;}
    #banner .box-right{display:none;}

    /* Shop Now */
    #shop-now{background-size:cover;background-position:center top}
        #shop-now .button{bottom:0;width:auto;}    
	.topsspace{height:104px; width:100%; background:rgba(0,0,0,0); position:absolute; bottom:0;}
	.topsspacetop{height:104px; width:100%; background:rgba(0,0,0,0); top:0;}
}

/* --------------------------------------------
  < 300px
-------------------------------------------- */
@media (max-width: 300px) {
    #our-coffee-story-right .button,#our-coffees .button,#wall-first-image .button,#wall-fourth-image .button{width:auto;}
.topsspace{height:104px; width:100%; background:rgba(0,0,0,0); position:absolute; bottom:0;}
	.topsspacetop{height:104px; width:100%; background:rgba(0,0,0,0); top: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: 150%;
}

/*
 * 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.
 */

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

.clear:after {
    clear: both;
}

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

.clear {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These 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 print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dppx) {
    /* 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;
    }
}





/*=====================================
       CUSTOM BOILERPLATES
====================================*/

.upper {text-transform:uppercase;}
.block {display:block;}
.inline-block { display:inline-block;}
.absolute {position:absolute;}
.relative {position:relative;}
.center {text-align:center;}
.awesome {font-family:'FontAwesome'}
.white {color:#fff;}


/*=====================================
     ADDITIONAL STYLES/OVERRIDES
     APRIL 15 2014
====================================*/

.container {
    height:100%;
}


/* DETAIL BLOCK SECTIONS */

    .section-details {
        background: url('../img/grungeBG.jpg');
        background-size: cover;
        background-position: center top;
        background-attachment: fixed;
        overflow:hidden;
    }
    
    .bullet-img {
        width:80px;
        margin:0 auto;
    }

    .detail-block h3, p {
        margin:0;
    }

    .bullet-img {
        margin-bottom:20px;
    }

    span.line {
        width: 40%;
        height: 1px;
        margin: 0 auto;
        margin-top: 10px;
        border-bottom: 1px solid #ccc;
        margin-bottom: 10px;
    }

    .detail-block p {
        width:60%;
        margin:0 auto;
    }

    .detail-button {
        padding: 7px;
        background: #ec1d23;
        font-size: 25px;
        text-decoration: none;
        margin: 0 auto;
        display: block;
        width: 197px;
        margin-top: 30px;
    }

/* /DETAIL BLOCK SECTIONS */


.down-arrow, .up-arrow {
    text-align: center;
    position: absolute;
    left: 50%;
    margin-left: -39.5px;
    opacity: 0.3;

    transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -webkit-transition: all 0.5s;
}


.down-arrow:hover {
    opacity: 1;
    transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -webkit-transition: all 0.5s;
}

.up-arrow:hover {
    opacity: 1;
    transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -webkit-transition: all 0.5s;
}

.down-arrow {
    bottom:0;
}

#wrapper {
    width:100%;
}


#wall-intro {
    background-image:url('../img/shots/13.jpg');
    overflow:hidden;
}

#wall-fifth {
    background-image:url('../img/shots/12.jpg');
    min-height:780px;
    height:100%;

}


#footer {
    background-image:url('../img/shots/14.jpg');
    min-height:780px;
    height:100%;

}

.detail-block {
    width:100%;
}

.scroll-img {
    width: 90px;
    bottom: 0;
    margin-bottom: 35px;
    left: 50%;
    margin-left: -45px;
}



/* --------------------------------------------
   MOBILE NAV
-------------------------------------------- */
.mobile-nav {
    padding: 10px 0px 0px 0px;
    margin: 0;
    clear:both;
}

.mobile-nav li a {
    text-align: center;
    list-style-type: none;
    font-size: 32px;
    text-transform: uppercase;
    padding: 10px 0px 10px 0px;
    text-decoration: none;
    display: block;

    transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -ms-transition: all 0.5s;

}

.mobile-nav li a:hover {
    background:#ec1d23 !important;

    transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -ms-transition: all 0.5s;
}

.mobile-nav li {
    list-style-type: none;
}


.mobile-nav {
    display:none;
}

.mobile-toggle {
    display:none;
}

@media screen and (max-width:500px) {
    #logo a img {
        width:150px;
        height:auto;
    }

    #logo {
        float:left;
    }

    .mobile-toggle {
        font-size: 35px;
        text-decoration: none;
        line-height: 45px;
        float: right;
        padding-right: 15px;
        display:block;
    }

    .topsspace {
        height:47px !important;
    }

    .up-arrow, .down-arrow {
        display:none;
    }

}



@media screen and (min-width:501px) and (max-width:1080px) {
    #logo a img {
        width:200px;
        height:auto;
    }

    #logo {
        float:left;
    }

    .mobile-toggle {
        font-size: 45px;
        text-decoration: none;
        line-height: 59px;
        float: right;
        padding-right: 15px;
        display:block;
    }

    .topsspace {
        height:59px !important;
    }

    .up-arrow, .down-arrow {
        display:none;
    }

}
















/************* ADDED 06-24-2014 ******************

#main-navigation ul li {
	display: inline-block;
	vertical-align: top;
	text-align: center;
}

ul.sub-menu {
	display: none !important;
}

.menu-item-has-children:hover ul.sub-menu {
	display: block !important;
}

li#menu-item-296 {
	width: 146px;
}

*/


#store_close_wrap {
	position: absolute;
	display: inline-block;
	margin: auto;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	/*min-width: 800px;*/
	max-height: 542px;
	max-width: 1300px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	/* z-index: 9999; */
	background-image: url(../img/bg_shop_closed.png);
	background-position: center right;
	background-size: cover;
	background-repeat: no-repeat;
	border: 1px solid rgba(42, 5, 6, 0.8);
}

/*#store_close_wrap div#store_close {
	background-image: url(../img/bg_shop_closed.png);
	background-position: center right;
	background-size: 100%;
	background-repeat: no-repeat;
}*/

#store_close_wrap div#store_close img {
	width: 100%;
	height: auto;
}

#store_close_wrap div#store_close_text {
	width: 50%;
	padding: 15% 0%;
	text-transform: uppercase;
	text-align: center;
	font-family: 'Pathway Gothic One', sans-serif;
}

#store_close_wrap div#store_close_text h2.close_head {
	font-size: 65px;
	margin: auto;
	color: #ec1d23;
}

#store_close_wrap div#store_close_text h3.close_body {
	font-size: 50px;
	margin: auto;
}

/* RESPONSIVE */

@media (max-width: 700px) {
	#store_close_wrap div#store_close_text {
		width: 100%;
		padding: 30% 0%;
	}

	#store_close_wrap div#store_close_text h2.close_head {
		font-size: 45px;
	}
	
	#store_close_wrap div#store_close_text h3.close_body {
		font-size: 35px;
	}

}