.ancr-off-canvas-overlay {
    position: fixed;
    z-index: 100000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    visibility: hidden;
    opacity: 0;
    transition: all .6s cubic-bezier(.77, 0, .175, 1);
}

.ancr-off-canvas-overlay.ancr-off-canvas-active {
    opacity: 1;
    visibility: visible;
}

.ancr-off-canvas {
    opacity: 0;
}

.ancr-off-canvas.ancr-off-canvas-active {
    opacity: 1;
}

.ancr-off-canvas,
.ancr-off-canvas-inner {
    transition: all .6s cubic-bezier(.77, 0, .175, 1);
}

.ancr-off-canvas-inner {
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 2em 3em;
}

.ancr-off-canvas-inner > p {
    margin: 0;
}

.ancr-off-canvas-left {
    position: fixed;
    z-index: 100001;
    top: 0;
    left: 0;
    max-width: 100%;
    height: 100%;
    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);
}

.ancr-off-canvas-right {
    position: fixed;
    z-index: 100001;
    top: 0;
    right: 0;
    max-width: 100%;
    height: 100%;
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
}

.ancr-off-canvas.ancr-off-canvas-active {
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    overflow-y: auto;
}

.ancr-off-canvas-close {
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    display: inline-block;
    position: absolute;
    z-index: 1;
    top: 20px;
    right: 20px;
    font-size: 20px;
}

.ancr-off-canvas-close:hover {
    transform: rotate(180deg);
}

/*Other*/
.ancr_hidden {
    display: none !important;
}

.swm-off-canvas-wrap {
    position: relative;
}

.swm-off-canvas-icon {
    display: inline-block;
}

.swm-off-canvas-icon a {
    line-height: 20px;
    display: block;
}