body .usa-prose {
	line-height: 1.2;
}
.usa-nav__primary {
	list-style: none;
	margin: 0;
	padding-left: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0;
}

.usa-nav__primary-item {
	list-style: none;
	margin: 0;
}

.usa-nav__link {
	display: block;
	color: #1b1b1b;
	padding: 1rem 1.5rem;
	text-decoration: none;
	font-weight: 500;
	border-bottom: 3px solid transparent;
}

/* Home page */
.select-task .portlet-container-home h2, .feed-containers h2 {
	margin-top: 20px;
	margin-bottom: 20px;
}
.select-task .portlet-container-home a {
	text-decoration: underline;
}
.select-task .portlet-container-home p {
	text-align: center;
	font-size: 120%;
	padding: 1.5em 0;
}

.course-title {
	border-bottom: 1px solid #ccc;
	margin-bottom: 1em;
	padding-bottom: 0.5em;
	font-weight: bold !important;
	color: black;
}

.course-layout {
	display: grid;
	grid-template: "body sidebar";
	gap: 1em;
	grid-template-columns: 1fr 25%;
	
	.course-body {
		grid-area: "body";
	}
	.course-information-sidebar {
		grid-area: "sidebar"
	}
}

.course-body, .edit-form {
	input[type="text"], select {
		width: 100%;
	}
	input[type="text"], input[type="date"], input[type="time"] {
		height: initial;
		padding: 0.25em;
	}
}

.course-body p {
	margin-top: 16px;
	margin-bottom: 16px;
}

.course-information-sidebar .xspDataTableFileDownload thead {
	display: none;
}
.course-information-sidebar .xspDataTableFileDownload td {
	border-top: 0;
}

.course-information-sidebar {
	p + p {
		margin-top: 0.5em;
	}
	label {
		display: block;
		font-weight: bold;
	}
	label.inline {
		display: inline-block;
		padding-right: 0.5em;
	}
}

.xspWidgetContainer {
	box-shadow: none;
	border: 0 !important;
	margin-bottom: 1em !important;
}
.xspWidgetContainer > div:first-child {
	border: 1px solid black !important;
	color: white;
	background-color: #146082 !important;
	border-radius: 0;
	padding: 10px 15px;
	span {
		display: block;
		float: none !important;
		font-weight: normal;
		text-align: center;
	}
}
.xspWidgetContainer > div:nth-child(2) {
	padding: 1em;
}

.xspDataTableFileDownload tbody tr td {
	text-wrap: wrap;
	border: 0;
	padding-bottom: 0.5em !important;
}

/** Edit/Save buttons */
.action-bar {
	margin-bottom: 1em;
	margin-top: 1em;
}
.action-bar a, .action-bar button, .action-button {
	border: 1px solid grey;
	background-color: lightgrey;
	border-radius: 0.25em;
	padding: 0.25em 0.5em;
}

.news-list-entry {
	display: block;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	padding-bottom: 1em;
	margin-bottom: 1em;
	margin-left: 1.1rem;
}
.news-entry h1 {
	margin-bottom: 1em;
}

/* Adjustments for the mobile nav variant */
@media (max-width: 63.99em) {
	body .usa-nav__primary {
		display: block;
		height: inherit;
	}
	body .usa-nav__secondary {
		position: inherit;
	}
	
	.task-select-container .inner-button {
		height: 50px;
	}
}

/* Borrow Bootstrap's styling for buttons */
.action-bar a, .search-box button {
	display: inline-block;
	text-shadow: 0 1px 0 white;
	background-image: linear-gradient(to bottom,#fff 0,#e0e0e0 100%);
	background-repeat: repeat-x;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);
	color: #333;
	background-color: white;
	padding: 6px 12px !important;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.42;
	border: 1px solid #ccc;
	border-radius: 4px;
	
	&.btn-primary {
		text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
		background-image: linear-gradient(to bottom,#337ab7 0,#265a88 100%);
		border-color: #245580;
		box-shadow: inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);
		color: white;
		background-color: #337ab7;
	}
	
	&+.action-bar a, &+button {
		margin-left: 5px;
	}
}

/* Lessen extra space on the home page on thin devices */
@media (max-width: 365px) {
	body #select-task-hp {
		height: inherit;
	}
}
@media (min-width: 265px) and (max-width: 1020px) {
	body #select-task-hp {
		height: inherit;
	}
}
@media (max-width: 1023px) {
  body #feed-container {
    	margin-top: 3rem;
  }
}