/*--------------------------------------------------------------
1.0 - Reset
--------------------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centered in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust:     100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}

*,
*:before,
*:after { /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
	-webkit-box-sizing: border-box; /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */
	-moz-box-sizing:    border-box; /* Still needed for Firefox 28; see http://caniuse.com/#search=box-sizing */
	box-sizing:         border-box;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
}

ol,
ul {
	list-style: none;
}

table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

a img {
	border: 0;
}

img 
{
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
}

/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: sans-serif;
	font-size: 16px;
/*	font-size: 1.6rem;*/
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

b,
strong {
	font-weight: bold;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	bottom: 1ex;
}

sub {
	top: .5ex;
}

small {
	font-size: 75%;
}

big {
	font-size: 125%;
}

/*************************Reset**********************************/

html, body
{
	width: 100%;
    height: calc(100% - 27px);
	margin: 0;
	padding: 0;
    font-family: sans-serif;
}

.thumb img, #text
{
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.7);
}

a
{
    transition: all .5s;
}

a:link
{
    color: #454545;
    text-decoration: none;
    
}

a:hover
{
    color: #696969;
}

a:visited
{
    color: #454545;
}

/*************************Header**********************************/

#navbar
{
    position: fixed;
    top: 0;
    background: #bebebe;
	display: inline-block;
	width: 100%;
	padding: 0px 0px 0px 0px;
/*	outline: 1px solid #000;*/
}

#main_navigation ul
{
/*	display: inline-block;*/
	list-style: none;
	margin: 0 auto;
	padding: 0;
	max-width: 70%;
	width: 100%;
}

#main_navigation li
{
	float: left;
	width: 25%;
	text-align: center;
}

#main_navigation li a
{
    display: inline-block;
	padding-top: 15px;
	padding-bottom: 15px;
    width: 100%;
    font-weight: bold;
    font-size: 14pt;
    border-bottom: 5px solid #bebebe;
    border-top: 5px solid #bebebe; 
}

#main_navigation li a:hover
{
    border-bottom: 5px solid #696969;   
    border-top: 5px solid #696969;   
}

#main_navigation li:last-child
{
	width: 10%;
	position: absolute;
	right: 0px;
/*	text-align: right;*/
}

#logo
{
    padding-top: 10px;
    font-size: 16pt;
    font-weight: bold;
	position: absolute;
    left: 10px;
    width: 150px;
}


/*************************Main**********************************/

#content
{
    margin: 0 auto;
/*    margin-top: 70px;*/
    max-width: 90%;
    min-width: 800px;
    min-height: 100%;
}

#product-wrapper
{
/*    display: inline-block;*/
    margin-top: 10%;
    margin-bottom: 10%;
}

.product
{
    display: inline-block;
    padding: 10px;
    border-bottom: 1px solid #000;
}

.thumb
{
    max-width: 26%;
/*    height: 300px;*/
/*    outline: 1px solid #000;*/
    float: left;
/*    overflow: hidden;*/
    margin: 0 20px 20px 20px;
}

.thumb img
{
    max-width: 100%;
}

.product .content
{
    padding: 20px;
    float: left;
    width: 68%;
    
    background: #190F0E;
    color: #E7E9D4;
}

.product .content h3
{
    font-size: 18pt;
}
/*************************Page**********************************/

#page-wrapper
{
    height: calc(100% - 100px);
    display: inline-block;
    margin-top: 100px;
}

#page-wrapper #main-image
{
/*    position: relative;*/
    width: 40%;
/*    height: calc(100% - 10% - 100px);*/
/*    outline: 1px solid #000;*/
    float: left;
/*    overflow: hidden;*/
    margin: 5%;
/* margin-top: 0; */
}

#page-wrapper #main-image img
{
    max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
/*
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
*/
}

#body
{
/*    margin-left: 50%;*/
    width: 50%;
    float: left;
    padding: 5%;
    border-left: 3px solid #777;
}

#body:nth-child(1)
{
    border: 0;
    width: auto;
}

#page-wrapper h1
{
/*    margin-left: 20px;*/
    margin-bottom: 10px;
    margin-top: 0;
    font-size: 18pt;
}

#page-wrapper #text
{
    padding: 20px;
    /* margin-left: 50%; */
    /* margin-top: 10%; */
/*    background: #bbb;*/
}

/*************************Single**********************************/

#single-wrapper
{
    height: calc(100% - 100px);
    display: inline-block;
    margin-top: 100px;
}

#single-wrapper #main-image
{
    width: 30%;
/*    height: 350px;*/
/*    outline: 1px solid #000;*/
    float: left;
/*    overflow: hidden;*/
    margin: 5%;
/* margin-top: 0; */
}

#single-wrapper #main-image img
{
    max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
}

#single-wrapper #body
{
/*    margin-left: 40%;*/
    padding: 5%;
/*    border-left: 3px solid #777;*/
}

#single-wrapper h1
{
/*    margin-left: 20px;*/
    margin-bottom: 10px;
    margin-top: 0;
    font-size: 18pt;
}

#single-wrapper #text
{
    padding: 20px;
    /* margin-left: 50%; */
    /* margin-top: 10%; */
/*    background: #bbb;*/
}

#single-wrapper #text #order-details
{
/*    border-top: 3px solid #777;*/
    margin-top: 20px;
/*    padding-top: 20px;*/
}

#single-wrapper #text #order-details h3
{
    font-size: 15pt;
}

footer
{
    background: #8aaeff;
    font-size: 10pt;
    display: inline-block;
    width: 100%;
    bottom: 0px;
}

#footer
{
    background: #bebebe;
    position:relative;
    bottom:0%;
    font-size:9pt;
    padding:20px;
    margin: 0 auto;
    text-align:center;
}

.clear
{
    clear: both;
}