#residencesSec {
  position: relative;
  padding-top: 70px;
  padding-bottom: 70px;
  margin-bottom: var(--space-between-sections);
  background-color: var(--color-grey);
  overflow: hidden;
}

#residencesSec span.verticalTitle {
  font-size: 14px;
  color: var(--color-black);
  line-height: 20px;
  text-transform: uppercase;
  position: absolute;
  top: 50%;
  left: 30px;
  z-index: 2;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(-180deg);
}

#residencesSec span.verticalTitle:before {
  content: "";
  width: 1px;
  height: 40px;
  background-color: var(--color-black);
  position: absolute;
  top: calc(100% + 17px);
  left: 50%;
}

#residencesSec span.verticalTitle:after {
  content: "";
  width: 1px;
  height: 40px;
  background-color: var(--color-black);
  position: absolute;
  bottom: calc(100% + 17px);
  left: 50%;
}

#residencesSec span.title {
  display: block;
  margin: 0 0 40px 0;
  font-family: var(--font-cursive-family);
  font-size: var(--font-subtitle-cursive-size);
  color: var(--color-primary);
  line-height: 50px;
  text-align: center;
}

#residencesSec h2 {
  float: right;
  width: 50%;
  margin: 0 0 20px 0;
  font-family: var(--font-title-family);
  font-size: var(--font-title-size);
  color: var(--color-black);
  line-height: 58px;
  text-transform: uppercase;
}

#residencesSec .relaxBox {
  float: left;
  margin-left: calc(0px - var(--container-padding));
  font-family: var(--font-title-family);
  font-size: 200px;
  color: var(--color-grey-soft);
  line-height: 170px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

#residencesSec .residences-intro {
  float: right;
  width: 50%;
  clear: right;
  margin: 0 0 30px 0;
  font-size: var(--font-text-size);
  line-height: 1.7;
  color: var(--color-black);
}

#residencesSec .residences-intro p {
  margin: 0 0 15px 0;
}

#residencesSec .residences-intro p:last-child {
  margin-bottom: 0;
}

#residencesSec .seeall {
  float: right;
  width: 50%;
  margin: 0 0 40px 0;
  clear: both;
}

#residencesSec .residences {
  display: flex;
  float: left;
  width: 100%;
  position: relative;
  z-index: 2;
}

#residencesSec .residences .slider {
  align-self: flex-start;
  float: left;
  width: 65%;
  padding-bottom: 125px;
}

#residencesSec .residences .slider .residences-slider .owl-dots {
  position: absolute;
  bottom: -85px;
  left: 0;
}

@media (max-width: 767px) {
  #residencesSec .residences .slider .residences-slider .owl-dots {
    bottom: -65px;
  }
}

#residencesSec .residences .content {
  position: relative;
  float: left;
  width: 35%;
  margin-top: 170px;
  padding: 40px;
  padding-right: 0;
}

#residencesSec .residences .content .bgBox {
  background: var(--color-grey-soft);
  position: absolute;
  top: 0;
  right: calc(0px - var(--container-padding));
  bottom: 0;
  left: -100px;
  z-index: -1;
}

#residencesSec .residences .content .residences-info h3 {
  margin: 0 0 20px 0;
  font-family: var(--font-title-family);
  font-size: var(--font-subtitle-size);
  line-height: 32px;
  color: var(--color-black);
  text-transform: uppercase;
}

#residencesSec .residences .content .residences-info p {
  margin: 0 0 20px 0;
  font-size: var(--font-text-size);
  color: var(--color-black);
  font-weight: 400;
}

#residencesSec .residences .content .residences-info p:last-child {
  margin-bottom: 0;
}

#residencesSec .residences .content .residences-info a.button {
  display: inline-block;
  margin: 10px 0 0 0;
  padding: 15px 20px;
  background-color: var(--color-primary);
  font-size: 16px;
  color: var(--color-white);
  font-weight: 700;
  line-height: 20px;
  text-transform: uppercase;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

#residencesSec .residences .content .residences-info a.button:hover {
  color: var(#fff);
  background-color: var(--color-primary-hover);
}

@media only screen and (min-width: 1180px) and (max-width: 1366px) {
  #residencesSec span.verticalTitle {
    left: 17px;
  }
  #residencesSec .relaxBox {
    font-size: 180px;
    line-height: 150px;
  }
}

@media only screen and (min-width: 959px) and (max-width: 1180px) {
  #residencesSec span.verticalTitle {
    left: 7px;
  }
  #residencesSec .relaxBox {
    font-size: 140px;
    line-height: 110px;
  }
  #residencesSec .residences .content {
    margin-top: 70px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
  #residencesSec span.verticalTitle {
    display: none;
  }
  #residencesSec span.title {
    margin: 0 0 20px 0;
    font-size: var(--font-subtitle-cursive-size);
    line-height: 40px;
  }
  #residencesSec h2 {
    margin: 0 0 20px 0;
    font-size: 35px;
    line-height: 45px;
  }
  #residencesSec .relaxBox {
    font-size: 110px;
    line-height: 90px;
  }
  #residencesSec .seeall {
    margin: 0 0 20px 0;
  }
  #residencesSec .residences .slider {
    width: 55%;
    padding-bottom: 100px;
  }
  #residencesSec .residences .slider .residences-slider .owl-dots {
    bottom: -66px;
  }
  #residencesSec .residences .slider .residences-slider .owl-dots .owl-dot {
    width: 32px;
    height: 32px;
    margin: 0 5px;
  }
  #residencesSec
    .residences
    .slider
    .residences-slider
    .owl-dots
    .owl-dot:first-child {
    margin-left: 0;
  }
  #residencesSec
    .residences
    .slider
    .residences-slider
    .owl-dots
    .owl-dot:last-child {
    margin-right: 0;
  }
  #residencesSec
    .residences
    .slider
    .residences-slider
    .owl-dots
    .owl-dot:before,
  #residencesSec
    .residences
    .slider
    .residences-slider
    .owl-dots
    .owl-dot:after {
    display: none;
  }
  #residencesSec
    .residences
    .slider
    .residences-slider
    .owl-dots
    .owl-dot
    span {
    width: 8px;
    height: 8px;
  }
  #residencesSec .residences .content {
    width: 45%;
    margin-top: 70px;
    padding: 15px;
    padding-right: 0;
  }
  #residencesSec .residences .content .bgBox {
    left: -50px;
  }
  #residencesSec .residences .content .residences-info h3 {
    margin: 0 0 10px 0;
    font-size: 26px;
    line-height: 36px;
  }
  #residencesSec .residences .content .residences-info p {
    font-size: 16px;
    line-height: 28px;
  }
  #residencesSec .residences .content .residences-info a.button {
    margin: 0px 0 0 0;
    padding: 10px 15px;
  }
}

@media only screen and (max-width: 767px) {
  #residencesSec span.verticalTitle {
    display: none;
  }
  #residencesSec span.title {
    margin: 0 0 20px 0;
    font-size: var(--font-subtitle-cursive-size);
    line-height: 40px;
    text-align: left;
  }
  #residencesSec h2 {
    float: left;
    width: 100%;
    margin: 0 0 20px 0;
    font-size: var(--font-title-size);
    line-height: 45px;
  }
  #residencesSec .relaxBox {
    display: none;
    font-size: 70px;
    line-height: 70px;
  }
  #residencesSec .residences-intro {
    float: left;
    width: 100%;
    clear: both;
    margin: 0 0 20px 0;
  }
  #residencesSec .seeall {
    float: left;
    width: 100%;
    margin: 0 0 20px 0;
  }
  #residencesSec .residences {
    display: block;
  }
  #residencesSec .residences .slider {
    width: calc(100% + 30px);
    margin-left: -15px;
    padding-bottom: 0;
    margin-bottom: 80px;
  }
  #residencesSec .residences .content {
    width: 100%;
    margin-top: 0px;
    padding: 15px;
    padding-bottom: 100px;
  }
  #residencesSec .residences .content .bgBox {
    right: 0;
    left: 0;
  }
  #residencesSec .residences .content .residences-info h3 {
    font-size: var(--font-subtitle-size);
    line-height: 30px;
  }
  #residencesSec .residences .content .residences-info p {
    font-size: var(--font-text-size);
    line-height: 28px;
  }
  #residencesSec .residences .content .residences-info a.button {
    display: block;
    margin: 0px 0 0 0;
    padding: 10px 15px;
  }
  #residencesSec .residences .content .residences-info .owl-dots {
    position: absolute;
    bottom: -66px;
    right: 0;
    left: 0;
  }
  #residencesSec .residences .content .residences-info .owl-dots .owl-dot {
    width: 32px;
    height: 32px;
    margin: 0 5px;
  }
  #residencesSec
    .residences
    .content
    .residences-info
    .owl-dots
    .owl-dot:first-child {
    margin-left: 0;
  }
  #residencesSec
    .residences
    .content
    .residences-info
    .owl-dots
    .owl-dot:last-child {
    margin-right: 0;
  }
  #residencesSec
    .residences
    .content
    .residences-info
    .owl-dots
    .owl-dot:before,
  #residencesSec
    .residences
    .content
    .residences-info
    .owl-dots
    .owl-dot:after {
    display: none;
  }
  #residencesSec .residences .content .residences-info .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
  }
}
