/*

Theme Name: adex
Author: Bayard Advertising
Author URI: www.bayardad.com

*/

/* ------- Reference Info -----------------------

	--- FONTS ---
	Google - Merriweather; weights/styles - 300, 800, 300italic, 800italic

	--- COLORS ---
	medium grey: #72838b;
	dark grey: #231f20;
	purple: #386bb6;
	light blue: #c8e4f6;
	purpleish-grey: #434855;

	--- INDEX ----
	Base Styles
	Layout Styles
		Header Styles
		Hero Styles
		Section1 Styles
		Section2 Styles
		Section3 Styles
		Footer Styles
	Module Styles
	Form Styles
	Media Queries

	--- DECLARATIONS --

	- Position related: position/z-index/top/bottom/etc, etc
	- Box Model related: margin, width, height, background, float, etc
	- Type related: font-size, color, font-weight, etc


	--------------------------------------------- */

/* =====================================
BASE STYLES
======================================== */

section {
	position: relative;
	z-index: 100;
	padding-top: 40px;
	padding-bottom: 40px;
}

* {
	font-family: 'Merriweather', georgia, serif;
	font-size: 10px;
	font-weight: 300;
}

h1 {
	margin-top: 0;
	margin-bottom: .5rem;
	color: #386bb6;
	font-size: 3rem;
	font-style: italic;
	font-weight: 700;
	text-align: center;
}

h2 {
	margin-top: 0;
	margin-bottom: 1rem;
	color: #00b489;
	font-size: 2.9rem;
	font-weight: 900;
	text-align: center;
}

h3 {
	margin-top: 0;
	margin-bottom: 1rem;
	color: #fff;
	font-size: 2.5rem;
	font-weight: 900;
	text-align: center;
}

h4 {
	margin-top: 0;
	margin-bottom: .5rem;
	color: #fff;
	font-size: 1.6rem;
	font-weight: 900;
	text-align: center;
}

p {
	margin-top: 0;
	margin-bottom: 1.6rem;
	color: #231f20;
	font-size: 1.6rem;
	font-style: italic;
	line-height: 2.5rem;
	text-align: center;
}

a {
	margin: 0;
	outline: 0;
	color: #fff;
	font-size: 1.6rem;
	font-style: italic;
	font-weight: 900;
	-webkit-transition: all 0.4s;
	-moz-transition: all 0.4s;
	-ms-transition: all 0.4s;
	-o-transition: all 0.4s;
	transition: all 0.4s;
}

	a:hover,
	a:focus,
	a:visited,
	a:active {
		color: #386bb6;
		outline: 0;  /* remove dotted line  */
		text-decoration: none;
	}

button,
button:hover,
button:active,
button:focus {
	outline: 0;
}  /* remove dotted line  */

input::-moz-focus-inner {
  border: 0;
} /* remove dotted line firefox */

strong {
	font-size: inherit;
}

em {
	font-size: inherit;
}


/* =====================================
GLOBAL STYLES ========================== */


.arrow-up {
	bottom: 0;
	position: absolute;
	z-index: -100;
	height: 0;
	margin-bottom: -500px;
    padding-left:50%;
    padding-bottom:550px;
    overflow: hidden;
    width: 100%;
}
.arrow-up:after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    margin-left:-2000px;
    border-left: 2000px inset transparent;
    border-right: 2000px inset transparent;
    border-bottom: 100px solid #fdfdfe;
    -moz-box-shadow: 0px 0px 6px #212824;
}
.arrow-up-purple {
	bottom: 0;
	position: absolute;
	z-index: -100;
	height: 0;
	margin-bottom: -500px;
    padding-left:50%;
    padding-bottom:550px;
    overflow: hidden;
    width: 100%;
}
.arrow-up-purple:after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    margin-left:-2000px;
    border-left: 2000px inset transparent;
    border-right: 2000px inset transparent;
    border-bottom: 100px solid #386bb6;
    -moz-box-shadow: 0px 0px 6px #212824;
}

.btn-primary {
	background: #434855;
	border: none;
	margin-top: 20px;
	color: #fff !important;
	font-size: 2rem;
	font-weight: 900;
}

.btn {
	padding-right: 30px;
	padding-left: 30px;
	-webkit-transition: all 0.4s;
	-moz-transition: all 0.4s;
	-ms-transition: all 0.4s;
	-o-transition: all 0.4s;
	transition: all 0.4s;
}

	.btn:hover,
	.btn:focus,
	.btn:active {
		background: #386bb6;
	}

	.form .btn:hover,
	.form .btn:active,
	.form .btn:focus {
		background: #c8e4f6;
		color: #434855;
		outline: 0;
	}

.scroll-up {
	display: none;
	position: fixed;
	bottom: 15px;
	right: 15px;
	margin: 20px;
	z-index: 900;
	width: 38px;
	height: 38px;
	opacity: 0.5;
	-webkit-transition: all, 0.5s, ease;
	-khtml-transition: all, 0.5s, ease;
	-moz-transition: all, 0.5s, ease;
	-ms-transition: all, 0.5s, ease;
	-o-transition: all, 0.5s, ease;
	transition: all, 0.5s, ease;
}
.scroll-up:hover {
	opacity: 1;
}

/* =====================================
LAYOUT STYLES ========================== */


/* ------- HEADER STYLES ------------------------ */

header {
	position: fixed;
	z-index: 700;
	left: 0;
	right: 0;
	top: 0;
	z-index: 200;
	min-height: 50px;
	padding-bottom: 10px;
	text-align: center;
	-webkit-transition: all 0.6s;
	-moz-transition: all 0.6s;
	-ms-transition: all 0.6s;
	-o-transition: all 0.6s;
	transition: all 0.6s;
}

header.scrolled {
	background: #fff;
	-moz-box-shadow: 0px 0px 6px #212824;
  	-webkit-box-shadow: 0px 0px 6px #212824;
  	box-shadow: 0px 0px 6px #212824;
}

.logo img {
	display: block;
	margin: 20px auto 5px auto;
	width: 160px;
	-webkit-transition: all 0.6s;
	-moz-transition: all 0.6s;
	-ms-transition: all 0.6s;
	-o-transition: all 0.6s;
	transition: all 0.6s;
}

	header.scrolled .logo img {
		margin-top: 10px;
		width: 150px;
	}

header a {
	padding-right: 15px;
	color: #231f20;
	font-size: 1.3rem;
	font-weight: 300;
	-webkit-transition: all 0.6s;
	-moz-transition: all 0.6s;
	-ms-transition: all 0.6s;
	-o-transition: all 0.6s;
	transition: all 0.6s;
}
	header a:last-of-type {
		padding-right: 0;
	}

	header.scrolled a {
		font-size: 1.3rem;
	}



	
/* ------- HERO REGIONAL--------------------------------- */

#hero_map {
	width: 100%;
	margin-top: 113px;
	min-height: 340px;
	background: url(img/hero_regional_768_tall.jpg) no-repeat center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	border-top: 5px solid #7D1B34;
	border-bottom: 5px solid #7D1B34;
}








/* ------- HERO --------------------------------- */

.hero {
	position: relative;
	z-index: 100;
	background: url(img/hero-bg3_xs.jpg) no-repeat center bottom scroll;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	margin-top: -1px;
	padding-top: 1px;
	padding-bottom: 250px;
	min-height: 104vh;
}

.hero_regional {
	background: initial;
	padding-bottom: 80px;
}

.hero .container {
	margin-top: 100px;
}

.hero h1 {
	font-size: 2.3rem;
	line-height:  2.5rem;
}

.hero h3 {
	padding-top: 1.7rem; /* to align baseline with the main headline */
	color: #c7d068;
	font-size: 2.2rem;
	font-weight: 700;
}

.hero .intro p {
	color: #231f20;
	font-size: 1.4rem;
	line-height: 2.1rem;
}
.americandream img {
	max-width: 100px;
	display: block;
	margin: 0 auto 20px auto;
}
#form-top {
	margin-top: 10px;
}

/* ------- SECTION 1 ---------------------------- */

.section1 {
	background-color: #386bb6;
	-webkit-background-size: auto 110px;
	-moz-background-size: auto 110px;
	-o-background-size: auto 110px;
	background-size: auto 110px;
	padding-top: 20px;
	padding-bottom: 65px;
}

.section1 h2 {
	position: relative;
	z-index: 200;
}

.section1 p {
	color: #fff;
}

/*
------- SECTION 2 ---------------------------- */

.section2 {
	background: #c8e4f6;
	padding-bottom: 80px;
}

.section2 h2 {
	color: #386bb6;
}

.section2 p {
	color: #231f20;
}

.icon {
	display: block;
	margin: 5px auto 10px auto;
	width: 75px;
}

.icon-lg {
	display: block;
	margin: 5px auto 10px auto;
	width: 110px;
}

.benefit-list {
	text-align: center;
}
@media only screen and (min-width: 768px) {
	.icon-wrap {
		display: inline-block;
		padding: 0 15px;
		width: 134px;
		vertical-align: top;
	}

	.icon-wrap-regional {
		width: 160px;
	}
}

.benefit-list p {
	font-size: 1.4rem;
	line-height: 1.9rem;
}

/*
------- SECTION 3 ---------------------------- */

.section3 {
	background: #f2f2f0;
	padding-top: 20px;
}

.section3 h2 {
	color: #386bb6;
}

.section3 ul {
	font-size: 2rem;
	line-height: 3rem;
	text-align: center;
	list-style-type: none;
	padding: 0px;
}

.section3 li {
	font-size: 1.6rem;
	line-height: 2.5rem;
	font-style: italic;
}
/*
------- SECTION 3 ---------------------------- */
.section3 {
	position: relative;
	z-index: 100;
	background: url(img/section-bg.jpg) no-repeat center center scroll;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	margin-top: -1px;
	padding-top: 1px;
	padding-bottom: 80px;
}

/*
------- FORM BOTTOM -------------------------- */

.form-bottom {
	background: #386bb6;
}

.form-bottom p {
	color: #fff;
}


/*
------- FOOTER STYLES ------------------------ */

footer {
	background: #434855;
	min-height: 80px;
	padding-top: 15px;
	text-align: center;
}

footer img {
	display: block;
	margin: 0 auto;
	width: 200px;
}

footer a {
	font-size: 1.2rem;
	font-weight: 300;
	line-height: 3rem;
	color: #fff !important;
}


/*
------- THANK YOU PAGE STYLES ---------------- */
html {
  position: relative;
  min-height: 100%;
}
body.page-id-11 {
  background: transparent url("img/hero-bg3.jpg") no-repeat fixed center center / cover;
  /* Margin bottom by footer height */
  margin-bottom: 80px;
}
body.page-id-11 footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 80px;
}
body.page-id-11 h1,
body.page-id-11 p {
	text-align: center;
}
body.page-id-11 .hero {
	min-height: 0;
	background-image: none;
}
p.thank a {
	color: #386bb6;
}
p.thank a:hover, p.thank a:focus, p.thank a:active {
	color: #000;
}

/*
------- Override selectpicker styles --------- */
.filter-option {
	font-size: 1.4rem;
	font-weight: 300;
}

/*
 ------- WordPress Contact Form 7 styles ------ */

form > div {
	margin-bottom: 7px;
}

.form-control,
.btn-default,
.bootstrap-select span {
	font-size: 1.4rem;
	font-style: normal;
}

	.form-control:focus,
	.form-control:hover,
	.form-control:active {
		background: #c8e4f6;
		color: #434855;
		border: none;
		box-shadow: none;
	}

.form-control,
.btn-default {
	background: #c8e4f6;
 	border: none;
 	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	border-radius: 0px;
 	height: auto;
 	height: 30px;
 	padding: 6px 10px 4px 10px;
 	color: #434855;
 	font-size: 1.3rem;
 	font-weight: normal;
 }

input[type=submit] {
 	background: #454756;
 	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	border: none;
	height: auto;
	padding: 10px 30px 9px 30px;
 	color: #fff;
 	font-family: 'Merriweather', georgia, serif;
 	font-weight: 900;
 	font-size: 1.9rem;
 	font-style: italic;
 	line-height: 1.6rem;
 	-webkit-transition: all 0.4s;
	-moz-transition: all 0.4s;
	-ms-transition: all 0.4s;
	-o-transition: all 0.4s;
	transition: all 0.4s;
 }

 	input[type=submit]:hover {
 		background: #386bb6;
 	}

 .form-bottom input[type=submit] {
 	margin: 0 auto;
 	background-color: #72838b;
 }
 .form-bottom input[type=submit]:hover {
 	background-color: transparent;
 }

 .input-group .form-control,
.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control  {
 	color: #434855;
 	font-size: 1.2rem;
 	font-style: italic;
 }

.bootstrap-select {
	width: 100%;
}

.form p {
	padding-top: 5px;
	margin-bottom: 1px;
	font-size: 1.4rem;
	font-style: normal;
	font-weight: 700;
	line-height: 1.6rem;
 	text-align: left !important;
 }

.form p.tos {
	padding: 5px 0;
	font-size: 12px;
}
.form p.tos a {
	color: #aaa;
	font-size: inherit;
	font-family: inherit;
}
.form p.tos a:hover {
	color: #bbb;
}

form .btn-primary {
	margin-top: 0;
	font-size: 1.4rem;
}

.btn-file {
	position: relative;
	overflow: hidden;
}
.btn-file input[type=file] {
	position: absolute;
	top: 0;
	right: 0;
	min-width: 100%;
	min-height: 100%;
	font-size: 100px;
	text-align: right;
	filter: alpha(opacity=0);
	opacity: 0;
	cursor: inherit;
	display: block;
}
input[disabled] {
	background: rgba(242, 242, 240, .9) !important;
	cursor: default !important;
}

.input-group .btn {
	padding: 5px 10px;
}

.input-group .btn-primary {
	background-color: #00b489;
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	border-radius: 0px;
}

.input-group-btn .btn {
	padding-top: 6px;
	padding-bottom: 4px;
}

.input-group-btn .btn:hover {
	background: #212824;
	padding-top: 6px;
	padding-bottom: 4px;
}


::-webkit-input-placeholder {
    color: #434855 !important;
    font-size: 1.4rem;
    font-weight: normal;
}
:-moz-placeholder { /* Firefox 18- */
    color: #434855 !important;
    font-size: 1.4rem;
    font-weight: normal;
}
::-moz-placeholder {  /* Firefox 19+ */
    color: #434855 !important;
    font-size: 1.4rem;
    font-weight: normal;
}
:-ms-input-placeholder {
    color: #434855 !important;
    font-size: 1.4rem;
    font-weight: normal;
}

div.wpcf7 .placeheld {
	color: #fff; /* IE 9 fix */
}
/* ------- File Upload field styles ------------- */
.btn-file {
	position: relative;
	overflow: hidden;
	margin-top: 3px;
}
.btn-file input[type=file] {
	position: absolute;
	top: 0;
	right: 0;
	display: block;
	min-width: 100%;
	min-height: 100%;
	cursor: inherit;
	filter: alpha(opacity=0);
	opacity: 0;
	font-size: 100px;
	text-align: right;
}
input[disabled] {
	background-color: #fff !important;
	text-overflow: ellipsis;
}
.fileinput.input-group .btn-file,
.fileinput .input-group .btn-file {
  border-radius: 0px;
  border: none;
  background-color: #434855;
  color: #fff;
  font-weight: 700;
}
.fileinput.input-group .btn-file:hover {
	border: none;
	background-color: #72838b;
	color: #fff;
}
.fileinput.input-group .btn-file.btn-xs,
.fileinput .input-group .btn-file.btn-xs,
.fileinput.input-group .btn-file.btn-sm,
.fileinput .input-group .btn-file.btn-sm {
  border-radius: 0px;
}
.fileinput.input-group .btn-file.btn-lg,
.fileinput .input-group .btn-file.btn-lg {
  border-radius: 0px;
}
.fileinput .form-control {
	cursor: pointer;
	overflow: hidden;
	border-radius: 0px;
	box-shadow: none;
}

/*
======= MEDIA QUERIES ======================== */

/* Mobile devices only */
@media only screen and (min-device-width: 320px) and (max-device-width: 1000px) {
	.hero {
		background-attachment: scroll;
		min-height: 500px;
	}
	.section3 {
		min-height: 300px;
	}
	
}
/* Extra Small Devices, Phones ----- col-xs-# --- */
@media only screen and (min-width: 480px) {
	#hero_map {
		height: 460px;
	}

}
/* Small Devices, Tablets ---------- col-sm-# --- */
@media only screen and (min-width: 768px) {


	/*------ Global ------ */

	section {
		position: relative;
		z-index: 100;
		padding-top: 75px;
		padding-bottom: 75px;
	}

	h1 {
		font-size: 4rem;
	}

	h2 {
		font-size: 3.4rem;
	}

	p, .section3 li {
		font-size: 1.9rem;
		line-height: 3rem;
	}

	#hero_map {
		min-height: 520px;
		background: url(img/hero_regional_768.jpg) no-repeat center;
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;
	}

	/* ----- Hero ----- */

	.hero {
		background: url(img/hero-bg3_sm.jpg) no-repeat center center fixed;
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;
		padding-bottom: 0px;
		min-height: 900px;
	}


	.hero .container {
		margin-top: 150px;
		padding-bottom: 80px;
	}

	.logo img {
		display: block;
		margin: 20px auto 10px auto;
		width: 200px;
		-webkit-transition: all 0.6s;
		-moz-transition: all 0.6s;
		-ms-transition: all 0.6s;
		-o-transition: all 0.6s;
		transition: all 0.6s;
	}
		header.scrolled .logo img {
			width: 150px;
		}

	.hero h1 {
		font-size: 2.6rem;
		line-height: 3rem;
	}

	.hero h1, .hero p {
		text-align: right;
	}

	.hero h3 {
		margin-bottom: 20px;
		text-align: left;
	}

	.hero .intro p {
		font-size: 1.6rem;
		line-height: 2.2rem;
	}
	.americandream img {
		float: right;
		max-width: 120px;
	}
	.form p {
		font-size: 1.4rem;
		line-height: 1.6rem;
	 }


	/* ----- Section1 ----- */

	.section1 {
		-webkit-background-size: 100% auto;
		-moz-background-size: 100% auto;
		-o-background-size: 100% auto;
		background-size: 100% auto;
		padding-bottom: 80px;
	}

	.section3 {
		padding-top: 50px;
	}

	/* ------ Forms  -------- */

	 input[type=submit] {
	 	width: auto;
	 }


/* Medium Devices, Desktops -------- col-md-# --- */
@media only screen and (min-width: 992px) {
	.hero {
		background: url(img/hero-bg3_md.jpg) no-repeat center center fixed;
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;
	}

	.hero .container {
		margin-top: 170px;
	}
	.hero h1 {
		font-size: 3.3rem;
		line-height: 4rem;
	}
	.hero .intro p {
		color: #231f20;
		font-size: 1.7rem;
		line-height: 2.6rem;
	}



/* Large Devices, Wide Screens ----- col-lg-# --- */
@media only screen and (min-width: 1200px) {

	#hero_map {
		background: url(img/hero_regional_1440.jpg) no-repeat center;
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;
	}

	.hero {
		background: url(img/hero-bg3_lg.jpg) no-repeat center center fixed;
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;
	}
}