/* Modified styling by Zoe Rooney http://zoerooney.com */
/* reset */
ul.ft-menu,
ul.ft-menu * { 
	margin: 0; 
	border: 0; 
	padding: 0;
	line-height: 1;
	position: relative;
	text-align: left;
	font-family: "Open Sans",Arial,sans-serif;
	font-weight: normal !important;
	font-size: 12px !important;
	letter-spacing: 0px !important;
	color: #bbb;
	text-transform: uppercase;
}


ul.ft-menu { 
	list-style: none;
}

ul.ft-menu > li.ft-field { 
	display: inline-block;
	border: 2px solid #ddd;
	padding: 8px 10px;
	width: 300px;
	margin-right: 3.5%;
	margin-bottom: 2%;
	*display: inline; 
	*zoom: 1;
	background: none !important;
	position: relative !important;
}
@media screen and (max-width: 885px) {
	ul.ft-menu > li.ft-field { 
		width: 91%;
		margin-right:0 ;
	}
}

ul.ft-menu > li.ft-field:last-of-type {
	margin-right: 0;
}
ul.ft-menu > li.ft-field > span.ft-label { 
    cursor: pointer; 
    display: block;
	width: 100%;
	-webkit-user-select: none;         
	-moz-user-select: none;
	-ms-user-select: none;
}
ul.ft-menu > li.ft-field > span.ft-label:after { 
    font-family: FontAwesome;
    font-size: 90%; 
    content:"\f0dd";
    padding:0 5px;
    position: relative;
    bottom: 1px;
    float: right;
    color: #ddd;
}
ul.ft-menu > li.ft-field > span.ft-label.ft-active { 
    color: #008967; 
}
ul.ft-menu > li.ft-field > span.ft-label.ft-opened:after { 
    content:"\f0de";
    bottom: -3px;
}

ul.ft-menu > li.ft-field > div.ft-panel { 
	position: absolute; 
	min-width: 320px; 
	background-clip: padding-box;
	border: 2px solid #ddd;
	top: 100%;
	margin-left: -12px;
	z-index: 9999;
}
ul.ft-menu > li.ft-field > div.ft-panel:before,
ul.ft-menu > li.ft-field > div.ft-panel:after {
	position: absolute;
	content: " ";
	height: 0;
	width: 0;
	right: 10px;
}
ul.ft-menu > li.ft-field > div.ft-panel:before {
	top: -15px;
	margin-left: -10px;
}
ul.ft-menu > li.ft-field > div.ft-panel:after {
	content: " ";
	height: 0;
	width: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-bottom: 8px solid #eee;
	top: -8px;
	margin-left: -8px;
}

ul.ft-menu > li.ft-field > div.ft-panel > ul.ft-selected {
	padding: 10px 10px 0 10px;
	background: #eee;
}
ul.ft-menu > li.ft-field > div.ft-panel > ul.ft-selected > li {
	font-size: 10px;
	display: inline-block;
	*display: inline; 
	*zoom: 1;
	margin: 1px;
	cursor: pointer;
	padding: 5px;
	color: #555;
	border: 1px solid #555;
}
ul.ft-menu > li.ft-field > div.ft-panel > ul.ft-selected > li:after {
	font-family: FontAwesome;
	content:" \f00d";
	color: #555;
}
ul.ft-menu > li.ft-field > div.ft-panel > ul.ft-selected > li:active {
	background: #fee3e8;
}

ul.ft-menu > li.ft-field > div.ft-panel > fieldset.ft-search { 
	padding: 10px;
	background: #eee;
}
ul.ft-menu > li.ft-field > div.ft-panel > fieldset.ft-search:before {
	font-family: "FontAwesome";
	content:"\f002";
	position: absolute;
    width: 20px;
	bottom: 17px;
	left: 18px;
	color: #BBB;
	text-shadow: none;
	z-index: 1;
}
ul.ft-menu > li.ft-field > div.ft-panel > fieldset.ft-search > input { 
	outline: none;
	display: block;
	width: 265px;
	padding: 6px 10px 3px 25px !important; 
	color: gray;
	background: white;
}

ul.ft-menu > li.ft-field > div.ft-panel > ul.ft-tags { 
	position: relative !important; 
	max-height: 200px !important; 
	border-top: 1px solid #ddd;
	overflow-x: hidden; 
	overflow-y: auto; 
	width: 100%;
}
ul.ft-menu > li.ft-field > div.ft-panel > ul.ft-tags > li { 
    background: white;
	display: block;
	border-bottom: 1px solid #ddd;
	display: block;
	padding: 10px 35px 10px 15px;
	cursor: pointer;
}
ul.ft-menu > li.ft-field > div.ft-panel > ul.ft-tags > li:after { 
	content: attr(data-count);
    font-size: 11px;
    font-weight: normal;
	display: inline-block;
	*display: inline;
	*zoom: 1;
	position: absolute;
	right: 15px;
	top: 50%;
	margin-top: -9px;
	padding: 3px 6px;
	color: white;
	background: #008967;
	
}
ul.ft-menu > li.ft-field > div.ft-panel > ul.ft-tags > li.ft-highlight { 
	border-bottom: 1px solid #d5f4ec;
	background: #d5f4ec;
}

ul.ft-menu > li.ft-field > div.ft-panel > ul.ft-tags > li.ft-highlight:after {
	background: #0e634e;
}

ul.ft-menu > li.ft-field > div.ft-panel > div.ft-mismatch {
	padding: 10px 15px;
	color: white;
	background: #555555;
}

/* REQUIRED! */
.ft-hidden { display: none !important; }


/* Custom webkit scrollbars */
ul.ft-menu > li.ft-field > div.ft-panel > ul.ft-tags::-webkit-scrollbar {
    width: 10px;
}
ul.ft-menu > li.ft-field > div.ft-panel > ul.ft-tags::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
    background: #DDD;
}
ul.ft-menu > li.ft-field > div.ft-panel > ul.ft-tags::-webkit-scrollbar-thumb {
    border-radius: 2px;
    box-shadow: 0 0 5px rgba(0,0,0,0.7);
    background: #EEE;
}

