/* Northland College WordPress theme second-tier navigation CSS */

.page-template-second-tier-nav { }

	.page-template-second-tier-nav .entry-header h1 {
		background: transparent url('../images/hr.png') center bottom no-repeat;
		background-size: 2000px 20px;
		font-size: 280%;
		padding-bottom: 20px;
	}

.second_tier_nav {
	margin: 2em 0 0 0;
}
.second_tier_nav:after {
	clear: both; content: ''; display: table; /* Clearfix */
}
	
	.second_tier_nav .child {
		background: rgb(246,246,246);
		border: 1px solid rgba(0,0,0,0.05);
		display: block;
		font-size: 90%;
		line-height: 1.5em;
		margin: 0 0 1em 0;
		overflow: hidden;
		padding: 0;
		position: relative;
		width: 100%;
	}
	
	.second_tier_nav .child:nth-of-type(2n-1) {
		clear: both;
		float: left;
		width: 49%;
	}
	
	.second_tier_nav .child:nth-of-type(2n) {
		clear: none;
		float: right;
		width: 49%;
	}
	
	.second_tier_nav .child > * {
		margin: 0 !important;
	}

	.second_tier_nav .background {
		background-position: center center;
		background-repeat: no-repeat;
		background-size: cover;
		margin: 0 !important;
		padding: 0 !important;
		position: absolute; top: 0; right: 0; bottom: 0; left: 0;
		z-index: 1;
	}

	.second_tier_nav .foreground {
		position: relative;
		transition: background-color 200ms;
		z-index: 2;
	}
	
	.second_tier_nav .background + .foreground * {
		color: rgb(255,255,255) !important;
	}
	
	.second_tier_nav .background + .foreground a.continue {
		color: rgb(245,132,38) !important;
	}
	
	.second_tier_nav .background + .foreground a:hover, .second_tier_nav .background + .foreground a:focus
	{ color: rgb(255,255,255) !important; }
	
		.second_tier_nav .title {
			padding: 1em 1.5em 0.4em 1.5em;
		}
		
		.second_tier_nav .background + .foreground .title {
			background: rgb(171,171,171); /* IE8 fallback */
			background: rgba(0,0,0,0.5);
		}
	
		.second_tier_nav .excerpt {
			font-size: 100%;
			line-height: 1.5em;
			/*margin-bottom: -9984px;
			padding: 0 1.5em 9999px 1.5em;*/
			padding: 0 1.5em 1em 1.5em;
			transition: opacity 300ms;
		}
		
		.second_tier_nav .background + .foreground .excerpt {
			background: rgb(171,171,171); /* IE8 fallback */
			background: rgba(0,0,0,0.5);
			opacity: 0;
		}
		
		.second_tier_nav .child:hover .background + .foreground .excerpt {
			opacity: 1;
		}
	
		.second_tier_nav ul.grandchildren { display: none; }
	

/* CSS3 MEDIA QUERIES */

/* PRINT */
@media print {

}


/* LARGE SCREENS (content area over 1280 pixels) */
@media screen and (min-width: 1280px) {

}


/* INTERMEDIATE SCREENS (content area between 1000 and 1279 pixels) */
@media screen and (min-width: 1000px) and (max-width: 1279px) {

}


/* TABLETS (content area under 1000 pixels) */
@media screen and (max-width: 1000px) {

}


/* PHONES (content area under 782 pixels) */
/* Matched to size where WP mobile admin bar appears */
@media screen and (max-width: 782px) {

}


/* SMALL PHONES (content area under 600 pixels) */
@media screen and (max-width: 600px) {

	.page-template-second-tier-nav .entry-header h1 {
		font-size: 200%;
	}
	
	.second_tier_nav .child:nth-of-type(2n-1),
	.second_tier_nav .child:nth-of-type(2n)
	{
		clear: both;
		float: none;
		width: 100%;
	}
	
}


/* HIGH RESOLUTION IMAGE REPLACEMENTS */
@media	only screen and (-moz-min-device-pixel-ratio: 1.5),
		only screen and (-o-min-device-pixel-ratio: 3/2),
		only screen and (-webkit-min-device-pixel-ratio: 1.5),
		only screen and (min-devicepixel-ratio: 1.5),
		only screen and (min-resolution: 1.5dppx)
{

}
