/**
 * style.css
 *
 * Theme Name:  Conservative Child
 * Theme URI:   http://www.machine-agency.com
 * Author:      Machine
 * Author URI:  http://www.machine-agency.com
 * Description: Custom Theme
 * Version:     1.2
 * Template:    conservative
 * License:     GNU General Public License v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * Tags:        light
 * Text Domain: machine
 */
ul.secondary-menu .nav__item--dons a {
	border: none;
    background-color: #FFB21C;
    color: #1D4880;
}
.cabinet-member h4 {
    font-size: 14px !important;
}

.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

a.button.lp-button {
    display: none !important;
}

			.standard-newsletter-wrapper {display:none;}
h1.light {display:none;}

h2.up {
    text-transform: uppercase;
    color: black;
	font-size: 23px !important;
	font-family: 'Avenir LT Std';
}
.clipped {
  padding: 10px;  
width:55%;
  background: #ffb21c;
  -webkit-clip-path: polygon(0 0, 90% 0%, 80% 90%, 0% 90%);
    clip-path: polygon(1 0%, 90% 0%, 80% 70%, 0% 70%);
}

.clipped > * 
{
  max-width: 260px
}
.home-heating {
    max-width:100%;
    display:inline-block;
}


.social-align{
  
    text-align:center;
    margin-top:20px;
}

h4.side-headers{
font-weight: 700;
}
a.check-out-links {
    font-weight: 700;
    margin: 20px;
    line-height: 1.5;
}

.side-section{
    margin-bottom: 40px;
}
.top-section {
    margin-top: 80px;
}
.form-group {
    margin-bottom: 1rem;
}
.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.signbtn {
    background-color: #4AAF46;
    border: 0px;
    border-radius: 2px;
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: 700;
    padding: 15px 10px;
    transition: all 0.5s ease;
    text-transform: uppercase;
    width: 100%;
    
}
ul.pol {
  list-style-type: none;
  margin: auto;
  padding: 0;
  width: 80%;
  background-color: #f1f1f1;
  display:block;
}

li.pol a {
  display: block;
  color: #000;
  padding: 8px 16px;
  text-decoration: none;
}

li.pol a.active {
  background-color: #003f72;
  color: white;
}

li.pol a:hover:not(.active) {
  background-color: #555;
  color: white;
}

.proposals {
  margin-left: 15px;
}

hr.policies-split {
    border: 0;
    height: 1px;
    background: #333;
    background-image: linear-gradient(to right, #ccc, #333, #ccc);
    margin-top: 50px;
    margin-bottom: 50px;
    width: 80%;
    margin:auto;
    display: block;
}
@media only screen and (max-width: 450px) {

.clipped {
  width: 100%;
    -webkit-clip-path: polygon(1 0, 90% 0%, 80% 90%, 0% 90%);
    clip-path: polygon(0 0%, 90% 0%, 80% 85%, 0% 85%);
}
}

.home-heating-pol {
	    box-shadow: rgba(0, 0, 0, 0.09) 1px 1px 3px 0px;
	padding: 30px;
}
/*============================================================================
  GRAPHICS
==============================================================================*/
.featured-graphic img {
  opacity: 1;
  margin-bottom: 20px;

}
.featured-graphic:hover  {
  opacity: .5;
   transition: opacity .5s ease-out;
  -moz-transition: opacity .5s ease-out;
  -webkit-transition: opacity .5s ease-out;
  -o-transition: opacity .5s ease-out;
}

.small-blurb {
  margin: 1em -15px -15px -15px;
  padding: 0 1em 0 0;
  border-top: 1px solid #e7e7e7;
  color: #b2b2b2;
  float: right;
}

.graphic-sections {
      box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
}

.graphic-type ul {
      border: solid 1px #ddd;
    margin-left: 0;
    margin-bottom: 1.25rem;
}
.graphic-type li {
  background-color: white;
    padding: 0.9375rem;
    text-align: center;
    color: #333;
    font-weight: normal;
    border-bottom: dotted 1px #ddd;
        list-style: none;
}

img.logo-header {
margin-bottom: 30px;
}

img.logo-icon {
    width:20%;
    margin:auto;
    display:block;
}

.scheer_headshot {
    margin-bottom:7em;
}

.official-logo-header {
    padding-top:8.6rem;
}
@media screen and (max-width: 1120px) {
 .menu.secondary-menu li:last-child,
  .menu.secondary-menu li.nav__item--dons{
    display: inline-block;
  }
}

.cabinet-member h4 {
      font-style: italic !important;
      color: #718497 !important;
}

@media only screen and (max-width: 1023px) {
    .image-callout.none {
        display:none;
    }
}

/*==========
    FAQ
===========*/
h3.faq-header {
    color:#002344 !important;
    text-decoration:underline;
}
h4.faq-sub-header {
    color:#003f72 !important;
}


/*==========
LANDING PAGES
============*/

.grid-feature-row {
margin-bottom: 40px;
}
@media (max-width: 767px) {
.grid-feature-row {
margin-bottom: 20px;
}
}
@media (max-width: 479px) {
.grid-feature-row {
margin-bottom: 0px;
}
}
.grid-feature-block {
background-color: white;
box-shadow: rgba(0, 0, 0, 0.09) 1px 1px 3px 0px;
}
.grid-feature-block.home {
height: 300px;
margin-bottom: 25px;
overflow: hidden;
position: relative;
}
@media (max-width: 767px) {
.grid-feature-block.home {
height: auto;
overflow: visible;
}
}
.featured-text.home {
background-color: #fff;
bottom: 0px;
color: #333;
font-family: Din, sans-serif;
font-size: 18px;
font-weight: 400;
max-height: 125px;
line-height: 28px;
margin-bottom: 28px;
padding: 10px 20px;
width: 100%;
}
@media (max-width: 767px) {
.featured-text.home {
max-height: 100%;
position: static;
}
}
.grid-feature-block.home:hover .featured-text.home {
max-height: 500px;
}
@media (max-width: 767px) {
.grid-feature-block.home:hover .featured-text.home {
max-height: 100%;
}
}
.grid-feature-block.our-plan:hover .featured-text.home {
max-height: 500px;
}
@media (max-width: 767px) {
.grid-feature-block.our-plan:hover .featured-text.home {
max-height: 100%;
}
}
.featured-text.home p {
max-height: 35px;
line-height: 24px;
overflow: hidden;
transition: all 1s ease;
text-overflow: ellipsis;
white-space: nowrap;
width: 100%;
}
@media (max-width: 767px) {
.featured-text.home p {
max-height: 100%;
overflow: visible;
white-space: normal;
}
}
.grid-feature-block.home:hover .featured-text.home {
max-height: 500px;
}
@media (max-width: 767px) {
.grid-feature-block.home:hover .featured-text.home {
max-height: 100%;
}
}
.grid-feature-block.home:hover .featured-text.home p {
max-height: 500px;
white-space: normal;
}
.grid-feature-block.our-plan:hover .featured-text.our-plan {
max-height: 500px;
}
@media (max-width: 767px) {
.grid-feature-block.our-plan:hover .featured-text.our-plan {
max-height: 100%;
}
}
@media (max-width: 1280px) {
.featured-text.home{
max-height: 100%;
}
}
.grid-feature-block.our-plan:hover .featured-text.our-plan p {
max-height: 500px;
white-space: normal;
}
.campaigns-feature-tile-container {
background-color: #0C6AAA;
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
height: 205px;
overflow: hidden;
}
.featured-text.home {
background-color: #fff;
bottom: 0px;
color: #333;
font-family: Din, sans-serif;
font-size: 18px;
font-weight: 400;
max-height: 125px;
line-height: 28px;
margin-bottom: 28px;
padding: 10px 20px;
width: 100%;
}
h3.lp_title {
text-align: center;
color: white;
}
h5.lp_subtitle {
text-align: center;
color: white;
margin-bottom: 3em;
}
.section--landing-pages.blue {
margin-bottom: 6em;
}

section.section.section--landing-pages.blue.full_width {
    max-width: none;
}

@media (max-width: 1023px) {

.campaigns-feature-tile-container {
    max-height: 100%;
}
}
.search-button {
        border: 3px solid #fff;
    background-color: transparent;
    font-family: 'Avenir LT Std';
    font-weight: 600;
    font-style: normal;
    font-size: 25px;
    letter-spacing: 4.62px;
    padding: 0.2rem;
    line-height: 1.2;
    text-transform: uppercase;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.search-button.button--blue {
    border: 3px solid #1D4880;
    color: #1D4880;
    max-width:400px;
    margin:auto;
    display:block;
    margin-top:1em;
}

hr.news-search {
    border: 0;
    height: 1px;
    margin-top:2em;
    margin-bottom:2em;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

/*==========
    EDA
===========*/

.social-nav-eda {
    display: block !important;
    margin-bottom:3em;
}
.eda-social {
    font-weight: bold;
    margin-left: 1em;
    color: #fff;
}
.eda-single-background .social-nav-eda li {
    margin-bottom: 1em;
}

.social-nav-eda {
    list-style: none;
    margin: 0 0 0 1rem;
    padding: 0;
    display: flex;
    justify-content: flex-end;
}

.social-nav-eda li a img {
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    width: 4rem;
}

@media only screen and (max-width: 1420px) {
.social-nav-eda li a img {
     width: 2rem; 
}
}
.social-nav-eda li a img:hover{
  opacity: 0.5;
}

.centertext{margin:auto;max-width:600px;}

/* Removing Candidates from navbar */

li.page_item.page-item-262 {
    display: none;
}
li.page_item.page-item-908 {
    display: none;
}

#find-candidate {
    padding-top: 12em;
}
.front-page-header {
  margin-bottom: -6em;
}

p{
   word-wrap: break-word !important;
}
.no-top-padding {
  padding-top: 0 !important;
}