﻿/*********** HEADER ***********/


.admin-header-links {
    background: #fff;
    text-align: center;
}
.admin-header-links * {
    display: inline-block;
    margin: 0 10px;
    line-height: 35px;
    font-weight: bold;
}
.admin-header-links .impersonate {
    display: inline-block;
}
.admin-header-links a {
    font-weight: bold;
}
.master-header-wrapper {
    margin: 0 0 70px;
    background: #57b568;
    -webkit-transition: all .4s;
    transition: all .4s;
}
.home-page-body .master-header-wrapper {
    margin-bottom: 40px;
}
.master-header-wrapper.stick {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1020;
}
.master-header-wrapper.stick.nav-up {
    top: -180px;
}
.header-wrapper {
    padding: 8px 5px;
}
.header-wrapper:after {
    content: '';
    display: block;
    clear: both;
}
.master-header-wrapper:after { 
    content: "";
    display: block;
    clear: both;
}
.header { 
    float: left;
    width: 36%;
    text-align: center;
}
.header-logo {
    text-align: left;
}
.header-logo a {
    display: inline-block;
    max-width: 100%;
    line-height: 0; /*firefox line-height bug fix*/
}
.header-logo a img {
    max-width: 100%;
}
.header-links-wrapper {
    opacity: 0;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 7px 15px rgba(0,0,0,.15);
    text-align: center;
    -webkit-transform: translateY(20px);
    -ms-transform: translateY(20px);
    transform: translateY(20px);
    -webkit-transition: transform .3s , opacity .3s;
    transition: transform .3s , opacity .3s;
    pointer-events: none;
    z-index: 1070;
}
.header-links-wrapper.opened {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    pointer-events: auto;
}
.header-links ul {
    padding: 6px 0;
    font-size: 0;
}
.header-links li {
    text-align: left;
}
.header-links .ico-cart {
    display: none;
}
.header-links a {
    position: relative;
    display: inline-block;
    padding: 6px 20px;
    text-transform: uppercase;
    font-size: 12px;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.inbox-unread,
.responsive-nav-wrapper > div span.wishlist-qty {
    display: inline-block;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    background: #ff5874;
    text-align: center;
    line-height: 17px;
    font-size: 10px;
    color: #fff;
    vertical-align: text-top;
    z-index: 1;
}
.header-links a:hover {
    color: #57b568;
}
.header-links a:before {
    display: inline-block;
    margin-right: 8px;
    font-family: prisma;
    font-size: 15px;
    color: #aaa;
    vertical-align: middle;
}
.header-links a.ico-register:before {
    content: '\e94a';
}
.header-links a.ico-login:before {
    content: '\e93c';
}
.header-links a.ico-logout:before {
    content: '\e90d';
}
.header-links a.ico-account:before {
    content: '\e90a';
}
.header-links a.ico-inbox:before {
    content: '\e927';
}
.header-links a.ico-wishlist:before {
    content: '\e919';
}
.header-links .cart-qty {
    padding: 0 0 0 20px;
}
.header-selectors-wrapper {
    padding: 10px;
    background: #eee;
    font-size: 0;
}
.header-selectors-wrapper > div {
    position: relative;
    margin: 0 0 10px;
    vertical-align: middle;
}
.header-selectors-wrapper > div:last-child {
    margin-bottom: 0;
}
.language-list { 
    max-width: 100%;
    font-size: 0;
}
.language-list li {
    display: inline-block;
    margin-left: 5px;
}
.language-list li:nth-child(4n+1) {
    margin-left: 0;
}
.language-list a { 
    display: block;
    position: relative;
    width: 40px;
    height: 40px;
    background: #fff;
    line-height: 0;
}
.language-list a:hover {
    background: #57b568;
}
.language-list img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}
.search-box {
    position: relative;
}
.search-box form {
    position: relative;
}
.search-box form:after {
    content: "";
    display: block;
    clear: both;
}
.search-box input {
    border: none;
    height: 45px;
    color: #666;
}
.search-box input.search-box-text {
    width: 89%;
    width: -webkit-calc(100% - 45px);
    width: calc(100% - 45px);
}
.search-box .search-box-button {
    width: 45px;
    font-size: 0;
}
.responsive-nav-wrapper-parent {
    float: right;
}


/* RESPONSIVE NAV WRAPPER */


.responsive-nav-wrapper {
    text-align: center;
    font-size: 0;
}
.responsive-nav-wrapper:after {
    content: "";
    display: block;
    clear: both;
}
.responsive-nav-wrapper > div {
    display: inline-block;
    padding: 0;
    width: 45px;
    height: 44px;
}
.responsive-nav-wrapper > div:hover > span,
.responsive-nav-wrapper > div:hover > a {
    background: rgba(0,0,0,.1);
}
.responsive-nav-wrapper > div > span,
.responsive-nav-wrapper > div > a {
    position: relative;
    display: block;
    height: 100%;
    font-size: 0;
    -webkit-transition: all .3s;
    transition: all .3s;
}
.responsive-nav-wrapper > div span:after,
.responsive-nav-wrapper > div a:after {
    position: absolute;
    top: 50%;
    left: 50%;
    font-family: prisma;
    font-size: 23px;
    color: #fff;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    cursor: pointer;
}
.responsive-nav-wrapper .search-wrap,
.responsive-nav-wrapper .wishlist-button {
    display: none;
}.responsive-nav-wrapper .wishlist-button {
	display: inline-block;
	
}
.shopping-cart-link {
    position: relative;
}
.responsive-nav-wrapper .wishlist-button a:after {
	content: '\e919';
}

.responsive-nav-wrapper .menu-title > span:after {
    content: url("../img/icons/icon--menu-mobile.svg");
}
.responsive-nav-wrapper .shopping-cart-link > a:after {
    content: url("../img/icons/icon--cart.svg");
    font-size: 25px;
}
.responsive-nav-wrapper .personal-button > span:after {
    content: url("../img/icons/icon--login.svg");
}
.header .store-search-box ::-webkit-input-placeholder,
.header .store-search-box ::-moz-placeholder,
.header .store-search-box :-ms-input-placeholder,
.header .store-search-box :-moz-placeholder {
    color: #bbb;
}
.responsive-nav-wrapper > div span.cart-qty,
.responsive-nav-wrapper > div span.wishlist-qty {
    position: absolute;
    bottom: 5px;
    right: 5px;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    line-height: 16px;
    background: #ff5874;
    font-size: 8px;
    color: #fff;
    z-index: 1;
    pointer-events: none;
}
.ui-helper-hidden-accessible {
    display: none;
}
.ui-autocomplete {
    position: absolute;
    border: 1px solid #eee;
    overflow: hidden;
    width: 100% !important;
    max-width: 100%;
    font-size: 14px;
    color: #666;
    background: #fff;
    z-index: 1070;
}
.ui-autocomplete li {
    border-top: 1px solid #ccc;
}
.ui-autocomplete li:first-child {
    border-top: none;
}
.ui-autocomplete a {
    display: block;
    padding: 20px;
    background: #f6f6f6;
    text-align: left;
}
.ui-autocomplete a.ui-state-focus {
    background: #fff;
    color: #57b568;
}
.ui-autocomplete img {
    display: none;
    margin-right: 5px;
    vertical-align: middle;
}

.slider-wrapper.theme-custom {
    margin: 0 auto 30px; /*overrides default slider*/
}
@media all and (max-width: 435px) {
	.responsive-nav-wrapper > div {
		width: 39px;
	}
}

@media all and (max-width: 1024px) {
    /* SEARCH BOX */

    .store-search-box {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: #4ea35d;
        text-align: center;
        box-shadow: -1px 2px 1px rgba(0,0,0,0.3);
        z-index: 1010;
        font-size: 0;
    }
    .store-search-box.open {
        display: block;
    }
    .search-box.store-search-box input {
        border: 0;
        height: 40px;
        background: none;
        color: #fff;
    }
    .store-search-box input.search-box-button {
        width: 40px;
        background: url(../img/icons/icon--search-mobile.svg) no-repeat center center;
    }
    .store-search-box input.search-box-text {
        width: -webkit-calc(100% - 40px);
        width: calc(100% - 40px);
    }
    .header .store-search-box ::-webkit-input-placeholder { 
        color: rgba(255,255,255,.4);
    }
    .header .store-search-box ::-moz-placeholder {
        color: rgba(255,255,255,.4);
    }
    .header .store-search-box :-ms-input-placeholder {
        color: rgba(255,255,255,.4);
    }
    .header .store-search-box :-moz-placeholder {
        color: rgba(255,255,255,.4);
    }
}
		.responsive-nav-wrapper{
			margin: 10px 0;
		}

@media all and (min-width: 481px) {
   
    .header-links-wrapper {
        width: 215px;
    }
    .personal-button {
        position: relative;
    }
}

@media all and (min-width: 769px) {
    .responsive-nav-wrapper > div span.cart-qty,
    .responsive-nav-wrapper > div span.wishlist-qty {
        width: 16px;
        height: 16px;
        font-size: 10px;
        line-height: 17px;
    }
}


@media all and (min-width: 1025px) {

    /* HEADER */
    .master-header-wrapper,
    .home-page-body .master-header-wrapper {
        margin: 0;
    }
    .header-wrapper {
        margin: 0 auto;
        padding: 15px 25px;
        width: 980px;
        -webkit-transition: all .3s;
        transition: all .3s;
    }
    .stick .header-wrapper {
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .stick .header-menu > ul > li > a,
    .stick .header-menu > ul > li > span {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .header {
        position: relative;
        z-index: 1020;
        width:  86%;
        width: -webkit-calc(100% - 165px);
        width: calc(100% - 165px);
    }
    .header .search-box {
        display: inline-block;
        margin: 28px auto 10px;
        width: 380px;
        height: 45px;
        background: #fff;
        font-size: 0;    
    }
    .header-logo {
        float: left;
        margin: 13px 0 0;
    }
    .header-links-wrapper {
        float: right;
    }
    .responsive-nav-wrapper-parent {
        margin: 12px 0;
        width: auto;
    }
    .responsive-nav-wrapper {
			margin: 18px 0px 0 0;
    }
    .shopping-cart-link > .cart-qty {
        display: none;
    }
    .product-name .breadcrumb {
        margin-bottom: 20px;
        padding: 40px 0 20px;
    }
    /*flyout cart*/
    .flyout-cart .mini-shopping-cart {
        opacity: 0;
        position: absolute;
        top: 100%;
        right: 0;
        width: 380px;
        background: #fff;
        box-shadow: 0 7px 15px rgba(0,0,0,.15);
        -webkit-transform: translateY(20px);
        -ms-transform: translateY(20px);
        transform: translateY(20px);
        -webkit-transition: transform .3s , opacity .3s;
        transition: transform .3s , opacity .3s;
        pointer-events: none;
        z-index: 1020;
    }
    .flyout-cart.opened .mini-shopping-cart {    
        opacity: 1;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
        pointer-events: auto;
    }
    .flyout-cart .count {
        padding: 20px;
        font-size: 14px;
        color: #666;
    }
    .flyout-cart .items {
        position: relative;
        padding: 0 20px;
        max-height: 240px;
        max-height: -webkit-calc(100vh - 360px);
        max-height: calc(100vh - 360px);
        background: #f6f6f6;
        text-align: left;
        overflow: hidden;
    }
    .flyout-cart .item {
        position: relative;
        margin: 20px 0;
        font-size: 14px;
        color: #666;
        overflow: hidden;
    }
    .flyout-cart .item:last-child {
        margin-bottom: 0;
    }
    .flyout-cart .item .picture {
        float: left;
        margin-right: 20px;
        width: 100px;
        text-align: center;
    }
    .flyout-cart .item .product {
        padding-right: 20px;
        overflow: hidden;
    }
    .flyout-cart .item .name {
        margin-bottom: 5px;
        font-size: 13px;
    }
    .flyout-cart .item .quantity {
        margin-bottom: 5px;
        color: #aaa;
    }
    .flyout-cart .item .price {
        font-size: 0;
    }
    .flyout-cart .item .attributes {
        margin: 0;
        line-height: 1.5;
        font-size: 13px;
        color: #aaa;
    }
    .flyout-cart .item .price span {
        font-size: 16px;
        font-weight: bold;
        color: #57b568;
    }
    .flyout-cart .totals {
        padding: 20px;
        margin: 0;
        width: 100%;
        background: none;
        text-align: left;
        text-transform: uppercase;
        font-size: 14px;
        color: #666;
    }
    .flyout-cart .totals strong {
        float: right;
        font-size: 18px;
        color: #57b568;
    }
    .flyout-cart .buttons {    
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;  
        -ms-flex-direction: row;
        flex-direction: row;
        -ms-flex-align: stretch;
        align-items: stretch;
        -ms-flex-line-pack: stretch;
        align-content: stretch;
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
        margin-bottom: 10px;
    }
    .flyout-cart .buttons button {
        position: relative;
        -webkit-order: 0;
        -ms-flex-order: 0;
        order: 0;
        -webkit-flex: 0 1 auto;
        -ms-flex: 0 1 auto;
        flex: 0 1 auto;
        -webkit-align-self: auto;
        -ms-flex-item-align: auto;
        align-self: auto;
        padding: 18px 10px;
        border: 0;
        width: 100%;
        background: #57b568;
        text-transform: uppercase;
        color: #fff;  
    }

    .flyout-cart .buttons button span {
        position: relative;
    }
    .flyout-cart .buttons button:first-child span:before {
        content: '\e91c';
        display: inline-block;
        margin: -5px 10px 0 15px;
        font-weight: normal;
        font-family: prisma;
        font-size: 19px;
        color: #fff;
        vertical-align: middle;
    }
    .flyout-cart .buttons button:hover span:before {
        color: #57b568;
    }
    .flyout-cart .buttons button:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        -webkit-transform: scaleY(0);
        -ms-transform: scaleY(0);
        transform: scaleY(0);
        background: #f3f3f3;
        -webkit-transform-origin: 50% 100%;
        -ms-transform-origin: 50% 100%;
        transform-origin: 50% 100%;
        -webkit-transition-property: transform;
        transition-property: transform;
        -webkit-transition-duration: 0.3s;
        transition-duration: 0.3s;
        -webkit-transition-timing-function: ease-out;
        transition-timing-function: ease-out;
    }
    .flyout-cart .buttons button:hover:before {
        -webkit-transform: scaleY(1);
        -ms-transform: scaleY(1);
        transform: scaleY(1);
        -webkit-transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
        transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66);
    }
    .flyout-cart .buttons button:hover {
        color: #57b568;
    }
    .flyout-cart .buttons button + button {
        margin-left: 1%;
        background: #fff;
        color: #57b568;
    }
    .flyout-cart .buttons button + button:hover {
        color: #fff;
    }
    .flyout-cart .buttons button + button:hover:before {
        background: #57b568;
    }
    .responsive-nav-wrapper .flyout-cart a.remove-item {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        width: 18px;
        height: 18px;
        background: #fff;
        font-size: 0;
    }
    .responsive-nav-wrapper .flyout-cart a.remove-item:after {
        content: '\e901';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 8px;
        height: 8px;
        font-family: prisma;
        font-size: 8px;
        color: #bbb;
    }
    .ui-autocomplete {
        z-index: 1015; /*should be lower than header but equal or higher than header-menu*/
    }


    /* HEADER MENU */


    .responsive-nav-wrapper .menu-title, .close-menu,
    .header-menu .back-button {
        display: none;
    }
    .overlayOffCanvas {
        display: none !important;
    }
    .header-links .ico-wishlist {
        display: none;
    }
    .header-menu {
        position: relative;
        background: #fff;
        text-align: center;
        box-shadow: 0 3px 5px rgba(0,0,0,0.1);
        z-index: 1010;
    }
    .header-menu > ul {
        margin: 0 auto;
        width: 980px;
        font-size: 0;
    }
    .header-menu > ul > li {
        display: inline-block;
        vertical-align: middle;
    }
    .header-menu > ul > li > a,
    .header-menu > ul > li > span {
        display: block;
        padding: 13px;
        text-transform: uppercase;
        font-size: 14px;
        color: #515151;
        cursor: pointer;
        -webkit-transition: all .3s;
        transition: all .3s;
        font-weight: 600;
    }
    .header-menu > ul > li:hover > a,
    .header-menu > ul > li:hover > span { 
        background: #4ea35d;
        color: white;
    }
    .header-menu .sublist-wrap {
        opacity: 0;
        position: absolute;
        min-width: 220px;
        background: #4ea35d;
        text-align: left;
        box-shadow: 0 2px 3px rgba(0,0,0,.2);
        -webkit-transition: transform .3s , opacity .3s;
        transition: transform .3s , opacity .3s;
        -webkit-transform: translateX(20px);
        -ms-transform: translateX(20px);
        transform: translateX(20px);
        pointer-events: none;
    }
    .header-menu .hover + .sublist-wrap {
        opacity: 0;
    }
    .header-menu > ul > li > .sublist-wrap {
        -webkit-transform: translateY(20px);
        -ms-transform: translateY(20px);
        transform: translateY(20px);
    }
    .header-menu li:hover  > .with-subcategories + div + .sublist-wrap,
    .header-menu li > .with-subcategories.hover + div + .sublist-wrap {
        opacity: 1;
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
        pointer-events: auto;
    }
    .header-menu .sublist-wrap.active {
        display: block;
        opacity: 1;
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
        pointer-events: auto;
    }
    .top-menu {
        display: block;
    }
    .header-menu .sublist li {
        position: relative;
        border-top: 1px solid rgba(0,0,0,.1);
    }
    .header-menu .sublist .back-button {
        display: none;
    }
    .header-menu .sublist li a {
        display: block;
        padding: 11px 20px 10px;
        font-size: 13px;
        color: #fff;
        -webkit-transition: background .3s;
        transition: background .3s;
    }
    .header-menu .sublist li a:before {
        content: '\e925';
        display: inline-block;
        margin-right: 10px;
        font-family: prisma;
        font-size: 10px;
        color: rgba(0,0,0,.1);
    }
    .header-menu .sublist li:hover > a {
        background: #57b568;
    }
    .header-menu .sublist-wrap .sublist-wrap {
        top: -1px;
        left: 100%;
    }
    .responsive-nav-wrapper > div span:after,
    .responsive-nav-wrapper > div a:after {
        font-size: 28px;
    }
    .responsive-nav-wrapper .personal-button > span:after {
        font-size: 25px;
    }
    .responsive-nav-wrapper .wishlist-button {
        display:  inline-block;
    }
    .responsive-nav-wrapper .wishlist-button a:after {
        content: '\e919';
    }

}

@media all and (min-width: 1281px) {

    /* HEADER */
    .header-wrapper {
        padding: 15px;
        width: 1280px;
    }
    .header .search-box {
        width: 430px;
    }

    /* HEADER-MENU */
    .header-menu > ul {
        width: 1200px;
    }
}