/*  ==============================================================
	Head blocks.
    ============================================================== */

#page-header {
	font-size: 1.4em;
	min-height: 88px;
	width: 100%;
}

#page-header > .inner {
	position: relative;
}

/* Main logo */
#logo {
	float: left;
	line-height: 88px;
}

#logo > a {
	display: inline-block;
	vertical-align: sub;
}

#logo > a > img {
	display: block;
	margin: 0;
	padding: 0;
}





#nav-trigger {
	display: none;
	color: #FAFAFA;
}

#navigation {
	height: 88px;
	list-style: none;
	padding: 0 0 0 20px;
	width: 100%;
}

#navigation > li {
	float: right;
	height: 100%;
	line-height: 88px;
	transition: background-color 0.1s ease-in;
}

#navigation > li.flft {
	float: left;
}

#navigation > li:hover {
	background-color: #FAFAFA;
	color: #281E3B;
}

#navigation > li:hover a {
	color: #281E3B;
}

#navigation > li > a {
	color: #A9A3C2;
	float: left;
	height: 100%;
	line-height: inherit;
	padding: 0 20px;
}

#navigation > li > a + * {
	background-color: #FFFFFF;
	border-radius: 3px;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
	display: none;
	margin-top: -3px;
	position: absolute;
	right: 0;
	top: 100%;
	z-index: 101;
}

#navigation > li > a:hover + *,
#navigation > li > a + *:hover {
	display: block;
}

.navigation-spacer {
	background-color: rgba(0, 0, 0, 0.1);
	height: 40px !important;
	margin: 24px 20px;
	width: 1px;
}

.navigation-spacer:hover {
	background-color: #3C3F45 !important;
}



/* Drop down container elements */
.nav-drop-menu {
	list-style: none;
	font-size: 0.857em;
}

.nav-drop-menu > li {
	border-bottom: 1px solid #F0F0F0;
	clear: both;
	overflow: hidden;
}

.nav-drop-menu > li:last-child {
	border-bottom: none;
}

.nav-drop-menu > li > a {
	clear: both;
	float: left;
	line-height: 40px;
	padding: 0 20px;
	white-space: pre;
	width: 100%;
	transition: background-color 0.1s ease-in;
}

.nav-drop-menu > li:first-child > a {
	border-radius: 3px 3px 0 0;
}

.nav-drop-menu > li:last-child > a {
	border-radius: 0 0 3px 3px;
}

.nav-drop-menu > li:only-child > a {
	border-radius: 3px;
}

.nav-drop-menu > li > a:hover {
	background-color: #F0F0F0;
}

.nav-drop-menu > li > a:active {
	background-color: #D2D2D2;
}

.nav-drop-content {
	line-height: 40px;
	padding: 0 20px;
	font-size: 0.857em;
	white-space: nowrap;
}

/* Custom drop down container for search box */
#search-box {
	line-height: 80px;
	width: 100%;
}

#search-box input {
	border: none;
	display: block;
	font-size: 1.714em;
	font-weight: 300;
	height: 91px;
	margin: 0;
	padding: 0 20px;
	width: 100%;
	background-color: #FFFFFF;
	transition: box-shadow 0.1s ease-in;
}

#search-box input:focus {
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
}

/* Custom drop down container for login box */
#login-box {
	line-height: 80px;
	width: 240px;
	padding: 20px;
	font-size: 0.857em;
}

#login-box fieldset > input {
	display: block;
	font-size: 1em;
	height: 48px;
	margin: 0 0 20px;
	padding: 0 20px;
	width: 100%;
}

#login-box label {
	display: block;
	font-size: 1em;
	margin: 0 0 20px;
	padding: 10px 20px;
	text-align: center;
	width: 100%;
	cursor: pointer;
	border: 1px solid #281E3B;
	border-radius: 3px;
	line-height: 1.5;
	transition:
		background-color 0.1s ease-in,
		border-color 0.1s ease-in,
		color 0.1s ease-in;
}

#login-box label:hover {
	background-color: #e7001b;
	border-color: #e7001b;
	color: #FAFAFA;
}

#login-box label:active {
	background-color: #1E2127;
	border-color: #1E2127;
	color: #FAFAFA;
}

#autologin:checked + label {
	background-color: #281E3B;
	border-color: #281E3B;
	color: #FAFAFA;
}

#autologin:checked + label:hover {
	background-color: #e7001b;
	border-color: #e7001b;
	color: #FAFAFA;
}

#autologin:checked + label:active {
	background-color: #1E2127;
	border-color: #1E2127;
	color: #FAFAFA;
}

#autologin + label span {
	max-height: 0;
	display: block;
	overflow: hidden;
	margin: 0;
	opacity: 0;
	transition:
		max-height 0.3s ease-in,
		margin-top 0.3s ease-in,
		opacity 0.1s ease-in;
}

#autologin:checked + label span {
	max-height: 40px;
	margin-top: 5px;
	opacity: 1;
}

#autologin {
	display: none !important;
}

#login-box button {
	background-color: #281E3B;
	border: none;
	border-radius: 3px;
	color: #FAFAFA;
	display: block;
	font-size: 1.714em;
	font-weight: 300;
	height: 50px;
	line-height: 50px;
	margin: 0;
	text-align: center;
	width: 100%;
}

#login-box button:hover {
	background-color: #e7001b;
}

#login-box button:focus {
	background-color: #1E2127;
}

/* Site description */
#site-description {
	background-color: #35294c;
	color: #FAFAFA;
	padding: 40px 0 50px;
	text-align: center;
}

#site-description p {
	margin: 0;
}

/* Sub navigation */
#sub-navigation {
	min-height: 32px;
	line-height: 32px;
	margin-top: 12px;
	margin-bottom: 11px;
	font-size: 1.2em;
}

#sub-navigation ul {
	list-style: none;
}

#sub-navigation li {
	float: left;
	position: relative;
}

/* Breadcrumbs */
#breadcrumbs {
	padding: 0;
}

.crumb-spacer {
	font-size: 0.833em;
	padding: 0 20px;
	color: #8D939E;
	cursor: default;
}

.crumb-spacer:nth-last-child(2) {
	display: none;
}

.crumb:last-child {
	display: none;
}

/* Filter links */
#filter-links a {
	color: #8D939E;
	padding: 0 20px;
	height: 32px;
	line-height: 32px;
	border-radius: 3px;
	display: inline-block;
	transition: background-color 0.1s ease-in;
	white-space: pre;
}

#filter-links a:hover {
	background-color: #F0F0F0;
}

#filter-links .fa-filter {
	margin: 0;
}

#filter-links .fa-check,
#filter-links .fa-star {
	margin: 0 10px 0 0;
}

#filter-links li > ul {
	z-index: 101;
	display: none;
	position: absolute;
	right: 0;
	background-color: #281E3B;
	border-radius: 3px;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
	margin-top: -10px;
	padding: 0;
}

#filter-links li > ul > li {
	margin-left: 0;
	border-radius: 0;
	display: block;
	width: 100%;
}

#filter-links li > ul > li > a {
	margin-top: 0;
	margin-left: 0;
	border-radius: 0;
	display: block;
	width: 100%;
	height: auto;
	line-height: 1.5;
	padding: 10px 20px;
}

#filter-links li > ul > li:first-child > a {
	border-radius: 3px 3px 0 0;
}

#filter-links li > ul > li:last-child > a {
	border-radius: 0 0 3px 3px;
}

#filter-links li > ul > li:only-child > a {
	border-radius: 3px;
}

#filter-links li > ul > li > a:hover {
	background-color: #35294c;
}

#filter-links li > ul > li > a:focus {
	background-color: #1E2127;
}

#filter-links li:hover > ul {
	display: block;
}

/* Sub head */
.sub-head {
	background-color: #F0F0F0;
	border-top: 1px solid #E6E6E6;
	border-bottom: 1px solid #E6E6E6;
	padding: 21px 0 18px;
	line-height: 2;
}

.sub-head h2 {
	margin: 0;
	display: inline;
	float: left;
}

.sub-head p {
	margin: 0;
	clear: both;
}

.sub-head .search-box {
	margin-top: 7px;
}

@media (max-width: 768px) {

	/* Navigation */
	#nav-trigger {
		padding: 20px;
		top: 7px;
	}

}