/*
Theme Name: neah
Theme URI: http://www.endhomelessness.org/
Author: Facta Studio
Author URI: http://factastudio.com
Description: A custom theme for NAEH, based off the Underscores theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: neah

neah is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

.home-focus-areas .home-feature .gold {
  position: absolute;
  bottom: 75px;
}
@media screen and (max-width:1023px) {
  .home-focus-areas .home-feature .gold {
    bottom:95px;
  }
}
/*.page-id-680 .full-gray-width-repeater:nth-child(4) {
  display: none;
}*/
.bluecallout {
  background:#2c708d;
  color: #fff;
  padding: 40px;
  display: block;
  margin-bottom: 1.5em;
}
.bluecallout h2:first-of-type,
.graycallout h2:first-of-type,
.bluecallout h3:first-of-type,
.graycallout h3:first-of-type {
  margin-top:0 !important;
}
.bluecallout h3:last-of-type,
.graycallout h3:last-of-type,
.bluecallout h2:last-of-type,
.graycallout h2:last-of-type {
  margin:0 !important;
}
.bluecallout p:last-of-type,
.graycallout p:last-of-type,
.graycallout p:last-child,
.bluecallout p:last-child {
  margin-bottom:0 !important;
}
.bluecallout a {
  text-decoration:underline;
  color:#fff !important;
}
.footer-more-info {
  background:#032d3e;
  overflow:hidden;
  padding:40px;
  margin-top:40px;
}
.footer-more-info p {
  max-width: 670px;
  margin: 0 auto 20px;
}
.footer-more-info p:last-child {
  margin-bottom:0;
}
.footer-more-info a {
  text-decoration:underline !important;
}
p:empty { display:none !important; }

.accordion_parent {
	background: #ddd;
  margin-bottom: 40px;
  padding: 30px 50px;
}

.single-legislation .accordion_parent {
  background: none;
  padding: 0;
}
.accordion_parent h3 {
	margin-top: 0;
}

.accordion_parent > a {
  outline: none !important;
	text-decoration: none;
}

.accordion_parent > a:before {
  background: url(img/angle-right.svg) no-repeat center center / cover;
	content: "";
  display: inline-block;
  height: 12px;
  margin-right: 10px;
  transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  -webkit-transform: rotate(0deg);
  transition: transform 0.5s;
  -moz-transition: transform 0.5s;
  -o-transition: transform 0.5s;
  -webkit-transition: transform 0.5s;
  width: 10px;
}

.accordion_parent.open > a:before {
	transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
}

.accordion_parent .content {
  max-height: 0;
  overflow-y: hidden;
  transition: all 0.3s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  -webkit-transition: all 0.5s;
}

.accordion_parent.open .content {
	max-height: none;
  margin-top: 30px;
}

.single-legislation .accordion_parent.open .content {
  margin-top: 0;
}
/* From Beth */
/*--------------------------------------------------------------
# Take Action
--------------------------------------------------------------*/ 
ul.action-grid {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.action-grid li {
    width: calc(50% - 40px);
    background: #d8dcdb;
    padding: 40px 80px;
    margin-bottom: 60px;
}
ul.action-grid li:nth-child(odd) {
  margin-right: 80px;
}

ul.action-grid p{
  font-size: 20px;
}
ul.action-grid p a{
  font-weight: bold;
}
ul.action-grid h2{
    font-size:26px;
    margin-top:0;
    text-transform: none;
  } 

ul.action-grid a.gold{
    float: left;
    margin-bottom: 10px;
    margin-right: 20px;
}

/*--------------------------------------------------------------
# Legislation page
--------------------------------------------------------------*/ 
.single-legislation .entry-content h2 {
    margin-top: 0;
    font-size: 22px;
    font-style: italic;
    margin-bottom: 5px;
    font-family: "adelle", serif;
    font-weight: 300;
    text-transform: none;
}
p.bill-name,
.senate-info,
.house-info,
.proposal-info {
  padding-left: 40px;
  background: url(img/scroll.svg) no-repeat top left;
  background-size: 29px 31px;
}
.proposal-info {
  margin-bottom: 40px;
}
.committees p, 
.status p,
.proposing-org p{
  display: inline;
}
.proposing-org,
.committees, 
.status {
  margin-bottom: 5px;
}
.single-legislation .entry-content h3 {
  margin-top: 0;
  font-size: 18px;
  font-weight: bold;
  display: inline;
}
@media only screen and (min-width: 1024px) {
  .page-template-template-legislation .desk--nine-twelfths {
    width: 74%;
  }
}
@media only screen and (max-width: 1023px) and (min-width: 681px) {
  .page-template-template-legislation .lap--one-half {
    width: 49%;
  }
}
@media only screen and (max-width: 680px) {
  .page-template-template-legislation .palm--one-half {
    width: 49%;
  }
}

/* gold button adjustment */
.full-gray-width-repeater a.gold {
  margin-right: 20px;
}

/* repeater adjustment */
.full-gray-width-repeater h2 {
  font-size: 26px;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-template-template-issuearea .full-gray-width-repeater h3,
.page-template-template-legislation .full-gray-width-repeater h3 {
  font-size: 18px;
  margin-top: 15px;
      margin-bottom: .2em;
}

/* sidebar elements */
ul.sidebar-actions li,
.widget-wrap {
    width: 100%;
    border-bottom: 5px solid #fff;
    padding: 20px 30px;
}
ul.sidebar-actions li h2,
.widget-wrap h2 {
  text-transform: uppercase;
    font-weight: 700;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 0;
}

.widget-wrap a,
.widget-wrap a:visited {
  color: #b52625;
  text-decoration: none;
}

ul.sidebar-actions,
.widget-wrap ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.page-template-template-legislation .grid {
  letter-spacing: 0;
}

/* issue areas */
.featured-leg h2.headline {
  text-transform: uppercase;
}
.goal-statement p {
    font-size: 27px;
    line-height: 35px;
}
/* single actions */
.single-actions .type-actions .entry-content {
  display: -webkit-flex;
  display: flex;
}
.action-content,
.action-embed {
  width: calc(50% - 40px);
}
.action-content {
  margin-right: 80px;
}

.at h1, .at h2, .at h3, .at h4, .at h5, .at h6 { 
  font-family: "proxima-nova", sans-serif !important;
}

.action-embed p {
  display: none;
}
.action-embed .ngp-form p {
  display: block;
}

@media (min-width:960px) {
.at-advocacy-tweet .at-tweet-area {
    margin: 5px 0 0 10px !important;
    width: calc(100% - 230px) !important;
}
}

.at-advocacy-tweet .at-tweet-message {
    width: 100%;
}
.at-advocacy-tweet .at-tweet-label {
    width: 100% !important;
    margin-bottom: 10px;
}

.ngp-form .at-advocacy-tweet .at-tweet-button {
    display: block !important;
}


.at-advocacy-tweet figcaption {
  font-size: 14px;
}
.accordion_parent.open .content {
  max-height:none;
  /*overflow:auto;*/
}
@media only screen and (max-width: 1023px) and (min-width: 681px) {
  ul.action-grid h2{
    font-size:24px;
  }
  ul.action-grid p{
    font-size: 18px;
  }
  ul.action-grid li:nth-child(odd) {
    margin-right: auto;
  }
  ul.action-grid li {
    width: 100%;
  }
}

@media only screen and (max-width: 900px) {
  .single-actions .type-actions .entry-content {
    display: block;
  }
  .action-content,
  .action-embed {
    width: 100%;
  }
  .action-content {
    margin-right: auto;
  }
}
@media only screen and (max-width: 680px) {
  ul.action-grid h2{
    font-size:20px;
  }
  ul.action-grid p{
    font-size: 16px;
  }
  ul.action-grid li:nth-child(odd) {
    margin-right: auto;
  }
  ul.action-grid li {
    padding:15px 30px;
    width: 100%;
  }
}

/* Type adjustments added by Beth */
.blog header.entry-header h1 {
  margin-bottom: 0.7em;
}

.single-post header.entry-header h1 {
  margin-bottom: 20px;
}

.site-main header.entry-header h1 {
    text-transform: initial;
    font-size: 50px;
    font-weight: 700;
    color: #032d3e;
    line-height: 1;
    letter-spacing: 0;
}

@media only screen and (max-width: 767px) {
  .site-main header.entry-header h1 {
    font-size: 36px;
  }
}
.site-main header.entry-header h1:after {
  content: none;
}

.inner-meta {
    margin-bottom: 30px;
}

.inner-meta .author{
  display: inline-block !important;
  color:#042d3f;
  font-weight: bold;
}

.inner-meta .author:after {
      content: '|';
      font-weight: 400;
      margin-left: 5px;
    }

.inner-meta .date{
  display: inline-block !important;   
  color: #b52625; 
}

.type-post .entry-content {
    margin-top: 0;
}