/* NEWSLETTER */

p {
  font-size: 16px;
  margin-bottom: 24px;
  line-height: 24px;
}

p.medium {
  font-size: 20px;
  line-height: 30px;
  margin-bottom: 36px;
}

p.medium.strong {
  font-weight: 600;
  margin-bottom: 16px;
}

h2.medium {
  font-size: 30px;
  margin-bottom: 36px;
}

h4.medium {
  font-size: 50px;
  line-height: 57px;
  margin-bottom: 24px;
}

h6.medium {
  font-size: 40px;
  line-height: 48px;
  margin-bottom: 36px;
}

/* Hero Banner */

.background-image .background:after {
  background: unset;
}

.banner__wrapper {
  padding: 0;
}

.banner__wrapper .overlay-dark-blue {
  background-color: rgba(39, 52, 64, 0.8);
  z-index: 1;
}

.banner__wrapper .column {
  color: #fff;
  display: flex;
  padding: 140px 0 90px;
  min-height: 622px;
}

.banner__wrapper .column-content {
  margin-bottom: 0 !important;
  max-width: 450px;
}

@media (min-width: 992px) {
  .banner__wrapper .column {
    align-items: center;
    justify-content: center;
  }
}

@media (min-width: 992px) {
  [class*="page-dealer-newsletter-"] h1 {
    font-size: 62px;
  }
}

[class*="page-dealer-newsletter-"] ul li {
  font-size: 16px;
}

[class*="page-dealer-newsletter-"] h1,
[class*="page-dealer-newsletter-"] h3 {
  margin-bottom: 30px;
}

[class*="page-dealer-newsletter-"] a {
  text-decoration: underline;
}

[class*="page-dealer-newsletter-"] footer a {
  text-decoration: none;
}

[class*="page-dealer-newsletter-"] a:hover {
  text-decoration: underline;
}

[class*="page-dealer-newsletter-"] footer:before {
  background-color: #C5CDD4;
}

[class*="page-dealer-newsletter-"] a.btn-outline-primary {
  font-size: 20px;
  border: 1px solid #fff;
  padding: 12px 78px;
}

[class*="page-dealer-newsletter-"] a.btn-outline-primary:hover {
  background-color: #fff;
  color: #273440 !important;
}

[class*="page-dealer-newsletter-"] a.btn-primary {
  font-size: 20px;
  border: 1px solid #273440;
  padding: 12px 78px;
  margin-top: 20px;
}

[class*="page-dealer-newsletter-"] a.btn-primary:hover {
  opacity: 0.8;
  background-color: #273440 !important;
  color: #fff;
}

[class*="page-dealer-newsletter-"] .page-wrapper {
  overflow-x: clip;
  overflow-y: visible;
}

[class*="page-dealer-newsletter-"] .footer-widget-area-2 {
  margin-top: 60px;
}

.newsletter-portfolio-logos {
  background: #273440;
  padding: 30px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-portfolio-logos img {
  width: auto;
  height: 42px;
  filter: brightness(0) invert(1);
}

.newsletter-portfolio-text {
  background: #fff;
  padding: 30px;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  min-height: 280px;
}

.newsletter-portfolio .column-content:hover .newsletter-portfolio-text {
  background: #C5CDD4;
}

.newsletter-portfolio-text .post-link {
  position: relative;
  top: -20px;
  float: right;
  border: 1px solid #333;
  border-radius: 50%;
}

.newsletter-portfolio a.post-link {
  position: relative;
  right: -10px;
}

.callcard .column-content,
.column-content .callcard {
  height: fit-content;
  border-radius: 12px;
  padding: 24px 40px;
  color: #fff;
  margin-bottom: 20px;
}

.callcard .column-content h2,
.column-content .callcard h2 {
  margin-bottom: 6px;
}

.callcard .column-content p,
.column-content .callcard p {
  margin-bottom: 0;
}

.callcard-dark-grey .column-content {
  background-color: #525D66;
  color: #fff;
}

.callcard-medium-blue-400 .column-content,
.column-content .callcard-medium-blue-400 {
  background-color: #6E8294;
}

.csi-post-slider .csi-post-slide-image {
  height: 162px;
}

.csi-post-slider .csi-post-slide-image img {
  width: 300px;
  height: 300px;
  top: -70px;
  position: relative;
  object-fit: contain;
}

.csi-post-slide.slick-slide {
  margin-right: 30px;
  margin-left: 30px;
}

.csi-post-slider-wrap {
  margin: 20px 0 0;
}

.fullwidth-photos img {
  border-radius: 12px;
}

.fullwidth-photos .padding-left-0 img {
  border-radius: 0 12px 12px 0
}

.fullwidth-photos .padding-right-0 img {
  border-radius: 12px 0 0 12px
}

/* Section animation fold */

.top-wrapper .container  {
  padding: 60px; 
}

.section1,
.section2,
.section3,
.light-blue-footer {
  box-sizing: border-box;
  margin: 0;
}

.section1,
.section2 {
  position: sticky;
  top: 0;
}

.section1 {
  z-index: 1;
}

.section2 {
  z-index: 2;
}

.section3 {
  z-index: 3;
}

.light-blue-footer {
  z-index: 3;
}

footer.light-blue-footer.top-wrapper {
  background: #C5CDD4;
}

footer.light-blue-footer.top-wrapper .container {
    background-color:  #e1edf6;
}

footer.light-blue-footer.top-wrapper:before {
    background-image: unset; 
    display: none;
}

footer.wrapper {
    padding-bottom: 0;
}

@media (max-width: 767px) {
  .wrapper {
      margin-top: 0;
  }
  .banner__wrapper .column {
    color: #fff;
    display: flex;
    padding: 60px 0 30px;
    min-height: 282px;
  }
  .background-image .background {
    background-repeat: no-repeat;
  }
  .banner__wrapper .overlay-dark-blue {
    background-color: rgba(39, 52, 64, 1.0);
  }
  .top-wrapper .container {
    padding: 40px 0; 
  }
  h1 {
    font-size: 35px;
  }
  h2 {
    font-size: 65px;
  }
  h2.medium {
    font-size: 25px;
    margin-bottom: 20px;
  }
  h4.medium {
    font-size: 35px;
    line-height: 40px;
  }
  p.large {
    font-size: 25px;
    line-height: 30px;
    margin-bottom: 36px;
  }
  .row>* {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .newsletter-portfolio .column {
    margin-bottom: 20px;
  }
  .newsletter-portfolio-text {
    min-height: 320px !important;
  }
  .fullwidth-photos img {
    border-radius: 12px !important;
  }
  .fullwidth-photos .row>* {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
  .callcard .column-content,
  .column-content .callcard {
    padding: 24px 18px 12px !important;
  }
  footer h4 {
    font-size: 35px;
  }
  footer p {
    font-size: 20px;
    line-height: 30px;
  }
}
@media (max-width: 991px) {
  .background-image .background {
    background-position: -880px 200px;
  }
}
@media (max-width: 852px) {
  .background-image .background {
    background-position: -800px 0px;
  }
}
@media (max-width: 577px) {
  .background-image .background {
    background-position: -420px 130px;
  }
}