﻿/*
* Copyright 2015 Seven Spikes Ltd. All rights reserved. (http://www.nop-templates.com)
* http://www.nop-templates.com/t/licensinginfo
*/

/*=====================================================
    
    SMALLER MOBILE DEVICES

=====================================================*/

@media all and (min-width: 240px) {

    .responsive-nav-wrapper .filters-button {
        display: inline-block;
    }

/* GLOBAL */

    .filtersTitlePanel {
	    display: none;
    }
    .clearFilterOptionsAll {
	    float: right;
	    cursor: pointer;
    }

	.filtersPanel {
	}
	.filtersPanel:after {
		content: ".";
		display: block;
		clear: both;
		visibility: hidden;
		line-height: 0;
		height: 0;
		font-size: 0;
	}
    .filter-block,
    .filter-block .title {
        position: relative;
    }
    .filter-block a.toggleControl {
        display: block;
        padding: 10px 42px 10px 10px;
        cursor: pointer;
        font-size: 14px;
        color: #fff;
        background: url(images/pointer-white.png) no-repeat 95% center;
    }
    .filter-block a.toggleControl.closed {
    }
    .filter-block a.clearFilterOptions, .filter-block a.clearPriceRangeFilter {
        position: absolute;
        top: 50%;
        right: 1px;
        width: 49px;
        height: 37px;
        line-height: 37px;
        margin-top: -19px;
        background: #707070;
        color: #fff;
        text-align: center;
        text-transform: lowercase;
        cursor: pointer;
    }
    .filter-block a.clearFilterOptions:hover,
    .filter-block a.clearPriceRangeFilter:hover {
    }
    .filtersGroupPanel {
	    color: #000;
        background: #fff;
    }
	
/* SEARCH CRITERIA */

.selected-options-list > li {
	border-bottom: 1px solid #c9c9c9;
	padding: 10px;
	text-align: left;
	font-size: 12px;
    line-height: 1.3;
	color: #000;
	text-transform: uppercase;
    overflow: hidden;
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}
.selected-options-list > li:last-child {
	border-bottom: none;
}
.selected-options-list > li label{
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.selected-options-list > li span {
	display: block;
    float: left;
    padding: 9px 20px 9px 3px;
    margin: 0 6px 0 0;
    background: url(images/clear_button.png) top 12px right 4px no-repeat;
	vertical-align: middle;
	color: #333;
	cursor: pointer;
}

/* PRICE RANGE SLIDER */

    .priceRangeFilterPanel7Spikes .filtersGroupPanel {
	    padding: 10px;
    }
    .priceRangeMinMaxPanel {
        overflow: hidden;
        margin: 0 0 12px;
        font-size: 14px;
    }
    .priceRangeMinPanel {
        float: left;
    }
    .priceRangeMaxPanel {
        float: right;
    }

    .ui-slider {
	    position: relative;
	    width: auto;
        height: 7px;
	    margin: 0 8px 12px;   
        background: #ececec;
        box-shadow: inset 0 2px 1px #ccc;
    }
    .ui-slider-range {
        height: 7px;
        background: #46c688;
        box-shadow: inset 0 2px 1px rgba(0,0,0,0.1);
        position: absolute;
    }
    .ui-slider-handle {
        position: absolute;
        top: -4px;
        width: 22px;
        height: 15px;
        margin-left: -10px;
        background: url('images/scale_knob.png') top no-repeat !important;
    }

    .priceRangeCurrentPricesPanel {
	    overflow: hidden;
    }
    .priceRangeCurrentPricesPanel span {
        color: #44b5c3;
        font-size: 14px;
    }
    .priceRangeCurrentPricesPanel .currentMinPrice {
        float: left;
    }
    .priceRangeCurrentPricesPanel .currentMaxPrice {
        float: right;
    }

/* CHECKBOX MODE */

    .filtersGroupPanel ul:after {
        content: ".";
        display: block;
        clear: both;
        visibility: hidden;
        line-height: 0;
        height: 0;
        font-size: 0;
    }
    .filtersGroupPanel li {
    }
    .filtersGroupPanel li > a {
        display: block;
        padding: 12px 10px 12px 42px;
        line-height: 1.3;
        position: relative;
        font-size: 12px;
        cursor: pointer;
        text-transform: uppercase;
        border-bottom: 1px solid #c9c9c9;
        -webkit-transition: all .2s ease-in-out;
        transition: all .2s ease-in-out;  
    }
        .filtersGroupPanel li > a:hover {
            background-color: #f3f3f3;
        }
        .filtersGroupPanel li:last-child > a {
            border-bottom: 0;
        }
        .filtersGroupPanel li a:before {
            content: " ";
            width: 14px;
            height: 14px;
            border: 1px solid #c9c9c9;
            position: absolute;
            top: 50%;
            left: 15px;
            margin: -8px 0 0;
        }
    a.filterItemSelected {
        background-color: #f3f3f3;
    }
    a.filterItemSelected:before {
        background:url(../../../images/selected.png) no-repeat center;
    }
    a.filterItemSelectedDisabled {
        background:url(../../../images/selected.png) no-repeat center;
        opacity: 0.4;
    }
    a.filterItemDisabled {
        opacity: 0.4;        
    }
    a.filterItemDisabled,
    a.filterItemSelectedDisabled {
	    color: #999;
	    cursor: default;
    }
    a.filterItemDisabled:hover,
    a.filterItemSelectedDisabled:hover {
	    color: #999;
    }

/* COLOR SQUARE ATTRIBUTES */

    .colorOptions .color-container {
        position: absolute;
        top: 50%;
        margin-top: -10px;
        right: 16px;
        width: 20px;
        height: 20px;
        border-radius: 10px;
        overflow: hidden;
        border: 1px solid #c9c9c9;
    }
    .colorOptions a.filterItemSelected .color-container {
    }
    .colorOptions .color {
        display: block;
        width: 20px;
        height: 20px;
    }
    .colorOptions a.filterItemSelected .color {
    }
    .colorOptions a.filterItemDisabled,
    .colorOptions a.filterItemSelectedDisabled {
	    opacity: 0.5;
	    filter: alpha(opacity=50);
    }
    .colorOptions .defaultColor {
	    background: -moz-linear-gradient(-45deg, #ffffff 0%, #ffffff 50%, #000000 50%, #000000 100%);
	    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%, #ffffff), color-stop(50%, #ffffff), color-stop(50%, #000000), color-stop(100%, #000000)); /* Chrome,Safari4+ */
	    background: -webkit-linear-gradient(-45deg, #ffffff 0%, #ffffff 50%, #000000 50%, #000000 100%); /* Chrome10+,Safari5.1+ */
	    background: -o-linear-gradient(-45deg, #ffffff 0%, #ffffff 50%, #000000 50%, #000000 100%);
	    background: -ms-linear-gradient(-45deg, #ffffff 0%, #ffffff 50%, #000000 50%, #000000 100%); /* IE10+ */
	    background: linear-gradient(135deg, #ffffff 0%, #ffffff 50%, #000000 50%, #000000 100%); /* W3C */
	    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#000000', GradientType=1 );
    }

/* PRODUCT GRID SELECTORS */

    .jDropDown {
        position: relative;
        display: inline-block;
        margin: 0 10px;
        background: #fff;
        font-size: 14px;
        cursor: pointer;
        box-shadow: 0 0 3px 1px rgba(0,0,0,0.15);
    }
    .product-viewmode .jDropDown {
	    min-width: 120px;
    }
        .product-viewmode .jDropDown > div {
	        background-position: 85px 0;
        }
    .product-sorting .jDropDown {
	    min-width: 150px;
    }
        .product-sorting .jDropDown > div {
	        background-position: 115px 0;
        }
    .product-page-size .jDropDown {
	    min-width: 85px;
    }
        .product-page-size .jDropDown > div {
            background-position: 50px 0;
        }
    .jDropDown > div {
        padding: 8px 12px;
        text-align: left;
        position: relative;
    }
        .jDropDown > div:after {
            content: " ";
            display: block;
            position: absolute;
            top: 0;
            right: 0;
            width: 35px;
            height: 35px;
            background: #46c688 url(images/dropdown-pointer.png) no-repeat center;
        }
    .jDropDown ul {
        display: none;
        position: absolute;
        top: 35px;
        z-index: 100;
        width: 100%;
        background: #fff;
        text-align: left;
        overflow: hidden;
        box-shadow: 0 1px 2px 1px rgba(0,0,0,0.15);
    }
    .jDropDown li span,
    .jDropDown li a {
	    display: block;
	    padding: 7px 16px;
	    color: #555;
	    cursor: pointer;
        border-top: 1px dotted #ccc;
    }
    .jDropDown li span:hover,
    .jDropDown li.selected span {
	    background: #f3f3f3;
	    color: #333;
    }
    .jDropDown li:first-child span,
    .jDropDown li:first-child a {
        border-top: 0 !important;
    }
    
    .number-of-returned-products.active {
        display: none;
    }

/* DROPDOWN MODE */

    .filtersDropDownPanel {
        padding: 10px;
    }
    .filtersDropDown {
	    width: 100%;
	    margin: 0;
    }
	.filtersDropDown div {
		background-position: 100% center !important;
	}
        .filtersDropDown.jDropDown a {
            padding-left: 10px;
            border-top: 0;
        }
    .filtersDropDown a.filterItemDisabled,
    .filtersDropDown a.filterItemDisabledSelected {
	    display: none;
    }

    .filtersGroupPanel.filtersDropDownPanel li {
        float: none !important;
        width: auto !important;
        margin-bottom: 0;
    }
    .filtersGroupPanel.filtersDropDownPanel li a:hover {
        background: #555;
        color: #fff;
    }
    .filtersGroupPanel.filtersDropDownPanel li:first-child a {
	    border-top: 1px solid #c9c9c9;
    }
    .filtersGroupPanel.filtersDropDownPanel li a:before {
        display: none;
    }

/* AJAX LOADER */

    .productPanelAjaxBusy {
	    position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #fff url('../../../images/ajaxLoader.gif') no-repeat 50% 50%;
        filter: Alpha(opacity = 70);
        opacity: 0.7;
        z-index: 2;
    }
.infinite-scroll-loader {
    display: none;
    height: 100px;
    background: #fff url('../../../images/ajaxLoader.gif') no-repeat 50% 50%;
    font-size: 0;
    filter: Alpha(opacity = 70);
    opacity: 0.7;
    z-index: 2;
    clear: both;
}

/* NO RESULTS POPUP */

    .ajaxFilters.k-window {
	    position: absolute;
	    z-index: 10001;
	    height: auto !important;
	    border: 1px solid #ccc;
	    box-shadow: 0 1px 2px #ccc;
	    background: #fff;
	    padding: 1px !important;
    }
    .ajaxFilters .k-window-titlebar {
	    margin: 0 !important;
	    border-bottom: 1px solid #bbb;
	    background: #ddd;
	    padding: 8px;
    }
    .ajaxFilters .k-window-titlebar span {
	    font-size: 16px;
	    color: #333;
	    text-shadow: 1px 1px 0 #fff;
    }
    .ajaxFilters .k-window-actions {
	    position: absolute;
	    top: 10px;
	    right: 10px;
    }
    .ajaxFilters .k-window-actions a {
	    display: block;
    }
    .ajaxFilters .k-window-actions .k-icon {
	    display: block;
	    height: 16px;
        width: 16px;
	    border: 1px solid #ccc;
        box-shadow: 0 0 1px #999 inset;
	    background: #333 url('../../../images/button-close-hover.png') no-repeat center;
	    font-size: 0;
    }
    .ajaxFilters .k-window-actions .k-icon:hover {
	    background: #fff url('../../../images/button-close.png') no-repeat center;
    }
    .ajaxFilters .k-window-content {
	    min-height: inherit !important;
	    min-width: inherit !important;
	    padding: 15px;
	    line-height: 18px;
	    color: #555;
    }

}


@media all and (max-width: 980px) {

    .nopAjaxFilters7Spikes {
        position: fixed;
        top: 0;
        left: 0;
        width: 320px;
        height: 100%;
        background: #333;
        overflow: hidden;
        z-index: 2147483647;
        -webkit-transition: all .3s ease-in-out;
        transition: all .3s ease-in-out;
    }
    .notAndroid23 .nopAjaxFilters7Spikes{
        -webkit-transform: translate(-320px);
        -ms-transform: translate(-320px);
        transform: translate(-320px);
    }
    .android23 .nopAjaxFilters7Spikes{
        left: -320px;
    }
        .nopAjaxFilters7Spikes.open {
            box-shadow: 1px 0 5px rgba(0,0,0,0.5);
        }
        .notAndroid23 .nopAjaxFilters7Spikes.open{
            -webkit-transform: translate(0);
            -ms-transform: translate(0);
            transform: translate(0);
        }
        .android23 .nopAjaxFilters7Spikes.open{
            left: 0;
        }

        .nopAjaxFilters7Spikes .close-filters {
            background: #46c688 url(images/pattern-nav.png) left top;
            cursor: pointer;
        }
        .nopAjaxFilters7Spikes .close-filters span {
            display: block;
            padding: 15px 20px;
            background: url(images/nav-item-close.png) no-repeat 25px center;
            font-size: 20px;
            color: #fff;
            text-transform: uppercase;
            line-height: 15px;
            text-align: right;
            border-bottom: 1px solid #42ab78;
        }

        .nopAjaxFilters7Spikes .filter-block {
            margin: 0;
            border-bottom: 1px solid #42ab78;
            width: 100%;
        }

}



/*=====================================================
    
    DESKTOP

=====================================================*/

@media all and (min-width: 981px) {

    .filters-button,
    .close-filters {
        display: none;
    }

    .filter-block {
        margin: 0 auto 20px;
    }
	.filtersGroupPanel:after {
		content: ' ';
		position: absolute;
		bottom: -7px;
		right: -1px;
		width: 0px;
		height: 0px;
		border-style: dashed solid dashed dashed;
		border-width: 0 134px 6px 0;
		border-color: transparent #46c688 transparent transparent;
	}

    .filter-block .title {
        background: none !important;
    }
    .filtersGroupPanel li > a {
        padding: 10px 10px 10px 42px;
    }
    .filter-block a.toggleControl {
        padding: 8px 42px 8px 0px;
        font-size: 18px;
        font-weight: 300;
        color: #505050;
        background: url(images/pointer.png) no-repeat 95% center;
    }
    .filter-block a.clearFilterOptions, .filter-block a.clearPriceRangeFilter {
        background: #46c688;
    }
    .filtersGroupPanel {
        display: block;
        box-shadow: 0 1px 1px 1px rgba(0,0,0,0.15);
        border-top: 1px solid #46c688;
        position: relative;
        z-index: 2;
    }
    
    .selected-options-list > li span {
        padding: 5px 20px 5px 3px;
        margin: 0 6px 0 0;
        background-position: top 8px right 4px;
    }
    .selected-options-list > li span:hover{
        text-decoration: underline;
    }
    
    .number-of-returned-products.active {
        display: block;
        margin: 0 0 10px 10px;
        font-size: 14px;
        color: #999;
    }
    .product-selectors + .number-of-returned-products.active {
        margin-top: -5px;
    }
    .number-of-returned-products .productsPerPage,
    .number-of-returned-products .allProductsReturned {
        color: #555;
    }
    
}