﻿#sidebar {
	float: left;
	width: 225px;
	height: 100%;
	background: #04273C;
	-webkit-box-shadow: 1px 0 5px 0 rgba(0,0,0,0.15);
	-moz-box-shadow: 1px 0 5px 0 rgba(0,0,0,0.15);
	box-shadow: 1px 0 5px 0 rgba(0,0,0,0.15);
	overflow-y: auto;
	overflow-x: hidden;
	transition: width 0.3s ease;
}

.sidebarCollapsed {
	width: 100px !important;
}

#userInfo {
	float: left;
	display: flex;
	justify-content: center;
	margin-top: 40px;
	width: 100%;
	transition: display 0.3s ease;
	position: relative;
}

	#userInfo #infoDisplayWrapper {
		display: flex;
	}

	#userInfo #accountDropdownImageHolder svg {
		width: 15px;
		margin-left: 15px;
		height: auto;
	}

	#userInfo #accountDropdownImageHolder polygon {
		fill: #FFF;
	}

.userInfoCollapsed {
	display: none !important;
}

#displayName {
	font-size: 14px;
	color: #A1A1A1;
}

#displayCompany {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 120px;
	font-size: 18px;
	color: white;
}

#sidebar #ricsMeshLogo {
	float: left;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 10%;
	width: 100%;
	margin-top: 60px;
	transition: 0.25s;
	transform-style: preserve-3d;
	transform: rotateY(0deg);
}

	#sidebar #ricsMeshLogo.rotateOut {
		transform: rotateY(-90deg);
		opacity: 0;
	}

	#sidebar #ricsMeshLogo div {
		height: auto;
		width: 65%;
	}

		#sidebar #ricsMeshLogo div svg {
			height: 100%;
			width: 100%;
		}

	#sidebar #ricsMeshLogo #smallMeshImage {
		display: none;
		padding-right: 6px;
		padding-left: 3px;
	}

		#sidebar #ricsMeshLogo #smallMeshImage.in {
			display: block;
		}

	#sidebar #ricsMeshLogo #largeMeshImage.out {
		display: none;
	}

	#sidebar #ricsMeshLogo #smallMeshImage svg path {
		fill: #0E9AEF;
	}

#navContent {
	float: left;
	width: 100%;
	margin-top: 40px;
}

.navsection {
	height: 60px;
}

.navItem {
	display: flex;
	align-items: center;
	height: 60px;
	padding: 20px 15px;
	width: 100%;
	transition: background 0.1s ease;
	font-size: 14px;
	cursor: pointer;
}


.navItemCollapsed {
	padding: 20px 0;
}

.navItem:hover {
	background: rgba(255,255,255,0.15);
}

.activeNavItem {
	background: rgba(50, 133, 191, 1) !important;
	font-weight: bold;
}

.activeNavHeader {
	background: rgba(50, 133, 191, 1);
}

.childSelectedNavHeader {
	background: #085889;
}

.navItem div {
	height: auto;
	width: 15px;
}

	.navItem div svg {
		height: 100%;
		width: 100%;
	}

.navItemCollapsed div {
	margin: auto;
}

.navItemCollapsed span {
	display: none;
}

#navContent span {
	color: snow;
	text-decoration: none;
	text-transform: uppercase;
	margin-left: 20px;
}

#navContent .subNavItem {
	position: relative;
	display: flex;
	align-items: center;
	padding: 20px 5px 20px 20px;
	width: 100%;
	height: 55px;
	transition: background 0.3s ease;
	font-size: 12px;
	background: #085889;
	cursor: pointer;
}

	#navContent .subNavItem:hover {
		background: rgba(255,255,255,0.15);
	}

	#navContent .subNavItem svg {
		margin-left: 10px;
		width: 30px;
		height: 20px;
		left: 15px;
	}

		#navContent .subNavItem svg g {
			fill: #F5CE00;
		}

		#navContent .subNavItem span.notLocked {
			margin-left: 60px;
		}

.navDrawer {
	transition: height 0.3s, opacity 0.3s linear;
}

.sidebarCollapsed .navDrawer {
	position: absolute;
	left: 100px;
	width: 230px;
	margin-top: -55px;
	z-index: 1;
	background: #04273C;
}

.openPopoutDrawer .subNavItem {
	padding: 0;
}

#navContent .openPopoutDrawer span {
	margin: auto;
}

.closedDrawer {
	height: 0;
	opacity: 0;
	overflow: hidden;
}

#notProductionTag {
	position: fixed;
	width: 100px;
	color: red;
	background: white;
	text-align: center;
	height: 30px;
	line-height: 30px;
}

/* Reponsive layout */
@media screen and (max-width: 800px) {
	#sidebar {
		float: left;
		width: 100px;
		height: 100%;
		background: #04273C;
		-webkit-box-shadow: 1px 0 5px 0 rgba(0,0,0,0.15);
		-moz-box-shadow: 1px 0 5px 0 rgba(0,0,0,0.15);
		box-shadow: 1px 0 5px 0 rgba(0,0,0,0.15);
		overflow: auto;
		transition: width 0.3s ease;
	}

	.sidebarCollapsed {
		width: 0 !important;
	}

	#userInfo {
		display: none;
	}

	.navItem {
		padding: 20px 0;
	}

		.navItem div {
			margin: auto;
		}

		.navItem span {
			display: none;
		}

	.navDrawer {
		position: absolute;
		left: 100px;
		width: 250px;
		margin-top: -55px;
		z-index: 1;
		background: #04273C;
	}

	.openNavDrawer .subNavItem {
		padding: 0;
	}

	#navContent .openNavDrawer span {
		margin: auto;
	}
}
