
.b-crumbs {
	/*centering*/
	display: inline-block;
	/*box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.35);*/
	overflow: hidden;
	border-radius: 5px;
	/*Lets add the numbers for each link using CSS counters. flag is the name of the counter. to be defined using counter-reset in the parent element of the links*/
	counter-reset: flag; 
	min-width: 680px;
}

.b-crumbs a {
	text-decoration: none;
	outline: none;
	display: block;
	float: left;
	font-size: 12px;
	line-height: 36px;
	color: white;
	/*need more margin on the left of links to accomodate the numbers*/
	padding: 0 10px 0 60px;
	background: #666;
	background: linear-gradient(#666, #333);
	position: relative;
}
/*since the first link does not have a triangle before it we can reduce the left padding to make it look consistent with other links*/
.b-crumbs a:first-child {
	padding-left: 20px;
	border-radius: 5px 0 0 5px; /*to match with the parent's radius*/
}
.b-crumbs a:first-child:before {
	left: 14px;
}
.b-crumbs a:last-child {
	border-radius: 0 5px 5px 0; /*this was to prevent glitches on hover*/
	padding-right: 20px;
}


/*adding the arrows for the b-crumbss using rotated pseudo elements*/
.b-crumbs a:after {
	content: '';
	position: absolute;
	top: 0; 
	right: -18px; /*half of square's length*/
	/*same dimension as the line-height of .b-crumbs a */
	width: 36px; 
	height: 36px;
	/*as you see the rotated square takes a larger height. which makes it tough to position it properly. So we are going to scale it down so that the diagonals become equal to the line-height of the link. We scale it to 70.7% because if square's: 
	length = 1; diagonal = (1^2 + 1^2)^0.5 = 1.414 (pythagoras theorem)
	if diagonal required = 1; length = 1/1.414 = 0.707*/
	transform: scale(0.707) rotate(45deg);
	/*we need to prevent the arrows from getting buried under the next link*/
	z-index: 1;
	/*background same as links but the gradient will be rotated to compensate with the transform applied*/
	background: #666;
	background: linear-gradient(135deg, #666, #333);
	/*stylish arrow design using box shadow*/
	box-shadow: 
		2px -2px 0 2px rgba(0, 0, 0, 0.1), 
		3px -3px 0 2px rgba(255, 255, 255, 0.1);
	/*
		5px - for rounded arrows and 
		50px - to prevent hover glitches on the border created using shadows*/
	border-radius: 0 5px 0 50px;
}
/*we dont need an arrow after the last link*/
.b-crumbs a:last-child:after {
	content: none;
}
/*we will use the :before element to show numbers*/
.b-crumbs a:not(.pre-nav):before {
	content: counter(flag);
	counter-increment: flag;
	/*some styles now*/
	border-radius: 100%;
	width: 20px;
	height: 20px;
	line-height: 20px;
	margin: 8px 0;
	position: absolute;
	top: 0;
	left: 30px;
	background: #444;
	background: linear-gradient(#444, #222);
	font-weight: bold;
	color: black;
	text-align: center;
}


.b-flat a, .b-flat a:after {
	background: white;
	color: black;
	transition: all 0.5s;
}
.b-flat a:not(.pre-nav):before {
	background: white;
	box-shadow: 0 0 0 1px #ccc;
}
.b-flat a:not(.pre-nav):hover, .b-flat a.active, 
.b-flat a:not(.pre-nav):hover:after, .b-flat a.active:after{
	background: #008ed7;
	color: white;
}

.b-crumbs .pre-nav {
	font-weight: bold;
	cursor: text;
	padding-right: 30px;
}
.b-crumbs .pre-nav::after {
	top: 0; 
	right: 0; /*half of square's length*/
	/*same dimension as the line-height of .b-crumbs a */
	width: 3px; 
	height: 36px;
	/*as you see the rotated square takes a larger height. which makes it tough to position it properly. So we are going to scale it down so that the diagonals become equal to the line-height of the link. We scale it to 70.7% because if square's: 
	length = 1; diagonal = (1^2 + 1^2)^0.5 = 1.414 (pythagoras theorem)
	if diagonal required = 1; length = 1/1.414 = 0.707*/
	transform: scale(1) rotate(0);
	/*we need to prevent the arrows from getting buried under the next link*/
	z-index: 1;
	/*background same as links but the gradient will be rotated to compensate with the transform applied*/
	background: rgba(102, 102, 102, 0.1);
	/*stylish arrow design using box shadow*/
	box-shadow: none;
	/*
		5px - for rounded arrows and 
		50px - to prevent hover glitches on the border created using shadows*/
	border-radius: 0;
}

.plan-nav{
	border: 1px solid #f0efef;
	border-radius: 4px;
	margin-left: -10px;
	height: 38px;
	margin-bottom: 15px;
}

.plan .score-row {
	font-family: Helvetica, sans-serif;
	cursor: pointer;
}
.plan .table-hover>tbody>tr.active>td {
    font-weight: bold;
}
.plan .table-hover>tbody>tr.warning.active>td {
    background-color: #faf2cc;
}
.plan .table-hover>tbody>tr.danger.active>td {
    background-color: #ebcccc;
}
.plan .table-hover>tbody>tr.success.active>td {
    background-color: #d0e9c6;
}
.plan .score-row td:first-child {
	font-size: 0.9em;
}

.plan-multichoice .btn{
	white-space: normal;
	text-align: left;
	width: 100%;
	margin-top: 3px;
	margin-bottom: 3px;
}

.resources .fixed-panel {
  min-height: 0px;
  max-height: 200px;
  overflow-y: scroll;
}

.plan .online-report {
	background-color: white;
}

.plan .report-section .result-label {
	width: 26px;
}

.plan .strand_name code{
	font-size: 13px;
	font-weight: bold;
	line-height: 18.5px;
}
.plan .strand_name{
	font-size: 12px;
	padding-right: 2px;
}
.plan .strand_graphs{
	padding-left: 2px;
	font-size: 12px;
}

.plan .input-group {
	margin-bottom: 6px;
	text-align: left;
}
.plan .input-group-addon {
	text-align: left;
}
.plan .input-group-addon.cb-left {
	width: 16px;
}
.plan .input-group-addon.cb-btn {
	width: 100%;
	cursor: pointer;
	font-size: 1em;
	padding: 8px 5px 8px 2px;
	line-height: 1.2em;
	white-space: normal;
}
.plan .active .input-group-addon, .plan .active .form-control {
    color: #000;
    border-color: #008ed7;
    background-color: rgba(0, 141, 215, 0.2);
}
.plan .active .form-control {
    background-color: white;
}
.plan .form-control {
	font-size: 1.1em;
}
.plan.resources .input-group-addon {
    background-color: transparent;
    border: 0;
}
.plan.resources .panel {
    border-width: 2px;
}
.plan.resources .panel-heading {
    padding: 0;
}
.plan.resources .panel .input-group {
    margin-bottom: 3px;
}
.plan.resources .panel-heading .pull-right {
    padding: 3px 6px 0 0;
}

.plan table.lp th {
	border-top: 0;
}
.plan table.lp td ul {
	padding-left: 16px;
}
.plan table.lp td {
	width: 19%;
}
table.lp .btn,  .table.view-resources .btn.lp-edit {
	margin: 0 0 10px 10px;
	min-width: 24px;
}

.plan table.lp h1, .section_label{
	margin-top: 20px;
	font-size: 25px;
	font-weight: normal;
	font-style: normal;
	font-variant: small-caps;
	line-height: normal;
}
.table.view-resources h1.resource_title {
	font-size: 25px;
	margin-top: 0;
	line-height: normal;
}

.plan.printing table.lp h1, .plan.printing .section_label{
	margin-top: 4px;
}

.plan.printing .table>tbody>tr>td {
	background-color: transparent;
}

.plan.evaluate .lp-edit {
	display: none;
}
.plan.evaluate .lp hr {
	border-color: #ccc;
}
.eval-score {
	padding: 6px;
	margin-bottom: 3px;
}
.plan.evaluate .report-section .result-label {
    width: 66px;
	white-space: nowrap;
}
.bootstrap-switch-container span {
	white-space: nowrap;
}
table.lp form .btn {
	margin-top: 3px;
	padding: 2px 6px;
}

.add-menu {
	max-width: 300px;
}

.plan .lead {
	clear: both;
	font-size: 18px;
	padding-top: 15px;
	margin-bottom: 15px;
}

table.lp hr {
    margin-top: 5px;
    margin-bottom: 5px;
    border-color: #ccc;
}

.targets .strand-scores input {
    display: inline-block;
}

