/*
 Theme Name:   Home Factors
 Theme URI:    http://demo.goodlayers.com/infinite
 Description:  Goodlayers Infinite Child Theme
 Author:       Goodlayers
 Author URI:   http://facefirstcreative.com
 Template:     infinite
 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:  home-factors
*/

/* ----------------------------------------------------
  Variables
------------------------------------------------------- */

:root {
  --porch-yellow:        #FFD451;
  --porch-yellow-dark:   #F2AE00;
  --porch-blue:          #2b73de;
  --faint-blue:          #74a0c1;
  
  --font-heading:        tenon, sans-serif!important;
  --font-body:           elza-text, sans-serif!important;
}

/* ----------------------------------------------------
  Dev
------------------------------------------------------- */

.hidden {
  display: none;
}

/* ----------------------------------------------------
  Global
------------------------------------------------------- */

/* Override mmenu.js styles from Goodlayers - interferes with FooBar */

body.mm-wrapper {
  position: static;  
}

/* Override FooBar z-index - interferes with mobile nav */
.foobar-cta {
  z-index: 101!important;
}

/* ------------------------------------------------------
  Typo
------------------------------------------------------- */

.infinite-body,
.infinite-body .gdlr-core-content-font,
.infinite-body input,
.infinite-body textarea,
.infinite-body button,
.infinite-body select,
.infinite-body .infinite-content-font,
.infinite-body .infinite-title-font,
.infinite-body .gdlr-core-title-font,
.infinite-body .gdlr-core-info-font,
.infinite-body .infinite-info-font,
.infinite-body .gdlr-core-testimonial-content,
.infinite-navigation .sf-menu > li > a,
.infinite-navigation .sf-vertical > li > a,
.infinite-navigation-font,
.infinite-body .ptsBlock,
.infinite-body .rs-layer {
  font-family: elza-text, sans-serif!important;
  font-weight: 400;
  font-style: normal;
  font-variant-numeric: lining-nums!important;
  -moz-font-feature-settings: "lnum"!important;
  -webkit-font-feature-settings: "lnum"!important;
  font-feature-settings: "lnum"!important;
}

.infinite-body .gdlr-core-info-font {
  font-style: italic;
}

.infinite-body h1,
.infinite-body h2,
.infinite-body h3,
.infinite-body h4,
.infinite-body h5,
.infinite-body h6,
.infinite-body h1.infinite-page-title,
.infinite-blog-title-wrap h1.infinite-single-article-title,
.infinite-body h1.page-header,
.gdlr-core-image-overlay.gdlr-core-gallery-image-overlay .gdlr-core-image-overlay-title,
.infinite-body .gdlr-core-info-font.gdlr-core-title-item-caption {
  font-family: tenon, sans-serif!important;
  font-weight: 500;
  font-style: normal;
}

/* ---- New letter spacing for Tenon headings -------------------------*/

.infinite-body .infinite-page-wrapper h1 {
  line-height: 1.1;
}

.infinite-body .infinite-page-wrapper h2 {
  letter-spacing: -.02em!important;
}


.infinite-body .infinite-copyright-text {
  font-family: tenon, sans-serif!important;
  font-weight: 500;
}

.infinite-body .infinite-page-wrapper .gdlr-core-text-box-item h1,
.infinite-body .infinite-page-wrapper h2,
.infinite-content-area h2,
#poststuff .gdlr-core-page-builder-body .gdlr-core-text-box-item h2 {
  margin-top: 1.5em;
}

.infinite-body .infinite-page-wrapper .gdlr-core-title-item-caption-top h2 {
  margin-top: inherit;
}

.infinite-page-title-wrap.infinite-style-small .infinite-page-title {
  text-transform: none;
}

.category .infinite-page-title-content h3.infinite-page-title,
.tag .infinite-page-title-content h3.infinite-page-title {
  font-size: 1.3rem;
  font-weight: 400;
}

.category .infinite-page-title-wrap .infinite-page-caption,
.tag .infinite-page-title-wrap .infinite-page-caption {
  font-size: 2.1rem;
  font-weight: 500;
}

.infinite-body h1.title-lg {
  font-size: 46px;
}

.infinite-body h1.title-sm {
  font-size: 38px;
}

.infinite-body h2.subhead-lg {
  font-size: 39px;
}

.infinite-body .p-lg {
  font-size: 20px;
  line-height: 1.5; 
}

.infinite-body .p-sm {
  font-size: 16.5px;
  line-height: 1.5; 
}

.avoid-wrap {
  display: inline-block;
}

.kern-increase {
  letter-spacing: 0.3px!important;
}

.center {
  text-align: center;
}

@media (max-width: 1100px) {
  
  .infinite-body h1.title-lg {
    font-size: 37px;
  } 
}

@media (max-width:767px) {

  .avoid-wrap {
    display: inline;
  }
  
  .justify-left-mobile {
    text-align: left;
  }
}


/* ---- Override Infinite hard-coded styles -------------------------*/

.infinite-body p,
.infinite-body li,
.infinite-body blockquote {
  /* word-spacing: .04em;*/
  letter-spacing: -.01em;
}

.infinite-body,
.infinite-body p,
.infinite-line-height,
.gdlr-core-line-height {
  line-height: 1.6;
}

.infinite-body .infinite-page-wrapper .gdlr-core-text-box-item h3,
.infinite-body .infinite-page-wrapper .gdlr-core-text-box-item h4,
.infinite-body .infinite-page-wrapper .gdlr-core-text-box-item h5,
.infinite-content-area h3,
.infinite-content-area h4,
.infinite-content-area h5  {
  margin-top: 1.3em;
  line-height: 1.2em;
}

.infinite-body .infinite-page-wrapper .gdlr-core-text-box-item-content h1:first-child,
.infinite-body .infinite-page-wrapper .gdlr-core-text-box-item-content h2:first-child,
.infinite-body .infinite-page-wrapper .gdlr-core-text-box-item-content h3:first-child,
.infinite-body .infinite-page-wrapper .gdlr-core-text-box-item-content h4:first-child,
.infinite-body .infinite-page-wrapper .gdlr-core-text-box-item-content h5:first-child,
.infinite-body .infinite-page-wrapper .gdlr-core-text-box-item-content h6:first-child,
.infinite-body .infinite-page-wrapper .gdlr-core-text-box-item-content h3 + h4,
.infinite-body .infinite-page-wrapper .gdlr-core-text-box-item-content h3 + h5 {
  margin-top: 0;
}

.infinite-body .infinite-page-wrapper .gdlr-core-text-box-item-content h1 + h2 {
  margin-top: .9em;
}

.infinite-page-title-wrap.infinite-style-medium .infinite-page-title-content {
  padding-top: 86px;
  padding-bottom: 96px;
}

.infinite-page-title-wrap.infinite-style-medium h1.infinite-page-title,
.infinite-blog-title-wrap .infinite-single-article-title {
  font-size: 42px;
  text-transform: none;
  font-weight: 500;
  letter-spacing: -.03em;
  max-width: 80%;
}

.infinite-page-title-wrap.infinite-style-small h1.infinite-page-title {
  font-size: 40px;
  text-transform: none;
  font-weight: 500;
  letter-spacing: 0;
  max-width: 80%; 
}

.gdlr-core-image-item.svg img,
.gdlr-core-image-item.svg .gdlr-core-image-item-wrap {
  width: 100%;
  height: auto;
}

.gdlr-core-column-service-item .gdlr-core-column-service-title {
  line-height: 1.35;
}

@media (max-width: 767px) {
  
  /* Update to 1.5 when switching to new fonts */
  .infinite-body,
  .infinite-body p,
  .infinite-line-height,
  .gdlr-core-line-height {
    line-height: 1.6;
  }
}

/* ----------------------------------------------------
  Typo Misc
------------------------------------------------------- */

.infinite-body a {
  transition: color .2s, background-color .2s;
}

p.large-copy {
  font-size: 1.2em;
}

h3.gdlr-core-feature-box-item-title {
  margin-top: 0;
}

.gdlr-core-testimonial-item .gdlr-core-testimonial-content {
  font-style: normal;
}

.gdlr-core-counter-item .gdlr-core-counter-item-divider,
.gdlr-core-counter-item .gdlr-core-counter-item-number {
  margin-bottom: 14px;
}

sup {
  font-size: .4em;
  vertical-align: super;
}

.gdlr-core-block-item-title-wrap .gdlr-core-block-item-title {
  font-weight: 700;
}

p.header-img {
  margin-bottom: 0;
  margin-top: 40px;
}

.infinite-body .infinite-page-wrapper p.header-img + h2,
.infinite-body .infinite-page-wrapper p.header-img + h3,
.infinite-body .infinite-page-wrapper p.header-img + h4 {
  margin-top: 0;
}

.bold-yellow {
  font-weight: 700;
  color: var(--porch-yellow-dark);
}


/* ----------------------------------------------------
  Typo responsive
------------------------------------------------------- */

@media (max-width: 999px) {
  
  .infinite-body h2, .infinite-body h1.title-sm {font-size: 28px!important;}
  .infinite-body h3 {font-size: 25px!important;}
  .infinite-body h4 {font-size: 22px!important;}
  
  .hero p {
    font-size: 22px;
  }
  
  .infinite-body {
    font-size: 17px!important;
  }
  
  .mobile-caption .gdlr-core-call-to-action-item-caption {
    font-size: 19px!important;
    line-height: 1.4;
  }
}

@media (max-width: 767px) {
  
  .infinite-body h1 {font-size: 30px;}
  .infinite-body h2, .infinite-body h1.title-sm {font-size: 25px!important;}
  .infinite-body h3 {font-size: 23px!important;}
  .infinite-body h4 {font-size: 20px!important;}
  .infinite-body h5 {font-size: 18px!important;}
  .infinite-body h6 {font-size: 18px!important;}
  
  .infinite-body .p-lg,
  .infinite-body .p-sm {
    font-size: 18px;
  }
  
  .infinite-body .revslider-initialised h1 {
    line-height: 1.2!important;
    font-size: revert;
  }
  
  .gdlr-core-title-item > .gdlr-core-title-item-title-wrap > h1.gdlr-core-title-item-title {
    font-size: 35px!important;
  }
  
  .infinite-fixed-navigation.infinite-style-slide .infinite-logo-inner img {
    height: 50px;
  }
  
  .infinite-page-title-wrap.infinite-style-medium .infinite-page-title {
    max-width: none;
  }
  
  .single-landing-page .ty-cta-container .gdlr-core-pbf-wrapper-container {
    max-width: 500px!important; 
  }
  
  .single-landing-page .ty-cta-button {
    text-align: center;
  }
  
  body.infinite-body-front .full-width-mobile .gdlr-core-container {
    max-width: 100%;
  }
  
  .foobar .fbr-item .fbr-message,
  .foobar .fbr-item .fbr-button {
    font-size: .9rem;
  }
  
  .testimonial-section .gdlr-core-column-20,
  .testimonial-section .gdlr-core-column-40 {
    width: 100%; 
  }
  
  #testimonial-container li.gdlr-core-item-mglr {
    padding-left: 40px;
    padding-right: 40px;
  }
  
  #testimonial-container .gdlr-core-flexslider-custom-nav .arrow_carrot-left {
    left: -20px;
  }
  
  #testimonial-container .gdlr-core-flexslider-custom-nav .arrow_carrot-right {
    right: -20px;
  }
  
  #testimonial-container .gdlr-core-flexslider-custom-nav .arrow_carrot-left,
  #testimonial-container .gdlr-core-flexslider-custom-nav .arrow_carrot-right {
    font-size: 70px;
  }
  
  .mobile-bg-dim .gdlr-core-pbf-background {
    opacity: .5;
  }
  
  .mobile-center,
  .gdlr-core-left-align .mobile-center {
    text-align: center;
  }
  
  .hero p {
    font-size: 20px;
  }
  
  .mobile-caption .gdlr-core-call-to-action-item-caption {
    font-size: 18px!important;
  }
  
  .mobile-center {
    text-align: center;
  }
}

/* ----------------------------------------------------
  Layout Global
------------------------------------------------------- */

/* ---- Service columns - even up learn more links -------------------------*/

/* @media only screen and (min-width:767px) {

  .flex-cols .gdlr-core-pbf-wrapper-container,
  .flex-cols .gdlr-core-pbf-column,
  .flex-cols .gdlr-core-pbf-column-content-margin,
  .flex-cols .gdlr-core-pbf-column-content {
    display: flex;
  }
  
  .flex-cols .gdlr-core-pbf-column-content {
    flex-direction: column;
  }
  
  .flex-cols .gdlr-core-pbf-column {
    flex: 1 0 auto;
  }
  
  .flex-cols .gdlr-core-pbf-column .gdlr-core-pbf-element {
    flex: 0 1 auto;
  }
} */

.flex-col-wrapper,
.flex-col-wrapper * {
  display: flex;
  flex: 1 auto;
  flex-direction: column;
}

.flex-col-wrapper .gdlr-core-pbf-wrapper-container,
.flex-col-wrapper .gdlr-core-column-service-item {
  flex-direction: row;
}

.flex-col-wrapper .gdlr-core-column-service-item img,
.flex-col-wrapper .gdlr-core-column-service-item .gdlr-core-column-service-title-wrap,
.flex-col-wrapper .gdlr-core-column-service-item .gdlr-core-column-service-read-more {
  flex: none;
}

.flex-col-wrapper .gdlr-core-column-service-content {
  
}

/* ----------------------------------------------------
  Navigation
------------------------------------------------------- */

.infinite-navigation {
  margin-right: 0px;
}

header.infinite-animate-fixed-navigation {
  border-bottom: 1px solid #ddd;
}

/* .infinite-navigation .sf-menu > li {
  padding-right: 10px;
  padding-left: 10px;
} */

.infinite-navigation-submenu-indicator .sf-menu > li > a.sf-with-ul-pre:after {
  margin-left: 4px;
  margin-top: -5px;
  color: #aaa;
}

.nav-no-link > a {
  cursor: default; 
}

.infinite-navigation .sf-menu > .infinite-normal-menu li > a {
  padding: 4px 30px 4px 12px;
}

/* ----------------------------------------------------
  Mobile nav
------------------------------------------------------- */

.infinite-mobile-header {
  padding-top: 10px;
  padding-bottom: 10px;
}

.infinite-mm-menu-wrap.mm-menu a {
  text-transform: none;
  font-size: 15px;
  letter-spacing: 0;
}

.infinite-mm-menu-wrap.mm-menu .current-menu-ancestor a,
.infinite-mm-menu-wrap.mm-menu .current-menu-item a {
  color: #fff;
}

/* ----------------------------------------------------
  Misc A11y
------------------------------------------------------- */

.sf-menu > li > a:focus,
.sf-vertical > li > a:focus {
  color: #333;
}

.sf-menu > li > .sub-menu a:focus,
.sf-menu > .infinite-mega-menu > .sf-mega a:focus {
  background-color: #5c5c5c;
  color: #fff;
}

.gdlr-core-body .gdlr-core-load-more:focus,
.gdlr-core-body .gdlr-core-button:focus {
  background-color: #ffe496;
}

/* ----------------------------------------------------
  Homepage
------------------------------------------------------- */


#hero-home h1 {
  font-size: clamp(1vw, 48px, 4vw)!important;
}

@media (min-width: 768px) {
  
 /** cut the difference in column sizes **/
  #hero-home #gdlr-core-column-1 {
    width: 50%;
  }
  
  #hero-home #gdlr-core-column-2 {
    width: 50%;
  }
  
  #hero-home-anim dotlottie-player {
    margin-top: calc(200px - 20vw);
  }
  
}

@media (min-width: 999px) {
  
  /** cut the difference in column sizes **/
  #hero-home #gdlr-core-column-1 {
    width: 46%;
  }
  
  #hero-home #gdlr-core-column-2 {
    width: 54%;
  }
  
  #hero-home-anim dotlottie-player {
    margin-top: -3vw;
  }
}

#home-solution-col-wrapper .gdlr-core-pbf-wrapper-container > .gdlr-core-column-20,
#home-solution-col-wrapper .gdlr-core-pbf-wrapper-container > .gdlr-core-column-15,
#home-solution-col-wrapper .home-solution-col,
#home-solution-col-wrapper .home-solution-col .gdlr-core-pbf-column-content,
#home-solution-col-wrapper .home-solution-col .gdlr-core-pbf-element,
#home-solution-col-wrapper .home-solution-col .gdlr-core-column-service-item,
#home-solution-col-wrapper .home-solution-col .gdlr-core-column-service-content-wrapper,
#home-solution-col-wrapper .home-solution-col .gdlr-core-column-service-content,
#press-release-col-wrapper .gdlr-core-column-20,
#press-release-col-wrapper .gdlr-core-column-15,
#press-release-col-wrapper .press-release-col,
#press-release-col-wrapper .press-release-col .gdlr-core-pbf-column-content,
#press-release-col-wrapper .press-release-col .gdlr-core-pbf-element {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#event-col-wrapper .gdlr-core-column-20,
#event-col-wrapper .gdlr-core-column-15,
#event-col-wrapper .press-release-col,
#event-col-wrapper .press-release-col .gdlr-core-pbf-column-content,
#event-col-wrapper .press-release-col .gdlr-core-pbf-element {
  flex: 0 1;
  display: flex;
}

#wpv-view-layout-2611,
#wpv-view-layout-2680,
#wpv-view-layout-2747 {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

#home-solution-col-wrapper .gdlr-core-pbf-wrapper-container > .gdlr-core-column-20,
#press-release-col-wrapper .gdlr-core-column-20,
#event-col-wrapper .gdlr-core-column-20 {
  flex-basis: 33%;
  max-width: 33%;
  display: flex;
}

#home-solution-col-wrapper .gdlr-core-pbf-wrapper-container > .gdlr-core-column-15,
#press-release-col-wrapper .gdlr-core-column-15,
#event-col-wrapper .gdlr-core-column-15 {
  flex-basis: 25%;
  max-width: 33%;
  display: flex;
}

.home-solution-col,
.press-release-col,
.event-col {
  background: #ffff;
  box-shadow: 0px 0px 20px #ddd;
  border-radius: 6px;
  margin: 15px;
}

.home-solution-col {
  padding: 30px 15px 0;
}

.press-release-col,
.event-col {
  padding: 25px 10px 0;
}

.event-col img {
  border: 1px solid #ddd;
}

#home-solution-col-wrapper .gdlr-core-pbf-wrapper-container > .gdlr-core-column-20:hover .home-solution-col {
  border-color: #ccc!important;
}

.home-solution-col .gdlr-core-column-service-content p {
  text-align: left;
  flex: 1;
}

@media (max-width: 999px) {
  
  #press-release-col-wrapper .gdlr-core-column-20,
  #press-release-col-wrapper .gdlr-core-column-15,
  #event-col-wrapper .gdlr-core-column-20,
  #event-col-wrapper .gdlr-core-column-15  {
    flex-basis: 50%;
    max-width: 50%;
  }
  
  .home-solution-col,
  .press-release-col,
  .event-col {
    padding: 25px 10px 0!important;
  }
  
  #home-solution-col-wrapper.solution-cols-4 .gdlr-core-pbf-wrapper-container > .gdlr-core-column-15 {
    flex-basis: 50%;
  }
}

@media (max-width: 767px) {
  
  #home-solution-col-wrapper .gdlr-core-pbf-wrapper-container > .gdlr-core-column-20,
  #home-solution-col-wrapper .gdlr-core-pbf-wrapper-container > .gdlr-core-column-15,
  #home-solution-col-wrapper.solution-cols-4 .gdlr-core-pbf-wrapper-container > .gdlr-core-column-15,
  #press-release-col-wrapper .gdlr-core-column-20,
  #press-release-col-wrapper .gdlr-core-column-15,
  #event-col-wrapper .gdlr-core-column-20,
  #event-col-wrapper .gdlr-core-column-15  {
    flex-basis: 100%;
    max-width: 100%;
  }
  
  #hero-home h1 {
   text-align: center;
  }
}

/* ----------------------------------------------------
  Page heroes
------------------------------------------------------- */

.hero h1 {
  font-size: 37px;
}

.hero > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
  background-size: 630px;
  background-position: calc(100% + 80px) 50px!important;
}

@media ( min-width: 1360px ) {
  
  .hero > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-size: 630px;
    background-position: 53vw 3.5vw!important;
  }
}

@media ( min-width: 1500px ) {
  
  .hero > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-size: 630px;
    background-position: 52vw 50px!important;
  }
}


@media ( max-width: 1200px ) {
  
  .hero h1 {
    font-size: clamp(29px, 3.5vw, 36px);
  }
  
  .hero > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-size: 630px;
    background-position: calc(100% + 140px) 50px!important;
  }
}

@media ( max-width: 999px ) {
  
  .hero > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-size: 59vw;
    background-position: calc(100% + 120px) 80px !important;
  }
}

@media ( max-width: 767px ) {
  
  .hero > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-size: 50vw;
    background-position: calc(100% + 110px) calc(100% + 50px) !important;
  }
}

@media ( max-width: 600px ) {
  
  .hero h1 {
    font-size: 27px;
  }
  
  .hero > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-position: calc(100% + 15vw) calc(100% + 5vw) !important;
  }
}

/* ----------------------------------------------------
  Individual page hero overrides
------------------------------------------------------- */

#hero-data-difference h1 {
  max-width: 680px;
}

#hero-retention h1 {
  max-width: 580px;
}

#hero-lead-seg h1 {
  max-width: 470px;
}

#hero-data-difference,
#hero-underwriting,
#hero-acquisition,
#hero-retention,
#hero-quoting,
#hero-case-studies,
#hero-lead-seg,
#hero-inspections,
#hero-pc-companies,
#hero-pc-agencies,
#hero-real-estate,
#hero-home-improvement {
  
}

#hero-lead-seg > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background,
#hero-home-improvement > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
  background-size: 630px;
  background-position: 100% 50px!important;
}

  
#hero-inspections > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
  background-size: 540px;
  background-position: calc(100% + 100px) 75px!important;
}

/* ---- Accounts for misalignment due to text line break on Inspections page -------------------------*/
@media ( min-width: 1000px ) and ( max-width: 1144px ) {
  
  #hero-inspections > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-position-y: 110px!important;
  }
} 

@media ( min-width: 1000px ) and ( max-width: 1199px ) {

  #hero-case-studies > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-size: 630px!important;
    background-position: calc(100% + 150px) 80px!important;
  }
  
  #hero-pc-companies > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-size: 630px!important;
    background-position: calc(100% + 150px) 80px!important;
  }
}

@media ( min-width: 1200px ) {
  
  #hero-inspections > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-position-x: 60vw!important;
  }
}

@media ( min-width: 1200px ) and ( max-width: 1359px ) {

  #hero-case-studies > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-size: 650px;
    background-position: calc(100% + 120px) 60px!important;
  }
  
  #hero-pc-companies > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-size: 650px;
    background-position: calc(100% + 120px) 60px!important;
  }
}

@media ( min-width: 1360px ) {
  
  #hero-case-studies > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-position: calc(100% + 3vw) 3.5vw!important;
  }
  
  #hero-lead-seg > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background,
  #hero-home-improvement > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-size: 630px;
    background-position: 50vw 3.5vw!important;
  }
  
  #hero-pc-companies > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-size: 630px;
    background-position: 56vw 50px!important;
  }
}

@media ( min-width: 1500px ) {
  
  #hero-case-studies > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-size: 670px;
    background-position: 58vw 50px!important;
  }
  
  #hero-lead-seg > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background,
  #hero-home-improvement > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-size: 670px;
    background-position: 50vw 50px!important;
  }
}

@media ( max-width: 1200px ) {
  
  #hero-data-difference > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-size: 570px;
    background-position: calc(100% + 130px) 70px!important;
  }
  
  #hero-lead-seg > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background,
  #hero-home-improvement > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-size: 640px;
    background-position: 48vw 50px!important;
  }
  
  #hero-pc-agencies > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-size: 640px;
    background-position: calc(100% + 170px) 60px!important;
  }
}

@media ( max-width: 999px ) {
  
  #hero-data-difference > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-size: 59vw;
  }
  
  #hero-lead-seg > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background,
  #hero-home-improvement > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-size: 60vw;
    background-position: calc(100% + 120px) 50px !important;
  }
  
  #hero-pc-agencies > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-size: 60vw;
    background-position: calc(100% + 70px) 80px !important;
  }
  
  #hero-inspections > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-size: 59vw;
    background-position-y: 65px!important;
  }
}

@media ( max-width: 767px ) {
  
  #hero-data-difference > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-size: 50vw;
    background-position: calc(100% + 110px) calc(100% + 50px) !important;
  }
  
  #hero-underwriting > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-position: calc(100% + 80px) calc(100% + 50px) !important;
  }
  
  #hero-lead-seg > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background,
  #hero-home-improvement > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-size: 50vw;
    background-position: calc(100% + 110px) calc(100% + 50px) !important;
  }
  
  #hero-pc-agencies > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-size: 50vw;
    background-position: calc(100% + 110px) calc(100% + 50px) !important;
  }
  
  #hero-inspections > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-size: 50vw;
    background-position-y: calc(100% + 20px)!important;
  }
}

@media ( max-width: 600px ) {
  
  #hero-data-difference > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-size: 49vw;
    background-position: calc(100% + 15vw) calc(100% + 8vw) !important;
  }
  
  #hero-underwriting > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-position: calc(100% + 11vw) calc(100% + 6vw) !important;
  }
  
  #hero-retention  > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-size: 60vw;
    background-position: calc(100% + 13vw) calc(100% + 13vw) !important;
  }
  
  #hero-lead-seg > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background,
  #hero-home-improvement > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-position: calc(100% + 15vw) calc(100% + 5vw) !important;
  }
  
  #hero-pc-agencies > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-position: calc(100% + 15vw) calc(100% + 5vw) !important;
  }
  
  #hero-inspections > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-size: 50vw;
    background-position: calc(100% + 40px) calc(100% + 20px)!important
  }
}

@media ( max-width: 415px ) {
  
  #hero-retention  > .gdlr-core-pbf-background-wrap > .gdlr-core-pbf-background {
    background-position: calc(100% + 11vw) calc(100% + 7vw) !important;
  }
}

/* ----------------------------------------------------
  Lists
------------------------------------------------------- */

/* li {
  margin: .8em 0;
} */

ul.features-list li:first-child,
ul.features-list-short:first-child,
ul.features-list-long:first-child {
  margin-top: 0;
}

.infinite-single-article .infinite-single-article-content ul,
.infinite-single-article .infinite-single-article-content ol {
  line-height: 1.6;
}

.gdlr-core-text-box-item ul,
.gdlr-core-text-box-item ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.gdlr-core-text-box-item li {
  margin-bottom: 6px;
}

ul.features-list,
ul.features-list-long,
ul.features-list-short,
ul.features-list-shorter,
ul.bullets-large {
  margin-left: 20px;
  list-style: none;
}

ul.bullets-large  {
  font-size: 1.1em;
}

.features-list > li,
.features-list-long > li,
.features-list-short > li,
.features-list-shorter > li,
.bullets-large > li {
  padding-left: 8px;
  font-size: .95em;
  list-style-image: url(/wp-content/themes/home-factors/images/v12-bullet.gif);
}

.features-list-long > li {
  margin-bottom: 30px; 
}

.features-list-short > li {
  margin-top: 0.6em;
  margin-bottom: 0.6em;
  line-height: 1.4;
}

.features-list-shorter > li {
  margin-top: 0.4em;
  margin-bottom: 0.4em;
  line-height: 1.4;
}

.list-3-col {
  column-count: 3;
  column-gap: 30px;
}

.list-3-col li:first-child {
  margin-top: 0;
}

@media (max-width: 999px) {
  
  .landing-page-template-default .list-3-col {
    column-count: 2;
    column-gap: 25px;
  }
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  /* IE10+ CSS here */
  .features-list > li:before {
    font-size: 12px; 
  }
}

.gdlr-core-text-box-item ul > ul,
.gdlr-core-text-box-item ol > ol {
  margin-left: 40px;
}

.gdlr-core-text-box-item ul > ul li,
.gdlr-core-text-box-item ol > ol li {
  margin-bottom: 2px;
}

.gdlr-core-page-builder-body .features-sublist {
  margin-top: 10px;
}

.features-sublist > li:before {

}

h5.list-header {
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 1.8em 0 0.8em;
  padding-bottom: 5px;
  color: #aaa;
  border-bottom: 1px solid #ddd;
}

/* ----------------------------------------------------
  2-col lists
------------------------------------------------------- */

@media ( max-width: 767px ) {
  
  .list-col-container .gdlr-core-pbf-column {
    float: none;
  }
  
  .gdlr-core-pbf-column:not(:last-child) .list-col .gdlr-core-item-pdb {
    padding-bottom: 0px;
  }
  
  .gdlr-core-pbf-column .list-col .gdlr-core-item-pdb .features-list li:first-child,
  .gdlr-core-pbf-column .list-col .gdlr-core-item-pdb .features-list-short li:first-child,
  .gdlr-core-pbf-column .list-col .gdlr-core-item-pdb .features-list-long li:first-child {
    margin-top: .6em;
  }
  
  .gdlr-core-pbf-column:not(:last-child) .list-col .gdlr-core-item-pdb .features-list,
  .gdlr-core-pbf-column:not(:last-child) .list-col .gdlr-core-item-pdb .features-list-short,
  .gdlr-core-pbf-column:not(:last-child) .list-col .gdlr-core-item-pdb .features-list-long,
  .gdlr-core-pbf-column .list-col .gdlr-core-item-pdb .features-list li:last-child,
  .gdlr-core-pbf-column .list-col .gdlr-core-item-pdb .features-list-short li:last-child,
  .gdlr-core-pbf-column .list-col .gdlr-core-item-pdb .features-list-long li:last-child {
    margin-bottom: 0;
  }
}


/* ----------------------------------------------------
  Hero sections
------------------------------------------------------- */

.hero h1,
.hero p {
  /* text-shadow: 0 0 20px rgba(0,0,0,.8); */
}

.hero p {
  line-height: 1.4;
}

/* ----------------------------------------------------
  Buttons
------------------------------------------------------- */

.gdlr-core-body .gdlr-core-button,
.gdlr-core-body .button-alt-gradient-dk a.gdlr-core-button,
.infinite-body .infinite-button,
.infinite-body input[type="button"],
.infinite-body input[type="submit"],
.button-secondary,
.button-alt-gradient-dk,
.frm_style_formidable-style.with_frm_style .frm_submit button.frm_chat_start {
  display: inline-block;
  color:#333;
  font-family: tenon, sans-serif!important;
  text-align: center;
  text-decoration: none !important;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -.01em;
  padding: 10px 22px;
  margin: 10px 0;
  border: none;
  border-radius: 4px;
  box-shadow: none;
  text-shadow: none;
  text-transform: none;;
}

/* Infinite hard-coded override */
.gdlr-core-call-to-action-item.gdlr-core-style-center-align .gdlr-core-call-to-action-item-button {
  margin-top: 20px;
}

.footer-cta .gdlr-core-body .gdlr-core-button {
  font-size: 25px;
}


/* ---- Sidebar/LP forms -------------------------*/

.gdlr-core-sidebar-item .hbspt-form,
.infinite-sidebar-area .hbspt-form {
  padding: 10px;
  background-color: #eee;
}

.single-landing-page .hs-form .hs_submit {
  margin-top: 30px;
}

.gdlr-core-sidebar-item .hbspt-form input.hs-button,
.infinite-sidebar-area .hbspt-form input.hs-button,
.single-landing-page .hs-form input.hs-button,
.white-form-bg .hs-form input.hs-button {
  width: 100%;
}

 /* ----------------------------------------------------
   Data bubbles (Consumer segments) 
 ------------------------------------------------------- */
 
 .data-bubbles-wrapper,
 .data-bubbles-header,
 .data-bubbles-inner {
   display: flex;
   flex-wrap: wrap;
 }
 
 .data-bubbles-wrapper-ctv,
 .data-bubbles-header-ctv,
 .data-bubbles-inner-ctv {
   justify-content: flex-end;
 }
 
 .data-bubbles-wrapper-segments,
 .data-bubbles-inner-segments {
   flex: 1;
 }
 
 .data-bubbles-header-ctv {
   height: 20vw;
   align-items: baseline;
   flex-direction: column;
 }
 
 .data-bubbles-inner {
 
 }
 
 .data-bubble {
   display: inline-block;
   flex: 0 0 auto;
   color: #fff;
   font-size: 1.1em;
   padding: 10px 25px;
   margin: 6px;
   border-radius: 100px;
   font-weight: 600; /* Temp - removed when fonts are switched over to new typo */
   box-shadow: 5px 5px 10px rgba(0, 0, 0, .15);
 }
 
 .data-bubble-lg {
   font-size: 1.3em;
   padding: 14px 24px 10px;
   margin-bottom: 6vw;
   justify-self: flex-start; 
 }
 
 .data-bubbles-wrapper-segments .data-bubble {
   display: block;
   flex: 1 auto;
   text-align: center;
   line-height: 1.2;
   color: #fff;
   font-size: .8em;
   padding: 12px 18px;
 }
 
 /* .data-bubble-green  { background-color: #5bb86a; }
 .data-bubble-blue   { background-color: #2b73de; }
 .data-bubble-red    { background-color: #ed5353; }
 .data-bubble-purple { background-color: #544982; }
 .data-bubble-orange { background-color: #ed6a21; }
 
 .data-bubble-misc-01 { background-color: #0088a6; }
 .data-bubble-misc-02 { background-color: #a9c449; }
 .data-bubble-misc-03 { background-color: #7a4a32; }
 .data-bubble-misc-04 { background-color: #4d6969; }
 .data-bubble-misc-05 { background-color: #af3b3b; }
 .data-bubble-misc-06 { background-color: #F1AD01; }
 .data-bubble-misc-07 { background-color: #d967d0; }
 .data-bubble-misc-08 { background-color: #636161; }
 .data-bubble-misc-09 { background-color: #bf783d; }
 .data-bubble-misc-10 { background-color: #37526a; }
 .data-bubble-misc-11 { background-color: #66a547; }
 .data-bubble-misc-12 { background-color: #af0067; }
 .data-bubble-misc-13 { background-color: #ed6a21; }
 .data-bubble-misc-14 { background-color: #544982; }
 .data-bubble-misc-15 { background-color: #2b73de; }
  */
  
  .data-bubble-blue-1   { background-color: #2b73de; }
  .data-bubble-blue-2   { background-color: #1b57b0; }
  .data-bubble-blue-3   { background-color: #448fff; }
  .data-bubble-gray-1   { background-color: #797979; }
  .data-bubble-gray-2   { background-color: #5d5d5d; }
  
  
  .data-bubble-misc-01 { background-color: #2b73de; }
  .data-bubble-misc-02 { background-color: #2b73de; }
  .data-bubble-misc-03 { background-color: #2b73de; }
  .data-bubble-misc-04 { background-color: #2b73de; }
  .data-bubble-misc-05 { background-color: #2b73de; }
  .data-bubble-misc-06 { background-color: #2b73de; }
  .data-bubble-misc-07 { background-color: #2b73de; }
  .data-bubble-misc-08 { background-color: #2b73de; }
  .data-bubble-misc-09 { background-color: #2b73de; }
  .data-bubble-misc-10 { background-color: #2b73de; }
  .data-bubble-misc-11 { background-color: #2b73de; }
  .data-bubble-misc-12 { background-color: #2b73de; }
  .data-bubble-misc-13 { background-color: #2b73de; }
  .data-bubble-misc-14 { background-color: #2b73de; }
  .data-bubble-misc-15 { background-color: #2b73de; }
 
 @media ( max-width: 999px ) {
   
   #ctv-data-bubbles-section .gdlr-core-pbf-background {
     background-position: top right 20%!important;
   }
   
   /* #homeowner-segments-data-bubbles-section .gdlr-core-column-15 {
     width: 50%;
   }
   
   #homeowner-segments-data-bubbles-section .data-bubble {
     flex: 1 0 100%;
   }
   
   #homeowner-segments-data-bubbles-section .gdlr-core-text-script-item {
     padding-bottom: 0;
   } */
   
 }
 
 @media ( max-width: 767px ) {
   
   #ctv-data-bubbles-section .gdlr-core-pbf-background {
     background-size: 2300px;
     background-position: top 35% right 33%!important;
   }
   
   #ctv-data-bubbles-section .gdlr-core-pbf-column:first-child {
     background-color: rgba(255, 255, 255, 0.8);
     padding: 20px 10px 15px;
   }
   
   .data-bubbles-wrapper-ctv {
     padding: 9vw 0 3vw;
   }
   
   .data-bubbles-wrapper,
   .data-bubbles-header,
   .data-bubbles-inner {
     justify-content: flex-start;
   }
   
   .data-bubbles-header-ctv {
     min-height: 12vw;
   }
   
   .data-bubble {
     font-size: 1em;
   }
   
   .data-bubble-lg {
     font-size: 1.2em;
     margin-bottom: 8vw;
   }
 }
 
 /* ----------------------------------------------------
   Homeowners segments section
 ------------------------------------------------------- */
 
 .segments-outer-wrapper {
   display: grid;
   grid-template-columns: 65% 10% 25%;
 }
 
 .data-bubbles-inner-segments {
   height: min-content;
 }
 
 .segments-outer-wrapper h4 {
   text-align: center;
   margin-bottom: 30px;
 }
 
 .behaviors-wrapper {
   display: flex;
   flex-direction: column;
   justify-content: center;
 }
 
 .behavior {
   display: flex;
   background: rgb(238,238,238);
   background: linear-gradient(0deg, rgba(243,243,243,1) 0%, rgba(255,255,255,1) 100%);
   border-radius: 8px;
   border: 1px solid #d7d7d7;
   padding: 10px;
   margin: 10px 0;
 }
 
 .behavior-icon img {
   max-width: 80px;
   display: block;
   mix-blend-mode: multiply;
 }
 
 .behavior-title {
   display: flex;
   align-items: center;
   line-height: 1.2;
   font-weight: 600;
   font-size: 17px;
   margin-left: 10px;
 }
 
 .segments-connector {
   display: flex;
   justify-content: center;
   align-items: center;
   background: linear-gradient(#ccc, #ccc) no-repeat center/2px 100%;
 }
 
 .segments-plus-sign {
   background-color: #fff;
   display: flex;
   justify-content: center;
   align-items: center;
   font-size: 80px;
   line-height: .8;
   padding-bottom: 8px;
   font-weight: 700;
   color: #ccc;
 }
 
 .segment-highlight {
   margin-bottom: 20px; 
 }
 
 .behavior-highlight {
   margin-bottom: 20px;
   margin-top: 0;
   font-weight: 700;
   text-align: center;
   display: inline-block;
   margin-top: 0;
   padding: 10px 25px;
   line-height: 1.6;
   }
   
 .segment-highlight-separator {
   text-align: center;
   color: #ccc;
   font-size: 70px;
   line-height: 0.6;
   margin-bottom: 7px;
 }
 
 
 @media (max-width: 900px) {
   
   .segments-outer-wrapper {
     grid-template-columns: 65% 5% 30%;
   }
   
   .data-bubbles-wrapper-segments .data-bubble {
     font-size: .7em;
     padding-left: 10px;
     padding-right: 10px;
   }
   
   .segments-connector {
     background: linear-gradient(#ccc, #ccc) no-repeat center/1px 100%;
   }
   
   .segments-plus-sign {
     font-size: 40px;
     padding-top: 8px;
   }
   
   .behavior-icon img {
     max-width: 60px;
   }
   
   .behavior-title {
     font-size: 15px;
   }
 }
 
 @media (max-width: 700px) {
   
   .segments-outer-wrapper {
     grid-template-columns: 1fr;
     grid-template-rows: repeat(6, auto);
   }
   
   .segments-outer-wrapper h4:nth-of-type(2) {
     grid-row: 5; 
   }
   
   .segments-outer-wrapper h4 {
     margin-bottom: 20px;
   }
   
   .segments-connector {
     background: transparent;
   }
   
   .segments-plus-sign {
     font-size: 80px;
     padding-top: 20px;
   }
   
   .behaviors-wrapper {
     align-items: center;
   }
   
   .behavior {
     max-width: 340px;
     width: 100%;
   }
 }
 
 @media (max-width: 550px) {
   
   .data-bubbles-wrapper-segments .data-bubble {
     font-size: .65em;
     padding: 10px 5px 8px;
     margin: 3px;
     border-radius: 5px;
   }
   
   .behavior {
     padding: 5px;
   }
   
   .behavior-highlight {
     line-height: 2.4;
   }
 }
 
 /* ----------------------------------------------------
   Views - misc.
 ------------------------------------------------------- */
 
 .wpv-pagination-nav-links-container .page-link {
   padding: 0.35em 0.55em 0.2em;
 }
 
 /* ----------------------------------------------------
   Views filter forms
 ------------------------------------------------------- */
 
 .wpv-filter-form {
   margin-bottom: 30px;
   font-size: 0.9em;
 }
 
 .wpv-filter-form .filter-group,
 .wpv-filter-form .form-group {
   margin: 0 20px 20px 0;
   display: inline-block;
 }
 
 .wpv-filter-form .filter-label,
 .wpv-filter-form .form-label,
 .wpv-filter-form .form-group label {
   display: inline-block;
   font-weight: 600;
   margin-right: 6px;
 }
 
 .wpv-filter-form select {
   font-size: 1em;
   padding: 6px 0 4px 6px;
 }
 
 .wpv-filter-form input[name="wpv_post_search"] {
   font-size: 1em;
   padding: 7px 0 5px 1.7em;
   border-bottom-width: 1px;
   background-image: url(/wp-content/themes/v12data/images/magnifying-glass-solid.svg);
   background-position: 6px center;
   background-size: .9em;
   background-repeat: no-repeat;
 }
 
 .wpv-filter-form input.wpv-submit-trigger,
 .wpv-filter-form input.wpv-reset-trigger {
   font-size: .8em;
   font-weight: 600;
   padding: 7px 14px; 
 }
 
 .wpv-filter-form input.wpv-submit-trigger {
   background-color: #777;
   color: #fff;
 }
 
 .wpv-filter-form input.wpv-submit-trigger:hover {
   background-color: #888!important;
 }
 
 .wpv-filter-form input[type="button"].wpv-reset-trigger {
   background-color: #ddd;
 }
 
 .wpv-filter-form input[type="button"].wpv-reset-trigger:hover {
   background-color: #eee!important;
 }
 
 @media ( min-width: 768px ) {
   
   .wpv-filter-form {
     text-align: center;
   }
 }
 
 @media ( max-width: 999px ) {
   
   .wpv-filter-form {
     font-size: .85em;
   }
 }
 
 @media ( max-width: 500px ) {
   
   .wpv-filter-form .filter-group,
   .wpv-filter-form .form-group {
     width: 100%;
   }
 }
 
 /* ----------------------------------------------------
   Knowledge Center 
 ------------------------------------------------------- */
 
 /* ---- Featured resource section -------------------------*/
 
 #featured-resource-section {
   /* display: none; */
 }
 
 #featured-resource-section .featured-resource-copy h2 {
   font-size: 24px!important;
   margin-top: 0;
   margin-bottom: .7em;
 }
 
 #featured-resource-section .featured-resource-copy h4 {
   font-size: 17px!important;
   text-transform: uppercase;
   margin-bottom: 1.1em;
   color: #888;
   border-bottom: 1px solid #ccc;
   padding-bottom: 0.6em;
 }
 
 @media ( min-width: 768px ) {
   
   #featured-resource-section .featured-resource-copy h2 {
     font-size: 26px!important;
   }
   
   #featured-resource-section .featured-resource-copy h4 {
     font-size: 18px!important;
   }
 }
 
 @media ( min-width: 1000px ) {
   
   #featured-resource-section .featured-resource-copy h2 {
     font-size: 30px!important;
   }
 }
 
 .js-wpv-view-layout .featured-resource-img {
   position: relative;
 }
 
 .featured-resource-date-time {
   font-size: 0.95em;
   font-weight: 600;
   margin-bottom: .7em;
 }
 
 .featured-resource-descrip p {
   font-size: 0.92em;
 }
 
 .featured-resource-img a:after {
   /* font-family: 'FontAwesome';
   content: '\f130';
   color: #fff;
   position: absolute;
   left: 30px;
   top: 7px;
   font-size: 2em;
   text-shadow: 0 0 10px rgba(0,0,0,0.7); */
 }
 
 #featured-resource-section .gdlr-core-button {
   margin-top: 0;
   margin-bottom: 0;
 }
 
 /* ---- Resource items grid -------------------------*/
 
 #wpv-view-layout-6277 .gdlr-core-text-box-item {
   
 }
 
 /* ---- Animation for items added via AJAX with "Load More" button ----------------*/
 
 #wpv-view-layout-6277 .gdlr-core-column-20 {
   opacity: 0;
   animation: show-resource 600ms 100ms cubic-bezier(0.38, 0.97, 0.56, 0.76) forwards;
 }
 
 @keyframes show-resource {
   100% {
     opacity: 1;
     transform: none;
   }
 }
 
 #wpv-view-layout-6277 .resource-link img {
   -webkit-transition: all .2s ease;
   -moz-transition: all .2s ease;
   -ms-transition: all .2s ease;
   -o-transition: all .2s ease;
   transition: all .2s ease;
 }
 
 #wpv-view-layout-6277 .resource-link img {
   opacity: .8;
 }
 
 #wpv-view-layout-6277 .resource-link:hover img {
   opacity: 1;
 }
 
 .js-wpv-view-layout .resource-image {
   background-color: #000;
 }
 
 .js-wpv-view-layout .resource-link {
   position: relative;
   display: block;
 }
 
 .js-wpv-view-layout .resource-type,
 .gdlr-core-pbf-column .resource-type {
   font-size: .75em;
   font-weight: 600;
   margin-bottom: .5em;
   text-transform: uppercase;
   color: #aaa;
   margin-bottom: 6px;
 }
 
 .js-wpv-view-layout .resource-type-badge {
   display: block;
   position: absolute;
   width: auto;
   top: 11px;
   left: 11px;
   z-index: 1;
   font-size: .8em;
   color: #fff;
   background: #ffd451;
   font-family: 'tenon';
   font-weight: 600;
   padding: 2px 12px 1px;
   border-radius: 24px;
   box-shadow: 5px 5px 8px rgba(0,0,0,0.1);
 }
 
 .js-wpv-view-layout .resource-type-badge.type-research-report {
   color: #333;
 }
 
 .js-wpv-view-layout .featured-resource-img .resource-type-badge {
   font-size: .9em;
 }
 
  .js-wpv-view-layout .resource-title {
   font-size: 1.2em;
   transform-origin: bottom;
   margin: 0.8em 0 .5em;
   display: block;
   font-weight: 500;
   line-height: 1.2;
   font-family: 'tenon', sans-serif;
 }
 
 .js-wpv-view-layout .resource-release-date {
   margin-bottom: 1em;
   text-transform: uppercase;
   font-weight: 600;
   font-size: 0.7em;
   display: inline-block;
   background: #ffd451;
   padding: 2px 8px;
   border-radius: 4px;
 }
 
 .js-wpv-view-layout .resource-descrip,
 .js-wpv-view-layout .event-descrip{
   font-size: .9em;
   line-height: 1.55;
 }
 
 .wpv-archive-pagination-nav-links,
 .wpv-archive-pagination-nav-links-container,
 .wpv-pagination-nav-links,
 .wpv-pagination-nav-links-container,
 .wpv-pagination-preview-element {
   clear: both;
   justify-content: center;
 }
 
 .wpv-pagination-nav-links .page-link {
   font-size: 1.1em;
 }
 
 li.wpv-archive-pagination-nav-links-item {
   margin-top: 0;
 }
 
 /* ---- Resource type badge colors -------------------------*/
 
 .js-wpv-view-layout .resource-type-badge.type-article             { background-color: #5bb86a; }
 .js-wpv-view-layout .resource-type-badge.type-audiences-catalog   { background-color: #42acb4; }
 .js-wpv-view-layout .resource-type-badge.type-case-study          { background-color: #2b73de; }
 .js-wpv-view-layout .resource-type-badge.type-ebook               { background-color: #ed5353; }
 .js-wpv-view-layout .resource-type-badge.type-infographic         { background-color: #544982; }
 .js-wpv-view-layout .resource-type-badge.type-marketing-overview  { background-color: #ed6a21; }
 .js-wpv-view-layout .resource-type-badge.type-miscellaneous       { background-color: #7a4a32; }
 .js-wpv-view-layout .resource-type-badge.type-research-report     { background-color: #ffd451; }
 .js-wpv-view-layout .resource-type-badge.type-solutions-overview  { background-color: #af0067; }
 .js-wpv-view-layout .resource-type-badge.type-success-kit         { background-color: #468c08; }
 .js-wpv-view-layout .resource-type-badge.type-webinar             { background-color: #ba6bcf; }
 
 @media ( max-width: 999px ) {
   
   #wpv-view-layout-6277 .gdlr-core-text-box-item {
     padding-left: 0;
     padding-right: 0;
   }
   
   .js-wpv-view-layout .featured-resource-img .resource-type-badge {
     font-size: .85em;
   }
   
   .js-wpv-view-layout .resource-type-badge {
     font-size: .75em;
   }
 }
 
 @media ( max-width: 767px ) {
   
   .js-wpv-view-layout .featured-resource-img .resource-type-badge {
     font-size: .75em;
     top: 11px;
     left: 11px;
     padding: 2px 12px 1px;
   }
   
   #wpv-view-layout-6277 .gdlr-core-column-20 {
     padding-left: 0;
     padding-right: 0;
   }
 }
 
 #resources-load-more-wrapper {
   text-align:center;
   clear:both;
 }
 
 #resources-load-more-wrapper .wpv-filter-next-link {
   cursor: pointer;
   color: #333;
   background-color: #ffd451;
   font-size: .8em;
   font-weight: 600;
   padding: 12px 20px 10px;
 }
 
 /** Hide button (which changes to a span) if there aren't any items left to show */
 
 #resources-load-more-wrapper span.wpv-filter-next-link {
   display: none;
 }
 
 /* ---- Press Release styles misc. -------------------------*/
 
 .press-release-col .resource-title {
   margin-top: 0;
 }
 
 .press-release-col .resource-descrip {
   margin-bottom: 0;
 }
 
 /* ---- Event styles misc. -------------------------*/
 
 .event-col .event-title {
   font-size: 1.3em;
   transform-origin: bottom;
   margin: 0.8em 0 .2em;
   display: block;
   font-weight: 500;
   line-height: 1.2;
   font-family: 'tenon', sans-serif;
  }
  
  .event-col .event-date-loc,
  .event-col .event-link {
    font-weight: 600;
    font-size: 0.8em;
  }
  
  .event-col .event-date-loc {
    margin-bottom: 1.2em;
    padding-bottom: .7em;
    border-bottom: 1px solid #ddd;
  }
  
  .event-col .event-date-loc span {
    color: #F7BB18;
  }
  
  .event-col .event-loc {
    display: inline-block;
  }
  
/* ----------------------------------------------------
   Landing pages
 ------------------------------------------------------- */

.lp-logo-header,
#gdlr-core-column-1:hover .gdlr-core-pbf-column-content-margin.lp-logo-header
/** Override some Goodlayers style that makes no sense **/
{
  border-bottom: 1px solid #ddd!important;
} 

/* ===================================================================
 *
 * Misc elements
 *
 * ================================================================ */

/* ----------------------------------------------------
    Lottie styles
  ------------------------------------------------------- */
 
 #home-factors-anim {
   border: 1px solid #ddd;
   background: #fff;
 }


/* ----------------------------------------------------
  SVG styling 
 ------------------------------------------------------- */
  
.svg-400 img {
  width: 400px;
}

.svg-500 img {
  width: 500px;
}

/* ----------------------------------------------------
  Case Study callout
------------------------------------------------------- */

#case-study-callout .gdlr-core-pbf-column-content-margin {
  background-color: #ffffff;
  box-shadow: 0px 0px 20px #dddddd;
  border-radius: 8px;
  margin: 20px;
  padding: 30px 20px 0;
}

#case-study-chart .gdlr-core-pbf-column-content-margin {
  margin-top: 25px;
}

/* ----------------------------------------------------
   Case study pull quote 
  ------------------------------------------------------- */

.alt-animated-cols .case-study-quote,
.alt-animated-cols .case-study-quote-sm {
    border-radius: 8px;
    box-shadow: 0px 0px 20px #ddd;
  }

.gdlr-core-column-service-item.case-study-quote .gdlr-core-column-service-title {
  line-height: 1.5;
  margin-bottom: 25px;
}

.gdlr-core-column-service-item.case-study-quote-sm .gdlr-core-column-service-title {
  line-height: 1.45;
  margin-bottom: 20px;
}

/* ----------------------------------------------------
  Case Studies listing pages
------------------------------------------------------- */

#wpv-view-layout-2116,
#wpv-view-layout-2616 {
  display: flex;
  flex-wrap: wrap;
}

#wpv-view-layout-2616 {
  justify-content: center;
}

.js-wpv-filter-form-2116 {
  display: none;
  /* margin-bottom: 60px; */
}

.case-study-block-outer {
  display: flex;
  flex-basis: calc(33% - 30px);
  margin: 0 15px;
  padding: 0;
  position: relative;
  top: 0;
  transition: top 300ms ease;
}

.case-study-block-outer:hover {
  top: -6px;
} 

.case-study-block {
  background-color: #ffffff;
  flex: 1;
  margin-bottom: 30px;
  border-radius: 6px;
  padding: 20px;
  box-shadow: 0px 0px 15px #ddd;
}

.case-study-block img {
  display: block;
}

.infinite-body .case-study-block h4.case-study-title {
  margin: 1em 0 10px;
  font-size: 1.05em!important;
  line-height: 26px; /** Explicit pixel-based line-height to avoid janky transition on hover **/
  color: #2b73de;
  transition: color .2s;
}

.infinite-body .case-study-block-outer:hover h4.case-study-title {
  color: #333;
}

.case-study-block p {
  font-size: 0.9em;
  line-height: 1.45!important;
}

 @media (max-width: 991px) {
  
  .case-study-block-outer {
    margin: 0 10px;
   flex-basis: calc(33% - 20px);
  }
  
  .case-study-block {
    padding: 15px;
  }
}

@media (max-width: 767px) {
   
   .case-study-block-outer {
    flex-basis: calc(50% - 20px);
   }
 }
 
 @media (max-width:600px) {
   
  .infinite-body .case-study-block h4.case-study-title {
    font-size: .95em!important;
    line-height: 22px; /** Explicit pixel-based line-height to avoid janky transition on hover **/
  }
}
 
 @media (max-width: 479px) {
   
  .case-study-block-outer {
    flex: unset;
    margin: 0;
  }
}

/* ----------------------------------------------------
  Icon blocks 
------------------------------------------------------- */
 
.icon-block img {
  max-width: 60px;
}

@media (max-width: 999px) {
  
  .icon-block img {
    max-width: 45px;
  }
  
  .icon-block.gdlr-core-column-service-icon-left.gdlr-core-left-align .gdlr-core-column-service-media {
    margin-right: 15px;
  }
}

/* ----------------------------------------------------
  Blue icon bars
------------------------------------------------------- */

#blue-bar-graphic {
  display: flex;
}

.blue-bar-col {
  flex: 0 1 33%;
}

.blue-bar-center-col {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blue-bar-col h3 {
  font-size: 1.5rem;
  text-align: center;
}

.blue-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-color: var(--porch-blue);
  border-radius: 6px;
  margin-bottom: 15px;
  padding: 10px 13px;
}

.blue-bar .blue-bar-icon-wrapper {
  width: 10%;
  height: 32px;
}

.blue-bar .blue-bar-icon,
.blue-bar .blue-bar-text {

}

.blue-bar .blue-bar-icon {
  width: 40px;
  height: 100%;
  object-fit: contain;
}

.blue-bar .blue-bar-text {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  margin-left: 5%;
  line-height: 1.2;
}

@media (max-width: 767px) {
  
  .blue-bar-col {
    flex: 0 1 40%;
  }
}

@media (max-width: 550px) {
  
  #blue-bar-graphic {
    flex-direction: column;
  }
  
  .blue-bar-center-col {
    order: 1;
    display: block;
    width: 100%;
    text-align: center;
  }
  
  .blue-bar-center-col img {
    max-width: 150px;
  }
  
  .blue-bar-col:first-child { order: 2; margin-bottom: 30px; }
  .blue-bar-col:last-child { order: 3; }
  
  .blue-bar .blue-bar-text {
    margin-left: 15px;
  }
}

/* ===================================================================
 *
 * HupSpot forms 2024 - remove all others once approved
 *
 * ================================================================ */
  
.hs-form-field {
  margin-bottom: 15px;
}

.hs-form-field .hs-fieldtype-textarea {
  min-height: 100px;
}

.hs-form-field > label {
  font-size: 0.85em;
  font-weight: 600;
  color: #444;
}

.hs-input:not([type="checkbox"]) {
  width: 100%!important;
  font-size: 0.9em;
  padding: 8px;
  border: 1px solid #d7d7d7!important;
  color: #444!important;
}

/* .hs-error-msg {
  color: #d24141;
}

.hs-error-msgs ::marker {
  color: #444;
}

.hs-error-msgs a,
.hs-error-msgs a:hover {
  color: #444!important;
  font-style: italic;
} */

/** Clearout.io errors supercede Hubspot **/

.hs-form-field ul.hs-error-msgs {
  display: none!important;
}

.hs-form .hs_submit {
  margin-top: 20px;
}

.hs-form select.hs-input {
  color: #444;
  height: auto;
}

.legal-consent-container {
  font-size: .75em;
}

.legal-consent-container ul.inputs-list {
  list-style: none;
  margin-left: 0;
}

.legal-consent-container input[type="checkbox"] {
  margin-right: 8px;
}

.legal-consent-container .hs-richtext {
  font-size: .9em;
}

/* ---- Clearout.io overrides -------------------------*/

.co-feedback-container .co-error-msg span {
  color: #ffcece!important;
}


/* ===================================================================
 *
 * Property Perspectives
 *
 * ================================================================ */

/* ----------------------------------------------------
  Property Perspectives single blog overrides
------------------------------------------------------- */

.infinite-blog-title-container.infinite-container {
  max-width: 1000px;
}

.infinite-blog-title-wrap.infinite-style-custom {
  background-image: none;
  background-color: #eee;
}

.pp-post-head {
  display: flex;
}

.pp-post-title-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1 0 55%;
}

.pp-back-link {
  font-size: 0.75em;
  margin-bottom: 30px;
}

.pp-back-link a {
  color: #777;
}

.pp-back-link i {
  font-size: .8em;
  vertical-align: middle;
}
  
h1.pp-post-title.infinite-single-article-title {
  font-size: 2em;
  line-height: 1.2;
  margin-bottom: 0.7em;
}

.pp-author-meta {
  display: flex;
}

.pp-author-img {
  display: inline-block;
  border-radius: 200px;
  overflow: hidden;
}

.pp-author-img img {
  display: block;
}

.pp-author-info {
  align-self: center;
  padding-left: 20px;
  font-size: 0.9em;
  line-height: 1.5;
}

.pp-author-name span {
  font-weight: 600;
}

.pp-author-title {
  font-style: italic;
  font-size: 0.9em;
}

.pp-featured-img {
  align-self: center;
}

.pp-featured-img img {
  display: block;
}

.pp-author.infinite-single-author {
  margin-bottom: 60px;
}

.pp-author.infinite-single-author .infinite-single-author-wrap {
  max-width: 90%;
}

.pp-author.infinite-single-author .infinite-single-author-caption {
  letter-spacing: 0;
}

.infinite-single-author-description {
  font-size: 0.9em;
  text-align: left;
}

.pp-footer-back-link {
  text-align: center;
  font-size: 0.9em;
  padding-bottom: 80px;
}

.pp-footer-back-link i {
  font-size: 0.8em;
  vertical-align: middle;
}

/* ---- Property Perspectives main page -------------------------*/

.infinite-body h5.pp-underline {
  font-weight: 700;
}

.pp-underline {
    background-image: url(images/yellow-swash-property-perspectives.svg);
    background-position: bottom center;
    background-repeat: no-repeat;
    display: inline-block!important;
    width: fit-content;
    padding-bottom: 12px;
}

#pp-featured-video-section h2 {
  margin-top: 0;
}

.pp-video-listing-outer {
  margin-bottom: 40px;
}

.infinite-body .pp-video-listing-outer h4.pp-video-listing-title {
  margin: 1em 0 10px;
  font-size: 1em!important;
}

.pp-post-preview .pp-post-title-wrapper {
  flex-basis: 50%;
  padding-right: 60px;
}

.infinite-body .infinite-page-wrapper .pp-post-preview h3.pp-post-title {
  margin: 10px 0;
}

.infinite-body .infinite-page-wrapper .pp-post-preview .pp-post-title a {
  color: #333;
}

.infinite-body .infinite-page-wrapper .pp-post-preview .pp-post-title a:hover {
  color: #000;
}

.pp-post-preview p.pp-post-excerpt {
  font-size: .9em;
}

.pp-post-preview .pp-read-more {
  font-weight: 600;
}

.pp-post-preview .pp-read-more i {
  font-size: .8em;
}

.pp-post-preview .pp-read-more {
  
}

/* ---- Property Perspectives homepage section -------------------------*/

.pp-post-preview-home {
  
}

.pp-post-preview-home .pp-featured-img {
 
}

.infinite-body .pp-post-preview-home h4.pp-post-title {
  margin-top: .9em;
}

.pp-post-preview-home .pp-author-img {
  max-width: 60px;
}

/* ---- Property Perspectives media queries -------------------------*/

@media ( max-width: 999px ) {
  
  h1.pp-post-title.infinite-single-article-title {
    font-size: 1.85em;
  }
  
  .pp-back-link i {
    font-size: 1em;
  }
}

@media ( max-width: 767px ) {
  
  .infinite-blog-style-1 .infinite-content-area {
    padding-top: 40px;
  }
  
  .infinite-blog-title-wrap .infinite-blog-title-content {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }
  
  .pp-post-head,
  .pp-post-title-wrapper {
    display: block;
  }
  
  .pp-post-preview .pp-post-title-wrapper {
    padding-right: 0;
  }
  
  .infinite-blog-title-wrap .pp-post-title-wrapper .infinite-single-article-title {
    max-width: none;
  }
  
  h1.pp-post-title.infinite-single-article-title {
    font-size: 1.7em;
  }
  
  .pp-author-meta {
    margin-bottom: 30px;
  }
  
  .pp-author-img {
    max-width: 60px;
  }
}

/* ----------------------------------------------------
  Reverse on mobile
------------------------------------------------------- */

@media ( max-width: 767px ) {
  
  .gdlr-core-body .mobile-reverse-order .gdlr-core-pbf-column:nth-child(1) {
    order: 2;
  }
  
  .gdlr-core-body .mobile-reverse-order .gdlr-core-pbf-column:nth-child(2) {
    order: 1;
  }
}

/* ----------------------------------------------------
  Misc.
------------------------------------------------------- */

.img-multiply img {
  mix-blend-mode: multiply;
}

@media ( max-width: 767px ) {

  .mobile-left {
    text-align:left;  
  }
}

/* ===================================================================
 *
 * Goodlayers overrides misc
 *
 * ================================================================ */

.gdlr-core-column-service-item .gdlr-core-column-service-title {
  line-height: 1.25;
}

.gdlr-core-column-service-item .gdlr-core-column-service-read-more i {
  margin-left: 8px;
}

.gdlr-core-page-builder-body [data-skin="Blue Light"] .gdlr-core-column-service-item .gdlr-core-column-service-read-more i {
  color: #ffe496;
}

.gdlr-core-page-builder-body [data-skin="Blue Light"].section-white-content label,
.gdlr-core-page-builder-body [data-skin="Blue Light"].section-white-content .hs-form-field label {
  color: #fff!important;
}

/* Allow full width sections at tablet/mobile size */

@media only screen and (max-width: 767px) {
  body .full-width .gdlr-core-container-custom,
  body .full-width .gdlr-core-container {
    max-width: none!important;
  }
}