/*
 * Webasyst Default 3.0 theme family
 *
 * Shop-Script app CSS
 * (requires linking base default.css file from the Site app)
 *
 * @link http://www.webasyst.com/
 * @author Webasyst LLC
 * @copyright 2015 Webasyst LLC
 * @package Webasyst
 *
 * ... extends base Site app's default.css
 */

@import "./css/home.slider.css";

.currency-toggle { right: 0; position: absolute; }
.bonus { background: #ceb; padding: 2px 4px 1px; }
.plugin { margin-bottom: 20px; } /* shipping and payment plugins ouput */

span.loading { position: relative; top: 4px; left: 10px; }
.checkout span.loading { position: relative; top: 4px; left: 10px; }

/*#compare-leash { position: fixed; bottom: 0; box-shadow: 0 2px 9px rgba(0, 0, 0, 0.4); font-size: 1.1em; right: 30px; z-index: 9999; }
#compare-leash a { color: #fff; background: #ffa800; display: block; padding: 10px 15px;
    -webkit-transition: background 0.5s ease-in-out;
    -moz-transition:    background 0.5s ease-in-out;
    -ms-transition:     background 0.5s ease-in-out;
    transition:         background 0.5s ease-in-out;
}
#compare-leash a:hover { background: red; color: #fff !important; }
#compare-leash a.just-added { background: #f00; }*/

/* Product list
--------------- */

ul.related-bxslider { padding: 0; overflow: hidden; position: relative; }
ul.related-bxslider li { list-style: none; }
.related .bx-wrapper { margin: 0; }
.related .bx-wrapper .bx-viewport { box-shadow: none; left: 0; border: none; padding-right: 0; }
.related .bx-wrapper .bx-prev { display: none; }
.related .bx-wrapper .bx-next { right: -50px; background: url('img/bx-controls.png') no-repeat; background-size: 96px 48px; background-position: -48px 0 !important; }
.related .bx-wrapper .bx-controls-direction a { z-index: 99; width: 48px; height: 48px; top: 40%; opacity: 0.3; }
.related .bx-wrapper .bx-controls-direction a:hover { transition: none; opacity: 1; }
.related h3 input.gray[type="button"] { font-size: 0.65em; position: relative; top: -2px; left: 5px; }

.compare-from-list { position: relative; top: 2px; left: 6px; opacity: 0.25; }
.compare-from-list:hover { opacity: 0.5; }
.compare-from-list.active { opacity: 1; }

/* Homepage
----------- */

.welcome { margin: 0 80px 30px; }

ul.homepage-bxslider { padding: 0; margin: 0; overflow: hidden; position: relative; max-height: 360px; }
ul.homepage-bxslider li { list-style: none; margin: 0; padding: 0; max-height: 360px; }

.slider { padding: 0; overflow: hidden; background: #fff; }
.slider a { display: block; height: 360px; margin-bottom: 40px; text-decoration: none; }
.slider a .image { float: right; margin-right: 60px; margin-left: 20px; position: relative; max-width: 70%; }
.slider a .image img { max-height: 320px; }
.slider a .image .corner.right { right: 30px; }
.slider a .image .corner.top { top: 20px; }
.slider a h3 { font-size: 2.3em; color: #000; line-height: 1.2em; margin-bottom: 0.4em; margin-left: 60px; margin-right: 60px; }
.slider a .info { margin-left: 60px; z-index: 183; }
.slider a p { margin-left: 60px; color: #555; margin-top: 15px; margin-right: 100px; }
.slider .compare-at-price { font-size: 120%; margin-right: 10px; }
.slider .price { font-size: 160%; }

.slider .bx-wrapper { margin: 0 auto; direction: ltr; }
.slider .bx-wrapper .bx-viewport { border: none; box-shadow: none; left: 0; }
.slider .bx-wrapper .bx-pager,
.slider .bx-wrapper .bx-controls-auto { bottom: 20px; }
.slider .bx-wrapper .bx-prev { left: -12px; background: url('img/bx-controls.png') no-repeat; background-size: 192px 96px; }
.slider .bx-wrapper .bx-next { right: -12px; background: url('img/bx-controls.png') no-repeat; background-size: 192px 96px; background-position: -96px 0 !important; }
.slider .bx-wrapper .bx-controls-direction a { z-index: 99; width: 96px; height: 96px; top: 40%; opacity: 0.5; }
.slider .bx-wrapper .bx-controls-direction a:hover { transition: none; opacity: 1; }
.slider .bx-wrapper .bx-pager.bx-default-pager a { background: rgba(255,255,255,0.5); }
.slider .bx-wrapper .bx-pager.bx-default-pager a.active { background: #fff; }
.slider .bx-wrapper .bx-pager.bx-default-pager a:hover { background: yellow !important; }

.slider.fill-entire-area { box-shadow: 0 5px 10px -5px rgba(0, 0, 0, 0.2); position: relative; z-index: 1; }
.slider.fill-entire-area .bx-wrapper .bx-prev { left: -18px; background-image: url('img/bx-controls-white.png'); }
.slider.fill-entire-area .bx-wrapper .bx-next { right: -18px; background-image: url('img/bx-controls-white.png'); }
.slider.fill-entire-area ul.homepage-bxslider li { background-size: cover; background-repeat: no-repeat; }
.slider.fill-entire-area h3 { margin-top: 25px; }
.slider.fill-entire-area h3,
.slider.fill-entire-area .info,
.slider.fill-entire-area p { margin-left: 60px; margin-right: 60px;  }
.slider.fill-entire-area a { text-align: center; }
.slider.fill-entire-area a .image .corner.right { right: 100px; }
.slider.fill-entire-area a .image .corner.top { top: 0; }
.slider.fill-entire-area .countdown { margin-top: 40px; }
.slider.fill-entire-area .countdown .colorDefinition { border: none; background: rgba(0,0,0,0.2); padding: 15px 15px 8px; color: #ff7; }

.store-info { text-align: center; margin-top: 25px; }
.store-info h1 { font-size: 1.8em; }
.store-info h3 { font-size: 1.3em; }

.promos { margin: 0; }
.promos ul { padding: 0; margin: 5px -5px; }
.promos ul li { padding: 0; margin: 0; list-style: none; display: inline-block; width: 25%; vertical-align: top; }
.promos ul li a { display: block; padding: 35px 13px 0; height: 83px; overflow: hidden; background-size: cover; background-position: center center; color: #000; background-color: rgba(0,0,0,0.05); border: 5px solid #fff; text-align: center; position: relative; }
.promos ul li a .background-color-layer { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 1; opacity: 0.1; background-color: #000; }
.promos ul li a h5 { font-size: 1em; text-shadow: 0 1px 1px #000; position: relative; z-index: 2; margin-bottom: 10px; font-weight: normal; }
.promos ul li a:hover .background-color-layer { opacity: 0.5; transition: 0.3s; }

.bullets { padding: 0; margin: 20px 0px 40px; }
.bullet { font-size: 0.9em; vertical-align: top; }
.bullet p { margin-bottom: 10px; }
.bullet .b-glyph { background: url('img/bullet-glyphs.png') no-repeat; background-size: 144px 48px; width: 36px; height: 36px; display: inline-block; position: relative; top: 10px; }
.bullet .b-glyph.b-shipping { background-position: -6px -6px; }
.bullet .b-glyph.b-payment { background-position: -54px -6px; left: -2px; }
.bullet .b-glyph.b-location { background-position: -102px -6px; }

.bestsellers .product-list { margin-top: 40px; }
.bestsellers .bestsellers-header { text-align: center; color: #999; font-weight: normal; font-size: 1.8em; padding-bottom: 10px; padding-top: 30px; line-height: 1.2em; }

.section-header { color: #999; font-size: 1.4em; font-weight: normal; }

.onsale.related { border-top: none; margin-top: 0; margin-bottom: 30px; overflow-x: hidden; padding-top: 0; }

.sidebar.left-sidebar { float: left; }
.content.with-sidebar.left-sidebar { margin-right: 0; margin-left: 290px; }

.sidebar ul.tree li a { padding: 10px 0; border-bottom: 1px solid #eee; }

/* Product page
--------------- */

.video-container iframe { box-shadow: 0 5px 15px rgba(0,0,0,0.15); max-width: 100%; }



/* Product badges
----------------- */

.badge { height: 45px; width: 45px; background: #a1fcff; position: absolute; text-align: left; top: -5px; -moz-transform: rotate(30deg); -webkit-transform: rotate(30deg); -ms-transform: rotate(30deg); -o-transform: rotate(30deg); transform: rotate(30deg); }
.badge:before { height: 45px; width: 45px; background: inherit; content:""; position: absolute; -moz-transform: rotate(30deg); -webkit-transform: rotate(30deg); -ms-transform: rotate(30deg); -o-transform: rotate(30deg); transform: rotate(30deg); }
.badge:after { height: 45px; width: 45px; background: inherit; content:""; position: absolute; -moz-transform: rotate(-30deg); -webkit-transform: rotate(-30deg); -ms-transform: rotate(-30deg); -o-transform: rotate(-30deg); transform: rotate(-30deg); }
.badge span { color: #000 !important; font-weight: bold; position: absolute; z-index: 1983; top: 17px; left: -2px; right: -2px; transform: rotate(-13deg); -webkit-transform: rotate(-13deg); -moz-transform: rotate(-13deg); -o-transform: rotate(-13deg); font-size: 1em; text-align: center; overflow: visible; line-height: 1em; }

.badge.new,
.badge.new:before,
.badge.new:after { background: #ff4; color: #000; }
.badge.low-price,
.badge.low-price:before,
.badge.low-price:after { background: #ffc2e3; color: #300; }
.badge.bestseller,
.badge.bestseller:before,
.badge.bestseller:after { background: #74ff30; color: #030; }
.badge.bestseller span { display: none; }
.badge.bestseller:after { background-image: url('img/thumb-up.png'); background-size: 32px 32px; background-position: 6px 4px; background-repeat: no-repeat; }

.product-gallery .badge,
.product-gallery .badge:before,
.product-gallery .badge:after { width: 70px; height: 70px; }
.product-gallery .badge span { font-size: 1.5em; top: 25px; }
.product-gallery .badge.bestseller:after { background-size: 48px 48px; background-position: 8px 8px; }

.slider .badge,
.slider .badge:before,
.slider .badge:after { width: 70px; height: 70px; }
.slider .badge span { font-size: 1.5em; top: 25px; }
.slider .badge.bestseller:after { background-size: 64px 64px; background-position: 2px 2px; }

/* Category
----------- */

.filters .filters-toggle-wrapper { display: none }
.filters input[type="text"] { font-size: 0.9em; width: 50px; text-align: right; }
.filters label { display: block; }

.filters .slider { background: transparent; }
.filters .ui-slider { margin: 10px 15px 10px 8px; display: block; }
.filters .ui-slider-horizontal { height: 2px; border: none; }
.filters .ui-slider-horizontal .ui-slider-handle,
.filters .ui-slider-horizontal .ui-slider-handle.ui-state-focus { top: -0.55em; margin-left: -0.4em; height: 1.1em; width: 1.1em; border: none; box-shadow: 0 1px 2px rgba(0,0,0,0.15); border-radius: 50%; z-index: 0; }
.filters .ui-slider-horizontal .ui-slider-handle.ui-state-hover { border-color: #999; box-shadow: 0 1px 4px rgba(0,0,0,0.35); }
.filters .ui-slider-horizontal.ui-widget-content { background: #bbb; }
.filters .ui-slider-horizontal .ui-widget-header { background: #0a0; height: 4px; position: relative; top: -1px; z-index: 0; }
.filters .ui-widget-content .ui-state-default { border: 1px solid #ccc; background: #f7f7f7; }

/* Cart items
------------- */

.cart .row { min-height: 23px; padding-top: 20px; }
.cart .col.item-thumb { min-width: 55px; }
.cart .col.item-thumb img { position: absolute; margin-top: 0; width: 48px; height: 48px; }
.cart .col.item-remove { float: right; }
.cart .col.total { font-size: 1.8em; font-weight: bold; }
.cart .col.services { margin-top: 5px; }
.cart .col.cart-coupon { min-height: 1px; }
.cart .col.cart-coupon .errormsg { display: inline-block; margin: 0; }
.cart .related { padding: 15px; background: #eee; border-top: 0; margin-bottom: 10px; margin-top: 0; }
.cart .related h4 { font-weight: normal; color: #777; }
.cart input.qty { max-width: 50px; text-align: right; }
.cart .affiliate { text-align: center; padding: 20px; border-top: 1px solid rgba(0,0,0,0.1); border-bottom: 1px solid rgba(0,0,0,0.1); }
.cart .featured-shipping-and-payment img { margin-right: 5px; }

.cart-checkout { margin-top: -10px; }

.your-cart-is-empty { padding: 50px; text-align: center; }

.cart #use-coupon { margin-left: 5px; white-space: nowrap; }
.cart .row.highlighted #apply-coupon-code { margin-left: 20px; }

/* Checkout
----------- */

.checkout .checkout-result { padding: 60px 0 20px; background: #fff; text-align: center; }
.checkout .checkout-result h1 { font-size: 4em; margin-bottom: 50px; font-weight: bold; }
.checkout .checkout-result.error h1 { color: red; }
.checkout .checkout-result .wa-form { margin: 10px auto 20px; width: 400px; float: none; text-align: left; }
.checkout .checkout-result .back { margin-top: 50px; }
.checkout { padding: 0; }
.checkout h2 { padding: 15px 20px 18px; font-weight: normal; margin: 0; background: #f3f3f3; margin-top: 10px; }
.checkout h2 a { text-decoration: none; color: #000; }
.checkout h2 a:hover { color: #a00 !important; }
.checkout h2.upcoming a:hover { color: #000 !important; cursor: default; }
.checkout h2 a.hint { font-size: 0.6em; color: #aaa; text-decoration: none; margin-top: 2px; }
.checkout h2 a.hint strong { text-decoration: underline; }

.checkout .checkout-step.is-done .step-header { position: relative; }
.checkout .checkout-step.is-done .step-header:after { content: ""; position: absolute; top: 0; right: 0; width: 60px; height: 100%; background: transparent url("img/checkout-done.png") 50% no-repeat; background-size: 30px; }

.checkout ul { list-style: none; padding-left: 0; margin-top: 0; }
.checkout ul li input[type="radio"] { margin-right: 3px; }
.checkout #login-form h1 { display: none; }
.checkout input.large { font-size: 1.4em; }
.checkout .comment { width: 100%; height: 100px; margin-bottom: 20px; }
.checkout blockquote img { margin-right: 20px; float: left; border-radius: 50%; }
.checkout blockquote p { margin-bottom: 10px; margin-left: 70px; }
.checkout blockquote p span { color: #000; }
.checkout-step { box-shadow: 0 2px 5px -2px rgba(0,0,0,0.1); }

.checkout .errormsg.inline { display: inline; margin-left: 10px; }

.checkout table.table { width: 100%; }
.checkout table.table td { border: none; }

.checkout .last span.loading {left: -10px}

.checkout .wa-form .wa-field input,
.checkout .wa-form .wa-field select { font-size: 1.2em; }
.checkout .wa-form .wa-field .wa-name { padding-top: 0.3em; }
.checkout .wa-form .wa-field.wa-field-birthday .wa-value select { margin-right: 5px;  }
.checkout .wa-form .wa-field.wa-field-address p { margin: 0; }
.checkout .wa-form .wa-field.wa-field-address .wa-field-address-zip input { min-width: 100px; width: 20%; }


/* Dialogs
---------- */

.dialog { display: none; }
.dialog-background { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: #fff; opacity: 0.8; filter: alpha(opacity=80); z-index: 99; }
.dialog-window .cart { position: fixed; top: 15%; left: 0; right: 0; opacity: 1; z-index: 100; overflow-x: hidden; box-shadow: 0 3px 15px #ddd; margin: 0 auto; text-align: left; width: 400px; bottom: 15%; background: #fff; padding: 25px; }
.dialog-window .cart .added2cart { font-style: italic; }
.dialog-window .cart .purchase { display: block; }
.dialog-window .dialog-close { float: right; color: #bbb; text-decoration: none; font-size: 200%; margin-top: -3px; }

/* Customer account
------------------- */

.order-status { padding: 2px 5px; color: #fff; }
h1 .order-status { font-size: 0.75em; margin-left: 10px; }

/* Swipebox
----------- */

#swipebox-caption { display: none; }
#swipebox-overlay { background: #fff !important; }
#swipebox-action { background: rgba(255,255,255,0.42) !important; opacity: 0.8 !important; border-top: none !important; bottom: 0 !important; }
#swipebox-action.visible-bars { transform: none !important; -webkit-transform: none !important; -o-transform: none !important; }
#swipebox-close,
#swipebox-prev,
#swipebox-next { background-size: 120px 24px; }


/* TABLET only
============== */

@media screen and (min-width: 760px) and (max-width: 1024px) {

    .nav-sidebar { width: 180px; }
    .page-content.with-sidebar { margin-left: 180px; }
    .filters { width: 190px; }

    header ul.flyout-nav li .flyout { padding: 15px 0; }

    .welcome { margin-left: 20px; margin-right: 20px; }

    .slider a h3 { font-size: 2.4em; }
    .bestsellers .bestsellers-header { font-size: 1.6em; }

    ul.thumbs.text-content li { width: 21%; margin-left: 0; margin-right: 25px; }

}

/* MOBILE only
============== */

@media screen and (max-width: 767px) {
    .currency-toggle { margin: 0 0 10px; right: auto; position: static; }

    .content.with-sidebar { padding: 0; margin: 0 !important; }
    .promos ul li { width: 50%; }
    .welcome { margin-left: 0; margin-right: 0; }
    header ul.flyout-nav li .flyout { padding: 15px; }
    header ul.flyout-nav li .flyout .departments ul.menu-v li { width: 42%; }
    .bestsellers .bestsellers-header { font-size: 1.4em; }

    .product-sidebar { width: 100%; float: none; }
    .product-info { margin-right: 0; }

    .bullets { padding: 0px; margin-left: 0; margin-right: 0; }
    .added2cart { background: #ff7; font-weight: bold; display: block; padding: 3px 5px; }


    #compare-leash,
    .compare-add { display: none; }

    .filters { float: none; width: auto; margin: 0; }
    .filters .filters-toggle-wrapper { display: block; text-align: center; }
    .filters .filters-toggle-wrapper .filters-toggle-link {
        padding: 15px 0; display: block; color: #995; }
    .filters .filters-form-wrapper { display: none; }

    .filters.is-shown .filters-toggle-wrapper .filters-toggle-link { display: block; padding: 15px 0; border-bottom: 1px solid rgba(0,0,0,0.1); color: #995; }
    .filters.is-shown .filters-form-wrapper { display: block; margin: 0; }

    table.features td.name { min-width: 105px; }

    .image#product-core-image { float: none; }
    .image img { height: auto !important; }
    .product-gallery { float: none; width: auto; margin-right: 0; margin-top: 30px; }
    .badge { font-size: 0.9em; }

    .purchase { width: 100%; }

    .review-form-fields label { width: auto; float: none; }
    .review-form-fields input { width: 80%; }
    .review-form textarea { width: 90%; }
    .review-form .review-submit { padding-left: 0; }
    .review-form .wa-captcha img { margin-bottom: 10px; }

    .bullet { width: 100%; }

    .badge,
    .badge:before,
    .badge:after { width: 45px !important; height: 45px !important; }
    .badge span { top: 17px !important; left: -2px !important; right: -2px !important; font-size: 0.9em !important; }
    .badge.bestseller:after { background-size: 40px 40px !important; background-position: 5px 2px !important; }

    .dropdown ul.menu-h.aux { display: none; float: none; }

    /* cart: override cart column widths for better display on mobiles */
    .cart .row { padding: 30px 0 70px; }
    .cart .col.w1 { display: none; }
    .cart .col.w1.item-remove { display: block; width: 10% !important; text-align: right; float: right; }
    .cart .col.item-name { width: 100% !important; font-size: 120%; margin-bottom: 10px; }
    .cart .col.item-qty { float: left; }
    .cart .col.item-total,
    .cart .col.cart-total,
    .cart .col.cart-discount,
    .cart .col.affiliate-discount { font-size: 140%; font-weight: bold; float: right; text-align: right; width: auto; }
    .cart .col.cart-coupon { width: 100% !important; padding-bottom: 20px; }
    .cart .col.cart-total { width: 100%; text-align: center; background: #ffef9f; padding: 20px 0; margin-top: 15px; }
    .cart .col.cart-checkout { width: 100% !important; }
    .cart .col.cart-checkout input { font-size: 150%; display: block; margin-top: 20px; margin-bottom: 10px; width: 100%; }
    .cart #discount-row .col { text-align: center; }
    .cart .related { display: none; }
    .cart .col.featured-shipping-and-payment { width: 100%; }

    .related .bx-wrapper { overflow-x: hidden; }

    .slider a { height: 200px; }
    .slider a h3 { font-size: 2em; margin: 20px 20px !important; }
    .slider p { margin: 0 20px !important; }
    .slider .bx-wrapper .bx-prev,
    .slider .bx-wrapper .bx-next { display: none; }
    .slider.fill-entire-area { box-shadow: none; margin-bottom: 0; }

    table.table td .gray { display: none; }
    table.table td.nowrap { white-space: normal; }
    table.table td.nowrap.bold { white-space: nowrap; }

    .description { overflow-x: hidden; }
    table.rating-distribution td .bar { width: 100px; }
    .dialog-window .cart { top: 52px; left: 0; right: 0; bottom: 0; width: 100%; padding: 0; z-index: 1005020; background: #fafadf; box-shadow: 0 -20px 40px -20px rgba(0,0,0,0.3) inset; }
    .dialog-window #cart-form-dialog { padding: 20px 15px; }
    .dialog-window .cart h4 { font-size: 1.5em; }
    .dialog-window .dialog-close { margin-right: 15px; font-size: 2.8em; margin-top: 15px; }
}

/* WIDE
======= */

@media screen and (min-width: 1300px) {

    .promos ul li a { padding-top: 25px; height: 83px; }
    ul.homepage-bxslider,
    ul.homepage-bxslider li { max-height: 460px; }
    .slider a { height: 460px; }
    .slider a h3 { font-size: 2.8em; }
    ul.thumbs.text-content li { width: 225px; margin-right: 55px; }

}
