#docs-header {
	padding: 2em 4em 0em 4em;
	margin-left: 0;
	margin-right: 0;
}

	#versions-arrow {
		display: none !important;
	}

	#breadcrumb {
		line-height: 1.5em;
		margin-top: 0;
		margin-bottom: 2em;
		border-bottom: none !important;
	}

	#breadcrumb a {
		color: var(--dark-grey);
	}

	#breadcrumb a:hover {
		color: var(--green);
	}

	#versions {
		top: 24px !important;
		box-shadow: none !important;
		display: none !important;
		visibility: none !important;
	}

	#targets {
		position: relative;
		display: block;
		right: 0;
		width: 200px;
	}

	#targets p {
		margin-top: 0;
		margin-right: 0 !important;
		text-align: right;
	}

	#targets select {
		width: auto;
		padding-right: 40px;
	}

	#docs-search form {
		display: flex;
		flex-direction: row;
		width: 100%;
		gap: 0.5em;
		align-items: stretch;
	}

		#docs-search form input {
			flex: 1 1 auto;
			align-self: flex-start;
		}

		#docs-search form button {
			flex: 0 1 auto;
			align-self: flex-end;
			display: none;
		}

		#docs-search form input {
			background-image: url('/layouts/f4/pix/search.png');
			background-repeat: no-repeat;
			background-position: 6px 50%;
			background-size: 16px 16px;
			padding-left: 30px;
		}

#docs-outer {
	padding-left: 4em;
	padding-right: 4em;
	margin-left: 0;
	margin-right: 0;
}

#docs-sidebar {
	margin-top: 0;
	padding-left: 0 !important;
}

	#docs-sidebar {
		padding-right: 25px;
		padding-top: 0;
	}

	#docs-sidebar h1 {
		font-size: 1.36em;
		line-height: 2em;
	}
	
	#docs-sidebar h3 {
		font-weight: normal;
	}

	#docs-sidebar a {
		text-decoration: none !important;
	}

	#body #docs-sidebar ul li::before {
		display: none;
	}

	#docs-sidebar ul,
	#docs-sidebar ul li {
		list-style-type: none;
		padding-left: 0;
		margin-left: 0;
	}

		#docs-sidebar>ul>li {
			margin-bottom: 1em;
		}

	#docs-sidebar h3:first-child {
		display: none;
	}

	#docs-sidebar li a {
		color: black;
		font-weight: bold;
	}

	#docs-sidebar li li a {
		font-weight: normal;
	}

	#docs-sidebar li ul {
		margin-top: 9px;
	}

	#docs-sidebar li:last-of-type {
		padding-bottom: 0;
	}

	#docs-sidebar li a:hover {
		color: var(--green);
	}

	#docs-sidebar li a:active {
		color: var(--green);
	}

	#docs-sidebar li li li {
		margin-left: 1em;
	}

#docs-main {
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0;
	margin-right: 0;
}

	#docs-main h1 {
		font-size: 3em;
		position: relative;
		margin-bottom: 1em;
	}

	#docs-main h1::after {
		content: '';
		width: 100px;
		border: 0;
		border-bottom: 3px solid #000;
		position: absolute;
		left: 0;
		bottom: -0.5em;
	}

	#docs-main h2 {
		font-size: 2em;
	}

	#docs-main h3 {
		font-size: 1.35em;
	}

	#docs-main h4 {
		font-size: 1em;
	}
	
	#docs-main table {
		width: 100%;
		max-width: 100%;
		margin-top: 1em;
		margin-bottom: 1em;
	}
	
		#docs-main table tr td {
			font-size: 1em;
			padding-right: 0;
			width: auto;
		}
		
			#docs-main table tr td p:first-child,
			#docs-main table tr td h3:first-child {
				margin-top: 0;
			}

	#docs-body>ul,
	#docs-body td>ul {
		padding-left: 1em;
	}

	#docs-body li li:first-child {
		margin-top: 0.5em;
	}

#docs-notice {
	display: none;
}

.button a {
	display: inline-block;
	font-size: 1em;
	font-weight: 500;
	color: #fff;
	background-color: #000;
	border-radius: 20px;
	padding: 6px 15px 6px 15px;
	min-width: 70px;
	text-align: center;
}

	.button a:hover {
		text-decoration: none !important;
		background-color: var(--green);
		color: #fff;
	}

.padded-links {
	margin-top: 2em;
}

.padded-links a {
	display: inline-block;
	margin-left: 12px;
	margin-right: 12px;
}

	.padded-links a:first-child {
		margin-left: 0;
	}
	
	.padded-links a:last-child {
		margin-right: 0;
	}

#faq-header,
#faq-body {
	margin-left: 0;
}

	.faq-categories li {
		margin-left: 1em !important;
	}

.whats-new>p>a,
.whats-new strong,
.whats-new b {
	font-size: 1.25em;
}

.whats-new small {
	color: #444;
}

#docs-body hr {
	border-top: 0px none;
	border-bottom: 3px solid #000;
	border-radius: 0;
	width: 100px;
	margin-left: 0;
	margin-top: 2em;
	margin-bottom: 2em;
}

/* remove this when we launch on steamvr again */
#target-select-platform option[value=steamvr] {
	display: none;
}

@media (max-width: 1023px) {
	#docs-header,
	#docs-outer {
		padding-left: 3em;
		padding-right: 3em;
	}

	#docs-breadcrumb #targets {
		float: none;
	}
}

@media (max-width: 800px) {
	.padded-links a {
		margin: 0;
		display: block;
	}
	
	#faq-header,
	#faq-body {
		width: 100%;
		margin-right: 0;
	}
	
	#faq-body .e-col-25 {
		width: 35%;
		max-width: 35%;
	}
	
	#faq-body .e-col-75 {
		width: 65%;
		max-width: 65%;
	}
}

@media (max-width: 640px) {
	#docs-header,
	#docs-outer {
		padding-left: 2em;
		padding-right: 2em;
	}
}

@media (max-width: 520px) {
	#docs-main {
		max-width: 95% !important;
	}

	#faq-body .e-col-25,
	#faq-body .e-col-75 {
		width: 95%;
		max-width: 95%;
	}
	
	.faq-question {
		max-width: 100%;
	}
}
