/**
 * 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
 */

@media only screen and (max-width: 1024px) {
  ul.menu.main-menu.align-center.align-middle.dropdown {
    display: flex;
    align-items: center;
    height: 100%;
    top: unset !important;
  }
  li.main-logo {
    display: flex;
    align-items: center;
    height: 100%;
    top: unset !important;
  }
}

#form{
  background-image: url('https://cpc-leadership-2022.s3.us-west-2.amazonaws.com/wp-content/uploads/2022/03/25115115/banner-bg-1.jpg');
}
#news{
  background-color:#142F52;
}
.home-form{
  background-color:#142F52;
}
.ginput_container>input{
  border-radius:8px !important;
}
#input_84_1, #input_84_2, #input_84_14,#input_84_7{color:#000;}
#input_85_1, #input_85_2, #input_85_14,#input_85_7{color:#000;}

.grid-container{
  max-width: 100rem !!important;
}
.site-header .grid-container{
  max-width: 100rem !important;
}
.ginput_counter{
  display: none;
}
*{
  letter-spacing: 0 !important;
  text-rendering: optimizeLegibility;
}
#input_84_7{
  padding-left: 1em;
}
#gform_wrapper_84{
  padding: 0rem 2rem;
}
#gform_wrapper_85{
  padding: 0rem 2rem;
}
@media only screen and (min-width: 992px){
  .homeform_field{
    width: 20% !important;
    vertical-align: top;
    margin: 0;
    margin-left: 0px;
    padding-right: 16px;
    float: none !important;
    display: -moz-inline-stack;
    display: inline-block;
  }
}
body .gform_wrapper ul li.gfield{
  margin-top: 0px !important;
}
#gform_fields_84{
  /*padding: 0rem 2rem;*/
}
.gform_wrapper ul.gform_fields li.gfield{
  padding: 0px 8px;
}

} 
@media only screen and (max-width: 768px) {
  #gform_submit_button_84, #gform_submit_button_85{
    width:100%;
  }
} 
.gform_wrapper form.gf_simple_horizontal div.gform_body {
  max-width:100%;
}
#gform_submit_button_84, #gform_submit_button_85, #gform_submit_button_105,#gform_submit_button_106{
  width:75%;
  margin-bottom:0;
  color:#fff;
  background-color:#ED1F37;
  border: 1px #ED1F37;
  max-width: 250px;
  border-radius:8px;
  font-family: din-condensed, sans-serif;
  box-shadow: 0 3px 10px rgb(0 0 0 / 16%);
}
#gform_submit_button_84:hover, #gform_submit_button_85:hover, #gform_submit_button_105:hover, #gform_submit_button_106:hover{
  margin-bottom:0;
  background-color:#ED1F37;
  border: 1px #ED1F37;
  background-color:#fff;
  opacity:1;
  color:#00ADF0;
}
#gform_confirmation_message_84, #gform_confirmation_message_85{
  color:#fff;
  text-align:center;
}
.full_width{
  max-width:none;
}
@media only screen and (min-width: 641px) {
  .gform_wrapper form.gf_simple_horizontal {
    width: fit-content;
    text-align: center;
  }
  .home-form .grid-container{
    padding-left:0rem;
    padding-right:0rem;
  }
}
#form-text{
  font-family: din-condensed,sans-serif;
  font-style: normal; 
  font-weight: 600;
}

ul.secondary-menu .nav__item--donate a{
  border: none;
  background-color: #ED1F37;
  color: #fff;
  border-radius: 8px;
  font-size: 18px;
}
ul.secondary-menu .nav__item--donate a:hover{
  color: #fff;
  background-color: #142F52;
}
ul.secondary-menu .nav__item--donnez a{
  border: none;
  background-color: #ED1F37;
  color: #fff;
  border-radius: 8px;
  font-size: 18px;
}
ul.secondary-menu .nav__item--donnez a:hover{
  color: #fff;
  background-color: #142F52;
}

ul.secondary-menu .nav__item--volunteer a:hover{
  color: #00ADF0;
}
ul.secondary-menu .nav__item--volunteer a{
  color: #142F52;
  font-size: 18px;
}
ul.secondary-menu .nav__item--benevole a:hover{
  color: #00ADF0;
}
ul.secondary-menu .nav__item--benevole a{
  color: #142F52;
  font-size: 18px;
}

ul.secondary-menu .nav__item--join a{
  border: none;
  background-color: #142F52;
  color: #fff;
  border-radius: 8px;
  font-size: 18px;
  margin: 0rem 0.5rem;
}
ul.secondary-menu .nav__item--join a:hover{
  color: #fff;
  background-color: #142F52;
}
ul.secondary-menu .nav__item--adherez a{
  border: none;
  background-color: #142F52;
  color: #fff;
  border-radius: 8px;
  font-size: 18px; 
  margin: 0rem 0.5rem;
}
ul.secondary-menu .nav__item--adherez a:hover{
  color: #fff;
  background-color: #142F52;
}

ul.main-menu .nav__item--convention a{
  border: none;
  background-color: #142F52;
  color: #fff;
  border-radius: 8px;
  font-size: 18px;
}
ul.main-menu .nav__item--convention a:hover{
  color: #fff;
  background-color: #ED1F37;
}
ul.main-menu .nav__item--congres a{
  border: none;
  background-color: #142F52;
  color: #fff;
  border-radius: 8px;
  font-size: 18px;
}
ul.main-menu .nav__item--congres a:hover{
  color: #fff;
  background-color: #ED1F37;
}

.main-menu-right .nav__item > a{
  color:#142F52;
}
.landing-page-form .gform_footer .button{
  border-radius: 8px;
}
.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: 'din-condensed';
}
.clipped {
  padding: 10px;  
  width:55%;
  background: #00ADF0;
  -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-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: #142F52;
  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--donnez{
  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 {
  max-height: 450px !important;
  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-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: auto !important;
  overflow: hidden;
}
.featured-text.home {
  background-color: #fff;
  bottom: 0px;
  color: #333;
  font-family: Din, sans-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: 'din-condensed';
  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 #142F52;
  color: #142F52;
  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;
}
.lp-text{ 
  font-size:18px;
}
.lp-cta{
  font-size:36px;
  line-height:1.25;
}

p{
 word-wrap: break-word !important;
}
.no-top-padding {
  padding-top: 0 !important;
}
.snow1 {
  background: url(https://cpcassets.conservative.ca/wp-content/uploads/2021/11/15094411/20eeaaa8530d966.png);
  background-repeat: repeat;
  width: 100%;
  height: 75px;
  position: absolute;
  top: 0;
  left: 0;
  animation: snowOne 20s infinite linear;
  opacity: 0.5;
}
.snow2 {
  background: url(https://cpcassets.conservative.ca/wp-content/uploads/2021/11/15094411/20eeaaa8530d966.png);
  background-repeat: repeat;
  width: 100%;
  height: 75px;
  position: absolute;
  top: 0;
  left: 0;
  animation: snowTwo 20s infinite linear;
  background-size: 300px;
  filter: blur(1px);
  opacity: 0.5;
}
.snow3 {
  background: url(https://cpcassets.conservative.ca/wp-content/uploads/2021/11/15094411/20eeaaa8530d966.png);
  background-repeat: repeat;
  width: 100%;
  height: 75px;
  position: absolute;
  top: 0;
  left: 0;
  animation: snowThree 20s infinite linear;
  background-size: 800px;
  filter: blur(2px);
  opacity: 0.5;
}

@keyframes snowOne{
  0%
  {
    background-position: 0px 0px;
  }
  100%
  {
    background-position: 100px 750px;
  }
}
@keyframes snowTwo{
  0%
  {
    background-position: 0px -100px;
  }
  100%
  {
    background-position: 0px 750px;
  }
}
@keyframes snowThree{
  0%
  {
    background-position: 0px 100px;
  }
  100%
  {
    background-position: 300px 750px;
  }
}
@media only screen and (max-width: 768px){
  .landing-page-form.form-container.dark .button.button--blue{
    width:50%;
  }

}
.gform_legacy_markup_wrapper input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]){border-radius:8px !important;}
@media screen and (max-width: 992px) {
  .menu.main-menu li:not(.main-logo){
    display: none;
  }
}
@media screen and (min-width:1280px) {
 .btn--mobile-menu {
  display:none
 }
}
.main-menu li.main-logo img {
  min-width:75px;
}