
// canvas sidebar 

.site-overlay {
	
	display:block;
	opacity:0;
	position:relative;
	z-index:-11;
	background-color: rgba(0,0,0,0.15);
	@include transation_delay_medium();
}

.offcanvas-active .site-overlay {

    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,.15);
    -webkit-animation: fade .5s;
    -moz-animation: fade .5s;
    animation: fade .5s;
    opacity:1;
    z-index: 1000;
    
}

.canvas-sidebar {

    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    height: 100%;
    top: 0;
    left: auto;
    right:-200vw;
    width: 450px;
    background: $white;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-overflow-scrolling: touch;
    z-index: 10000;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
    @include transation_delay();
}

.offcanvas-active .canvas-sidebar {


	right:0;
    -webkit-transform: translateX(0) !important;
    transform: translateX(0) !important;
    // -webkit-transform: translate3d(320px,0,0);
    // transform: translate3d(450px,0,0);
    @include transation_delay();
}

.canvas-sidebar .canvas-inner {
	
	position:relative;
	padding:40px 20px 30px 20px;
}

.canvas-sidebar .close-canvas {
	
	position:absolute;
	top: 10px;
    right: 15px;
	left:auto;
	z-index:1;
	background:transparent;
	border:none;
	display:inline-block;
	width:30px;
	height:30px;
	line-height:30px;
	padding:0;
	margin:0;
	cursor:pointer;
	font-size:24px;
	font-weight:normal;
}

.canvas-sidebar .close-canvas:focus {

	outline: none;
	border:none;
}	