﻿/*
* 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: #04498f;
        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;
        box-shadow: 0 0 2px #ccc;
        font-size: 0;
        z-index: 2;
    }
    .filtersGroupPanel.imageOptions .color {
        width: 30px;
        height: 30px;
        top: 0;
        bottom: 0;
        margin: auto;
        border-radius: 20px;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .filtersGroupPanel .color.defaultColor {
	    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACMAAAAjCAIAAACRuyQOAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDY3IDc5LjE1Nzc0NywgMjAxNS8wMy8zMC0yMzo0MDo0MiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjE2MDkzNUE1N0ZENDExRTZBNERCQkIwMEI2Rjk0MUQ2IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjE2MDkzNUE2N0ZENDExRTZBNERCQkIwMEI2Rjk0MUQ2Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MTYwOTM1QTM3RkQ0MTFFNkE0REJCQjAwQjZGOTQxRDYiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MTYwOTM1QTQ3RkQ0MTFFNkE0REJCQjAwQjZGOTQxRDYiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz73zzpFAAAAkElEQVR42rzNiQ3AIAwEsIzO5i1SpT4UyHcXL2A5SrTWpKjpihr29DTU6dPwprEhTZOGMc0b+LRssNOuAU5Kg5r0BjKZmvxkbZKTo8lMviY8uZvYFGkCU7DxTvHGNaUa+5RtjBOgsUyYRp1gzX5CNpsJ3KwmfDOdKM1/YjXDRGzeE7e5J3pzTRVNV9SInAIMAJwnJvFb6ab1AAAAAElFTkSuQmCC') no-repeat center;
        background-size: cover;
    }



/* PRODUCT GRID SELECTORS */

    .number-of-returned-products.active {
        display: none;
    }



/* DROPDOWN MODE */

    .filtersGroupPanel.filtersDropDownPanel {
        padding: 10px;
    }
    .filtersGroupPanel select {
        font-size: 14px;
        cursor: pointer;
        line-height: 1.3;
        height: 36px;
        cursor: pointer;
        width: 100%;
        box-sizing: border-box;
        z-index: 1;
    }
    .filtersDropDownPanel.disabled select {
        opacity: .5;
        cursor: default;
    }
    .filtersDropDownPanel option[disabled] {
        color: #cdcdcd;
    }

/* 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;
}


.item-box.dummy-box {
    position: relative;
    min-height: 300px;
}
.item-box.dummy-box:before {
    content:'';
    position: absolute;
    top: 50%;
    left: 50%;   
    height: 32px;
    width: 32px;
    background: url('../../../images/ajaxLoader.gif') no-repeat 50% 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    z-index: 9999;
}
.item-box.dummy-box .product-item {
    opacity: 0;
}
/* 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: 1024px) {

    .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: #04498f 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: 1025px) {

    .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 #04498f 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: #04498f;
    }
    .filtersGroupPanel {
        display: block;
        box-shadow: 0 1px 1px 1px rgba(0,0,0,0.15);
        border-top: 1px solid #04498f;
        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;
    }
    
}