/* !! sitewide */
html, body {
	overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

.drsHead {
  background-color: #013e7d;
}

.siteTitle a {
  color: #fff;
}

.siteTitle a:hover {
  text-decoration: none;
}

.siteTitle h1 {
  background: url('../img/drslogo.png') left center no-repeat;
  background-size: 60px;
  font-size: 1.5rem;
  font-weight: normal;
  height: 60px;
  line-height: 60px;
  margin: 15px 0;
  padding-left: 75px;
  vertical-align: middle;
}

@media screen and (max-width: 991px) {
  .siteTitle h1 {
    font-size: 1.4rem;
    line-height: 30px;
  }
}

.siteTitle + div {
	border: 1px solid #900;
	background-color: #400;
}
.drsHead p {
	color: #fff;
	font-weight: bold;
	margin: 0;
	padding: 0 .5rem;
	text-transform: uppercase;
}
.drsHead p.l1 {
	font-size: 2.1rem;
}
.drsHead p.l2 {
	font-size: 1rem;
}

.drsNav {
  background-color: #0076c0;
}

.drsNav nav {
  padding: 15px 0;
}

.drsNav nav>a {
  color: #fff;
  display: inline-block;
  font-weight: bold;
  margin-right: 15px;
  padding: .2rem .3rem;
}
.drsNav nav>a:last-child {
	margin-right: 0;
}

.drsNav nav>a:hover, .drsNav nav>a.active {
  background-color: #fff;
  color: #002d5b;
}

.drsNav p {
  color: #002d5b;
  font-size: 2rem;
  margin: 0;
  text-transform: uppercase;
}

.drsContent {
  padding: 15px 15px 194px;
}

.drsFoot {
  background-color: #0c1230;
  bottom: 0;
  position: absolute;
  width: 100vw;
}

.drsFoot a {
  background: url('../img/ndilogo.png') left center no-repeat;
  background-size: 182px;
  display: inline-block;
  height: 119px;
  margin: 30px 0;
  width: 182px;
}
/* !! sitewide end */

/* !! search */
.searchControl {
	background-color: #f6f6f6;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	margin-top: -15px;
	padding: 30px 0;
	position: relative;
	width: 100vw;
}
.resultsHeader {
	margin-top: 15px;
}
.relationshipMap {
	background: url('../img/relationshipMap.png') right .3rem center no-repeat #0076c0;
	background-size: 24px;
	bottom: -45px;
	color: #fff;
	display: inline-block;
	float: right;
	font-size: 1rem;
	font-weight: bold;
	padding: .4rem calc(.7rem + 24px) .4rem .4rem;
	position: relative;
	z-index: 3;
}
.relationshipMap:hover {
	cursor: pointer;
	color: #fff;
	text-decoration: none;
}
.resultTabs {
	clear: both;
	font-size: 1.3rem;
	/* tabs cover panel border */
	position: relative;
	z-index: 2;
}
.resultTabs.nav-tabs .nav-link.active {
	/* override bst default */
	background-color: #ddd;
	border-color: #ddd;
}
.tab-content {
	border: 1px solid #ddd; /* does this value match? */
	position: relative;
	top: -1px;
}

b {
	/* this is how relevant terms are highlighted */
	background-color: #fbf9e3;
	display: inline-block;
	font-weight: bold;
	padding: 0 .1rem;
}

.results > div:nth-child(even) {
	/* stripe main rows */
	background-color: #ddd;
}
.results blockquote {
	border-left: 3px solid #ccc;
	padding-left: 1rem;
	margin: 1rem 0 1rem 1.5rem;
}
.resultItem {
	padding: 15px;
}
.resultContent {
	margin-left: 2.5rem;
}
.results .resultContent.collapse[aria-expanded="false"] {
	/* partially collapse folded L-1 item contents */
	display: block;
	height: 80px !important;
	overflow: hidden;
}
.results .resultContent.collapsing[aria-expanded="false"] {
	/* partially collapse folded L-1 item contents */
	height: 80px !important
}
.docType,
.regulationIdx {
	display: inline-block;
	font-weight: bold;
	height: 1.6rem;
	line-height: 1.6rem;
	vertical-align: middle;
}
.docType {
	background-color: #231f20;
	color: #fff;
	font-size: .8rem;
	padding: 0 .5rem;
}
.regulationIdx {
	background-color: #000;
	color: #fff;
	font-size: .7rem;
	padding: 0 .4rem;
}
.resultContent h3 {
	display: inline-block;
	margin-bottom: 0;
	vertical-align: middle;
}
.resultContent h4 {
	margin-left: 2rem;
	margin-bottom: 0;
	vertical-align: middle;
}

.citations,
.relatedRegulations,
.relatedDocuments {
	background-color: #fff;
	border: 1px solid #e4e4e4;
	border-radius: 10px;
	margin: 1rem 0 0 2rem;
	padding: 10px;
}

.relatedDocuments {
	margin-left: 0;
}

.citations > ul,
.relatedRegulations > ul {
	list-style-type: none;
	padding-left: 1rem;
}

.relatedDocuments > ul {
	list-style-type: none;
	padding: 0;
}
.relatedDocuments > ul li {
	border-top: 1px solid #ddd;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	margin: 15px 0;
	padding-top: 10px;
}
.relatedDocuments > ul li:first-child {
	border-top: 0;
	padding-top: 0;
}

.drsDocuments caption {
	caption-side: top;
	color: #222;
	font-weight: bold;
}
.drsDocuments > ul {
	list-style-type: none;
	padding: 0;
}
.drsDocuments > ul li {
	border-top: 1px solid #ddd;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	margin: 15px 0;
	padding-top: 10px;
}
.drsDocuments > ul li:first-child {
	border-top: 0;
	padding-top: 0;
}

.resultControlsTop {
	overflow: hidden;
	padding: 10px;
}
.itemsPerPage {
	float: right;
	overflow: hidden;
	width: 10rem;
}
.itemsPerPage .form-control {
	-webkit-box-flex: 0;
	    -ms-flex: 0 0 75px;
	        flex: 0 0 75px;
}
.resultControlsBottom {
	padding: 10px;
}

.expansionControl {
	background-color: #0076c0;
	color: #fff;
	display: inline-block;
	float: left;
	padding: .1rem .4rem;
}
.expansionControl:hover {
	background-color: #0076c0;
	color: #fff;
	text-decoration: none;
}
.expansionControl:focus {
	color: #fff;
}
/* !! search end */
