body {
    padding: 0;
    margin: 0;
    overflow: hidden;
}

canvas {
    height: auto;
    width: -webkit-fill-available;
}

.floating-btn {
    bottom: 76px;
    right: 64px;
    z-index: 9991 !important;
}

.floating-btn a {
    height: 72px;
    padding: 0 29px;
}

.floating-btn a span {
    color: #FFF;
    text-shadow: 0 4px 20px #000;
    font-size: 20px;
    font-weight: 400;
    line-height: 48px;
    letter-spacing: 1.6px;
}

@keyframes floatingButtonOpenArrowAnimateRtl {
    0% {
        transform: translateX(0) scaleX(-1) rotate(-180deg);
    }
    50% {
        transform: translateX(5px) scaleX(-1) rotate(-180deg);
    }
    100% {
        transform: translateX(0) scaleX(-1) rotate(-180deg);
    }
}

@media screen and (max-width: 1025px) and (min-width: 993px) {
    .floating-btn {
        bottom: 371px;
        right: 47px;
    }

    .floating-btn a {
        height: 64px;
    }

    html[lang=ar] body .floating-btn {
        left: 47px;
    }
}

@media (max-width: 991px) {
    .floating-btn {
        right: 0;
        bottom: 40px;
    }

    .floating-btn a {
        border-right: 0;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        background: rgba(22, 59, 61, 0.7);
        padding: 5px 8px;
        height: 49px;
    }

    .floating-btn a:active,
    .floating-btn a:hover {
        background: rgba(22, 59, 61, 0.7);
    }

    .floating-btn a svg {
        animation: none;
        transform: rotate(180deg);
    }

    .floating-btn a span {
        display: none;
        font-size: 16px;
        line-height: 32px;
        letter-spacing: 1.4px;
    }

    .floating-btn.open a {
        padding: 8px 16px;
    }

    .floating-btn.open a svg {
        transform: rotate(0deg);
    }

    .floating-btn.open a span {
        display: inline;
    }

    html[lang=ar] body.arabic .floating-btn {
        left: 0;
    }

    html[lang=ar] body .floating-btn a {
        height: 49px;
        padding: 5px 8px;
    }

    html[lang=ar] body .floating-btn a svg {
        animation: none;
        transition: all .3s;
    }

    html[lang=ar] body .floating-btn.open a {
        padding: 5px 16px;
    }

    html[lang=ar] body .floating-btn.open svg {
        /*animation: floatingButtonOpenArrowAnimateRtl 2s linear infinite;*/
        transform: scaleX(-1) rotate(180deg);
    }
}

.canvas-container {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    display: flex;
    transition: transform 1.5s ease, opacity .3s, visibility .3s;
}

.section-images-tab {
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}

.section-images-tab.visible {
    height: 100vh;
    opacity: 1;
    visibility: visible;
}

#canvas-container {
    z-index: 9990;
    position: relative;
}

.section-images-tab .image-tab .tab .content-holder .content .content-details .detail-grid__value {
    direction: ltr !important;
}

.section-images-tab .image-tab .tab .content-holder .content {
    padding-bottom: 125px;
}

.section-images-tab .image-tab .tab .content-holder .content {
    -webkit-transition: all 1s ease;
    transition: all 1s ease
}
.section-images-tab .image-tab .tab.active .content-holder .content {
    -webkit-transition: all 1s ease;
    transition: all 1s ease
}

.section-images-tab .control-tab.active .bg-holder {
    -webkit-transition: all 1s ease;
    transition: all 1s ease
}
.section-images-tab .control-tab .control-point>rect {
    -webkit-transition: fill-opacity 1s ease-out;
    transition: fill-opacity 1s ease-out;
}
.section-images-tab .control-tab .control-point:hover>rect {
    -webkit-transition: fill-opacity 1s ease;
    transition: fill-opacity 1s ease;
}

html[lang="ar"] .section-images-tab .image-tab .tab .content-holder .content {
    padding-bottom: 100px;
    right: 64px;
}

.swipe-notice img {
    max-width: 48px;
}

.swipe-notice p {
    font-size: 1.4rem;
    font-weight: 300;
}

html[lang="ar"] .swipe-notice p {
    font-family: "Ranade", sans-serif;
}

html[lang="ar"] .section-images-tab .image-tab .tab .content-holder .content .content-title,
html[lang="ar"] .section-images-tab .image-tab .tab .content-holder .content .content-details .detail-grid__value,
html[lang="ar"] .section-images-tab .image-tab .tab .content-holder .content .content-details .detail-grid__desc,
html[lang="ar"] .section-images-tab .image-tab .tab .content-holder .content .content-text {
    letter-spacing: 0;
}
.video-desktop {
    display: block;
}
.video-mobile {
    display: none;
}
@media only screen and (min-width: 1200px) {
    #canvas-container {
        transition: opacity 2s ease-in-out;
    }

    .section-images-tab {
        margin-top: -100vh;
    }

    /* .control-tab__desktop .bg-holder .bg-image {
        opacity: 0;
    }
 */
    .section-images-tab {
        background: unset;
    }

    .section-images-tab .bg-image {
        object-fit: unset;
    }
}

@media only screen and (max-width: 1440px) {
    .section-images-tab .image-tab .tab .content-holder .content {
        padding-bottom: 50px;
    }

    html[lang="ar"] .section-images-tab .image-tab .tab .content-holder .content {
        padding-bottom: 50px;
    }
}

@media only screen and (max-width: 991px) {
    .page-template-tpl-explore-the-masterplan .page-wrapper .section-images-tab .image-tab .tab .content-holder .content {
        padding: 0 15px 0px 24px;
        left: 0px;
        bottom: 30px;
    }
    .page-template-tpl-explore-the-masterplan .page-wrapper .section-images-tab .image-tab .tab .content-holder .content .content-text {
        font-size: 14px;
        line-height: 19px;
    }

    .section-images-tab .image-tab .tab .content-holder .content .content-details {
        gap: 0;
        margin-top: 24px;
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .section-images-tab .image-tab .tab .content-holder .content .content-details .detail-grid {
        margin: 8px 0;
        min-width: 140px;
        width: 50%;
    }

    html[lang="ar"] .section-images-tab .image-tab .tab .content-holder .content {
        padding: 0 24px 0px 15px;
    }

    html[lang="ar"] .section-images-tab .image-tab .tab .content-holder .content .content-details {
        gap: 0;
        margin-top: 24px;
    }

    html[lang="ar"] .section-images-tab .image-tab .tab .content-holder .content .content-details .detail-grid {
        margin: 16px 0;
    }

    html[lang="ar"] .section-images-tab .control-tab__mobile {
        direction: ltr;
    }
    .page-template-tpl-explore-the-masterplan .page-wrapper .section-images-tab .image-tab .tab .content-holder .content .content-details .detail-grid__desc {
        font-size: 12px;
    }
    .section-images-tab .image-tab .tab .content-holder .content .content-details .detail-grid__value {
        direction: ltr !important;
        font-size: 24px;
        margin-bottom: 5px;
        padding-bottom: 0;
    }
    html[lang="ar"] .section-images-tab .image-tab .tab .content-holder .content {
        right: 10px;
    }
    .video-desktop {
        display: none;
    }
    .video-mobile {
        display: block;
    }
}

@media only screen and (max-width: 767px) {
    .section-images-tab .control-tab .control-point[data-tab="bg-5"] {
        transform: translateX(35px);
    }
}

@media only screen and (max-width: 390px) {
    .section-images-tab .control-tab .control-point[data-tab="bg-5"] {
        transform: translateX(10px);
    }
}

