body {
}

.navbar {
	padding: 15px 10px;
	background: #fff;
	border: none;
	border-radius: 0;
	margin-bottom: 40px;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
	box-shadow: none;
	outline: none !important;
	border: none;
}

.line {
	width: 100%;
	height: 1px;
	border-bottom: 1px dashed #ddd;
	margin: 40px 0;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
	display: flex;
	width: 100%;
}

#sidebar {
	width: 350px;
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh;
	z-index: 999;
	background-color: #fff;
	background-image: none;
	background-size: cover;
	color: #777;
	transition: all 0.3s;
	font-family: 'Oswald', sans-serif;
}

	#sidebar.active {
		margin-left: -350px;
	}

	#sidebar .sidebar-header {
		padding: 40px 0 0px 0;
		text-align: center;
	}

		#sidebar .sidebar-header h3 {
			font-family: 'Oswald' !important;
			margin-top: 30px;
			color: #ea5b0c;
			font-weight: 400;
			font-size: 34px !important;
			letter-spacing: 2px;
		}


	#sidebar ul.components {
		padding: 30px;
	}

	#sidebar ul li {
		border-bottom: solid 1px #eee;
	}
	#sidebar ul li ul li {
		border-bottom: 0;
	}

		#sidebar ul li a {
			padding: 16px 0;
			font-size: 15px;
			color: #777;
			text-transform: uppercase;
			letter-spacing: 2px;
			display: block;
		}

			#sidebar ul li a:hover {
				color: #000;
			}

		#sidebar ul li.active > a,
		a[aria-expanded="true"] {
			color: #000;
		}

a[data-toggle="collapse"] {
	position: relative;
}

.dropdown-toggle::after {
	display: block;
	position: absolute;
	top: 50%;
	right: 20px;
	transform: translateY(-50%);
}

ul ul a {
	font-size: 0.9em !important;
	padding:6px 0 6px 30px !important;
}
ul ul li:last-child {
	padding-bottom:30px !important;
}

#sidebar .social {
	text-align: center;
}

	#sidebar .social a {
		margin: 0 15px;
	}

		#sidebar .social a i {
			font-size: 18px;
		}

		#sidebar .social a:hover {
			color: #ea5b0c;
		}

a.article,
a.article:hover {
	background: #6d7fcc !important;
	color: #fff !important;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
	width: calc(100% - 350px);
	padding: 40px;
	height: 100vh;
	transition: all 0.3s;
	position: absolute;
	top: 0;
	right: 0;
}

	#content.active {
		width: 100%;
	}

#sidebarCollapse {
	width: 50px;
	height: 50px;
	padding: 0;
	background: transparent;
}

	#sidebarCollapse span {
		width: 100%;
		height: 3px;
		margin: 0 auto;
		display: block;
		background: #555;
		transition: all 0.8s cubic-bezier(0.810, -0.330, 0.345, 1.375);
	}

		#sidebarCollapse span:first-of-type {
			/* rotate first one */
			transform: rotate(45deg) translate(2px, 2px);
		}

		#sidebarCollapse span:nth-of-type(2) {
			/* second one is not visible */
			opacity: 0;
		}

		#sidebarCollapse span:last-of-type {
			/* rotate third one */
			transform: rotate(-45deg) translate(1px, -1px);
		}

	#sidebarCollapse.active span {
		/* no rotation */
		transform: none;
		/* all bars are visible */
		opacity: 1;
		margin: 25px auto;
	}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media(min-width:1300px) and (max-width:1499px) {
	#sidebar {width: 300px;}
	#content {width: calc(100% - 300px);}
}
@media(min-width:1200px) and (max-width:1299px) {
	#sidebar {width: 250px;}
	#content {width: calc(100% - 250px);}
}

@media (max-width: 1199px) {
	#sidebar {
		margin-left: -350px;
	}

		#sidebar.active {
			margin-left: 0;
		}

	#content {
		width: 100%;
	}

		#content.active {
			/*width: calc(100% - 350px);*/
			margin-right: -350px;
		}

	#sidebarCollapse span:first-of-type,
	#sidebarCollapse span:nth-of-type(2),
	#sidebarCollapse span:last-of-type {
		transform: none;
		opacity: 1;
		margin: 10px auto;
	}

	/* Removing the vertical margin and make the first and last bars rotate again when the sidebar is open, hiding the second bar */
	#sidebarCollapse.active span {
		margin: 0 auto;
	}

		#sidebarCollapse.active span:first-of-type {
			transform: rotate(45deg) translate(2px, 2px);
		}

		#sidebarCollapse.active span:nth-of-type(2) {
			opacity: 0;
		}

		#sidebarCollapse.active span:last-of-type {
			transform: rotate(-45deg) translate(1px, -1px);
		}
}

@media(max-width:767px) {
	#content {
		padding: 15px;
	}
}

@media(max-width:380px) {
	#sidebar {
		width: 270px;
		margin-left: -270px;
	}

	#content.active {
		/*width: calc(100% - 350px);*/
		margin-right: -270px;
	}
}
