@font-face {
	font-family: "FuturaDemi";
	font-style: normal;
	font-weight: normal;
	font-display: block;
	src: url("/fonts/futurademi.woff2") format("woff2"), 
		 url("/fonts/futurademi.woff") format("woff"), 
		 url("/fonts/futurademi.ttf") format("truetype"); 
}

@font-face {
	font-family: "FuturaBook";
	font-style: normal;
	font-weight: normal;
	font-display: block;
	src: url("/fonts/futurabook.woff2") format("woff2"), 
		 url("/fonts/futurabook.woff") format("woff"), 
		 url("/fonts/futurabook.ttf") format("truetype"); 
}

@font-face {
	font-family: "FuturaRouble";
	font-style: normal;
	font-weight: normal;
	font-display: block;
	src: url("/fonts/futura-rouble.woff2") format("woff2"), 
		 url("/fonts/futura-rouble.woff") format("woff"), 
		 url("/fonts/futura-rouble.ttf") format("truetype"); 
}

* {
	box-sizing: border-box;
}

:root {
	--color-0: #70a4c9;
	--color-1: #4a849f;
	--color-2: #656789;
	--color-3: #90d2e7;
	--color-4: #b8efea;
	--color-double-0: #6facc4;
	--color-double-1: #e65639;
}

html, body {
	margin: 0;
	padding: 0;
}

	body {
		font-size: 18px;
		line-height: 18px;
	}
	
	.context {
		padding-bottom: 20px;
	}
	
	.b-graph {
		font-family: 'FuturaBook'; 
		padding-right: 100px;
		/*display: table;*/
	}
	
		.b-graph_range {
			padding-right: 0;
		}
	
		.b-graph_inline {
			padding-right: 0;
		}
	
		.b-graph_pyramid {
			padding-left: 100px;
		}
		
		.b-graph__elem {
			margin-bottom: 12px;
			/*display: table-row;*/
		}
						
			.b-graph__elem__subhead {
				font-family: 'FuturaDemi'; 
				margin: 50px 0 20px;
			}
			
				.b-graph__elem__subhead:first-child {
					margin-top: 0;
				}
			
			.b-graph__elem__inline-wrap {
				display: flex;
				padding: 0 0 20px;
			}
			
			.b-graph__elem__label {
				margin-bottom: 5px;
				/*display: table-cell;*/
			}
	
			.b-graph__elem__percent-wrap {
				/*display: table-cell;*/
				height: 20px;
				position: relative;
			}
				
				.b-graph__elem__percent {
					height: 20px; 
					background: #6facc4;
					border-radius: 2px; 
					font-family: 'FuturaDemi'; 
					position: absolute;
					top: 0;
					left: 0;
				}
					
					.b-graph__elem__percent_color0 { background: var(--color-0); }
					.b-graph__elem__percent_color1 { background: var(--color-1); }
					.b-graph__elem__percent_color2 { background: var(--color-2); }
					.b-graph__elem__percent_color3 { background: var(--color-3); }
					.b-graph__elem__percent_color4 { background: var(--color-4); }
					
					
					.b-graph__elem__percent_bright { background: #e65639; }
					
					.b-graph__elem__percent_inline {
						position: relative;
						border-radius: 0;
					}
					
					.b-graph__elem__percent__ins {
						position: absolute; 
						left: 100%;
						top: 0px;
						padding-left: 10px;
						white-space: nowrap;
					}
					
						.b-graph__elem__percent__ins_inline {
							left: 50%;
							transform: translateX(-50%);
							top: 100%;
						}
						
						.b-graph__elem__percent__ins_0 {
							
						}
						
						.b-graph__elem__percent__ins_1 {
							color: #fff;
						}
						
						.b-graph__elem__percent__ins_u:after,
						.b-graph__elem__percent__ins_d:after {
							position: relative;
							top: -2px;
							margin-left: 0.25em;
							font-size: 0.75em;
						}

						.b-graph__elem__percent__ins_u:after { content: '↑'; }
						.b-graph__elem__percent__ins_d:after { content: '↓'; }
				
				
				
			.b-graph__elem__pyramid {
				display: flex;
			}
				
				.b-graph__elem__label_pyramid {
					text-align: center;
				}
				
				.b-graph__elem__percent-wrap_pyramid {
					width: 50%;
				}
					
					.b-graph__elem__percent-wrap_pyramid:first-child .b-graph__elem__percent_pyramid {
						left: auto;
						right: 0;
					}
					
					.b-graph__elem__percent-wrap_pyramid:first-child .b-graph__elem__percent__ins_pyramid {
						left: auto;
						right: 100%;
						padding-right: 10px;
						padding-left: 0;
					}
					
					.b-graph__elem__percent_pyramid.b-graph__elem__percent_color0 { background: var(--color-double-0); }
					.b-graph__elem__percent_pyramid.b-graph__elem__percent_color1 { background: var(--color-double-1); }
				
		.b-switcher {
			margin-left: -20px;
			margin-bottom: 16px;
			font-family: 'FuturaDemi';
			font-size: 0
		}
			
			.b-switcher__elem {
				font-size: 18px;
				display: inline-block;
				margin-left: 20px;
				line-height: 28px;
				cursor: pointer;
				padding-bottom: 2px;
			}
			
				.b-switcher__elem.act {
					background: #000;
					color: #fff;
					padding: 0 6px;
					cursor: default;
				}
				
	.b-header {
		font-family: 'FuturaDemi'; 
		font-size: 25px;
		line-height: 28px; 
		margin-bottom: 19px;
	}
	
	#chartjs-tooltip { 
		max-width: 300px;
		background: #fff;
		color: #000;
		left: 0;
		border: 1px solid #000;
	}
	
	.b-legend-table {
		font-family: 'FuturaBook'; 
		font-size: 14px;
		margin-bottom: 20px;
	}
	
		.b-legend-table_nomb {
			margin-bottom: 0;
		}
		
		.b-legend-table__square {
			border-width: 2px;
			vertical-align: middle; 
			width: 24px; 
			height: 16px; 
			display: inline-block; 
			margin-right: 6px;
		}
			
			.b-legend-table__square_0 { background: var(--color-0); border-color: var(--color-0); }
			.b-legend-table__square_1 { background: var(--color-1); border-color: var(--color-1); }
			.b-legend-table__square_2 { background: var(--color-2); border-color: var(--color-2); }
			.b-legend-table__square_3 { background: var(--color-3); border-color: var(--color-3); }
			.b-legend-table__square_4 { background: var(--color-4); border-color: var(--color-4); }
			
			.b-legend-table__square_pyramid.b-legend-table__square_0,
			.b-legend-table__square_two-scales.b-legend-table__square_0 { background: var(--color-double-0); }
			.b-legend-table__square_pyramid.b-legend-table__square_1,
			.b-legend-table__square_two-scales.b-legend-table__square_1 { background: var(--color-double-1); }
			
		
		.b-legend-table__bold {
			font-family: 'FuturaDemi';
			font-weight: normal;
		}
		
		.b-legend-table__direction {
			color: #e65639; 
			font-weight: bold; 
			font-size: 18px;
		}
		
	.b-remark {
		font-size: 14px;
		font-family: 'FuturaBook';
	}
	
	
@media screen and (max-width: 767px) {
	.b-graph {
		width: 100% !important;
	}
	
	.b-graph__elem__inline-wrap {
		display: flex;
		padding: 20px 0;
	}
			
	.b-graph__elem__percent__ins_inline_0,
	.b-graph__elem__percent__ins_inline_2,
	.b-graph__elem__percent__ins_inline_4,
	.b-graph__elem__percent__ins_inline_6 {
		top: -100%;
	}
}	