@charset "UTF-8";
/* CSS Document */

.breadcrumb {
	/*centering*/
	width: 100%;
    display: flex;
    justify-content: space-between;
	box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.35); 
	font-size:15px;
	border-radius: 8px;
	cursor: pointer;
	/*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*/	
}

.breadcrumb > section {
	width: 100%;
	text-decoration: none;
	outline: none;
	display: block;
	float: left;
	line-height: 36px;
	color: white;
	/*need more margin on the left of links to accomodate the numbers*/
    padding: 0px 17px 0 32px;
	background: var(--pink);
	position: relative;
    list-style: none;
	background: black;
	color: var(--pink);
	transition: all 0.5s;
}

.breadcrumb > section h3, .breadcrumb > section a{
    color: white;
    text-decoration: none;
	line-height:6px;
	font-size:15px;
}

.breadcrumb a:hover,
.breadcrumb a.active,
.breadcrumb a:hover:after,
.breadcrumb a.active:after {
  background: var(--pink);
  color: white;
  text-decoration: none;
} 
.breadcrumb section.off,
.breadcrumb section.off:hover,
.breadcrumb section.off.active,
.breadcrumb section.off:hover:after,
.breadcrumb section.off:after {
  background: var(--grey);
  color: white;
  cursor:default
} 
/*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 > section:first-child {
	padding-left: 20px;
	border-radius: 8px 0 0 8px; /*to match with the parent's radius*/
}
.breadcrumb > section:first-child:before {
	left: 14px;
}
.breadcrumb > section:last-child {
	border-radius: 0 8px 8px 0; /*this was to prevent glitches on hover*/
	padding-right: 20px;
}

/*adding the arrows for the breadcrumbs using rotated pseudo elements*/
.breadcrumb > section:after {
	content: '';
	position: absolute;
    top: 0;
    right: -18px;
    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;
	/*stylish arrow design using box shadow*/
	box-shadow: 
		2px -2px 0 2px rgba(0, 0, 0, 0.4), 
		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;
	background: black;
	color: var(--pink);
	transition: all 0.5s;
}
/*we dont need an arrow after the last link*/
.breadcrumb > section:last-child:after {
	content: none;
}

.breadcrumb section:hover, .flat section.active, 
.breadcrumb section:hover:after, .flat section.active:after{
	background: var(--pink);
}

#submenu {
	left: 0;
	opacity: 0;
	position: absolute;
	top: 36px;
	visibility: hidden;
	margin: 0; padding: 0;
    background-color: black;
	width:100%;
	border-radius: 8px;
	color:white;
	z-index:20;
	box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.8);
}

section:hover > ul#submenu {
	opacity: 1;
	visibility: visible;
	z-index:20;
  
}
#submenu li {	
	width: 100%;    
    margin-top: 5px;
    padding: 10px;
    box-sizing: border-box;
    list-style: none;
	z-index:20;
}
#submenu li:hover {
	background: var(--pink);
}


.slider-round {
    height: 4px;
	width:160px;
	font-size:12px;
	margin-top:40px;
	margin-bottom:-20px; 
	margin-left:20px;
}

.slider-round .noUi-handle {
    height: 14px;
    width: 14px;
    top: -6px;
    right: -7px; /* half the width */
    border-radius: 9px;
}