/*
Theme Name: Norpine Custom
Author: Putonium Web Design
Author URI: http://putonium.com
Description: Custom template for Norpine
Version: 0.2
Text Domain: norpine 
*/

/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

html, div, span, header, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, ul, input{
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing:border-box;
	list-style:none;
}
:focus {/* remember to define focus styles! */
	outline: 0;
}

/* WP Image Align */
img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
a img.alignright {float:right; margin:0 0 1em 1em}
a img.alignleft {float:left; margin:0 1em 1em 0}
a img.aligncenter {display: block; margin-left: auto; margin-right: auto}

.clearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
* html .clearfix             { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */

.mobile-only{
	display:none;
}
.right {
	float:right;
}
.left {
	float:left;
}
.rightAlign {
	text-align:right;
}
.leftAlign {
	text-align:left;
}
.flex {
	display:flex;
}
.flexColumn {
	display:flex;
	flex-direction:column;
}
.flexSpacer {
	flex:1;
}
.flexFull {
	flex:1 100%;
}
body {
	background:#FFFFFF;
	display:flex;
	margin:200px 0 0;
	min-height:100vh;
	font-family:'Roboto', sans-serif;
	font-size:14px;
	padding:0;
	flex-direction:column;
}
a {
	color:inherit;
}
a:hover {
	text-decoration:none;
}
#pageWrapper {
	margin:0 auto 0;
	background:#fff;
	display:flex;
	flex-direction:column;
	width:100%;
	flex:1;
	color:#1A1A1A;
}
.innerWrap {
	max-width:1200px;
	margin:0 auto;
}
h1 {
	font-size:38px;
	margin-bottom:20px;
	padding-bottom:5px;
	border-bottom:2px solid #00943A;
}
h2 {
	font-size:32px;
	margin-top:20px;
	margin-bottom:10px;
}
h3 {
	margin-top:20px;
	font-size:28px;
	margin-bottom:0;
}
h4 {
	margin-top:20px;
	font-size:22px;
	margin-bottom:0;
}
/* Header */
#header {
	height:200px;
	position:fixed;
	top:0;
	width:100%;
	z-index:100;
	transition:height .2s ease;
}
/* Move it down if signed in to wordpress */
.customize-support #header {
	top:32px;
}
#header.shrink {
	height:125px;
}
#headerTop {
	background-color:#fff;
	position:relative;
	z-index:1;
	padding:10px 0;
	display:flex;
	transition:background-color .2s ease;
}
#header.shrink #headerTop {
	background-color:rgba(255,255,255,.95)
}
#headerBottom {
	background-color:#00943A;
	color:#fff;
	transition:background-color .2s ease;
}
#header.shrink #headerBottom {
	background-color:rgba(26,26,26,.95)
}
#topIcon {
	height:150px;
	width:150px;
	margin-left:40px;
	background:url(images/icon.svg) 50% 50% no-repeat #00943A;
	background-size:auto 100px;
	box-shadow:0 0 3px rgba(0,0,0,.4);
	display:inline-block;
}
#topLogo {
	flex:1;
	color:#00943A;
	height:114px;
	width:350px;
	background:url(images/logo.svg) 50% 50% no-repeat transparent;
	background-size:contain;
	background-position:0 50%;
	display:inline-block;
	vertical-align:top;
}
#headerRight {
	margin:0 40px;
	font-size:18px;
	text-transform:uppercase;
	font-weight:700;
	color:#444;
	display:flex;
	align-items:center;
}

/* Menus */
/* Main Nav */
#mainNavMenu .menu-item {
	margin-right:20px;
	display:inline-block;
	position:relative;
	white-space:nowrap;
}
#mainNavMenu .menu-item:last-child {
	margin:0;
}
#mainNavMenu .menu-item a {
	text-decoration:none;
	padding:20px;
	letter-spacing:1px;
	display:block;
	text-transform:uppercase;
	transition:background-color .3s ease, padding .2s ease;
}
li.menu-item-has-children > a:after {
	content: "\f107";
	font-family: FontAwesome;
	margin-left: 5px;
}
#header.shrink #mainNavMenu .menu-item a {
	padding:15px 20px;
}
#mainNavMenu .menu-item a:hover {
	background-color:rgba(255,255,255,.1);
}
.sub-menu {
	background:#1A1A1A;
	position:absolute;
	display:none;
	min-width:100%;
}
.menu-item:hover .sub-menu {
	display:block;
}
.sub-menu .menu-item {
	display:block !important;
	margin:0 !important;
}

/* Content */
.contentWrapper {
	padding:60px;
}
.contentWrapper img {
	max-width:100%;
	height:auto !important;
}
.pageTitle {
	margin-bottom:60px;
}

.pageContent {
	font-size:16px;
	line-height:24px;
}
.white.section .pageContent p {
	margin-bottom:20px;
	line-height:1.75;
	color:#333;
}
.pageContent blockquote:last-child,
.pageContent p:last-child {
	margin-bottom:0;
}
.pageContent blockquote {
	background:#1A1A1A;
	color:#fff;
	padding:20px;
	margin-bottom:40px;
}
.pageContent a {
	color:#00943A;
}
.featuredImgWrap {
	width:100%;
	margin-bottom:40px;
}
.featuredImgWrap .wp-post-image {
	width:100%;
}

/* Rotator */
#rotator {
	background-color:#1A1A1A;
	height:450px;
	overflow:hidden;
}
.rotatorItem {
	overflow:hidden;
	height:450px;
	background-position:50% 50%;
	background-size:cover;
	display:block;
}
.rotatorItem .rotatorItem-inner {
	overflow:hidden;
	height:450px;
	background-position:50% 50%;
	background-size:cover;
	display:block;
}
.rotatorItem img {
	min-width:100%;
}
.rotatorItem.product {
	display:flex;
	padding:20px;
	justify-content:center;
	position:relative;
}
.rotatorItem.product img {
	min-width:0;
	max-width:500px;
}
.rotatorItem.product .productLeft {
	width:500px;
	overflow:hidden;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	border: 30px solid #fff;
	box-shadow: 0 0 10px #000;
	z-index:2;
}
.rotatorItem.product .productRight {
	margin-left:20px;
	color:#fff;
	min-width:500px;
	z-index:2;
	display:flex;
	flex-flow:column;
	justify-content:space-around;
}
.rotatorItem-detailBtn i.fa.fa-angle-right {
	float: right;
}
.rotatorItem.product .productRight .title {
	font-size:50px;
	margin-bottom:0px;
	font-weight:normal;
}
.rotatorItem.product .productRight .description {
	letter-spacing:.5px;
	font-size:1.5em;
}
.rotatorItem.product .productRight .description p + p {
	margin-top:10px;
}
.rotatorItem.product .background {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 50% 50%;
	z-index: 1;
	-webkit-filter: blur(11px);
	-moz-filter: blur(11px);
	-o-filter: blur(11px);
	-ms-filter: blur(11px);
	filter: blur(11px);
}
.rotatorItem-detailBtn {
	color: #1a1a1a;
	background: #fff;
	padding: 10px;
	display: inline-block;
	text-decoration: none;
	margin-top: 10px;
	box-shadow:0 0 5px rgba(0, 0, 0, .3);
	transition:box-shadow .2s ease;
}
.rotatorItem-detailBtn:hover {
	box-shadow:0 0 5px rgba(0, 0, 0, 1);
}
.unslider {
	position:relative;
}
.unslider-arrow, .unslider-arrow {
	position:absolute;
	top:48%;
	color:#fff;
	z-index:3 !important;
}
.unslider-arrow:after {
	font-family:FontAwesome;
	font-size:2em;
	text-shadow:0 0 5px #000;
	color:#fff;
	transition:color .2s ease;
}
.unslider-arrow:hover:after {
	color:rgba(255,255,255,.8);
}
.unslider-arrow.next:after {
	content:"\f105";
}
.unslider-arrow.prev:after {
	content:"\f104";
}
.unslider-nav {
	position:absolute;
	bottom:0;
	width:100%;
	padding:5px 0;
	z-index:10;
}
.unslider .unslider-nav ol li {
	background-color:rgba(255,255,255,.5);
	border:0;
	padding:3px;
	transition:background-color .7s ease;
}
.unslider .unslider-nav ol li.unslider-active {
	background-color:#fff;
}

#orderPickupShip {
	background:url(images/order-pickup-ship.png) no-repeat 50% 50%;
	width:100%;
	height:100px;
	background-size:contain;
	margin:20px 0;
}

/* Hot Links */
.hotLinks {
	display:flex;
}
.hotLinks .item {
	flex:1;
	text-align:center;
}
.hotLinks .item .itemLink {
	text-decoration:none;
	display:flex;
	flex-flow:row wrap;
	padding:80px; 20px;
}
.hotLinks .item .itemTitle,
.hotLinks .item .itemContent,
.hotLinks .item .itemIcon
{
	margin:0 auto;
	flex:1 100%;
}

.hotLinks .item .itemTitle {
	color:#4D4D4D;
	font-size:30px;
	text-align:left;
}
.hotLinks .item .itemContent {
	color:#00943A;
	font-size:56px;
}
.hotLinks .item .itemIcon {
	margin-top:20px;
	color:#00943A;
	font-size:20px;
	opacity:.3;
	transition:opacity 1s ease;
}
.hotLinks .item .itemLink:hover .itemIcon {
	opacity:1;
}

/* Sections */

.section.green {
	background-color:#00943A;
	color:#fff;
}
.section.green a {
	color:#fff;
	text-decoration:underline;
}
.section.green a:hover {
	text-decoration:none;
}
.section.white {
	background-color:#ffffff;
	color:#1A1A1A;
}
.section.gray {
	background-color:#1A1A1A;
	color:#fff;
}

/* Child Pages */
li.childPage .childPage-link {
	text-decoration:none;
	padding:20px;
	box-shadow:0 0 3px rgba(0, 0, 0, .3);
	transition:box-shadow .2s ease;
	margin-bottom:40px;
}
li.childPage:hover .childPage-link {
	box-shadow:0 0 3px rgba(0, 0, 0, .5);
}
li.childPage:last-child .childPage-link {
	margin-bottom:0;
}
.childPage .childPage-left {
	margin-right:20px;
}
.childPage .childPage-image {
	width:300px;
}
.childPage .childPage-title {
	margin:0 0 20px 0;
}

/* Footer */
#footer {
	display:flex;
	flex-direction:column;
	min-height:180px;
	background-color:#1A1A1A;
	background-image:url(images/gauge.svg);
	background-repeat:no-repeat;
	background-position:50% bottom;
	background-size:375px auto;
	color:#ddd;
	padding:20px;
}

.footerBottom {
	display:flex;
	font-size:12px;
}

.copyright {
	flex:1;
}

.plug {
	flex:1;
	text-align:right;
}
/* ----------- iPhone 6+ ----------- */

/* Portrait and Landscape */
@media only screen 
and (max-device-width: 736px) {
	.flexFull {
		flex:1;
	}
	.not-for-mobile {
		display:none;
	}
	.mobile-only {
		display:block;
	}
	body {
		padding:0;
		margin:50px 0 0;
	}
	h1 {
		font-size:22px;
		margin-bottom:10px;
		padding-bottom:5px;
		border-bottom:2px solid #00943A;
	}
	h2 {
		font-size:20px;
		margin-top:10px;
		margin-bottom:10px;
	}
	h3 {
		margin-top:10px;
		font-size:18px;
		margin-bottom:0;
	}
	h4 {
		margin-top:10px;
		font-size:16px;
		margin-bottom:0;
	}
	#header {
		padding-top:50px;
		height:initial;
	}
	#headerLeft {
		flex-direction:row;
	}
	#headerTop {
		height:50px;
		position:fixed;
		width:100%;
		box-shadow:0 0 5px rgba(0,0,0,.5);
		top:0;
	}
	#mobileTopLogoText {
		width:95px;
		margin-left:10px;
		box-shadow:none;
		background-size:contain;
		background-image:url(images/logo-text-only.svg);
		background-position:50% bottom;
		background-repeat:no-repeat;
	}
	#topLogo {
		flex:none;
		height:initial;
		width:65px;
		background-image:url(images/gauge-color.svg);
		margin-left:10px;
		background-position:bottom;
	}
	#headerRight {
		margin:0;
	}
	#mobileMenuAccess {
		height:50px;
		width:50px;
		background:#00943A;
		font-size:20px;
		border:0;
		background:transparent;
	}
	#mobileMenuAccess * {
		color:#00943A;
	}
	#mobileNavMenuWrapper {
		position: absolute;
		top: 50px;
		left: 100%;
		transition:opacity .2s ease;
		width:100%;
		opacity:0;
	}
	#mobileNavMenuWrapper.active {
		left:0;
		opacity:1;
	}
	#mobileNavMenu {
		width: 100%;
		background: #fff;
		padding: 10px;
		box-shadow: 0 0 5px rgba(0,0,0,.5);
	}
	#mobileNavMenu .menu-item {
		display: block;
		text-align: center;
	}
	#mobileNavMenu .menu-item a {
		display:block;
		overflow:hidden;
		padding: 10px;
		text-decoration:none;
		text-overflow:ellipsis;
		white-space:nowrap;
	}
	li.menu-item-has-children > a:after {
		content:"";
	}
	#rotator, .rotatorItem {
		height:200px;
	}
	.contentWrapper {
		padding:20px;
	}

	.pageTitle {
		margin-bottom:20px;
	}

	.hotLinks {
		flex-direction:column;
	}
	.hotLinks .item {
		margin:0 10px;
		border-bottom:1px solid #00943A;
	}
	.hotLinks .item:last-child {
		border-bottom:0;
	}
	.hotLinks .item .itemLink {
		padding:20px;
	}
	.hotLinks .item .itemContent {
		font-size:40px;
	}
	.hotLinks .item .itemIcon {
		display:none;
	}
	
	/* Rotator Product */
	.rotatorItem.product .background {
		-webkit-filter:none;
		-moz-filter:none;
		-o-filter:none;
		filter:none;
		opacity:.5;
	}
	.rotatorItem.product .productLeft {
		display:none;
	}

	.rotatorItem.product .productRight {
		width:100%;
		min-width:initial;
		margin:0 20px;
	}
	.rotatorItem.product .productRight .title {
		font-size:30px;
	}
	.rotatorItem.product .productRight .description {
		font-size:16px;
	}
	.rotatorItem.product .productRight .description p + p {
		margin-top: 5px;
	}
	.rotatorItem-detailBtn {
		width:100%;
	}
	.footerBottom {
		flex-flow:column;
	}
	.footerBottom .plug, .footerBottom .copyright {
		text-align:center;
	}
	.footerBottom .plug {
		margin-top:10px;
	}

}
