#wpcontent {
	padding-left: 0 !important;
}

.searchwp-logo {
	margin: 10px 25px;
	width: 25px;
	display: flex;
	height: 100%;
	align-items: center;
}

.searchwp-logo svg {
	display: block;
	width: 100%;
	height: auto !important;
}

.searchwp-settings-header {
	display: flex;
	align-items: stretch;
	width: 100%;
	background: #fff;
}

.postbox.searchwp-settings-header {
	border-width: 0 0 1px;

	/* TODO: need responsive positioning */
	padding-right: 20px;
	padding-left: 20px;
}

.searchwp-settings-nav-tab {
	text-decoration: none;
	padding-top: 2px; /* Visual offset */
}

.postbox.searchwp-settings-nav-tab-active {
	position: relative;
	min-width: 1px;
	border-width: 0 1px;
	margin: 0;
	text-decoration: none;
	background: #f1f1f1; /* WP Core body background */
}

.postbox.searchwp-settings-nav-tab-active:after {
	display: block;
	content: '';
	position: absolute;
	right: 0;
	bottom: -2px;
	left: 0;
	height: 4px;
	background: #f1f1f1; /* WP Core body background */
}

.searchwp-settings-header-nav button.button.searchwp-settings-header-nav-toggle {
	display: none;
}

.searchwp-settings-header-nav ul {
	list-style: none;
	margin: 0;
	width: 100%;
}

.searchwp-settings-header-nav,
.searchwp-settings-header-nav ul,
.searchwp-settings-header-nav ul li {
	display: flex;
	align-items: stretch;
}

.searchwp-settings-header-nav ul li a {
	display: flex;
	align-items: center;
	width: 100%;
}

.searchwp-settings-header-nav ul li a > span {
	display: flex;
	align-items: center;
	padding: 1em;
}

.searchwp-settings-header-nav ul li a.searchwp-settings-nav-tab-support > span > span {
	display: inline-block;
	padding-left: 0.3em;
	color: #ca4a1f;
}

.searchwp-settings-header-nav ul li {
	margin: 0;
}

.searchwp-settings-view {
	padding-top: 5px;
}

.searchwp-settings-nav-tab-extensions-wrapper {
	position: relative;
}

.searchwp-settings-nav-tab-extensions {
	position: relative;
	z-index: 999;
}

#searchwp-extensions-dropdown {
	position: absolute;
	background: #fff;
	border: 1px solid #ccd0d4;
	border-top: 0;
	padding: 0.4em 1em 0.6em;
	top: calc(100%);
	left: 0;
	right: 0;
	display: none;
	z-index: 99999;
}

.searchwp-settings-nav-tab-active #searchwp-extensions-dropdown {
	background: #f1f1f1 !important;
}

#searchwp-extensions-dropdown ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.searchwp-settings-header-nav ul li #searchwp-extensions-dropdown ul {
	display: block;
}

.searchwp-settings-header-nav ul li #searchwp-extensions-dropdown li {
	margin: 0 0 0.3em;
	display: list-item;
	line-height: 1.4;
}

.searchwp-settings-header-nav ul li #searchwp-extensions-dropdown li + li {
	margin-top: 0.7em;
}

#searchwp-extensions-dropdown a {
	display: block;
	text-decoration: none;
	padding: 0.1em 0;
}

.notice {
	margin-top: 15px;
}

.wrap {
	padding: 0 20px;
	margin: 0;
}

/* This needs to be deleted once Metrics v1.4.2 is released */
.searchwp-metrics.wrap {
	padding-top: 10px;
}

.swp-tooltip {
	text-decoration: none;
	box-sizing: border-box;
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 5px;
	padding: 1px 0 0 !important;
	border: 1px solid #dadada;
	color: #999;
	font-weight: bold;
	overflow: hidden;
	font-size: 8px;
	line-height: 1em;
	text-align: center;
	background: #f5f5f5;
	cursor: pointer;
	margin-left: 7px !important;
}

.ui-tooltip {
	box-sizing: border-box;
	max-width: 225px;
	padding: 10px;
	background: #fff;
	border: 1px solid #cacaca;
	border-radius: 1px;
}

@media screen and (min-width:1024px) {
	.js .searchwp-settings-header-nav > ul {
		display: flex !important;
	}
}

@media screen and (max-width:1024px) {
	.wp-core-ui .searchwp-settings-header-nav button.button.searchwp-settings-header-nav-toggle {
		display: block;
		margin: 0 0 0 auto;
	}

	.js .searchwp-settings-header-nav > ul {
		display: none;
	}

	.searchwp-settings-header-nav {
		position: relative;
		margin-left: auto;
		margin-right: 2px;
		width: 100%;
		max-width: 13em;
		display: flex;
		align-items: center;
	}

	.searchwp-settings-header-nav ul {
		position: absolute;
		display: block;
		top: calc(100%);
		right: 0;
		left: 0;
		background: #fff;
		z-index: 99999;
		border: 1px solid #ccd0d4;
		border-width: 0 1px 1px 1px;
		box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
	}

	.searchwp-settings-header-nav ul li a {
		display: block;
	}

	.searchwp-settings-header-nav .postbox.searchwp-settings-nav-tab-active {
		border: 0;
		background: transparent;
		box-shadow: none;
	}

	.searchwp-settings-header-nav .postbox.searchwp-settings-nav-tab-active:after {
		display: none;
	}
}