﻿/*
* Copyright 2013 Seven Spikes Ltd. All rights reserved. (http://www.nop-templates.com)
* http://www.nop-templates.com/t/licensinginfo
*/


.filtersTitlePanel {
	display: none;
}
.clearFilterOptionsAll {
	float: right;
	cursor: pointer;
}

.filter-block .title {
	overflow: hidden;
	background: rgba(0,0,0,0.5);
	padding: 5px;
}
.filter-block a.toggleControl {
	background: url('images/pointer1.png') left top no-repeat;
	padding-left: 22px;
	cursor: pointer;
	text-transform: none;
}
.filter-block a.toggleControl.closed {
	background-position: left -18px;
}
.filter-block a.clearFilterOptions,
.filter-block a.clearPriceRangeFilter {
	float: right;
	margin: 1px 1px 0 0;
	border: 1px solid #bbb;
	background: #ccc;
	padding: 0 3px;
	font-size: 11px;
	color: #444;
	text-transform: lowercase;
	cursor: pointer;
}
.filter-block a.clearFilterOptions:hover,
.filter-block a.clearPriceRangeFilter:hover {
	background: #ddd;
}

.filtersGroupPanel {
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
	background: #fff;
	color: #000;
}

/* PRICE RANGE SLIDER */

.priceRangeFilterPanel7Spikes .filtersGroupPanel {
	border-top: 1px solid #bbb;
	padding: 10px;
	font-size: 14px;
}
.priceRangeMinMaxPanel {
    overflow: hidden;
    margin-bottom: 15px;
}
.priceRangeMinPanel {
    float: left;
}
.priceRangeMaxPanel {
    float: right;
}

.ui-slider {
	position: relative;
	width: auto;
	height: 4px;
	margin: 0 8px 15px;
    background: #999;   
}
.ui-slider-range {
    background: #444;
    height: 4px;
    padding: 0;
    position: absolute;
}
.ui-slider-handle {
	position: absolute;
    top: -7px;
	height: 18px;
    width: 18px;
	margin-left: -9px;
	background: url('images/scale_knob.png') no-repeat !important;
}

.priceRangeCurrentPricesPanel {
	overflow: hidden;
	color: #c00;
    font-size: 15px;
}
.priceRangeCurrentPricesPanel .currentMinPrice {
    float: left;
}
.priceRangeCurrentPricesPanel .currentMaxPrice {
    float: right;
}

/* CHECKBOX MODE */

.filtersGroupPanel li {
	border-top: 1px solid #ddd;
}
.filtersGroupPanel li:hover {
	background: #f6f6f6;
}
.filtersGroupPanel li a {
    display: block;
    padding: 8px 8px 8px 28px;
    line-height: 1.3;
    position: relative;
    font-size: 12px !important;
	cursor: pointer;
}
.filtersGroupPanel a:hover {
	font-weight: bold;
}
    .filtersGroupPanel li a:before {
        content: " ";
        display: inline-block;
        width: 8px;
        height: 8px;
        border: 1px solid #333;
        position: absolute;
        top: 50%;
        left: 10px;
        margin: -6px 0 0;
    }
        a.filterItemSelected {
            background: #f6f6f6;
	        font-size: 14px;
	        font-weight: bold;
	        font-style: italic;
        }
        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: -5px;
    left: 11px;
    width: 8px;
    height: 8px;
    overflow: hidden;
}
.colorOptions a.filterItemSelected .color-container {
	box-shadow: 0 0 3px #000;
}
.colorOptions .color {
    display: block;
}
.colorOptions a.filterItemSelected .color {
	background: url('../../../images/selected.png') center no-repeat;
}
.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: 4px 10px 0 10px;
	border: 1px solid #999;
	background: #fff;
	color: #333;
	cursor: pointer;
}
.product-viewmode .jDropDown {
	display: none;
}
.product-sorting .jDropDown {
	width: 150px;
}
.product-page-size .jDropDown {
	width: 50px;
}
.jDropDown div {
	background: url('images/pointer2.png') right center no-repeat;
    padding: 4px 8px;
	line-height: 17px;
}
.jDropDown ul {
	display: none;
	position: absolute;
	left: -1px;
	z-index: 100;
	width: 100%;
	background: #fff;
	padding-top: 3px;
	border: 1px solid #bbb;
	border-top: 0px;
    text-align: left;
}
.jDropDown li {
	border-top: 1px dotted #ccc;
}
.jDropDown li span,
.jDropDown li a {
	display: block;
	padding: 4px 8px;
	color: #555;
	cursor: pointer;
}
.jDropDown li span:hover,
.jDropDown li.selected span {
	background: #ddd;
	color: #333;
}
.jDropDown li a:hover,
.jDropDown li.selected a {
	font-weight: normal;
}

/* DROPDOWN MODE */

.filtersDropDownPanel {
	padding: 5px;
}
.filtersDropDown {
	width: 100%;
	margin: 0;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
.filtersDropDown a {
	background: none;
	padding: 0;
}
.filtersDropDown a.filterItemDisabled,
.filtersDropDown a.filterItemDisabledSelected {
	display: none;
}

.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;
}

/* 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;
}



/*=====================================================
    
    TABLETS LANDSCAPE & NETBOOKS

=====================================================*/

@media screen and (max-width: 980px) and (min-width: 769px) {

    .product-selectors > div {
        margin: 0;
        width: 50%;
        text-align: center;
    }
    .jDropDown div {
        text-align: left;
        padding: 8px;
        line-height: 16px;
    }
    .jDropDown li span, 
    .jDropDown li a,
    .filtersGroupPanel.filtersDropDownPanel li a {
        padding: 8px;
    }

    .filter-block .title {
        position: relative;
        padding: 0;
    }
    .filter-block a.toggleControl {
        display:block;
        padding: 10px 0 10px 27px;
        background: url('images/responsive-pointer1-down.png') 5px center no-repeat;
    }
    .filter-block a.toggleControl.closed {
        background: url('images/responsive-pointer1-right.png') 5px center no-repeat;
    }
    .filter-block a.clearFilterOptions, .filter-block a.clearPriceRangeFilter {
        width: 39px;
        text-align: center;
        height: 35px;
        line-height: 35px;
        margin: 0;
        padding: 0;
        border: 0;
        position: absolute;
        right: 1px;
        top: 1px;
    }

    .filtersGroupPanel li a {
        padding: 10px 0 10px 28px;
    }
    .filtersGroupPanel li a:before {
        width: 13px;
        height: 13px;
        left: 8px;
        margin: -8px 0 0;
    }

    .colorOptions .color-container {
        left: 9px;
        width: 13px;
        height: 13px;
        margin-top: -7px;
    }

}



/*=====================================================
    
    TABLETS PORTRAIT & SMARTPHONES LANDSCAPE

=====================================================*/

@media screen and (max-width: 768px) and (min-width: 481px) {

    .filtersPanel:after {
        content: ".";
        display: block;
        clear: both;
        visibility: hidden;
        line-height: 0;
        height: 0;
        font-size: 0;
    }
    .product-selectors > div {
        margin: 0;
        width: 50%;
        text-align: center;
    }
    .jDropDown div {
        text-align: left;
        padding: 8px;
        line-height: 16px;
    }
    .jDropDown li span, 
    .jDropDown li a,
    .filtersGroupPanel.filtersDropDownPanel li a {
        padding: 8px;
    }

    .filtersGroupPanel {
        display: none;
    }
    .filter-block .title {
        position: relative;
    }
    .filter-block a.toggleControl {
        display:block;
        padding: 10px 0 10px 27px;
        background: url('images/responsive-pointer1-right.png') 5px center no-repeat;
    }
    .filter-block a.toggleControl.closed {
        background: url('images/responsive-pointer1-down.png') 5px center no-repeat;
    }
    .filter-block a.clearFilterOptions, .filter-block a.clearPriceRangeFilter {
        width: 39px;
        text-align: center;
        height: 35px;
        line-height: 35px;
        margin: 0;
        padding: 0;
        border: 0;
        position: absolute;
        right: 1px;
        top: 1px;
    }

    .filtersGroupPanel li a {
        padding: 10px 0 10px 28px;
    }
    .filtersGroupPanel li a:before {
        width: 13px;
        height: 13px;
        left: 8px;
        margin: -8px 0 0;
    }

    .colorOptions .color-container {
        left: 9px;
        width: 13px;
        height: 13px;
        margin-top: -7px;
    }

/* THEME SPECIFIC */
    
    .side-2 > .block:nth-of-type(2n) {
        clear: both;
        margin: 0 2% 2% 0;
    }
    .side-2 > .block:nth-of-type(2n+1) {
        clear: none;
        margin: 0 0 2%;
    }
}



/*=====================================================
    
    SMALLER MOBILE DEVICES

=====================================================*/

@media screen and (max-width: 480px) {

    .filtersPanel:after {
        content: ".";
        display: block;
        clear: both;
        visibility: hidden;
        line-height: 0;
        height: 0;
        font-size: 0;
    }
    .product-selectors > div {
        margin: 0;
        width: 50%;
        text-align: center;
    }
    .jDropDown div {
        text-align: left;
        padding: 8px;
        line-height: 16px;
    }
    .jDropDown li span, 
    .jDropDown li a,
    .filtersGroupPanel.filtersDropDownPanel li a {
        padding: 8px;
    }

    .nopAjaxFilters7Spikes .block:last-child {
        margin: 0 0 15px;
    }

    .filtersGroupPanel {
        display: none;
    }
    .filter-block .title {
        position: relative;
    }
    .filter-block a.toggleControl {
        display:block;
        padding: 10px 0 10px 27px;
        background: url('images/responsive-pointer1-right.png') 5px center no-repeat;
    }
    .filter-block a.toggleControl.closed {
        background: url('images/responsive-pointer1-down.png') 5px center no-repeat;
    }
    .filter-block a.clearFilterOptions, .filter-block a.clearPriceRangeFilter {
        width: 39px;
        text-align: center;
        height: 35px;
        line-height: 35px;
        margin: 0;
        padding: 0;
        border: 0;
        position: absolute;
        right: 1px;
        top: 1px;
    }

    .filtersGroupPanel li a {
        padding: 10px 0 10px 28px;
    }
    .filtersGroupPanel li a:before {
        width: 13px;
        height: 13px;
        left: 8px;
        margin: -8px 0 0;
    }

    .colorOptions .color-container {
        left: 9px;
        width: 13px;
        height: 13px;
        margin-top: -7px;
    }

}