/**
 * Global Styles
 */

/**
 * Page Basics
 */

html {
    background: rgb(245, 245, 245);
    color: #333;
}

body {
    margin: 0;
    font-family: Arial, helvetica, sans-serif;
}
/*
#content {
    background: #fff;
    text-align: left;
}
*/
a, a:link, a:visited {
    font-weight: bold;
    text-decoration: underline;
    color: #333;
}

a:hover {
    color: rgba(26, 156, 180, 0.97);
}

h3+ul, h3+ol, h4+p, h4+ul, h4+ol,
p+p, p+h3, p+h4, p+ul, p+ol {
    margin: 10px 0;
}

ol {
    margin-left: 20px;
}

/**
 * Page Structure
 */

section,
header#global-header,
#sm-main-navigation,
footer .row {
    width: 100%;
    clear: both;
    text-align: center;
}

.column,
.container {
    position: relative;
    width: 1015px;
    margin: 0 auto;
    text-align: left;
}

section { margin: 0 0 0 0; }
.lined { border-top: 1px solid #333; }

.column:after,
.container:after,
.row:after,
.section:after,
.products:after,
ul.sm-list-collection:after {
  content: "";
  display: table;
  clear: both;
}

section:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

/**
 *  Global Header
 */

header#global-header {
    position: relative;
    height: 158px;
    border-bottom: 10px solid #000;
}

header#global-header .column {
    height: 100%;
}

h1#logo {
  display: block;
  position: absolute;
  top: -1px;
  left: 10px;
  width: 216px;
}

h1#logo img {
  width: 216px;
}

#sm-global-search {
    position: absolute;
    top: 20px;
    right: 0;
    width: 250px;
}

#mini-cart {
    display: block;
    position: absolute;
    top: 22px;
    left: 635px;
    height: 35px;
    width: 145px;
    padding-left: 29px;
    padding-top: 10px;
}

header .login {
    margin-top: 5px;
    font-size: 16px;
    position: absolute;
    top: 26px;
    right: 387px;
    font-weight: normal;
}

a.user-link, 
a.sm-cart-link {
    font-weight: normal;
    font-size: 14px;
    font-style: italic;
    color: #5d5d5d;
}

a.user-link {
    display: inline-block;
    margin-left: 10px;
}

a.sm-cart-link {
    position: relative;
}

/*
#cart-icon {
    display: block;
    background: url('../../images/global/nav/sprite.png');
    background-position: -462px -12px;
    height: 25px;
    width: 25px;
    position: absolute;
    left: -30px;
    top: -5px;
    opacity: 0.35;
}
*/
#cart-icon {
    display: block;
    background: url('../../images/global/nav/cart.png');
    background-size: 18px 18px;
	height: 18px;
    width: 18px;
    position: absolute;
	top: 0px;
	left: -23px;
    opacity: 0.5;
}

a.user-link:hover,
a.sm-cart-link:hover { color: #333; }
a.sm-cart-link:hover #cart-icon { opacity: 0.55; }

#subhead {
    border-bottom: 1px solid rgba(226, 226, 226, 1);
}

/**
 * Main Navigation
 */

nav#sm-main-navigation {
  position: absolute;
  width: 760px;
  height: 42px;
  bottom: -5px;
  left: 260px;
  background: transparent;
  font-family: Courier, serif;
}

#sm-main-navigation .menu-category {
  display: inline-block;
  height: 42px;
}

#sm-main-navigation .menu-category > a { 
  display: block;
  position: absolute;
  height: 42px;
  text-indent: -999px;
  overflow: hidden;
}
#sm-main-navigation .menu-category > a#tab-green-coffee { width: 184px; left: 0;     background: url('../../images/global/nav/01-green-coffee.png'); background-size: 184px 42px; }
#sm-main-navigation .menu-category > a#tab-roasting     { width: 136px; left: 184px; background: url('../../images/global/nav/02-roasting.png');     background-size: 136px 42px; }
#sm-main-navigation .menu-category > a#tab-brewing      { width: 126px; left: 320px; background: url('../../images/global/nav/03-brewing.png');      background-size: 126px 42px; }
#sm-main-navigation .menu-category > a#tab-miscellany   { width: 162px; left: 446px; background: url('../../images/global/nav/04-miscellany.png');   background-size: 162px 42px; }
#sm-main-navigation .menu-category > a#tab-resources    { width: 152px; left: 608px; background: url('../../images/global/nav/05-resources.png');    background-size: 152px 42px; }

.sm-nav-box { 
  display: none;
  position: absolute;
  top: 37px;
  left: -260px;
  width: 1015px;
  padding: 20px 0;
  background: #fff;
  border: 1px solid #ddd;
  border-top: 10px solid #000;
  -moz-box-shadow:0 2px 10px rgba(0,0,0, 0.15);
  -webkit-box-shadow:0 2px 10px rgba(0,0,0, 0.15);
  box-shadow:0 2px 10px rgba(0,0,0, 0.15);
  text-align: left;
  z-index: 1000;
}
#sm-main-navigation .menu-category:hover .sm-nav-box { display: block; }

.sm-nav-box .sm-ornamental {
    position: absolute;
    right: 20px;
    top: 20px;
    height: 132px;
    width: 132px;
    overflow: hidden;
}

.sm-nav-box .sm-ornamental img {}

#sm-nav-brewing-equipment .sm-ornamental img {
    outline: 1px solid #ccc;
}

.sm-nav-box a {
    font: Courier;
    font-weight: normal;
}
.sm-nav-box a {
    text-decoration: none;
}

ul.sm-simple-menu {
    margin-left: 60px;
}

ul.sm-list-collection {
  margin-left: 0;
  line-height: 24px;
}

ul.sm-list-collection > li {
  max-width: 180px;
  float: left;
  margin: 0 0 0 60px;
}

ul.sm-list-collection > li > a,
ul.sm-simple-menu > li > a {
  font-size: 14px;
  margin-bottom: 5px;
}

ul.sm-nested-list {
  margin-left: 0px;
  margin-bottom: 0;
}

ul.sm-nested-list li {
  font-family: Helvetica;
  font-size: 12px;
  line-height: 20px;
}

ul.sm-nested-list li a::before {
    content: '> ';
}

/**
 * Global Search
 */

.sm-global-search-form {
    display: none;
}

/**
 * Page Body
 */

section img,
section .left {
    float: left; 
    margin: 0 20px 10px 0;
}

section .right {
    float: right;
    margin: 0 0px 10px 20px;
}

.sm-sequence li {
    display: inline-block;
}

.sub-category .sub-category {
    display: none;
}

/**
 * Related Products List
 */

.sm-related-products {}

.sm-related-products .related.product {}

.sm-related-products .related.product .product-name {
    position: relative;
    top: -56px;
    left: 5px;
}

/**
 * Global Footer
 */

/*
footer {
    padding-top: 50px;
}
footer {
    font-family: Courier;
    font-size: 1.2em;
    line-height: 1.25em;
}
*/

/**
 * Footer Links
 */

footer .links {
    height: 75px;
}
#footer-links,
#social-activities {
    display: inline-block;
}
#footer-links {
    position: absolute;
    left: 0;
    top: 25px;
}
#footer-links li {
    margin-right: 20px;
}
#footer-links li a {
    font-weight: normal;
    text-decoration: none;
}
#social-activities {
    float: right;
    margin: 21px 56px 0 0;
}

/**
 * Subscription Form
 */
 /*
#subscribe-form {
    float: right;
    margin: 20px 0 0 0;
}
#subscribe-form label, 
#subscribe-form .input-box, 
#subscribe-form button {
    display: inline-block;
}
#subscribe-form .input-text {
    padding: 10px 10px 10px 10px;
    border: 1px solid rgb(221, 221, 221);
    color: rgb(136, 136, 136);
}
#subscribe-form .input-text:hover,
#subscribe-form .input-text:focus {
    border-color: #333;
    color: #333;
}
#subscribe-form button {
    padding: 11px 10px 10px 10px;
    border: 1px solid rgb(229, 229, 229);
    background: rgb(229, 229, 229);
    color: rgb(85, 85, 85);
}
#subscribe-form button:hover {
    border-color: rgba(26, 156, 180, 0.97);
    background: rgba(26, 156, 180, 0.97);
    color: #fff;
}

/**
 * Copyright
 */

.copyright {
    padding: 20px 0;
    background: #ebebeb; 
    color: #888;
}
p#copyright {
    font: 13px Arial, Helvetica, sans-serif; 
    margin: 0;
}
#global-links,
#scroll-to-top {
    display: none;
}

/**
 * Mobile
 */

@media screen and (max-device-width: 640px) {

/**
 * Hidden Elements
 */
#social-activities,
section.hero,
section.hero .sm-sloppy-border,
section.bubbles,
section.thanks,
.sm-welcome
{
    display: none;
}

/**
 * Page Structure
 */

body {
    padding-top: 85px;
}

.column,
.container {
    position: relative;
    padding: 0;
    margin: 0 auto;
    text-align: left;
}

section,
header#global-header,
#sm-main-navigation,
footer .row {
    clear: both;
    text-align: center;
    overflow: hidden;
}

/**
 * Mobile Header
 */

header#global-header {
    position: fixed;
    top: 0px;
    left: 0px;
    height: 72px;
    margin: 0;
    border-bottom: 5px solid #000;
    background: #fff;
    z-index: 1000;
}

header#global-header .column {
    height: 100%;
}

h1#logo {
  display: block;
  position: relative;
  top: 15px;
  left: -2px;
  width: 62px;
}

h1#logo img {
  width: 62px;
}

#mini-cart {
    display: block;
    width: 160px;
    height: 35px;
    padding-left: 29px;
    padding-top: 10px;
    position: absolute;
    top: 18px;
    left: inherit;
    right: 5px;
    text-align: right;
}

/**
 * Home Page Tweaks
 */

section.notes {
    padding: 20px 10px !important;
}

/**
 * Elements for Processing
 */

#sm-global-search {
    position: absolute;
    top: 20px;
    right: 0;
    width: 250px;
display: none;
}


header .login {
    margin-top: 5px;
    font-size: 16px;
    position: absolute;
    top: 26px;
    right: 387px;
    font-weight: normal;
display: none;
}

a.user-link, 
a.sm-cart-link {
    font-weight: normal;
    font-size: 14px;
    font-style: italic;
    color: #c0c0c0;
}

a.user-link {
    display: inline-block;
    margin-left: 10px;
}

a.sm-cart-link {
    position: relative;
}
/*
#cart-icon {
    display: block;
    background: url('../../images/global/nav/sprite.png');
    background-position: -462px -12px;
    height: 25px;
    width: 25px;
    position: absolute;
    left: -30px;
    top: -5px;
    opacity: 0.35;
}
*/
#cart-icon {
    display: block;
    background: url('../../images/global/nav/cart.png');
    background-size: 18px 18px;
	height: 18px;
    width: 18px;
    position: absolute;
	top: 0px;
	left: -23px;
    opacity: 0.4;
}

a.user-link:hover,
a.sm-cart-link:hover { color: #333; }
a.sm-cart-link:hover #cart-icon { opacity: 0.55; }

#subhead {
    border-bottom: 1px solid rgba(226, 226, 226, 1);
}

nav#sm-main-navigation {
  position: absolute;
  width: 480px;
  height: 42px;
  bottom: -5px;
  left: 260px;
  background: transparent;
  font-family: Courier, serif;
  display: none;
}

.sm-nav-box { 
  display: none;
  position: absolute;
  top: 37px;
  left: -260px;
  width: 480px;
  padding: 20px 0;
  background: #fff;
  border: 1px solid #ddd;
  border-top: 10px solid #000;
  -moz-box-shadow:0 2px 10px rgba(0,0,0, 0.15);
  -webkit-box-shadow:0 2px 10px rgba(0,0,0, 0.15);
  box-shadow:0 2px 10px rgba(0,0,0, 0.15);
  text-align: left;
  z-index: 1000;
}

} 

/**
 * Mobile Dimensions
 */

@media screen and (max-device-width: 640px) {

.column,
.container {
    width: 620px !important;
    padding: 0 5px !important;
}

section,
header#global-header,
#sm-main-navigation,
footer .row {
    width: 640px;
}

} 

@media screen and (max-device-width: 540px) {

.column,
.container {
    width: 520px !important;
    padding: 0 5px !important;
}

section,
header#global-header,
#sm-main-navigation,
footer .row {
    width: 540px;
}

}

@media screen and (max-device-width: 480px) {

.column,
.container {
    width: 460px !important;
    padding: 0 5px !important;
}

section,
header#global-header,
#sm-main-navigation,
footer .row {
    width: 480px;
}

} 

@media screen and (max-device-width: 360px) {

.column,
.container {
    width: 340px !important;
    padding: 0 5px !important;
}

section,
header#global-header,
#sm-main-navigation,
footer .row {
    width: 360px;
}

} 

@media screen and (max-device-width: 320px) {

.column,
.container {
    width: 300px !important;
    padding: 0 5px !important;
}

section,
header#global-header,
#sm-main-navigation,
footer .row {
    width: 320px;
}

} 

/* End Mobile */


