/*----------------------------------------------------------------------------------------------------
General styling
----------------------------------------------------------------------------------------------------*/
@-webkit-keyframes fstAnimationEnter {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -1em, 0); }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0); } }

@-moz-keyframes fstAnimationEnter {
  from {
    opacity: 0;
    -moz-transform: translate3d(0, -1em, 0); }
  to {
    opacity: 1;
    -moz-transform: translate3d(0, 0, 0); } }

@keyframes fstAnimationEnter {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -1em, 0);
    -moz-transform: translate3d(0, -1em, 0);
    -ms-transform: translate3d(0, -1em, 0);
    -o-transform: translate3d(0, -1em, 0);
    transform: translate3d(0, -1em, 0); }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0); } }

.fstElement {
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  color: #fff;
  background-color: #F3B007; margin-bottom:20px;}
  .fstElement > select,
  .fstElement > input {
    position: absolute;
    left: -999em;
	}
.multiselect .fstElement:last-child{
	margin-left:20px;
}
.multiselect{
	margin-left:30px;
}
.multipleSelected{
	margin-left:20px;
}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #fff;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #fff;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #fff;
}
:-moz-placeholder { /* Firefox 18- */
  color: #fff;
}
.fstControls input::placeholder{
	color:#fff;
}

.fstToggleBtn {
  display: block;
  position: relative;
  box-sizing: border-box;
  padding: 0.71429em 1.42857em 0.71429em 0.71429em;
  width: 241px;
  cursor: pointer; }
  .fstToggleBtn:after {
    position: absolute;
    content: "";
    right: 0.71429em;
    top: 50%;
    margin-top: -0.17857em;
       border: 9px solid transparent;
    border-top-color: #ffffff; }

.fstQueryInput {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  outline: none;
  box-sizing: border-box;
  background: transparent;
  border: 0; }

.fstResults {
  position: absolute;
  left: -1px;
  top: 100%;
  right: -1px;
  max-height: 30em;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #D7D7D7;
  border-top: 0;
  background-color: #FFF;
  display: none; }

.fstResultItem {
  font-size: 16px;
  display: block;
  line-height: 11px;
  padding: 10px 10px;
  margin: 0;
  color:#585858;
  cursor: pointer;
  border-top: 1px solid #fff; }
  .fstResultItem.fstUserOption {
    color: #707070; }
  .fstResultItem.fstFocused {
    color: #fff;
    background-color: #F3B007;
    }
  .fstResultItem.fstSelected {
    color: #fff;
    background-color: #ccc;
     }

.fstGroupTitle {
  font-size: 1.4em;
  display: block;
  padding: 0.5em 0.71429em;
  margin: 0;
  font-weight: bold; }

.fstGroup {
  padding-top: 1em; }
  .fstGroup:first-child {
    padding-top: 0; }

.fstNoResults {
  font-size: 1.4em;
  display: block;
  padding: 0.71429em 0.71429em;
  margin: 0;
  color: #999; }

/*----------------------------------------------------------------------------------------------------
Single Mode
----------------------------------------------------------------------------------------------------*/
.fstSingleMode .fstControls {
  position: absolute;
  left: -1px;
  right: -1px;
  top: 100%;
 
  border: 1px solid #D7D7D7;
  background-color: #fff;
  display: none; }

.fstSingleMode .fstQueryInput {
  font-size: 1.4em;
  display: block;
  width: 100%;
  padding: 0.5em 0.35714em;
  color: #999;
  border: 1px solid #D7D7D7;
height: 0px;
	 padding:0px;  }

.fstSingleMode.fstActive {
  z-index: 100; }
  .fstSingleMode.fstActive.fstElement,
  .fstSingleMode.fstActive .fstControls,
  .fstSingleMode.fstActive .fstResults {
    box-shadow: 0 0.2em 0.2em rgba(0, 0, 0, 0.1); }
  .fstSingleMode.fstActive .fstControls {
    display: block; }
  .fstSingleMode.fstActive .fstResults {
    display: block;
    z-index: 10;
    margin-top: -1px; }

/*----------------------------------------------------------------------------------------------------
Multiple mode
----------------------------------------------------------------------------------------------------*/
.fstChoiceItem {
  display: inline-block;
  font-size: 15px;
  position: relative;
  margin: 0 0.41667em 0.41667em 0;
  padding:2px 5px 2px 18px;
  float: left;
  border-radius: 0.25em;
  cursor: auto;
  color: #333;
  background-color: #fff;
  -webkit-animation: fstAnimationEnter 0.2s;
  -moz-animation: fstAnimationEnter 0.2s;
  animation: fstAnimationEnter 0.2s; }
  .fstChoiceItem.mod1 {
    background-color: #F9F9F9;
    border: 1px solid #D7D7D7;
    color: #232323; }
    .fstChoiceItem.mod1 > .fstChoiceRemove {
      color: #a4a4a4; }

.fstChoiceRemove {
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: none;
  font-size: 1.16667em;
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.28571em;
  line-height: 1.28571em;
  margin-top: -0.64286em;
  text-align: center;
  color: #333; }
  .fstChoiceRemove::-moz-focus-inner {
    padding: 0;
    border: 0; }

.fstMultipleMode .fstControls {
  box-sizing: border-box;
  padding: 0.5em 0.5em 0em 0.5em;
  overflow: hidden;
  width: 241px;
  cursor: text; 
  
}
.fstControls:after {
    position: absolute;
    content: "";
    right: 0.71429em;
    top: 50%;
    margin-top: -0.17857em;
       border: 9px solid transparent;
    border-top-color: #ffffff; }

.fstMultipleMode .fstQueryInput {
  float: left;
  padding: 0.28571em 0;
  margin: 0 0 0.35714em 0;
  width: 2em;
  color: #999; }

.fstMultipleMode .fstQueryInputExpanded {
  float: none;
  width: 100%;
  padding: 0.28571em 0.35714em; }

.fstMultipleMode .fstFakeInput {
  font-size: 1.4em; }

.fstMultipleMode.fstActive,
.fstMultipleMode.fstActive .fstResults {
  box-shadow: 0 0.2em 0.2em rgba(0, 0, 0, 0.1); }

.fstMultipleMode.fstActive .fstResults {
  display: block;
  z-index: 10;
  border-top: 1px solid #D7D7D7; }
  .fstResultsOpened>input{
	 
  }
@media (max-width: 600px) and (min-width: 220px){
	.fstNoResults{
		font-size:1.0em;
	}
	 .fstToggleBtn,.fstMultipleMode .fstControls{
		width:93px;
		line-height:normal;
		padding: 13px 3px 13px 7px;
	 } 
	 .fstToggleBtn{
		
		font-size:13px;
	 }
	 .fstMultipleMode .fstQueryInputExpanded{
		padding:5px 3px 0px 1px;
	 }
	 .fstMultipleMode .fstQueryInput{
		font-size:12px;
	 }
	 .fstResultItem{
		font-size:13px;
		padding: 5px 6px;
		line-height: 18px;
	 }
	 .fstChoiceItem{
		padding: 1px 4px 1px 13px;
		font-size: 10px;
		line-height: 20px;

	 }
	 .fstMultipleMode .fstControls{
		 padding:9px 5px 10px 5px;
	 }
	 .multiselect .fstElement:last-child,.multiselect{
		 margin:0px;
	 }
	 .filter-drop-down{
		 margin-right:4px;
	 }
	 
	 .filter-drop-down.drop-down{
		width:93px;
		height:93px;
   
	 }
	 .fstControls:after,.fstToggleBtn:after{
		 border: 5px solid transparent;
		    border-top-color: #ffffff;
		    
	 }
}
 @media (max-width: 767px) and (min-width: 220px){
	.drop-down{
		display:flex;
		display:-webkit-flex; 
		flex-wrap:wrap;
		-webkit-flex-wrap:wrap;     
		justify-content:center;
		-webkit-justify-content:center;     
	 }
}
@media (max-width: 810px) and (min-width: 601px){
	.fstToggleBtn,.fstMultipleMode .fstControls{
		width:171px;
	 } 
	 .filter-drop-down.drop-down{
		width:171px;
		height:171px;
   
	 }
	 .multiselect {
		margin-left: 15px;
	}
}
