/*--------------------------------------------------------------
This is your custom stylesheet.

Add your own styles here to make theme updates easier.
To override any styles from other stylesheets, simply copy them into here and edit away.

Make sure to respect the media queries! Otherwise you may
accidentally add desktop styles to the mobile layout.
https://www.w3schools.com/css/css_rwd_mediaqueries.asp
--------------------------------------------------------------*/

/* ==========================================================================
   Members Directory — Mobile: heading above full-width search
   ========================================================================== */
@media screen and (max-width: 544px) {

	/* Center the page heading */
	.page.type-page .entry-header {
		text-align: center;
		margin-bottom: 16px;
	}

	/* Match Groups directory spacing: float right, -6px top margin, full width */
	.subnav-search.members-search {
		float: right;
		margin-top: -6px;
		width: 100%;
		margin-bottom: 20px;
		display: flex;
		justify-content: center;
	}

	/* Full-width search */
	.subnav-search.members-search .dir-search {
		width: 100%;
		max-width: 100%;
	}

	.subnav-search.members-search .dir-search .bp-dir-search-form {
		width: 100%;
	}

	.subnav-search.members-search .dir-search .bp-dir-search-form input[type="search"] {
		width: 100%;
	}

}