/* Layout */

body {
	background-color: #f5f0ed;
  font-family: proxima-nova, helvetica, sans-serif;
  font-size: 16px;
  color: #46423c;
}

section {
  clear: both;
  padding: 5em 0;
}

.container {
  box-sizing: border-box;
	width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  overflow: hidden;
}

.hero {
  background-size: cover;
  background-position: center center;
  margin-top: 60px;
}

section.hero {
  padding: 200px 0;
}

@media (max-width: 1000px) {
  .container {
    width: 100%;
  }
}

/* Buttons & Links */
a {
  transition: .25s;
  text-decoration: none;
  color: #f8cf48;
}

a:hover {
  color: #83d7da;
}

.button {
  transition: .15s;
  display: inline-block;
  background: none;
  padding: 10px 15px;
  border: 3px solid #666;
  border-radius: 50px;
  color: #666;
  font-size: 14px;
  line-height: 1em;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  text-transform: uppercase;
  font-weight: 600;
}

.button:hover {
  color: #fff;
  border-color: #37b6b7;
  background-color: #83d7da;
}

.invert .button {
  color: #fff;
  border-color: #fff;
}

.invert .button:hover {
  color: #666;
  border-color: #666;
  background-color: #fff;
}

p.cta {
  text-align: center;
}

.button i {
  font-size: 24px;
  vertical-align: sub;
  margin-right: 10px;
}

/* Articles */

article[class^="col-"] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0 2.5em;
}

article.col-left {
  width: 60%;
  float: left;
  clear: left;
}

article.col-center {
  width: 60%;
  margin: 0 auto;
}

article.col-right {
  width: 60%;
  float: right;
}

article.post h2,
article.post p {
  margin-bottom: 40px;
  text-align: left
}

article.post p {
  font-size: 18px;
  line-height: 24px;
}

/* Header */

header {
	padding: 10px 0 20px;
	border-top: 5px solid #f8cf48;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
  position: fixed;
}

header.cover {
  background-color: #fff;
  transition: .5s background-color;
  box-shadow: 0px 1px 10px 0px rgba(102,102,102,0.3);
}

header.cover h1.logo {
  background-image: url('/_img/logo.png');
}

header .container {
  overflow: visible;
}

header h1.logo {
  float: left;
  background-image: url('/_img/logo_grey.png');
  display: block;
  width: 60px;
  height: 26px;
  margin-right: 1.25em;
  text-indent: -9999px;
  position: relative;
  top: 5px;
}

nav {
  float: left;
  font-weight: 600;
  margin-top: .7em;
}

nav li {
  display: inline-block;
  margin-right: 2em;
}

nav li:last-child {
  margin-right: 0px;
}

nav li a {
  color: #666;
}

nav li a.active {
  border-bottom: 3px solid #fbcf27;
  padding-bottom: .25em;
  color: #fbcf27;
  cursor: default;
}

/* Section Typography */

h1 { font-size: 2em; font-weight: 600; }
h2 { font-size: 2em; font-weight: 500; line-height: 1.2em;}
h3 { font-size: 1.25em; font-weight: 600; }
h4 { font-size: 1.12em; }
h5 { font-size: 1em; }

h2 {
  font-family: adelle;
}

section h2,
section h3 {
  text-align: center;
  margin-bottom: .5em;
}

p {
  margin-bottom: .5em;
}

/* Section Styles */

section {
  padding: 4em 0;
}

section.invert {
  color: #fff;
}

section.tope {
  background-color: #f5f0ed;
}

section.white {
  background-color: #fff;
}

section.yellow {
  color: #fff;
  background-color: #f8cf48;
}

/* Grids */

ul.image-grid {
  font-size: 0px;
}

ul.image-grid * {
  font-size: 16px;
}

ul.image-grid li {
  display: inline-block;
  vertical-align:top;
  box-sizing: border-box;
}

ul.image-grid li img {
  width: 100%;
}

/* Team Grid */

@media (max-width: 480px) {
  ul.image-grid.team li {
    width: 48%;
    margin: 0 4% 4% 0;
  }

  ul.image-grid.team li:nth-child(2n) {
    margin-right: 0%;
  }
}

@media (min-width: 481px) and (max-width: 799px) {
  ul.image-grid.team li {
    width: 32%;
    margin: 0 2% 2% 0;
  }

  ul.image-grid.team li:nth-child(3n) {
    margin-right: 0%;
  }
}

@media (min-width: 800px) {
  ul.image-grid.team li {
    width: 24.25%;
    margin: 0 1% 1% 0;
  }

  ul.image-grid.team li:nth-child(4n) {
    margin-right: 0%;
  }
}

/* Forms */

.form-row {
  margin-top: 1.4em;
  padding: 0 0;
  position: relative;
}

.input-text {
  background-color: #fff;
  -webkit-appearance: none;
  /*border: 1px solid #cccccc;*/
  border: none;
  /*margin-bottom: 0em;*/
  padding: .75em .5em;
  font-size: .75em;
  position: relative;
  width: 100%;
  z-index: 3;
  display: inline-block;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.label-helper {
  color: #555;
  position: absolute;
  opacity: 0;
  transition: .25s top, .25s opacity;
  top: 1em;
  left: 0;
  z-index: 1;
  font-size: .6em;
  font-weight: bold;
  text-transform: uppercase;
  padding: 4px;
}

.input-text:focus + .label-helper, .input-text:invalid + .label-helper {
  top: -1.75em;
  opacity: 1;
}

/* Footer */

footer {
  background-color: #fff;
  padding: 100px 0 20px 0;
  border-top: 3px solid #f8cf48;
  font-size: .75em;
  overflow: hidden;
}

footer .copyright,
footer .copyright a {
  color: #9b968d;
}

footer .heart {
  color: #fc5f34;
}

footer ul.icon-row {
  font-size: 28px;
}

footer ul.icon-row li {
  display: inline-block;
  margin-right: 1em;
}

footer ul.icon-row li:last-child {
  margin-right: 0;
}

footer .links {
  float: left;
  padding-top: 10px;
}

footer .social {
  float: right;
}

footer .fb-like {
  top: -7px;
}

/* Home Page */

.home .hero {
  background-image: url('/_img/home/hero.jpg');
  background-color: #f8cf48;
  min-height: 550px;
  margin-top: -80px;
  background-size: cover;
  background-position: center top;

}

.home .hero .logo {
  display: block;
  margin: 200px auto 20px;
}

.home .hero h2 {
  margin: 200px auto 60px;
}

/*.home .callouts {
  padding: 6em 0 0 0;
  background-image: url('/img/home/bubbles.jpg');
  background-repeat: no-repeat;
  background-position: center top;
  background-color: #f5f0ed;
}

.home .callouts img {
  display: block;
  margin: 0 auto;
}

.home .container article {
  margin-bottom: 6em;
}

.home .container:last-child article {
  margin-top: 2em;
  margin-bottom: 0em;
}*/

/* About Page */

.about .hero {
  background-image: url('/_img/about/hero.jpg');
  background-color: #f8cf48;
}

.about .team .name {
  font-weight: 700;
  margin-top: .75em;
}

.about .team .name span {
  font-weight: 500;
  font-style: italic;
}

.about .team .name p {
  margin-bottom: .5em;
}

.about .team .bio {
  display: none;
}

/* Contact Page */

.contact .hero {
  background-image: url('/_img/contact/hero.jpg');
  background-color: #f8cf48;
}

/* Ads */


.ads .hero {
  background-image: url('/_img/ads/hero.jpg');
  background-color: #f8cf48;
}

.ads .hero .cta {
  margin-top: 2em;
}

ul.image-grid.ads li {
  width: 32%;
  margin: 0 2% 2% 0;
}

ul.image-grid.ads li:nth-child(3n) {
  margin-right: 0%;
}

@media (max-width: 480px) {
  ul.image-grid.logos li {
    width: 32%;
    margin: 0 2% 2% 0;
  }

  ul.image-grid.logos li:nth-child(3n) {
    margin-right: 0%;
  }
}

@media (min-width: 481px) {
  ul.image-grid.logos li {
    width: 15%;
    margin: 0 2% 2% 0;
  }

  ul.image-grid.logos li:nth-child(6n) {
    margin-right: 0%;
  }
}

/* SOTU */

.sotu .hero {
  background-image: url('/_img/sotu/hero.jpg');
  background-color: #0076af;
  margin-top: 0;
  padding: 150px 0;
}

.sotu header {
  background-color: transparent;
  box-shadow: none;
  position: absolute;
}

.sotu nav {
  display: none;
}

.sotu article[class^="col-"] {
  width: 95%;
  margin: 0 auto;
  float: none;
  padding: 0;
  max-width: 600px;
}

.sotu footer .links {
  display: none;
}


