.pp-no-trans {
    transition: none;
}
.pp-icon {
	display: inline-block;
	line-height: 1;
	text-align: center;
    transition: all .3s;
}
.pp-icon i,
.pp-icon svg {
    width: 1em;
    height: 1em;
    position: relative;
    display: block;
}
.pp-offcanvas-hide {
    display: none !important;
}
.pp-floating-element {
	position: fixed;
	z-index: 999;
	.pp-floating-element-align-top-left & {
		top: 0;
		left: 0;
	}
	.pp-floating-element-align-top-right & {
		top: 0;
		right: 0;
	}
	.pp-floating-element-align-top-center & {
		top: 0;
		left: 50%;
		transform: translateX(-50%);
	}
	.pp-floating-element-align-middle-left & {
		top: 50%;
		left: 0;
		transform: translateY(-50%);
	}
	.pp-floating-element-align-middle-right & {
		top: 50%;
		right: 0;
		transform: translateY(-50%);
	}
	.pp-floating-element-align-bottom-left & {
		bottom: 0;
		left: 0;
	}
	.pp-floating-element-align-bottom-right & {
		bottom: 0;
		right: 0;
	}
	.pp-floating-element-align-bottom-center & {
		bottom: 0;
		left: 50%;
		transform: translateX(-50%);
	}
}
.pp-offcanvas-open.pp-offcanvas-top.pp-offcanvas-reset,
.pp-offcanvas-open.pp-offcanvas-bottom.pp-offcanvas-reset {
	margin-top: 0 !important;
}
.pp-offcanvas-toggle {
	cursor: pointer;
}
.pp-offcanvas-container {
	position: relative;
    left: 0;
    z-index: 99;
    transition: transform 0.5s;
    &:after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 0;
        height: 0;
        background: rgba(0,0,0,0.2);
        opacity: 0;
        transition: opacity 0.5s, width 0.1s 0.5s, height 0.1s 0.5s;
    }
}
.pp-offcanvas-open {
	overflow: hidden;
    .pp-offcanvas-container:after {
        width: 100%;
        height: 100%;
        opacity: 1;
        transition: opacity 0.5s;
        z-index: 100001;
    }
}
.pp-offcanvas-content {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    visibility: hidden;
    width: 300px;
    height: 100%;
    overflow-y: auto;
    background-color: #fff;
    transition: all 0.5s;
    &.pp-offcanvas-right {
        left: auto;
        right: 0;
    }
    &.pp-offcanvas-top,
    &.pp-offcanvas-bottom {
        width: 100%;
        height: 300px;
    }
    &.pp-offcanvas-bottom {
        top: auto;
        bottom: 0;
    }
    .pp-offcanvas-header {
        padding: 20px;
        text-align: right;
    }
    .pp-offcanvas-close {
        position: relative;
        cursor: pointer;
        display: inline-block;
        line-height: 1;
        z-index: 1;
        font-style: normal;
        font-family: Helvetica, Arial, sans-serif;
        font-weight: 100;
        font-size: 24px;
		margin: 0;
    }
    .pp-offcanvas-body {
        padding-left: 20px;
        padding-right: 20px;
    }
}
.pp-offcanvas-toggle-wrap {
    .pp-offcanvas-toggle {
        display: inline-flex;
        align-items: center;
    }
}
.pp-offcanvas-icon-before {
    .pp-offcanvas-toggle-icon {
        margin-right: 5px;
    }
}
.pp-offcanvas-icon-after {
    .pp-offcanvas-toggle-icon {
        order: 2;
        margin-left: 5px;
    }
}
.pp-offcanvas-content.pp-offcanvas-slide {
	transform: translate3d(-100%, 0, 0);
	&.pp-offcanvas-right {
		transform: translate3d(100%, 0, 0);
	}
	&.pp-offcanvas-top {
		transform: translate3d(0, -100%, 0);
	}
	&.pp-offcanvas-bottom {
		transform: translate3d(0, 100%, 0);
	}
}
.pp-offcanvas-content.pp-offcanvas-reveal {
	z-index: 1;
}
.pp-offcanvas-content-slide {
    &.pp-offcanvas-open {
        .pp-offcanvas-content.pp-offcanvas-visible {
            visibility: visible;
            transform: translate3d(0, 0, 0);
        }
    }
}
.pp-offcanvas-left.pp-offcanvas-push {
	transform: translate3d(-100%, 0, 0);
}
.pp-offcanvas-right.pp-offcanvas-push {
	transform: translate3d(100%, 0, 0);
}
.pp-offcanvas-top.pp-offcanvas-push {
	transform: translate3d(0, -100%, 0);
}
.pp-offcanvas-bottom.pp-offcanvas-push {
	transform: translate3d(0, 100%, 0);
}
.pp-offcanvas-content-push {
    &.pp-offcanvas-open {
        .pp-offcanvas-content.pp-offcanvas-visible {
			visibility: visible;
			transition: transform 0.5s;
		}
        &.pp-offcanvas-left {
            .pp-offcanvas-container {
                transform: translate3d(300px, 0, 0);
            }
        }
        &.pp-offcanvas-right {
            .pp-offcanvas-container {
                transform: translateX(-300px);
            }
        }
        &.pp-offcanvas-top {
            .pp-offcanvas-container {
                transform: translate3d(0, 300px, 0);
            }
        }
        &.pp-offcanvas-bottom {
            .pp-offcanvas-container {
                transform: translate3d(0, -300px, 0);
            }
        }
        &.pp-offcanvas-left,
        &.pp-offcanvas-right,
        &.pp-offcanvas-top,
        &.pp-offcanvas-bottom {
            .pp-offcanvas-content {
                transform: translate3d(0, 0, 0);
            }
        }
    }
}
.pp-offcanvas-content-reveal {
    .pp-offcanvas-container {
        background: #fff;
        overflow: hidden;
    }
	&.pp-offcanvas-open {
		position: relative;
    	overflow: hidden;
		.pp-offcanvas-content.pp-offcanvas-visible {
			visibility: visible;
			transition: transform 0.5s;
		}
        &.pp-offcanvas-left {
            .pp-offcanvas-container {
                transform: translate3d(300px, 0, 0);
            }
        }
        &.pp-offcanvas-right {
            .pp-offcanvas-container {
                transform: translate3d(-300px, 0, 0);
            }
        }
        &.pp-offcanvas-top {
            .pp-offcanvas-container {
                transform: translate3d(0, 300px, 0);
            }
        }
        &.pp-offcanvas-bottom {
            .pp-offcanvas-container {
                transform: translate3d(0, -300px, 0);
            }
        }
	}
    &.pp-offcanvas-bottom {
        .pp-offcanvas-container {
            height: 100%;
        }
    }
}
.pp-offcanvas-left.pp-offcanvas-slide-along {
	z-index: 1;
	transform: translate3d(-50%, 0, 0);
}
.pp-offcanvas-right.pp-offcanvas-slide-along {
	z-index: 1;
	transform: translate3d(50%, 0, 0);
}
.pp-offcanvas-top.pp-offcanvas-slide-along {
	z-index: 1;
	transform: translate3d(0, -50%, 0);
}
.pp-offcanvas-bottom.pp-offcanvas-slide-along {
	z-index: 1;
	transform: translate3d(0, 50%, 0);
}
.pp-offcanvas-content-slide-along {
    .pp-offcanvas-container {
        background: #fff;
        overflow: hidden;
    }
	&.pp-offcanvas-open {
		.pp-offcanvas-content.pp-offcanvas-visible {
			visibility: visible;
			transition: transform 0.5s;
			transform: translate3d(0, 0, 0);
		}
        &.pp-offcanvas-left {
            .pp-offcanvas-container {
                transform: translate3d(300px, 0, 0);
            }
		}
        &.pp-offcanvas-right {
            .pp-offcanvas-container {
                transform: translate3d(-300px, 0, 0);
            }
		}
        &.pp-offcanvas-top {
            .pp-offcanvas-container {
                transform: translate3d(0, 300px, 0);
            }
        }
        &.pp-offcanvas-bottom {
            .pp-offcanvas-container {
                transform: translate3d(0, -300px, 0);
            }
        }
	}
    &.pp-offcanvas-bottom {
        .pp-offcanvas-container {
            height: 100%;
        }
    }
}
.pp-hamburger-label {
    display: inline-block;
    margin-left: 10px;
}
.admin-bar {
	.pp-offcanvas-left,
	.pp-offcanvas-right {
		top: 32px;
	}
}