/* -----------------------------------------------------------------------------------------------------------------------
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;
}

/* ==>  Text ---------------------------------------------------------------------------------------- */
body {
	font-size: 14px; font-size: 1.4rem;
	line-height: 22px; line-height: 2.2rem;
}
/* ----- 12px ----- */
h6,
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: 12px; font-size: 1.2rem; 
	line-height: 12px; line-height: 1.2rem;
}
/* ----- 14px ----- */
a.button p,
#RelTab a p,
h5,
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;
}
h5, h6 { padding: 0 0 12px; }
/* ----- 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,
h4 {
	font-size: 18px; font-size: 1.8rem;
	line-height: 26px; line-height: 2.6rem;
}
h4 { padding: 0 0 14px; }
/* ----- 22px ----- */
h2, h3 {
	font-size: 22px; font-size: 2.2rem;
	line-height: 30px; line-height: 3rem;
}
h2, h3 { padding: 0 0 16px; }
/* ----- 26px ----- */
h1 {
	font-size: 26px; font-size: 2.6rem;
	line-height: 34px; line-height: 3.4rem;
}


/* ==>  Framework Footer ---------------------------------------------------------------------------------------- */
footer .connect .split,
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;
}
p.copy { width: 100%; }

/* ==>  Common page / index ---------------------------------------------------------------------------------------- */
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%; }
div[class^=bar] p { padding: 14px 10px 5px; }
*[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;
	}
}