@import "variables";

#wrap {
	background: $color_gray_05;
	position: relative;
	width: 100%;
	min-width: 320px;
	min-height: 100%;
	font-size: 14px;
}

.section { position: relative; }

.section-sidebar {
	background: $color_white;
	position: fixed; top: 40px; bottom: 0; left: 0;
	overflow-y: auto;
	z-index: 775;
	width: 220px;
	@include transition(all 0.25s ease-in-out 0s);

	&:before {
		content: '';
		position: absolute; top: 0; right: 0; bottom: 0;
		z-index: 99;
		width: 10px;
		@include linear-gradient(90deg, transparent, $color_gray_50);
	}

	//modification
	@media (max-width: 1199px) {
		left: -220px;
	}
	.sidebar-hide & { left: -220px !important; }
	.sidebar-show & { left: 0 !important; }
}

.fi-panel .section-sidebar {
	background-color: $color_water;
}

.section-content {
	position: relative;
	overflow: hidden;
	margin-left: 220px;
	padding: 12px;
	@include transition(all 0.25s ease-in-out 0s);
	@media (max-width: 1199px) { margin-left: 0; }
	.sidebar-hide & { margin-left: 0; }
}

.content-separator {
	height: 128px;
	@media (max-width: 767px) { height: 196px; }
	&.onehalf-sm-up {
		@media (min-width: 768px) {
			height: 196px;
		}
	}
}