#test-results {
    font-size: 0.9375rem;
    line-height: 1.125rem;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center top;
	padding: 2.8125rem 0;
	/*text-shadow: 0px 1px 3px rgba(0,0,0,0.4);*/
}

@media only screen and (min-width: 64.0625em) {
	#test-results {
		padding:3.125rem 0 3.75rem;
	}
}

#test-results h2 {
	color: #FFF;
	letter-spacing: 1px;
	display: inline-block;
	border-bottom: 1px solid #fff;
	margin-bottom: 1.25rem;
	text-transform: uppercase;
}

#test-results p {
	color: #fff;
	font-size: 1.1875rem;
	line-height: 1.5rem;
	font-weight: 700;
    -webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* CHART */

.axis text {
	color: #FAFAFA;
	fill: #fff;
	font-family: "jaf-bernino-sans-condensed", sans-serif;
	font-weight: 800;
	font-size: 0.8rem;
	text-transform: uppercase;
}

.x-axis-labels text {
	color: #9d9d9d;
	fill: #9d9d9d;
	font-size: 0.7rem;
}

@media only screen and (min-width: 64.063em) { /* min-width 1025px, large screens */
	.axis text {
		font-size: 0.9rem;
	}
	.x-axis-labels text {
		font-size: 0.75rem;
	}
}

.axis path,
.axis line {
  fill: none;
  stroke: #fff;
  shape-rendering: crispEdges;
}

.axis > path, .x-axis-labels line {
	display: none;
}

.x-axis > .tick:nth-child(2), .x-axis > .tick:nth-child(4) {
	stroke-dasharray: 2px, 2px;
}

.scatterplot-wrapper {
	position: relative;
}

.result-tooltip {
	position: absolute;
	width: 250px;
	padding: 1rem;
	margin-left: -125px;
	margin-top: 18px;
	top: 0;
	left: 0;
	background-color: #ea492f;
	color: #fff;
	font-family: "jaf-bernino-sans-condensed", sans-serif;
	font-size: 1rem;
	text-transform: uppercase;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.14s;
	z-index: 2
}

@media only screen and (max-width: 64em) { /* max-width 1024px, small screens */
	.result-tooltip {
		left: 0px;
		right: 0px;
		width: auto;
		margin-left: 0px;
	}
}

.result-tooltip.open {
	opacity: 1;
}

.result-tooltip-triangle {
	position: absolute;
	top: -8px;
	left: 0;
	margin-left: -9px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 9px 9px 9px;
	border-color: transparent transparent #ea482f transparent;
}

@media only screen and (min-width: 64.063em) { /* min-width 1025px, large screens */
	.result-tooltip-triangle {
		left: 50%;
	}
}

.result-tooltip .upper {
	padding-bottom: 1rem;
	border-bottom: 1px solid white;
	margin-bottom: 0.7rem;
	overflow: hidden;
}

.result-tooltip .tooltip-icon {
	width: 48px;
	height: 48px;
	position: relative;
	float: left;
}

.result-tooltip .tooltip-icon img {
	position: absolute;
	top: 0;
	left: 0;
	display: none;
}

.result-tooltip .tooltip-icon img.active {
	display: block;
}

.result-tooltip .tooltip-product {
	padding-left: 55px;
	padding-top: 8px;
}

.result-tooltip .tooltip-result {
	font-size: 2.5rem;
	line-height: 2rem;
	float: left;
	margin-right: 0.5rem;
}

.result-tooltip .tooltip-pfc {
	color: #000;
	font-size: 0.85rem;
	line-height: 1.1;
	padding-top: 3px;
}

.y-axis .tick {
	cursor: default;
}

#scatterplot circle, .y-axis .tick {
	transition: all 0.14s;
}

#scatterplot circle.faded, #scatterplot circle.cat-faded, .y-axis .tick.faded {
	opacity: 0.3 !important;
}

/* CATEGORIES */

.scatterplot-filters {
	color: white;
	font-family: "jaf-bernino-sans-condensed", sans-serif;
	font-weight: 800;
	font-size: 0.8rem;
	text-transform: uppercase;
}

@media only screen and (min-width: 64.063em) { /* min-width 1025px, large screens */
	.scatterplot-filters {
		width: 110px;
	}
}

.scatterplot-all {
	margin: 10px auto;
	height: 26px;
	width: 110px;
	position: relative;
	cursor: pointer;
	font-weight: 300;
}

.scatterplot-all > img {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	height: 26px;
	width: 110px;
	transition: opacity 0.14s;
}

.scatterplot-all .scatterplot-all-bg-active {
	opacity: 0;
}

.scatterplot-all.active .scatterplot-all-bg-active {
	opacity: 1;
}

.scatterplot-all > span {
	position: relative;
	line-height: 26px;
}

.scatterplot-categories {
	margin: 0 -5px;
	overflow: hidden;
	display: inline-block;
	margin-bottom: 1rem;
}

.scatterplot-category {
	margin: 5px;
	display: inline-block;
	height: 50px;
	width: 50px;
	position: relative;
	cursor: pointer;
}

@media only screen and (min-width: 64.063em) { /* min-width 1025px, large screens */
	.scatterplot-category {
		display: block;
		float: left;
	}
}

.scatterplot-category > img {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	height: 50px;
	width: 50px;
	transition: opacity 0.14s;
}

.scatterplot-category .scatterplot-icon-bg-active {
	opacity: 0;
}

.scatterplot-category.active .scatterplot-icon-bg-active {
	opacity: 1;
}

.scatterplot-category .scatterplot-icon {
	top: 1;
	left: 1;
	height: 48px;
	width: 48px;
}

/* RANKING */

.scatterplot-ranking {
	color: white;
	font-family: "jaf-bernino-sans-condensed", sans-serif;
	font-weight: 800;
	font-size: 0.75rem;
	text-transform: uppercase;
	max-width: 330px;
	margin: 0 auto;
}

.scatterplot-rank, .scatterplot-rank-tab-title {
	text-align: center;
	overflow: hidden;
}

.scatterplot-rank-tab-title > div {
	width: 50%;
	float: left;
	line-height: 2;
	border-top: 1px solid white;
	margin: 10px auto;
	padding-bottom: 12px;
	background: url('/assets/imgs/border_stroke.svg') -5px bottom no-repeat;
	cursor: pointer;
}

.scatterplot-rank-tab-title > div.active {
	background-position: center bottom;
}

.scatterplot-rank-tabs > div {
	display: none;
}

.scatterplot-rank-tabs > div.active {
	display: block;
}

#rank-row {
	display: none;
}

.scatterplot-ranking .rank-row {
	padding-bottom: 10px;
	border-bottom: 1px solid white;
	margin-bottom: 10px;
	cursor: pointer;
}

.scatterplot-ranking .rank-row-data {
	display: table-cell;
	vertical-align: top;
	line-height: 1.3;
	transition: opacity 0.14s;
}

.scatterplot-ranking .rank-row-data.faded {
	opacity: 0.3;
}

.scatterplot-ranking .rank-result {
	font-size: 25px;
	line-height: 35px;
	margin-right: 0.7rem;
	color: #D52055;
}

.scatterplot-ranking .rank-product {
	color: #ff7818;
	padding-top: 3px;
}
