/* Reset Style ---*/
.clearfix {
    *zoom: 1;
}
.clearfix:before,
.clearfix:after {
    display: table;
    content: "";
    line-height: 0;
}
.clearfix:after {
    clear: both;
}

div ul.sj-k2-filter li {
	background: none;
	margin-bottom: 20px;
	overflow: visible;
	padding: 0;
}

.sj-k2-filter.vertical-layout,
.sj-k2-filter.horizontal-layout {
	margin: 0;
	overflow: hidden;
}

.sj-k2-filter.vertical-layout li {
  float: left;
  width: 100%;
  margin-bottom: 3px;
}

/* Layout style ---*/
ul.sj-k2-filter li input[type=radio],
ul.sj-k2-filter li input[type=checkbox]{
	float: left;
	margin: 0 5px 0 0;
}

ul.sj-k2-filter li label,
ul.sj-k2-filter li label.radio,
ul.sj-k2-filter li label.checkbox {
  	line-height: 1.3;
	margin: 0 0 10px 0;
	padding-left: 0;
}

/* Check box */
input[type=checkbox],
label.lb-checkbox {
	margin-top: 0;
    margin-right: 3px;
    margin-bottom: 3px;
    vertical-align: middle;
}

/* Radio */
input[type=radio],
label.radiobtn {
	background: none;
	border: 0;
	display: inline-block;
	margin: 0 0 10px;
	padding: 0;
	vertical-align: middle;
}

select:focus {
	outline: thin dotted #333;
	outline: 5px auto -webkit-focus-ring-color;
	outline-offset: -2px;
}

.sj-k2-filter .btn {
	display: inline-block;
	*display: inline;
	padding: 4px 12px;
	margin-bottom: 0;
	*margin-left: .3em;
	font-size: 14px;
	line-height: 20px;
	*line-height: 20px;
	color: #333333;
	text-align: center;
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
	vertical-align: middle;
	cursor: pointer;
	background-color: #f5f5f5;
	*background-color: #e6e6e6;
	background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
	background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
	background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
	background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
	background-repeat: repeat-x;
	border: 1px solid #bbbbbb;
	*border: 0;
	border-color: #e6e6e6 #e6e6e6 #bfbfbf;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	border-bottom-color: #a2a2a2;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
	filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
	*zoom: 1;
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
	-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.sj-k2-filter .btn:active,
.sj-k2-filter .btn:hover {
	color: #333333;
	text-decoration: none;
	background-color: #e6e6e6;
	background-position: 0 -15px;
	-webkit-transition: background-position 0.1s linear;
	-moz-transition: background-position 0.1s linear;
	-o-transition: background-position 0.1s linear;
	transition: background-position 0.1s linear;
}

.sj-k2-filter input[type=text],
.sj-k2-filter select {
  background-color: #fff;
  border:0;
  color: #000;
  display: inline-block;
  font-size: 14px;
  min-height: 50px;
  margin-bottom: 9px;
  min-width: 99%;
  min-width: 90\%; /* Fix for IE8 */
  max-width: 99%;
  padding: 4px 22px;
  line-height: 50px;
  width: auto;
  transition: border linear .2s, box-shadow linear .2s;
  -o-transition: border linear .2s, box-shadow linear .2s;
  -moz-transition: border linear .2s, box-shadow linear .2s;
  -webkit-transition: border linear .2s, box-shadow linear .2s;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

.sj-k2-filter input.date {
  min-width: 10px;
}

/* Date */
ul.sj-k2-filter li p {
	display: block;
	margin: 0;
	position: relative;
}

ul.sj-k2-filter li p.left {
  float: left;
}

ul.sj-k2-filter li p img {
	display: inline !important;
}

ul.sj-k2-filter li p input.date {
	margin-right: 5px;
	min-width: 0;
	vertical-align: middle;
}

/* Magic select ---*/
.sj-k2-filter .sj-magic-select {
	background: #fdfbe4;
	border-radius: 2px;
	border: 1px solid #cdc4a8;
	display: none;
	margin-bottom: 5px;
	padding: 10px;
	position: relative;
	width: 90%;
	box-shadow: 0 0 3px rgba(0,0,0,.1);
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

.sj-k2-filter .sj-magic-select ul {
	margin: 0;
	overflow: hidden;
}

.sj-k2-filter .sj-magic-select .arrow {
	background: url(arrow.png) no-repeat left top;
	display: block;
	position: absolute;
	top: -12px;
	left: 10px;
	width: 14px;
	height: 12px;
}

.sj-k2-filter .sj-magic-select .btn-close {
	background: url(btn-close.png) no-repeat center center #ccc;
	border: 1px solid #999;
	border-radius: 3px;
	display: block;
	height: 12px;
	position: absolute;
	right: 8px;
	top: 8px;
	text-indent: -999em;
	width: 12px;
}

.sj-k2-filter .sj-magic-select .btn-close:hover {
	background-color: #690;
	border-color: #690;
	cursor: pointer;
}

.sj-k2-filter .sj-magic-select ul li {
	background: url(icon-none.png) no-repeat 0 0;
	color: #666;
	display: block;
	font-size: 11px;
	font-weight: bold;
	padding-left: 20px;
	text-shadow: 1px 1px 0 #fff;
}

ul.sj-k2-filter li.magic-select {
	margin-bottom: 10px;
	overflow: hidden;
}

.sj-k2-filter .sj-magic-select ul li:hover {
	cursor: pointer;
	color: #690;
}

.sj-k2-filter .sj-magic-select li.selected {
	background: url(icon-check.png) no-repeat 0 0;
	color: #690;
}

.sj-k2-filter .sj-magic-select-container {
}

/* Horizontal layout ---*/
.sj-k2-filter.horizontal-layout ul li {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	float: left;
	padding: 0px 10px;
	position: relative;
	margin-bottom: 20px;
}
.sj-k2-filter.horizontal-layout ul.filter-options li .filter-options-content {
	max-height: 100px;
	overflow: auto;
}
.sj-k2-filter.horizontal-layout ul.filter-options li .filter-options-content::-webkit-scrollbar {
    width: 10px;
}

.sj-k2-filter.horizontal-layout ul.filter-options li .filter-options-content::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    border-radius: 8px;
}

.sj-k2-filter.horizontal-layout ul.filter-options li .filter-options-content::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
}
.sj-k2-filter.horizontal-layout ul.filter-options li .filter-options-content ul li > label {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.sj-k2-filter.horizontal-layout ul li ul li {
	width: 100%;
}

.sj-k2-filter.horizontal-layout ul li input.btn {
	float: left !important;
	min-width: 100px;
}

.sj-k2-filter.horizontal-layout ul li:last-child,
.sj-k2-filter.horizontal-layout ul li.last-item {
	width: 100%;
}

ul.filter-options {
	display: block;
	padding: 0 40px !important;
	list-style: none;
	overflow: hidden;
	margin: 50px 0;
}

ul.sj-k2-filter div.sj-magic-select ul li {
	background-position: 0 0 !important;
	float: none;
	padding-left: 20px !important;
}

ul.sj-k2-filter div.sj-magic-select ul li.disabled {
  color: #ccc;
  background-position: 0 0 !important;
  float: none;
  padding-left: 20px !important;
}

ul.sj-k2-filter .sj-magic-select-container span {
	background: #FFFFFF;
	border: 1px solid #E1E1E8;
	border-radius: 3px;
	color: #666;
	display: block;
	float: left;
	font-size: 11px;
	margin: 2px 4px 2px 0;
	padding: 0px 20px 0px 5px;
	position: relative;
	white-space: nowrap;
}

ul.sj-k2-filter .sj-magic-select-container span:hover {
	border-color: #999;
}

ul.sj-k2-filter .sj-magic-select-container span span.remove {
	background: url(remove-gray.png) no-repeat right center;
	border: 0;
	cursor: pointer;
	height: 10px;
	margin: 0;
	padding: 0;
	position: absolute;
	right: 5px;
	top: 5px;
	width: 10px;
}

ul.sj-k2-filter .sj-magic-select-container span.remove:hover {
	background-image: url(remove.png);
}

ul.sj-k2-filter label button.select {
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 3px;
	color: #690;
	font-size: 11px;
	display: inline-block !important;
	margin-left: 5px;
	padding: 3px 5px;
	overflow: hidden;
	vertical-align: middle;
}

ul.sj-k2-filter label button.select:hover,
ul.sj-k2-filter label button.select:focus,
ul.sj-k2-filter label button.select:active {
	background: #6d9f09;
	border-color: #690;
	color: #fff;
	text-decoration: none;
}

ul.sj-k2-filter label button.select.opened {
	background: #fff;
	border-color: #ddd;
	color: #ccc;
}

/* Vertical layout */
ul.vertical-layout li {
	display: block;
	clear: both;
	position: relative;
}

ul.vertical-layout li label.group-label {
	position: relative;
}

#ajax-loading {
  border-radius: 3px;
  color: #fff;
  display: block;
  height: 100%;
  font-weight: bold;
  left: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  width: 100%;
  z-index: 999;
  background-color: rgba(0,0,0,.2);
}

/* All form elements ---*/
.sj-k2-filter label {
	display: block;
	font-size: 13px;
	line-height: 1;
}

.sj-k2-filter label.group-label {
	font-weight: bold;
}
.sj-k2-filter label.group-label button {
	margin-left: 10px;
}

.sj-k2-filter select.multiple {
	height: auto;
}

.sj-k2-filter label .presenter {
	float:right;
	font-weight: normal;
}

.sj-k2-filter label .itemRatingList {
	background: url(transparent_star.gif) repeat-x left top;
	display: inline-block;
	position:relative;
	height: 25px;
	float: none;
	margin: 0;
	vertical-align: middle;
	width: 125px;
}

.sj-k2-filter .itemRatingList span.active,
.sj-k2-filter .itemRatingList .itemCurrentRating {
  background: url(transparent_star.gif) repeat-x left center;
  height: 25px;
}

.sj-k2-filter .itemCurrentRatingNote {
    font-size: 90%;
    font-weight: normal;
}

.sj-k2-filter .itemRatingList li {
  display: inline;
  background: none;
  padding: 0;
  margin-bottom: 0 !important;
}

.sj-k2-filter .itemRatingList span.srange,
.sj-k2-filter .itemRatingList .itemCurrentRating {
  position: absolute;
  top: 0;
  left: 0;
  text-indent: -1000px;
  height: 25px;
  line-height: 25px;
  outline: none;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.sj-k2-filter .itemRatingList span.active {
  background-position: left bottom;
}

.sj-k2-filter .itemRatingList span.one-star {
  width: 20%;
  z-index: 6;
}

.sj-k2-filter .itemRatingList span.two-stars {
  width: 40%;
  z-index: 5;
}

.sj-k2-filter .itemRatingList span.three-stars {
  width: 60%;
  z-index: 4;
}

.sj-k2-filter .itemRatingList span.four-stars {
  width: 80%;
  z-index: 3;
}

.sj-k2-filter .itemRatingList span.five-stars {
  width: 100%;
  z-index: 2;
}

.date-error{border: 1px solid #f00 !important;}

.sj-k2-filter .filter-list .filter-options-title span {
    background-color: #eee;
    display: inline-block;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 5px 10px 5px 28px;
    position: relative;
    text-transform: uppercase;
}
.sj-k2-filter h3.block-subtitle {
    border-bottom: 1px solid #ddd;
    letter-spacing: 0.5px;
    margin: 0 0 20px;
    padding: 0 0 10px;
    text-transform: uppercase;
    font-size: 15px;
}
.sj-k2-filter .filter-field .filter-options-title {
	margin-bottom: 0px;
}
.sj-k2-filter .filter-field .filter-options-title span {
	background-color: #eee;
    display: inline-block;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 5px 10px 5px 28px;
    position: relative;
    text-transform: uppercase;
}
.sj-k2-filter .filter-list .filter-options-title span:hover {
    cursor: pointer;
}
.sj-k2-filter .filter-list .filter-options-title span:before {
    content: "\f146";
    color: #999;
    display: block;
    font-family: FontAwesome;
    font-size: 14px;
    position: absolute;
    top: 5px;
    left: 8px;
}
.sj-k2-filter .filter-list .filter-options-title.collapsed span:before {
    content: "\f0fe";
}
.sj-k2-filter .filter-list .filter-options-title span:hover:before {
    color: #666;
}
.sj-k2-filter .filter-options-content .filter-items li {
    padding: 3px 0;
    margin-bottom: 0px;
}
.sj-k2-filter .range-value {
    margin-top: 10px;
}