/* Masthead Styles */
.masthead {
	display: block;
	font-weight: bold;
	font-size: 1.25em;
	background-color: #000;
}
.masthead ul {
	list-style-type: none;
	margin: 0 0 0 -20px;
	padding: 0;
	overflow: hidden;
}
.masthead li { display: inline; float: left; }
.masthead li a {
	display: inline-block;
	color: white;
	text-align: center;
	padding: 20px 23px;
	text-decoration: none;
}
.masthead li a:hover { background-color: #111; }
#block-sub-bootstrap-search {
	margin-top: -2.5em;
	width: 25%;
	float: right;
}

/* Navigation Styles */
body.navbar-is-fixed-top { margin-top: 130px; }
.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.open>a:hover {
	color: #fff;
	background-color: #000;
}
ul.navbar-nav li a.is-active, ul.navbar-nav > li.dropdown.active > a:first-child {
	background: #000;
	color: #fff;
}
ul.navbar-nav li a:hover.is-active {
	color: #777;
}
.anchor::before {
	content:"";
	display:block;
	height:130px; /* fixed header height*/
	margin:-130px 0 0; /* negative fixed header height */
}
.navbar-collapse.collapse { float: right; width: calc(100% - 110px); }
.nav>li>a { padding: 10px; }
@media (min-width: 768px) {
	.nav>li>a { padding: 15px 10px; }
}


/* Homepage Styles */
.page-header:empty { display: none; }
h1 + h3 { margin-top: 0; margin-bottom: 30px; }
.path-frontpage div[role=heading] { display: none; }
.path-frontpage .view-content .col-xs-6.col-sm-4 { 
	height: 450px;
}
.path-frontpage h1 { 
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
	font-size: 78px;
	margin-bottom: 0;
	text-align: center;
}

/* Glossary Styles */
.path-node h1.page-header, .path-glossary h1.page-header {
	color: #aaa;
	border-bottom: 0;
	font-weight: bold;
	margin:20px 0;
}
.path-glossary .attachment-before {
	border-bottom: 1px solid #ccc;
	margin-bottom: 1em;
	padding-bottom: 1em;
}
.path-glossary .item-list ul { padding-left: 0; }
.path-glossary .item-list ul li { list-style-type: none; margin-bottom: 2em; }
.path-glossary aside[role=complementary] { top: 120px; font-size: .85em; }
.path-glossary .view-glossary a.is-active { font-weight: bold; color: #222 !important; }

/* 3 Column Content Type Styles */
.page-node-type-three-column h1.page-header { margin-left: 16.66666667%; padding-left: 20px; font-size: 28px; }
.field--name-field-span-2-left, .field--name-field-span-2-right { font-size: .85em; border-top: 1px solid #ccc; padding-top: 1em; }
.field--name-field-span-2-left ul { list-style-type: none; padding-left: 0; margin-left: 0; }
.field--name-field-span-2-left ul li { padding-bottom: .75em; }
.field--name-field-span-2-left ul li ul { list-style-type: disc; margin-left: 15px; }
.field--name-field-span-2-left ul li ul li { padding-bottom: 0; }
.view-secondary-nav ul { padding-left: 0; }
.view-secondary-nav ul li { padding-bottom: .75em; font-size: .85em; }

/* 2 Column Content Type Styles */
.page-node-type-_-column .row { position: relative; }
.col-xs-6.col-md-4.align-bottom { padding-left: 2em; }

/* Footer Styles */
.footer { border: 0; }
.footer hr { margin-left: -15px; border-top: 2px solid #000; }
.gray-logo { -webkit-filter: grayscale(1); filter: grayscale(1); }
footer .left-col, footer .right-col { display: inline; float: left; width: 16.5%; }
footer .middle-col { display: inline; width: 66%; float: left; }
footer .right-col { text-align: right; }

/* Miscellaneous Styles */
.views-field-field-caption { width: 300px; }
.align-center { text-align: center; }
.align-bottom {
	margin-top:1em;
	position: absolute;
	bottom:0;
	right:0;
}
h2 { color: #aaa; font-size: 20px; }
h3 { font-size: 16px; }
img.align-right, figure.align-right { margin: 30px 0 30px 30px; }
img.align-left, figure.align-left { margin: 30px 30px 30px 0; }
figure { display: table; }
figcaption { display: table-caption; caption-side: bottom; }

th, td { padding: 12px; } 


@media screen and (max-width: 995px) {
	footer .left-col, footer .right-col { width: 25%; }
	footer .middle-col { width: 50%; }
}
@media screen and (max-width: 768px) {
	footer .left-col, footer .right-col, footer .middle-col { display: block; width: 100%; text-align: left; padding-left: 15px; }
	/*#block-bootstrap-search { margin-top: 2.5em; }*/
}
@media screen and (max-width: 600px) {
	.masthead { display: none; }
	body.navbar-is-fixed-top { margin-top: 70px; }
}
@media screen and (max-width: 460px) {
	.path-frontpage h1 { 
		font-size: 64px;
	}
	.path-frontpage h1 + h3 {
		font-size: 20px;
		margin-top: 0 !important;
	}
}