/* Additions by Mike. */



/* Images and captions in body */

.alignleft
{
	float:left;
	margin-right:20px;
}

.alignright
{
	float:right;
	margin-left:20px;
}

.wp-caption-text
{
	font-size:0.8em;
}


/* Body bullets */

.wysiwyg ul
{
	list-style: disc;
	list-style-type: disc;
	margin-left:30px;
	list-style-position: inside;
}

.wysiwyg ol
{
	list-style: decimal;
	margin-left:30px;
}

.wysiwyg li 
{
	line-height: 20px;
	font-size:110%;
	margin-top:10px;
	margin-left:15px;  
}


body p
{
	font-size:1.1em;
}


/* Pullquotes */

blockquote{
	margin-bottom: 2rem;
}

blockquote p{
	line-height: 1.3em;
	font-size: 1.5rem;
	color: #888;
}

blockquote.shortcode-pullquote:before{
	display: block;
	content: "";
	width: 50%;
	padding-bottom: 2.4rem;
	border-top: 2px solid #B24550;
}

blockquote.shortcode-pullquote{
  width: 33%;
  padding: 1rem 0;
  line-height: 1.25;
  font: normal 2.4rem "Roboto", sans-serif;
  color: #666666;
  border: none;
}

blockquote.shortcode-pullquote.right{
	float: right;
}

blockquote.shortcode-pullquote.left{
	float: left;
}

/* Glossary table */

.glossary
{
	width:90%;
}

.glossary td
{
	padding:10px
}

.glossary td:nth-child(3n+1)
{
	font-weight:bold;
	width:30%;
}	


.objectcaption
{
	font-size:80%;
	font-weight:lighter;
}

/* New Nav */
.masthead {
	position: relative;
}

.navcontainer {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	margin: 0;
	padding: 0;
	z-index: 1;
	display: none;
}

.navcontainer--open {
	display: flex;
}

.nav-btn {
	position: absolute;
	top: 0;
	left: 0;
	border: 0;
	background: #AE3C47;
	color: white;
	height: 37px;
	line-height: 37px;
	padding: 0 5px;
	text-transform: uppercase;
}

.nav-btn:focus,
.nav-btn:active {
	outline: 0;
}

.nav-btn.is-active {
	background: black;	
}

.navcontainer > li {
	position: relative;
	text-align: center;
}

.navcontainer > li > a {
	display: block;
	background: #5DA700;
	color: white;
	padding: 12px 0;
	font-size: 15px;
}

.navcontainer li.revolutionary-collection a {
	background: #5DA700;
}

.navcontainer li.revolutionary-themes a {
	background: #AECF4E;
}

.navcontainer li.timeline a {
	background: #30C5A1;
}

.navcontainer li.places-visit a {
	background: #F49E00;
}

.navcontainer li.education a {
	background: #DC6D69;
}

.navcontainer li.news-blog a {
	background: #AE3C47;
}

.navcontainer li.about a {
	background: #038CBF;
}


@media (min-width: 600px) {
	.navcontainer {
		flex-wrap: wrap;
		flex-direction: row;
		align-items: center;
		margin-top: 40px;
	}
	
	.navcontainer > li {
		width: 50%;
	}
}

@media (min-width: 900px) {
	.navcontainer {
		display: flex;
	}
	
	.nav-btn {
		display: none;
	}
	
	.navcontainer > li {
		width: 33.333333%;
	}
	
	.navcontainer > li > a {
		font-size: 16px;
		padding: 15px 0;
	}
}

@media (min-width: 1000px) {	
	.navcontainer {
		flex-wrap: nowrap;
	}
	
	.navcontainer > li {
		width: auto;
		flex-grow: 1;
	}
	
	.navcontainer > li > a {
		font-size: 18px;
	}
}

/* Sub menu */
.navcontainer .sub-menu {
	width: 100%;
	margin: 0;
	padding: 0;
	opacity: 0.7;
	display: none;	
}

.navcontainer .sub-menu a {
	display: block;
	padding: 10px;
	text-align: left;
	color: white;
	font-size: 15px;
}

@media (min-width: 1000px) {	
	.navcontainer .sub-menu {
		position: absolute;
		top: 54px;
		left: 0;
		width: 100%;
		margin: 0;
		padding: 0;
		display: none;
	}
	
	.navcontainer > li:hover .sub-menu {
		display: block;
	}
	
	.navcontainer .sub-menu li {
		width: 100%;
	}
	
	.navcontainer .sub-menu a {
		display: block;
		padding: 10px;
		text-align: left;
		color: white;
		font-size: 15px;
	}
}

/* faceting stuff */

.facet-box{
	margin-top:20px;
	
}

/* Carousel tweaks */
.hero__caption__link {
	padding: 0;
}

.hero__caption__title span {
	display: inline-block;
	background: #222;
	background: rgba(34,34,34,0.9);
	line-height: 1;	
	font-weight: 100;
	color: #fff;
	margin: 0;
	padding: 10px 16px;
}

.hero__caption__subtitle {
	font-size: 20px;
}

@media (min-width: 900px) {
	.hero__caption__subtitle {
		font-size: 26px;
	}	
	
	.has-link .hero__caption__subtitle {
		position: relative;
		top: -8px;	
	}
}

/* Flexible column blocks */
.clearfix::after {
	display: block;
	content: "";
	clear: both;
}


.panel--main-body {
	padding-bottom: 0;
}

.panel--main-body p {
	line-height: 1.5em;
}


.panel--main-body p:last-child {
	margin-bottom: 0;
}

.flexcol {
	margin-top: 40px;
}

.flexcol .driver__inner {
	padding-left: 0;
	padding-right: 0;
}

.driver img {
	width: 100%;
}