/* Monospace type is crucial for spacing and indenting divs */
#msa-lookup {
    font-family: "Lucida Console", Monaco, monospace;
    font-size: 14px;
}

#msa-lookup .horizantalFlex{
    display: flex;
    gap: 10px;
    margin-bottom: 4px;
}

/* Width should be same as .listHighlighted */
#msa-lookup .autoCompleteItems{
    background-color: #fff;
    border: 1px solid #888;
    width: auto;
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 30px;
    padding-left: 10px;
}

/* hovering over list item */
#msa-lookup .autoCompleteItems:hover {
    cursor: pointer;
    background-color: #87bb0a;
}

#msa-lookup .autoComplete {
    margin-bottom: 8px;
    width: 95%;
    font-family: "Lucida Console", Monaco, monospace;
    font-size: 14px;
}

/* Width should be same as .autoCompleteItems */
#msa-lookup .listHighlighted{
    background-color: #87bb0a;
    border: dotted 1px #ccc;
    width: 550px;
}

#msa-lookup .listDiv {
    display: inline-block;
}

#msa-lookup .FIPSDiv {
    flex: 0 0 6ch;
    display: inline-block;
}

/* Width is set using longest name during creation of results list for certain types of areas */
#msa-lookup .nameDiv {
    display: inline-block;
}

#msa-lookup .typeDiv {
    display: inline-block;
}

#msa-lookup .resultItem{
    padding-left: 3.5em;
    display: flex;
    gap: 5px;
}

#msa-lookup .alignTopDiv{
    vertical-align: top;
}

#msa-lookup .headerDiv{
    /*margin-top: 1em;*/
    margin-bottom: 1em;
    display: flex;
}

#msa-lookup .footNoteText {
    font-size: 12px;
}

#msa-lookup #areaInput {
    max-width: 550px;
}

#msa-lookup .queryText {
    font-size: 14px;
    font-family: montserrat, helvetica, sans-serif;
}

#msa-lookup #areaInput:focus {
    outline: 2px solid #87bb0a;
    outline-offset: -2px;
}
#msa-lookup #msa-lookup-wrapper input{
    background-color: #eee;
    border: 1px solid #ccc;
    color: #333;
    padding: 6px 15px;
    font-size: 1em;
    font-family: "Lucida Console", Monaco, monospace;
    flex: 1 1 auto;
    min-width: 0;
}

/* Currently does not apply to button, as it does not submit */
#msa-lookup-wrapper input[type=submit]{
    margin-left: 6px;
    background-color: #eee;
    border: 1px solid #ddd;
    color: #333;
    padding: 6px 15px;
    font-size: 20px;
}
#msa-lookup-wrapper #autoCompleteContainer, #msa-lookup-wrapper #results {
    background-color: #FFF;
    max-width: 100%;
    padding: 6px 0;
}
#results {
    display: flex;
    flex-direction: column;
    font-family: "Lucida Console", Monaco, monospace;
    font-size: 14px;
}

/* ANTHONY OVERRIDE */
#msa-lookup #query, #select-button, #clear {
	font-family: 'lustriaregular', serif !important;
	display: inline-block;
	padding: 6px 15px 3px;
	background: #EEE;
	font-size: 16px;
	border-radius: 6px;
	border: none;
	text-align: center;
	width: 76px;
    flex: 0 0 auto;
}
#msa-lookup #query:hover, #select-button:hover {
	background: #555555;
	color: #FFF;	
}
#msa-lookup .queryText {
	font-size: 16px;
	font-family: 'montserratlight';
}


@media (max-width: 990.99px) {
	#msa-lookup #areaInput,
    #msa-lookup #msa-lookup-wrapper input {
		min-width: 0;
		width: 100%;
		max-width: 100%;
	}
}

@media (max-width: 767.99px) {
	#msa-graphs .autoCompleteItems{
		min-height: 36px;
	}
}