/*

Theme Name: Villa theme

Description: Child theme for Avada theme

Author: ThemeFusion

Author URI: https://theme-fusion.com

Template: Avada

Version: 1.0.0

Text Domain:  Avada

*/
:root {
    --stickyHeader: 130;
}

:root {
    --button_padding-top: 15px;
    --button_padding-right: clamp(30px, 1vw + 23.6px, 40px);
    --button_padding-bottom: 15px;
    --button_padding-left: clamp(30px, 1vw + 23.6px, 40px);
    --button_font_size: clamp(16px, 0.2vw + 14.72px, 18px);
    --button_line_height: 1.444444;
    --button_typography-letter-spacing: 0px;
}

p {
    margin-top: 0;
    margin-bottom: 20px;
}

.fusion-text ul, body .fusion-accordian .panel-body ul {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 20px;
}

.fusion-text ul li, body .fusion-accordian .panel-body ul li {
    margin-bottom: 10px;
}

.fusion-text ul li::marker, body .fusion-accordian .panel-body ul li::marker {
    color: var(--awb-color7);
}

.fusion-text ol, body .fusion-accordian .panel-body ol {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 20px;
}

.fusion-text ol li, body .fusion-accordian .panel-body ol li {
    margin-bottom: 10px;
}

.fusion-text ol li::marker, body .fusion-accordian .panel-bodyt ol li::marker {
    color: var(--awb-color7);
    font-weight: bold;
}

.fusion-checklist, ul.fusion-checklist {
    --awb-icon-width: calc( 22 / 18 * var(--checklist_item_size) ) !important;
    --awb-icon-height: calc( 22 / 18 * var(--checklist_item_size) ) !important;
    --awb-icon-margin: 0px !important;
    --awb-circle-yes-font-size: calc( 10 / 18 * var(--checklist_item_size) ) !important;
    --awb-content-margin: calc( 22 / 18 * var(--checklist_item_size) + 15px ) !important;
}

.fusion-checklist .icon-wrapper, ul.fusion-checklist .icon-wrapper {
    margin-top: calc( var(--awb-line-height) / 2 - var(--awb-icon-height) / 2 );
    margin-right: 0;
}

.image-width-100 {
    width: 100%;
}

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

.is-empty-none:empty {
    display: none;
}

.textWrap-balance {
    text-wrap: balance;
}

/* containerSiteWidth */
.containerSiteWidth {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: var(--site_width);
}

/* MaxWidth */
.containerMaxWidth-660>.fusion-builder-row, .containerMaxWidth-660>.fusion-builder-container-content>.fusion_builder_row>.fusion-builder-row-container {
    max-width: calc(660px + var(--col_spacing)) !important;
}

.containerMaxWidth-730>.fusion-builder-row, .containerMaxWidth-730>.fusion-builder-container-content>.fusion_builder_row>.fusion-builder-row-container {
    max-width: calc(730px + var(--col_spacing)) !important;
}

.containerMaxWidth-830>.fusion-builder-row, .containerMaxWidth-830>.fusion-builder-container-content>.fusion_builder_row>.fusion-builder-row-container {
    max-width: calc(830px + var(--col_spacing)) !important;
}

.containerMaxWidth-930>.fusion-builder-row, .containerMaxWidth-930>.fusion-builder-container-content>.fusion_builder_row>.fusion-builder-row-container {
    max-width: calc(930px + var(--col_spacing)) !important;
}

.containerMaxWidth-970>.fusion-builder-row, .containerMaxWidth-970>.fusion-builder-container-content>.fusion_builder_row>.fusion-builder-row-container {
    max-width: calc(970px + var(--col_spacing)) !important;
}

.containerMaxWidth-1000>.fusion-builder-row, .containerMaxWidth-1000>.fusion-builder-container-content>.fusion_builder_row>.fusion-builder-row-container {
    max-width: calc(1000px + var(--col_spacing)) !important;
}

.containerMaxWidth-1280>.fusion-builder-row, .containerMaxWidth-1280>.fusion-builder-container-content>.fusion_builder_row>.fusion-builder-row-container {
    max-width: calc(1280px + var(--col_spacing)) !important;
}

.containerMaxWidth-1300>.fusion-builder-row, .containerMaxWidth-1300>.fusion-builder-container-content>.fusion_builder_row>.fusion-builder-row-container {
    max-width: calc(1300px + var(--col_spacing)) !important;
}

.containerMaxWidth-1355>.fusion-builder-row, .containerMaxWidth-1355>.fusion-builder-container-content>.fusion_builder_row>.fusion-builder-row-container {
    max-width: calc(1355px + var(--col_spacing)) !important;
}

.containerMaxWidth-1460>.fusion-builder-row, .containerMaxWidth-1460>.fusion-builder-container-content>.fusion_builder_row>.fusion-builder-row-container {
    max-width: calc(1460px + var(--col_spacing)) !important;
}

.containerMaxWidth-1660>.fusion-builder-row, .containerMaxWidth-1660>.fusion-builder-container-content>.fusion_builder_row>.fusion-builder-row-container {
    max-width: calc(1660px + var(--col_spacing)) !important;
}

.containerMaxWidth-1760>.fusion-builder-row, .containerMaxWidth-1760>.fusion-builder-container-content>.fusion_builder_row>.fusion-builder-row-container {
    max-width: calc(1760px + var(--col_spacing)) !important;
}

.containerMaxWidth-1900>.fusion-builder-row, .containerMaxWidth-1900>.fusion-builder-container-content>.fusion_builder_row>.fusion-builder-row-container {
    max-width: calc(1900px + var(--col_spacing)) !important;
}

/* HiddenView */
@media only screen and (max-width: 1400px) {
    .containerHiddenView-1400, div:has(>.fusion-button.containerHiddenView-1400) {
        display: none !important;
    }
}

/* imgNoLimitWidth-minView-1400 */
@media only screen and (min-width: 1400px) {
    body img.imgNoLimitWidth-minView-1400, body .imgNoLimitWidth-minView-1400 img {
        max-width: none;
    }

    body .imgNoLimitWidth-minView-1400:has(img) {
        width: fit-content;
    }
}

body img.imgFullWidth, body .fusion-imageframe.imgFullWidth {
    width: 100%;
}

body .imgFullWidth img {
    width: 100%;
}

/* line-clamp */
.line-clamp-1 {
    -webkit-line-clamp: 1;
}

.line-clamp-2 {
    -webkit-line-clamp: 2;
}

.line-clamp-3 {
    -webkit-line-clamp: 3;
}

.line-clamp-4 {
    -webkit-line-clamp: 4;
}

.line-clamp-5 {
    -webkit-line-clamp: 5;
}

.line-clamp-6 {
    -webkit-line-clamp: 6;
}

[class*="line-clamp-"] {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* flex-postCardsGrid-center */
.flex-postCardsGrid-center > .fusion-grid{
    justify-content: center;
}


/* custom-centerPosition-01 */
.custom-centerPosition-01{
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
}

/* custom-noPointerEvents-01 */
.custom-noPointerEvents-01{
    pointer-events: none;
}


/* menu-classic-main-menu */
.awb-menu.awb-menu_desktop #menu-classic-main-menu .menu-item > .awb-menu__main-a .menu-text {
    position: relative;
}

.awb-menu.awb-menu_desktop #menu-classic-main-menu .menu-item > .awb-menu__main-a .menu-text::after {
    content: '';
    position: absolute;
    left: calc( 50% - 5px );
    bottom: -5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--awb-active-color);
    opacity: 0;
    transition: opacity calc(var(--awb-transition-time) * 1ms) cubic-bezier(.42, .01, .58, 1);
}

.awb-menu.awb-menu_desktop #menu-classic-main-menu .menu-item.current-menu-item > .awb-menu__main-a .menu-text::after {
    opacity: 1;
}

/* gap */
body .cunstom-gap-30, body .cunstom-gap-30>.fusion-column-wrapper {
    gap: 30px;
}

body .cunstom-rowGap-30, body .cunstom-rowGap-30>.fusion-column-wrapper {
    row-gap: 30px;
}

body .cunstom-columnGap-30, body .cunstom-columnGap-30>.fusion-column-wrapper {
    column-gap: 30px;
}

/* custom-paginationStyle-01 */
.custom-paginationStyle-01 {
    --pagination_width_height: 45px;
    --pagination_font_size: 18px;
}

.custom-paginationStyle-01>.pagination {
    justify-content: center;
    margin-top: 30px;
    font-size: 18px;
    line-height: 1;
}

.custom-paginationStyle-01>.pagination .pagination-prev, .custom-paginationStyle-01>.pagination .pagination-next {
    width: var(--pagination_width_height);
    height: var(--pagination_width_height);
}

.custom-paginationStyle-01>.pagination .pagination-prev::before, .custom-paginationStyle-01>.pagination .pagination-next::after {
    position: relative;
    inset: auto;
    transform: none;
    line-height: 1;
    color: currentColor !important;
}

.custom-paginationStyle-01>.pagination .pagination-prev .page-text, .custom-paginationStyle-01>.pagination .pagination-next .page-text {
    display: none;
}

.custom-paginationStyle-01>.pagination>a, .custom-paginationStyle-01>.pagination>span {
    display: inline-flex !important;
    color: var(--awb-color7) !important;
    border: 1px solid #b6b8d2 !important;
    background: transparent !important;
}

.custom-paginationStyle-01>.pagination>a:hover, .custom-paginationStyle-01>.pagination .current {
    color: #fff !important;
    border-color: var(--awb-color7) !important;
    background: var(--awb-color7) !important;
}

/* custom-footerMenu-01 */
.custom-footerMenu-01 .menu-text {
    position: relative;
    padding-left: 23px;
}

.custom-footerMenu-01 .menu-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: calc(var(--awb-font-size) * var(--awb-line-height) / 2 - 4px - 1px);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: currentColor;
}

/* custom-contentBoxes-01 */
body .custom-contentBoxes-01 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

body .custom-contentBoxes-01.fusion-content-boxes::before, body .custom-contentBoxes-01.fusion-content-boxes::after {
    content: none;
}

@media only screen and (min-width: 1504px) {
    body .custom-contentBoxes-01.fusion-content-boxes::before {
        content: '';
        position: absolute;
        left: 50%;
        width: 1504px;
        max-width: 100vw;
        aspect-ratio: 1504 / 180;
        background-image: url('./Images/custom-contentBoxes-01-line.png');
        background-repeat: no-repeat;
        background-size: contain;
        transform: translateX(-50%);
        z-index: -1;
    }
}

body .custom-contentBoxes-01 .content-box-wrapper .heading {
    display: flex;
    flex-direction: column;
    margin: 0 0 18px;
    text-align: center;
}

body .custom-contentBoxes-01 .content-box-wrapper .heading .image, body .custom-contentBoxes-01 .content-box-wrapper .heading .content-box-heading {
    display: block;
}

body .custom-contentBoxes-01 .content-box-wrapper .heading .image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    padding: 15px;
    width: 112px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    background-color: var(--awb-hover-accent-color);
    border-radius: 50%;
}

body .custom-contentBoxes-01 .content-box-wrapper .heading .image img {
    display: block;
    margin: 0 0 0;
    max-width: 100%;
    max-height: 100%;
}

body .custom-contentBoxes-01 .content-box-wrapper .heading .content-box-heading {
    text-wrap: balance;
    color: var(--awb-title-color) !important;
}

body .custom-contentBoxes-01 .content-box-wrapper .fusion-clearfix {
    display: none;
}

body .custom-contentBoxes-01 .content-box-wrapper .content-container {
    margin: 0 0 0;
    text-align: center;
}

body .custom-contentBoxes-01 .content-box-column {
    margin: 0 0 0;
    width: calc( 100% / 5 );
}

body .custom-contentBoxes-01 .content-box-column:nth-child(5n+1) {
    margin-top: 30px;
}

body .custom-contentBoxes-01 .content-box-column:nth-child(5n+2) {
    margin-top: 0px;
}

body .custom-contentBoxes-01 .content-box-column:nth-child(5n+3) {
    margin-top: 50px;
}

body .custom-contentBoxes-01 .content-box-column:nth-child(5n+4) {
    margin-top: 85px;
}

body .custom-contentBoxes-01 .content-box-column:nth-child(5n+5) {
    margin-top: 50px;
}

@media only screen and (max-width: 1199px) {
    body .custom-contentBoxes-01 .content-box-column {
        margin: 0 0 0;
        width: calc( 100% / 3 );
    }

    body .custom-contentBoxes-01 .content-box-column:nth-child(5n+1) {
        margin-top: 30px;
    }

    body .custom-contentBoxes-01 .content-box-column:nth-child(5n+2) {
        margin-top: 0px;
    }

    body .custom-contentBoxes-01 .content-box-column:nth-child(5n+3) {
        margin-top: 30px;
    }

    body .custom-contentBoxes-01 .content-box-column:nth-child(5n+4) {
        margin-top: 30px;
    }

    body .custom-contentBoxes-01 .content-box-column:nth-child(5n+5) {
        margin-top: 30px;
    }
}

@media only screen and (max-width: 991px) {
    body .custom-contentBoxes-01 {
        justify-content: flex-start;
    }

    body .custom-contentBoxes-01 .content-box-column {
        margin: 0 0 0;
        width: calc( 100% / 2 );
    }

    body .custom-contentBoxes-01 .content-box-column:nth-child(5n+1) {
        margin-top: 0px;
    }

    body .custom-contentBoxes-01 .content-box-column:nth-child(5n+2) {
        margin-top: 0px;
    }

    body .custom-contentBoxes-01 .content-box-column:nth-child(5n+3) {
        margin-top: 30px;
    }

    body .custom-contentBoxes-01 .content-box-column:nth-child(5n+4) {
        margin-top: 30px;
    }

    body .custom-contentBoxes-01 .content-box-column:nth-child(5n+5) {
        margin-top: 30px;
    }
}

@media only screen and (max-width: 767px) {
    body .custom-contentBoxes-01 .content-box-column {
        margin: 0 0 0;
        width: 100%;
    }

    body .custom-contentBoxes-01 .content-box-column:nth-child(5n+1) {
        margin-top: 0px;
    }

    body .custom-contentBoxes-01 .content-box-column:nth-child(5n+2) {
        margin-top: 30px;
    }

    body .custom-contentBoxes-01 .content-box-column:nth-child(5n+3) {
        margin-top: 30px;
    }

    body .custom-contentBoxes-01 .content-box-column:nth-child(5n+4) {
        margin-top: 30px;
    }

    body .custom-contentBoxes-01 .content-box-column:nth-child(5n+5) {
        margin-top: 30px;
    }
}

/* custom-contentBoxes-02 */
body .custom-contentBoxes-02 .content-box-column {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 0 0;
    width: 100%;
    gap: 20px;
}
body .custom-contentBoxes-02 .content-box-column::before{
    content: '';
    flex-shrink: 0;
    align-self: flex-start;
    width: 70px;
    height: 70px;
    background-color: var(--awb-color8);
    border-radius: 50%;
}
body .custom-contentBoxes-02 .content-box-column .content-box-wrapper{
    position: static;
    width: 100%;
}
body .custom-contentBoxes-02 .content-box-column .content-box-wrapper .heading{
    margin-bottom: 7px;
    overflow: visible;
}
body .custom-contentBoxes-02 .content-box-column .content-box-wrapper .heading .image{
    position: absolute;
    top: 0;
    left: 15px;
    width: 70px;
    height: 70px;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
body .custom-contentBoxes-02 .content-box-column .content-box-wrapper .heading .image img{
    margin: 0 0 0;
    max-width: 100%;
    max-height: 100%;
}
body .custom-contentBoxes-02 .content-box-column .content-box-wrapper .fusion-clearfix{
    display: none;
}
body .custom-contentBoxes-02 .content-box-column .content-box-wrapper .content-container{
    margin: 0 0 0;
}
@media only screen and (max-width: 767px) {
    body .custom-contentBoxes-02 .content-box-column{
        flex-direction: column;
    }
}


/* fixed-top-container */
.fixed-top-container {
    position: sticky !important;
    top: 90px !important;
    z-index: 100 !important;
}
body:has(.quicklinks#wp-toolbar) .fixed-top-container{
    top: 120px !important;
}

.link-group {
    display: flex;
    justify-content: center;
    gap: clamp(5px, 0.8333vw - 3.5417px, 10px);
    flex-wrap: wrap;
}

.link-group a {
    padding: clamp(8px, 2vw - 12.5px, 20px) clamp(15px, 2.5vw - 10.625px, 30px);
    color: var(--awb-color8);
    font-size: clamp(14px, 0.1667vw + 12.2917px, 15px);
    line-height: 1;
    letter-spacing: -0.01em;
    background-color: #ffffff;
    border: 1px solid #d3dddd;
    border-radius: 100px;
}

.link-group a:hover, .link-group a.current {
    background-color: var(--awb-color8);
    border-color: var(--awb-color8);
    color: #fff;
}

html:has(.fixed-top-container) {
    scroll-behavior: smooth;
}

body:has(.fixed-top-container) [id] {
    scroll-margin-top: 207px;
}

@media screen and (max-width: 980px) {
    body:has(.fixed-top-container) [id] {
        scroll-margin-top: 90px;
    }

    .fixed-top-container {
        position: static !important;
    }
}



/* ba-carousel__comparison */
body .ba-carousel__comparison{
    aspect-ratio: 956 / 583;
}


/* custom-videoLightBox-01 */
.custom-videoLightBox-01,
.custom-videoLightBox-01 img{
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* ========================================
   Avada Container Background Slider Dots
   ======================================== */

.custom-bg-slider-dots {
  position: relative;
}

/* 底部导航容器 */
.custom-bg-slider-dots > .custom-bg-slider__pagination {
  position: absolute;
  left: 50%;
  bottom: 45px;
  transform: translateX(-50%);
  z-index: 999;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  margin: 0;
  padding: 0;
}

/* 每个切换按钮 */
.custom-bg-slider-dots .custom-bg-slider__dot {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 30px;
  height: 18px;
  padding: 0;

  border: none;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

/* 默认未激活的短横线 */
.custom-bg-slider-dots .custom-bg-slider__dot::before {
  content: "";

  display: block;
  width: 100%;
  height: 1px;

  background: rgba(255, 255, 255, 0.4);

  transition:
    background-color 250ms ease,
    height 250ms ease;
}

/* 当前图片对应的短横线 */
.custom-bg-slider-dots .custom-bg-slider__dot.is-active::before {
  height: 2px;
  background: #ffffff;
}

/* 鼠标悬停 */
.custom-bg-slider-dots .custom-bg-slider__dot:hover::before {
  background: #ffffff;
}

/* 键盘焦点 */
.custom-bg-slider-dots .custom-bg-slider__dot:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

/* 手机端稍微降低底部距离 */
@media (max-width: 640px) {
  .custom-bg-slider-dots > .custom-bg-slider__pagination {
    bottom: 35px;
  }

  .custom-bg-slider-dots .custom-bg-slider__dot {
    width: 20px;
  }
}



/* custom-propertyInfo-01 */
.custom-propertyInfo-01{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 14px;
    line-height: 2;
    gap: 3px 26px;
    overflow: hidden;
}
.custom-propertyInfo-01 > span{
    position: relative;
    display: inline-block;
    padding-left: 33px;
}
.custom-propertyInfo-01 > span::before{
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 26px;
    height: 26px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.custom-propertyInfo-01 > span::after{
    content: '';
    position: absolute;
    left: -13px;
    top: 3px;
    bottom: 3px;
    width: 1px;
    background-color: #cedddf;
}
.custom-propertyInfo-01 > span.BedInfo::before{
    background-image: url('./Images/Bed.png');
}
.custom-propertyInfo-01 > span.BathInfo::before{
    background-image: url('./Images/Bath.png');
}
.custom-propertyInfo-01 > span.SqftInfo::before{
    background-image: url('./Images/Sqft.png');
}
.custom-propertyInfo-01 > span.RentInfo::before{
    background-image: url('./Images/Rent.png');
}

/* custom-headerMenu-01 */
@media (min-width: 981px) {
    .custom-headerMenu-01 >.fusion-menu > .menu-item > a > .menu-text{
        flex-direction: column;
    }
    .custom-headerMenu-01 >.fusion-menu > .menu-item > a > .menu-text::after{
        content: '';
        display: block;
        margin-top: -5px;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: currentColor;
        opacity: 0;
        transition: opacity calc(var(--awb-transition-time) * 1ms) cubic-bezier(.42, .01, .58, 1);
    }

    .custom-headerMenu-01 >.fusion-menu > .menu-item.current-menu-item > a > .menu-text::after,
    .custom-headerMenu-01.awb-menu_em-hover .awb-menu__main-li:hover > a > .menu-text::after{
        opacity: 1;
    }
}