.main {
	min-height: 600px;
}

div.main h2 {
  text-align: center;
  margin-top: 0;
}

footer {
  text-align: center;
  font-size: 0.85em;
  line-height: 1.3em;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 15px;
}

div.main img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
	object-fit: contain;
}

aside {
	float: right;
	background: #d2d2d2;
	margin-left: 1em;
	padding: 1em 1em 0 1em;
	width: 30%;
	font-size: 0.9em;
	font-style: italic;
}

aside.date-range {
	width: 15%;
	text-align: center;
	padding: 1em;
}

aside.key-dates {
	width: 20%;
	background: #c8d9b1;
}

.hide {
  display: none;
}

div.squeeze p {
	margin-bottom: 0;
}

div.squeeze pre {
	margin-bottom: 1em;
}

p.clearfix {
	clear: both;
	margin: 0;
}



/*          view = pdf          */
/* ---------------------------- */

div.main.pdf {
	font-size: 12px;
}

div.main.pdf h2 {
  text-align: left;
}

div.main.pdf div.accordion {
	border: 2px grey solid;
	padding: 2em;
}

div.main.pdf span.top-pdf-title {
	font-size: 0.7em;
	color: #a6a6a6;
}

footer {
  grid-area: ftr;
  opacity: 0.6;
}

figcaption {
	font-size: 0.9em;
	font-style: italic;
	padding-bottom: 1em;
	width: 100%;
	text-align: center;
}

.main {
  grid-area: main;
}


div#below-nav {
	display: grid;
  grid-template-columns: 50% 25% 25%;
  margin: 6px 0 0 0;
}

div.searchresults {
	width: 80%;
	margin: auto;
}

div#history {
	grid-column: 2;
	display: inline-block;
	justify-self: right;
}

div#history select {
	padding: 6px;
}

div#search-input {
	grid-column: 3;
	display: inline-block;
	justify-self: right;
}

div.flash-error {
	color: red;
	font-size: 1.5em;
	border: 2px solid red;
	padding: 1em;
	display: none;
}


.ui-helper-reset {
	font-size: 14px;
	line-height: 1.65em;
}

@media only screen and (max-width: 1000px) {
	div#below-nav {
	  grid-template-columns: 50% 50%;
	}
	
	div#search-input {
		grid-column: 2;
	}

}

@media only screen and (max-width: 600px) {
	div#below-nav {
	  grid-template-columns: 100%;
	}
	
	div#history, div#search-input {
		grid-column: 1;
		justify-self: left;
	}

	div.standard-3col {
	  display: block;
	}

	div.threeblock img {
		height: 150px;
	}

}
