/*!
 * Jetpack CRM
 * https://jetpackcrm.com
 */

// wh custom
.zbstypeaheadwrap {

	position: relative;
	clear: both;
	padding-top: 10px;
	padding-bottom: 10px;

	.zbstypeahead,
	.zbstypeaheadco {

		height: 40px !important;
		line-height: 40px !important;

	}

	.tt-menu {
		margin: 4px 0 !important;
	}
}

// smaller, used for company assignment on customer
.zbstypeaheadwrap.zbsbtypeaheadfullwidth {

	span {
		width: 100%;
	}

	.zbstypeahead,
	.zbstypeaheadco {

		// overrides (smaller)
		font-size: 14px !important;
		line-height: 1.4 !important;
		height: 36px !important;
		max-width: 100%;
		min-width: 100% !important;
		width: 100% !important;

	}

	.tt-menu {

		// overrides (smaller)
		font-size: 15px !important;
		line-height: 17px !important;
		min-height: 24px !important;
		max-width: 100%;
		min-width: 100% !important;
		width: 100% !important;

	}

	.tt-suggestion {

		font-size: 15px !important;
		line-height: 17px !important;

	}

}


// from https://twitter.github.io/zbstypeahead.js/css/examples.css
.zbstypeahead,
.zbstypeaheadco,
.tt-query,
.tt-hint {
	width: 396px;
	height: 30px;
	padding: 8px 12px;
	font-size: 24px;
	line-height: 30px;
	border: 2px solid #ccc;
	border-radius: 8px;
	outline: none;
}

.zbstypeahead,
.zbstypeaheadco {
	background-color: #fff;
}

.zbstypeahead:focus,
.zbstypeaheadco:focus {
	border: 2px solid #0097cf;
}

.tt-query {
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
	color: #999;
}

.tt-menu {
	width: 422px;
	margin: 12px 0;
	padding: 8px 0;
	background-color: #fff;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 8px;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.tt-suggestion {
	padding: 3px 20px;
	font-size: 18px;
	line-height: 24px;
}

.tt-suggestion:hover {
	cursor: pointer;
	color: #fff;
	background-color: #0097cf;
}

.tt-suggestion.tt-cursor {
	color: #fff;
	background-color: #0097cf;

}

.tt-suggestion p {
	margin: 0;
}
