/**
 * Masthead search — visible only when Twenty Sixteen stacks the sidebar
 * below content (< 56.875em / ~910px). The element is moved into
 * .site-header-main by a small inline script in lmr-masthead-search.php.
 */

.lmr-masthead-search {
	display: none;
}

@media screen and (max-width: 56.874em) {
	.lmr-masthead-search {
		display: block;
		flex-basis: 100%;
		width: 100%;
		margin: 0.4375em 0 0;
	}

	.lmr-masthead-search .search-form {
		margin: 0;
	}

	/* Avoid showing two search boxes on the same screen. */
	#secondary .widget_search {
		display: none;
	}
}
