/* CSS reset */
body,div,dl,dt,dd,ul,ol,li,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {
    margin:0;
    padding:0;
}
html,body {
  width:100%;
    margin:0;
    padding:0;
    font-size: 14px;
}

nav { display: none;
  }

.active {
  cursor:url('/images/active_cursor.png'),pointer;
}

.footer {
  width:100%;
  padding-top: 30px;
  padding-bottom: 30px;
  text-align: center;
}
.footer a {
  opacity: 0.6;
  color: white;
  font-weight: bold;
}
/*color schemes*/
.teal {background-color: #009688;
  /*background: linear-gradient(165deg, #3862f5, #0872f5 59%);*/
  /* background: linear-gradient(165deg, rgba(106, 243, 211, 0.62), #0a8794 59%); */

  /*background-color: #1fb2a0;*/
  /*background-color: #00A591;*/
  /*background-color: #0a8794;*/
  color: #fff;
}

.light-gray {
  background-color: #f8f8f8;
}

.white {
  background-color: #fff;
}

hr {
  max-width: 960px;
  border-bottom:0.5px solid #EAEAEA;
}

/* hero content*/

.hero {
  padding-top: 30px;
  padding-bottom: 0;
  text-align: center;
}

.col-md-4 {
  width : 33%;
  text-align: center;
}

.col-logo{
  text-align:center;
  max-width: 300px;
  padding-left: 50px;
  padding-right: 20px;
}

.poster {
  max-width: 250px;
  padding-top: 30px;
  padding-right: 30px;
}

.right {
  text-align: right;
  padding-right: 30px;
  display: initial;
}

.center{
  text-align: center;
  display: initial;
}
.text {
  max-width: 460px;
}

.middle {
    margin: 0 auto;
    max-width: 810px;
}

.col-md-12 {
  text-align: center;
  font-size: 16px;
  font-weight: 300;
  margin-bottom: 25px;
  color: #5B5B5B;
}

.col-md-6 {
  text-align: center;
  font-size: 16px;
  font-weight: 300;
  margin-bottom: 25px;
  color: #5B5B5B;
}

.col-md-8 {
  text-align: center;
  font-size: 16px;
  font-weight: 300;
  color: #5B5B5B;
}

/* navbar */

.homeicon {
  max-height: 25px;
  padding : 0 0;
  opacity: 1;
}

#homeicon:hover {
    opacity: 0.6;
}

.navbar {
  width: 100%;
  font-family: 'Montserrat Light';
  padding: 0;
  margin : 0;
  background-color: #4d4d4d;
  box-sizing: content-box;
  border-radius: 0;
}

.navbar a {
  float: left;
  font-size: 17px;
  background-color: #4d4d4d;
  color: white;
  text-align: center;
  vertical-align: middle;
  padding: 14px 16px;
  text-decoration: none;
}

.navbar a:hover {
  background-color: #000000;
}

.highlight {
            fill: orange;
        }
circle {
  cursor: pointer;
  stroke-width: 2;
}
rect {
  cursor: pointer;
  stroke-width: 2;
}
.disabled {
  fill: transparent !important;
}

path {
  stroke-width:2;
}

/* path:hover {
  opacity: 0.5
} */

body {
  -webkit-font-smoothing: antialiased;
  font-family: "Lato", sans serif;
  background: #f8f8f8;
 }

 .intro p {
  color: #555;
  -webkit-margin-before: 1em;
  -webkit-margin-after: 1em;
  -webkit-margin-start: 0;
  -webkit-margin-end: 0;
  line-height: 1.5;
  font-family: "Montserrat Light";
 }

li {
  color: #555;
  -webkit-margin-before: 1em;
  -webkit-margin-after: 1em;
  -webkit-margin-start: 0;
  -webkit-margin-end: 0;
  line-height: 1.5;
  font-family: "Montserrat Light";
}

h1 {
  margin:0;
  padding:0;
  font-family: 'Fira Sans Bold';
  font-size: 5em;
  font-weight: 400;
  line-height: 1.4em;
}

h2 {
  margin:0;
  padding:0;
  font-family: 'Montserrat Bold';
  font-weight: 600;
  margin-bottom: 13px;
  text-align : center;
  color:#5B5B5B;
}

h3 {
  margin:0;
  padding:0;
  font-size: 2em;
  line-height: 1.4em;
  font-weight: 300;
  font-family: 'Montserrat Medium';
}


@media screen and (max-width: 1000px) {
  h3 {
    font-size: 1.2em;
    line-height: 1em;
    font-weight: 300;
  }
}

h4 {
  margin:0;
  padding:0;
  font-family: 'Montserrat Bold';
  font-size: 1.6em;
  font-weight: 400;
  vertical-align: bottom;
}

h5 {
  margin:0;
  padding:0;
  font-family: 'Montserrat Bold';
  font-size: 130%;
  font-weight: 400;
  vertical-align: middle;
  padding-top: 10px;
}

.container-fluid {
  width: 100%;
}

.container {
/*    overflow: -webkit-paged-x; */
    width: 100%;
    max-width: 1050px;
    min-height : 50px;
    margin-bottom : 0;
}

.container-head {
/*    overflow: -webkit-paged-x; */
    width: 100%;
    max-width: 1050px;
    min-height : 150px;
    margin-bottom : 50px;
}
.middle-text {
    position: relative;
    top: 50%;
    transform: translateY(10%);
}

.width-text {
  max-width: 700px;
}

.centered {
	text-align: center;
  font-size: 15px;
  font-weight: 300;
  color: #5B5B5B;
  padding-top: 25px;
  padding-bottom : 25px;
}

.gray {
	background-color: #f8f8f8;
}

.intro {
  font-size: 15px;
  font-weight: 300;
  color: #5B5B5B;
  /* text-shadow: 0px 1px lightgrey; */
  padding-top: 50px;
}


/* D3 */

svg {
  margin-bottom: 20px;
  float: left;
  padding-top: 10px;
}

.background {
  fill: #f8f8f8;
  opacity: 1;
}

.axis path, .axis line {
    fill: red;
    stroke: black;
    shape-rendering: crispEdges;
}
g.tick text {
    font-family: sans-serif;
    font-size: 11px;
  fill: red;
  color: red;
}

.enter text {
	font-family: "Lato", sans serif;
}

.x line {
  fill: none;
  stroke: rgba(0, 179, 188, 0.15)
}

.half {
  opacity: 0.5;
}

.pop {
  background-color: #f8f8f8 !important;
  border: 5px dotted #0872f5 !important;
  color: #0872f5 !important;
}

.svg-container {
	display: inline-block;
	position: relative;
	width: 100%;
  padding-bottom: 100%;
	vertical-align: top;
	overflow: hidden;
}

.legend-container {
	display: inline-block;
	position: relative;
	width: 100%;
  padding-bottom: 50%;
	vertical-align: top;
	overflow: hidden;
}

.svg-content-responsive {
	display: inline-block;
	position: absolute;
	top: 0;
	left: 0;
}

#chart {
  float : left;
}

div.tooltip {
  position: absolute;
  text-align: center;
  width: inherit;
  height: auto;
  max-width: 150px;
  padding: 10px;
  font-family :"Montserrat Light";
  font-size: 14px;
  background-color: #1d68a5;
  color : #ffffff;
  border: 0px;
  border-radius: 8px;
  pointer-events: none;
}

/*.tooltip:after {
  box-sizing: border-box;
  display: inline;
  font-size: 10px;
  width: 100%;
  line-height: 1;
  color: rgba(0, 0, 0, 0.8);
  content: "\25BC";
  position: absolute;
  text-align: center;
}

.tooltip.n:after {
  margin: -1px 0 0 0;
  top: 100%;
  left: 0;
}*/

#legend {
  margin-left: 30px;
  float: left;
  margin-top: 47px;
  min-width: 250px;
  max-width: 250px;
}

.legendR {
  border: 5px solid #1d68a5;
  margin-bottom: 10px;
  background-color: #1d68a5;
  font-size: 1em;
  line-height: 1.4;
  color: #fff;
  border-radius: 22px;
  padding: 15px 20px 15px 20px;
  font-family: "Abril Fatface", cursive;
  text-align: center;
}

.legendName {
  font-family: "Lato";
}

.legendNo {
  font-size: 1.6em;
}

.bar{
  fill: #1d68a5;
}

.bar:hover {
  fill: brown;
}

.tillbaka  {
  font-size: 13px;
  font-family: "Abril Fatface";
/*  color: #5b5b5b;*/
  color: #00A591;
  opacity: 0;
  cursor: pointer;
}

.tillbaka:hover {
  opacity: 0.7 !important;
}

.dontShow {
  display: none;
}

text {
  line-height: 1.5;
  font-family: "Montserrat Light";
  font-size: 14px;
  font-weight: 400;
  fill: #5B5B5B;
}

.x text {
font-size: 13px;
    font-family: 'Abril Fatface', cursive;
}

.encart {
 position:relative;
 margin:20px 0;
 padding:20;
 font-family: "Montserrat Regular";
 color: #FFF;
 background:#009688;
 border-radius: 20px;
}

.box {
  width: 200px;
  height: 200px;
  border: 1px dashed #000;
  margin: 2rem auto;
}

.shape {
  fill: #eee;
  stroke: #ccc;
}

.tick line {
  stroke-width: 1;
  stroke: #000000;
}

.active {
  background-color: #4CAF50;
  color: white;
}

.navbar .icon {
  display: none;
  vertical-align: middle;
}

@media screen and (max-width: 1000px) {
  .navbar a:not(:first-child) {display:none;}
  .navbar a.icon {
    float: right;
    display: block;
    top: 5px;
  }
}

@media screen and (max-width: 1000px) {
  .navbar.responsive {position: relative;}
  .navbar.responsive .icon {
    position: absolute;
    right: 0;
    top: 5px;
  }
  .navbar.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

.line {
  fill : none;
  stroke : #3d10c9;
  stroke-width : 2px;
}

.linechart {
  fill : none;
  stroke : #585858;
  stroke-width : 0.5px;
  opacity : 1;
}

.area {
  fill : #ffffff;
  opacity : 0.5;
}

.node {
  box-sizing: border-box;
  position: absolute;
  overflow: hidden;
}

.node-label {
  padding: 4px;
  line-height: 1em;
  white-space: pre;
}

.node-value {
  color: rgba(0,0,0,0.8);
  font-size: 9px;
  margin-top: 1px;
}

.grid line {
  stroke-width: 1;
  stroke: #000000;
  shape-rendering: crispEdges;
}

.grid path {
  stroke-width: 0;
}

.x.ticks {
  display : none;
}

button {
  margin-top: 20px;
  line-height: 60px;
  font-weight: bold;
  padding: 0 40px;
  background: salmon;
  border: none;
}
button:hover {
  background: lightsalmon;
}

.aligncenter {
  display: block;
  margin-top : 75px;
    margin-left: auto;
    margin-right: auto;
  object-fit: cover;
}

.mybtn {
  font-size: 30px;
  color:#FF6D70;
}

.explain {
  text-align: left;
  font-size: 16px;
  font-weight: 300;
  color: #5B5B5B;
}

.wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-column-gap: 1px;
    grid-row-gap:1px;
    grid-template-rows: auto;
}

.wrapper_plus {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-column-gap: 1px;
  grid-row-gap:1px;
  grid-template-rows: auto;
}

.centered_text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.rotated {
        writing-mode: tb-rl;
        transform: rotate(-180deg);
        padding-right: 200px;
    }

    .wrapper_title {
        display: grid;
        grid-template-columns: 20% 80%;
        grid-row-gap:10px;
        grid-template-rows: auto;
        font-size: 30px;
        padding: 25px 0px;
    }

.wrapper_results {
  display: grid;
  grid-template-columns: 40% 60%;
  grid-template-rows: auto;
}

.wrapper_case {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: 75% 25%;
}

.wrapper_tot {
  display: grid;
  grid-template-columns: 50% 10% 40%;
  grid-template-rows: auto;
}

.wrapper_id {
  display: grid;
  grid-template-columns: 50% 50%;
  grid-template-rows: auto;
}

.style1 {
  font-size: 20px;
  font-weight: 400;
  text-align :right;
  padding-left:50px;
  color:#5B5B5B;
}

.style2 {
  font-size: 20px;
  text-align :right;
  padding-right:10px;
  color:#5B5B5B;
}
@media only screen and (max-width: 768px) {
  .wrapper_gdschf {
    display: grid;
    grid-template-columns: 100%;
    padding: 1em;
    text-align:center;
  }
}

.annee {
    display: grid;
    justify-content: center;
    grid-template-columns: auto auto auto auto auto auto;
    grid-column-gap:10px;
    grid-template-rows: auto;
}

@media only screen and (max-width: 768px) {
  .annee {
    display: grid;
    justify-content: center;
    grid-template-columns: auto auto auto;
    padding: 1em;
    text-align:center;
  }
}

.invest {
    display: grid;
    grid-template-columns: 70% 30% ;
    grid-template-rows: auto;
}

@media only screen and (max-width: 768px) {
  .invest {
    display: grid;
    grid-template-columns: 100%;
    padding: 1em;
    text-align:center;
  }
}

#return-to-top {
    position: fixed;
    bottom: 50px;
    right: 20px;
    background: #5b5b5b;
    opacity : 0.4;
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top i {
    color: #FFF;
    margin: 0;
    position: relative;
    left: 16px;
    top: 13px;
    font-size: 19px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top:hover {
    background: #5b5b5b;
    opacity : 1;
}
#return-to-top:hover i {
    color: #fff;
    top: 5px;
}

@media only screen and (max-width: 768px) {
  div{
    padding-top:0;
  }
}

.x path {
  display:none;
}

.fit { margin:0;
    height:100vh;
    background:#fff;
}
.header {
  background: #fff;
  color: #f1f1f1;
  height : auto;
}

.content {
  padding-top: 16px;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

.sticky + .content {
  padding-top: 102px;
}

@media only screen and (max-width: 500px) {
  .h2{
    padding: 0px;
    font-size: 16px;
  }
  .header{
    font-size: 1em;
  }

  .wrapper_title {
    display:block;
    width:100%;
    font-size: 16px;
    height:auto;
  }
  .wrapper {
    display: block;
    font-size: 16px;
    padding: 0px;
  }
  .wrapper_case {
    display: block;
  }
  .wrapper_plus {
    display: block;
  }

  .wrapper_tot {
    display: block;
  }

  .style1 {
    font-size: 16px;
    font-weight: 400;
    color:#5B5B5B;
    text-align: left;
    padding-left: 5px;
  }

  .style2 {
    font-size: 16px;
    color:#5B5B5B;
    text-align: left;
    padding-left: 5px;
  }

  svg {
    display: none;
  }
  
}