/* ==========================================================================
# Side Area style - begin
========================================================================== */

#qodef-side-area {
	position: fixed;
	top: 0;
	right: -420px;
	width: 420px;
	height: 100%;
	min-height: 100%;
	padding: 120px 40px 35px;
	background-color: $additional-background-color;
	overflow: hidden;
	visibility: hidden;
	z-index: 9999;
	transition: $sliding-area-transition;
	
	.qodef-side-area--opened & {
		right: 0;
		visibility: visible;
	}
	
	&.qodef-alignment--center {
		text-align: center;
	}
	
	&.qodef-alignment--right {
		text-align: right;
	}
	
	&.qodef-alignment--left {
		text-align: left;
	}
}

#qodef-side-area-close {
	position: absolute;
	top: 38px;
	right: 38px;
	display: block;
	z-index: 1000;
	
	.admin-bar & {
		top: 70px;
	}
	
	&.qodef-source--predefined {
		
		.qodef-m-line {
			
			&.qodef--1 {
				transform: rotate(45deg) translate(-3px,14px);
			}
			
			&.qodef--2 {
				opacity: 0;
				transform: scaleX(0);
			}
			
			&.qodef--3 {
				transform: rotate(-45deg) translate(-5px,-4px);
				-ms-transform-origin: 0 0;
				transform-origin: 0 100%;
			}
		}
	}
}

.qodef-side-area-cover {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	overflow: hidden;
	z-index: 0;
	transition: opacity 0.2s ease-in-out, z-index 0.2s ease-in-out;
	
	.qodef-side-area--opened & {
		opacity: 1;
		z-index: 1002;
	}
}

/* ==========================================================================
# Side Area style - end
========================================================================== */