/*--- standard variables ---*/
/* @fontFamily1:        'PT Sans', sans-serif;*/
/*--- product item ratio (thumb + content) ---*/
/*--- media queries. When using responsive ---*/
/*--- media queries. When not using responsive ---
@useResponsive:			false;

@breakPointLargePhone:	~"only screen and (min-width : 1px)";
@breakPointTablet:		~"only screen and (min-width : 1px)";
@breakPointDesktop:		~"only screen and (min-width : 1px)";

@breakPointUpToTablet:	~"only screen and (max-width: 1px)";
@breakPointUpToTabletLand:~"only screen and (max-width: 1023px)";
@breakPointUpToDesktop:	~"only screen and (max-width: 1px)";
*/
/*--- media queries. When using responsive: only mobile & desktop ---
@useResponsive:			false;
@breakPointLargePhone:	~"only screen and (min-width : 480px) and (max-width: 768px )";
@breakPointTablet:		~"only screen and (min-width : 999999999px)";
@breakPointDesktop:		~"only screen and (min-width : 768px)";

@breakPointUpToTablet:	~"only screen and (max-width: 768px)";
@breakPointUpToDesktop:	~"only screen and (max-width: 768px)";
*/
/*--- custom class functions ---*/
/*----- Default functions -----*/
/*----- LESS functions -----*/
/* applied to original <select> to hide */

.has_sb {
  position: absolute;
  left: -999999em;
  text-indent: -999999em;
}
/* always visible styles */

.selectbox {
  display: inline-block;
  *display: inline;
  position: relative;
  vertical-align: middle;
  zoom: 1;
  cursor: pointer;
  cursor: hand;
  padding: 0 27px 0 0;
  margin: 0 2px 0 0;
}
.selectbox .display {
  background: white;
  border: 1px solid #d9d9d9;
  color: #383838;
  display: block;
  height: 26px;
  line-height: 26px;
  overflow: hidden;
  outline: none;
  padding: 0 22px 0 5px;
  position: relative;
  text-decoration: none;
  white-space: nowrap;
  width: inherit;
}
.selectbox.disabled .display {
  color: #dedede;
}
.selectbox.focused .display .text {
  color: #4ca950;
  display: inline-block;
  *display: inline;
  zoom: 1;
}
.selectbox .display .arrow_btn {
  display: block;
  height: 20px;
  line-height: 20px;
  position: absolute;
  right: 0;
  text-align: center;
  top: 6px;
  width: 22px;
}
.selectbox .display .arrow_btn .arrow {
  display: inline-block;
  *display: inline;
  height: 20px;
  width: 22px;
  position: absolute;
  left: 6px;
  top: 5px;
  zoom: 1;
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 6px 4px 0 4px;
  border-color: #c4c4c4 transparent transparent transparent;
}
.selectbox .display .arrow_btn .arrow:before,
.selectbox .display .arrow_btn .arrow:after {
  display: none;
}
.selectbox .display.hover .arrow_btn .arrow {
  border-color: #9e9e9e transparent transparent transparent;
}
.selectbox .value {
  display: none;
}
/* dropdown styles */

.selectbox.items {
  background: white;
  font-size: 11px;
  border: 1px solid #dedede;
  display: block;
  list-style-type: none;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 0 1px 0;
  z-index: 99999;
  -moz-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);
}
.selectbox.items li {
  display: block;
  margin: 0;
  padding: 0;
  /*white-space:nowrap; maybe necessary if using fixedWidth: false */

}
.selectbox.items li.first {
  margin-top: 0;
}
.selectbox.items li > .item {
  color: #383838;
  cursor: pointer;
  cursor: hand;
  display: block;
  padding: 4px 6px;
  text-decoration: none;
}
.selectbox.items li > .item > .text {
  display: inline-block;
  *display: inline;
  zoom: 1;
  white-space: nowrap;
}
.selectbox.items li.selected > .item {
  color: #4ca950;
}
.selectbox.items li.disabled > .item {
  color: #dedede;
}
.selectbox.items li.hover > .item {
  background-color: #8fcc91;
}
.selectbox.items .value {
  display: none;
}
/* optgroup styles */

.selectbox.items .optgroup .items {
  border: none;
  margin: 0;
  padding: 0;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
}
.selectbox.items .optgroup > .label {
  cursor: pointer;
  cursor: hand;
  font-weight: bold;
  line-height: 1em;
}
.selectbox.items .optgroup .items li > .item {
  padding-left: 1em;
}
/* easy rounding styles */

.selectbox .round_sb.display {
  padding: 2px 26px 2px 5px;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}
.selectbox .round_sb.display .arrow_btn {
  right: 2px;
  top: 2px;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}
.selectbox.round_sb.items {
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}
.selectbox.round_sb.items > li > a {
  padding: 4px 6px;
}
.selectbox.round_sb.items > li.first > .item {
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-topright: 5px;
  -webkit-border-top-left-radius: 5px;
  -webkit-border-top-right-radius: 5px;
}
.selectbox.round_sb.items > li.last > .item {
  -moz-border-radius-bottomleft: 5px;
  -moz-border-radius-bottomright: 5px;
  -webkit-border-bottom-left-radius: 5px;
  -webkit-border-bottom-right-radius: 5px;
}
/* for optgroups */

.selectbox.round_sb.items > li > .label {
  line-height: 2.08em;
  padding: 4px 6px;
}
.selectbox.round_sb.items > li > .items li > .item {
  padding: 4px 6px 4px 12px;
}
/* fixed width example styles */

.selectbox .display.fixed_width {
  width: 73px;
  padding: 0 24px 0 3px;
}
.selectbox.fixed_width.items {
  width: 100px;
  /* width of display text plus the padding (60 + 27) = 87 */

}
.selectbox .display.fixed_width2 {
  width: 60px;
  padding: 0 24px 0 3px;
}
.selectbox.fixed_width2.items {
  width: 300px;
  /* width of display text plus the padding (60 + 27) = 87 */

}
/* abused this css file to fit in styles of the checkboxes as well */

/* wrapper divs */

.custom-checkbox,
.custom-radio {
  position: relative;
  overflow: hidden;
  display: inline-block;
  margin: 0 18px 0 0;
  height: 25px;
  line-height: 25px!important;
}
/* input, label positioning */

.custom-checkbox input,
.custom-radio input {
  position: absolute;
  left: -30px;
  top: 0;
  margin: 0;
  z-index: 0;
}
.custom-checkbox label,
.custom-radio label {
  display: inline-block;
  position: relative;
  z-index: 1;
  padding-right: 1em;
  padding: 4px 0 3px 25px;
  margin: 0;
  cursor: pointer;
  line-height: 20px!important;
  postition: relative;
}
.custom-checkbox label:before,
.custom-radio label:before {
  content: "";
  height: 16px;
  width: 16px;
  background: white;
  border: 1px solid #d9d9d9;
  display: block;
  position: absolute;
  left: 0px;
  top: 3px;
}
.custom-radio label:before {
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  -moz-background-clip: padding-box;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  -webkit-border-top-right-radius: 50%;
  -webkit-border-bottom-right-radius: 0;
  -webkit-border-bottom-left-radius: 0;
  -webkit-border-top-left-radius: 0;
  -moz-border-radius-topright: 50%;
  -moz-border-radius-bottomright: 0;
  -moz-border-radius-bottomleft: 0;
  -moz-border-radius-topleft: 0;
  border-top-right-radius: 50%;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}
.custom-checkbox label.hover,
.custom-checkbox label.focus,
.custom-radio label.hover,
.custom-radio label.focus {
  outline: none;
}
.custom-checkbox label.hover:before,
.custom-checkbox label.focus:before,
.custom-radio label.hover:before,
.custom-radio label.focus:before {
  border-color: #c4c4c4;
}
.custom-checkbox label.checked,
.custom-radio label.checked {
  outline: none;
}
.custom-checkbox label.checked:after,
.custom-radio label.checked:after {
  content: "";
  height: 10px;
  width: 10px;
  background: #4ca950;
  display: block;
  position: absolute;
  left: 4px;
  top: 7px;
}
.custom-radio label.checked:after {
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  -moz-background-clip: padding-box;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  -webkit-border-top-right-radius: 50%;
  -webkit-border-bottom-right-radius: 0;
  -webkit-border-bottom-left-radius: 0;
  -webkit-border-top-left-radius: 0;
  -moz-border-radius-topright: 50%;
  -moz-border-radius-bottomright: 0;
  -moz-border-radius-bottomleft: 0;
  -moz-border-radius-topleft: 0;
  border-top-right-radius: 50%;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}
.custom-checkbox label.checkedHover,
.custom-checkbox label.checkedFocus {
  outline: none;
}
.custom-checkbox label.focus,
.custom-radio label.focus {
  outline: 1px dotted #cccccc;
  outline: none;
}
