/* -----------------------------------------------------------------------------------------------------
File Author:	Ryan Marincovich (ryan.marincovich@3plains.com)
Date Created:   2016.7.5
Client:         3Plains
File Purpose:	Theme style sheet
Revisions:
-------------------------------------------------------------------------------------------------------- */

/* ==>  Swipebox  ---------------------------------------------------------------------------------------- */
#Body #swipebox-overlay { background: rgba(0,0,0,0.8); }
#Body #swipebox-close {
	width: 100px;
	height: 100px;
	right: 20px;
	top: 20px;
	background-size: 500px 100px;
	background-position: 0 0;
}

/* ==>  Fonts  ---------------------------------------------------------------------------------------- */
/*
	font-family: 'Poppins', Helvetica, sans-serif;
*/
*[class^=bar] p,
header p.cta a,
h1,h2,h3,h4,h5,h6,
nav a p {
	font-family: 'Poppins', Helvetica, sans-serif;
	font-weight: normal; 
}
/* ALL BOLD FONT DECLARATIONS - necessary since webfonts may need to override */
h1,h2,h3,h4,h5,h6,
#SearchBar a,
#Breadcrumb ul,
#Showcase .right .att-row p.label,
.paging-bar,
.alert-error p,
*[class^=targets] p.info { font-weight: bold; }

/* ALL ITALIC FONT DECLARATIONS - necessary since webfonts may need to override */
.image-wrap p,
*[class^=targets] p.position,
*[class^=targets] p.source,
div.sub-title p.source,
*.no-records { font-style: italic; }

/* FONT WEIGHT OVERRIDE */
a.button { font-weight: normal; }

/* MAIN BODY TEXT SIZE DEF */
body {
	font-size: 20px; font-size: 2rem;
	line-height: 32px; line-height: 3.2rem;
}
/* ----- 12px ----- */
.image-wrap p,
header > .utils p,
#Breadcrumb,   
p.copy,
input[type=submit].small { 
	font-size: 12px; font-size: 1.2rem; 
	line-height: 20px; line-height: 2rem;
}
/* ----- 14px ----- */
.grid-item p,
.paging-bar p,
div.hours .box p,
footer ul.links p,
div[class^=bar] p.right,
div[class^=bar] a.right,
label,
div[class^=form-row] p,
footer,
footer p {
	font-size: 14px; font-size: 1.4rem;
	line-height: 22px; line-height: 2.2rem;
}
input[type=text], 
input[type=password], 
textarea, 
select, 
input[type=email], 
input[type=tel], 
input[type=search] { 
	font-size: 14px; font-size: 1.4rem; 
}
/* ----- 16px ----- */
div.targets ul li p,
a.button p,
h6 { 
	font-size: 16px; font-size: 1.6rem; 
	line-height: 24px; line-height: 2.4rem;
}
nav p {
	font-size: 16px; font-size: 1.6rem; 
	line-height: 20px; line-height: 2rem;
}
/* ----- 18px ----- */
header p.cta,
a.button,
p[class^=title],
footer ul.contact p,
footer ul.main p,
h5 {
	font-size: 18px; font-size: 1.8rem;
	line-height: 26px; line-height: 2.6rem;
}
input[type=submit] {
	font-size: 18px; font-size: 1.8rem;
	line-height: 18px; line-height: 1.8rem;
}
h5, h6 { padding: 0 0 14px; }
/* NAVIGATION */
nav a.global p {
	font-size: 18px; font-size: 1.8rem; 
	line-height: 20px; line-height: 2rem;
}
/* ----- 22px ----- */
div[class^=bar] p[class^=title],
div.targets ul li p[class^=title] {
	font-size: 22px; font-size: 2.2rem;
	line-height: 30px; line-height: 3rem;
}
/* ----- 26px ----- */
div.targets div.row p[class^=title] { 
	font-size: 26px; font-size: 2.6rem;
	line-height: 34px; line-height: 3.4rem;
}
h1 { 
	font-size: 42px; font-size: 4.2rem;
	line-height: 52px; line-height: 5.2rem;
    padding: 0 0 20px;
}
h2 { 
	font-size: 36px; font-size: 3.6rem;
	line-height: 46px; line-height: 4.6rem;
	padding: 0 0 25px;
}
h3 { 
	font-size: 30px; font-size: 3rem;
	line-height: 38px; line-height: 3.8rem;
	padding: 0 0 20px;
}
h4 {
	font-size: 26px; font-size: 2.6rem;
	line-height: 34px; line-height: 3.4rem;
	padding: 0 0 16px;
}
p.center {
	width: 100%;
	padding: 0;
	text-align: center;
}

/* ==>  Images  ---------------------------------------------------------------------------------------- */
*[class^=targets] div[class^=row] a.right img {
	max-width: 100%;
	padding: 0;
}
div#Big {
	width: 100%;
	height: auto;
	position: relative;
	overflow: hidden;
	z-index: 100;
}
#Big video {
	position: absolute;
	top: 0;
	left: 0;
	max-width: 100%;
	z-index: 102;
}

/* ==>  Framework  ---------------------------------------------------------------------------------------- */
html { background: #1e1f22; }
*[class^=targets] p,
body { color: #333; }
h1,h2,h3,h4,h5,h6 {	color: #000; }
header {
	height: 200px;
	background: #fff url(/images/tile-head.png) top center no-repeat;
}
header > .wrap { min-height: 150px; }
#logo {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
	width: 210px;
	height: 150px;
	padding: 0;
	margin: 0 auto;
    display: block;
	background-image: url(/images/logo.png);
	background-repeat: no-repeat;
	background-position: 0 0;
	background-size: 100%;
	z-index: 999;
}
#logo p { display: none; }
header p.cta {
	position: absolute;
	top: 20px;
	padding: 0;
	float: right;
	display: block;
}
header p.store,
header p.phone { right: 20px; }
header p.contact { left: 20px; }
header p.store {
    top: auto;
    bottom: 20px;
}
header p.cta a {
	width: 170px;
	min-height: 40px;
	padding: 5px 0 0;
	text-decoration: none;
	float: right;
	color: #fff;
	background: #224d76;
    background: -webkit-linear-gradient(#2c5884, #224d76);
	background: linear-gradient(#2c5884, #224d76);
	border: 2px solid #b5c5df;
	text-align: center;
	font-weight: normal;
}
header > div#NavWrap {
	width: 100%;
	height: 50px;
    border-bottom: 2px solid #224c75;
}
header > div#NavWrap.top-anchor {
	background: #fff;/*rgba(0,0,255,0.9);*/
	-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);
}
nav {
	width: 100%;
	height: 48px;
    text-align: center;
}
nav > ul {
	width: auto;
	height: 48px;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
}
nav > ul > li a.global { color: #000; }
nav > ul > li:hover a.global, 
nav > ul > li:active a.global, 
nav > ul > li:focus a.global,
nav > ul > li.on a.global {
    color: #fff;
    background: #224c75;
    background: -webkit-linear-gradient(#2c5884, #224d76);
	background: linear-gradient(#2c5884, #224d76);
}
nav > ul > li a.global > p {
	padding: 15px 15px 0;
	text-transform: uppercase;
}
header nav > ul > li > div.drop {
	top: 48px;
	left: 0;
	width: 250px;
	background: #fff;
	border: 2px solid #224c75;
}
nav > ul > li > div.drop { padding: 5px 15px 0; }
nav > ul li ul li a { 
	padding: 11px 0;
	color: #fff;
}
header nav > ul li ul li a:hover, 
header nav > ul li ul li a:active, 
header nav > ul li ul li a:focus {
    color: #fff;
    background: #224c75;
}
nav > ul li ul li p { padding: 0 10px; }
nav a.sticky-home {
	position: absolute;
	top: 0;
	right: 15px;
	width: 50px;
	height: 50px;
	background: url(/images/icon-home.png) top center no-repeat;
	background-size: 100% 100%;
}
#content { background: #fff url(/images/tile-content.png) bottom left no-repeat; }
#content #Page #BlogComments { border-top: 5px solid #333; }
#Breadcrumb { background: #e5e5e5; }
footer ul.links li a.head { color: #224c75; }
footer ul.links li a { color: #fff; }
footer ul.contact li a { color: #224c75; }
div.copy { background: #2f363c; }
div.copy img.copy-logo {
    max-height: 50px;
    width: auto !important;
    float: left;
}
p.copy { color: #fff; }
p.copy a { color: #1a8cff; }
footer {
    background: #1e1f22;
    background: -webkit-linear-gradient(#2f363c, #1e1f22);
	background: linear-gradient(#2f363c, #1e1f22);
    border-top: 5px solid #224c75;
}
footer .wrap { 
	max-width: 1000px;
	padding: 30px 0 0;
	clear: both;
}
footer .wrap .split {
	width: 50%;
	padding: 0 20px;
	float: left;
}
footer iframe {
	width: 100%;
	max-width: 100%;
}
footer .connect { background: #000; }
footer .connect .signup h5 { color: #fff; }
footer .connect .signup label { color: #fff; }
footer div.box { background: #000; }
footer div.box p,
footer div.box h4,
footer h2 { color: #fff; }
footer div.box {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 15px;
	display: block;
    border: 1px solid #b5c5df;
}
div.copy {
	width: 100%;
	padding: 12px 15px 10px;
	text-align: left;
}
p.copy { padding: 6px 20px 8px 90px; }
p.copy a { font-weight: normal; }
footer .box div.icons {
	width: 100%;
	padding: 10px 0 0;
	text-align: center;
}
footer .box div.icons h4 {
	width: 100%;
	padding: 0;
	text-align: center;
}
footer .box .icons a {
	height: 50px;
    margin: 0 4px;
	display: inline-block; 
}
footer .box img.icon {
	max-width: 30px;
	height: auto !important;
	padding: 10px 5px;
	display: inline;
}
.slide-placeholder {
    position: relative;
    width: 100%;
    float: left;
}
.slide-placeholder img {
    width: 100%;
    max-width: 100%;
    height: auto !important;
}
.slider { max-width: 100%; }
div.ctas {
    padding: 0 5px;
    background: #2f363c;
}
div.ctas .cta {
	width: 25%;
	padding: 10px 5px;
}
div.ctas .cta a {
	width: 100%;
	float: left;
}

/* link, title colors */
*[class^=targets] a p.title,
*[class^=targets] a h2,
a,
*[class^=targets] a p[class^=title] { color: #1a8cff; }

/* bar colors */
*[class^=bar] {
	min-height: 50px;
	background: #242424;
}
div[class^=bar] p {
	padding: 11px 15px 3px; 
	text-transform: uppercase;
}
*[class^=bar] a.right, 
*[class^=bar] p.right {
	padding: 14px 20px 0 0;
	float: right;
}
*[class^=bar] p.right { text-transform: capitalize; }
*[class^=bar] a { font-weight: normal; }
*[class^=bar] a,
div[class^=bar] p { color: #fff; }
*[class^=bar] p.right { color: #ccc; }

/* required asterisk */
span.required,
div[class^=form-row] > label span { color: #c00; }

/* paging bar */
.paging-bar { background: #e5e5e5; }
.pagination a p { 
	color: #224c75;
	border: 1px solid #224c75;
}
.pagination a p:hover, 
.pagination a p:active, 
.pagination a p:focus { 
	background: #224c75;
	color: #fff;
	border: 1px solid #224c75;
}
.pagination p.current {
	background: #224c75;
	color: #fff;
	border: 1px solid #224c75;
}
.pagination p {
	color: #999;
	border: 1px solid #999;
	background: #fff;
}
p.center-button {
    width: 100%;
    padding: 20px 0;
    float: left;
    text-align: center;
}
/* buttons */
input[type=submit], 
button, 
a.button {
	background: #224c75;
	color: #fff;
	border: 1px solid #fff;
	cursor: pointer;
	text-transform: uppercase;
}
a.button p { color: #fff; }
.comments .row {
    padding: 20px 0 0;
    border-top: 1px solid #999;
}
.comments .row p.comment-title { padding: 0 0 5px; }

/* ========== Grids ================================= */
.grid {
    display: flex;
    flex-flow: row wrap;
	justify-content: center;
}
.grid div.data p { padding: 0 0 10px; }
.grid div.data p.title {
	padding: 0 0 10px;
	text-align: left;
}
.grid-item {
	padding: 15px;
    margin: 20px 10px 0;
    background: #e5e5e5;
    border: 1px solid #1a8cff;
}
.grid-item.two {
	width: calc(50% - 20px);
    -webkit-flex: 0;
    -ms-flex: 0 0 calc(50% - 20px);
    flex: 0 0 calc(50% - 20px);
}
.grid-item.two img {
	max-width: 35%;
	height: auto !important;
	padding: 0 0 15px 20px;
	float: right;
}
.grid-item.four {
	width: calc(25% - 20px);
    -webkit-flex: 0;
    -ms-flex: 0 0 calc(25% - 20px);
    flex: 0 0 calc(25% - 20px);
	text-align: center;
	display: flex;
	flex-flow: column nowrap;
	justify-content: space-between;
}
.grid-item.four div.labels {
	width: 100%;
	margin-top: auto;
}
.grid-item.four img {
	width: auto;
	height: auto !important;
	max-height: 180px;
	max-width: 100%;
	margin: 0 auto;
	float: none;
	display: block;
}
.grid-item.four p { padding: 0 0 10px; }
@media only screen and (max-width : 1024px) {
    .grid-item.four {
        width: calc(50% - 20px);
        -webkit-flex: 0;
        -ms-flex: 0 0 calc(50% - 20px);
        flex: 0 0 calc(50% - 20px);
    }
}
@media only screen and (max-width : 650px) {
    .grid-item.four,
	.grid-item.two {
		width: calc(100% - 20px);
		-webkit-flex: 0;
		-ms-flex: 0 0 calc(100% - 20px);
		flex: 0 0 calc(100% - 20px);
	}
    .grid-item.four img {
        width: 100%;
        height: auto !important;
        max-height: none;
        max-width: 100%;
        margin: 0 auto;
        float: none;
        display: block;
    }
	.grid-item.two img {
		max-width: 100%;
		height: auto !important;
		padding: 0 0 20px;
		margin: 0 auto;
		float: none;
		display: block;
	}
}

/* ========== Custom Hunt Table ================================= */
table {
    width: 100%;
    margin: 0 0 30px;
    padding: 10px;
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
    background: #e5e5e5;
    border-collapse: collapse;
}
table tr { border-bottom: 1px solid #ccc; }
table td { padding: 8px 10px 5px; }
table td:nth-child(2) { text-align: right; }
div.hunts {
	width: 100%;
	max-width: 800px;
	margin: 0 auto 30px;
	display: block;
	background: #fff;
}
div.hunts .bar {
	width: 100%;
	float: left;
}
div.hunts .bar p { float: left; }
div.hunts .bar p.title { width: 70%; }
div.hunts .bar p.book { 
	width: 30%;
	text-align: right; 
} 
div.hunts ul {
	width: 100%;
	padding: 5px 0;
	float: left;
	list-style: none;
	border-bottom: 1px solid #333;
}
div.hunts ul.subhead { 
	background: #333;
	color: #fff;
	font-weight: bold;
}
div.hunts ul li { 
	padding: 8px 10px 5px;
	float: left; 
}
div.hunts ul li.col-one { width: 50%; }
div.hunts ul li.col-two,
div.hunts ul li.col-three { width: 25%; }
div.hunts ul li.col-two { text-align: center; }
div.hunts ul li.col-three {
	font-weight: bold;
	text-align: right; 
}
@media only screen and (max-width: 600px) {
	.content div.hunts ul li {
		font-size: 12px; font-size: 1.2rem; 
		line-height: 20px; line-height: 2rem;
	}
}

/* tables */
div.group,
#Rows { border-top: 1px solid #ccc; }
*[class^=targets] div[class^=row] { border-bottom: 1px solid #ccc; }
#Portfolio ul { border: 0; }

/* attributes table for resources like Staff */
#Showcase .right { background: #fff; }
#Showcase .right .att-row p.label { border-top: 1px solid #666; }
#Showcase .right .att-row:first-child p.label { border: 0; }

/* media gallery */
#MediaGallery { background: rgba(51,51,51, 0.7); }
div.thumbs div.block div.link { border: 5px solid #00c0ff; }
div.thumbs div.block div.current, 
div.thumbs div.block div.link:hover, 
div.thumbs div.block div.link:active, 
div.thumbs div.block div.link:focus { border: 5px solid #c00; }
div.thumbs div.block p { color: #fff; }
div.thumbs div.block p.source { background: #000; }
#MediaContent > p { color: #ccc; }

/* forms */
fieldset { background: #fff; }
input[type=text], 
input[type=password], 
textarea, 
select, 
input[type=email], 
input[type=tel], 
input[type=search] { border: 1px solid #666; }
input[type=text]:focus, 
input[type=password]:focus, 
textarea:focus, select:focus, 
input[type=email]:focus, 
input[type=tel]:focus, 
#globalSearch input[type=search]:focus {
	-webkit-box-shadow: 0 0 3px #999;
	box-shadow: 0 0 3px #999;
}

/* optional back to top icon */
#BackToTop {
	position: fixed;
	right: 20px;
	bottom: 80px;
	width: 50px;
	height: 50px;
	background: url(/images/top-icon.png) top left no-repeat;
	display: none;
    z-index: 9001;
}
html.top-pad #BackToTop { display: block; }
#BackToTop a {
	width: 100%;
	height: 100%;
	display: block;
}
#BackToTop p { display: none; }
@media only screen and (max-width : 1024px) {
	footer ul.cols { 
		width: 100%; 
		padding: 20px 10px 10px;
	}
}
@media only screen and (max-width : 950px) {
    nav p {
		font-size: 14px; font-size: 1.4rem; 
		line-height: 20px; line-height: 2rem;
	}
	nav > ul > li a.global > p {
		padding: 16px 10px 0;
		font-size: 12px; font-size: 1.2rem; 
		line-height: 16px; line-height: 1.6rem;
	}
	ul.targets-cols { padding-top: 10px; }
	div.scalebox img { max-height: 150px; }
	ul.targets-cols div.scalebox { height: 150px; }
}
@media only screen and (max-width : 900px) {
	footer ul.links {
		width: 50%;
		float: left;
	}
	footer ul.contact {
		width: 100%;
		float: left;
	}
	footer ul.links li {
		width: 100%;
		padding: 10px 0 0;
		float: left;
		text-align: left;
	}
	footer ul.links li p,
	footer ul.links li a {
		width: 100%;
		float: left;
	}
	footer ul.main p,
	footer ul.links p {
		font-size: 14px; font-size: 1.4rem;
		line-height: 22px; line-height: 2.2rem;
	}
	div.targets div.scalebox { height: 140px; }
	div.targets div.scalebox img { max-height: 140px; }
	.form-wrapper { padding: 0; }
}
@media only screen and (max-width: 750px) {
	#MainForm,
	div.hours {	width: 100%; }
	div.stacked-row { padding: 20px 0 10px; }
	div.stacked-row img {
        max-width: 100%;
		margin: 0 auto;
		padding: 0 0 25px;
		float: none;
		display: block;
    }
	div.stacked-row .data,
	div.stacked-row .data a.button,
	div.details a.button,
	div.details a.bigbutton,
	div.sxs3 a.button { max-width: 100%; }
}
@media only screen and (max-width : 700px) {
	.content { padding: 15px; }
	div.targets ul { padding: 0; }
	div.targets ul > li { 
		width: 50%; 
		padding-top: 20px;
	}
	div.targets ul > li:nth-child(3) { clear: both; }
	div.targets div.scalebox { height: 200px; }
	div.targets div.scalebox img { max-height: 200px; }
	div.group ul { padding: 0 0 0 20px; }
	div.group ul > li { padding: 0 0 15px; }
	div.group ul.two > li { 
		width: 100%; 
		padding: 0 0 15px;
	}
}
@media only screen and (max-width : 480px) {
	div.targets ul > li { 
		width: 100%; 
		padding-top: 30px;
	}
	div.targets div.scalebox > p {
		position: relative;
		float: left;
	}
	div.targets div.scalebox { height: auto !important; }
	div.targets div.scalebox img { max-height: auto; }
	div.targets ul li p[class^=title] { 
		width: 100%;
		float: left; 
	}
	div.group ul > li { padding-top: 0; }
}