.outline{
	border: 1px solid #ccc;
	border-radius: 3px;
}
p.no-margin{
	margin-bottom: 0;
}
body {
	margin: 90px 0 0 0;
	background-color: #ffffff;
	color: #6d6c6c;
	font-family: Raleway;
	border-bottom: 6px solid #930025;
}
.big {
	/* font-size: 3em;
	margin-left: 1em; */
}
.chart-background{
	margin-left: -4px;
	margin-right: -4px;
	padding: 0 8px;
	background: #f9f9f9;
	border: 2px solid #eee;
	border-radius: 3px;
}
.slides p{
	display: none;
}
.slides p.active{
	display: block;
}
p.links{
	/* padding-left: 5%;
	padding-right: 5%; */
}
.padding-bottom{
	padding-bottom: 40px;
}
.margin-top{
	margin-top: 30px;
}
.margin-bottom{
	margin-bottom: 40px;
}
.source{
	font-size: .8em;
	text-align: right;
}

.content {
	margin-top: 50px;
	background-color: #E9F0F5;
}

nav {
	background: none repeat scroll 0 0 white;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
	font-family: verdana;
	left: 0;
	line-height: 40px;
	height: 40px;
	padding-left: 10px;
	position: fixed;
	right: 0;
	top: 0;
	vertical-align: middle;
	z-index: 999;
}

nav .logo {
	border: 0 dotted #fff;
	float: left;
	height: 20px;
	margin-right: 19px;
	margin-top: 10px;
	height: 20px;
}

nav a {
	border: medium none;
	text-decoration: none;
}

nav .share-button {
	line-height: normal;
	position: absolute;
	right: 35px;
	top: 10px;
}

nav ul {
	display: inline;
	margin: 0;
	padding: 0;
}
footer {
	margin:100px 0 -12px 0!important;
	padding: 40px 10px;
	box-shadow: 0px -4px 8px -4px rgb(0, 0, 0, 0.7);
	background: none repeat scroll 0px 0px #FFF;
	line-height: 30px;
}

.footer-container {
	width:60%;
	margin:auto;
	font-size:16px;
}

.footer-container a {
	color:#5C5959;
	border-bottom:1px dotted #5C5959;
}


.footer-container a:hover {
	color:#950728;
	border-bottom:1px dotted #950728;
	text-decoration:none;
}


h1 {
	font-size: 34px;
	margin-top: 30px;
	margin-bottom: 30px;
}

h1.intro {
  /* color: #787878; */
  color: #000;
  text-shadow: none;
  text-align: left;
  font-size: 2.2rem;
  line-height: 2.3rem;
  margin-bottom: 1.2rem;
  margin-top: 1.2rem;
}


h2 {
	color: #000;
	font-size: 2.1rem;
	line-height: 2.2rem;
	margin-top: 60px;
	margin-bottom: 30px;
	font-weight: 600;
}
p {
	margin-bottom: 20px;
	font-size: 16px;
}
p.pie-description {
	margin-bottom: 0;
}

.how_you_did
{
	margin: auto !important;
	left: 0 !important;
	width: auto !important;
	padding: 0 0 0 0 !important;
	max-width: 662px;
}

div.fourchette
{
	max-width: 630px;
	padding: 0 15px;
	margin: auto;

}

div.fourchette h1
{
	padding: 0;
}

div.fourchette p
{
	text-align: left;
	font-size: 18px !important;
	margin-bottom: 15px;
	line-height: 23px;
}

div.fourchette p span
{
	color: #930025;
	font-weight: 900;
	margin-right: 15px;
}

/* custom pour barometre */

*{
	margin: 0;
	padding: 0;
}
body{
	font-family: 'Montserrat', sans-serif;
	padding-bottom: 1em;
}
text{
	font-family: 'Raleway', sans-serif;
	font-size: 14px;
}

h1{
	font-weight: bold;
}

.table td, .table th{
	font-size: .8em;
	padding-left: 0.25rem;
	padding-right: 0.25rem;
}
.pubdate{
	white-space: nowrap;
}

@media only screen and (max-width: 700px){
	/* ... */
	.map text{
		font-size: 18px;
	}
}

/* CHARTS */
.dot, .chart circle, .line{
	fill: #C32E1E;
}
 .chart-legend{
	 font-size: .9em;
 }
.axis line {
	fill: none;
	shape-rendering: crispEdges;
	stroke-width: 1px;
}
.y.axis line {
	opacity: 0.2;
}

.axis text {
	font-family: 'Raleway', sans-serif;
	font-size: 13px;
	pointer-events: none;
	fill: #7e7e7e;
}

.y.axis text {
	text-anchor: end !important;
	font-size:14px;
	fill: #7e7e7e;
}

.x .domain, .x line {
	display: none;
}

.line {
	stroke: #C32E1E;
	stroke-width: 1px;
	fill: none;
}

.overlay {
	fill: none;
	pointer-events: all;
}

.focus {
	font-size: 14px;
}

.focus circle {
	fill: #5e8dc9;
}

.hiddenDetails{
	display: none;
}

/* tooltips */
.d3-tip {
  line-height: 1;
  padding: 6px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border-radius: 4px;
}

.d3-tip div{
  color: #fff;
}

/* Creates a small triangle extender for the tooltip */
.d3-tip:after {
  box-sizing: border-box;
  display: inline;
  font-size: 10px;
  width: 100%;
  line-height: 1;
  color: rgba(0, 0, 0, 0.7);
  content: "\25BC";
  position: absolute;
  text-align: center;
}

.d3-tip.n:after {
  margin: -1px 0 0 0;
  top: 100%;
  left: 0;
}

.four-graphs p{
	margin-top: 15px;
	margin-bottom: 20px;
}
.encadre p{
	margin-bottom: 12px;
}
.encadre h3{
	font-size: 1.75rem;
	color: #333;
	font-family: 'montserratsemi_bold';
}
h3{
	color: #555;
	font-weight: 600;
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 1.1em;
}

/*/HTML5 Boilerplate) Clearfix, hidden, visuallyhidden, invisible...*/
/* Generated by Font Squirrel (https://www.fontsquirrel.com) on June 16, 2016 */
@font-face {
  font-family: 'montserratblack';
  src: url("../fonts/montserrat-black-webfont.woff2") format("woff2"), url("../fonts/montserrat-black-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal; }

@font-face {
  font-family: 'montserratbold';
  src: url("../fonts/montserrat-bold-webfont.woff2") format("woff2"), url("../fonts/montserrat-bold-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal; }

@font-face {
  font-family: 'montserratextra_bold';
  src: url("../fonts/montserrat-extrabold-webfont.woff2") format("woff2"), url("../fonts/montserrat-extrabold-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal; }

@font-face {
  font-family: 'montserrathairline';
  src: url("../fonts/montserrat-hairline-webfont.woff2") format("woff2"), url("../fonts/montserrat-hairline-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal; }

@font-face {
  font-family: 'montserratlight';
  src: url("../fonts/montserrat-light-webfont.woff2") format("woff2"), url("../fonts/montserrat-light-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal; }

@font-face {
  font-family: 'montserratregular';
  src: url("../fonts/montserrat-regular-webfont.woff2") format("woff2"), url("../fonts/montserrat-regular-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal; }

@font-face {
  font-family: 'montserratsemi_bold';
  src: url("../fonts/montserrat-semibold-webfont.woff2") format("woff2"), url("../fonts/montserrat-semibold-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal; }

@font-face {
  font-family: 'montserratultra_light';
  src: url("../fonts/montserrat-ultralight-webfont.woff2") format("woff2"), url("../fonts/montserrat-ultralight-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal; }

p.credits {
		font-family: 'montserratultra_light';
    font-size: 17px;
    line-height: calc(17px * 1.4);
    color: #777;
}
.methode{
	display: none;
	font-size: .9em;
}
.reload{
	cursor: pointer;
}
.horizontal-spacer{
	display: inline-block;
	width: 1em;
}

.btn-outline-burgundy{
	margin: 2em;
	color: #C32E1E;
	background-color: transparent;
	background-image: none;
	border-color: #C32E1E;
}
.four-graphs svg, #map, .map-details{
	border: 1px solid #eee;
	border-radius: 3px;
	background: #fff;
}
h5{
	margin-top: 30px;
	font-family: 'montserratsemi_bold';
  color: #555;
	font-size: 1rem;
}
h6{
	margin-top: 10px;
	font-family: 'montserratsemi_bold';
  color: #555;
}

/* style qu'on mettra après mise au point des graphiques */
.highlight{
  border-bottom-width: 3px;
  border-style: solid;
}
.highlight-red{
  background: rgba(231, 76, 60, 0.2);
  color: rgb(231, 76, 60);
  border-color: 2px solid rgb(231, 76, 60);
}
.highlight-fatline{
  background: rgba(184, 0, 33, 0.2);
  color: rgb(184, 0, 33);
  border-color: 2px solid rgb(184, 0, 33);
}
.highlight-orange{
  background: rgba(255, 127, 14, 0.2);
  color: rgb(255, 127, 14);
  border-color: 2px solid rgb(255, 127, 14);
}
.highlight-dark-orange{
  background: rgba(255, 127, 14, 0.2);
  color: #E06D3A;
  border-color: 3px solid #E06D3A;
}
.highlight-green{
  background: rgba(204, 229, 223, 0.2);
  color: rgb(104, 129, 123);
  border-color: 2px solid rgb(204, 229, 223);
}
.highlight-turquoise{
	background: rgba(137, 196, 201, 0.2);
  color: #89C4C9;
  border-color: 3px solid #89C4C9;
}
.highlight-black{
	background: rgba(34, 34, 34, 0.2);
  color: #222;
  border-color: 3px solid #222;
}
.highlight-grey{
	background: rgba(170, 170, 170, 0.2);
  color: #aaa;
  border-color: 3px solid #aaa;
}

.highlight-blue{
  background: rgba(52, 152, 219, 0.2);
  color: rgb(52, 152, 219);
  border-color: 2px solid rgb(52, 152, 219);
}
.highlight-thin{
  border-bottom-width: 1px;
}
.highlight-dot{
  border-bottom-width: 2px;
  border-style: dashed;
}
.legend{
  font-size: .9em;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
select:focus, textarea:focus, input:focus {
        font-size: 16px;
    }
}

#faq button{
	padding-left: 0;
}
#faq button.active{
	font-weight: bold;
}
#faq button i.fa{
  transition-duration: 0.5s;
}
#faq button.active i.fa{
	transform: rotate(180deg);
}
#animatedBarChart .domain, #animatedBarChart .y line{
	display: none;
}
#animatedBarChart .x line {
	display: block;
}


.multiline {
	position: relative;
}
.multiline svg{
	 margin-top: 2px;
	 border: 1px solid #ccc;
	 border-radius: 3px;
	 background: #fdfdfd;
}

.multiline rect {
	/* fill: #ccc; */ /* debug */
}
.multiline  .value-label{
	font-size: .8em;
}
.multiline .x line {
	display: block;
}

/* temp */

.multiline .country-label{
	font-size: .8em;
}

.multiline .x path.domain {
	display: block !important;
}

.multiline  .line {
	fill: none;
	stroke: steelblue;
	stroke-width: 1.5px;
}
.multiline .country.Suisse path{
	display: none;
}

.multiline .annotation-group text{
	font-size: .8em;
}

.multiline .tooltip {
	display: none;
	opacity: 0;
	padding: 4px 10px;
	border: 1px solid #aaa;
	border-radius: 4px;
	position: absolute;
	background-color: white;
	font-size: .8em;
	pointer-events: none;
	-webkit-transition: all 0.25s;
	-moz-transition: all 0.25s;
	-ms-transition: all 0.25s;
	-o-transition: all 0.25s;
	transition: all 0.25s;
}

.map .cantons path{
	transition: all 0.1s;
}

.map .annotation{
	transition: all 0.25s;
}
/*.map text.annotation-note-label {
	font-size: 20px;
}*/
.map .annotation-note-bg{
	fill: #FFE8F3;
	fill-opacity: 0.9;
}

.map .annotation path{
	stroke: #FF0D83;
	stroke-width: 2px;
}
.toggle{
	position: absolute;
  right: 6px;
  top: 6px;
}
.toggle label{
	/* margin-right: 30px; */
}
rect.uncertain-rectangle{
	fill: #ccc;
	opacity: 0.4;
}
.avertissement{
	color: #856404;
	background-color: #fff5dc;
	border-color: #ffeeba;
	padding: 4px 20px;
	margin-bottom: 20px;
}
.avertissement p{
	font-size: .9em;
}
.grid line {
  stroke: lightgrey;
  stroke-opacity: 0.7;
  shape-rendering: crispEdges;
}
.grid path {
  stroke-width: 0;
}
.medium{
	font-weight: 600;
}
