/* -----------------------------------------------------------------------------------------------------------------------
File Author:	Ryan Marincovich (ryan.marincovich@3plains.com)
Date Created:   2016.06.14
Client:         3Plains
File Purpose:	Responsive style sheet - MOBILE DEVICE SIZE
Revisions:
-------------------------------------------------------------------------------------------------------- 
CONTENTS
	- Global
	- Text
	- Framework Header
	- Framework Footer
	- Common page / index
	- Modules
	- Forms
*/

/* ==>  Global ---------------------------------------------------------------------------------------- */
html { -webkit-text-size-adjust: none; /* Prevent font scaling in landscape */ }
header > #NavWrap.top-anchor { position: relative; }
#BackToTop { right: 10px; }
div[class^=widget] iframe { height: auto !important; }
#Custom { width: 100%; }
.gallery .galleria-stage { bottom: 0; }
.gallery .galleria-thumbnails-container { display: none; }
#Body div#slide {
	-webkit-box-shadow: 0 0 6px 0 rgba(0,0,0,0.9);
	box-shadow: 0 0 6px 0 rgba(0,0,0,0.9); 
	background: #fff;
}
#Body.reveal > nav { display: block; }
#Body.reveal div#slide {
	right: 80%;
	position: fixed;
}
#Body.reveal div#slide #content { opacity: 0.8; }
#Body.off div#slide {
	right: 0;
	/*left: 80%;*/
	position: relative;
}
/* FIXED MOBILE HEADER */
header > .wrap.scrolled { 
    position: fixed;
    top: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.8);
    -webkit-box-shadow: 0 0 6px 0 rgba(0,0,0,0.7);
	box-shadow: 0 0 6px 0 rgba(0,0,0,0.7);
}

/* ==>  Text ---------------------------------------------------------------------------------------- */
body {
	font-size: 14px; font-size: 1.4rem;
	line-height: 22px; line-height: 2.2rem;
}
/* ----- 12px ----- */
ul.targets-cols p, 
p.copy, 
div.headline p.long { 
	font-size: 12px; font-size: 1.2rem; 
	line-height: 20px; line-height: 2rem;
}
#mobileNav p {
	font-size: 14px; font-size: 1.4rem; 
	line-height: 16px; line-height: 1.6rem;
}
#mText p,
#mBook p {
    font-size: 14px; font-size: 1.4rem; 
	line-height: 20px; line-height: 2rem;
	color: #fff;
}
/* ----- 14px ----- */
a.button p,
#RelTab a p,
ul.targets-cols p[class^=title], 
.details ul,
.details ol,
div.headline p { 
	font-size: 14px; font-size: 1.4rem;
	line-height: 22px; line-height: 2.2rem;
}
/* ----- 16px ----- */
nav p,
p[class^=title] {
	font-size: 16px; font-size: 1.6rem;
	line-height: 24px; line-height: 2.4rem;
}
div.headline p { line-height: 18px; line-height: 1.8rem; }
div[class^=gutters] { 
	padding-left: 1%; 
	padding-right: 1%; 
}
/* ----- 18px ----- */
nav > ul > li a.global > p {
	font-size: 18px; font-size: 1.8rem;
	line-height: 26px; line-height: 2.6rem;
}
h1 {
    font-size: 32px; font-size: 3.2rem;
    line-height: 40px; line-height: 4rem;
}
h2 { 
    font-size: 26px; font-size: 2.6rem;
    line-height: 34px; line-height: 3.4rem;
}
h3 { 
    font-size: 20px; font-size: 2rem;
    line-height: 28px; line-height: 2.8rem;
}
h4 {
    font-size: 18px; font-size: 1.8rem;
    line-height: 28px; line-height: 2.8rem;
}

/* ==>  Framework Header ---------------------------------------------------------------------------------------- */
header > .utils,
header p.cta,
#NavWrap.off { display: none; }
#NavWrap nav.on { display: block; }
header {
    max-height: 72px;
    border-bottom: 2px solid #44482f;
}
header > .wrap { min-height: 70px; }
#logo {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 120px !important;
  height: 70px !important;
  background-position: 0 0 !important;
  background-size: 100% !important;
  float: left !important;
  margin: 0 !important;
  right: auto !important;
}
#mobileNav {
    width: 70px;
    height: 70px;
    padding: 10px;
	float: right;
	display: block;
    position: relative;
}
#mobileNav div {
    width: 50px;
	height: 50px;
	padding: 0;
	float: left;
	cursor: pointer;
	position: relative;
	transition: all .3s linear; 
    -webkit-transition: all .3s linear;
}
#mobileNav div p {
	position: absolute;
	top: 18px;
	left: 0;
	width: 50px;
	height: 12px;
	padding: 0;
	display: block;
	color: #fff;
	text-transform: uppercase;
	text-align: center;
}
#mobileNav div p::before,
#mobileNav div p::after {
	position: absolute;
	left: 0;
	width: 100%;
	height: 8px;
	display: block;
	content: "";
}
#mobileNav div p::before { 
	top: -18px;
    -webkit-border-radius: 2px 2px 0 0;
	border-radius: 2px 2px 0 0;
}
#mobileNav div p::after { 
	bottom: -20px;
    -webkit-border-radius: 0 0 2px 2px;
	border-radius: 0 0 2px 2px;
}
#mobileNav div#mMenu p::before,
#mobileNav div#mMenu p::after { background: #44482f; }
#mobileNav div#mMenu.on { transform: rotate(360); }
#mobileNav div#mMenu.on p::before,
#mobileNav div#mMenu.on p::after { background: #666; }
#mText,
#mBook,
#mPhone {
	position: absolute;
	top: 10px;
	width: 50px;
	height: 50px;
	color: #fff;
	text-align: center;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	display: block;
	text-decoration: none;
}
#mBook {
	right: 70px;
	padding: 4px 0 0;
	background: #44482f;
	color: #fff;
}
#mBook p { padding: 2px 0 0; }
#mPhone {
	right: 130px;
	background-color: #44482f;
	background-image: url(/images/icon-call.png);
	background-position: top center;
	background-repeat: no-repeat;
	background-size: 100%;
}
#mPhone span { display: none; }
#mText {
	right: 190px;
	padding: 5px;
	background: #44482f;
	color: #fff !important;
}
#mText p { padding: 2px 0 0; }
#Breadcrumb ul { 
	padding: 9px 0 0 15px;
	position: relative; 
}
nav p.action {
	width: 100%;
	padding: 15px 0 13px;
	float: left;
	border-bottom: 1px solid #fff;
}
nav p.action a { 
	width: 50%;
	padding: 0 15px;
	float: left;
	color: #fff;
}
nav p.action a.email { text-align: right; }
.reveal-logo {
	width: 100%;
	padding: 10px 0;
	float: left;
	text-align: center;
}
.reveal-logo a {
	width: 100%;
	height: 145px;
	float: left; 
	background-image: url(/images/logo.png);
	background-repeat: no-repeat;
	background-position: center 0;
	background-size: 250px 145px;
}
.reveal-logo p { display: none; }
nav {
	height: auto !important;
	padding: 0;
	text-align: left;
}
nav > ul { 
	width: 100%;
	height: auto !important;
	padding: 0 0 30px; 
	border-top: 1px solid #44482f;
	background: #000;
}
div#NavWrap.top-anchor nav > ul > li,
nav > ul > li {
	width: 100% !important;
	height: auto !important;
	padding: 8px 0;
	background: none !important;
	cursor: default;
	border-bottom: 1px solid #44482f;
}
nav > ul > li.mobile { text-align: center; }
div#NavWrap.top-anchor nav > ul li a.global,
nav > ul li a.global {
	width: 100%; 
	padding: 0;
	height: auto !important;
}
nav > ul > li > div#Mega .wrap {
	width: 100%;
	padding: 5px;
	float: left;
}
nav > ul > li > div#Mega div.col {
	width: 100%;
	padding: 5px;
	float: left;
}
nav > ul > li > div#Mega div.col a.head {
	width: 100%;
	padding: 9px 0 7px;
	float: left;
	color: #fff;
	text-align: center;
	text-transform: uppercase;
	background: #666;
}
nav > ul > li > div.drop { padding: 0; }
nav > ul li ul li { width: 50%; }
nav > ul li ul li:nth-child(odd) { clear: left; }
nav > ul li ul li a:hover, 
nav > ul li ul li a:active, 
nav > ul li ul li a:focus {	background: none; }
nav > ul li ul li a:hover p, 
nav > ul li ul li a:active p, 
nav > ul li ul li a:focus p { text-decoration: underline; }
nav > ul li ul li a { margin: 0; }
div#NavWrap.top-anchor nav > ul > li a.global > p,
nav > ul > li a.global > p { padding: 15px; }
nav > ul > li.mobile a.global > p {
	width: 100%;
	padding: 15px;
	text-align: center;
}
nav > ul > li ul { padding: 0 10px 10px; }
nav > ul > li ul li { padding: 6px; }

/* ==>  Framework Footer ---------------------------------------------------------------------------------------- */
footer .wrap .split {
	width: 100%;
	padding: 25px 15px 0;
}
div.copy div.icons {
	width: 100%;
	padding: 10px 0 0;
	float: none;
	text-align: center;
}
div.copy div.icons a { float: none; }
div.copy img.icon {
	padding: 2px 5px 0;
	float: none;
	display: inline;
}

/* ==>  Common page / index ---------------------------------------------------------------------------------------- */
div.imageWrap { 
	width: 100% !important; 
	max-width: 100%;
	padding-left: 0;
}
div.imageWrap img {
	margin: 0 auto;
	float: none;
	display: block;
}
div.ctas { padding: 0; }
div.ctas .cta {
	width: 100%;
	padding: 30px 0 0;
}
div.ctas .cta img {
	margin: 0 auto;
	float: none;
	display: block;
}
#content #Page { padding: 15px 2%; }
*[class^=bar] select {
	max-width: 100px; 
	margin: 9px 10px 0; 
}
div.bar-head select { margin-left: 0; }
a.button p { padding: 4px 0; }
ul.targets-cols div.scalebox { height: 125px; }
ul.targets-cols div.scalebox img { max-height: 125px; }
.paging-bar { padding-bottom: 12px; }
.paging-bar > div.count, 
.paging-bar > div.pagination { 
	width: 100%;
	padding: 12px 0 0;
	text-align: center;
}
div.targets div.row a.right { 
	max-width: 100%;
	padding: 0 0 10px;
}
div.targets div.data { padding: 0 0 30px; }
@media only screen and (max-width : 600px) {
	fieldset { 
		padding: 10px 5px;
		float: none; 
	}
	.field textarea { 
		width: auto;
		min-width: 100%; 
	}
	.form-wrapper { 
		width: 100%; 
		border: none;
		background: none;
	}
	div[class^=form-row] > label {
		width: 100%;
		padding: 5px 0 0 10px;
		text-align: left;
	}
	div[class^=form-row] > label span {
		left: 0;
		right: auto;
	}
	div[class^=form-row] div.field { 
		width: 100%;
		padding: 2px 0 5px;
	}
	div.form-row-error div.field { padding: 5px; }
	input[type=text], 
	input[type=email], 
	input[type=tel], 
	select { width: 100%; }
	input[type=text], 
	input[type=email], 
	input[type=tel] { padding: 4px 5px; }
	div.check-row { padding-left: 0; }
	*[class^=targets] div[class^=row] img { 
		max-width: 100%; 
		margin: 0 auto;
		padding: 0 0 25px;
		float: none;
		display: block;
	}
}

/* ==>  Modules ---------------------------------------------------------------------------------------- */
div.hours {
	width: 100%;
	margin: 0 0 20px;
}

/* ==>  Forms ---------------------------------------------------------------------------------------- */
@media only screen and (max-width : 500px) {
	#Portfolio ul[class~="two"] li { 
		width: 100%; 
		padding: 10px 0;
	}
	#MediaGallery div.thumbs > div { height: 70px; }
	div.thumbs div.block img[class$=thumb] { max-width: 60px; }
	div.thumbs div.block p.source { display: none; }
}
@media only screen and (max-width : 450px) {
	nav > ul li ul li { width: 100%; }
	.pagination p { 
		min-width: 32px;
		padding: 5px 3px 2px;
	}
}
div.sxs-inner li {
	font-size: 17px;
	font-family: 'Lato', Helvetica, sans-serif;
}