@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

/* -------------------- Base -------------------- */
body {
	background: #f5f7f9;
	font-family: "Nunito Sans", sans-serif;
}

body,
input,
button,
select,
textarea {
	font-family: "Nunito Sans", sans-serif;
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
	outline: 3px solid #a6ce3a;
	outline-offset: 2px;
}

/* -------------------- Navbar / Header -------------------- */
a.brand > img {
	max-width: 100%;
	height: 60px;
	vertical-align: middle;
	border: 0;
	margin-left: 15px;
	width: auto;
}

.navbar .nav li {
	display: inline-block;
	font-size: 14px;
	letter-spacing: .1em;
}

.navbar .nav li a,
.navbar .icon-private-w {
	font-size: 14px;
	color: #157f91;
	font-weight: 700;
}

.navbar .nav li a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.navbar .navbar-inner {
	height: 60px;
}
.navbar .navbar-inner .container-fluid {
	padding: 0;
	height: 60px;
}

.navbar .brand {
	float: left;
	display: block;
	padding: 0;
	margin-left: -20px; /* optional: negative margin can clip outline */
	font-size: 20px;
	font-weight: 200;
	color: #777;
	text-shadow: 0 1px 0 #fff;
}

.navbar,
.navbar-inner,
.navbar .nav li,
.navbar .nav li a {
	overflow: visible;
}

.navbar .nav li a:focus {
	outline: 3px solid #a6ce3a;
	outline-offset: 2px;
	background-color: rgba(166, 206, 58, 0.15);
	border-radius: 4px;
}

/* -------------------- Typography -------------------- */
#docsSearch h1 {
	font-size: 32px;
	font-weight: 700;
	text-align: center;
	margin-top: .4em;
	color: #ffffff;
	padding: 10px;
}

#fullArticle .title,
.contentWrapper h1 {
	margin: 0 30px .5em 0;
	color: #054557;
	font-weight: 700;
}

#fullArticle h2 {
	font-size: 24px;
	font-weight: 500;
	color: #808285;
}

#fullArticle h3 {
	font-size: 20px;
	font-weight: 700;
	color: #029669;
}

.contentWrapper p,
#fullArticle p {
	margin-top: -4px;
	word-wrap: break-word;
	color: #808285;
	font-weight: 400;
	font-size: 15px;
	letter-spacing: .01em;
	line-height: 1.6;
}

/* -------------------- Search -------------------- */
#docsSearch {
	background: #054557;
	border-top: 1px solid #dadada;
	margin-bottom: 3em;
	padding: 1.5em 0;
}

input.search-query {
	padding: 0 14px;
	margin-bottom: 0;
	border-radius: 15px;
	font-weight: 400;
	letter-spacing: 0.25px;
}

#searchBar {
	overflow: visible;
}

#searchBar button {
	color: #054557;
	text-shadow: none;
	background: #0ca3a7;
	border-radius: 0 5px 5px 0;
	border: 1px solid #dadada;
	font-size: 18px;
	padding: 0 1.5em;
	height: 50px;
	position: absolute;
}

#searchBar button:hover {
	background: #a6ce3a;
}

@media (max-width: 480px) {
	#searchBar button {
		color: transparent;
		background: transparent;
		border: 0;
		border-radius: 0 5px 5px 0;
		padding: 0 1.5em;
		height: 50px;
		position: absolute;
	}
	#searchBar button .icon-search {
		display: block;
		margin-top: 15px;
		text-shadow: none;
	}
	#searchBar button:focus {
		outline: 3px solid #a6ce3a;
		background-color: rgba(166, 206, 58, 0.15);
	}
}

/* -------------------- Category / Collection -------------------- */
.category-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	width: 100%;
	max-width: 1440px;
	margin: 0 auto 4em;
	padding: 0 28px;
	text-align: center;
}

.collection-category {
	width: 100%;
	float: none;
}

.collection-category .category-list {
	max-width: none;
	width: 100%;
	padding: 0 28px;
	margin-bottom: 4em;
	text-align: initial;
}

.category-list .category {
	background-color: #fff;
	border: 1px solid #808285;
	box-shadow: 0 7px 4px -5px rgba(0,0,0,0.05);
	box-sizing: border-box;
	min-height: 100px;
	padding: 30px 20px;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	text-align: center;
	transition: transform 0.2s, box-shadow 0.2s;
	width: 100% !important;
	max-width: none !important;
	float: none !important;
	margin: 0 !important;
}

.category-list .category:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 12px -6px rgba(0,0,0,0.08);
}

.category-list h3 {
	color: #808285;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3em;
	margin-top: 0.5em;
}

.category-list .category p {
	color: #7e8287;
	font-weight: 400;
	font-size: 15px;
	letter-spacing: 0.25px;
}

/* Responsive Category */
@media (max-width: 1105px) {
	.category-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
	.category-list { grid-template-columns: 1fr; }
}

/* -------------------- Links -------------------- */
#serp-dd .result a,
#serp-dd .result>li.active,
#full-Article strong a,
.collection a,
.contentWrapper a,
.most-pop-articles .popArticles a,
.category-list .category .article-count {
	font-weight: 500;
	letter-spacing: .25px;
	color: #157f91;
	margin-top: 15px;
	text-transform: capitalize;
	text-decoration: none;
}

#serp-dd .result a:hover,
#serp-dd .result>li.active,
#full-Article strong a,
.collection a,
.contentWrapper a,
.most-pop-articles .popArticles a:hover span,
.category-list .category:hover .article-count {
	color: #157f91;
}

/* -------------------- Sidebar -------------------- */
#sidebar .nav-list a {
	display: inline-block;
	color: #808285;
	font-size: 14px;
	padding: 6px 15px 6px 0;
	line-height: 20px;
	font-weight: 400;
}

#sidebar .nav-list .active a,
#sidebar .nav-list .active a:hover,
#sidebar .nav-list .active a:focus {
	font-weight: 500;
	color: #157f91;
	text-decoration: underline;
	background: 0 0;
}

#sidebar h3 {
	text-transform: uppercase;
	font-size: 16px;
	color: #808285;
	font-weight: 500;
	margin-bottom: 4px;
	letter-spacing: 2px;
}

/* -------------------- Articles -------------------- */
#main-content {
	background: none;
	float: right;
	margin-bottom: 2em;
	padding: 32px 0 0 28px;
}

#fullArticle img {
	display: block;
	margin: 1em 0 2em;
	padding: 4px;
	border-radius: 4px;
	box-sizing: border-box;
}

#fullArticle .printArticle {
	position: absolute;
	right: 46px;
	top: 40px;
}

#categoryHead .sort select {
	width: 150px;
	height: 24px;
	margin: 0;
	line-height: 24px;
	font-size: 13px;
	color: #7e8287;
	font-weight: 400;
}

/* -------------------- Buttons -------------------- */
.btn {
	color: #054557;
	background: #a6ce3a;
	border-radius: 5px;
	border: 1px solid #808285;
	font-size: 14px;
	padding: .5em;
	text-shadow: none;
}

.btn:hover,
.btn:focus {
	transform: translateY(-1px);
	color: #fff;
	background: #808285;
	border: 1px solid #dadada;
}

#search-query .btn:hover {
	color: #fff;
	background: #f5f7f9;
	border-radius: 5px;
	border: 1px solid #808285;
	font-size: 18px;
	padding: 0 1.5em;
	height: 50px;
}

/* -------------------- Modals -------------------- */
#contactModal h2,
.abuse h2 {
	background: #029669;
	margin: 0;
	padding: 11px 0 10px 18px;
	font-size: 24px;
	border-bottom: 1px solid #ccc;
	border-radius: 4px 4px 0 0;
	color: #054557;
	font-weight: 800;
}

#contactModal .control-label {
	width: 110px;
	font-size: 14px;
	font-weight: 400;
	color: #808285;
}

/* -------------------- Footer -------------------- */
footer p a {
	color: #808285;
	font-weight: 400;
}

/* -------------------- Responsive -------------------- */
@media (max-width: 768px) {
	.navbar .btn-navbar {
		margin-top: 16px;
		right: -10px;
	}
	.related {
		padding: 30px 25px 25px;
	}
	.related ul {
		margin-left: 0;
	}
	.related h3 {
		padding-left: 0;
	}
	.related ul>li a {
		margin-left: 0;
	}
}

@media (max-width: 480px) {
	#fullArticle .title, .contentWrapper h1 { font-size: 24px; }
	#fullArticle h2 { font-size: 20px; }
}

/* -------------------- Reduce Motion -------------------- */
@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
		transform: none !important;
	}
}

/* -------------------- Collection Titles -------------------- */
.collection-category h2 a {
	color: #808285;
}

.collection-category h2 {
	font-weight: 500;
	margin: 0 0 20px;
	padding-left: .65%;
	text-align: center;
}