/*

	Author: 				CrystalCommerce Team
	Website: 				CrystalCommerce.com
	
	This theme is built on top of the Foundation 4
	Framework by Zurb. Default styles from the framework
	can be found at /assets/css/foundation.css. This
	file contains all other styles associated with
	this theme and should be used to add any 
	custom styles you have for your client.

*/


/* =========================================================================
/* ====== GLOBAL SITE DECLARATIONS
/* =======================================================================*/

html {
    height: 100%;
}

body {
    font:500 14px/20px "Helvetica Neue",Helvetica,Sans-Serif;
    outline: none;

    -ms-text-size-adjust:100%;
    -webkit-text-size-adjust:100%;

    text-rendering:geometricPrecision;

    -webkit-font-smoothing:subpixel-antialiased;

    -webkit-backface-visibility: hidden;

}

.add-to-cart { outline: none; }

/*body, html { height: 100%; }*/

a, a:visited, a:hover, a:active {
    color: #08C;
}

a, a * {
    cursor: pointer;
    text-decoration: none;

    transition: color .25s;
    -o-transition: color .25s;
    -ms-transition: color .25s;
    -moz-transition: color .25s;
    -webkit-transition: color .25s;
}

a:active {
    transform: translateY(1px);
    -o-transform: translateY(1px);
    -ms-transform: translateY(1px);
    -moz-transform: translateY(1px);
    -webkit-transform: translateY(1px);
}

a:hover  { color: #2082AB; }

a.button { color:#333; }

.bull-divide { margin:0 10px; }

.hide-text{
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
}

nav > ul, nav > ul > li{
    list-style-type:none;
    margin:0;
    padding:0;
}

.primary-nav li, .secondary-nav li {
    display:inline-block;
    margin-right:10px;
}

h1, h2, h3, h4, h5 {
    color: #444;
}

/* =========================================================================
/* ====== PAGE CONTAINER GLOBALS
/* =======================================================================*/

.cat-trigger {
    display:inline-block;
    min-height:33px;
    vertical-align: middle;
    width:33px;
}

#page-container {
    min-width: 320px;
    overflow: hidden!important;
    z-index: 100;
}

/* =========================================================================
/* ====== TOP TOOLBAR ELEMENTS & STYLES
/* =======================================================================*/

.top-bar{
    background: #101728;
}

.top-bar input, .top-bar .button {
    top: 0;
}

.toolbar-wrapper.top-bar { overflow: visible!important; }
.toolbar-wrapper {
    color: #7e7e7e;
    min-height: 70px;
    margin: 0;
}

.toolbar-wrapper a{
    color: #fff;
}

/* TODO: Why is this explicitly set? */
.toolbar-wrapper .row {
    max-width: 83.55em;
}

.toolbar-wrapper .store-info{
    font-size: 15px;
    font-weight: 700;
    line-height: 52px;
}

.toolbar-wrapper .store-info .email {
    color: #00b0f3;
    margin-right:15px;
    text-decoration: none;
    transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
}

.toolbar-wrapper .store-info .phone {
    color: #fff;
    font-size: 16px;
}

.account-nav, .cart-nav, .help-nav, .search-nav{
    font-size: 15px;
    font-weight: 700;
    line-height: 52px;
    display:inline-block;
}

.account-nav, .cart-nav{
    margin-right:15px;
}

/* fix the arrow on the dropdown */
.account-nav .f-dropdown.right:before{
    right:125px;
}

.account-nav .f-dropdown.right:after{
    right:124px;
}

.account-nav .show-for-large-up ul li{
    display:inline-block;
}

.account-nav .show-for-large-up ul li a {
    color:#fff;
}

.toolbar-wrapper .f-dropdown.content{
    text-align:left;
}

header .icon-stack .icon-stack-base {
    color: #32394A;
    font-size: 38px;
}

.site-pages{
    line-height: 70px;
    float: left;
    margin-right: 30px;
}

.f-dropdown.content.nav-site.open{
    border-left: 1px solid #DDD;
    border-bottom: 1px solid #DDD;
    border-right: 1px solid #DDD;
    border-top: none;
    padding: 0;
    top: 68px !important;

    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.15);
    -moz-box-shadow: 0 5px 10px rgba(0,0,0,.15);
    box-shadow: 0 5px 10px rgba(0,0,0,.15);
}

.f-dropdown.content.nav-site.open li a {
    font-size: 13px;
    font-weight: normal;
    padding: 8px 15px;
    border-bottom: 1px solid #f3f3f3;
}

.simple-search {
    border: 3px solid #101728;
    margin-top: 0;
    top: 0;
}

.top-bar input, .top-bar .button {
    top: 0;
}


/* =========================================================================
/* ====== GLOBAL SIDEBAR ELEMENTS & STYLES
/* =======================================================================*/

.side-box {
    margin-bottom: 25px;
}

.side-box img {
    width: 100%;
}


/* ==============================================================================
/* ====== CONTACT PAGE
/* ============================================================================= */

.contact-form {
    width: 100%;
}

#message {
    min-height: 123px;
}

/* ==============================================================================
/* ====== MEDIUM & UP HEADER STYLES
/* ============================================================================= */
@media only screen and (min-width: 768px) {

    /* Remove Border on larger than small screens */
    .simple-search{
        border: none !important;
        margin-top: 20px;
    }

}

/* =========================================================================
/* ====== SOCIAL MEDIA BUTTONS
/* =======================================================================*/

.social {
    position: relative;
    margin-top: 17px;
}

.social li a i {
    font-size: 34px;
}

.social li a i.facebook {
    color: #3c599b;
}

.social li a i.twitter {
    color: #1bb2e9;
}

.social-icons{
    float: left;
    margin-top: 19px;
}
.social ul {
    list-style: none;
}
.social ul li {
    float: left;
    margin: 0 10px 0 0;
}

.social .feed-facebook, .social .feed-twitter {
    background: #fff;
    border-left: 1px solid #DDD;
    border-bottom: 1px solid #DDD;
    border-right: 1px solid #DDD;
    border-top: none;

    min-width: 300px;
    padding: 5px;
    position: absolute;
    z-index: 500;

    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.15);
    -moz-box-shadow: 0 5px 10px rgba(0,0,0,.15);
    box-shadow: 0 5px 10px rgba(0,0,0,.15);
}

.social .feed-facebook.open, .social .feed-twitter.open {
    /* Important is overwritting the CSS that the JS is generating */
    top: 51px !important;
}

.social .feed-twitter {
    width: 300px;
}

/* ==============================================================================
/* ====== ACCOUNT DROP DOWN
/* ============================================================================= */

.account-nav{
    position: relative;
}

#account-drop.open{
    padding: 0;
    top: 68px !important;
    border-top: none !important;
    width: 300px;

    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.15);
    -moz-box-shadow: 0 5px 10px rgba(0,0,0,.15);
    box-shadow: 0 5px 10px rgba(0,0,0,.15);
}

#account-drop.open .welcome {
    border-bottom: 1px solid #e8e8e8;
    font-size: 14px;
    margin: 0;
    padding: 10px;

}

#account-drop .store-credit {
    padding: 10px;
    font-size: 13px;
}
#account-drop .account-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

#account-drop .account-links li a {
    font-size: 13px;
    font-weight: normal;
    padding: 8px 10px;
    border-bottom: 1px solid #f3f3f3;
}

#account-drop .account-links .account-info {
    background: #F1F1F1;
    border-radius: 3px;
    font-size: 11px;
    margin-top: -3px;
    padding: 3px 6px;

    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none;
}

.cart-account-container {
    text-align: right;
}

.account-links .account-info {
    float: right;
}

#account-drop .account-links li a:hover .account-info {
    background: #e74a3c;
    color: #fff;
}

.f-dropdown.content#account-drop:before{
    border: none !important;
}

.f-dropdown.content#account-drop:after{
    border: none !important;
}

.account-tick{
    border-bottom: 7px solid #fff;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    height: 0;
    left: 10px;
    position: absolute;
    top: 56px;
    width: 0;
    z-index: 100;
    display: none;
}

.account-tick.hide{
    display: none;
}

.account-tick.show {
    display: block;
}

.icon.account-icon{
    position: relative;
}

.icon-circle.logged-in {
    color: #99e118;
    font-size: 5px;
    position: absolute; right: 2px; top: 14px;
}

.account-drop-toggle .icon-stack .icon-light {
    font-size: 21px;
    margin-left: 2px;
}

/* =========================================================================
/* ====== MOBILE TOP TOOLBAR ELEMENTS & STYLES
/* =======================================================================*/

.cat-trigger, .mobile-menu {
    height: 35px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.mobile-menu {
    float: right;
    margin-right: 10px;
}

.mobile-menu .icon {
    float: right;
    height: 35px;
    margin: 0 0 0 12px;
    padding: 0;
    text-indent: -9999px;
    width: 35px;
}

/* =========================================================================
/* ====== SITE BRAND + SOCIAL ELEMENTS & STYLES
/* =======================================================================*/

.brand-wrapper {
    background: #e1e1e1;
    padding:20px 0 45px;
    min-height: 80px;
}

.brand {
    margin-bottom: 15px;
    margin-top: 15px;
}

.brand .logo {
    margin: 0;
    padding: 0;
}

.logo {
    font-size: 1.5em;
    line-height: 57px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand .logo a{
    color: #1e1e1e;
    font-size: 40px;
    line-height: 50px;
    text-decoration: none;
    transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
}

/* =========================================================================
/* ====== MAIN CONTENT AREA
/* =======================================================================*/

#content-container{
    margin-top: 30px;
}

@media only screen and (min-width: 768px) and (max-width: 979px) {
    #content-container {
        margin-top: 0;
    }
}


/* ==============================================================================
/* ====== _MAIN NAVIGATION ELEMENTS & STYLES
/* ============================================================================= */

.main-navbar {
    margin-bottom: 30px;
    margin-top: -25px;
}

.main-navbar, .navbar-inner {
    min-height: 55px;
    padding: 0 10px;
}

.main-navbar .navbar-inner {
    background: #222;
    border-radius: 3px;
    -o-border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    color:#fff;
}

.main-navbar .navbar-inner label{
    color:#fff;
}

.main-navbar .primary-nav {
    display: block;
    min-height: 25px;
    margin: 15px 0;
    padding: 0;
}

.main-navbar .primary-nav a {
    color: #EEE;
    line-height: 25px;
}

.main-navbar .primary-nav a:hover {
    color: #08C;
}


/* ==============================================================================
/* ====== _MAIN PAGE CONTENT ELEMENTS & STYLES
/* ============================================================================= */

.page-title {
    color: #444;
    font-size: 28px;
    line-height: 32px;
    margin: 0 0 10px 0;
    padding: 0;
}


/* ==============================================================================
/* ====== _GLOBAL BREADCRUMBS ELEMENTS & STYLES
/* ============================================================================= */

.breadcrumbs-container {
    color: #BBB;
    font-size: 12px;
    /* font-weight: lighter; */
    line-height: 14px;
    margin: 0 0 4px 0;
}

.breadcrumbs-container a {
    color: #66B7E0;
    font-size: 12px;
    line-height: 14px;
}

.breadcrumbs-container a:hover {
    color: #4495C0;
}

.breadcrumbs-container .breadcrumb-divider {
    margin: 0 3px;
}

.breadcrumbs-container .current-crumb {
    color: #999;
}

a#home-button.buylist {
    border-bottom: 1px solid #99e118;
    color: #99e118;
}


/* ==============================================================================
/* ====== _PRODUCT RESULTS PAGES ELEMENTS & STYLES
/* ============================================================================= */

.products-container>ul{
    list-style-type:none;
    margin:15px 0 0 0;
    padding:0;
}

.filter_az .button{
    font-size:.8em;
    padding:.4em .9em;
}

.filter-products{
    text-align:left;
}

.filter-products .label, .filter-products label{
    font-size:14px;
    background: none;
    color:#333;
    font-weight:normal;
    padding:0;
}

[for=sort_by_price], #sort_by_price{
    display:inline-block;
}


.variant-table{
    width:100%;
}

.pagination{
    height:auto;
}

.pagination .button{
    background: #fff;
    font-size: .7em;
    float:none;
}

.products-layout-trigger.active{
    border-bottom: 1px solid #0088CC;
}


/* ==============================================================================
/* ====== _PRODUCT GRID ELEMENTS & STYLES
/* ============================================================================= */

.grid-item {
    border: 1px solid #DDD;
    border-radius: 3px;
    display:block;
    padding: 7px!important;
}
.grid-item .product-thumbnail {
    display: block;
    height: 160px;
    margin-bottom: 20px;
    width: 100%;
}

.grid-item .product-thumbnail img {
    display: block;
    margin: 0 auto;
    max-height: 160px;
    text-align: center;
}

.grid-item .product-title,
.grid-item .product-price {
    text-align: center;
}

.grid-item .product-title {
    color: #666;
    font-size: 14px;
}

.grid-item .product-price {
    font-weight: bold;
    margin: 0;
}

.grid-item .product-buttons{
    text-align:center;
}

/* ==============================================================================
/* ====== _NEWS PAGE
/* ============================================================================= */

.news-post {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.news-post h2 {
    font-size: 22px;
}

.news-post .date {
    font-size: 18px;
    line-height: 1em;
}


/* ==============================================================================
/* ====== _RETURN TO TOP
/* ============================================================================= */

.return-to-top {
    background: rgb(0,0,0);
    background: rgba(0,0,0,0.7);

    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;

    bottom: 10px;
    color: #fff;
    display: none;
    cursor: pointer;
    height: 50px;
    position: fixed;
    right: 10px;
    text-align: center;
    width: 50px;
}

.return-to-top i {
    color: #fff;
    position: relative;

    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;

    top: 13px;
}

/* ==============================================================================
/* ====== PRODUCTS
/* ============================================================================= */

.product .image-container {
    margin: 15px 0 0 0;
}

.product-thumbs {
    display: block;
    margin: 0 0 15px 0;
}

.product-photo .thumbnail {
    background: #E6E6E6;
    float: left;
    max-height: 60px;
    margin: 0 1% 1% 0;
    overflow: hidden;
    text-align: center;
    width: 24%;
}

.thumbnail img {
    min-height: 100%;
    width: auto;
}

/* ==============================================================================
/* ====== USER CONTENT
/* ============================================================================= */

.user-content ul,
.user-content ol {
    margin-left: 30px;
}


/* ==============================================================================
/* ====== _BELOW MEDIUM
/* ============================================================================= */
@media only screen and (max-width: 768px) {

    .logo {
        font-size: 1.3em;
        line-height: 65px;
    }

}

/* ==============================================================================
/* ====== _SMALL (MIN 320px - 767px MAX) MOBILE SPECIFIC ELEMENTS & STYLES
/* ============================================================================ */

@media only screen and (min-width: 320px) and (max-width: 767px) {

    #account-drop.open {
        display: none;
    }

    .account-nav {
        display: none;
    }

}

/* === MEDIUM ONLY === */
@media only screen and (min-width: 768px) and (max-width: 979px) {

    .search-container {
        right: 29%;
    }

}

/* === BELOW LARGE === */
@media only screen and (max-width: 979px) {

    .notify.buylist {
        margin-top: 10px;
    }

}

/* ==============================================================================
/* ====== _LARGE & ABOVE
/* ============================================================================= */

@media only screen and (min-width: 979px) {

    .toolbar-wrapper.top-bar.fixed {
        position: fixed;
        width: 100%;
        z-index: 5;
    }

    #account-drop.open.fixed {
        position: fixed;
    }

    #account-drop.open {
        right: auto !important;
        left: 50% !important;
        margin-left: 311px;
        margin-right: auto;
    }

    #return-to-top:hover i {
        color: #fff;
        position: relative;
        top: 7px;
    }

}

/* BEGIN HEISENBERG IMAGE MAX HEIGHT FIX */
.parent-category .cat-img img { max-height: 144px; }
.parent-category li a { max-width: 1px; }
/* END HEISENBERG IMAGE MAX HEIGHT FIX */
