/**
 * Reset
 * http://meyerweb.com/eric/tools/css/reset/
 * v2.0 | 20110126
 * License: none (public domain)
 *
 */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
body {
  width: 100%;
  *zoom: 1;
}
body:before,
body:after {
  content: "";
  display: table;
}
body:after {
  clear: both;
}
/*@tan: #EDECDA;
@lightred: #7F2724;
@darkred: #330704;
@lightblue: #6FA2B2;
@darkblue: #2c353e;
@darkgrey: #444444;
@lightgrey: #F5F5F5;*/
/*#6FA2B2;*/
/**
 * OccupyOurHomes.org
 * main.css
 *
 * Created by Ben Wilkins on 2011-11-17.
 * Copyright 2011 Citizen Engagement Laboritory. All rights reserved.
 *
 */
/**
 *  Base styles
 */
html,
body {
  color: #333333;
  background-color: #f5f5f5;
}
a:link,
a:visited {
  color: #0065c4;
}
a:hover,
a:active {
  color: #00315e;
}
p {
  margin-bottom: 20px;
}
b,
strong {
  font-weight: bold;
}
img {
  max-width: 100%;
}
blockquote {
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 50px;
  padding-left: 15px;
  border-left: 3px solid #ffcc00;
}
/**
 *  Typography
 *  Modular Scale
 *  14px, 80px @ 1:1.618
 */
html,
body {
  font: 14px "Helvetica Neue", Helvetica, Arial, sans-serif;
}
h1,
h2,
h3 {
  font-weight: bold;
  color: #333333;
}
h1 a,
h2 a,
h3 a {
  text-decoration: none;
}
h1 {
  font-size: 2.618em;
}
h2 {
  font-size: 2.183em;
}
h3 {
  font-size: 1.618em;
}
h4,
h5,
h6 {
  font-size: 1.349em;
}
em {
  font-family: Baskerville, Palatino, "Palatino Linotype", Georgia, Serif;
  font-style: italic;
}
/**
 * 	Layout
 */
#top,
#banner,
#content,
#bottom,
#mainnav {
  *zoom: 1;
}
#top:before,
#banner:before,
#content:before,
#bottom:before,
#mainnav:before,
#top:after,
#banner:after,
#content:after,
#bottom:after,
#mainnav:after {
  content: "";
  display: table;
}
#top:after,
#banner:after,
#content:after,
#bottom:after,
#mainnav:after {
  clear: both;
}
.center {
  margin: 0 auto;
  width: 95%;
  max-width: 1100px;
  position: relative;
}
#mainheader #logo {
  display: inline;
  float: left;
  width: 64.58333333333334%;
  margin: 0 1.0416666666666665%;
}
#mainheader form {
  display: inline;
  float: left;
  width: 31.25%;
  margin: 0 1.0416666666666665%;
}
#mainnav ul {
  display: inline;
  float: left;
  width: 97.91666666666666%;
  margin: 0 1.0416666666666665%;
}
#mainnav ul li {
  display: inline-block;
  float: left;
}
#feature h1,
#feature p {
  display: inline;
  float: left;
  width: 97.91666666666666%;
  margin: 0 1.0416666666666665%;
}
#feature a.ctabutton {
  display: inline;
  float: left;
  width: 31.25%;
  margin: 0 1.0416666666666665%;
}
#feature a.ctabutton + a {
  display: inline;
  float: left;
  width: 64.58333333333334%;
  margin: 0 1.0416666666666665%;
}
#content #main {
  display: inline;
  float: left;
  width: 56.25%;
  margin: 0 1.0416666666666665%;
  padding-right: 8.3333%;
}
#content #secondary {
  display: inline;
  float: left;
  width: 31.25%;
  margin: 0 1.0416666666666665%;
}
/**
 * 	Styles
 */
/* Navigation */
#mainnav {
  background: #ffcc00;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}
#mainnav a {
  display: inline-block;
  line-height: 35px;
  color: #333333;
  text-decoration: none;
  letter-spacing: 1px;
  padding: 0px 15px;
}
#mainnav a:hover,
#mainnav a:active,
#mainnav a.current {
  background-color: #f5f5f5;
  color: #333333;
}
/* Header */
#mainheader {
  *zoom: 1;
  background-color: #333333;
  background: -moz-linear-gradient(top, #4d4d4d 0%, #333333 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4d4d4d), color-stop(100%, #333333));
  background: -webkit-linear-gradient(top, #4d4d4d 0%, #333333 100%);
  background: -o-linear-gradient(top, #4d4d4d 0%, #333333 100%);
  background: -ms-linear-gradient(top, #4d4d4d 0%, #333333 100%);
  background: linear-gradient(top, #4d4d4d 0%, #333333 100%);
  min-height: 80px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}
#mainheader:before,
#mainheader:after {
  content: "";
  display: table;
}
#mainheader:after {
  clear: both;
}
#mainheader h2 {
  padding: 20px 0;
}
#mainheader h2 a:link,
#mainheader h2 a:visited,
#mainheader h2 a:hover,
#mainheader h2 a:active {
  color: #f5f5f5;
}
#mainheader #logo {
  text-indent: -9999px;
  margin-top: 15px;
  padding: 0;
}
#mainheader #logo a {
  display: block;
  width: 378px;
  height: 50px;
  background: url(../img/logo.png) no-repeat;
}
#mainheader form {
  padding-top: 10px;
}
#mainheader form legend {
  display: inline-block;
  float: left;
  text-align: right;
  width: 20%;
  color: #f5f5f5;
  font-weight: bold;
}
#mainheader form label {
  display: none;
}
#mainheader form .inputs {
  width: 73.3333%;
  display: inline-block;
  float: right;
  position: relative;
  *zoom: 1;
  height: 60px;
}
#mainheader form .inputs:before,
#mainheader form .inputs:after {
  content: "";
  display: table;
}
#mainheader form .inputs:after {
  clear: both;
}
#mainheader form input {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  padding: 6px 5px;
  border: 1px solid #333333;
  border-color: rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: inset 0px 5px 5px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: inset 0px 5px 5px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0px 5px 5px rgba(0, 0, 0, 0.1);
}
#mainheader form input.err {
  background-color: #ffe5e5;
}
#mainheader form #zipcode {
  width: 63.6363%;
  position: absolute;
  left: 0;
  bottom: 0;
}
#mainheader form .btn {
  width: 31.8181%;
  position: absolute;
  right: 0;
  bottom: 0;
  height: 28px;
  font-weight: bold;
  font-style: italic;
  color: #FFF;
  background: #0065c4;
  -webkit-box-shadow: inset 0px 2px 2px rgba(255, 255, 255, 0.25);
  -moz-box-shadow: inset 0px 2px 2px rgba(255, 255, 255, 0.25);
  box-shadow: inset 0px 2px 2px rgba(255, 255, 255, 0.25);
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);
}
/* Banner */
#banner {
  min-height: 360px;
  -webkit-box-shadow: inset 0 -40px 150px rgba(0, 0, 0, 0.5), inset 0 60px 100px rgba(255, 255, 255, 0.25);
  -moz-box-shadow: inset 0 -40px 150px rgba(0, 0, 0, 0.5), inset 0 60px 100px rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 -40px 150px rgba(0, 0, 0, 0.5), inset 0 60px 100px rgba(255, 255, 255, 0.25);
  background-image: url(../img/texturebg.jpg);
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  background-color: rgba(255, 255, 255, 0.25);
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
#banner img.featurebg {
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0.8;
  /* Set rules to fill background */

  min-height: 360px;
  min-width: 1200px;
  /* Set up proportionate scaling */

  width: 100%;
  height: auto;
}
#banner #feature {
  *zoom: 1;
  position: relative;
  font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: bold;
  padding: 45px 0 0 0;
}
#banner #feature:before,
#banner #feature:after {
  content: "";
  display: table;
}
#banner #feature:after {
  clear: both;
}
#banner #feature .featuretext {
  *zoom: 1;
  display: inline;
  float: left;
  width: 97.91666666666666%;
  margin: 0 1.0416666666666665%;
  margin-bottom: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
  background: #333333;
  background: rgba(25, 25, 25, 0.7);
}
#banner #feature .featuretext:before,
#banner #feature .featuretext:after {
  content: "";
  display: table;
}
#banner #feature .featuretext:after {
  clear: both;
}
#banner #feature .featuretext h1,
#banner #feature .featuretext p {
  padding-bottom: 10px;
}
#banner #feature h1,
#banner #feature p,
#banner #feature a {
  text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.5);
  color: #f5f5f5;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}
#banner #feature h1 {
  font-size: 3.532em;
}
#banner #feature p,
#banner #feature a.more {
  font-size: 2.183em;
}
#banner #feature a.more {
  display: inline;
  width: auto;
  margin-top: 55px;
}
#banner #feature a.more:hover,
#banner #feature a.more:active {
  color: #dcdcdc;
}
#banner #feature a.ctabutton {
  display: inline-block;
  min-height: 70px;
  padding: 10px;
  background: #ffcc00;
  background: -moz-linear-gradient(top, #ffd633 0%, #cca300 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffd633), color-stop(100%, #cca300));
  background: -webkit-linear-gradient(top, #ffd633 0%, #cca300 100%);
  background: -o-linear-gradient(top, #ffd633 0%, #cca300 100%);
  background: -ms-linear-gradient(top, #ffd633 0%, #cca300 100%);
  background: linear-gradient(top, #ffd633 0%, #cca300 100%);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.25), inset 0px 3px 3px rgba(255, 255, 255, 0.25);
  -moz-box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.25), inset 0px 3px 3px rgba(255, 255, 255, 0.25);
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.25), inset 0px 3px 3px rgba(255, 255, 255, 0.25);
  text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.25);
}
#banner #feature a.ctabutton span {
  color: #FFF;
  display: block;
  text-align: center;
}
#banner #feature a.ctabutton span.cta {
  font-size: 1.96em;
  line-height: .8em;
  margin: 0;
  padding: 0;
}
#banner #feature a.ctabutton span.tagline {
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
  margin: 0 0 15px 0;
  padding: 0;
}
#banner #feature span.credit {
  font-size: 0.85em;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);
  color: #f5f5f5;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  position: absolute;
  bottom: -30px;
  right: 1.0416666666666665%;
}
#banner #feature span.credit a {
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);
  text-decoration: underline;
}
#content {
  padding-top: 30px;
}
#content .center {
  *zoom: 1;
  border-bottom: 1px solid #333333;
  padding-bottom: 30px;
}
#content .center:before,
#content .center:after {
  content: "";
  display: table;
}
#content .center:after {
  clear: both;
}
#content h1,
#content h2,
#content h3,
#content h4 {
  margin-bottom: 20px;
}
#content h4 {
  color: #333333;
  border-bottom: 1px solid #333333;
  text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.25);
  clear: both;
}
#content ul {
  margin-bottom: 20px;
}
#content #main .posts {
  *zoom: 1;
}
#content #main .posts:before,
#content #main .posts:after {
  content: "";
  display: table;
}
#content #main .posts:after {
  clear: both;
}
#content #main .posts .post {
  display: inline-block;
  width: 103.57142857142858%;
  margin: 0 -1.7857142857142856%;
  *zoom: 1;
  margin-bottom: 20px;
  padding-bottom: 20px;
  -webkit-box-shadow: 0px 2px 0px rgba(255, 255, 255, 0.5), 0px 1px 0px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0px 2px 0px rgba(255, 255, 255, 0.5), 0px 1px 0px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 2px 0px rgba(255, 255, 255, 0.5), 0px 1px 0px rgba(0, 0, 0, 0.15);
}
#content #main .posts .post:before,
#content #main .posts .post:after {
  content: "";
  display: table;
}
#content #main .posts .post:after {
  clear: both;
}
#content #main .posts .post h2 {
  display: inline;
  float: left;
  width: 96.42857142857143%;
  margin: 0 1.7857142857142856%;
  margin-bottom: 20px;
  text-shadow: 0px 1px 0 white;
}
#content #main .posts .post h2 a {
  color: #333333;
}
#content #main .posts .post img {
  display: inline;
  float: left;
  width: 25%;
  margin: 0 1.7857142857142856%;
}
#content #main .posts .post object,
#content #main .posts .post iframe {
  float: left;
  margin: 0 1.785714%;
}
#content #main .posts .post p,
#content #main .posts .post a {
  margin-bottom: 20px;
}
#content #main .posts .post > div {
  display: inline;
  float: left;
  width: 67.85714285714286%;
  margin: 0 1.7857142857142856%;
}
#content #main #partners .partner {
  clear: both;
  *zoom: 1;
  margin-bottom: 20px;
  padding-bottom: 20px;
  -webkit-box-shadow: 0px 2px 0px rgba(255, 255, 255, 0.5), 0px 1px 0px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0px 2px 0px rgba(255, 255, 255, 0.5), 0px 1px 0px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 2px 0px rgba(255, 255, 255, 0.5), 0px 1px 0px rgba(0, 0, 0, 0.15);
}
#content #main #partners .partner:before,
#content #main #partners .partner:after {
  content: "";
  display: table;
}
#content #main #partners .partner:after {
  clear: both;
}
#content #main #partners img {
  float: left;
  clear: left;
  margin-right: 1.785714%;
  width: 25%;
}
#content #main #partners .description {
  float: left;
  width: 67.8714%;
  margin-left: 1.785714%;
}
#content .blog_post h1 {
  margin-bottom: 10px;
}
#content .blog_post img {
  float: left;
  max-width: 99%;
  padding-right: 1%;
  padding-bottom: 10px;
}
#content .blog_post .categories {
  margin-top: 10px;
  font-style: italic;
  font-family: Baskerville, Palatino, "Palatino Linotype", Georgia, Serif;
}
#content .blog_post .post_block {
  padding: 20px 0;
}
#content .blog_post .post_block p {
  clear:left;
}
#content .blog_post a.btn {
  font-size: 1.349em;
  font-weight: bold;
  font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-decoration: none;
  padding-top: 20px;
  padding-bottom: 20px;
  width: 50%;
  margin: 10px 0 20px 0;
  text-align: center;
  color: #f5f5f5;
  display: block;
  background: #85b056;
  background: -moz-linear-gradient(top, #0065c4 0%, #00315e 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #0065c4), color-stop(100%, #00315e));
  background: -webkit-linear-gradient(top, #0065c4 0%, #00315e 100%);
  background: -o-linear-gradient(top, #0065c4 0%, #00315e 100%);
  background: -ms-linear-gradient(top, #0065c4 0%, #00315e 100%);
  background: linear-gradient(top, #0065c4 0%, #00315e 100%);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.25), inset 0px 3px 3px rgba(255, 255, 255, 0.25);
  -moz-box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.25), inset 0px 3px 3px rgba(255, 255, 255, 0.25);
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.25), inset 0px 3px 3px rgba(255, 255, 255, 0.25);
  text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.25);
}
#content #secondary #featured_take_action img,
#content #secondary #featured_start_occupation img {
  width: 70%;
  display: block;
  margin: 0 auto;
}
#content #secondary #featured_take_action a.btn,
#content #secondary #featured_start_occupation a.btn {
  font-size: 1.349em;
  font-weight: bold;
  font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-decoration: none;
  padding-top: 20px;
  padding-bottom: 20px;
  width: 75%;
  margin: 10px auto;
  text-align: center;
  color: #f5f5f5;
  display: block;
  background: #85b056;
  background: -moz-linear-gradient(top, #0065c4 0%, #00315e 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #0065c4), color-stop(100%, #00315e));
  background: -webkit-linear-gradient(top, #0065c4 0%, #00315e 100%);
  background: -o-linear-gradient(top, #0065c4 0%, #00315e 100%);
  background: -ms-linear-gradient(top, #0065c4 0%, #00315e 100%);
  background: linear-gradient(top, #0065c4 0%, #00315e 100%);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.25), inset 0px 3px 3px rgba(255, 255, 255, 0.25);
  -moz-box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.25), inset 0px 3px 3px rgba(255, 255, 255, 0.25);
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.25), inset 0px 3px 3px rgba(255, 255, 255, 0.25);
  text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.25);
}
#content #secondary #featured_take_action p,
#content #secondary #featured_start_occupation p {
  margin: 10px auto;
}
#content #secondary #featured_start_occupation {
  margin-top: 40px;
}
#content #secondary #sociallinks li {
  display: inline-block;
  margin-right: 20px;
  /*fix IE 6 and 7*/

  zoom: 1;
  *display: inline;
  *height: 60px;
}
#content #secondary #sociallinks li a {
  text-indent: -9999px;
  display: inline-block;
  width: 60px;
  height: 61px;
  background: url(../img/sociallinks.png);
}
#content #secondary #sociallinks li a#fblink:link,
#content #secondary #sociallinks li a#fblink:visited {
  background-position: 60px 0px;
}
#content #secondary #sociallinks li a#fblink:hover,
#content #secondary #sociallinks li a#fblink:active {
  background-position: 0px 0px;
}
#content #secondary #sociallinks li a#twitterlink:link,
#content #secondary #sociallinks li a#twitterlink:visited {
  background-position: 60px 62px;
}
#content #secondary #sociallinks li a#twitterlink:hover,
#content #secondary #sociallinks li a#twitterlink:active {
  background-position: 0px 62px;
}
#content #secondary #sociallinks li a#rsslink {
  display: none;
}
#content #secondary #tweet_box li {
  margin-bottom: 10px;
}
#content #secondary #tweet_box li .tweet_user {
  font-weight: bold;
}
#content #secondary #navlinks li {
  margin-bottom: 5px;
}
#content #secondary #partners li {
  display: inline-block;
  width: 50%;
  float: left;
}
#content #secondary #partners li img {
  display: block;
  margin: auto;
  height: auto;
  max-height: 75px;
  max-width: 100%;
  padding: 10px 10px 10px 0;
}
#content #secondary #partners li:nth-child(even) {
  clear: right;
}
#content #secondary #partners li:nth-child(odd) {
  clear: left;
}
#bottom {
  padding-top: 15px;
  padding-bottom: 15px;
  clear: both;
}
#bottom nav {
  display: inline;
  float: left;
  width: 47.91666666666667%;
  margin: 0 1.0416666666666665%;
}
#bottom nav a {
  margin-right: 15px;
}
#bottom a.copyright {
  display: inline;
  float: left;
  width: 47.91666666666667%;
  margin: 0 1.0416666666666665%;
  text-align: right;
}
/* Mobile Styles */
@media screen and (max-width: 768px) {
  #banner {
    min-height: 280px;
    padding-bottom: 20px;
  }
  #banner #feature {
    font-size: .8em;
  }
  #banner #feature a.ctabutton {
    min-height: 55px;
    min-width: 200px;
  }
  #banner #feature a.more {
    margin-top: 45px;
  }
  #content #main,
  #content #secondary {
    display: inline;
    float: left;
    width: 97.91666666666666%;
    margin: 0 1.0416666666666665%;
  }
}
