/*
 * 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;
    font-family:Helvetica, 'Helvetica Neue', Arial, sans-serif;;
    line-height: 1.4;
    color:#000;
}

html { 
	background-color: #333333;
    background-image: url("../imgs/bg.png");
    background-repeat: repeat-x;
}


#main{
		max-width: 855px; /* 1140px - 10% for margins */
        margin: 0 auto;
        color:#FFF;       
}

#content{
margin-top:20px;
background-color: #e6e6e6;
color:#000;
padding:10px;
-webkit-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.75);
-moz-box-shadow:    0px 5px 10px 0px rgba(0, 0, 0, 0.75);
box-shadow:         0px 5px 10px 0px rgba(0, 0, 0, 0.75);
}


.logo-wrapper{
		width:812px;
		margin: 0 auto;
}

.logo{
	width:100%;
	max-width:812px;
	margin: 0 auto;
	display:block;
}

nav ul{
	padding:0px;
	width:100%;
	background: #4e5356;
background: -moz-linear-gradient(top,  #4e5356 0%, #373b3e 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4e5356), color-stop(100%,#373b3e));
background: -webkit-linear-gradient(top,  #4e5356 0%,#373b3e 100%);
background: -o-linear-gradient(top,  #4e5356 0%,#373b3e 100%);
background: -ms-linear-gradient(top,  #4e5356 0%,#373b3e 100%);
background: linear-gradient(to bottom,  #4e5356 0%,#373b3e 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4e5356', endColorstr='#373b3e',GradientType=0 );

}

nav li{
	border-right:1px solid #2F3336;
	display:inline-block;
	width:16%;	
	text-align:center;
}

nav li a{
	border-bottom:5px solid #373b3e;
}

nav li a:hover{
	border-bottom:5px solid #416b83;
	
	}
	
	nav li a.current{
	border-bottom:5px solid #93331C;
	}

nav li a{
	color: #FFFFFF;
	text-decoration:none;	
	display:inline-block;
	padding:10px 0px;
}

nav li:last-child {
	border-right:none;
	}


.products{
margin:0px; display:inline-block; text-align:center; width:135px;

}




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

















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

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


@media only screen and (max-width: 600px) {



nav ul{
	padding:0px;
	width:100%;
	background:  rgba(0, 0, 0, 0.5);
	border-bottom:1px solid #373b3e;
	border-top:1px solid #373b3e;
	margin:10px;


}


   nav li{
	border-right:none;
	border-bottom:1px solid #373b3e;
	display:inline-block;
	margin:3px;
	padding:10px;
	width:auto;
	text-align:center;
	background:  rgba(0, 0, 0, 0.5);
	
}

nav li:hover{
	border-bottom:1px solid #373b3e;
	}
	
	nav li.current{
	border-left:5px solid #93331C;
	border-bottom:1px solid #373b3e;
	}
		
nav li a{
	color: #FFFFFF;
	text-decoration:none;	
	display:inline;
	
}

nav li:last-child {
	border-right:none;
	}


.flexslider {
    width:100%;
}

.product{
width:100%;
}

.copy{
width:90%;
margin-left:5px;
}

.twoColumn{
display:block;
width:auto;
}

.copy img.bigX{
margin:5px;
width:30%;
}