/** Bars **/
/* used for sidebars etc for example */
/* taken/adapted from HowCloudPlatform */

.bar {
	
}

/************************************************************************/
/** Bar Content **/

.bar-content-container {
	overflow: auto;
}

/************************************************************************/
/** Bar Sections **/

.bar .bar-section {
	/*margin-right: 15px;
	margin-left: 15px;*/

	/*border-bottom: 1px solid rgba(255,255,255,0.20);*/
}

.bar .bar-section:first-child {
	/*margin-top: 0px;*/
	margin-top: 5px;
}
.bar .bar-section:last-child {
	margin-bottom: 0px;
	/*border-bottom: 0px;*/
}

.bar .bar-section > .content-pad {
	padding-top: 0px;
	padding-bottom: 0px;
}

.bar .bar-section-inactive {
	opacity: 0.75;
}

/************************************************************************/
/* Bar Blocks */
/* blocks are what Bar content is contained with - used around links, titles, etc */

.bar .bar-block {
	display: block;

	padding: 10px;
	padding-left: 20px;
	padding-right: 20px;

	color: rgba(255,255,255,0.40);
}

.bar .bar-block-skinny {
	padding-top: 5px;
	padding-bottom: 5px;

	line-height: 10px;
}

/* Bar Section Header */

.bar .bar-section .bar-section-header {
	font-size: 13px;
	font-weight: 600;
	padding-bottom: 5px;
}

/* Separator */

.bar .bar-separator {
	height: 1px;
	/*background: rgba(255,255,255,0.15);*/
	background: rgba(209,235,255,0.15);
}

.bar .bar-section:last-child .bar-block:last-child > .bar-separator {
	display: none;
}

/* Icon */

.bar .bar-icon {
	font-size: 18px;
	vertical-align: middle !important;
}

/* Rect */

.bar .bar-rect {
	margin: 10px;
	margin-left: 20px;
	margin-right: 20px;

	padding: 10px;

	text-align: center;
	color: rgba(255,255,255,0.40);

	background: rgba(0,0,0,0.15);
	border: 1px solid rgba(255,255,255,0.15);
}

/************************************************************************/
/* Bar Section List */
/* used to display a list of links */

.bar .bar-section ul {
	padding: 0px;
	margin: 0px;
	list-style: none;
	font-size: 12px;
}

.bar .bar-section ul li {
	padding: 0;
	margin: 0;

	white-space: nowrap;
}

.bar .bar-section ul li > a > * {
	display: inline-block;	
	vertical-align: top;
}

/* links */

.bar .bar-section ul li a {
	display: block;

	/* color is inherited from .bar a */
	text-decoration: none;
	
	cursor: pointer;
}
.bar .bar-section ul li a:hover {
	background: rgba(0,0,0,0.15);

	/* color is inherited from .bar a:hover; */
}
.bar .bar-section ul li a.active {
	font-weight: bold;
}

/* accessories */

.bar-closed .bar-section ul li a > * {
	display: none;
}

.bar .bar-section ul li span.count {
	float: right;
	display: block;
	
	padding-top: 2px;
	padding-left: 3px;
	padding-right: 3px;

	border-radius: 3px;
	background: rgba(255,255,255,0.25);

	font-size: 11px;
	color: #fff;
	font-weight: normal;
	font-weight: bold;
}

.bar .bar-section ul li span.icon {
	width: 25px;
	padding-right: 10px;
	text-align: center;
}

.bar .bar-section ul li > a > .fa { /* there to hide what we might be showing due to duplication of code layout, we require this wrapped in icon span */
	display: none;
}

.bar .bar-section ul li span.icon .fa {
	font-size: 20px;
}

.bar-closed .bar-section ul li span.icon {
	display: block;
	width: auto;
	padding: 0px;
	text-align: center;
}
.bar-closed .bar-section ul li span.icon .fa {
	font-size: 28px;
}

/*.bar .bar-section ul li span.text:first-child {
	padding-left: 25px;
}*/
.bar .bar-section ul li span.text {
	/*font-weight: 400;*/
	font-weight: 100;
	font-size: 13px;

	text-overflow: ellipsis;
	overflow: hidden;
	max-width: 100%;
}

.bar .bar-section ul li span.strap { /* introduced to make translation into a bar vs header nav work - might want to rethink in the future though */
	display: block;
	margin-top: 3px;
}