﻿/*
* 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 li {
        position: relative;
        border-top: 1px solid #c9c9c9;
    }
        .filtersGroupPanel li:first-child {
            border-top: 0;
        }
    .filtersGroupPanel input[type="checkbox"] {
        display: none;
    }
    .filtersGroupPanel input[type="checkbox"] + label {
        display: block;
        padding: 10px 10px 10px 42px;
        line-height: 1.4;
        position: relative;
        font-size: 12px;
        cursor: pointer;
        text-transform: uppercase;
        -webkit-transition: all .2s ease-in-out;
        transition: all .2s ease-in-out;
    }
        .filtersGroupPanel input[type="checkbox"] + label:hover {
            background-color: #f3f3f3;
        }
        .filtersGroupPanel input[type="checkbox"] + label:before {
            content: " ";
            width: 14px;
            height: 14px;
            border: 1px solid #c9c9c9;
            position: absolute;
            top: 50%;
            left: 15px;
            margin: -8px 0 0;
        }
        .filtersGroupPanel input[type="checkbox"]:checked + label {
            background-color: #f3f3f3;
        }
        .filtersGroupPanel input[type="checkbox"]:checked + label:before {
            background: url(../../../images/selected.png) no-repeat center;
        }
    .filtersGroupPanel li.disabled {
        opacity: .4;
    }
        .filtersGroupPanel li.disabled label {
            background: none !important;
        }
        .filtersGroupPanel input[type="checkbox"]:disabled + label {
            cursor: default;
        }



/* COLOR SQUARE ATTRIBUTES */

    .filtersGroupPanel .color {
        position: absolute;
        top: 50%;
        margin-top: -10px;
        right: 16px;
        width: 20px;
        height: 20px;
        border-radius: 10px;
        overflow: hidden;
        border: 1px solid #c9c9c9;
        font-size: 0;
        z-index: 2;
    }

    .filtersGroupPanel .color.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 */

    .number-of-returned-products.active {
        display: none;
    }



/* DROPDOWN MODE */

    .filtersGroupPanel.filtersDropDownPanel {
        padding: 10px;
    }
    .filtersDropDownPanel .select-wrap {
        position:relative;
    }
    .filtersGroupPanel .select-box {
        position:relative; 
        z-index:0; 
        display:block;
        box-shadow: 0 0 3px 1px rgba(0,0,0,.15);
    }
    .filtersGroupPanel .select-inner {
        position: relative;
        background: #fff;
        font-size: 14px;
        cursor: pointer;
        line-height: 1.3;
        padding: 9px 48px 9px 12px;
        height: 36px;
        display:block;
    }
        .filtersGroupPanel .select-inner:after {
            content: " ";
            display: block;
            position: absolute;
            top: 0;
            right: 0;
            width: 36px;
            height: 36px;
            background: #46c688 url(images/dropdown-pointer.png) no-repeat center;
        }
    .filtersGroupPanel select {
        height: 36px;
        cursor: pointer;
        position: absolute;
        opacity: 0;
        width: 100%;
        box-sizing: border-box;
        z-index: 1;
    }

/* 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;
    }
    
}