.b-filter {
  margin: 0 0 30px;
  padding: 10px 150px 10px 10px;
  border-radius: 6px;
  background: #65c0ec;
  position: relative;

  z-index:10000;
}

.b-filter_photo {
  background: #adcd00;
}

.b-filter_video {
  background: rgb(254,143,0);
}

.b-filter a:hover,
.b-filter .pseudo:hover {
  color:yellow !important;
  border-bottom:rgb(255,255,0) !important;
  border-bottom:rgba(255,255,0,.3) !important;
}

.b-filter__item {
  margin: 3px 10px 3px 0;
  padding: 3px 10px;
  display: inline-block;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  color: #fff;
  vertical-align: middle;
}

.b-filter__item .pseudo,
.b-filter__item a {
  color: #fff;
  border-color: #fff;
}


.b-filter__item_selected {
  padding: 0;
  cursor: default;
}
.b-filter__item_selected .pseudo,
.b-filter__item_selected .pseudo:hover,
.b-filter__item_selected a,
.b-filter__item_selected a:hover{
  padding: 3px 10px;
  color: #fff !important;
  border-bottom:1px solid #5c92d0 !important;
  display: inline-block;

  border-radius: 10px;

  background: #01509b;
  background: -moz-linear-gradient(top,  #01509b 0%, #5c92d0 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#01509b), color-stop(100%,#5c92d0));
  background: -webkit-linear-gradient(top,  #01509b 0%,#5c92d0 100%);
  background: -o-linear-gradient(top,  #01509b 0%,#5c92d0 100%);
  background: -ms-linear-gradient(top,  #01509b 0%,#5c92d0 100%);
  background: linear-gradient(to bottom,  #01509b 0%,#5c92d0 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#01509b', endColorstr='#5c92d0',GradientType=0 );
  zoom:1;

  cursor: pointer;

  box-shadow: 0 1px #b4e0ed;
}

.b-filter__item_selected .pseudo,
.b-filter__item_selected .pseudo:hover,
.b-filter__item_selected .pseudo * {
  cursor: default;
}

.b-filter__item_selected a:hover {
  color: yellow !important;
}

.b-filter__item_selected a span {
  border-bottom: 1px solid white;
  border-bottom: 1px solid rgba(255,255,255, .3);
}

.b-filter__item_selected a:hover span {
  border-bottom: 1px solid yellow;
  border-bottom: 1px solid rgba(255,255,0, .3);
}

.b-filter__item_select {
  position: absolute;
  right: 10px;
    top:10px;
  overflow: visible;
}
.b-filter__item_select .pseudo:after {
  background: url("/r/arrs.png") no-repeat -18px 0;
  content: "";
  display: inline-block;
  height: 4px;
  left: 3px;
  margin: 0 -6px 0 0;
  position: relative;
  vertical-align: 2px;
  width: 6px;
}
.b-filter__item_select .pseudo:hover:after {
  background-position: -12px 0;
}
.b-filter__item_select .pseudo.open {
  border-color: rgb(255, 255, 0) !important;
  border-color: rgba(255, 255, 0, 0.3) !important;
  color: yellow !important;
}
.b-filter__item_select .pseudo.open:after {
  background-position: -6px 0;
}

.b-filter_table {
  padding: 10px;
}

.b-filter_table .b-filter__item {
  padding:0 10px;
  width:22%;
  pading-right:1%;
  vertical-align: top;
  margin-left:-10px;

  display: inline-block;
}
.b-filter_table .b-filter__item .pseudo,
.b-filter_table .b-filter__item a {
  padding: 3px 10px;
  display: inline-block;
  border:none;
}

.b-filter_table .b-filter__item a span {
  border-bottom: 1px solid rgb(255,255,255);
  border-bottom: 1px solid rgba(255,255,255,.3);
}
.b-filter_table .b-filter__item .pseudo span {
  border-bottom: 1px dotted  rgb(255,255,255);
  border-bottom: 1px dotted  rgba(255,255,255,.3);
}

.b-filter_table .b-filter__item a:hover span,
.b-filter_table .b-filter__item .pseudo:hover span {
  border-color: rgb(255,255,0);
  border-color: rgba(255,255,0,.3);
}

.b-filter_table .b-filter__item.selected .pseudo span {
  border:none !important;
}








.b-filter__dropdown.active {
  color: black;
  border-color:rgb(0,0,0);
  border-color:rgba(0,0,0,.3);
}
.b-filter__dropdown.active:hover {
  color: #e00000 !important;
  color: rgb(224,0,0) !important;
  border-color:rgb(224,0,0) !important;
  border-color:rgba(224,0,0,.3) !important;
}
.b-filter__dropdown.active:after {
  display: none;
}



.b-filter__dropdown-menu {
  overflow: hidden;
  opacity:0;
  height:0;
  position:absolute;
  background: white;
  padding:10px;
  padding-top: 2.5em;

  top:-10px;
  z-index:-1;
  left: 0;
  right: -10px;

  -moz-border-radius: 5px;
  border-radius: 5px;

  -webkit-box-shadow: 0 5px 22px rgba(0,93,138,0.75);
  -moz-box-shadow: 0 5px 22px rgba(0,93,138,0.75);
  box-shadow: 0 5px 22px rgba(0,93,138,0.75);

  transition: all 300ms;
  -moz-transition: all 300ms; /* Firefox 4 */
  -webkit-transition: all 300ms; /* Safari and Chrome */
  -o-transition: all 300ms; /* Opera */
}
.b-filter__dropdown-menu.active {
  opacity: 1;
  height: 7em;
}


.b-filter__dropdown-menu .b-filter__dropdown-link {
  display: block;

  margin-top:10px;

  color: #2088FF;
  color: rgb(32,136,255);
  border:1px solid transparent !important;
}

.b-filter__dropdown-menu .b-filter__dropdown-link:hover {
  color: #e00000 !important;
  color: rgb(224,0,0) !important;
  border:1px solid transparent !important;
}

.b-filter__dropdown-menu .b-filter__dropdown-link span {
  border-bottom:1px solid rgb(32,136,255);
  border-bottom:1px solid rgba(32,136,255,.3);
  top:0 !important;
}
.b-filter__dropdown-menu .b-filter__dropdown-link:hover span {
  border-bottom:1px solid rgb(224,0,0);
  border-bottom:1px solid rgba(224,0,0,.3);
}