/* Homepage CSS */
.ip-banner:not(#hero) {
  display: none !important;
}
body .fp-slider .img-canvas img{
  width: 100%;
  height: 100%;
}
#hero {
  display: block;
}

#hero h1 {
  color: #fff;
  font-size: 43px;
  position: absolute;
  font-weight: normal;
  width: 100%;
  max-width: 89.37%;
  top: 50%;
  left: 50%;
  text-transform: none;
  text-align: left;
  transform: translate(-50%, -50%);
  z-index: 3;
  padding-left: 15px;
}

#hero h1 em {
  display: block;
  font-style: normal;
  z-index: 2;
  font-size: calc(32px + 2.1875vw);
  font-weight: 700;
  line-height: 1;
}

.img-canvas {
  position: relative;
}

.img-canvas canvas {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
}

.img-canvas img {
  display: block;
  margin: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

#inner-page-wrapper {
  padding-top: 0;
  margin-bottom: 0;
}

#inner-page-wrapper > .container {
  width: 100%;
  padding: 0;
}

#ip-listing-detail-wrapper {
  max-width: 100%;
  margin: 0 auto;
}

.listing-tabs {
  max-width: 1500px;
  margin: 120px auto 80px;
}

.listing-tabs .tab-head {
  display: flex;
  position: relative;
  border: 3px solid #000;
  border-left: none;
}

.listing-tabs .tab-head > div {
  flex: 1;
  position: relative;
  cursor: pointer;
  transition: .3s ease;
}

.listing-tabs .tab-head > div::before {
  clear: both;
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 21px;
  width: 100%;
  background: #000;
  opacity: 0;
  transition: opacity .3s ease, top .3s ease;
}

.listing-tabs .tab-head > div::after {
  clear: both;
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 3px;
  background: #000;
}

.listing-tabs .tab-head > div:first-child {
  border-left: none;
}

.listing-tabs .tab-head > div:last-child::before {
  width: calc(100% + 3px);
}

.listing-tabs .tab-head > div span {
  color: #000;
  font-size: 26px;
  display: block;
  line-height: 70px;
  text-align: center;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  top: 0;
  transition: .3s ease;
}

.listing-tabs .tab-head > div:hover, .listing-tabs .tab-head > div.active {
  background: #000;
}

.listing-tabs .tab-head > div:hover::before, .listing-tabs .tab-head > div.active::before {
  top: -21px;
  opacity: 1;
}

.listing-tabs .tab-head > div:hover span, .listing-tabs .tab-head > div.active span {
  top: -6px;
  color: #fff;
}

.listing-tabs .tab-content {
  border: thin solid #000;
  border-top: none;
}

.listing-tabs .tab-content > div {
  padding: 80px;
  display: none;
  flex-wrap: wrap;
}

.listing-tabs .tab-content > div.active {
  display: flex;
}

.listing-tabs .tab-content .title {
  width: 100%;
}

.listing-tabs .tab-content h2 {
  font-size: 22px;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.listing-tabs .tab-content h2 span {
  display: block;
  font-weight: 700;
  font-size: 55px;
  text-transform: none;
  margin-top: 15px;
  line-height: 1;
}

.listing-tabs .tab-content h3 {
  font-size: 22px;
  font-weight: normal;
  margin-bottom: 30px;
}

.listing-tabs .tab-content .col-left {
  max-width: 730px;
}

.listing-tabs .tab-content .col-left .l-content {
  height: 570px;
}

.listing-tabs .tab-content .col-left .l-content p {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #494949;
}

.listing-tabs .tab-content .col-left .mCSB_dragger_bar {
  background: #000;
}

.listing-tabs .tab-content .col-left .mCSB_scrollTools {
  opacity: 1;
}

.listing-tabs .tab-content .col-left .mCSB_scrollTools .mCSB_buttonUp {
  background-position: -96px 0;
  opacity: 1;
}

.listing-tabs .tab-content .col-left .mCSB_scrollTools .mCSB_buttonDown {
  background-position: -96px -20px;
  opacity: 1;
}

.listing-tabs .tab-content .col-left .mCSB_scrollTools .mCSB_draggerRail {
  background-color: #909090;
}

.listing-tabs .tab-content .col-left .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  width: 6px;
  border-radius: 0;
}

.listing-tabs .tab-content .col-right {
  width: 100%;
  max-width: 480px;
  margin-left: auto;
}

.listing-tabs .tab-content .col-right .r-content li {
  display: flex;
  align-items: center;
  text-transform: uppercase;
  padding: 55px 0;
  border-top: thin solid #ccc;
}

.listing-tabs .tab-content .col-right .r-content li:first-child {
  border-top: none;
  padding-top: 0;
}

.listing-tabs .tab-content .col-right .r-content li span {
  flex-basis: 50%;
  font-size: 21px;
}

.listing-tabs .tab-content .col-right .r-content li strong {
  font-weight: 500;
  font-size: 27px;
}

.fp {
  position: relative;
  overflow: hidden;
}

.fp-slider {
  position: relative;
  z-index: 1;
}

.fp-slider .flex {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.5px;
}

.fp-slider-arrows, .floor-plan-arrows {
  text-align: center;
  font-size: 0;
  margin: 40px 0;
}

.fp-slider-arrows > span, .floor-plan-arrows > span {
  display: inline-block;
  vertical-align: middle;
  font-size: 18px;
}

.fp-slider-arrows > span i, .floor-plan-arrows > span i {
  font-size: 10px;
  display: inline-block;
}

.fp-slider-arrows > span.divider, .floor-plan-arrows > span.divider {
  height: 38px;
  width: 1px;
  margin: 0 55px;
  background: #000;
}

.fp-slider-arrows > span.prev, .floor-plan-arrows > span.prev {
  color: rgba(0, 0, 0, 0.36);
}

.fp-slider-arrows > span.prev i, .floor-plan-arrows > span.prev i {
  margin-right: 35px;
}

.fp-slider-arrows > span.next, .floor-plan-arrows > span.next {
  color: #000;
}

.fp-slider-arrows > span.next i, .floor-plan-arrows > span.next i {
  margin-left: 35px;
}

.fp-slider-arrows > span:not(.divider), .floor-plan-arrows > span:not(.divider) {
  cursor: pointer;
  opacity: 1;
  transition: .3s ease;
}

.fp-slider-arrows > span:not(.divider):hover, .floor-plan-arrows > span:not(.divider):hover {
  opacity: .85;
}

.fp-item {
  position: relative;
  overflow: hidden;
  width: calc(33.33% - 1px);
  margin: 0 .5px 1px;
  transition: .3s ease;
}

.fp-item:hover {
  opacity: .85;
}

.fp-overlay-slide-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
}

.fp-overlay-slide-wrapper.active {
  opacity: 1;
  visibility: visible;
}

.fp-overlay-slide-wrapper .slick-list {
  padding: 0 20% !important;
}

.fp-overlay-slide-wrapper .slick-slide > div {
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fp-overlay-slide-wrapper .slick-slide.slick-center > div {
  transform: scale(1);
}

.fp-overlay-slide-wrapper .slick-dots {
  text-align: center;
  font-size: 0;
  margin-top: 40px;
}

.fp-overlay-slide-wrapper .slick-dots li {
  display: inline-block;
  position: relative;
  margin: 0 5px;
}

.fp-overlay-slide-wrapper .slick-dots li button {
  position: relative;
  z-index: 2;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #545454;
  position: relative;
  border: 4px solid #000;
}

.fp-overlay-slide-wrapper .slick-dots li.slick-active button {
  background: #000;
  border: 4px solid #fff;
}

.fp-overlay-close {
  padding-left: 75px;
  margin-bottom: 70px;
}

.fp-overlay-close button {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
}

.fp-overlay-close button i {
  display: block;
  font-size: 25px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 10px;
}

.fp-overlay-close button span {
  display: block;
  font-size: 14px;
  text-align: center;
  color: #fff;
}

.fp-overlay-arrows {
  position: absolute;
  z-index: 3;
  width: calc(70%);
  height: 50px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: space-between;
}

.fp-overlay-arrows span {
  width: 67px;
  line-height: 49px;
  background: #fff;
  text-align: center;
  border: thin solid #000;
  opacity: 1;
  cursor: pointer;
  transition: .3s ease;
}

.fp-overlay-arrows span i {
  position: relative;
  top: 2px;
}

.fp-overlay-arrows span:hover {
  opacity: .85;
}

.video {
  max-width: 1142px;
  margin: 40px auto;
}

.video-wrap {
  position: relative;
  display: block;
  transition: .3s ease;
}

.video-wrap:hover {
  opacity: .85;
}

.video-wrap::before {
  clear: both;
  content: '';
  display: block;
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
}

.video .img-canvas {
  z-index: 1;
}

.video .play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 67px;
  height: 67px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.video .play-btn::before {
  content: '';
  clear: both;
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 13px 0 13px 16px;
  border-color: transparent transparent transparent #000;
}

.floor-plan {
  padding-top: 40px;
  position: relative;
}

.floor-plan .slider {
  position: relative;
  z-index: 1;
}

.floor-plan-arrows {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 2;
  width: 50%;
}

.ip-map {
  margin-top: 80px;
}

.ip-map-wrapper {
  position: relative;
}

.ip-map-wrapper .img-canvas {
  z-index: 1;
}

.ip-map-wrapper .pin {
  background: url("../../images/listing-detail/pin.png") center no-repeat;
  position: absolute;
  top: calc(50% - 10px);
  left: calc(50% + 10px);
  width: 28px;
  height: 39px;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.listing-comm {
  max-width: 1275px;
  margin: 80px auto;
  padding-left: 15px;
  padding-right: 15px;
}

.listing-comm h2 {
  font-size: 30px;
  font-weight: normal;
  margin-bottom: 50px;
  margin-left: 100px;
}

.listing-comm h2 span {
  display: block;
  font-size: calc(35px + 1.823vw);
  font-weight: 700;
  line-height: 1;
  margin-top: 5px;
}

.listing-comm .flex {
  display: flex;
  flex-wrap: wrap;
}

.listing-comm .col-left {
  width: 43.37%;
}

.listing-comm .col-left .comm-left {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -5px;
}

.listing-comm .col-left .comm-left a {
  width: calc(50% - 10px);
  margin: 0 5px 10px;
  transition: .3s ease;
}

.listing-comm .col-left .comm-left a:hover {
  opacity: .85;
}

.listing-comm .col-left .comm-left a:nth-child(3), .listing-comm .col-left .comm-left a:nth-child(4) {
  margin-bottom: 0;
}

.listing-comm .col-right {
  width: 56.63%;
  padding-left: 10px;
}

.listing-comm .col-right .comm-video, .listing-comm .col-right a,
.listing-comm .col-right .img-canvas {
  height: 100%;
}

.listing-comm .col-right a {
  display: block;
  position: relative;
  transition: .3s ease;
}

.listing-comm .col-right a:hover {
  opacity: .85;
}

.listing-comm .col-right .img-canvas {
  z-index: 1;
}

.listing-comm .col-right .play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 81px;
  height: 81px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.listing-comm .col-right .play-btn::before {
  content: '';
  clear: both;
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 13px 0 13px 16px;
  border-color: transparent transparent transparent #000;
}

.git {
  background: #000;
  padding: 100px 50px !important;
}

.git .cf-inner-wrapper {
  background: #fff;
  padding-top: 100px !important;
  padding-bottom: 55px !important;
  max-width: 1350px !important;
}

.git .cf-inner-wrapper .cf-heading {
  font-size: 30px !important;
  color: #000 !important;
}

.git .cf-inner-wrapper .cf-heading strong {
  display: block;
  font-size: 48px;
  font-weight: 600;
  margin-top: 17px;
}

.git .cf-inner-wrapper .cf-form {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.git .cf-inner-wrapper .cf-form .cf-input-container {
  width: 33.33% !important;
}
.git .cf-inner-wrapper .cf-form  .wpcf7-form-control-wrap{
  display: block;
}
.cf-wrapper .cf-inner-wrapper .cf-form .wpcf7-not-valid-tip{
  position: absolute;
  top: 50%;
  left: 10%;
  right: auto;
  width: auto;
}
.git .cf-inner-wrapper .cf-form .cf-input-container.full {
  width: 100% !important;
}

.git .cf-inner-wrapper .cf-form .cf-input-container input,
.git .cf-inner-wrapper .cf-form .cf-input-container textarea {
  color: #000 !important;
  border-color: #000 !important;
}

.git .cf-inner-wrapper .cf-form .cf-submit {
  margin-top: 48px !important;
}

.git .cf-inner-wrapper .cf-form .cf-submit input {
  color: #000 !important;
  border-color: #000 !important;
}

.bottom-listing {
  margin: 50px 0;
}

.bottom-listing .flex {
  flex-wrap: wrap;
  margin: 0 -8px;
}

.bottom-listing-item {
  width: calc(25% - 16px);
  margin: 0 8px;
  position: relative;
}

.bottom-listing-item:hover .detail {
  opacity: 1;
  visibility: visible;
}

.bottom-listing-item .img-canvas {
  z-index: 1;
}

.bottom-listing-item .detail {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: rgba(25, 83, 75, 0.5);
  padding: 10px;
  display: flex;
  flex-direction: column;
  color: #fff;
  text-transform: uppercase;
  opacity: 0;
  visibility: hidden;
  transition: .3s ease;
}

.bottom-listing-item .detail .tag {
  display: block;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  background: #fff;
  width: 125px;
  line-height: 39px;
  text-align: center;
  margin-bottom: 28px;
}

.bottom-listing-item .detail p {
  font-size: 18px;
}

.bottom-listing-item .detail p span {
  margin-top: 15px;
  font-size: 30px;
  font-weight: 700;
  display: block;
}

.bottom-listing-item .detail .bbsq {
  margin-top: 15px;
}

.bottom-listing-item .detail .bbsq span {
  font-size: 12px;
  display: inline-block;
  line-height: 20px;
  border-left: thin solid #fff;
  padding-left: 14px;
  margin-right: 14px;
}

.bottom-listing-item .detail .bbsq span:first-child {
  border-left: none;
  padding-left: 0;
}

.bottom-listing-item .detail .bbsq span em {
  font-size: 18px;
  font-weight: 700;
  font-style: normal;
}

.bottom-listing-item .detail .offer {
  font-size: 12px;
  margin-top: 20px;
}

.bottom-listing-item .detail .offer span {
  display: inline-block;
  font-size: 24px;
  margin-top: 0;
  margin-left: 5px;
}

.listing-feature-item {
    width: 50%;
    display: inline-block;
    line-height: 1.5;
}

.listing-feature-item span.listing-info-item-title {
    font-weight: 500;
}

.open-home-holder {
    line-height: 1.5;
}

.open-home-holder i.ihf-expander {
    display: none;
}

#listings-map {
    width: 100%;
    height: 629px;
}

@media only screen and (max-width: 1600px) {
  .fp-overlay-arrows {
    width: 71%;
  }
}

@media only screen and (max-width: 1440px) {
  .fp-overlay-arrows {
    width: 72%;
  }
}

@media only screen and (max-width: 1366px) {
  .fp-overlay-arrows {
    width: 72%;
  }
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {
  #hero h1 {
    top: 60%;
  }
  .listing-tabs {
    margin-top: 60px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .listing-tabs .tab-content > div {
    padding: 50px 30px 20px;
  }
  .listing-tabs .tab-content .col-left {
    max-width: 570px;
  }
  .listing-tabs .tab-content .col-right {
    max-width: 300px;
  }
  .fp-overlay-arrows {
    width: 77%;
  }
  .floor-plan-arrows {
    margin-bottom: 20px;
  }
  .listing-comm h2 {
    margin-left: 50px;
  }
  .git {
    padding: 50px;
  }
}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {
  #hero h1 {
    top: 50%;
  }
  .listing-tabs {
    margin-top: 60px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .listing-tabs .tab-content .col-left {
    max-width: 100%;
    flex-basis: 100%;
  }
  .listing-tabs .tab-content .col-right {
    margin-top: 15px;
    max-width: 100%;
    flex-basis: 100%;
  }
  .fp-overlay-arrows {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    top: calc(50% + 20px);
  }
  .floor-plan-arrows {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
  }
  .ip-map {
    margin-top: 40px;
  }
  .listing-comm {
    margin: 40px auto;
  }
  .listing-comm .col-left {
    width: 100%;
  }
  .listing-comm .col-right {
    width: 100%;
    padding-left: 0;
    margin-top: 10px;
  }
  .bottom-listing {
    margin: 40px 0 24px;
  }
  .bottom-listing-item {
    width: calc(50% - 16px);
    margin-bottom: 16px;
  }
}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
  .listing-tabs {
    margin-bottom: 40px;
  }
  .listing-tabs .tab-head > div span {
    font-size: 18px;
  }
  .listing-tabs .tab-content h2 span {
    font-size: 35px;
  }
  .listing-tabs .tab-content .col-left .l-content p {
    font-size: 16px;
  }
  .listing-tabs .tab-content .col-right .r-contnt li {
    padding: 35px 0;
  }
  .fp-item {
    width: calc(50% - 1px);
  }
  .floor-plan {
    padding-top: 40px;
  }
  .listing-comm h2 {
    margin-left: 0px;
  }
  .git .cf-inner-wrapper {
    padding-top: 55px;
  }
  .git .cf-inner-wrapper .cf-heading {
    font-size: 25px;
  }
  .git .cf-inner-wrapper .cf-heading strong {
    font-size: 32px;
  }
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
  .fp-overlay-slide-wrapper .slick-list {
    padding: 0 10% !important;
  }
  .fp-overlay-close {
    padding-left: 15px;
    margin-bottom: 35px;
  }
  .fp-overlay-arrows span {
    width: 48px;
    line-height: 36px;
    height: 36px;
  }
  .listing-tabs .tab-head {
    flex-wrap: wrap;
  }
  .listing-tabs .tab-head > div {
    flex: auto;
    width: 100%;
    border-top: 3px solid #000;
  }
  .listing-tabs .tab-head > div:first-child {
    border-top: none;
  }
  .listing-tabs .tab-head > div:hover::before, .listing-tabs .tab-head > div.active::before {
    display: none;
  }
  .listing-tabs .tab-head > div:hover span, .listing-tabs .tab-head > div.active span {
    top: 0;
  }
  .listing-tabs .tab-content .col-right .r-content li {
    display: block;
    padding: 15px 0;
  }
  .listing-tabs .tab-content .col-right .r-content li span {
    flex-basis: unset;
    display: block;
    margin-bottom: 15px;
    font-size: 18px;
  }
  .listing-tabs .tab-content .col-right .r-content li strong {
    font-size: 21px;
  }
  .floor-plan {
    padding-top: 0;
  }
  .fp-item {
    width: calc(100% - 1px);
  }
  .listing-comm h2 {
    font-size: 20px;
  }
  .listing-comm h2 span {
    font-size: 28px;
  }
  .bottom-listing .flex {
    margin: 0;
  }
  .bottom-listing-item {
    width: calc(100%);
    margin: 0 0 16px;
  }
  .git {
    padding: 15px;
  }
  .git .cf-inner-wrapper {
    padding-top: 25px;
    padding-bottom: 25px;
  }
  .git .cf-inner-wrapper .cf-heading strong {
    font-size: 28px;
  }
}
