
.breadcrumb,.breadcrumb_01 {
	/*centering*/
	width: 870px;
	margin: 0 auto;
	margin-top: 25px;
	border-radius: 5px;
}

.breadcrumb a,.breadcrumb_01 a {
	text-decoration: none;
	outline: none;
	display: block;
	width: 290px;
	height: 40px;
	float: left;
	font-size: 12px;
	line-height: 40px;
	color: white;
	background: rgb(133,168,234);
	position: relative;
	text-align: center;
	font-size: 15px;
}
.breadcrumb_01 a{
	width: 260px;
}
.breadcrumb_01 a:hover{
	text-decoration: none;
	color: white;
}

/*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*/
.breadcrumb a:first-child,.breadcrumb_01 a:first-child {
	border-radius: 5px 0 0 5px; /*to match with the parent's radius*/
}
.breadcrumb a:first-child:before,.breadcrumb_01 a:first-child:before {
	left: 70px;
}
.breadcrumb a:last-child {
	border-radius: 0 5px 5px 0; /*this was to prevent glitches on hover*/
}

/*hover/active styles*/
.breadcrumb a.active,.breadcrumb_01 a.active{
	background: #434343;
}
.breadcrumb a.active:after,.breadcrumb_01 a.active:after {
	background: #434343;
}

/*adding the arrows for the breadcrumbs using rotated pseudo elements*/
.breadcrumb a:after {
	content: '';
	position: absolute;
	top: 0px; 
	right: -18px; /*half of square's length*/
	/*same dimension as the line-height of .breadcrumb a */
	width: 40px; 
	height: 40px;
	/*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: rgb(133,168,234);
	/*stylish arrow design using box shadow*/
	box-shadow: 
		4px -4px 0 1px rgba(255,255,255, 1), 
		4px -4px 0 1px rgba(255, 255, 255, 1);
	/*
		5px - for rounded arrows and 
		50px - to prevent hover glitches on the border created using shadows*/
	border-radius: 0 5px 0 50px;
}
.breadcrumb_01 a:after{
	content: '';
	position: absolute;
	top: 1.6px; 
	right: -15px; /*half of square's length*/
	/*same dimension as the line-height of .breadcrumb a */
	width: 40px; 
	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: rgb(133,168,234);
	/*stylish arrow design using box shadow*/
	box-shadow: 
		4px -4px 0 1px #434343, 
		4px -4px 0 1px #434343;
	/*
		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*/
.breadcrumb a:last-child:after {
	content: none;
}










