/* ==========================================
	Variables
========================================== */
:root {
  --header: 'Ravensara Sans', sans-serif;
  --sans: "Lato", sans-serif;
  --sansBold: "Lato", sans-serif;
  --icon: "Font Awesome 6 Pro";
  --white: #ffffff;
  --black: #3b414b;
  --grey: #4b4d4f;
  --grey-lt: #ccc;
  --off-white: #f5f5f5;
  --trans: transparent;
  --blue: #3e8c9c;
  --blue-dk: #396880;
  --yellow: #e1cd00;
  --mint: #bfcec2;
  --brown: #776e64;
  --primary: var(--blue);
  --secondary: var(--yellow);
  --accent-lt: var(--mint);
  --accent-dk: var(--brown);
  --hero-max-width: 95%;
  --hero-margin: 0 0 0 5%;
  --hero-radius: 0 0 0 300px;
  --shape-radius-left: 50% 50% 50% 0;
  --shape-radius-right: 50% 50% 0 50%;
}

/* ==========================================
	Mixins
========================================== */
/* ==========================================
	Animations
========================================== */
.animate {
  opacity: 0;
  padding-top: 30px;
  transition: all ease-in-out .3s;
}

.animate.slow {
  transition: all ease-in-out .5s;
}

.animate.slideIn {
  opacity: 1;
  padding-top: 0;
}

.animate.animateUp {
  margin-top: 100px;
}

.animate.animateUp.slideUp {
  opacity: 1;
  margin-top: 0;
}

.animate.animateDown {
  padding-bottom: 100px;
}

.animate.animateDown.slideDown {
  opacity: 1;
  padding-bottom: 0;
}

.animate.animateLeft {
  right: -25%;
}

.animate.animateLeft.slideLeft {
  opacity: 1;
  right: 0;
}

.animate.animateRight {
  left: -25%;
}

.animate.animateRight.slideRight {
  opacity: 1;
  left: 0;
}

/* ==========================================
	Keyframe Animations
========================================== */
@keyframes jingle {
  0% {
    transform: rotate(0deg) scale(1);
  }
  10% {
    transform: rotate(30deg) scale(1.2);
  }
  40% {
    transform: rotate(-30deg);
  }
  50% {
    transform: rotate(0deg) scale(1);
  }
  100% {
    transform: rotate(0deg);
  }
}

/* ==========================================
	Globals
========================================== */
html {
  margin: 0;
  padding: 0;
}

body {
  font-size: 16px;
  line-height: 1.5;
  color: var(--black);
  font-family: var(--sans);
  font-weight: 500;
  font-smooth: always;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  background: var(--white);
  transition: all ease-in-out .2s;
}

body.home {
  background: var(--off-white);
}

#body {
  margin-top: 0;
  background-color: transparent;
}

.container {
  max-width: 1200px;
}

container-fluid > container {
  padding-left: 0;
  padding-right: 0;
}

.container-fluid section {
  position: relative;
  padding: 0;
}

.container-fluid section.white {
  background-color: var(--white);
}

.container-fluid section.off-white {
  background-color: var(--off-white);
}

.container-fluid section.grey {
  background-color: var(--grey);
}

.container-fluid section.primary {
  background-color: var(--primary);
}

.container-fluid section.secondary {
  background-color: var(--secondary);
}

.container-fluid section.accent-dk {
  background-color: var(--accent-dk);
}

.container-fluid section.accent-lt {
  background-color: var(--accent-lt);
}

.container-fluid section.black {
  background-color: var(--black);
}

.container-fluid section.bg {
  background-attachment: inherit;
  padding: 0;
}

.container-fluid section > .overlay {
  position: absolute;
  z-index: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin-top: 0;
  background-color: var(--trans);
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2) 40%, transparent 60%);
}

.container-fluid section .full_flex,
.container-fluid section .column_flex,
.container-fluid section .cards_flex,
.container-fluid section .combo_flex,
.container-fluid section .post_flex,
.container-fluid section .slide_flex,
.container-fluid section .tab_flex,
.container-fluid section .popListings_flex,
.container-fluid section .team_flex,
.container-fluid section .map_flex {
  padding: 60px 15px;
}

::selection,
-moz::selection {
  background: var(--secondary);
  color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 300;
  font-family: var(--header);
  text-transform: uppercase;
  margin-bottom: 8px;
  color: inherit;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: inherit;
  text-transform: inherit;
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
  color: var(--primary);
}

h1, h2 {
  letter-spacing: 2px;
}

h2 {
  font-size: 300%;
  margin-bottom: 30px;
}

h3 {
  font-size: 150%;
}

h3,
h4,
h5,
h6 {
  font-family: var(--sans);
  font-weight: 500;
}

hr {
  border-bottom: 3px solid var(--secondary);
}

hr.simple {
  border-bottom: 1px solid var(--grey-lt);
  margin: 10px 0 0;
}

.text-size-md {
  font-size: 85%;
}

p {
  margin-bottom: 20px;
}

p a {
  color: var(--primary);
  font-weight: bold;
  text-decoration: underline;
  background-image: none;
}

p a:hover {
  color: var(--primary);
}

a {
  color: var(--primary);
  transition: all ease-in-out .2s;
  cursor: pointer;
  font-weight: bold;
}

a.button {
  text-transform: uppercase;
  padding: 15px 30px;
  color: var(--white);
  font-family: var(--sans);
  font-weight: 600;
  background: var(--blue-dk);
  margin: 10px 0;
  border-radius: 25px;
}

a.button:nth-of-type(even) {
  margin: 10px;
}

a.button.large {
  font-size: 115%;
  padding: 12px 25px;
}

a.button.small {
  padding: 5px 20px;
  font-size: 80%;
}

a.button i, a.button svg {
  color: var(--white);
  transition: all ease-in-out .2s;
  margin-left: 5px;
  font-size: inherit;
}

a.button:hover {
  background: var(--secondary);
  color: var(--black);
}

a.button:hover i, a.button:hover svg {
  margin-left: 20px;
}

a.button.inverted {
  text-decoration: none;
  text-transform: none;
  text-align: center;
  color: var(--black);
  padding: 5px 20px;
  background: var(--secondary);
  border: none;
}

a.button.inverted i, a.button.inverted svg {
  color: inherit;
}

a.button.inverted:hover {
  background: var(--accent-dk);
  color: var(--white);
  border: none;
}

a.button.inverted:hover:after {
  display: none;
}

/* ==========================================
	Text & Background Color Shortcuts
========================================== */
.text-primary {
  color: var(--primary) !important;
}

.text-secondary {
  color: var(--secondary) !important;
}

.text-accent-dk {
  color: var(--accent-dk) !important;
}

.text-accent-lt {
  color: var(--accent-lt) !important;
}

.text-white {
  color: var(--white);
}

.text-off-w {
  color: var(--off-white);
}

.text-black {
  color: var(--black) !important;
}

/* ======= Repeated Page Elements ======= */
.no-padding {
  padding: 0;
}

section.hero {
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: var(--hero-radius);
  max-width: var(--hero-max-width);
  margin: var(--hero-margin);
}

section.hero .hero-text {
  width: 75%;
  margin: 0 auto 50px;
  padding: 100px 0 50px;
}

section.hero .hero-text p,
section.hero .hero-text h1,
section.hero .hero-text h2,
section.hero .hero-text h3,
section.hero .hero-text h4,
section.hero .hero-text h5 {
  color: var(--white);
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.5), 0 0 5px rgba(0, 0, 0, 0.3);
}

section.hero .hero-text p {
  font-size: 125%;
}

section.hero.video {
  width: 100%;
  max-width: unset;
  margin: 0 auto;
  border-radius: 0;
}

section.hero.video .iframe-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.vcenter {
  align-items: center;
}

.vcenter .text-wrapper {
  position: relative;
}

.vcenter .image-wrapper {
  width: 75%;
  height: 75%;
  min-height: 400px;
}

.video_flex .text-wrapper {
  padding: 0 3%;
  margin-top: 40px;
}

.video_flex .iframe-container {
  background: black;
}

.image-block {
  width: 100%;
  height: auto;
}

.image-wrapper {
  position: relative;
  border-radius: 20px;
}

.image-wrapper.square {
  background-size: contain;
}

img {
  border-radius: 20px;
}

img.size-full {
  width: 100%;
  height: auto;
}

img.square {
  background-size: contain;
}

.video-wrapper {
  width: 100%;
  height: auto;
  position: relative;
  border-radius: 0 0 200px 0;
  overflow: hidden;
  margin-bottom: 20px;
}

img.size-full {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

img.alignleft {
  float: left;
  margin: 0 20px 20px 0;
}

img.alignright {
  float: right;
  margin: 0 0 20px 20px;
}

img.aligncenter {
  display: inherit;
  margin: 20px auto;
}

ul li {
  margin-bottom: 10px;
}

.card {
  position: relative;
  z-index: 0;
  height: auto;
  display: flex;
  background: var(--white);
  border-radius: 10px;
}

.card .image-wrapper {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  position: relative;
  background-size: cover;
  border-radius: 10px 10px 0 0;
  transition: all ease-in-out .2s;
}

.card .card-body .image-wrapper {
  min-height: 50px;
}

.card .card-body a.button {
  position: relative;
  margin: 10px 0 0;
}

.all-caps {
  text-transform: uppercase;
}

blockquote {
  border-left-color: var(--primary);
}

.arrowList {
  list-style: none;
  margin: 0;
  padding: 0;
}

.arrowList li {
  padding: 5px 0 0 18px;
}

.arrowList li:before {
  content: '\f0da';
  font-weight: 900;
  font-family: var(--icon);
  font-size: 90%;
  display: none;
}

.arrowList li svg {
  margin-left: -18px;
  margin-right: 10px;
  color: var(--accent-dk);
}

.arrowList.column li {
  width: 47%;
  float: left;
  margin-right: 2%;
  display: inline-block;
  vertical-align: top;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--grey-lt);
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist li {
  margin-bottom: 10px;
}

.checklist li:before {
  content: '\f058';
  font-weight: bold;
  font-family: var(--icon);
  margin-right: 10px;
  display: inline-block;
  color: var(--secondary);
}

.checklist.column li {
  width: 45%;
  display: inline-block;
}

.shape,
.soft-square {
  width: 100%;
  height: auto;
  min-height: 400px;
  padding: 0;
  margin: 0 auto;
  position: relative;
  transition: all ease-in-out .2s;
}

.shape .text-wrapper,
.soft-square .text-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  top: 50%;
  transform: translateY(-50%);
  padding: 50px 12% 20px;
}

.shape .text-wrapper.extra-lg,
.soft-square .text-wrapper.extra-lg {
  padding: 20% 10% 25% 20%;
}

.shape .text-wrapper.extra-lg .sub-title,
.soft-square .text-wrapper.extra-lg .sub-title {
  font-size: 85%;
}

.shape .text-wrapper h3,
.soft-square .text-wrapper h3 {
  font-size: 135%;
}

.shape .text-wrapper p.detail,
.soft-square .text-wrapper p.detail {
  font-size: 75%;
}

.shape .text-wrapper i, .shape .text-wrapper svg,
.soft-square .text-wrapper i,
.soft-square .text-wrapper svg {
  font-size: 120%;
}

.shape .text-wrapper .sub-title,
.soft-square .text-wrapper .sub-title {
  margin-bottom: 0;
}

.shape .text-wrapper .col,
.soft-square .text-wrapper .col {
  padding: 0;
}

.shape .text-wrapper hr,
.soft-square .text-wrapper hr {
  width: 90%;
  margin: 10px 0;
}

.shape.off-white,
.soft-square.off-white {
  background-color: var(--off-white);
}

.shape.black,
.soft-square.black {
  background-color: var(--black);
  color: var(--off-white);
}

.shape.black i, .shape.black svg,
.soft-square.black i,
.soft-square.black svg {
  margin-right: 10px;
  font-size: 150%;
  color: var(--accent-lt);
}

.shape.black h1, .shape.black h2, .shape.black h3, .shape.black h4, .shape.black h5,
.soft-square.black h1,
.soft-square.black h2,
.soft-square.black h3,
.soft-square.black h4,
.soft-square.black h5 {
  color: inherit;
}

.shape.black .detail,
.soft-square.black .detail {
  font-size: 80%;
}

.shape.grey,
.soft-square.grey {
  background-color: var(--grey);
}

.shape.primary,
.soft-square.primary {
  background-color: var(--primary);
}

.shape.secondary,
.soft-square.secondary {
  background-color: var(--secondary);
}

.shape.accent-dk,
.soft-square.accent-dk {
  background-color: var(--accent-dk);
}

.shape.accent-lt,
.soft-square.accent-lt {
  background-color: var(--accent-lt);
}

.shape.fancy,
.soft-square.fancy {
  width: 69%;
  margin: 0 0 0 5%;
  background-color: var(--blue-dk);
}

.shape.fancy:before,
.soft-square.fancy:before {
  content: '';
  display: block;
  position: absolute;
  border-radius: 50% 50% 0 50%;
  width: 80px;
  height: 80px;
  bottom: 140px;
  right: -100px;
  background-color: var(--primary);
}

.shape.fancy:after,
.soft-square.fancy:after {
  content: '';
  display: block;
  position: absolute;
  border-radius: 0 50% 50% 50%;
  width: 120px;
  height: 120px;
  bottom: 0;
  right: -140px;
  background-color: var(--grey);
}

.shape.fancy.left,
.soft-square.fancy.left {
  border-radius: 50% 50% 50% 0;
}

.shape.fancy.left:before,
.soft-square.fancy.left:before {
  right: unset;
  left: -100px;
  transform: rotate(90deg);
}

.shape.fancy.left:after,
.soft-square.fancy.left:after {
  right: unset;
  left: -140px;
  transform: rotate(90deg);
}

.shape.fancy.left .text-wrapper,
.soft-square.fancy.left .text-wrapper {
  left: 10%;
}

.shape {
  border-radius: var(--shape-radius-right);
}

.shape.left {
  border-radius: var(--shape-radius-left);
}

.shape.left .text-wrapper {
  border-radius: var(--shape-radius-left);
}

.soft-square {
  border-radius: 20px;
}

.soft-square.left {
  border-radius: 20px 0 0 20px;
}

.soft-square.right {
  border-radius: 0 20px 20px 0;
}

.soft-square .text-wrapper {
  border-radius: 0;
}

.popListings-swiper .image-wrapper {
  width: 66%;
  margin: 0;
  border-radius: 20px 0 0 20px;
}

.popListings-swiper .soft-square {
  width: 35%;
  height: 100%;
  margin: 0;
  position: absolute;
  top: 0;
  right: 0;
  border-left: 3px solid white;
}

.popListings-swiper .soft-square.left {
  left: 0;
  right: unset;
  border-left: none;
  border-right: 3px solid white;
}

.separator {
  position: absolute;
  top: 0;
  left: -10px;
  height: 70%;
  width: 0;
  display: block;
  border-left: 1px solid var(--grey-lt);
}

.title {
  font-weight: bold;
}

.sub-title {
  font-family: var(--sans);
  font-size: 110%;
  font-weight: 900;
  color: var(--accent-dk);
  margin-bottom: 20px;
}

.sub-title.light {
  color: var(--accent-lt);
}

.sub-title.bold {
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--secondary);
  padding-bottom: 5px;
}

h2 ~ .sub-title {
  margin-top: -20px;
  margin-bottom: 8px;
}

.date {
  font-size: 90%;
  margin-bottom: 0;
  padding-bottom: 0;
}

#pagination a {
  display: inline;
  text-decoration: none;
}

#pagination a .button {
  display: inline-block;
  margin: 0 10px;
  background: var(--blue-dk);
  border-radius: 50%;
  height: 20px;
  width: 20px;
  line-height: 20px;
  text-align: center;
}

#pagination a .button i, #pagination a .button svg {
  color: var(--white);
}

ul.socials {
  text-align: inherit;
}

ul.socials li a i,
ul.socials li a svg {
  color: var(--primary) !important;
}

ul.socials li a:hover i,
ul.socials li a:hover svg {
  color: var(--secondary) !important;
}

/* ==========================================
	General Layout
========================================== */
.slide_flex h2 {
  margin-bottom: 16px;
}

.slide_flex blockquote {
  border: none;
  padding: 0;
  margin: 0 0 0 50px;
}

.slide_flex blockquote:before {
  content: '';
  display: block;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  position: absolute;
  background-image: url(../images/quotes.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}

/* ==========================================
	Column Flex
========================================== */
.column_flex {
  padding: 50px 0;
}

.column_flex .col-md {
  padding: 0 3%;
}

.primary .counter_flex,
.accent-dk .counter_flex,
.black .counter_flex {
  color: var(--white);
}

.counter_flex {
  padding: 50px 0 20px;
  z-index: 5;
  position: relative;
}

.counter_flex .large-number {
  font-family: var(--sans);
  font-size: 350%;
  font-weight: 900;
  margin-bottom: 0;
  padding-bottom: 0;
  margin-top: -20px;
  margin-right: 10px;
  float: left;
  display: flex;
}

.counter_flex .tag-wrapper {
  vertical-align: middle;
}

/* ==========================================
	Cards
========================================== */
.col-md-4:nth-child(2n) .card.thumb {
  background: var(--accent-dk);
}

.col-md-4:nth-child(3n) .card.thumb {
  background: var(--accent-dk);
}

.col-md-4:nth-child(4n) .card.thumb {
  background: var(--blue-dk);
}

.card.thumb {
  background: var(--primary);
  font-size: 90%;
  overflow: hidden;
}

.card.thumb .image-wrapper {
  height: 250px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.card.thumb .text-wrapper {
  padding: 20px 20px 0;
  border-top: 1px solid var(--white);
  color: var(--white);
}

.card.thumb:hover {
  box-shadow: 0 0px 20px 0 rgba(59, 64, 75, 0.6);
}

.card .overlay {
  position: absolute;
  z-index: -1;
  bottom: 0;
  left: 0;
  width: 120%;
  height: 120%;
  margin: -20px;
  background-color: var(--trans);
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2) 40%, transparent 60%);
}

.card.testimony .image-wrapper {
  min-height: 250px;
}

/* ==========================================
	Heroes
========================================== */
.container-fluid.bg.hero {
  position: relative;
}

.container-fluid.bg.hero .hero-text {
  display: block;
  min-height: 100px;
  position: relative;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
}

.container-fluid.bg.hero .hero-text .text-wrapper {
  width: 100%;
  height: auto;
  position: absolute;
  bottom: 50px;
  left: 0;
}

.home-hero {
  border-radius: 0;
  margin: 0;
  min-height: 600px;
  padding: 20px 0 !important;
  background-color: var(--black) !important;
  transition: all ease-in-out .2s;
}

.home-hero .abio-a {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 150px auto;
  border-radius: 50%;
  background-color: var(--black);
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  transition: all ease-in-out .8s;
  z-index: 2;
}

.home-hero .abio-a .hero-text {
  min-height: 600px !important;
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  opacity: 0;
  transition: all ease .4s;
  z-index: 3;
}

.home-hero .abio-a .hero-text .text-wrapper {
  position: absolute;
  bottom: -250px;
  left: 7%;
  opacity: 0;
  transition: all ease .4s;
  transition-delay: .6s;
}

.home-hero .abio-a .overlay {
  width: 120%;
  height: 120%;
  margin: -20px;
  background-color: var(--trans);
  background-image: linear-gradient(to top, transparent, transparent 40%, transparent 60%);
  z-index: -2;
}

.home-hero .abio-outline {
  position: absolute;
  display: block;
  width: 550px;
  height: 550px;
  background: rgba(255, 255, 255, 0.25);
  z-index: 1;
  top: calc(50% - 275px);
  left: calc(50% - 275px);
  border-radius: 50% 50% 0 50%;
  opacity: .10;
  transition: all ease-in-out .2s;
}

.home-hero #start {
  position: absolute;
  left: 0;
  bottom: 45%;
  width: 100%;
}

.home-hero.animated {
  background: var(--off-white) !important;
}

.home-hero.animated .abio-a {
  border-radius: 3px 3px 3px 300px;
  width: 95%;
  height: 650px;
  right: -7%;
  top: -100px;
  z-index: 1;
}

.home-hero.animated .abio-a .overlay {
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2) 40%, transparent 60%);
  z-index: 2;
}

.home-hero.animated .abio-a .hero-text {
  opacity: .1;
}

.home-hero.animated .abio-a .hero-text .text-wrapper {
  bottom: 50px;
  opacity: .1;
}

.home-hero.animated .abio-outline {
  opacity: 0;
}

/* ==========================================
	Videos
========================================== */
iframe {
  width: 100%;
  height: auto;
  min-height: 300px;
}

.iframe-container {
  overflow: hidden;
  position: relative;
  min-height: 500px;
  background: black;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  border: 0;
  height: 100%;
  width: 100%;
}

.iframe-container.video-cut.left {
  border-bottom-right-radius: 300px;
}

.iframe-container.video-cut.right {
  border-bottom-left-radius: 300px;
}

.iframe-container.video-wrapper {
  border-radius: 20px;
}

/* ==========================================
	Review Card
========================================== */
.review-card {
  margin: 0;
  font-family: var(--sans);
  font-weight: bold;
  max-width: 350px;
}

.review-card .card-body {
  padding: 15px;
}

.review-card .review-logo {
  position: relative;
  height: 60px;
  width: 60px;
  margin: 0 auto;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding-right: 10px;
  border-radius: 0;
}

.review-card .review-logo:after {
  content: '';
  display: block;
  width: 0;
  height: 100%;
  position: absolute;
  right: -15px;
  top: 0;
  border-right: 1px solid var(--grey-lt);
}

.review-card img {
  border-radius: 0;
}

.review-card .text-wrapper p {
  margin-bottom: 0;
}

/* ==========================================
	Captions
========================================== */
.wp-caption {
  width: 100% !important;
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 10px;
}

.wp-caption img {
  width: 100%;
  height: auto;
  min-height: 300px;
  object-fit: cover;
  object-position: bottom center;
}

.wp-caption p {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 100px 20px 20px;
  display: block;
  color: var(--white);
  text-transform: uppercase;
  font-weight: bold;
  background: transparent;
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

/* ==========================================
	Fancy Gallery
========================================== */
.gallery {
  position: relative;
  min-height: 400px;
  width: 100%;
}

.gallery .shape {
  position: absolute;
  width: 80px;
  height: unset;
  background-color: var(--primary);
  min-height: unset;
  text-align: left;
  transition: all ease-in-out .2s;
}

.gallery .shape:hover {
  background-blend-mode: soft-light;
}

.gallery .shape .caption {
  position: absolute;
  width: 80%;
  padding: 10px;
  margin: 0;
  color: var(--white);
  font-family: var(--header);
  font-size: 130%;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.gallery .shape:nth-child(1) {
  bottom: -5%;
  left: -5%;
  width: 60%;
  border-radius: 50% 0 50% 50%;
  background-color: var(--secondary);
  text-align: right;
}

.gallery .shape:nth-child(1) .caption {
  right: 0;
  top: 0;
}

.gallery .shape:nth-child(2) {
  top: 5%;
  right: 3%;
  width: 40%;
  border-radius: 50% 50% 50% 0;
  background-color: var(--black);
}

.gallery .shape:nth-child(2) .caption {
  bottom: 0;
  left: 0;
}

.gallery .shape:nth-child(3) {
  bottom: -2%;
  right: 3%;
  width: 40%;
  border-radius: 0 50% 50% 50%;
  background-color: var(--accent-lt);
}

.gallery .shape:nth-child(3) .caption {
  top: 0;
  left: 0;
}

.gallery .shape:nth-child(4) {
  top: 10%;
  left: 5%;
  width: 20%;
  border-radius: 50% 0 50% 50%;
  background-color: var(--accent-dk);
}

.gallery .shape:nth-child(4) .caption {
  bottom: 0;
  left: 0;
}

.gallery .shape:nth-child(5) {
  top: -3%;
  left: 27%;
  width: 30%;
  border-radius: 50% 50% 50% 0;
}

.gallery .shape:nth-child(6) {
  top: -10%;
  left: 56%;
  width: 15%;
  border-radius: 50% 50% 50% 0;
  background-color: var(--secondary);
  transform: rotate(-23deg);
}

.gallery .shape:nth-child(7) {
  bottom: 39%;
  right: -2%;
  width: 12%;
  transform: rotate(137deg);
}

.gallery .shape:nth-child(8) {
  bottom: -3%;
  right: 40%;
  width: 10%;
  background-color: var(--black);
  transform: rotate(224deg);
}

/* ==========================================
	Team Flex
========================================== */
.team_flex .agent {
  overflow: hidden;
}

.team_flex .agent .image-wrapper {
  border-radius: 10px 10px 0 0;
  background-color: var(--off-white);
  height: 300px;
  opacity: 1;
  transition: all ease-in-out .2s;
}

.team_flex .agent .image-wrapper.animated {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.team_flex .agent:hover > .animated {
  opacity: 1;
}

.team_flex .agent:hover > .basic {
  opacity: 0;
}

.team_flex .agent hr {
  margin: 0 0 20px;
}

.team_flex .agent .card-body {
  background-color: white;
  z-index: 0;
}

.team_flex .nav {
  position: relative;
  border-bottom: 1px solid var(--grey);
}

.team_flex .nav li a {
  color: var(--black);
}

.team_flex .nav li a.active {
  color: var(--primary);
  font-weight: 900;
}

.team_flex .nav .indicator {
  transition: all ease-in-out .2s;
  bottom: -3px;
  height: 0;
  min-width: 25px;
  position: absolute;
  border-radius: 5px;
  border-bottom: 5px solid var(--secondary);
}

/* ==========================================
	Blog & News Posts
========================================== */
.post-item {
  margin: 20px 0;
}

.post-item a {
  text-decoration: none;
}

.post-item .image-wrapper {
  height: 150px;
}

#pagination {
  margin: 40px auto;
}

/* ==========================================
	Slideshow
========================================== */
.carousel-item {
  padding: 0;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  min-height: 400px;
}

#postSlideshow {
  width: 95%;
  margin: 0 0 50px 5%;
  overflow: hidden;
  border-radius: 0 0 0 300px;
}

#postSlideshow .carousel-indicators {
  left: 5%;
}

#postSlideshow .carousel-item {
  background-size: cover;
  background-repeat: no-repeat;
}

#postSlideshow .carousel-item .hero-text {
  width: 75%;
  margin: 0 auto 50px;
  padding: 100px 0 50px;
}

#postSlideshow .carousel-item .hero-text .text-wrapper {
  width: 100%;
  height: auto;
  position: absolute;
  bottom: 40px;
  left: 0;
}

#postSlideshow .carousel-item .hero-text p,
#postSlideshow .carousel-item .hero-text h1,
#postSlideshow .carousel-item .hero-text h2,
#postSlideshow .carousel-item .hero-text h3,
#postSlideshow .carousel-item .hero-text h4,
#postSlideshow .carousel-item .hero-text h5 {
  color: var(--white);
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

#postSlideshow .carousel-item .overlay {
  position: absolute;
  z-index: -1;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin-top: 0;
  background-color: var(--trans);
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2) 40%, rgba(184, 131, 131, 0) 60%);
}

#fancySlideshow .carousel-item {
  min-height: unset;
}

#fancySlideshow .carousel-item .shape {
  width: 70%;
}

/* ==========================================
	Login
========================================== */
#login h1 {
  width: 300px;
  height: 100px;
  display: block;
  background-image: url("../images/abio_properties_full_logo.svg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

#login h1 a {
  display: none;
}

#login a {
  color: var(--primary);
}

#login form {
  height: auto;
  position: relative;
  border: none;
  overflow: visible;
  padding: 40px 40px 80px;
  border-radius: 10px;
}

#login form:before {
  content: '';
  display: block;
  position: absolute;
  border-radius: 50% 50% 0 50%;
  width: 80px;
  height: 80px;
  bottom: 140px;
  right: -100px;
  background-color: #3e8c9c;
}

#login form:after {
  content: '';
  display: block;
  position: absolute;
  border-radius: 0 50% 50% 50%;
  width: 120px;
  height: 120px;
  bottom: 0;
  right: -140px;
  background-color: #3b414b;
}

.compWrapper {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background-color: var(--blue-dk);
}

.compWrapper .after {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.compWrapper .after .img-wrapper {
  z-index: 3;
  width: 100%;
  height: 100%;
  background-size: cover;
}

.compWrapper .before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  background-size: cover;
}

.compWrapper .slideBar {
  position: absolute;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  width: 100%;
  height: -5px;
  outline: none;
  margin: 0;
  transition: all ease-in-out .2s;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  bottom: 0;
}

.compWrapper .slideBar::-webkit-slider-thumb {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 4px;
  height: 10000px;
  background: var(--white);
  cursor: pointer;
}

.compWrapper .slideBar::-moz-range-thumb {
  width: 4px;
  height: 10000px;
  background: var(--white);
  cursor: pointer;
}

.compWrapper .slideBar ::-ms-track {
  display: none;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.compWrapper .slideButton {
  pointer-events: none;
  position: absolute;
  font-size: 13px;
  width: 25px;
  height: 25px;
  line-height: 25px;
  border-radius: 50%;
  background-color: var(--white);
  left: calc(50% - 14px);
  top: calc(50% - 14px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 4;
}

/* ==========================================
	Sidebar
========================================== */
.sidebarBlock {
  -webkit-box-shadow: 0 0px 20px 0 rgba(75, 77, 79, 0.25);
  -moz-box-shadow: 0 0px 20px 0 rgba(75, 77, 79, 0.25);
  box-shadow: 0 0px 20px 0 rgba(75, 77, 79, 0.25);
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  margin-bottom: 40px;
}

.sidebarBlock .image-wrapper {
  width: 100%;
  min-height: 200px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  border-radius: 10px 10px 0 0;
}

.sidebarBlock .content {
  padding: 20px 40px;
}

.sidebarBlock .content ul.sidebar-posts {
  list-style-type: none;
  padding: 0;
  margin-bottom: 0;
}

.sidebarBlock .content ul.sidebar-posts li {
  padding: 7px 32px;
  border-bottom: 1px solid var(--grey-lt);
}

.sidebarBlock .content ul.sidebar-posts li i, .sidebarBlock .content ul.sidebar-posts li svg {
  margin-left: -32px;
  margin-right: 10px;
  color: var(--primary) !important;
}

.sidebarBlock .content ul.sidebar-posts li a {
  text-decoration: none;
  color: var(--black) !important;
  margin-left: 3px;
}

.sidebarBlock .content ul.sidebar-posts li:last-child {
  border-bottom-color: var(--trans);
}

.sidebarBlock .content ul.sidebar-posts .text-right {
  float: right;
}

.sidebarBlock .content h3 {
  font-size: 120%;
  margin-bottom: 20px;
}

.sidebarBlock .content #searchform {
  margin-top: 10px;
}

.sidebarBlock .content #searchform #search {
  border: 1px solid var(--grey-lt);
}

.sidebarBlock .content #searchform i {
  background: var(--secondary);
  padding: 12px;
  border-radius: 50px;
  right: 0;
  position: absolute;
  color: var(--white);
}

.sidebarBlock .content #searchform #searchsubmit {
  position: absolute;
  right: 0;
  top: 0;
  padding: 0;
  margin: 0;
  line-height: 40px;
  height: 40px;
  width: 40px;
}

.sidebarBlock .content #searchform #searchsubmit i, .sidebarBlock .content #searchform #searchsubmit svg {
  margin: 0 !important;
}

.sidebarBlock .content #searchform #searchsubmit:hover i, .sidebarBlock .content #searchform #searchsubmit:hover svg {
  margin: 0 !important;
}

.sidebarBlock.open {
  box-shadow: none;
  padding: 0;
}

.sidebarBlock.open .content {
  padding: 0;
}

/* ==========================================
	Sticky Nav
========================================== */
#header {
  background: var(--black);
  box-shadow: 0 5px 6px rgba(37, 87, 147, 0.05);
  position: fixed;
}

#header .container {
  padding: 0 15px;
}

#header #site_id {
  height: 60px;
  max-width: 200px;
  margin: 0 auto;
}

#header #site_id svg {
  height: 100%;
  width: auto;
  transition: all ease-in-out .4s;
}

#header #site_id:hover > #abio_mark {
  transform: rotate(360deg);
}

#header .navbar .navbar-toggler svg {
  color: var(--white);
}

#header .navbar .navbar-nav {
  width: 100%;
  position: relative;
}

#header .navbar .navbar-nav ul {
  margin: 0;
  position: relative;
}

#header .navbar .navbar-nav ul li {
  padding: 5px 10px;
  position: relative;
}

#header .navbar .navbar-nav ul li:after {
  content: '';
  display: block;
  position: absolute;
  bottom: 10px;
  left: calc(50% - 12.5px);
  width: 0;
  height: 5px;
  background: var(--secondary);
  border-radius: 5px;
  transition: all ease-in-out .2s;
}

#header .navbar .navbar-nav ul li:hover:after {
  width: 25px;
}

#header .navbar .navbar-nav ul li.current-menu-item:after {
  width: 25px;
}

#header .navbar .navbar-nav ul li a {
  display: block;
  height: 100%;
  font-weight: 300;
  font-family: var(--header);
  text-transform: none;
  text-decoration: none;
  color: var(--white);
}

#header .navbar .navbar-nav ul li.menu-item-has-children > a:after {
  display: none;
  font-family: var(--icon);
  font-weight: 900;
  content: "\f078";
}

#header .navbar .navbar-nav ul li.menu-item-has-children > a svg {
  display: none;
  margin-left: 5px;
  transition: all ease-in-out .2s;
}

#header .navbar .navbar-nav ul li.menu-item-has-children:hover > a svg {
  transform: rotate(180deg);
}

#header .navbar .navbar-nav ul li.menu-item-has-children > .sub-menu {
  background: var(--white);
  top: 40px;
  padding-top: 20px;
  box-shadow: 0, 0, 20px, 0, rgba(0, 0, 0, 0.15);
  border-radius: 5px;
}

#header .navbar .navbar-nav ul li.menu-item-has-children > .sub-menu li {
  padding: 5px 10px;
}

#header .navbar .navbar-nav ul li.menu-item-has-children > .sub-menu li > a {
  color: var(--black);
}

#header .navbar .navbar-nav ul li.menu-item-has-children > .sub-menu li:after {
  display: none;
}

#header .navbar .navbar-nav ul li.menu-item-has-children > .sub-menu li:hover {
  background: var(--blue-dk);
  color: var(--white);
}

#header .navbar .navbar-nav ul li.menu-item-has-children > .sub-menu li:hover > a {
  color: var(--white);
}

#header .navbar .navbar-nav ul li.menu-item-has-children:hover > .sub-menu {
  display: block;
}

#header .navbar .navbar-nav ul li.button {
  padding: 0;
  float: right;
}

#header .navbar .navbar-nav ul li.button a {
  padding: 10px 25px;
  color: var(--white);
  font-family: var(--sans);
  font-weight: 600;
  background: var(--blue-dk);
  border-radius: 25px;
}

#header .navbar .navbar-nav ul li.button a:hover {
  background: var(--secondary);
  color: var(--black);
}

#header .navbar .navbar-nav ul li.button a:hover > :after {
  margin-left: 20px;
}

#header .navbar .navbar-nav ul li.button a:after {
  display: none;
  content: "\f0da";
  font-family: var(--icon);
  font-weight: 900;
  margin-left: 10px;
  transition: all ease-in-out .2s;
}

#header .navbar .navbar-nav ul li.button a svg {
  margin-left: 10px;
}

#header .navbar .navbar-nav ul li.button:after {
  display: none;
}

#header .navbar .navbar-nav .sub-menu {
  position: absolute;
  width: 230px;
  left: 0;
  top: 30px;
  display: none;
  overflow: visible;
  border-radius: 0;
}

#header .navbar .navbar-nav .sub-menu:before {
  content: "";
  display: block;
  position: absolute;
  left: 25px;
  top: -8px;
  width: 0;
  height: 0;
  border-left: 8px solid var(--trans);
  border-right: 8px solid var(--trans);
  border-bottom: 8px solid var(--white);
}

#header .navbar .navbar-nav .sub-menu li:hover {
  background: var(--trans);
}

#header .navbar .navbar-nav .sub-menu li.menu-right-menu-container a:after {
  display: none;
}

#header .navbar .navbar-nav .menu-main-menu-container,
#header .navbar .navbar-nav .menu-agent-menu-container,
#header .navbar .navbar-nav .menu-listings-menu-container {
  text-align: center;
  width: 100%;
  padding-top: 10px;
}

.animate-header #header {
  background: rgba(59, 65, 75, 0);
  box-shadow: 0 5px 6px rgba(37, 87, 147, 0);
  transition: all ease-in-out .2s;
}

.animate-header #header.animated {
  background: var(--black);
  box-shadow: 0 5px 6px rgba(37, 87, 147, 0.05);
}

/* ==========================================
	Footer
========================================== */
#footer {
  padding: 50px 0 0;
  background: var(--black);
  color: var(--white);
  font-size: 80%;
}

#footer #footer-logo {
  width: 100%;
  height: auto;
  background-position: center center;
}

#footer h6 {
  font-family: "Lato", sans-serif;
  font-weight: bold;
  color: var(--accent-lt);
  padding-bottom: 5px;
  margin-bottom: 5px;
  border-bottom: 3px solid var(--secondary);
}

#footer a {
  text-decoration: none;
  color: var(--white);
}

#footer .columns ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: inline-block;
}

#footer .columns ul li {
  margin: 0 5px;
  display: block;
  text-align: center;
  height: auto;
}

#footer .columns ul li a {
  text-transform: none;
  color: var(--white);
  font-weight: 400;
}

#footer .columns ul li a:hover {
  color: var(--secondary);
}

#footer hr {
  border-bottom-color: var(--grey);
}

#footer .copyright a {
  font-weight: normal;
}

/* ==========================================
	Listings
========================================== */
#single-listing .hero {
  min-height: 780px;
}

#single-listing .hero h1 {
  font-family: "Lato", sans-serif;
  font-size: 400%;
  font-weight: 400;
}

#single-listing .hero h1 span {
  font-size: 70%;
}

#single-listing .overlay {
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2) 60%, transparent 100%);
}

/* Gallery */
.listing-gallery {
  height: 500px;
  overflow: hidden;
  -webkit-transition: all ease-in-out .2s;
  -moz-transition: all ease-in-out .2s;
  transition: all ease-in-out .2s;
}

.listing-gallery.reveal {
  height: auto;
}

.listing-gallery.gg-box {
  --column-width: 250px !important;
}

.listing-gallery img {
  border: 5px solid var(--white);
}

.listing-gallery img:nth-child(2n):not(:last-of-type) {
  grid-column-end: span 2;
  grid-row-end: span 2 !important;
}

.listing-gallery img:nth-child(3n):not(:last-of-type) {
  grid-column-end: span 1;
  grid-row-end: span 1 !important;
}

#gg-screen {
  background: rgba(0, 0, 0, 0.8) !important;
}

#gg-screen .gg-image {
  margin: 30px auto;
  width: 70%;
}

#gg-screen .gg-btn {
  background: var(--secondary);
  color: var(--black);
  border-radius: 10px;
}

#gg-screen .gg-btn:hover {
  color: var(--white);
  background: var(--primary);
}

#gg-screen .gg-close {
  top: 100px;
}

.button.gallery-toggle {
  bottom: 5%;
  right: 5%;
  background: var(--primary);
  color: var(--white);
  z-index: 10;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.button.gallery-toggle:hover {
  background: var(--primary);
  color: var(--white) !important;
}

.button.gallery-toggle:hover i, .button.gallery-toggle:hover svg {
  margin-left: 5px;
}

.button.gallery-toggle#openGallery {
  display: block;
  position: absolute !important;
}

.button.gallery-toggle#closeGallery {
  display: none;
  position: fixed !important;
}

.button.gallery-toggle.reveal#openGallery {
  display: none;
}

.button.gallery-toggle.reveal#closeGallery {
  display: block;
}

/* Listing Details */
#listingDetail {
  padding: 100px 0 50px;
}

#listingDetail .shape i, #listingDetail .shape svg {
  margin-right: 5px;
}

#listingDetail .shape p.detail {
  font-size: 75%;
}

#listingDetail .open-house {
  list-style: none;
  margin: 0 8px;
  padding: 0;
}

#listingDetail .jingle {
  display: inline;
  margin-left: -20px;
  margin-right: 5px;
  color: var(--primary);
  -webkit-transition: all ease-in-out .2s;
  -moz-transition: all ease-in-out .2s;
  transition: all ease-in-out .2s;
  animation: jingle .7s ease-in infinite;
  animation-delay: 2s;
}

#listingDetail h3 {
  margin: 10px 0 20px;
}

/* Feature Tabs */
#tabs {
  margin-top: 20px;
}

#tabs .indicator {
  position: absolute;
  right: -18px;
  border-right: 5px solid var(--secondary);
  -webkit-transition: all ease-in-out .2s;
  -moz-transition: all ease-in-out .2s;
  transition: all ease-in-out .2s;
}

#tabs .tab-content {
  border-left: 1px solid var(--grey-lt);
  padding-left: 20px;
}

#tabs .nav-item {
  margin-right: -10px;
}

#tabs .nav-item .nav-link {
  border: none;
  border-bottom: 1px solid var(--grey-lt);
  text-decoration: none;
  font-weight: 900;
  font-family: "Lato", sans-serif;
  color: var(--accent-dk);
}

#tabs .nav-item .nav-link:first-child {
  border-top-color: transparent;
}

#tabs .nav-item .nav-link.active {
  color: var(--primary);
  background-color: transparent;
}

.acf-map {
  overflow: visible;
}

/* Resource */
ul.resources {
  list-style: none;
  margin: -30px -15px;
  padding: 0;
}

ul.resources .card {
  color: var(--black);
  font-family: "Lato", sans-serif;
  font-weight: bold;
  display: block;
  height: 60px;
  text-decoration: none;
}

ul.resources .card .icon {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 60px;
  line-height: 60px;
  text-align: center;
  border-radius: 10px 0 0 10px;
  background: var(--accent-dk);
}

ul.resources .card .icon i, ul.resources .card .icon svg {
  color: var(--white);
  font-size: 20px;
}

ul.resources .card span {
  position: absolute;
  right: 0;
  display: block;
  padding: 20px;
  width: calc(100% - 60px);
  line-height: 1.2;
  font-size: 90%;
}

ul.resources.light .card .icon {
  background: var(--accent-lt);
}

ul.resources.light .card .icon i, ul.resources.light .card .icon svg {
  color: var(--black);
}

/* Contact */
#listingContact .card.agent {
  position: relative;
  height: auto;
  min-height: 180px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

#listingContact .card.agent .image-wrapper {
  width: 180px;
  min-height: 200px;
  height: 100%;
  border-radius: 5px 0 0 5px;
  background-color: var(--black);
}

#listingContact .card.agent .card-body {
  position: absolute;
  right: 0;
  top: 0;
  padding: 20px;
  width: calc(100% - 180px);
}

#listingContact .card.agent .card-body p {
  margin-bottom: 0;
}

#listingContact .card.agent .card-body svg {
  color: var(--primary);
}

#listing_filter,
#listing_search {
  border: none;
  min-width: 200px;
  color: var(--black);
}

.searchProperties {
  float: right;
  border: 2px solid var(--primary);
  border-radius: 50px;
  padding: 5px 20px;
  max-width: 485px;
}

.Pending.status, .pending.status {
  display: block;
  position: absolute;
  top: 50px;
  left: 0;
  padding: 3px 15px;
  color: var(--accent-dk);
  background: var(--secondary);
  border-radius: 0 5px 5px 0;
  z-index: 2;
}

.listing.card {
  background: var(--status);
  color: var(--black);
}

.listing.card.Active, .listing.card.active {
  --status: var(--primary);
  color: var(--white);
}

.listing.card.Sold, .listing.card.sold {
  --status: var(--black);
  color: var(--white);
}

.listing.card.Pending, .listing.card.pending {
  --status: var(--accent-dk);
  color: var(--white);
}

.listing.card.Soon, .listing.card.soon {
  --status: var(--secondary);
  color: var(--white);
}

.listing.card .status {
  position: absolute;
  top: 20px;
  left: 0;
  font-size: 80%;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 20px;
  border-radius: 0 5px 5px 0;
  color: var(--white);
  background: var(--status);
}

.listing.card .image-wrapper {
  height: 250px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.listing.card .text-wrapper {
  padding: 20px 20px 0;
  border-top: 1px solid var(--white);
}

.listing.card .text-wrapper h4 {
  font-size: 82%;
}

.listing.card .text-wrapper .price {
  font-size: 160%;
}

.listing.card .text-wrapper .detail {
  font-size: 85%;
  font-weight: 400;
  display: inline-block;
  margin: 10px 15px 0 0;
}

.listing-tour iframe {
  height: 100% !important;
}

/* ==========================================
	Agents
========================================== */
.card.agent .card-body {
  padding: 20px;
}

.card.agent h1, .card.agent h2, .card.agent h3, .card.agent h4, .card.agent h5, .card.agent h6 {
  font-family: "Lato", sans-serif;
  font-weight: bold;
}

.card.agent h3 {
  margin: 5px 0;
}

.card.agent .sub-title {
  font-size: 80%;
  margin: 0;
}

.card.agent hr {
  margin: 5px 0 10px;
}

.card.agent a {
  font-weight: 400;
  color: var(--black);
  text-decoration: none;
  margin-bottom: 0;
}

.read-more-btn {
  padding: 5px;
}

.read-more {
  display: none;
  -webkit-transition: all ease-in-out .2s;
  -moz-transition: all ease-in-out .2s;
  transition: all ease-in-out .2s;
}

/* ==========================================
	Neighborhood
========================================== */
/* Sidebar */
.sidebarBlock.slim {
  position: relative;
  color: var(--black);
  font-family: "Lato", sans-serif;
  font-weight: bold;
  display: block;
  height: 60px;
  padding: 0;
  text-decoration: none;
  margin: 15px 0;
}

.sidebarBlock.slim .icon {
  display: inline-block;
  position: relative;
  left: 0;
  top: 0;
  height: 100%;
  width: 60px;
  line-height: 60px;
  text-align: center;
  border-radius: 10px 0 0 10px;
  background: var(--accent-lt);
}

.sidebarBlock.slim .icon i, .sidebarBlock.slim .icon svg {
  color: var(--black);
  font-size: 20px;
}

.sidebarBlock.slim span {
  position: relative;
  left: 60px;
  top: -60px;
  display: inline-block;
  padding: 20px;
  width: calc(100% - 60px);
  line-height: 1.2;
  font-size: 110%;
}

#single-city #tabs {
  width: 95%;
  margin: 0 auto;
}

#single-city #tabs .table-header {
  background: var(--blue-dk);
  color: var(--white);
  font-weight: bold;
  padding: 5px 0;
}

#single-city #tabs .card.slim {
  margin: 10px;
}

/* ==========================================
	Search Box
========================================== */
.search_flex {
  position: relative;
  margin: -80px auto 0;
  z-index: 2;
}

#propertySearch {
  padding: 20px 20px 0;
}

#propertySearch .form-group {
  position: relative;
  margin: 0 auto;
  padding: 0 10px;
}

#propertySearch .form-group:after {
  content: '';
  display: block;
  position: absolute;
  width: 0;
  height: 80%;
  top: 10%;
  right: 0;
  border-right: 1px solid var(--accent-dk);
}

#propertySearch .form-group:before {
  content: '';
  display: none;
  position: absolute;
  width: 95%;
  height: 0;
  top: 0;
  margin: 0 auto;
  border-bottom: 1px solid var(--accent-dk);
}

#propertySearch .form-group.btn-wrapper:after {
  display: none;
}

#propertySearch label {
  font-family: "Lato", sans-serif;
  font-size: 65%;
  font-weight: bold;
  color: var(--accent-dk);
}

#propertySearch input {
  border: none;
  width: 100%;
  outline: none;
  padding: 5px 0;
  font-size: 75%;
}

#propertySearch .button {
  padding: 10px 15px;
  width: 100%;
  margin: 0 auto;
}

#propertySearch .button:hover {
  padding: 10px 15px;
}

/* ==========================================
	Gravity Forms
========================================== */
.gform_wrapper.gravity-theme label.gfield_label,
.gform_wrapper.gravity-theme legend {
  font-family: "Lato", sans-serif;
  color: var(--accent-dk);
  font-size: 90%;
  font-weight: bold;
}

.gform_wrapper.gravity-theme input, .gform_wrapper.gravity-theme select, .gform_wrapper.gravity-theme textarea {
  background: var(--off-white);
  border-radius: 5px;
  border: 1px solid #ccc;
}

.gform_wrapper.gravity-theme .gfield input, .gform_wrapper.gravity-theme .gfield select {
  vertical-align: top;
}

input.gform_button.button {
  position: relative;
  display: inline-block;
  height: auto;
  text-transform: none;
  margin: 10px 0;
  padding: 15px 25px;
  color: var(--white);
  font-family: "Ravensara Sans", sans-serif;
  font-weight: 600;
  background: var(--primary);
  text-decoration: none;
  text-align: center;
  outline: none;
  border: none;
  float: right;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  border-radius: 50px;
  -webkit-transition: all ease-in-out .2s;
  -moz-transition: all ease-in-out .2s;
  transition: all ease-in-out .2s;
}

/* ==========================================
	Default Search Form
========================================== */
.searchform div {
  position: relative;
}

.searchform div label {
  position: absolute;
  z-index: 2;
  left: 15px;
  top: 8px;
  width: 50%;
  display: inline-block;
}

.searchform div input#search {
  position: relative;
  width: 100%;
  border: none;
  padding: 0 50px 0 15px;
  height: 40px;
  line-height: 36px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}

.searchform div input#search:focus {
  outline: none;
  border: 2px solid var(--primary);
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}

/* Fancy Cards */
.card.fancy {
  padding: 30px 20px;
  width: 80%;
  margin: 0 0 0 5%;
}

.card.fancy:before {
  content: '';
  display: block;
  position: absolute;
  border-radius: 50% 50% 0 50%;
  width: 80px;
  height: 80px;
  bottom: 140px;
  right: -100px;
  background-color: var(--secondary);
}

.card.fancy:after {
  content: '';
  display: block;
  position: absolute;
  border-radius: 0 50% 50% 50%;
  width: 120px;
  height: 120px;
  bottom: 0;
  right: -140px;
  background-color: var(--blue-dk);
}

.card.fancy.left {
  border-radius: 50% 50% 50% 0;
}

.card.fancy.left:before {
  right: unset;
  left: -100px;
}

.card.fancy.left:after {
  right: unset;
  left: -140px;
}

.card.fancy.left .text-wrapper {
  left: 10%;
}

/* ==========================================
	Mortgage Calculator
========================================== */
.mgCalculator .input_wrapper {
  width: 48%;
  display: inline-block;
  padding: 10px;
}

.mgCalculator .input_wrapper.mg-buttons {
  width: 100%;
}

.mgCalculator .input_container {
  width: 100%;
  position: relative;
  background: var(--off-white);
  border: 1px solid var(--accent-dk);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.mgCalculator .input_container input {
  position: relative;
  width: 100%;
  background: transparent;
  border: none;
  padding-left: 30px !important;
}

.mgCalculator .input_container .mg-input-label {
  position: absolute;
  left: 0;
  top: 0;
  padding: 8px 10px;
  color: var(--primary);
  font-weight: bold;
}

.mgCalculator .input_container.after input {
  padding-left: 10px !important;
  padding-right: 30px !important;
}

.mgCalculator .input_container.after .mg-input-label {
  left: unset;
  right: 0;
}

.mg-calculator-results {
  padding: 40px 20px;
}

.mg-calculator-results .input_wrapper {
  width: 48%;
  display: inline-block;
  padding: 10px;
}

.mg-calculator-results .input_wrapper .mg-calculator-value {
  color: var(--primary);
  font-size: 120%;
  font-weight: bold;
}

.mg-calculator-results .input_wrapper .gfield_label {
  font-size: 90%;
  font-weight: bold;
  color: var(--accent-dk);
}

.mg-calculator-results #mgAmortization {
  max-height: 350px;
  overflow: scroll;
  border: 15px solid var(--accent-lt);
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

.mgt-deets {
  margin: 20px 0;
  padding: 20px 40px 0;
  text-align: center;
  border: 15px solid var(--accent-lt);
  border-radius: 15px;
}

.mgt-deets span {
  color: var(--primary);
  font-weight: bold;
}

/* ==========================================
	Buttons
========================================== */
.playAbio {
  border: none;
  border-radius: 50%;
  background: var(--off-white);
}

/* ==========================================
	Responsive Styles
========================================== */
@media all and (max-width: 580px) {
  .gallery {
    height: 285px;
    min-height: unset;
  }
  .gallery .shape {
    position: absolute !important;
  }
  .gallery .shape .caption {
    font-size: 100%;
  }
  #slideshow .image-wrapper {
    min-height: 400px;
  }
  #slideshow .shape {
    border-radius: 20px !important;
  }
  .listing-gallery.gg-box {
    grid-template-columns: unset;
    grid-auto-rows: unset;
    display: block;
  }
  #gallery-toggle {
    width: 90%;
    bottom: 0;
  }
  #single-city #tabs {
    width: 80%;
  }
  #single-city #tabs .tab-content {
    margin-top: 40px;
  }
  #single-agent {
    margin: 0 5%;
  }
  #postSlideshow {
    border-radius: 0;
    width: 100%;
    margin: 0 0 50px;
  }
  .post-item .image-wrapper {
    width: 100%;
    height: 200px;
  }
}

@media all and (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  #header .navbar .navbar-nav ul li {
    height: auto;
    padding: 0;
  }
  #header .navbar .navbar-nav ul li.menu-item-has-children > .sub-menu {
    display: block;
    position: relative;
    width: 100%;
    top: 0;
    padding-top: 0;
    border-radius: 0;
    background: var(--black);
    box-shadow: none;
  }
  #header .navbar .navbar-nav ul li.menu-item-has-children > .sub-menu:before {
    display: none;
  }
  #header .navbar .navbar-nav ul li.menu-item-has-children > .sub-menu:after {
    bottom: -8px;
  }
  #header .navbar .navbar-nav ul li.menu-item-has-children > .sub-menu li {
    padding: 0 10px;
    text-align: center;
  }
  #header .navbar .navbar-nav ul li.menu-item-has-children > .sub-menu li a {
    color: var(--white);
  }
  #header .navbar .navbar-nav ul li.button {
    margin-top: 20px;
  }
  #body {
    max-width: 768px;
    overflow-x: hidden;
    margin-top: 20px;
  }
  .hero-spacer {
    height: 10px;
    margin-top: 0;
  }
  .home-hero .abio-a {
    width: 300px;
    height: 300px;
  }
  .home-hero .abio-outline {
    width: 350px;
    height: 350px;
    top: calc(50% - 175px);
    left: calc(50% - 175px);
  }
  .home-hero.animated .abio-a {
    width: 100%;
    right: 0;
    border-radius: 0;
  }
  #header #site_id {
    margin: 0;
  }
  .luxe-header #site_id img {
    height: 100% !important;
    width: auto !important;
  }
  .container-fluid section.full_flex, .container-fluid section.column_flex, .container-fluid section.cards_flex, .container-fluid section.combo_flex, .container-fluid section.post_flex, .container-fluid section.slide_flex, .container-fluid section.tab_flex, .container-fluid section.popListings_flex, .container-fluid section.team_flex {
    padding: 40px 5px;
  }
  a.button {
    width: 100%;
  }
  a.button i, a.button svg {
    margin-left: 20px;
  }
  section.hero {
    max-width: 100%;
    margin: 0;
    height: unset !important;
    min-height: 300px;
    background-position: top center !important;
    border-bottom-left-radius: 0;
    background-color: var(--black);
  }
  section.hero .hero-text {
    padding: 0;
    padding-bottom: 100px;
    margin: 100px 0 0;
    min-height: unset !important;
    height: 100%;
    width: 100%;
  }
  section.hero .text-wrapper {
    position: relative !important;
    padding: 20px;
    bottom: 20px !important;
  }
  section.hero:after {
    bottom: 0;
  }
  #single-listing section.hero {
    min-height: 100px;
    padding-bottom: 50px;
  }
  #single-listing section.hero .hero-text {
    min-height: unset !important;
  }
  #single-listing section.hero h1 {
    font-size: 300%;
  }
  #tabs .tab-content {
    border-left-color: transparent;
  }
  #listingDetail {
    padding: 0 !important;
  }
  #listingLocation {
    padding: 0 !important;
  }
  #listingResources {
    padding: 0 !important;
  }
  ul.resources {
    margin: 0 -15px;
  }
  #gallery-toggle.reveal {
    left: 0;
    position: fixed;
    width: 95%;
  }
  #gg-screen .gg-image {
    width: 100%;
  }
  .search_flex {
    margin: -50px auto 0;
  }
  .searchProperties #listing_filter,
  .searchProperties #listing_search {
    width: 90%;
    margin: 0 auto;
  }
  .card {
    margin: 10px auto;
  }
  .card.fancy {
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }
  .card.fancy:before, .card.fancy:after {
    display: none;
  }
  .shape {
    border-radius: 20px;
    width: 100%;
    margin: 10px auto;
  }
  .shape h3 {
    font-size: 120%;
  }
  .container-fluid section.bg {
    padding-top: 0;
  }
  .shape.fancy {
    width: 95%;
  }
  .shape.fancy:before {
    width: 40px;
    height: 40px;
    right: -50px;
    bottom: 90px;
    display: none;
  }
  .shape.fancy:after {
    width: 80px;
    height: 80px;
    right: -90px;
    display: none;
  }
  .vcenter .image-wrapper {
    position: relative;
    width: 80%;
    margin: 0;
  }
  .vcenter .image-wrapper.left {
    margin: 0 0 10% 20%;
  }
  .iframe-container.video-cut {
    margin-bottom: 20px;
  }
  .iframe-container.video-cut.left {
    border-bottom-right-radius: 0;
  }
  .iframe-container.video-cut.right {
    border-bottom-left-radius: 0;
  }
  .popListings-swiper .image-wrapper {
    width: 100%;
    margin: 0;
    border-radius: 20px 20px 0 0;
  }
  .popListings-swiper .soft-square {
    width: 100%;
    height: auto;
    min-height: unset;
    margin: 0;
    position: relative;
    top: 0;
    right: 0;
    border-left: none;
    border-top: 3px solid white;
    border-radius: 0 0 20px 20px;
  }
  .popListings-swiper .soft-square hr {
    width: 100%;
  }
  .popListings-swiper .soft-square.left {
    left: 0;
    right: unset;
    border-left: none;
    border-right: 3px solid white;
  }
  .popListings-swiper .soft-square .text-wrapper {
    transform: none;
  }
  iframe {
    width: 100% !important;
    height: auto;
  }
  .iframe-container.video-wrapper {
    margin-bottom: 20px;
  }
  .slide_flex .hero-text:before {
    display: none;
  }
  .gallery {
    min-height: unset;
  }
  .gallery .shape {
    position: absolute !important;
  }
  .gallery .shape .caption {
    font-size: 100%;
  }
  .listingGallery #gallery-toggle {
    width: 90%;
    margin: 0;
  }
  .arrowList.column li {
    width: 100%;
  }
  #listingContact .card.agent .image-wrapper {
    width: 100%;
    height: 300px;
  }
  #listingContact .card.agent .card-body {
    position: relative;
    width: 100%;
  }
  #single-listing {
    padding: 0;
  }
  img {
    width: 100% !important;
    height: auto !important;
  }
  .footer {
    text-align: center;
  }
  input.gform_button.button {
    width: 100%;
    padding: 10px 0;
    margin: 0;
  }
  .review-card .image-wrapper {
    width: 40px;
    height: 40px;
  }
  #propertySearch .form-group:after {
    display: none;
  }
  #propertySearch .form-group:before {
    display: block;
  }
  #propertySearch .form-group.btn-wrapper:before {
    display: none;
  }
  #propertySearch .col-md:first-child .form-group:before {
    display: none;
  }
}

@media all and (min-width: 768px) {
  .gallery {
    height: 280px;
    min-height: 280px;
  }
  .gallery .shape {
    position: absolute !important;
  }
  #footer #footer-logo {
    background-position: top left;
  }
  #footer .columns ul {
    margin-bottom: 0;
  }
  #footer .columns ul li {
    text-align: left;
  }
}

@media all and (min-width: 800px) {
  .gallery {
    min-height: 300px;
  }
}

@media all and (min-width: 992px) {
  .gallery {
    min-height: 330px;
  }
}

@media all and (min-width: 1100px) {
  .gallery {
    min-height: 370px;
  }
}

@media all and (min-width: 1200px) {
  .shape .text-wrapper hr {
    width: 100%;
  }
  .listing-gallery {
    height: 650px;
  }
  .listing-gallery.gg-box {
    grid-auto-rows: 380px;
  }
  .listing-gallery img {
    border: 10px solid var(--white);
    grid-column-end: span 2;
  }
  .listing-gallery img:nth-child(2n):not(:last-of-type) {
    grid-column-end: span 2;
  }
  .listing-gallery img:nth-child(3n):not(:last-of-type) {
    grid-column-end: span 2;
  }
  .gallery {
    min-height: 400px;
  }
}

@media all and (min-width: 1600px) {
  body {
    font-size: 18px;
  }
  .container {
    max-width: 1400px;
  }
  .popListings-swiper .image-wrapper {
    width: 70%;
  }
  .popListings-swiper .soft-square {
    width: 30%;
  }
  .gallery {
    min-height: 480px;
  }
}
