.off-canvas-content {
    position: fixed;
    top: 30px;
    left: 30px;
    height: calc(100vh - 60px);
    max-height: calc(100vh - 60px);
    width: calc(100vw - 60px);
    visibility: hidden;
    transition: all .3s ease;
    background: rgba(0, 0, 0, 0);
    z-index: 9;
}

.off-canvas-content.active {
    display: block;
    visibility: visible;
    background: rgba(0, 0, 0, .25);
}

.off-canvas-content-wrapper {
    position: absolute;
    right: -100%;
    background: #f9f9f9;
    height: 100%;
    width: 50%;
    transition: all .3s ease;
    overflow: scroll;
    padding: 60px 0;
    box-sizing: border-box;
}

.off-canvas-content.active .off-canvas-content-wrapper {
    right: 0;
}

.off-canvas-content-wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.off-canvas-content-close {
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
    color: #fff;
    font-size: 24px;
    background: rgb(2 44 78);
    padding: 5px 14px 3px;
    z-index: 99999999;
}

.off-canvas-full .fusion-builder-row:first-of-type {
    flex-flow: column;
}

.off-canvas-full .off-canvas-scrollable .fusion-builder-row:first-of-type {
    flex-flow: unset;
}

.off-canvas-full .fusion-builder-row .fusion-layout-column:nth-child(2) {
    flex: 1;
    max-height: 100%;
}

.off-canvas-full .fusion-builder-row .fusion-layout-column:nth-child(2) > div:first-child > div:first-child,
.off-canvas-full .fusion-builder-row .fusion-layout-column:nth-child(2) .fusion-imageframe {
    height: 100%;
    width: 100%;
}

.off-canvas-full .fusion-builder-row .fusion-layout-column:nth-child(2) .fusion-imageframe img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.off-canvas-full .fusion-builder-row .fusion-layout-column:nth-child(2) .fusion-imageframe.position-bottom-right img {
    object-position: bottom right;
}

.off-canvas-full .fusion-builder-row .fusion-layout-column:nth-child(2) .fusion-imageframe.position-center-right img {
    object-position: center right;
}

.off-canvas-full div.off-canvas-content-wrapper {
    padding-top: 0px;
    padding-bottom: 0px;
    width: 100%;
}

.off-canvas-full .off-canvas-full-text {
    position: absolute;
    bottom: 70px;
    left: 90px;
    margin-right: 180px !important;
    z-index: 2;
}

.off-canvas-full .off-canvas-content-shadow:after {
    content: '';
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(
            0deg
            , rgba(2, 44, 64, 1) 0%, rgba(2, 44, 64, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.off-canvas-full .off-canvas-content-content .fullwidth-box {
    height: calc(100vh - 60px);
}

.off-canvas-full .off-canvas-content-content .fullwidth-box.off-canvas-scrollable {
    height: auto !important;
}

.off-canvas-full .off-canvas-content-content .fullwidth-box:not(.off-canvas-scrollable) .fusion-builder-row .fusion-layout-column,
.off-canvas-full .off-canvas-content-content .fullwidth-box:not(.off-canvas-scrollable) .fusion-builder-row .fusion-layout-column .fusion-column-wrapper > div:first-child,
.off-canvas-full .off-canvas-content-content .fullwidth-box:not(.off-canvas-scrollable) .fusion-builder-row .fusion-layout-column .fusion-column-wrapper > div:first-child .fusion-imageframe {
    width: 100%;
    height: 100%;
}

@media (max-width: 1280px) {

    .off-canvas-full .off-canvas-full-text {
        bottom: 30px;
    }

    .off-canvas-full .off-canvas-content-shadow:after {
        bottom: 15px;
    }
}

@media (max-width: 1200px) {
    .off-canvas-full .off-canvas-full-text {
        bottom: 20px !important;
    }

    .off-canvas-full .off-canvas-full-text {
        position: relative !important;
        left: 15px !important;
        top: 15px;
        bottom: unset !important;
        font-size: 17px !important;
    }

    .off-canvas-full .off-canvas-content-content .fusion-builder-row,
    .off-canvas-full .off-canvas-content-content .fusion-builder-row .fusion-layout-column {
        align-items: center !important;
    }

    .off-canvas-content-wrapper img {
        height: auto;
        object-fit: unset;
    }

    .off-canvas-full .off-canvas-content-shadow:after {
        content: none !important;
    }
}

@media (max-width: 768px) {
    .off-canvas-full .off-canvas-scrollable .fusion-builder-row:first-of-type {
        flex-flow: wrap !important;
    }
    .off-canvas-content {
        top: 15px;
        left: 15px;
        width: calc(100vw - 30px);
    }

    .off-canvas-full .off-canvas-full-text p{
        line-height: 1.4;
    }

    .off-canvas-content-wrapper {
        width: 85%;
    }
}
