/* Custom CSS
-------------------------------*/
/*Blog Sidebar Edits*/
.cta-block-sidebar {padding: 10px; margin-top: 40px;}
.cta-block-sidebar h4 {font-size:14px!important; line-height: 1.3em!important; color: #fff!important; text-align:center;}
.cta-block-sidebar .button {background: #fff; color: #000; text-decoration: none; font-size: 10px; padding: 7px 15px; width: 100%; display:block; text-align:center; line-height: 1.2em;}

/*Blog Body CTA*/
.blog-body-cta {display: flex; width: 100%; margin: 16px 0; padding: 20px 30px; flex-direction: row; justify-content: space-between; align-items: center; gap: 20px;}
.blog-body-cta h3 {color: #fff!important; font-size: 18px!important; line-height: 1.3em!important; margin-top:0!important; margin-bottom: 0!important;}
.blog-body-cta .button {background: #fff; color: #000; text-decoration: none; font-size: 14px; padding: 12px 15px; width: 100%; display:block; text-align:center; line-height: 1.2em; text-transform: uppercase;}
.blog-body-cta p {margin-bottom: 0!important;}
@media only screen and (max-width: 540px) {
.blog-body-cta {flex-wrap: wrap;}
.blog-body-cta h3 {text-align: center;}
.blog-body-cta p {width: 100%;}
}

/*Gravity Form Footer*/
#gform_24 .gform-body .gform_fields {grid-row-gap: 0!important; }
#gform_24 .gform-body .gfield.gfield--type-html {border-bottom-width: 0!important;}
#gform_24 .gform-body .gform-button {background: #da2f2f;
  color: #fff;
  border: 1px solid #da2f2f;padding: 15px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: bold;}

/*PPC Landing page removing header and footer with CSS*/
.page-id-3492 .navbar-toggler,
.page-id-3492 .header__top-bar,
.page-id-3492 .main-menu__menu {
    display: none!important;
}
.page-id-3538 .main-menu, .page-id-3538 .sticky-top, .page-id-3538 .footer, .page-id-3732 .main-menu, .page-id-3732 .sticky-top, .page-id-3732 .footer, .page-id-3756 .main-menu, .page-id-3756 .sticky-top, .page-id-3756 .footer {
    display: none!important;
}

/*Referral Form Edits*/
.gform_wrapper .gform_page_footer .gform_next_button, .gform_wrapper .gform_page_footer .gform_previous_button   {background: #da2f2f!important; color: #fff!important; border-color: #da2f2f; padding: 0 25px 2px 25px; font-family: Roboto; font-weight: bold; cursor: pointer;}
.gform_wrapper .gform_page_footer .gform_next_button:hover {background:#ce2424!important;}
.gform_wrapper .gfield--type-section  {border-bottom: none!important;}
#gform_wrapper_17 .address_state {margin-bottom: 8px!important;}
#gform_wrapper_17 .address_state select {margin: 4px 0 !important;}
.gform_wrapper .gf_page_steps .gf_step_next .gf_step_number {color: #cfd3d9;}

/*PPC Form Edits*/
#gform_wrapper_14 .address_state select, #gform_wrapper_18 .address_state select, #gform_wrapper_19 .address_state select {margin-top: 4px!important;}

  /*PPC Landing Page - Roofing Replacement*/
.page-id-3538 .background__darkBlue.py-0:first-of-type .container, .page-id-3732 .background__darkBlue.py-0:first-of-type .container, .page-id-3756 .background__darkBlue.py-0:first-of-type .container { width: 100%; max-width: 100%;}
.page-id-3538 .background__darkBlue.py-0:first-of-type .container .header__top-bar, .page-id-3732 .background__darkBlue.py-0:first-of-type .container .header__top-bar, .page-id-3756 .background__darkBlue.py-0:first-of-type .container .header__top-bar {align-items: center; max-height: none!important;}
.page-id-3538 .background__darkBlue.py-0:first-of-type .container .mobile-phone, .page-id-3732 .background__darkBlue.py-0:first-of-type .container .mobile-phone, .page-id-3756 .background__darkBlue.py-0:first-of-type .container .mobile-phone {text-align:right!important; font-weight: bold;}
.page-id-3538 .lp-split .row .pb-0 .lp-split__header-background, .page-id-3732 .lp-split .row .pb-0 .lp-split__header-background, .page-id-3756 .lp-split .row .pb-0 .lp-split__header-background {height: 100%; display: flex; flex-direction: column; justify-content: center;}
.page-id-3538 .lp-split .row .pb-0 .p-5, .page-id-3732 .lp-split .row .pb-0 .p-5, .page-id-3756 .lp-split .row .pb-0 .p-5  {display:none;}
.testimonials-wrap {display:flex; flex-wrap: wrap; justify-content:space-between; padding-bottom: 45px;}
.testimonials-wrap .testimonial-info {flex-basis: 30%;}
.testimonials-wrap .testimonial__author {font-size: 18px;}
.img-fix-height-180 {height: 180px; max-height: 180px; object-fit:cover;}
.location-row .column {padding-right: 15px;}
.location-row .address {width: 50%;}
.location-row .locations {width: 25%;}
.location-row .locations ul {padding-left: 0;}
.location-row .locations ul li:not(.menu-item)::before {display: none;}

.row-ppc { max-width: 80%; }
.ppc-value { font-size: 20px; padding: 7px; }

@media only screen and (max-width: 540px) {
	.ppc-value { width: 48%; }
}

@media only screen and (max-width: 768px) { .page-id-3538 .background__darkBlue.py-0:first-of-type .container .logo_img, .page-id-3732 .background__darkBlue.py-0:first-of-type .container .logo_img, .page-id-3756 .background__darkBlue.py-0:first-of-type .container .logo_img {text-align: center; margin-bottom: 8px;}
	.page-id-3538 .background__darkBlue.py-0:first-of-type .container .logo_img img, .page-id-3732 .background__darkBlue.py-0:first-of-type .container .logo_img img, .page-id-3756 .background__darkBlue.py-0:first-of-type .container .logo_img img {width: auto;}
	.page-id-3538 .background__darkBlue.py-0:first-of-type .container .mobile-phone, .page-id-3732 .background__darkBlue.py-0:first-of-type .container .mobile-phone, .page-id-3756 .background__darkBlue.py-0:first-of-type .container .mobile-phone {text-align: center!important;}
}
@media only screen and (max-width: 767px) {
	.page-id-3538 .lp-split .row .pb-0 .lp-split__header-background .btn, .page-id-3732 .lp-split .row .pb-0 .lp-split__header-background .btn, .page-id-3756 .lp-split .row .pb-0 .lp-split__header-background .btn {display: none!important;}
	.testimonials-wrap .testimonial-info {flex-basis: 100%; margin-bottom: 30px;}
	.location-row .address {width: 100%;}
	.location-row .locations {width: 50%;}
}
@media only screen and (max-width: 450px) {
	.location-row .locations {width: 100%;}
	.location-row .locations ul {margin-bottom: 0;}
}

/* PPC Template */
.page-template-page-ppc-php .sticky-top, .page-template-page-ppc-php .footer { display: none!important; }
/*You Tube Video on Residential Roofing*/
.v-block {display: flex; flex-wrap: wrap;}
.embed-video-yt {flex: 1 1 40%; border-radius: 0 50px 0 50px; overflow: hidden;}
.yt-video { aspect-ratio: 16 / 9; width: 100%;}
.content-yt {flex: 1 1 60%; padding-left: 20px;}

@media only screen and (max-width: 982px) {
	.embed-video-yt {flex-basis: 100%; margin-bottom: 30px;}
	.content-yt {flex-basis: 100%; padding-left: 0;}
}

/*Image modification*/
section img {max-width: 100%;}