/*
site url: https://atlantichomestead-stjohns.royallepage.ca/
*/

@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600&display=swap");
@import url("https://kunversion-frontend-custom.s3.amazonaws.com/overwrites/search-bar/minimal.css");
@import url("https://kunversion-frontend-custom.s3.amazonaws.com/overwrites/froala-editor/clear.css");
@import url("https://kunversion-frontend-custom.s3.amazonaws.com/overwrites/theme-color/brand.css");
@import url("https://kunversion-frontend-custom.s3.amazonaws.com/RLP/template-migrate/ps.css");

:root {
  --primary-brand-color: #ea002a;
  --primary-rgb-brand-color: 234, 0, 42;
}
#home-banner {
  display: none !important;
}
#home-bodycontent.agent-site .cover {
  height: 900px !important;
}
#listing-bodycontent .main {
  padding-top: 0 !important;
}

body #header .logo.primary {
  max-height: 90px !important;
  margin-left: 20px !important;
}
/* New Header */
@media (min-width: 992px) {
  body.header-transparent .nav-primary .nav-link {
    color: #323232 !important;
  }
}
#header.home,
#header.sell:not(.alt-sell-success) {
  background-color: #fff !important;
}
body.sell-cover-pull-top.header-transparent .sell-cover {
  margin-top: -100px !important;
}
body .page-wrapper #header {
  padding-top: 0px !important;
  height: auto !important;
  min-height: auto !important;
}
#home-bodycontent #header.home {
  min-height: auto !important;
  position: fixed;
  padding-top: 0px !important;
  height: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
#header.home .container .row-flex:nth-child(1) > ul li a,
#header.home .map-filter-wrapper .row-flex:nth-child(1) > ul li a,
#header.sell:not(.alt-sell-success) .container .row-flex:nth-child(1) > ul li a,
#header.sell:not(.alt-sell-success) .map-filter-wrapper .row-flex:nth-child(1) > ul li a {
  color: #6f6f6f !important;
}
#header .container .row-flex:nth-child(1) > ul li a .fa {
  display: none !important;
}
#header .container .row-flex:first-child {
  position: absolute;
  top: -5px;
  right: 80px;
  margin-top: 10px;
  width: 100%;
  display: flex !important;
}
#header .container .row-flex:first-child .list-inline-item.hidden-lg-up {
  display: inline-block !important;
}
@media (min-width: 992px) {
  #header .container .row-flex > .column-end {
    display: none !important;
  }
  #header .container .row-flex:nth-child(2) .column-end .navbar-toggler {
    top: 14% !important;
  }
  body#home-bodycontent #header.kv-fixed .navbar-toggler {
    transform: translateY(0px) !important;
  }
  #header .container .row-flex:nth-child(2) {
    width: 30%;
  }
  #header .container .row-flex:nth-child(3) {
    width: 70%;
  }
}
body #fixed-header-spacer {
  height: 120px;
}
@media (max-width: 1115px) {
  #primary-logo img,
  #secondary-logo img {
    height: 65px !important;
  }
  #header {
    padding-top: 24px !important;
  }
}
@media (max-width: 450px) {
  #header .container .row-flex:nth-child(2) .logo,
  #header .map-filter-wrapper .row-flex:nth-child(2) .logo {
    height: 14vw !important;
  }
}
body .main {
  padding-top: 110px !important;
}

#header .column #quick-search {
  display: none !important;
}
#header > .container {
  display: flex;
  align-items: center;
  position: relative;
}
body #header > .container {
  padding: 15px;
  padding-top: 35px;
}
body #header .container .row-flex:nth-child(3) {
  margin-top: 20px !important;
}
body #listings-map {
  top: 170px !important;
}

.header-transparent .navbar-toggler {
  border-color: #323232 !important;
}
.header-transparent .navbar-toggler span {
  border-color: #323232 !important;
}

* {
  font-family: "Source Sans Pro", sans-serif;
}

body .header-logo .img-logo.img-fluid {
  max-width: 500px !important;
}

body.header-transparent.front .cover-image {
  background-size: cover !important;
  background-position: center !important;
}

body.header-transparent.front .cover.cover-center.agent .cover-title {
  top: 62%;
}

/* Hero Section */
#cust-hero_wrpr {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 940px;
  text-align: center;
  margin: 0 auto;
  padding: 0 15px !important;
  color: white;
  text-shadow: 1px 1px 5px #333;
  font-size: 2em;
  transition: all 0.25s ease;
  z-index: 1;
}
.cust-hero_image {
  max-width: 100%;
}
#cust-hero_wrpr h1 {
  font-size: 46px;
  font-weight: 600;
}
.cust-hero_button-wrapper {
  display: flex;
  margin-top: 20px;
}
#cust-hero_button {
  border-radius: 50px;
  padding: 12px 25px;
  box-shadow: 0 0 5px #333;
  text-transform: uppercase;
  font-size: 22px;
  background: #fff !important;
  font-weight: 600;
  color: #444 !important;
  text-shadow: none !important;
  text-decoration: none !important;
  transition: all 0.25s ease;
}
#cust-hero_button:link,
#cust-hero_button:visited,
#cust-hero_button:hover,
#cust-hero_button:active {
  background-color: #fff;
  color: #444 !important;
}
@media (max-width: 992px) {
  #cust-hero_wrpr {
    width: 100%;
    top: 150px;
  }
  #cust-hero_wrpr h1 {
    font-size: 36px;
  }
  #cust-hero_button {
    font-size: 18px;
  }
}
@media (max-width: 767px) {
  #cust-hero_wrpr {
    top: 100px;
    font-size: 1.3em;
    padding: 0 15px;
    margin-bottom: 0;
  }
  #cust-hero_wrpr h1 {
    font-size: 36px;
  }
}
@media (max-width: 550px) {
  #cust-hero_wrpr {
    top: 140px;
  }
  #cust-hero_wrpr h1 {
    font-size: 32px;
  }
  #cust-hero_button {
    display: none;
  }
}

.cust-section {
  padding: 50px 15px;
  background-color: #eeeeee;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='25' viewBox='0 0 200 200'%3E%3Cdefs%3E%3ClinearGradient id='a' gradientUnits='userSpaceOnUse' x1='100' y1='33' x2='100' y2='-3'%3E%3Cstop offset='0' stop-color='%23000' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23000' stop-opacity='1'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' gradientUnits='userSpaceOnUse' x1='100' y1='135' x2='100' y2='97'%3E%3Cstop offset='0' stop-color='%23000' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23000' stop-opacity='1'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='%23cacaca' fill-opacity='0.07'%3E%3Crect x='100' width='100' height='100'/%3E%3Crect y='100' width='100' height='100'/%3E%3C/g%3E%3Cg fill-opacity='0.07'%3E%3Cpolygon fill='url(%23a)' points='100 30 0 0 200 0'/%3E%3Cpolygon fill='url(%23b)' points='100 100 0 130 0 100 200 100 200 130'/%3E%3C/g%3E%3C/svg%3E");
}
.statement-tag {
  text-transform: uppercase;
  font-size: 0.9em;
  letter-spacing: 1.3px;
}

.statement-tag:before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
  margin-right: 5px;
  background-color: #000;
  transform: translateY(-3px);
}

.statement-tag:after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
  margin-left: 5px;
  background-color: #000;
  transform: translateY(-3px);
}

#cust-area-wrpr {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1440px;
  margin: auto;
}
.cust-area-item {
  position: relative !important;
  width: 30%;
  height: 300px;
  margin: 10px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: rgba(0, 0, 0, 0.4) 0 6px 20px;
  cursor: pointer;
}
.cust-area-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cust-area-item__overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  background-image: linear-gradient(to left, rgba(var(--primary-rgb-brand-color), 0.8), rgba(0, 0, 0, 0.01));
  height: 45px;
}
.cust-area-title {
  position: absolute;
  bottom: 10px;
  right: 10px;
  margin: 0;
  color: white;
  font-size: 24px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  z-index: 10;
  text-transform: uppercase;
}

.flx-ctr {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.flx-ctr.row {
  flex-direction: row;
  position: relative;
}
.flx-ctr.col {
  flex-direction: column;
}

.flx-ctr_row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.flx-ctr_row.reverse {
  flex-direction: row-reverse;
}

.flx-ctr_col_50per {
  width: 50%;
  height: 450px;
  padding: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.flx-ctr_col_50per p {
  max-width: 550px;
}
.flx-ctr_col_50per.dark {
  background-image: radial-gradient(#333, #000);
  color: white;
}

.c-banner {
  padding: 20px 15px 40px;
  background: #ea002a;
  text-align: center;
  color: #e6e6e6;
}
.c-banner h2 {
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
  font-weight: bold;
  margin-top: 20px;
}
.c-banner p {
  font-size: 16px;
}
.bg-ctr_cvr {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bg-ctr_cvr.fixed {
  background-attachment: fixed;
}

.box-icon__wrapper {
  background: white;
  padding: 20px;
  border: 2px solid;
  border-radius: 100%;
  margin-bottom: 20px;
}

.box-header {
  text-transform: uppercase;
  font-weight: bold;
  color: #ea002a;
  letter-spacing: 1.3px;
}
.box-header.large {
  font-size: 36px;
}

.box-icon {
  width: 50px;
  height: 50px;
}

.box-btn {
  display: inline-block;
  padding: 14px 25px;
  font-weight: 400 !important;
  text-decoration: none !important;
  transition: all 300ms ease;
  background: #ea002a !important;
  color: #fff !important;
  border-radius: 3px;
  cursor: pointer;
}
.box-btn.dark {
  color: white !important;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.box-btn:link {
  background-color: inherit;
  color: inherit;
}

.box-btn:visited {
  background-color: inherit;
  color: inherit;
}

.box-btn:hover,
.box-btn.dark:hover {
  background-color: #e6e6e6 !important;
  color: #323232 !important;
}

.box-btn:active {
  background-color: inherit;
  color: inherit;
}

.questions-wrapper {
  height: auto;
  padding: 50px 15px;
  background: #ddd;
  margin-bottom: 6px;
}

.questions-inner {
  height: 100%;
  text-align: center;
}

@media screen and (max-width: 992px) {
  .cust-area-item {
    width: 45%;
  }
}

@media screen and (max-width: 875px) {
  .flx-ctr_col_50per {
    width: 100%;
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  .cust-area-item {
    width: 100%;
  }
}

@media screen and (max-width: 550px) {
  .flx-ctr_col_50per {
    height: 500px;
    padding: 40px;
  }
}

/* Custom Pages */
#resources-bodycontent .content .inner-main-content > .container > .row div.col-lg-4,
#blog-bodycontent .content .inner-main-content > .container > .row div.col-lg-4 {
  display: none;
}
#resources-bodycontent .content .inner-main-content > .container > .row div.col-md-8,
#blog-bodycontent .content .inner-main-content > .container > .row div.col-md-8 {
  width: 100%;
  max-width: 100%;
}

#resources-bodycontent .col-md-12.m-b-3.resource-container {
  padding: 0;
  margin: 0;
}
.cp-header-group {
  margin-bottom: 30px;
}

.c-header {
  font-size: 36px;
  margin-bottom: 35px;
  color: #000;
  font-weight: 500;
  letter-spacing: 1.2px;
  line-height: 40px;
}
.c-header:after {
  content: "";
  display: block;
  width: 150px;
  height: 2px;
  background: #4d4d4d;
  margin-top: 35px;
  margin-bottom: 20px;
  border-radius: 5px;
}

/* Buy Page Rows */
#buyer-rows {
  padding: 30px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
#buyer-rows.reverse {
  flex-direction: row-reverse;
}
@media (max-width: 767px) {
  #buyer-rows.reverse {
    flex-direction: column-reverse;
  }
}
#buyer-rows .col-sm-12.col-md-6.p-a-2 {
  padding-left: 0 !important;
}
#buyer-rows h2 {
  font-weight: normal;
  font-size: 1.8em;
}
#buyer-rows img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.cp-wrapper {
  padding-left: 15px !important;
}
.cp-wrapper .c-header:after {
  margin-left: 0 !important;
  width: 30%;
  max-width: 150px;
}
.cp-button {
  padding: 12px 50px !important;
  border-radius: 16px !important;
  font-size: 2em !important;
  margin: 40px;
}
.cp-header-video iframe,
.cp-header-video img {
  display: block;
  width: 100%;
  height: 515px;
  margin: 0 auto 60px;
  object-fit: cover;
  object-position: top;
}
@media (max-width: 992px) {
  .cp-header-video iframe {
    height: 350px;
  }
}
@media (max-width: 767px) {
  .cp-header-video iframe {
    height: 250px;
  }
}
@media (max-width: 500px) {
  .cp-header-video iframe {
    height: 200px;
  }
}
.cp-header-group img {
  display: inline-block;
  width: 100%;
  max-width: 200px !important;
}
.cp-header-group h3,
.cp-header-group h1 {
  margin-top: 70px;
}
.cp-header-subgroup h1 {
  margin-bottom: 0;
}
.cp-header-subgroup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 35px;
}
@media (max-width: 600px) {
  .cp-header-subgroup {
    flex-direction: column-reverse;
  }
  .cp-header-subgroup img {
    margin-bottom: 30px;
  }
}
@media (max-width: 767px) {
  .cp-wrapper .c-header {
    font-size: 28px;
  }
}

/* Covid Banner */
#home-banner h4 {
  font-size: 1.4em;
}
#home-banner a {
  margin-right: 50px;
}
@media (max-width: 992px) {
  #home-banner h4 {
    font-size: 1em;
  }
  #home-banner a {
    margin-right: 50px !important;
    font-size: 0.8em !important;
    padding: 7px 10px !important;
    min-width: 85px !important;
  }
}
/* Footer */
.footer-wrapper,
.footer-top {
  background-color: #fff !important;
  color: #525151 !important;
}
#footer .footer-top p {
  color: #000 !important;
}
.footer-top .social .fa {
  background-color: #000 !important;
  color: #fff !important;
}
.footer-top-right a,
.footer-top-left a {
  color: #000 !important;
}
.footer-top-left small {
  font-size: 100% !important;
}
.footer-top-left .social {
  margin-top: 20px !important;
}
.footer-text {
  color: #000 !important;
  margin: 0;
  line-height: 18px;
  font-weight: 500;
}
.footer-text.name {
  font-size: 1.5em;
  font-weight: 400;
}
.footer-text.title {
  margin-bottom: 20px;
}
.footer-top h2 {
  margin: 0 0 10px 0 !important;
}

.footer-bottom {
  border-top: 1px solid #000;
}
.footer-bottom .nav-item a:not([aria-haspopup="true"]) {
  color: #000;
}
.footer-logo {
  display: block;
  max-width: 180px;
  margin-bottom: 20px;
}
@media (max-width: 767px) {
  .footer-logo {
    margin: 0 auto 20px;
    margin-bottom: 50px;
  }
}

/* C Styles */
.c-text {
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
}
.c-header.center:after {
  content: "";
  display: block;
  width: 250px;
  height: 2px;
  background: #4d4d4d;
  margin: 35px auto 20px;
}

/* Awards */
#awards-wrapper {
  position: relative;
  padding: 50px 20px;
  background: #f7f7f7;
}
.awards-wrapper-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1440px;
  margin: 0 auto;
}
.awards-card {
  width: 100%;
  max-width: 250px;
  text-align: center;
  margin: 10px;
}
.awards-image {
  display: block;
  width: 220px;
  height: 220px;
  margin: 0 auto;
  object-fit: contain;
  margin-bottom: 20px;
}
.awards-image.new {
  width: 100%;
}
.awards-date {
  font-weight: 400;
  font-size: 1.3em;
  color: #a9a9a9;
}
