﻿/*
    DEMO STYLE
*/

@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";

body {
	font-family: 'Times New Roman';
	background: #fafafa;
}

p {
	font-family: 'Times New Roman';
	font-size: 1.1em;
	font-weight: 300;
	line-height: 1.7em;
	color: #999;
}

a,
a:hover,
a:focus {
	color: inherit;
	text-decoration: none;
	transition: all 0.3s;
}

.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;
}

.btn-home {
	background-color:#999;
	color:black;
	font-family:'Times New Roman';
	font-weight:bold;	
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {	
	display: flex;	
	width: 100%;
}
/*Adding new sidebar for shortcuts*/
#sidebar1 {
	
	width: 50px;
	position: fixed;
	top:80px;
	left:0px;
	background: #2e3555;
	color: #fff;
	height:100%;
	transition: all 0.3s;
	border-right:solid;
	border-right-width:1px;	
}
#sidebar1 ul.components {
		padding: 20px 0;
		/*border-bottom: 1px solid #47748b;*/
	}
#sidebar1 ul p {
		color: #fff;
		padding: 10px;
	}

	#sidebar1 ul li a {
		padding: 10px;
		font-size: 1.1em;
		display: block;
	}

		#sidebar1 ul li :hover {
			color: #2e3555;
			background: #fff;
		}

	#sidebar1 ul li.active > a,
	a[aria-expanded="true"] {
		color: #fff;
		background: #2e3555;
	}

#sidebar {
	/*width: 250px;
		changing width to 230 everywhere in sidebar
	*/
	width: 230px;
	position: fixed;
/*adding top and left*/
	top:80px;
	left:50px;
	height:100%;
/*End*/
	/*top: 0px;
	left: 0px;
	height: 100vh;
	z-index: 999;*/
	background: #2e3555;
	color: #fff;
	transition: all 0.3s;
}

	#sidebar.active {
		margin-left: -230px;
		left:50px;
	}

	#sidebar .sidebar-header {
		padding: 20px;
		background: #20263d;
	}

	#sidebar ul.components {
		padding: 20px 0;
		/*border-bottom: 1px solid #47748b;*/
	}

	#sidebar ul p {
		color: #fff;
		padding: 10px;
	}

	#sidebar ul li a {
		padding: 10px;
		font-size: 1.1em;
		display: block;
	}

		#sidebar ul li a:hover {
			color: #2e3555;
			background: #fff;
		}

	#sidebar ul li.active > a,
	a[aria-expanded="true"] {
		color: #fff;
		background: #20263d;
	}

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-left: 30px !important;
	background: #20263d;
}

ul.CTAs {
	padding: 20px;
}

	ul.CTAs a {
		text-align: center;
		font-size: 0.9em !important;
		display: block;
		border-radius: 5px;
		margin-bottom: 5px;
	}



/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
/*adding content1*/
#content1 {	
	padding: 0px;
	min-height: 80%;
	transition: all 0.3s;
	position: absolute;
	top: 0;
	left: 0;
}

	#content1.active {
		width: calc(100% - 80px);		
	}
/*-----------------------------------------------*/
#content {
	width: calc(100% - 240px);
	padding: 0px;
	min-height: 100vh;
	transition: all 0.3s;
	position: absolute;
	top: 0;
	right: 0;
	padding-left:40px;
}

	#content.active {
		/*width: 100%;*/
		width: calc(100% - 50px);
	}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
	#sidebar {
		margin-left: -240px;
	}

		#sidebar.active {
			margin-left: 0;
		}

	#content {
		width: 100%;
	}

		#content.active {
			width: calc(100% - 240px);
		}

	#sidebarCollapse span {
		display: none;
	}
	.sidebarCollapse span {
		display: none;
	}
}
