/* Capital Direct Mobile css styles (customizations) - last updated April 14, 2023 - */

html {
  scroll-behavior: smooth;
}

#cd-mobile-prime {
  display: block;
  margin: 0 auto;
  box-sizing: border-box;
}

#xcd-mobile-prime {
  background: transparent !important;
}

#flexi-line-svg {
    box-sizing: border-box;
    width: 100%;
    padding: 0;
    margin: 0;
    position: relative;
    top: 0px;
    left: 0px;
    z-index: 0;
}

#cdHomePageForm,
#flexilineCallout,
#cdHomePageCallout,
#cd3SimpleSteps,
#youTubeCallout,
#cdCustomerStories,
#cdNewsletter,
#cdTestimonials,
#cdCommunity {
  background: #fff;
  color: #fff;
  display:block;
  padding: 0px;
  margin: 12px auto;
  box-sizing: border-box;
  /* min-width: 300px;
  max-width: 358px; */
  position: relative;
}
/* Create the hidden pseudo-element */
/* include the shadow for the end state */
#cdHomePageForm::after,
#flexilineCallout::after,
#cdHomePageCallout::after,
#cd3SimpleSteps::after,
#youTubeCallout::after,
#cdCustomerStories::after,
#cdNewsletter::after,
#cdTestimonials::after,
#cdCommunity::after,
#pageWhatPeopleSayHdr::after,
.flexilineHdr::after,
.phoneHdr::after,
.cdBoxShadow::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.08;
  border-radius: 0px;
  -webkit-box-shadow: 0px 0px 5px 5px #000;  /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
  -moz-box-shadow:    0px 0px 5px 5px #000;  /* Firefox 3.5 - 3.6 */
  box-shadow:         0px 0px 5px 5px #000;  /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */
  transition: opacity 0.3s ease-in-out;
  top: 0px;
  left: 0px;
}
/*
.phoneHdr::after,
.pageWhatPeopleSay::after,
.pageWhatWeOffer::after,
.pagePlanning::after,
.pageOffices::after
*/

.navbar-header {
  width: 100%;
}
.container-fluid {
  padding: 0px !important;
}
.navbar-default .navbar-link {
  background-color: #064A68;
}
.navbar-default ul.navbar-nav {
  background-color: #064A68;
  display: inline-grid;
  text-align: right;
}
.navbar-default .navbar-nav>li>a {
  background-color: #064A68;
  color: #fff;
}
.navbar-default .navbar-nav>li>a:hover {
  background-color: #fff;
  color: #064A68 !important;
}

/*SPACER for Nav */
.navSpacer {
  display: block;
  height:65px;
}


/* Edits: Body background. Franklin Google Font overwrite */
body {
  color: #484B4D;
  font-family: 'FranklinGothicFSMedRegular', sans-serif !important;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-family: 'FranklinGothicFSBookRegular', sans-serif !important;
    font-size: 15px;
    font-weight: normal;
    color: #064A68;
}
h2 {
    font-size: 34px;
}
h3, h4 {
    font-size: 28px;
    padding-bottom: 16px;
}
.img-fluid {
  max-width: 100%;
  height: auto;
  width: 100%;
}

.g-color-cd-blue {
    color: #064A68 !important;
}

i.fas {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  color: #064A68;
}


.btn-primary {
  background: linear-gradient(0deg, #03283A, #004762 80%, #004762) !important;
  color: #FFF !important;
  font-family: 'FranklinGothicFSBookRegular', sans-serif !important;
  font-size: 18px !important;
  border: 0px !important;
  width: 167px;
  height: 36px;
  line-height: 1.4;
}
.btn-primary:hover {
  background: linear-gradient(0deg, #004762, #03283A 80%, #03283A) !important;
  transform: scale(1.1) perspective(1px);
}

/* +++++++++++++++++++++++++++++++++++++++++++++ BUTTON ORANGE  */
.btn-primary-orange {
  background: linear-gradient(0deg, #e07901, #FE8C0E 80%, #fe9822) !important;
  color: #FFF !important;
  font-family: 'FranklinGothicFSBookRegular', sans-serif !important;
  font-size: 18px !important;
  border: 0px !important;
  width: 167px;
  height: 36px;
  line-height: 1.4;
}
.btn-primary-orange:hover {
  background: linear-gradient(0deg, #fe9822, #FE8C0E 80%, #e07901) !important;
  transform: scale(1.1) perspective(1px);
}

/* +++++++++++++++++++++++++++++++++++++++++++++ BUTTON BLUE LARGER */
.btn-primary-blue-large {
  background: linear-gradient(0deg, #03283A, #004762 80%, #004762) !important;
  color: #FFF !important;
  font-family: 'FranklinGothicFSBookRegular', sans-serif !important;
  font-size: 22px !important;
  border: 0px !important;
  width: 182.26px;
  height: 44.92px;
  line-height: 1.4;
}
.btn-primary-blue-large:hover {
  background: linear-gradient(0deg, #004762, #03283A 80%, #03283A) !important;
  transform: scale(1.1) perspective(1px);
}


.btn-secondary {
  background-color: #F6921E;
  color: #FFF !important;
  font-family: 'FranklinGothicFSMedRegular', sans-serif !important;
  font-size: 16.5px !important;
  border: 0px !important;
  width: 123px;
  height: 27px;
  padding: 0.155rem 0.25rem;
  text-shadow: 0px 1px 1px #6d3f0ac2;
  text-transform: uppercase;
  line-height: 1.4;
}
.btn-secondary:hover {
  background-color: #F6921E;
  color: #FFF;
  transform: scale(1.1) perspective(3px);
}



.cd-logo-fullsize {
  display: none;
}
.cd-logo-mobile {
  display: block;
}


/* Edits: Height */
.navbar input[type=button] {
  -webkit-appearance: none;
}


/* +++++++++++++++++++++++++++++++++++++++++++++ NAVIGATION  */
.navbar {
  margin-bottom: 0;
  margin: 0 auto;
  /* background: linear-gradient(0deg, #004560, #004762 80%, #004762) !important; */
  z-index: 9999;
  border: 0;
  border-radius: 0;
  height: 70px;
  box-sizing: border-box;
  padding-left: 20px;
  padding-right: 20px;
}

.navbar-top {
  background: rgb(1,43,60);
  /* background: linear-gradient(0deg, rgba(1,43,60,1) 0%, rgba(1,49,66,1) 87%, rgba(0,69,96,1) 100%); */
  background: #004762;
  border-bottom: 1px solid #598FAE;
  color: #FFF;
  font-family: 'FranklinGothicFSCdRegular', sans-serif !important;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  display: inline-block;
  float: left;
  box-sizing: border-box;
  /* padding: 8px 20px 5px 20px !important; */
  padding: 0px !important;
  height: 40px;
  position: relative;

  /* +++++++++++++++++++++++++++++++++++++++++++++ VBEAN - MAY 11/23: Removed / Do not display  */
  display: none;
}
.navbar-top a.nav-phone-link {
  color: #FFF;
  text-decoration: none;
  display: inline-block;
  /* float: left; */
  position: absolute;
  left: 20px;
  top: 10px;
}

.nav-top-button {
  display: inline-block;
  /* float: right; */
  position: absolute;
  right: 20px;
  top: 6px;
}

.bg-dark {
  background-color: #004762 !important;
}

.bg-white {
  background-color: #FFF !important;
}


.navbar-toggler {
    color: #FFF;
    border: 0px;
    border-color: #0000001a;
}
.navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: 0 0 0 0;
}
.navbar-dark .navbar-toggler-icon,
.navbar-light .navbar-toggler-icon {
    /* background-image:url(''); */
    vertical-align: bottom;
}

.navbar-brand {
  padding-top: 0.2125rem;
  /* padding-top: 0px; */
}

.navbar-collapse {
  /* background-color: #004762; */
  background-color: #FFF;
  margin-left: -20px;
  margin-right: -20px;
  -webkit-font-smoothing: antialiased;
  transition:all 750ms ease;
}

.navbar-white .navbar-nav .nav-link {
    color: #004762;
    font-family: 'FranklinGothicFSCdRegular', sans-serif !important;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    text-align: center;
    margin: 12px 0px 0px 0px;
}
.navbar-white .navbar-nav .nav-link:active,
.navbar-white .navbar-nav .nav-link:link,
.navbar-white .navbar-nav .nav-link:visited {
    color: #004762;
}
.navbar-white .navbar-nav .nav-link:hover {
  background-color: #004762;
  color: #FFF;
}
.navbar-white .navbar-nav .nav-link:first-child {
    margin: 18px 0px 0px 0px;
}
.navbar-white .navbar-nav .nav-link:last-child {
    margin: 0px 0px 12px 0px;
}
.navbar-white .navbar-nav .nav-link sup.tmNav {
  font-size: 14px;
}

.navbar-dark .navbar-nav .nav-link {
    color: #004762;
    font-family: 'FranklinGothicFSCdRegular', sans-serif !important;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    text-align: center;
    margin: 12px 0px 0px 0px;
}
.navbar-dark .navbar-nav .nav-link:first-child {
    margin: 18px 0px 0px 0px;
}
.navbar-dark .navbar-nav .nav-link:last-child {
    margin: 0px 0px 12px 0px;
}
.navbar-dark .navbar-nav .nav-link sup.tmNav {
  font-size: 14px;
}

/* DropShadow */
.navDropShadow {
  display: content !important;
  box-sizing: border-box;
  height: 8px;
  width: 100%;
  margin-bottom: -8px;
  position: relative;

  background: rgb(0,0,0);
  background: -moz-linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  background: -webkit-linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
  opacity: .15;
  z-index: 60;
}

/* iPad Nav */
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-collapse {
      display: none!important;
  }
  .collapse.show {
    display: flex!important;
    position: absolute;
    top: 70px;
    width: 100%;
  }
  .navbar-expand-lg .navbar-nav {
    flex-direction: column;
    width: 100%;
  }
  .navbar-collapse {
    -webkit-font-smoothing: antialiased;
    transition:all 0ms ease;
  }
}





/* ----------------------------------------------- Home Page Main 2022 */
/* ------------------------------------------------------------------- */

.centerh2 {
  width: 100%;
  text-align: center;
}

#cdHomePageMain {
    display: block;
    background: url('../images/cd-mobile-homepage-main-bk.jpg') top center no-repeat;
    background-size: cover;
    /* height:523px; */
    box-sizing: border-box;
    text-align: left !important;
}
#cdHomePageMain .topMain {
    display: block;
    min-height:223px;
    max-height:523px;
    box-sizing: border-box;
    padding: 50px 35px 35px 35px;
    position: relative;
}
#cdHomePageMain h1 {
  color: #004762 !important;
  font-family: 'FranklinGothicFSBookRegular', sans-serif !important;
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
}
#cdHomePageMain p {
  color: #484B4D !important;
  font-family: 'FranklinGothicFSCdRegular', sans-serif !important;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}
#cdHomePageMain p.content-threeSteps {
  color: #004762 !important;
  font-family: 'FranklinGothicFSCdRegular', sans-serif !important;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  padding-top: 19px;
  padding-bottom: 15px;
}
.content-applyTitle {
  color: #F6921E !important;
  font-family: 'FranklinGothicFSCdRegular', sans-serif !important;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}
.wrapper-applyOne {
  width: 60%;
}
.wrapper-applyTwo {
  width: 50%;
}
.wrapper-applyThree {
  width: 55%;
}

img.image-topMain {
  position: absolute;
  object-fit: cover;
  position: absolute;
  right: 25px;
  top: 72px;
  z-index: 10;
  width: 41%;
}

/* Landscape Home Page Erin  */
@media screen and (min-width: 576px) and (orientation: landscape) {
  img.image-topMain {
    width: 23%;
  }
}

#cdHomePageMainBottom {
  background: rgb(55,128,173);
  background: -moz-linear-gradient(180deg, rgba(55,128,173,1) 0%, rgba(21,84,113,1) 100%);
  background: -webkit-linear-gradient(180deg, rgba(55,128,173,1) 0%, rgba(21,84,113,1) 100%);
  background: linear-gradient(180deg, rgba(55,128,173,1) 0%, rgba(21,84,113,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3780ad",endColorstr="#155471",GradientType=1);
  display: block;
  /* height: 393px; */
}
#cdHomePageMainBottom .bottomMain {
    display: block;
    min-height:223px;
    max-height:523px;
    box-sizing: border-box;
    padding: 35px 50px 35px 35px;
    position: relative;
    text-align: left !important;
}
#cdHomePageMainBottom h2 {
  color: #FFF !important;
  font-family: 'FranklinGothicFSBookRegular', sans-serif !important;
  font-size: 26px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  padding-bottom: 15px;
}
#cdHomePageMainBottom p {
  color: #FFF !important;
  font-family: 'FranklinGothicFSCdRegular', sans-serif !important;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}
#cdHomePageMainBottom p.content-condensedBold {
  font-family: 'FranklinGothicDemiCondensed', sans-serif !important;
}

/* ----------------------------------------------- HOME WHAT PEOPLE SAY */
#cdHomeWhatPeopleSay {
  display: block;
  background-color:#FFF;
  min-height:500px;
  box-sizing: border-box;
  text-align: left !important;
}

.cdMobilePage {
  box-sizing: border-box;
  /* padding: 45px 40px 20px 40px; */
  padding-top: 45px;
  padding-bottom: 20px;
  --bs-gutter-x: 1.5rem;
    padding-right: calc(var(--bs-gutter-x) * 1.7);
    padding-left: calc(var(--bs-gutter-x) * 1.7);
}

/* Medium devices (tablets / desktop, 992px and up) */
@media (min-width: 992px) {
  .cdMobilePage {
    margin: 0 auto;
    width: 75%;
  }

  .cdFormMortgage-Hdr-Blurb {
    margin-left: 15% !important;
  }

  img.cdFormMortgagePhotoErin {
    right: 10% !important;
  }

}


#cdHomeWhatPeopleSay .cdWhatPeopleSayQuoteWordBalloon {
  display: block;
  color:#484B4D;
  box-sizing: border-box;
  /* min-width: 329px; */
  min-height: 90px;
  border-radius: 15px;
  position: relative;
  margin-bottom: 15px;
  width: 100%;
}

#cdHomeWhatPeopleSay .cdWhatPeopleSayQuoteWordBalloon.ltblue {
  display: inherit;
  background-color:#D8E5EC;
  box-sizing: border-box;
}
#cdHomeWhatPeopleSay .cdWhatPeopleSayQuoteWordBalloon.green {
  display: inherit;
  background-color:#E5EED2;
  box-sizing: border-box;
}

/* ARROW */
#cdHomeWhatPeopleSay .cdWhatPeopleSayQuoteWordBalloon.ltblue,
#cdHomeWhatPeopleSay .cdWhatPeopleSayQuoteWordBalloon.green {
  margin-top: 8px;
}
#cdHomeWhatPeopleSay .cdWhatPeopleSayQuoteWordBalloon.ltblue:after {
  content: " ";
  position: absolute;
  left: 17px;
  top: -10px;
  border-top: none;
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
  border-bottom: 10px solid #D8E5EC;
}
#cdHomeWhatPeopleSay .cdWhatPeopleSayQuoteWordBalloon.green:after {
  content: " ";
  position: absolute;
  left: 17px;
  top: -10px;
  border-top: none;
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
  border-bottom: 10px solid #E5EED2;
}



/* ----------------------------------------------- FLEXILINE CALLOUT */
.flexilineHdr-wrapper {
  /*
  background: rgb(162,217,35);
  background: -moz-linear-gradient(180deg, rgba(162,217,35,1) 0%, rgba(137,182,35,1) 50%, rgba(121,168,15,1) 100%);
  background: -webkit-linear-gradient(180deg, rgba(162,217,35,1) 0%, rgba(137,182,35,1) 50%, rgba(121,168,15,1) 100%);
  background: linear-gradient(180deg, rgba(162,217,35,1) 0%, rgba(137,182,35,1) 50%, rgba(121,168,15,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#a2d923",endColorstr="#79a80f",GradientType=1);
  */
  /* Remove Background & Erin - April 20/23
  background: url('../images/cd-mobile-flexiline-green-bk-logo-erin.jpg') bottom center no-repeat #a2d923;
  */
  background: url('../images/cd-mobile-flexiline-green-bk-logo-only.jpg') top center no-repeat #a2d923;
  background-size: cover;
  background-size: 100% 100%;

  box-sizing: border-box;
  height: 218px;
  min-height: 487px;
  position: relative;
  color: #FFF;
  display:block;
  padding: 0px;
  margin: 0px auto;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
.flexilineHdr-content h2 {
  color: #FFF !important;
}
.flexilineHdr-content h2 sup {
  top: -1.4em;
}
/* ------- REPLACED H2 with SVG of Flexi Line tm & Logo */
.flexilineHdr-content svg {
  position: relative;
  top: -10px;
  left: 66%;
  transform: translateX(-67%);
  margin-top: 35px;
}
.flexilineHdr-content {
  /* background: url('../images/cd-mobile-flexiline-green-bk-logo-erin.jpg') -115px 15px no-repeat !important; */
  font-family: 'FranklinGothicFSCdRegular', MS, Arial, Sans-serif;
  font-weight: normal;
  /* font-size: 16px; */
  font-size: 17px;
  /* line-height: 18px; */
  line-height: 20px;
  display: block;
  box-sizing: border-box;

  /*
  min-height: 510px;
  padding: 28px 35px;
  */
}
.trade {
  font-size: 12px;
}
/* ------- REVISED - Apr '23 VB: new wrapper around content & button */
.flexilineHdr-content.zeroPaddingBelow {
  padding-bottom: 0px;
}


.flexilineHdr-content .flexilineHdr-content-revised-wrapper {
  margin-top: 19px;
  padding-left: 35px;
  padding-bottom: 28px;
}
.flexilineHdr-content-erin-landscape {
  /*
  display: none;
  */
  display: inline-block;
  min-height: 380px;
  margin-bottom: -50px;
  /*
  overflow: hidden;
  */
}
.cdFlexiCalloutPhotoErin {
  position: relative
  bottom: 0px;
  right: 0px;
  height: 400px;
}

/* ------- REVISED - Apr '23 VB: Shift button left */
.btn-primary-blue-large {
    margin-left: -5px;
}

/* ------- REVISED - Apr '23 VB: LANDSCAPE view */
/* Landscape flexilineHdr-content  */
@media screen and (min-width: 576px) and (orientation: landscape) {
    .flexilineHdr-content .flexilineHdr-content-revised-wrapper {
      margin-top: 0px;
      font-size: 19px;
    }
    .flexilineHdr-wrapper {
      background: url('../images/cd-mobile-flexiline-green-bk-logo-only.jpg') top center no-repeat #a2d923;
      background-size: cover;
      min-height: 320px;
    }
    .flexilineHdr-content {
      min-height: 320px;
    }
    .flexilineHdr-content-erin-landscape {
      display: inline-block;
      max-height: 340px;
      margin-bottom: -50px;
    }
    /* ------- REPLACED H2 with SVG of Flexi Line tm & Logo */
    .flexilineHdr-content svg {
      position: relative;
      top: -10px;
      width: 125%;
      height: 125%;
      left: 61%;
    }
}
@media only screen and (min-width: 600px) {
  /* For tablets: */
    .flexilineHdr-content .flexilineHdr-content-revised-wrapper {
      margin-top: 0px;
      font-size: 19px;
    }
    .flexilineHdr-wrapper {
      background: url('../images/cd-mobile-flexiline-green-bk-logo-only.jpg') top center no-repeat #a2d923;
      background-size: cover;
     min-height: 320px;
    }
    .flexilineHdr-content {
      min-height: 320px;
    }
    .flexilineHdr-content-erin-landscape {
      display: inline-block;
      max-height: 340px;
      margin-bottom: -50px;
      /*
      overflow: hidden;
      */
    }
    /* ------- REPLACED H2 with SVG of Flexi Line tm & Logo */
    .flexilineHdr-content svg {
      position: relative;
      top: -10px;
      width: 125%;
      height: 125%;
      left: 61%;
    }
}
/* Landscape flexilineHdr-content  */
@media screen and (max-width: 874px) and (orientation: landscape) {
    .flexilineHdr-content .flexilineHdr-content-revised-wrapper {
      margin-top: 0px;
      font-size: 19px;
    }
    .flexilineHdr-wrapper {
      background: url('../images/cd-mobile-flexiline-green-bk-logo-only.jpg') top center no-repeat #a2d923;
      background-size: cover;
     min-height: 320px;
    }
    .flexilineHdr-content {
      min-height: 320px;
    }
    .flexilineHdr-content-erin-landscape {
      display: inline-block;
      max-height: 340px;
      margin-bottom: -50px;
      /*
      overflow: hidden;
      */
    }
    /* ------- REPLACED H2 with SVG of Flexi Line tm & Logo */
    .flexilineHdr-content svg {
      position: relative;
      top: -10px;
      width: 125%;
      height: 125%;
      left: 61%;
    }
}
/* Landscape flexilineHdr-content iPhone SE  */
@media screen and (max-width: 667px) and (orientation: landscape) {
    .flexilineHdr-content .flexilineHdr-content-revised-wrapper {
      margin-top: 0px;
      font-size: 19px;
    }
    .flexilineHdr-wrapper {
      background: url('../images/cd-mobile-flexiline-green-bk-logo-only.jpg') top center no-repeat #a2d923;
      background-size: cover;
      min-height: 320px;
    }
    .flexilineHdr-content {
      min-height: 320px;
    }
    .flexilineHdr-content-erin-landscape {
      display: inline-block;
      max-height: 340px;
      margin-bottom: -50px;
      /*
      overflow: hidden;
      */
    }
    /* ------- REPLACED H2 with SVG of Flexi Line tm & Logo */
    .flexilineHdr-content svg {
      position: relative;
      top: -10px;
      width: 125%;
      height: 125%;
      left: 61%;
    }
}



/* ----------------------------------------------- HOME EQUITY CALLOUT */

.callout-home-equity-wrapper {
  background: rgb(254,152,34);
  background: -moz-linear-gradient(180deg, #5AA4CE 0%, #558BAB 100%);
  background: -webkit-linear-gradient(180deg, #5AA4CE 0%, #558BAB 100%);
  background: linear-gradient(180deg, #5AA4CE 0%, #558BAB 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#5AA4CE",endColorstr="#558BAB",GradientType=1);
  box-sizing: border-box;
  min-height: 218px;
  position: relative;
  color: #FFF;
  display:block;
  padding: 0px;
  margin: 0px auto;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
.callout-home-equity-content h2 {
  color: #FFF !important;
}
.callout-home-equity-content {
  font-family: 'FranklinGothicFSCdRegular', MS, Arial, Sans-serif;
  font-weight: normal;
  font-size: 17px;
  line-height: 19px;
  display: block;
  box-sizing: border-box;
  min-height: 218px;
  padding: 28px 35px;
}

.callout-mortgage-wrapper {
  background: rgb(90,164,206);
  background: -moz-linear-gradient(180deg, rgba(90,164,206,1) 0%, rgba(88,152,189,1) 39%, rgba(86,140,172,1) 100%);
  background: -webkit-linear-gradient(180deg, rgba(90,164,206,1) 0%, rgba(88,152,189,1) 39%, rgba(86,140,172,1) 100%);
  background: linear-gradient(180deg, rgba(90,164,206,1) 0%, rgba(88,152,189,1) 39%, rgba(86,140,172,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#5aa4ce",endColorstr="#568cac",GradientType=1);
  box-sizing: border-box;
  min-height: 218px;
  position: relative;
  color: #FFF;
  display:block;
  padding: 0px;
  margin: 0px auto;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
.callout-mortgage-content h2 {
  color: #FFF !important;
}
.callout-mortgage-content {
  font-family: 'FranklinGothicFSCdRegular', MS, Arial, Sans-serif;
  font-weight: normal;
  font-size: 17px;
  line-height: 19px;
  display: block;
  box-sizing: border-box;
  min-height: 218px;
  padding: 28px 35px;
}


/* ----------------------------------------------- FORM HOME PAGE */
.cd-form-hdr {
  background-color: #d6deeb;
  background: url('../images/cd-mobile-home-hdr-erin-bk-356x262.jpg') no-repeat #d6deeb !important;
  background-size: contain;
  border: 1px solid #fff !important;
  border-radius: 0px !important;
  /* max-width: 358px !important; */
  height: unset !important;
  /* max-height: 262px !important; */
  margin: 0px auto !important;
  height: 262px !important;
}
.cd-form-hdr img {
  /* width: 356px !important;
  height: 100% !important; */
  float: left;
  display: inline-block;
}
.cd-form-hdr img.img-landscape {
  /* display: none; */
  display: inline-block;
}

.cd-form-hdr-content {
  color: #33354C;
  position: relative;
  left: 43%;
  width: fit-content;
  margin-top: 5%;
  display: inline-block;
}
.cd-form-hdr-title {
  font-family: 'FranklinGothicFSBookRegular', MS, Arial, Sans-serif;
  font-weight: normal;
  font-size: 28px;
  line-height: 90%;
}
.cd-form-hdr-blurb {
  font-family: 'FranklinGothicFSBookRegular', MS, Arial, Sans-serif;
  font-weight: normal;
  font-size: 17px;
  position: relative;
  left: 16%;
  width: 80%;
  margin-top: 5%;
  display: inline-block;
  line-height: 110%;
}
.cd-form-hdr-blurb a {
  font-family: 'FranklinGothicFSBookBold', MS, Arial, Sans-serif;
  font-weight: normal;
  font-size: 17px;
}


#cdHomePageForm {
  background-image: linear-gradient(#175876, #387291, #5A8DAC);
  border: 1px solid #fff;
  /* max-width: 358px; */
  height: 100%;
  margin-top: 0px;;
}
.cd-modal {
  background-color: transparent;
  /* max-width: 360px; */
  border-top: 0px solid #799EB2;
  margin:0px auto;
  position: relative;
  z-index: 10;
  /*
  background-color: #064A68;
  border-radius: 11px;
  padding: 20px 20px 0px 20px;
   */
}
.cd-modal-bottom {
  /* border-radius: 0px 0px 11px 11px; */
}
.cd-modal-form table {
  width: 100%;
}
.cd-modal-form td.homeAppLabel,
.cd-modal-form td.homeAppFieldRadio,
.cd-modal-form td.homeAppField {
  font-family: 'FranklinGothicDemiCondensed', MS, Arial, Sans-serif;
  font-size: 15px;
  font-weight: normal;
  color: #004762;
  text-align: right;
  vertical-align:top;
  padding-top:0px;
  height:16px;
}
.cd-modal-form td.homeAppFieldRadio {
  font-size: 17px;
}
.cd-modal-form td.homeAppFieldRadio,
.cd-modal-form td.homeAppField {
  text-align: left;
  padding-left: 4px;
}
.cd-modal-form td.homeAppFieldRadio {
  line-height: 50%;
}

.cd-modal-form td.homeAppFieldRadio .homeAppLoanRangeText.long {
  font-size: 17px;
}

.cd-modal-form label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    /* font-weight: 700; */
    font-weight: normal;
}


.cd-modal-form input,
.cd-modal-form select,
.cd-modal-form option {
  font-family: 'FranklinGothicDemiCondensed', MS, Arial, Sans-serif;
  font-size: 16px;
  font-weight: normal;
  color: #064A68;
  display: inline-block;
  padding-left: 12px;
  /* border-radius: 0px;
  border: 1px solid #B2CAD6; */
  /* height: 23px; */
  /* height: 33px; */
    /* max-width: 320px; */
    /* min-width: 160px; */
  margin-bottom: 7px;
  width: 100%;
    /* opacity: .7; */
}
.cd-modal-form select,
.cd-modal-form option {
  padding-top: 6px;
  padding-bottom: 6px;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
}
:invalid  {
  color: #59879E !important;
}


.cd-modal-form input:focus,
.cd-modal-form select:focus,
.cd-modal-form option:focus {
  opacity: 1;
}
.cd-modal-form input:not(:placeholder-shown) {
  opacity: 1;
}
.cd-modal-form input[type="radio"   ] {
  font-family: 'FranklinGothicDemiCondensed', MS, Arial, Sans-serif;
  font-size: 16px;
  font-weight: normal;
  color: #064A68;
  border-radius: 0px;
  border: 1px solid #B2CAD6;
  height: unset;
  max-width: unset;
  min-width: unset;
  margin-bottom: 0px;
  margin-right: 8px;
  width: unset;
  vertical-align: text-top;
}


.cd-modal-form .homeApp500Guarantee {
  font-family: 'FranklinGothicFSMedRegular', MS, Arial, Sans-serif;
  font-size: 15px;
  font-weight: normal;
  color: #fff;
}

.cd-modal-form .homeAppSubmit  input[type="image"   ] {
  position: relative;
  top: 0px;
  border: 0px;
  width: 291px;
  max-width: 291px;
  height: 57px;
  margin-bottom: -7px;
}
.cd-modal-form .homeAppSubmit  input[type="image"   ]:hover {
  position: relative;
  top: 2px;
}


.cd-modal ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #7097AB;
}
.cd-modal ::-moz-placeholder { /* Firefox 19+ */
  color: #7097AB;
}
.cd-modal :-ms-input-placeholder { /* IE 10+ */
  color: #7097AB;
}
.cd-modal :-moz-placeholder { /* Firefox 18- */
  color: #7097AB;
}

.cd-modal .formTitle {
  font-family: 'FranklinGothicFSMedRegular', MS, Arial, Sans-serif;
  font-size: 26px;
  font-weight: normal;
  color: #fff;
  padding: 0px;
  margin-top: 8px;
  margin-bottom: 6px;
}
.cd-modal-form .cd-orange-btn {
  background-color: #F6921E;
  background-image: linear-gradient(180deg, #F9A117, #F6921E);
  border-radius: 6px;
  border: 0px;
  box-shadow: 2px 2px 3px #888888;
  display: inline-block;
  margin-bottom: 8px;
  width: 566px;
  /* height: 73px; */
  /* padding: 16px 20px; */
  padding: 18px 20px 13px 20px;
  /* font-size: 28px; */
  font-size: 24px;
  height: auto;
  line-height: 100%;
  font-family: 'FranklinGothicFSMedRegular', MS, Arial, Sans-serif;
  /* font-size: 35px; */
  font-weight: normal;
  color: #fff;
  letter-spacing: 0px;
  text-transform: uppercase;
  text-align: center;
  /* padding-top: 6px; */
  text-shadow: 0px 2px 2px #C06E10;
  text-decoration: none;
}
.cd-modal-form .cd-orange-btn:hover  {
  text-decoration: none;
  color: #fff;
  background-color: #fff;
  background-image: linear-gradient(#F9A117, #F4870F, #F6921E);
  text-shadow: 0px 2px 2px #C06E10;
}
.cd-modal .w3-red, .w3-hover-red:hover {
    color: #F6921E !important;
    background-color: #064A68 !important;
    border-radius: 11px;
}
@media screen and (max-width: 768px) {
  .cd-modal {
    /* margin-top: 16px; */
  }
  .cd-modal .formTitle {
    /* font-size: 24px; */
  }
}


/* ----------------------------------------------- FLEXI LINE CALLOUT */
#flexilineCallout,
.flexilineCallout-wrapper {
  display: block;
  position: relative;
  z-index: 5;
}
#flexilineCallout {
  font-family: 'FranklinGothicFSBookRegular', MS, Arial, Sans-serif !important;
  font-size: 16px;
  font-weight: normal;
  color: #333;
  line-height: 120%;
  padding-left: 18px !important;
  padding-right: 18px !important;
  /* max-width: 358px; */
  height: 100%;
}
#flexilineCallout h3 {
  font-family: 'FranklinGothicFSMedRegular', MS, Arial, Sans-serif !important;
  font-size: 19px;
  font-weight: normal;
  color: #064A68;
  line-height: 110%;
  margin: 26px 0px 0px 0px;
  padding-bottom: 0px;
}
#flexilineCallout h4 {
  font-family: 'FranklinGothicFSBookRegular', sans-serif !important;
  font-size: 19px;
  font-weight: normal;
  color: #064A68;
  line-height: 110%;
  margin: 0px 0px 17px 0px;
  padding-bottom: 0px;
}
#flexilineCallout a {
  min-width: 291px;
  max-width: 291px;
  height: 57px;
  border: 0px;
}
#flexilineCallout a img {
  position: relative;
  top: 0px;
  border: 0px;
  min-width: 291px;
  max-width: 291px;
  height: 57px;
  margin: 10px 0px 17px 0px;
}
#flexilineCallout a:hover img {
  position: relative;
  top: 2px;
}




/* ----------------------------------------------- ALL OTHER PAGES (NOT HOME OR FORMS) */
.pageWhatWeOffer,
.pagePlanning,
.pageOffices,
.pageWhatPeopleSay,
.pageNewsletterReg,
.pageThankYou {
  /* background-color: #E9F1F5; */
  font-family: 'FranklinGothicFSBookRegular', MS, Arial, Sans-serif;
  font-size: 16px;
  font-weight: normal;
  z-index: 5;
  position: relative;
  display: block;
}
.cdContentWrapper {
  display: block;
  position: relative;
  z-index: 5;
  padding-left: 0px;
  padding-right: 0px;
}

.contentPages h2 {
  font-family: 'FranklinGothicFSMedCdRegular', MS, Arial, Sans-serif;
  font-weight: normal;
  font-size: 26px;
  margin: 0px 0px 15px 0px;
  text-transform: capitalize;
  width: 100%;
  text-align: center;
}
.contentPages h2.lefth2 {
  text-align: left;
}

.contentPages h4 {
  font-family: 'FranklinGothicFSMedCdRegular', MS, Arial, Sans-serif;
  font-weight: normal;
  font-size: 18px;
  margin: 0px;
  text-transform: capitalize;
}
.contentPages a {
  text-decoration: underline;
}
.contentPages a:hover {
  text-decoration: none;
}
.contentPages .nav>li>a {
  text-decoration: none;
}
.contentPages hr {
  border: 1px solid #4E92B6;
}



/* ----------------------------------------------- PAGES - WHAT PEOPLE SAY */

.contentPages-WhatPplSay {
  box-sizing: border-box;
  color:#064a68;
  font-family: 'FranklinGothicFSCdRegular', MS, Arial, Sans-serif;
  font-size:24px;
  font-weight:normal;
  font-style:normal;
  line-height:120%;
  margin-left:-40px;
  margin-right:-40px;
  padding: 0px 40px 5px 40px;
}
.contentPages #pageWhatPeopleSayHdr {
  min-height: 300px;
  padding: 0px;
  margin: 0px auto;
  margin-bottom: 12px;
  border: 1px solid #fff;
  background-color: #175773;
  font-family: 'FranklinGothicDemiCondensed', MS, Arial, Sans-serif;
  font-weight: normal;
  line-height: 125%;
  z-index:5;
  position: relative;
  overflow: hidden;
  display: block;
}
.pageWhatPeopleSayHdr-image {
  min-width: 300px;
  min-height: 117px;
}
.pageWhatPeopleSayHdr-mobilePortrait {
  display: block;
  position: relative;
  z-index: 5;
}
.pageWhatPeopleSayHdr-mobileLandscape {
  display: none;
  position: relative;
  z-index: 5;
}
.pageWhatPeopleSayHdr-title {
  border-top: 1px solid #FFF;
  border-bottom: 1px solid #FFF;
  min-height: 108px;
  padding: 9px 27px 12px 27px; // Add 15 padding for container-fluid
}
.pageWhatPeopleSayHdr-title h2 {
  color: #FFF;
  font-family: 'FranklinGothicFSBookRegular', MS, Arial, Sans-serif;
  font-weight: normal;
  font-size: 20px;
}
.pageWhatPeopleSayHdr-title h4 {
  color: #FFF;
  font-family: 'FranklinGothicFSBookRegular', MS, Arial, Sans-serif;
  font-weight: normal;
  font-size: 14px;
}
.pageWhatPeopleSayHdr-blurb {
  background-color: #4E92B6;
  min-height: 70px;
  padding: 9px 27px 12px 27px;
  color: #FFF;
  font-family: 'FranklinGothicFSBookRegular', MS, Arial, Sans-serif;
  font-weight: normal;
  font-size: 12px;
}

.contentPages .pageWhatPeopleSay {
  font-family: 'FranklinGothicFSBookRegular', MS, Arial, Sans-serif;
  font-size: 16px;
  font-weight: normal;
  line-height: 140%;
  /* z-index:10; */
  position: relative;
  /* padding: 18px 0px 0px 0px; */
}
.contentPages .pageWhatPeopleSay .container {
  padding: 0px;
}
.contentPages .pageWhatPeopleSay .row {
  margin: 0px;
}
.contentPages .pageWhatPeopleSay .whatppsay-quote {
    font-family: 'FranklinGothicFSMedItalic', MS, Arial, Sans-serif;
    font-size: 18px;
    font-weight: normal!important;
    color: #104D6C;
    padding-top: 0px!important;
    margin-top: -18px!important;
    margin-bottom: 35px!important;
    padding-left: 30px!important;
}
.contentPages .pageWhatPeopleSay .whatppsay-signature {
    font-family: 'FranklinGothicFSBookRegular', MS, Arial, Sans-serif;
    font-size: 16px;
    font-weight: normal!important;
    color: #212121;
    padding-top: 15px!important;
    padding-bottom: 0px!important;
    margin-bottom: 20px!important;
    padding-left: 30px!important;
    background: url(/images/icon-whatpplsay-bubble.gif) top left no-repeat;
}


.pageCustomerStories .content-whatppsay {
  display: block;
  padding-bottom: 20px;
}

.pageNewsletterReg select {
  width: 230px;
  height: 34px;
}

/* ----------------------------------------------- ALL PAGES - PHONE HEADER */
.phoneHdr {
  min-height: 73px;
  color: #333;
  padding: 0px;
  margin: 0px auto;
  margin-bottom: 12px;
  border: 1px solid #fff;
  background: url('../images/cd-mobile-page-hdr-333phone-white-bk-300x73.jpg') no-repeat #FFF;
  font-family: 'FranklinGothicDemiCondensed', MS, Arial, Sans-serif;
  font-weight: normal;
  color: #4E7787;
  line-height: 125%;
  position:relative;
  z-index:5;
  display: block;
}
.formPages .phoneHdr {
  margin: 12px auto;
  margin-bottom: 0px;
}
.phoneHdr-link-wrapper {
  position: relative;
  left: 50px;
  top: 6px;
  width: fit-content;
  display: block;
  z-index: 5;
}
.phoneHdr-link-fullPhoneNumber {
  font-family: 'FranklinGothicDemiCondensed', MS, Arial, Sans-serif;
  font-weight: normal;
  font-size: 18px;
}
.phoneHdr-link-lettersPhoneNumber {
  font-family: 'FranklinGothicFSMedCdRegular', MS, Arial, Sans-serif;
  font-weight: normal;
  font-size: 16px;
  color: #598CAC;
}
.phoneHdr-link-fullPhoneNumber a {
  text-decoration: none;
}
.phoneHdr-link-lettersPhoneNumber {
  text-decoration: none;
}
/* ----------------------------------------------- FORMS ALL PAGES */
#formWrapper .agreetext {
  font-family: Arial, Sans-serif;
  font-size: 10px;
}
#formWrapper .agreetext strong {
  font-size: 10px;
  color: #333;
}
.agreetext-link a {
  color: #86B33F;
  font-size: 14px;
  line-height: 110%;
  text-decoration: none;
}
.agreetext-link a:hover {
  color: #86B33F;
  text-decoration: underline;
}
#agreement1,
#agreement2 {
  margin-bottom: 6px;
}
#agreement1,
#agreement2 {
  display: none;
  line-height: 12px;
}

.formPages .flexilineHdr {
  background-color: #FFF !important;
}

.formPages .flexilineHdr {
  background-color: #FFF !important;
}

#pageWhatPeopleSayHdr.pageThankYouHdr {
  margin-top: 0px;
}
#pageWhatPeopleSayHdr.pageThankYouHdr {
    min-height: 170px;
}
#pageWhatPeopleSayHdr.pageThankYouHdr .pageWhatPeopleSayHdr-title {
    border-top: 1px solid #FFF;
    border-bottom: 1px solid #FFF;
    min-height: 95px;
    padding: 9px 27px 0px 27px;
    // Add 15 padding for container-fluid: ;
}
#pageWhatPeopleSayHdr.pageThankYouHdr h2 {
    margin-bottom: 10px;
    text-transform: inherit !important;
}

.pageThankYou {
  font-family: 'FranklinGothicFSBookRegular', MS, Arial, Sans-serif !important;
  font-size: 16px;
  font-weight: normal;

}
.pageThankYou-content {
  margin-left: 15px;
  margin-right: 15px;
  width: fit-content;
}
.pageThankYou i {
  color:#92B43D;
  font-size: 28px;
}
.pageThankYou-heading {
  font-family: 'FranklinGothicFSBookBold', MS, Arial, Sans-serif !important;
  font-size: 19px !important;
  font-weight: normal;
  text-transform: inherit !important;
}
.pageThankYou-bold {
  font-family: 'FranklinGothicFSBookBold', MS, Arial, Sans-serif !important;
  font-size: 16px;
  font-weight: normal;
}
.pageThankYou-sig {
  font-family: 'FranklinGothicFSBookBoldItali', MS, Arial, Sans-serif !important;
  font-size: 14px;
  font-weight: normal;
  line-height: 110%;
}



/* ----------------------------------------------- FORMS - FLEXI */

#cdFormFlexi {
  /*
  background-color: #8EBE3F;
  background-image: linear-gradient(#8EBE3F, #679D15);
  */
  background-color: #3F7CA0;
  background-image: linear-gradient(#3F7CA0, #264D64);
  border: 1px solid #fff;
  /* max-width: 358px; */
  height: 100%;
  margin-top: 12px;
  position: relative;
  z-index: 10;
}
.form4MinClock {
  z-index: 9;
  position: absolute;
  top: 20px;
  left: 0px;
}
.cdFormFlexi-Hdr {
  font-family: 'FranklinGothicFSBookRegular', MS, Arial, Sans-serif !important;
  font-size: 16px;
  font-weight: normal;
  color: #FFF;
  line-height: 125%;
  width: 100%;
}
.cdFormFlexi-Hdr h2 {
  font-family: 'FranklinGothicDemiCondensed', MS, Arial, Sans-serif !important;
  font-size: 22px;
  font-weight: normal;
  color: #FFF;
  margin-top: 12px;
  margin-bottom: 12px;
  text-transform: capitalize;
}
.cdFormFlexi-Hdr h2.cdFormFlexiH2ShiftLeft {
  padding-top: 26px;
  padding-left: 24px;
  padding-bottom: 22px;
}
/* ~~~~~~~~~~~~~~~~~~~~~ Apple iPhone SE (2020) Portrait Media Queries */
@media only screen and (max-width: 375px) and (orientation: portrait) {
  .cdFormFlexi-Hdr h2.cdFormFlexiH2ShiftLeft {
    padding-left: 60px;
  }
}
.cdFormFlexi-Hdr h2 i {
  font-size: 34px;
  color: #FFF;
}
.cdFormFlexi-form form {
  margin: 14px;
}
#formWrapper {
  font-family: 'FranklinGothicDemiCondensed', MS, Arial, Sans-serif;
  font-size: 15px;
  font-weight: normal;
  color: #FFF;
}

#formWrapper input,
#formWrapper select,
#formWrapper option {
  font-family: 'FranklinGothicDemiCondensed', MS, Arial, Sans-serif;
  font-size: 16px;
  font-weight: normal;
  color: #333;
  /* border-radius: 0px; */
  border: 1px solid #064A68;
  /* height: 33px;
  max-width: 100%;
  min-width: 100%; */
  margin-bottom: 7px;
  /* opacity: .7; */
  position: relative;
  z-index: 30;
}
#formWrapper select,
#formWrapper option {
  color: #3B738D;
}
#formWrapper input::placeholder {
  color: #3B738D;
}
#formWrapper  input:focus,
#formWrapper  select:focus,
#formWrapper  option:focus {
  opacity: 1 !important;
}
.cdFormFlexi-form input:not(:placeholder-shown) {
  opacity: 1 !important;
}
#formWrapper input[type=radio] {
  height: 14px;
  width: 14px;
  vertical-align: text-top;
  max-width: 80px;
  min-width: 40px;
}
#formWrapper input[type="image"] {
  border: 0px solid #B2CAD6 !important;
  max-width: unset !important;
  min-width: unset !important;
  width: 261px;
  height: 48px !important;
  opacity: 1 !important;
}
#formWrapper .appform_sectiondata {
  border: 0px solid #4E92B5;
  background-color: #FFF;
  font-family: 'FranklinGothicFSBookRegular', sans-serif !important;
  font-family: Arial, Sans-serif !important;
  font-size: 10px;
  font-weight: normal;
  color: #333;
  padding: 0px;
  margin-bottom: 20px;
  opacity: 1;
}
#cdFormFlexi .agreetext-link {
  display: block;
  line-height: 130%;
  margin-bottom: 12px;
}
#cdFormFlexi .agreetext-link a {
  color: #FFF;
  font-size: 14px;
  line-height: 110%;
  text-decoration: underline;
}
#cdFormFlexi .agreetext-link a:hover {
  text-decoration: none;
}
#cdFormFlexi .agreetext-radio {
  display: block;
  line-height: 100%;
  margin-top: 8px;
  margin-bottom: 8px;
}


/* ----------------------------------------------- FORMS - MORTGAGE / EQUITY */

#cdFormMortgage,
#cdFormEquity {
    /*
    background-color: #3F7CA0;
    background-image: linear-gradient(#3F7CA0, #264D64);
    border: 1px solid #fff;
     */
    /* max-width: 358px; */
    height: 100%;

    position: relative;
    /* margin-top: 12px;
    z-index: 10; */
}
#cdFormMortgage {
    /* background-image: linear-gradient(#175876, #387291, #5A8DAC); */
    /*
    background-color: #4485A8;
    background-image: linear-gradient(#4485A8, #32617C); */
}

/* +++++++++++++++++++++++++++++++++++++++++++ FORM HEADERS & H2 */
.cdFormMortgage h2,
.cdFormEquity h2,
.cdFormFlexi h2,
.cdFormInstant h2 {
  font-family: 'FranklinGothicFSMedCdRegular', MS, Arial, Sans-serif !important;
  font-size: 22px;
  font-weight: normal;
  font-style: normal;
  color: #004762;
  margin-top: 12px;
  margin-bottom: 12px;
  text-transform: capitalize;
}
.cdFormMortgage-Hdr {
  background: url('../images/cd-header-forms-bg-logo.png') center center no-repeat #598FAE;
  background-size: cover;
  box-sizing: border-box;
  display: block;
  /* height: 328px; */
  width: 100%;
}
.cdFormEquity-Hdr {
  background: url('../images/cd-header-forms-bg-logo.png') center center no-repeat #F6921E;
  background-size: cover;
  box-sizing: border-box;
  display: block;
  /* height: 328px; */
  width: 100%;
}
.cdFormFlexi-Hdr {
  background: url('../images/cd-header-forms-bg-logo.png') center center no-repeat #8BB723;
  background-size: cover;
  box-sizing: border-box;
  display: block;
  /* height: 328px; */
  width: 100%;
}

.cdFormFlexi-Hdr.imgFlexiLine {
  xbackground: url('../images/cd-mobile-flexiline-white-line-bk.png') -105px 15px no-repeat transparent;
  background: url('../images/cd-mobile-flexiline-white-line-bk-1073x68-offset.png') top center no-repeat transparent;
}
/* ~~~~~~~~~~~~~~~~~~~~~ Apple iPhone 12 Pro (2020) Portrait Media Queries */
@media only screen and (max-width: 390px) and (orientation: portrait) {
  .cdFormFlexi-Hdr.imgFlexiLine {
    xbackground: url('../images/cd-mobile-flexiline-white-line-bk-1073x53.png') -390px 15px no-repeat transparent;
  }
}
/* Responsive Landscape Media Queries */
@media only screen and (min-width: 667px) and (orientation: landscape) {
  .cdFormFlexi-Hdr.imgFlexiLine {
    xbackground: url('../images/cd-mobile-flexiline-white-line-bk-1073x53.png') -74px 15px no-repeat transparent;
  }
}
/* ~~~~~~~~~~~~~~~~~~~~~ Apple iPhone 12 Pro (2020) Portrait Media Queries */
@media only screen and (max-width: 844px) and (orientation: landscape) {
  .cdFormFlexi-Hdr.imgFlexiLine {
    xbackground: url('../images/cd-mobile-flexiline-white-line-bk-1073x53.png') 0px 15px no-repeat transparent;
  }
}
/* ~~~~~~~~~~~~~~~~~~~~~ Apple iPhone SE (2020) Portrait Media Queries */
@media only screen and (max-width: 667px) and (orientation: landscape) {
  .cdFormFlexi-Hdr.imgFlexiLine {
    xbackground: url('../images/cd-mobile-flexiline-white-line-bk-1073x53.png') -255px 15px no-repeat transparent;
  }
}
.cdFormInstant-Hdr {
  background: url('../images/cd-header-forms-bg-logo.png') center center no-repeat #185571;
  background-size: cover;
  box-sizing: border-box;
  display: block;
  height: 328px;
  width: 100%;
}
.cdFormMortgage-Hdr-Blurb {
  font-family: 'FranklinGothicFSBookRegular', MS, Arial, Sans-serif !important;
  font-size: 16px;
  font-weight: normal;
  font-style: normal;
  color: #FFF;
  line-height: 20px;
  margin-left: 35px;
  width:46%;
  text-align:center;
}
.cdFormMortgage-Hdr-Blurb.percentWidthFifty {
  width:50%;
}


.cdFormMortgage-Hdr-Blurb a,
.cdFormMortgage-Hdr-Blurb a:link,
.cdFormMortgage-Hdr-Blurb a:visited,
.cdFormMortgage-Hdr-Blurb a:hover,
.cdFormMortgage-Hdr-Blurb a:active {
  font-family: 'FranklinGothicFSBookRegular', MS, Arial, Sans-serif !important;
  font-size: 22px;
  font-weight: normal;
  font-style: normal;
  color: #FFF;
  line-height: 20px;
  text-decoration: none;

  animation-name: bounce-1;
  animation-timing-function: linear;
  align-self: flex-end;
  animation-duration: 2s;
  animation-iteration-count: infinite;

  /* +++++++++++++++++++++++++++++++++++++++++++++ VBEAN - MAY 11/23: Removed / Do not display  */
  display: none;
}
@keyframes bounce-1 {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(9px); }
    100% { transform: translateY(0); }
}

.cdFormMortgage-Hdr-Blurb i {
  font-size: 24px;
  color: #FFF;
  text-decoration: none;
}
img.cdFormMortgagePhotoErin {
  position: absolute;
  top: 85px;
  right: 14px;
  z-index: 20;
}
img.cdFormMortgagePhotoErin {
  position: absolute;
  top: 85px;
  right: 14px;
  z-index: 20;
}

/* Align radio buttons on Instant Form */
.cdFormInstant-wrapper .homeAppLoanRangeText {
  vertical-align: -webkit-baseline-middle;
}

.cdFormMortgage-Hdr,
.cdFormEquity-Hdr,
.cdFormFlexi-Hdr,
.cdFormInstant-Hdr {
  font-family: 'FranklinGothicFSBookRegular', MS, Arial, Sans-serif !important;
  font-size: 22px;
  font-weight: normal;
  font-style: normal;
  color: #004762;
  line-height: 125%;
  padding: 0px;
}
.cdFormMortgage-Hdr h2,
.cdFormEquity-Hdr h2,
.cdFormFlexi-Hdr h2,
.cdFormInstant-Hdr h2 {
  font-family: 'FranklinGothicFSBookRegular', MS, Arial, Sans-serif !important;
  font-size: 32px;
  font-weight: normal;
  font-style: normal;
  color: #FFF;
  padding-top: 38px;
  padding-bottom: 12px;
  text-transform: capitalize;
  width: 100%;
  text-align: center;
}
.cdFormMortgage-Hdr h2 i,
.cdFormEquity-Hdr h2 i,
.cdFormFlexi-Hdr h2 i,
.cdFormInstant-Hdr h2 i {
  font-size: 34px;
  color: #FFF;
}
.cdFormMortgage-form form,
.cdFormEquity-form form {
  margin: 14px 0px;
}
/*
#cdFormMortgage h2,
#cdFormEquity h2 {
    font-size: 24px;
    color: #064A68;
    margin-bottom: 12px;
}*/
#cdFormMortgage #formWrapper,
#cdFormEquity #formWrapper {
  font-family: 'FranklinGothicFSMedCdRegular', MS, Arial, Sans-serif;
  font-size: 16px;
  font-weight: normal;
  font-style: normal;
  color: #004762;
}
#cdFormMortgage #formWrapper input,
#cdFormMortgage #formWrapper select,
#cdFormMortgage #formWrapper option,
#cdFormEquity #formWrapper input,
#cdFormEquity #formWrapper select,
#cdFormEquity #formWrapper option {
  font-family: 'FranklinGothicFSMedCdRegular', MS, Arial, Sans-serif;
  font-size: 16px;
  font-weight: normal;
  font-style: normal;
  color: #004762;
  border: 1px solid #E0E0E0;
  margin-top: 7px;
  margin-bottom: 7px;
  /* opacity: .7; */
}
#cdFormEquity #formWrapper select,
#cdFormEquity #formWrapper option,
#cdFormMortgage #formWrapper select,
#cdFormMortgage #formWrapper option {
  color: #004762;
}
#cdFormEquity #formWrapper input::placeholder,
#cdFormMortgage #formWrapper input::placeholder {
  color: #3B738D;
}
#cdFormEquity .agreetext-link,
#cdFormMortgage .agreetext-link {
  display: block;
  line-height: 130%;
  margin-bottom: 12px;
}
#cdFormEquity .agreetext-link a,
#cdFormMortgage .agreetext-link a {
  color: #004762;
  font-size: 14px;
  line-height: 110%;
  text-decoration: underline;
}
#cdFormEquity .agreetext-link a:hover,
#cdFormMortgage .agreetext-link a:hover {
  text-decoration: underline;
}
#cdFormEquity .agreetext-radio,
#cdFormMortgage .agreetext-radio {
  display: block;
  line-height: 100%;
  margin-top: 8px;
  margin-bottom: 8px;
}

/*                         SUBMIT BUTTON */
#cdFormMortgage #formWrapper input[type=submit],
#cdFormEquity #formWrapper input[type=submit] {
  font-family: 'FranklinGothicFSMedCdRegular', MS, Arial, Sans-serif;
  font-size: 20px;
  font-weight: normal;
  font-style: normal;
  color: #FFF;
  border: 1px solid #E0E0E0;
  height: 44px;
  width: 100%;
  opacity: 1;
}




/* ----------------------------------------------- FOOTER */
footer .container-fluid {
  margin-left: 0px !important;
  margin-right: 0px !important;
}
footer .container,
footer .container-sm,
footer .container-lg {
  background-color: #E6EEF3;
  border-bottom: 1px solid #FFF;
  box-sizing: border-box;
  width: 100%;
  padding: 47px 38px 44px 38px;
  margin-left: 0px;
  margin-right: 0px;
}

@media (min-width: 576px) and (orientation: landscape) {
  .container, .container-sm {
      max-width: 100%;
  }
}

footer .footerBackToTopLink {
  display: block;
  position: relative;
  float: right;
  width: 20px;
  height: 20px;
  z-index: 30;
}

footer .glyphicon {
  font-size: 20px;
  margin-bottom: 20px;
  color: #004762;
  float: right;
  opacity: .5;
}

footer h2.footer-callus-blurb {
  font-family: 'FranklinGothicFSMedCdRegular', sans-serif !important;
  font-size: 24px !important;
  font-weight: normal !important;
  color: #004762 !important;
  text-transform: capitalize;
}
footer h2.footer-callus-blurb span {
  font-family: 'FranklinGothicFSCdRegular', sans-serif !important;
  font-size: 20px;
}

footer p.footerTerms {
  margin-top: 16px;
}

footer p.footerTerms,
footer p.footerTerms a {
  font-family: 'FranklinGothicFSCdRegular', sans-serif !important;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  color: #598FAE;
  text-decoration:none;
}

footer p {
  font-family: 'FranklinGothicFSBookRegular', sans-serif !important;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  color: #828384;
}

footer p a {
  font-family: 'FranklinGothicFSBookRegular', sans-serif !important;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  color: #828384;
  text-decoration:none;
  -webkit-font-smoothing: antialiased;

}
footer p.footerLinks a {
  display: inline-grid;
  font-family: 'FranklinGothicFSBookRegular', sans-serif !important;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  color: #828384;
  text-decoration:none;
  -webkit-font-smoothing: antialiased;
}

footer a.footer-links {
  color: #004661;
  font-family: 'FranklinGothicFSCdRegular', sans-serif !important;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
}



@media screen and (max-width: 768px) {
  footer h1 {
    font-size: 36px;
  }
  footer h1 br {
    display: block;
  }
}


@media (min-width: 992px) {
  .container, .container-lg, .container-md, .container-sm {
    max-width: 960px;
    max-width: 100%;
  }
}


/* +++++++++++++++++++++++++++++++++++++++++++++++ [VBEAN: FEB 21/15, 2023] Revised Home Page, new Styles below */

.flexilineHdr-HomePagecontent {
  font-family: 'FranklinGothicFSCdRegular', MS, Arial, Sans-serif;
  font-weight: normal;
  font-size: 18px;
  line-height: 18px;
  display: block;
  box-sizing: border-box;
  height: 218px;
  padding: 0px 35px 28px 35px;
  z-index: 20;
}


/* ----------------------------------------------- Photo size of Dana & Erin - Default for Mobile / iPad */
.cdHomePageFlexiLineBk {
  /* min-height:594px; */
  min-height:567px;
  background: rgb(255,255,255);
  /* background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(247,249,243,1) 37%, rgba(210,228,170,1) 50%, rgba(147,187,54,1) 80%, rgba(136,180,34,1) 90%, rgba(153,204,35,1) 100%); */
  background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(247,249,243,1) 37%, rgba(210,228,170,1) 50%, rgba(147,187,54,1) 65%, rgba(136,180,34,1) 85%, rgba(136,180,34,1) 90%, rgba(153,204,35,1) 100%);
  overflow: hidden;
}
.cdHomePageFlexiLine-PhotoContainer {
  /*
  height: 600px;
  overflow: hidden;
  */

  position: relative;
  top: -95px;
}

.flexiPhotoPortrait {
  display:block;
}
.flexiPhotoLandscape {
  display:none;
}


/* ----------------------------------------------- Photo size of Dana & Erin - Desktop */
@media screen and (min-width: 538px) {
  .cdHomePageFlexiLine-PhotoContainer img {
    /* width:538px; */
    margin: 0 auto;
    z-index: 10;
  }
}

/* Landscape all newer mobile devices */
@media only screen
  and (min-device-width: 375px)
  and (max-device-width: 812px)
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) {
    .cdHomePageFlexiLineBk {
      min-height: 754px;
    }
}


/* Landscape all newer mobile devices */
@media only screen
  and (orientation: landscape) {

    .flexiPhotoPortrait {
      display:none;
    }
    .flexiPhotoLandscape {
      display:block;
    }
    .cdHomePageFlexiLine-PhotoContainer {
        top: -226px;
    }
    .cdHomePageFlexiLineBk {
      min-height: 754px !important;
    }
}

.cdHomePageFlexiLine-PhotoContainer imgXX { /* NOT USED */
  object-fit: contain; /* Do not scale the image */
  object-position:center; /* Center the image within the element */
  width: unset;
  max-width: 538px;
  min-height: 361px;
  min-height: 509px;
  margin: 0px auto;
}


.topMainWhiteBk {
  display: block;
  min-height: 191px;
  max-height: 523px;
  box-sizing: border-box;
  position: relative;
  background-color: #FFF;
  padding: 25px 0px 0px 0px;
  padding: 25px 0px 0px 0px;
}
a.cdHomePage-FlexiLine-phone-link {
  text-decoration: none;
  cursor: pointer;
}
a.cdHomePage-FlexiLine-phone-link:active,
a.cdHomePage-FlexiLine-phone-link:hover,
a.cdHomePage-FlexiLine-phone-link:visited {
  text-decoration: none;
  cursor: pointer;
}

#cdHomePageMain p {
  color: #484B4D !important;
  font-family: 'FranklinGothicFSCdRegular', sans-serif !important;
  font-size: 17px;
  font-style: normal;
  font-weight: 400;
  line-height: 19px;
}

.content-home-phonenum {
  color: #004762 !important;
  font-family: 'FranklinGothicFSMedCdRegular', sans-serif !important;
  font-size: 20px !important;
  line-height: 24px !important;
}
.content-home-phonenum span {
  color: #F6921E !important;
  font-family: 'FranklinGothicFSBookBold', sans-serif !important;
  font-size: 24px !important;
}

@media screen and (min-width: 538px) {
  .mobileNoBreak {display: none;}
}


/* ----------------------------------------------------------------------------------- */
/* ------------------------------- New IT1 MOBILE STYLES [Oct '23 Vbean] ------------- */
/* ----------------------------------------------------------------------------------- */

.row.g-0 {
  margin-left: 0px !important;
  margin-right: 0px !important;
}

.cdMobilePage {
  padding: 0px !important;
}


#home_info-community h3 {
  width: 75%;
  padding-left: 20px;
  margin-bottom: 0px;
}
a.it1-bgood-vid-position {
  top: -13px;
  left: 6%;
}

#cdHomePageMain p {
  font-size: 16px;
}
#cdHomePageMain p.it1_testimonials.quote {
    font-family: 'FranklinGothicFSMedCdRegular', MS, Arial, Sans-serif !important;
}
.contentHeader_title_new h2 {
  width: 50%;
}
#cdHomePageMain p.it1_testimonials.signature {
  margin-top: 20px;
  font-family: 'FranklinGothicFSBookRegular'!important;
  font-weight: normal;
  font-size: 14px;
}
#home_info-community h3 {
    width: 100%;
}
a.it1-bgood-vid-position:hover {
    left: 0;
}
#homeVideo {
    float: unset !important;
}


.slidersTabWhiteSmallText {
  margin-top:-12px; 
  font-size:11px; 
  font-size:7px; /* VB: OCT 18/23 1:17pm */
  text-align:left;
}

.carousel-caption {
    padding-top: 8px;
    padding-bottom: 10px;
}

.slidersTabBigPercent1 {
  font-family: FranklinGothicFSBookRegular !important; 
  font-weight: normal !important;
  font-size:28px; 
  font-size:19px; /* VB: OCT 18/23 1:17pm */
  /* text-shadow: 1px 1px 1px #000; */
  color: #FFF;
}
.slidersTabBigPercent2 {
  font-family: FranklinGothicFSBookRegular !important; 
  font-weight: normal !important; 
  font-size:26px;
  font-size:19px; /* VB: OCT 18/23 1:17pm */
  /* text-shadow: 1px 1px 1px #000; */
  color: #FFF;
}
.slidersRRSPBar {
  font-family: FranklinGothicFSBookRegular !important; 
  font-weight: normal !important; 
  font-size:13px; 
  font-size:10px; /* VB: OCT 18/23 1:17pm */
  width:100%; 
  padding:4px; 
  background-color: #004762; 
  border-top: 1px solid #FFF; 
  border-bottom: 1px solid #FFF; 
}


#cdHomePageMain .topMain {
    min-height:209px;
}

.noShowInPortrait {
  display: none;
}

#side_text .underneathText {
  font-size: 16px !important;
  margin-left: 0px !important;
}

.swiffycontainer2 {
  width: 322px; 
  height: 202px; 
  margin:20px auto; 
  clear:both;
}

.RuleOf72Revised {
  display:block;
  margin:0 auto;
  width: 310px;
}

.it1_testimonials.quote {
  font-size: 17px !important;
}
.it1_testimonials.home-link a {
    font-size: 15px !important;
}

a.it1-bgood-vid-position {
    left: 2% !important;
}
a.it1-bgood-vid-position:hover {
    left: 0% !important;
}


.NewRule72IT1 {
  background-color:#F9F9F9; 
  background: linear-gradient(#F9F9F9, #F7F7F8); 
  font-size:14px; 
  padding:10px; 
  width:100%; 
  margin: 20px auto; 
  border: 1px solid #000; 
  text-align:left;
}


.howItWorksVidMobilePortrait {
  display: block !important;
}
.howItWorksVidMobileLandscape {
  display: none !important;
}

footer .container-lg {
    background-color: #FFF;
    border-bottom: 0px solid #E6EEF3;
    box-sizing: border-box;
    padding: 20px 20px 20px 20px;
}

#footer, footer p {
  font-size: 10px !important;
}
footer a, footer a:link, footer a:visited, footer a:hover, footer a:active {
  text-decoration: underline;
  color: #779DB3;
  font-size: 10px !important;
}

/* Landscape */
@media only screen 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {
    
    #content-incometrustone-content-block {
      width: 98.5% !important;
    }
    
    #cdHomePageMain p {
      font-size: 16px !important;
      line-height: 125% !important;
    }
    .slidersTabBigPercent1 {
      font-size:56px;
      font-size:44px; /* VB: OCT 18/23 1:17pm */
    }
    .slidersTabBigPercent2 {
      font-size:50px;
      font-size:44px; /* VB: OCT 18/23 1:17pm */
    }
    .slidersRRSPBar {
      font-size:16px; 
      font-size:14px; /* VB: OCT 18/23 1:17pm */
      padding:6px; 
    }
    .slidersTabWhiteSmallText {
      font-size:13px; 
    }
    
    #content-incometrustone-right-nav {
      margin: 0 auto !important;
      width: 100% !important;
    }
    #content-incometrustone-right-nav #downloads {
      margin: 0 auto !important;
      width: 310px !important;
    }
    #content-incometrustone-right-nav #dlpop, 
    #content-incometrustone-right-nav a#download-investmentSummary, 
    #content-incometrustone-right-nav a#download-analystReport, 
    #content-incometrustone-right-nav a#download {
      margin-left: 0px;
    }
    .swiffycontainer2 {
      width: 522px; 
      height: 327px; 
      margin:20px auto; 
      clear:both;
    }
    .RuleOf72Revised {
      width: 518px;
    }
    #side_text .underneathText {
      margin: 18px auto !important;
      width: 50% !important;
    }
    #side_text .underneathText.orange {
    }
    #home-form table {
      margin: 0 auto !important;
      float: unset !important;
    }
    .contentHeader_title_new h2 {
      text-align: center;  
      width: 100%;
    }
    .contentHeader_title_new img {
      margin-left: 66% !important;
    }
    #cdHomePageMain p {
      font-size: 16px;
    }
    #home_info-community {
      margin: 21px auto !important;
      padding-bottom: 64px;
      width: 100% !important;
    }
    #home_info-community .home_info-community-photos {
      margin: 0 auto !important;
    }
    #homeVideo, #home_info-community h3 {
      margin: 0 auto !important;
      width: 310px !important;
    }
    
    .howItWorksVidMobilePortrait {
      display: none !important;
    }
    .howItWorksVidMobileLandscape {
      display: block !important;
    }
    
}