/* FILTERS */
.form-group.input-group-sm {
	border-left: 1px solid #eaeaea;
    border-right: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
	margin-top: 0;
}
#sticky .form-control:focus {
    border-color: #ccc;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}
#mobile-filter {
    width: 100%;
    background: #fefefe;
    padding: 10px;
    text-align: center;
    color: #000;
    border: none;
    border-bottom: solid 1px #ccc;
    z-index: 99;
}
.hide {
    display: none!important;
}
.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #fff;
	-webkit-backface-visibility: hidden;
    backface-visibility: hidden;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
    -webkit-box-shadow: 0px 3px 3px 0px rgb(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 3px 3px 0px rgb(0, 0, 0, 0.25);
    box-shadow: 0px 3px 3px 0px rgb(0, 0, 0, 0.25);
}
.fixed > .container {
    padding-right: .75rem;
    padding-left: .75rem;
}

/* Listed */
#listed {
	margin: 5px 0;
	text-align: right;
}
.unclickable {
	pointer-events: none;
	opacity: 0.5;
}
.important-list-height {
	height: auto!important;
}
.scroll-content::-webkit-scrollbar {
    width: 5px;
}

/* Same */
.filter > * {
    display: inline-block;
}

.filter .dropdown-toggle::after {
    content: none;
}

.filter-dropdown > a > i {
	float: right;
	line-height: 1.42857143;
	margin-right: -5px;
    color: #000;
	cursor: pointer;
}

.filter-dropdown > a, .coupon-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 15px;
    height: 45px;
    line-height: 15px;
    font-size: 1rem;
    outline: 0;
    cursor: pointer;
    color: #212529;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;	
}

.filter-dropdown, #coupon, #input-sort {
    float: left;
    border: none;
    border-left: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}

#input-sort {
    height: 45px;
    border: none;
    font-size: 1rem;
    line-height: 1.4rem;
    padding: 12px 15px;
    cursor: pointer;
    color: #555;
}

#parent, #category, #store, #manufacturer, #option, #color, #filter, span[id^="filter"], #price {
	color: #555;
    cursor: pointer;
    user-select: none;
}

.filter-dropdown .dropdown-menu {
	background: #fff;
    left: 0;
	padding: 0!important;
	position: absolute;
	top: 35px;
	margin: 0;
	border-radius: 0!important;
	-webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.15);
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
}
.filter-dropdown .dropdown-menu ul {
    padding: 0;
    margin-bottom: 0px;
}
.filter-dropdown .dropdown-menu ul li {
	list-style: none;
}
.scroll-content {
    height: auto;
    overflow: auto;
    white-space: nowrap;
    max-height: 200px;
	margin-right: 5px;
}
.input-search {
    padding: 5px 5px 5px 5px;
}
.input-search .fa {
	position: absolute;
    top: 12px;
    right: 14px;
}
.value-name {
    padding: 5px;
    cursor: pointer;
}
.value-name input[type="checkbox"] + span {
	display: block;
    border: 1px solid #ddd;
	text-align: center;
    min-width: 100px;
    min-height: 40px;
    line-height: 1.8;
    white-space: nowrap;
    user-select: none;
}
.value-name input[type="checkbox"]:checked + span {
    border: 1px solid #000;	
}
.filter-label {
	width: 100%;
	margin-bottom: 0;
    padding: 0 10px 5px;
    cursor: pointer;
	user-select: none;
}
.filter-label input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
	position: relative;
	width: 13px;
	width: 16px \0;
	height: 13px;
	height: 16px \0;
	-webkit-appearance: none;
	background: white;
	border: 1px solid #dcdcdc;
	border: 1px solid transparent \0;
	margin-top: 2.5px;
}
.filter-label input[type="checkbox"]:checked {
	background: #fff;
}
.filter-label input[type="checkbox"]:hover {
	border-color: #c6c6c6;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .1);
	-webkit-box-shadow: none \9;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .1);
	box-shadow: none \9;
}
.filter-label input[type="checkbox"]:focus {
	border-color: #4d90fe;
	outline: 0;
}
.filter-label input[type="checkbox"]:active {
	background-color: #ebebeb;
	border-color: #c6c6c6;
}
.filter-label input[type="checkbox"]:checked::after {
	position: absolute;
	top: -6px;
	left: -5px;
	display: block;
	content: url('../image/checkmark.png');
}
.button-filter {
    width: 100%;
	color: #fff;
	text-shadow: none;
	background-color: #000000;
    white-space: nowrap;
	background-image: none;
	background-repeat: repeat-x;
	border: none;
}
.button-filter:hover {
	color: #fff;
	background-color: #333333;
}

button[data-role=reset] {
    color: #777;
    width: 100%;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    background-color: #eeeeee;
    background-image: none;
    background-repeat: repeat-x;
    border: none;
}
button[data-role=reset]:hover {
    color: #000;
    background-color: #f9f9f9;
    border-color: #f9f9f9;
    background: #f9f9f9;
}

#option-dropdown ul, #color-dropdown ul, #filter-dropdown ul {
    list-style: outside none none;
    border-bottom: 1px solid #dee2e6;
    padding: 5px 5px 0 5px;
    width: 100%;
    float: left;
}
#option-dropdown li, #color-dropdown li, #filter-dropdown li {
    padding: 0.5rem 1rem;
    display: inline-flex;
    cursor: pointer;
    user-select: none;
}
#option-dropdown li:hover, #color-dropdown li:hover, #filter-dropdown li:hover {
	
}
#option-dropdown li a, #color-dropdown li a, #filter-dropdown li a {
	color:#333;
	width:100%;
    font-size: 1rem;
}
#option-dropdown li a:hover, #color-dropdown li a:hover, #filter-dropdown li a:hover {
	background:none;
	color:#333;
}
#option-dropdown .option-content, #color-dropdown .color-content, #filter-dropdown .filter-content, ul[id^="filter-dropdown"] .filter-content {
    width: 100%;
    float: left;
}
#option-dropdown .content-option-value, #color-dropdown .content-color-value, #filter-dropdown .content-filter-value, ul[id^="filter-dropdown"] .content-filter-value {
    display: inline-block;
    width: 100%;
}
#option-dropdown .content-option-value .tab, #color-dropdown .content-color-value .tab, #filter-dropdown .content-filter-value .tab {
    width: 100%;
	user-select: none;
}
#option-dropdown .active, #color-dropdown .active, #filter-dropdown .active {
    border: solid 1px;
    border-color: #dee2e6 #dee2e6 #fff;
    margin-bottom: -1px;
}
#option-dropdown .open, #color-dropdown .open, #filter-dropdown .open {
    display: block;
}
#option-dropdown .value-group, #color-dropdown .value-group, #filter-dropdown .value-group, ul[id^="filter-dropdown"] .value-group, #price-dropdown .value-group {
    display: flex;
}

/* Price Filter */
.price-filter {
    position: relative;
}
#list-price {
    left: 0;
    top: 35px;
    padding: 0;
    margin: 0;
    min-width: 100%;
}
#price-dropdown .price-content {
    width: 100%;
    padding: 10px 10px 25px;
}
/* Range Slider */
.range-slider {
	width: 100%;
    margin: auto;
    position: relative;
    height: 8em;
}
.range-slider svg {
	width: 100%;
	vertical-align: middle;
}
.range-slider svg, .range-slider input[type=range] {
	position: absolute;
	left: 0;
	bottom: 0;
}
input[type=number] {
	border: 1px solid #ddd;
	text-align: center;
	font-size: 1.6em;
	-moz-appearance: textfield;
    min-width: 100px;
}
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
	-webkit-appearance: none;
}
input[type=number]:invalid,
input[type=number]:out-of-range {
	border: 2px solid #ff6347;
}
input[type=range] {
	-webkit-appearance: none;
	width: 100%;
}
input[type=range]:focus {
	outline: none;
}
input[type=range]::-webkit-slider-thumb:hover {
	background: #333333;
	border: 1px solid #353535;
}
input[type=range]::-moz-range-thumb:hover {
	background: #333333;
	border: 1px solid #353535;
}
input[type=range]::-ms-thumb:hover {
	background: #333333;
	border: 1px solid #353535;
}
input[type=range]::-webkit-slider-runnable-track {
	width: 100%;
	height: 10px;
	cursor: pointer;
	animate: 0.2s;
	background: #000000;
	border-radius: 1px;
	box-shadow: none;
	border: 0;
}
input[type=range]::-webkit-slider-thumb {
	z-index: 2;
	position: relative;
	box-shadow: 0px 1px 1px #33333380;
	border: 1px solid #000000;
	height: 25px;
	width: 25px;
	border-radius: 25px;
	background: #000000;
	cursor: pointer;
	-webkit-appearance: none;
	margin-top: -8.5px;
}
input[type=range]::-moz-range-track {
	width: 100%;
	height: 10px;
	cursor: pointer;
	animate: 0.2s;
	background: #000000;
	border-radius: 1px;
	box-shadow: none;
	border: 0;
}
input[type=range]::-moz-range-thumb {
	z-index: 2;
	position: relative;
	box-shadow: 0px 0px 0px #000;
	border: 1px solid #000000;
	height: 25px;
	width: 25px;
	border-radius: 25px;
	background: #000000;
	cursor: pointer;
}
input[type=range]::-ms-track {
	width: 100%;
	height: 10px;
	cursor: pointer;
	animate: 0.2s;
	background: transparent;
	border-color: transparent;
	color: transparent;
}
input[type=range]::-ms-fill-lower,
input[type=range]::-ms-fill-upper {
	background: #000000;
	border-radius: 1px;
	box-shadow: none;
	border: 0;
}
input[type=range]::-ms-thumb {
	z-index: 2;
	position: relative;
	box-shadow: 0px 0px 0px #000;
	border: 1px solid #000000;
	height: 25px;
	width: 25px;
	border-radius: 25px;
	background: #000000;
	cursor: pointer;
}
/* Range Slider */
/* Price Filter */

/* Coupon label*/
.coupon-label {
    cursor: pointer;
}
.coupon-label input[type="checkbox"] {
    float: left;
    margin: 1.422px 5px 0 0;
    cursor: pointer;
    position: relative;
    width: 13px;
    width: 16px \0;
    height: 13px;
    height: 16px \0;
    -webkit-appearance: none;
    background: white;
    border: 1px solid #dcdcdc;
    border: 1px solid transparent \0;
}
.coupon-label input[type="checkbox"]:checked {
	background: #fff;
}
.coupon-label input[type="checkbox"]:hover {
	border-color: #c6c6c6;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .1);
	-webkit-box-shadow: none \9;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .1);
	box-shadow: none \9;
}
.coupon-label input[type="checkbox"]:focus {
	border-color: #4d90fe;
	outline: 0;
}
.coupon-label input[type="checkbox"]:active {
	background-color: #ebebeb;
	border-color: #c6c6c6;
}
.coupon-label input[type="checkbox"]:checked::after {
	position: absolute;
	top: -6px;
	left: -5px;
	display: block;
	content: url('../image/checkmark.png');
}
.coupon-label span {
    white-space: nowrap;
}

/* Media */
@media (max-width: 991px) {
	.btn-group {
		margin-bottom: 5px;
	}
}

@media (min-width: 768px) {
    .filter {
        display: flex;
    }
    .filter-dropdown, #coupon, #input-sort {
        flex-grow: 1;
    }
    .filter-dropdown:nth-child(1) {
        border-left: 1px solid #eaeaea;
    }
    .filter-dropdown.hidden + .filter-dropdown:not(.hidden) {

    }
}

@media (min-width: 992px) {
    .filter {
        display: flex;
    }
    .filter-dropdown, #coupon, #input-sort {
        flex-grow: 1;
    }
}

@media (max-width: 767px) {
	#sticky-content {
		margin: 0;
        margin-bottom: 5px;
        margin-left: auto;
        margin-right: auto;
	}
    .filter {
        display: block;
    }
    .filter-dropdown .dropdown-menu {
        min-width: 100%;
    }
    .filter-dropdown, #coupon, #input-sort {
        width: 100%;
        border-right: none;
    }
    .form-group.input-group-sm {
        border-right: none;
    }
	.filter-dropdown > a, .coupon-label, .input-sort {
        width: 100%;
	}
    .scroll-content {
        max-height: 320px;
    }
    .filter > .form-group {
        width: 100%;
    }
    .filter-label {
        padding: 8px;
    }
	.fixed {
		padding: 0;
	}
	.value-name {
		width: 33.33333333333333%;
	}
	.btn-group {
		margin-bottom: 0px;
	}
	#option-dropdown {
		width: 100%;
	}
	#filter-dropdown, ul[id^="filter-dropdown"] {
		left: 0;
		width: 100%;
	}
	.category-filter .dropdown-menu {
		width: 100%;
	}
}