.left-sidebar {
	width: 250px;
	max-width: 250px;
	min-width: 250px;
	background: #2d323e;
	position: fixed;
	z-index: 999;
	top: 0;
	left: 0;
	height: 100%;
	transition: all 0.3s;
	@media (max-width: 1140px) {
		left: -100%;
	}

	&.show-left-nav {
		left: 0;
	}

	&__logo {
		transition: all 0.3s;

		&-container {
			position: relative;
		}

		&-wrapper {
			@include d-flex();
			@include align-items-center();
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			padding: 12px 15px;
			background: #1e2129;
			z-index: 9999;
		}

		.page-logo {
			margin-right: auto;

			a {
				display: block;
				width: 30px;
				min-width: 30px;
				height: 30px;
				line-height: 30px;
			}

			img {
				width: 100%;
				height: auto;
			}
		}

		.page-toggle {
			color: white;
			font-size: 16px;
			outline: none;
			@media (max-width: 1140px) {
				display: none;
			}
			position: relative;
			transition: all 0.3s ease-out;
			cursor: pointer;
			width: 40px;
			height: 40px;
			display: flex;
			justify-content: center;
			align-items: center;
			overflow: hidden;
			border-radius: 50%;

			&::before {
				content: '';
				position: absolute;
				top: 50%;
				left: 50%;
				width: 5px;
				height: 5px;
				background: rgba(255, 255, 255, 0.2);
				opacity: 0;
				border-radius: 100%;
				@include transform(scale(0.001, 0.001));
				transform-origin: 50% 50%;
			}

			&.active {
				outline: 0;
				color: #fff;

				&:before {
					animation: ripple 1s ease-out;
				}
			}
		}

		.page-close {
			cursor: pointer;

			.dashicons {
				font-size: 20px;
				font-weight: 600;
				color: #fff;
			}
		}

		.page-close {
			display: none;
			@media (max-width: 1140px) {
				display: block;
			}
		}
	}

	&__main {
		background: #282c36;
		color: white;
		height: 100%;
		overflow-y: auto;
		overflow-x: hidden;

		&::-webkit-scrollbar {
			width: 5px;
			background-color: #2d323e;
		}

		&::-webkit-scrollbar-thumb {
			border-radius: 0;
			background-color: #000;
			width: 5px;

		}

		scrollbar-color: #3b3b3b #2d323e;
		scrollbar-width: thin;
		scrollbar-base-color: #2d323e;
		scrollbar-face-color: #2d323e;
		scrollbar-highlight-color: #2d323e;
		scrollbar-track-color: #2d323e;
		scrollbar-arrow-color: #2d323e;
		-ms-overflow-style: none;
	}

	&__container {
		padding: 70px 0;
	}

	&__category {
		margin: 10px 0;
		padding: 0 20px;

		span {
			color: rgba(255, 255, 255, 0.5);
			text-transform: uppercase;
			font-weight: 600;
			font-size: 12px;
		}
	}

	.main-menu {
		list-style: none;
		padding: 0;
		margin: 0;

		&__item {
			line-height: 1.2;
			padding: 0 12px 0 20px;
			margin:0 5px 0 0;

			&:hover {
				background-color: rgba(0, 0, 0, .1);

				.multi-menu__sub {
					background: #2d323e;
				}
			}

			a {
				color: white;
				@include transition(all 0.2s);
				@include d-flex();
				@include justify-content-center();
				@include align-items-center();
				@include flex-nowrap();
				font-size: $font-size;
				font-weight: 600;
				height: 40px;
				text-transform: capitalize;
			}
		}

		&__icon {
			margin-right: 10px;
		}

		&__name {
			@include d-flex();
			@include align-items-center();
			line-height: 1;
			width: 100%;
			opacity: 1;
			transition: opacity 0.1s;

			.icon {
				margin-left: auto;
				font-size: 20px;
				transition: all 0.3s;
				transform: rotate(0);

				&.open {
					transform: rotate(90deg);
				}
			}
		}

		.active {
			background: $primary;
			border-bottom-right-radius: 20px;
			border-top-right-radius: 20px;
		}
	}
}

.multi-menu {
	&__sub {
		list-style: none;
		padding-left: 0;
		margin: 0 -12px 0 -20px;

		.main-menu__item {
			a {
				padding: 0 0 0 20px;
			}

			.icon {
				@include d-flex();
				@include align-items-center();
				@include justify-content-center();
				font-size: 11px;
				color: white;
				padding: 0 7px;
				border-radius: 20px;
				min-width: 20px;
				height: 20px;
				line-height: 1;
			}

			.icon-request {
				background: #bf0000;
			}

			.icon-all {
				background: #039be5;
			}

			.icon-responded {
				background: #f44336;
			}

			.icon-default {
				background: #525E8A;
			}

			.icon-close {
				background: #09d261;
			}

			&.active {
				.icon {
					background: #fff;
					color: $font-color;
				}
			}
		}

	}

	&__toggle {
		@include d-flex();
		cursor: pointer;
		overflow: unset !important;
	}
}

.hide {
	@media (min-width: 1140px) {
		.left-sidebar {
			width: 64px;
			max-width: 64px;
			min-width: 64px;

			&__category {
				display: none;
			}

			&__divider {
				position: relative;
				padding: 20px 0;

				&::after {
					content: "";
					position: absolute;
					left: 50%;
					transform: translateX(-50%);
					height: 2px;
					width: 20px;
					background: rgba(255, 255, 255, 0.2);
					z-index: 1;
				}
			}

			.main-menu {
				.main-menu__item {
					margin: 0 9px;
					padding: 0;
				}

				a {
					@include justify-content-center();
					height: 40px;
				}

				&__name {
					display: none;
				}

				&__icon {
					margin-right: 0;
				}

				.active {
					border-radius: 20px;
				}
			}

			&__logo {
				@include align-items-center();

				.page-logo {
					margin-right: 0;
				}

				.page-toggle {
					display: none;
				}
			}
		}
	}
}

.sts-page-wrapper.hide {
	@media (min-width: 1140px) {
		padding-left: 64px;
	}
}



