
#filter {
  //position:relative;
  display:block;
  width:100%;
  height:auto;
  //background:#fafafa;
  background:transparent;
  color:#2f2d40;
  margin-top:0px;
  padding:0px 20px 50px 0;
  padding-bottom:50px;
  border-bottom:0px solid #f1f1f1;
  border-radius:0px;
  //overflow:hidden;
  z-index: 1;
}
#filter h3 {
  font-weight:400;
  font-size:14px;
  color:#2f2d40;
}
.padding_filter_name{
  display:block;
  width:100%;
  font-weight:600;
  font-size:11px;
  color:#2f2d40;
  text-transform:uppercase;
  letter-spacing:1px;
}
.position-sticky {
  position: sticky;
  top: 0px;
  //background:#fafafa;
  background:#transparent;
  padding:5px 0;
  z-index:1;
}

#filter form ul {
  list-style-type: none;
  background:transparent;
  padding-bottom:0px;
}
#filter form li {
  position: relative;
  padding-left:0px;
  width:100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#filter form li.table {
  max-width:106px;
  width:100%;
  margin-right:4px;
  display:block;
  float:left;
}
#filter form li:hover {
  position: relative;
  padding-left:0px;
  color:#e94a34;
}
#filter form li.disabled {
  color: #2f2d40;
  opacity:.2;
}
#filter form li.disabled  label {
  cursor: default;
}
#filter form li.disabled  label i{
  display: none;
}
#filter form li label {
  
}
#filter form li:not(.disabled) label i:hover {
  text-decoration:underline;
  cursor: pointer;
}
.input_price{
  margin-top:10px;
}
input#min_price, input#max_price {
  font-size: 12px;
  text-align: center;
  width: 48%;
  margin:4px 0;
  padding:12px 10px;
  background:#e1e1e1;
  border:1px solid #e1e1e1;
  border-radius:12px;
  float:left;
}
input#min_price:hover, input#max_price:hover {
  border:1px solid #777;
  //background:#fafafa;
  background:#e1e1e1;
}
input#min_price {
  float:left;
}
input#max_price {
  float:right;
}

.filter_views{
  display:table;
  width:100%;
  border:1px solid #e1e1e1;
  border-radius:12px;
  font-size:13px;
  margin:10px 0 15px;
}
.filter_views .column {
  position:relative;
  //left:-1px;
  float: left;
  text-align:center;
  width: 50%;
  padding:12px 0px;
  margin:0 0px 0 0;
  border:0px solid #f0f0f0;
  border-radius:12px;
  opacity:.4;
}
/*
.filter_views .column{
  //position:relative;
  text-align:center;
  width:auto;
  //max-width:110px;
  //display:block;
  //float:left;
  padding:10px 0px;
  margin:0 0px 0 0;
  border-radius:2px;
  opacity:.4;
}
*/
.filter_views .column:hover{
  opacity:1;
  color:#999 !important;
}
.filter_views img{
  position:absolute;
  top:8px;
  left:5px;
  height:20px;
  opacity:0;
}
.filter_views .selected_prod{
  position:relative;
  left:-1px;
  background:#e1e1e1;
  border:1px solid #e1e1e1;
  border-top-left-radius:12px;
  border-bottom-left-radius:12px;
  opacity:1;
}
.filter_views .selected_model{
  position:relative;
  right:-1px;
  background:#e1e1e1;
  border:1px solid #e1e1e1;
  color:#19181d;
  opacity:1;
}


.price_filter{
  padding-top:15px;
  padding-bottom:15px;
  margin-top:15px;
  margin-bottom:15px;
  border-top:1px solid #f0f0f0;
  border-bottom:1px solid #f0f0f0;
  overflow:hidden;
}
.padding_filter{
  padding-top:15px;
  padding-bottom:0px;
  margin-top:10px;
  margin-bottom:0px;
  border-top:1px solid #f0f0f0;
  border-bottom:0px solid #f0f0f0;
}
.padding_filter:nth-child(1){
  padding-top:0px;
  padding-bottom:0px;
  margin-top:0px;
  margin-bottom:0px;
  border-top:0px solid #f0f0f0;
  border-bottom:0px solid #f0f0f0;
}

.padding_filter ul{
  min-height:100%;
  max-height:255px;
  overflow:hidden;
  overflow-y:hidden;
  margin-top:10px;
}
.padding_filter ul:hover{
  overflow-y:auto;
}
.padding_filter > ul::-webkit-scrollbar {
    width: 4px;
    position:absolute;
}
.padding_filter > ul::-webkit-scrollbar-track {
    border-radius: 0px;
    background: transparent;
}
.padding_filter > ul::-webkit-scrollbar-thumb {
    border-radius: 0px;
    background: #ccc;
}
.padding_filter > ul::-webkit-scrollbar-thumb:hover {
    background: #b3b3b3;
    cursor:pointer; 
}
.padding_filter > ul::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(0,175,255,0.4); 
}

.f_button{
  display:block;
  margin:0 auto;
  width:100%;
  padding:15px 0;
  text-align:center;
  border-radius:14px;
  background:#19181d;
  color:#fff;
}
.f_button:hover{
  background:#252429;
}


.sticky---filter {
  position: sticky;
  top: 0;
}
label.container {
  display: block;
  position: relative;
  padding-left: 35px;
  padding-right: 0px;
  margin-bottom: 6px;
  cursor: pointer;
  font-size:13px;
  letter-spacing:.4px;
  line-height:1.6;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
li.table label.container {
  display: block;
  position: relative;
  padding-left: 30px;
  padding-right: 0px;
  margin-bottom: 4px;
  cursor: pointer;
  font-size:13px;
  letter-spacing:.4px;
  line-height:1.6;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
label.container small {
  position:relative;
  top:0px;
  display:block;
  float:right;
  background:#e1e1e1;
  color:#2f2d40;
  padding:2px 8px;
  min-width:15px;
  max-width:40px;
  text-align:right;
  border-radius:50px;
  font-size:11px;
}
label.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.checkmark {
  position: absolute;
  //top: -1px;
  top: 0px;
  left: 0;
  height: 20px;
  width: 20px;
  //background-color: #e4e4e4;
  //background-color: #fafafa;
  background-color:transparent;
  border:1px solid #d9d9d9;
  border-radius:7px;
}
label.container:hover  {
  color:#999;
}
label.container:hover input ~ .checkmark {
  //background-color: #f0ebff;
  border:1px solid #19181d;
}
label.container input:checked ~ .checkmark {
  //background-color: #f0ebff;
  border:1px solid #19181d;
}
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
label.container input:checked ~ .checkmark:after {
  display: block;
}
label.container .checkmark:after {
  left: 0px;
  top: -1px;
  width: 20px;
  height: 20px;
  background:#252429 url(../images/lidotfilter.png) no-repeat center center;
  background-size:60%;
  border:1px solid #252429;
  border-radius:7px;
  border:none;
}




#filter_search {
  position:relative;
  top:-2px;
  background:transparent;
  width:100%;
  font-size:13px;
  padding:12px 40px 12px 20px;
  border:1px solid #d9d9d9;
  -moz-border-radius: 14px;
  -webkit-border-radius: 14px;  
  border-radius: 14px;
  margin-bottom:5px;
  outline: none;
}
#filter_search:hover {
  border:1px solid #19181d;
}
#filter_search:focus {
  border:1px solid #19181d;
}
input#filter_search::placeholder {
  font-size:13px;
  color:#2f2d40;
  letter-spacing:.2px;
}
.kBFxRo{
  position:relative;
  margin-top:10px;
}
.fjkYsk{
  position:absolute;
  top:0px;
  right:4px;
  width:30px;
  height:38px;
  border:0;
  border:none;
  
  display:block;
  background:transparent url(../images/ic-search.ecb81821.svg) no-repeat center center;
  background-size:50% 50%;
  border-style: none;
  cursor: pointer;
  cursor: hand;
  float: left;
  margin-left:0px;
  border:none;
  z-index:2;
  opacity:.4;
}
#filter_search:hover .fjkYsk{
  opacity:.7;
}


.form_filter_link{
  position:relative;
  display:block;
  float:left;
  color:#000;
  width:100%;
  max-width: 900px;
  margin:0px auto;
  padding:0 12px;
  overflow:hidden;
}
.filter_link {
  position:relative;
  display:block;
  width:100%;
  height:auto;
  overflow:hidden;
  margin-bottom:10px;
}
.filter_link input {
  display:none;
}
.filter_link label {
  padding: 1px 3px 1px 3px;
  text-decoration: underline
}
.filter_link label:hover {
  padding: 1px 3px 1px 3px;
  text-decoration: none
}
.filter_link .clearall {
  position:relative;
  display:block;
  float:left;
  font-size:13px;
  margin:0 8px 8px 0;
  padding:10px 10px 10px 0px;
  width:auto;
  color:#999;
  line-height:1.2;
  text-decoration: none;
}
.filter_link .clearall:hover {
  color:#19181d;
}
.filter_link label.selected {
  position:relative;
  display:block;
  float:left;
  font-size:13px;
  line-height:1;
  letter-spacing:.4px;
  background: #e9e9e9;
  margin:0 10px 10px 0;
  padding:12px 30px 12px 15px;
  width:auto;
  color:#19181d;
  border-radius:12px;
  text-decoration: none;
  opacity:1;
}
.filter_link label.selected:hover {
  //background:#c3cad9;
  background:#f0ebff;
  background:#ffe5ee;
  color:#19181d;
}
.filter_link label .close {
  position:absolute;
  top:9px;
  right:6px;
  display:block;
  opacity:.4;
  cursor:pointer;
  
  width:20px;
  height:20px;
  background: url('../images/6042705c785357da2c11.svg') no-repeat center;
  //background-size:8px 8px;
  background-size:35%;
  border-radius:30px;
  
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
}
.filter_link label.selected:hover .close {
  opacity:.8;
}
.filter_link label.selected .close:hover {
  width:20px;
  height:20px;
  background: url('../images/6042705c785357da2c11.svg') no-repeat center;
  //background-size:8px 8px;
  background-size:35%;
  border-radius:30px;
  opacity:1;
  
  -webkit-filter: grayscale(0%);
  -moz-filter: grayscale(0%);
  -ms-filter: grayscale(0%);
  -o-filter: grayscale(0%);
  filter: grayscale(0%);
}

@media (max-width:768px){
  .filter_link {
    position: relative;
    display:flex;
    max-width:1182px;
    width:100%;
    //padding: 0px 15px;
    padding: 0px 0px;
    margin:0px auto 10px;
    overflow:auto;
    
    white-space: nowrap;
    position: relative;
    clear:both;
    
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
  }
  .filter_link::after{
    content: '';
    position: fixed;
    right: 0px; 
    top: 0;
    width: 40px; 
    height: 100%;

    //background: -moz-linear-gradient(left, rgba(252,252,252, 0.2), #fafafa 100%);
    //background: -webkit-linear-gradient(left, rgba(252,252,252, 0.2), #fafafa 100%);
    //background: -o-linear-gradient(left, rgba(252,252,252, 0.2), #fafafa 100%);
    //background: -ms-linear-gradient(left, rgba(252,252,252, 0.2), #fafafa 100%);
    //background: linear-gradient(to right, rgba(252,252,252, 0.2), #fafafa 100%);
  }
  .filter_link::-webkit-scrollbar {
    display: none;
  }
}


/* Затемняем при наведении все кроме нужной */
.filter_link label { transition: 0.1s; }
.filter_link:hover label:not(:hover) { opacity: .5; }
