/*
  Theme Name: Avada Child
  Description: Child theme for Avada theme
  Author: ThemeFusion
  Author URI: https://theme-fusion.com
  Template: Avada
  Version: 1.0.0
  Text Domain: Avada
*/

.position-relative {
    position: relative !important;
}

.special-offers-block .fusion-column-wrapper .fusion-imageframe {
    display: block;
    width: 100%;
}

.special-offers-block .fusion-column-wrapper .fusion-imageframe img {
    display: block;
    width: 100%;
}

.special-offers-block .fusion-column-wrapper a.fusion-button {
    display: block;
    width: 100%;
}

.img-100 {
    width: 100%;
}

.offset-bg {
    position: relative;
}

.offset-bg:before {
    content: '';
    position: absolute;
    top: 15%;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 70%;
    background-color: #dae0e9;
}

.col-bg-cover {
    background-size: cover !important;
}

.single-facilities-list .faci-benefits,
.single-facilities-list .image-wrap {
    display: none !important;
}

.single-facilities-list .faci-info-wrap {
    flex-basis: 100% !important;
    max-width: 100% !important;
}

.single-facilities-list .facilities-wrap {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 460px;
    overflow-y: scroll;
}

.special-offers-block .fusion-column-wrapper .fusion-imageframe {
	display: block;
	width: 100%;
}

.special-offers-block .fusion-column-wrapper .fusion-imageframe img {
	display: block;
	width: 100%;
}

.special-offers-block .fusion-column-wrapper a.fusion-button {
	display: block;
	width: 100%;
}

.img-100 {
	width: 100%;
}

.offset-bg {
	position: relative;
}

.offset-bg:before {
    content: '';
    position: absolute;
    top: 15%;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 70%;
    background-color: #dae0e9;
}

.col-bg-cover {
	background-size: cover!important;
}

.single-facilities-list .faci-benefits, .single-facilities-list .image-wrap { display: none!important }

.single-facilities-list .faci-info-wrap {
	flex-basis: 100%!important;
	max-width: 100%!important;
}

.single-facilities-list .facilities-wrap {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 460px;
    overflow-y: scroll;
    scrollbar-width: thin; /* For Firefox */
    scrollbar-color: orange #034dc1; /* For Firefox */
}

@media screen and (min-width: 1024px) {
    body.single-facility .offset-bg .fusion-builder-row .col-bg-cover:last-child {
        position: relative !important;
    }
    body.single-facility .offset-bg .fusion-builder-row .col-bg-cover:last-child:after {
        content: '';
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        z-index: 1;
        width: 100%;
        height: 70%;
        background-image: url('/wp-content/uploads/2024/07/smile.svg');
        background-size: cover;
        background-repeat: no-repeat;
    }
    body.single-facility .offset-bg .fusion-builder-row .col-bg-cover:last-child .fusion-text {
        position: relative;
        z-index: 2;
    }
}

/* WebKit browsers (Chrome, Safari) */
.single-facilities-list .facilities-wrap::-webkit-scrollbar {
    width: 12px;
}

.single-facilities-list .facilities-wrap::-webkit-scrollbar-track {
    background: #034dc1;
}

.single-facilities-list .facilities-wrap::-webkit-scrollbar-thumb {
    background-color: orange;
    border-radius: 10px;
    border: 2px solid #034dc1;
}

/* Ensure the scrollbar is always visible */
.single-facilities-list .facilities-wrap {
    overflow-y: scroll; /* Ensures the scrollbar is always present */
}

.max-450 {
	max-width: 450px!important;
}

.opening-store {
    display: block;
    width: 100%;
    max-width: fit-content;
    margin-top: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 15px !important;
    margin-left: 0 !important;
    padding: 10px;
    background-color: #044ec1;
}

@media (min-width: 1025px) {
    .single-facility #facility-title-bar .img-col > .fusion-column-wrapper > div .img-map img {
        height: 100%!important;
        width: 100%!important;
    }
}

@media (max-width: 768px) {
.hideMobile {
	display: none!important;
}
	.mobileTitleSize > h1, .mobileTitleSize > h2, .mobileTitleSize > h3, .mobileTitleSize > h4, .mobileTitleSize > h5, .mobileTitleSize > h6 {
font-size: 28px !important;
    line-height: 1.2 !important;
	}
	.offset-bg:before {
    top: -25px;
    height: calc(100% + 25px);
}
}