/* navigation drawer */
#drawer {
	width: 240px;
	margin-right: -240px;
	padding-top: 16px;
	background-color: #ECEFF1;
	overflow-x: hidden;
	z-index: 5;
}

.bg-blue {
	background: -webkit-linear-gradient(right top, #080818, #181848, #040412);
	/* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(bottom left, #080818, #181848, #040412);
	/* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(bottom left, #080818, #181848, #040412);
	/* For Firefox 3.6 to 15 */
	background: linear-gradient(to bottom left, #080818, #181848, #040412);
	/* Standard syntax */
}

.bg-red-gradient {
	background: -webkit-linear-gradient(top, #dd1133, #b31133);
	/* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(bottom, #dd1133, #b31133);
	/* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(bottom, #dd1133, #b31133);
	/* For Firefox 3.6 to 15 */
	background: linear-gradient(to bottom, #dd1133, #b31133);
	/* Standard syntax */
}

/*.bg-red-gradient {
	background: -webkit-linear-gradient(right top, #b30000, #dd1133, #880033);
	background: -o-linear-gradient(bottom left, #b30000, #dd1133, #880033);
	background: -moz-linear-gradient(bottom left, #b30000, #dd1133, #880033);
	background: linear-gradient(to bottom left, #b30000, #dd1133, #880033);
}*/

#drawer.enabled {
	margin-left: -240px;
}
#drawer.disabled  {
	margin-left: 0px;
}
#drawer.open {
	margin-left: 0px;
	box-shadow: 0 4px 28px rgba(0,0,0,0.25), 0 0px 10px rgba(0,0,0,0.22);	
	transition: all 0.5s ease;
}
#drawer.closed {
	margin-left: -240px;
	box-shadow: none;
	transition: all 0.5s ease;
}

.bg-red {
	background: #b31133;
}

#drawer a {
	margin: 0;
	color: #212121;
	display: block;
	padding: 0;
	text-decoration: none;
	font-size: 14px;
	height: 48px;
	width: 100%;
	white-space: nowrap;
	overflow: hidden;
	background: url(/images/ic_label.svg) no-repeat 16px;
}

#drawer a:hover {
	background-color: #f9f9f9;
	color: #181848;
}

#drawer a.selected {
	background-color: #fff;
}

#drawer a:before, 
.panel a:before,
.dropdown a:before {
	/* create a full-height inline block pseudo=element */
	content: ' ';
	display: inline-block;
	vertical-align: middle; /* vertical alignment of the inline element */
	height: 100%;
	margin-right: -0.25em;
}

#drawer a:last-of-type {
	margin-bottom: 16px;
}

#drawer span {
	display: inline-block;
}

#drawer .primary {
	margin-left: 56px;
	width: 140px;
}

#drawer .secondary {
	width: 28px;
	text-align: right;
	color: #777;
}
