*{
    font-family: 'Lato';
    color: #665544;
    text-align: center;
    background-image: url('light_grey.png');
}

html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body{
    width: 97%;
    margin: 0 auto;
    background-color: white;

}

#container {

    overflow: auto;

}

#loading {
    /*position:absolute;*/
    width:97%;
    top:50px;
    left:50%;
    /*margin-left:-150px;*/
    text-align:center;
    padding: 10px;
    font:bold 11px Arial, Helvetica, sans-serif;
    /*background: #222222;*/
    /*color: #ffffff;*/
}


#drop_down1, #drop_down2, #drop_down3, #drop_down4{
    font-size: 20px;
    /*padding-right: 15px;*/
    /*padding-left: 10px;*/
    /*padding-bottom: 10px;*/
    /*padding-top: 10px;*/
    width: 19%;
    margin: 8px;
    margin-bottom: 0px;
    position: relative;
    /*float: left;*/
    text-align: center;
}

.myButton {
    -moz-box-shadow:inset 0px 1px 0px 0px #54a3f7;
    -webkit-box-shadow:inset 0px 1px 0px 0px #54a3f7;
    box-shadow:inset 0px 1px 0px 0px #54a3f7;
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #007dc1), color-stop(1, #0061a7));
    background:-moz-linear-gradient(top, #007dc1 5%, #0061a7 100%);
    background:-webkit-linear-gradient(top, #007dc1 5%, #0061a7 100%);
    background:-o-linear-gradient(top, #007dc1 5%, #0061a7 100%);
    background:-ms-linear-gradient(top, #007dc1 5%, #0061a7 100%);
    background:linear-gradient(to bottom, #007dc1 5%, #0061a7 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#007dc1', endColorstr='#0061a7',GradientType=0);
    background-color:#007dc1;
    -moz-border-radius:8px;
    -webkit-border-radius:8px;
    border-radius:8px;
    border:1px solid #124d77;
    display:inline-block;
    cursor:pointer;
    color:#ffffff;
    font-family:Arial;
    font-size:14px;
    padding:13px 30px;
    text-decoration:none;
    text-shadow:0px 1px 0px #154682;
}
.myButton:hover {
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #0061a7), color-stop(1, #007dc1));
    background:-moz-linear-gradient(top, #0061a7 5%, #007dc1 100%);
    background:-webkit-linear-gradient(top, #0061a7 5%, #007dc1 100%);
    background:-o-linear-gradient(top, #0061a7 5%, #007dc1 100%);
    background:-ms-linear-gradient(top, #0061a7 5%, #007dc1 100%);
    background:linear-gradient(to bottom, #0061a7 5%, #007dc1 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0061a7', endColorstr='#007dc1',GradientType=0);
    background-color:#0061a7;
}
.myButton:active {
    position:relative;
    top:1px;
}


#button{
    font-size: 25px;
    margin-top: 30px;
    margin: 10px;
    position: relative;
    float: left;
}

#slider-time{
    font-size: 25px;
    margin-top: 30px;
    margin: 10px;
    position: relative;
    /*float: left;*/
}



#slider {
    width: 50%;
    font-size: 20px;

}
 #selected_year{
     font-size: 25px;
 }

#header{
    position: relative;
    top: 0px;
    left: 0px;
    margin: 1%;

    /*background-color: #efefef;*/

}



#dashboard{
    /*position: fixed;*/
    /*margin: 1%;*/
    float: left;
    width: 97%;
    /*background-color: #efefef;*/
    height: 2em;
    /*overflow: scroll;*/
    /*border-bottom: 1px solid #efefef;*/
    padding-bottom: 2px;
    /*width: 97%*/
    font-size: 15px
}





#sankey_dash{
    position: relative;
    /*margin: 1%;*/
    float: left;
    width: 100%;
    /*background-color: #efefef;*/
    height: 3em;
    /*overflow: scroll;*/
    /*margin:.5em 0 .5em 0;*/
    /*font-size: 10px*/

}

.titles{
    width:31%;
    float: left;
    margin-left: 1%;
    margin-right: 1%;
    overflow: auto;
}

.footer{
    width:95%;
    float: left;
    height: 5em;

}

#sankey {
    width: 97%;
    position: relative;
    float: left;
    /*margin: 1%;*/
    background-color: white;
    height: 70em;
    /*transition:500ms linear;*/

}



li {
    display: inline;
    padding: 1em;
}





div.tooltip {
    color: #222;
    background: #fff;
    padding: .5em;
    text-shadow: #f5f5f5 0 1px 0;
    border-radius: 2px;
    box-shadow: 0px 0px 2px 0px #a6a6a6;
    opacity: 0.9;
    position: absolute;
}

div.tooltip_oecd  {
    color: #222;
    background: #fff;
    padding: .5em;
    text-shadow: #f5f5f5 0 1px 0;
    border-radius: 2px;
    box-shadow: 0px 0px 2px 0px #a6a6a6;
    opacity: 0.9;
    position: absolute;
}
.hidden {
    display: none;
}



.node rect {
    cursor: move;
    fill-opacity: .9;
    shape-rendering: crispEdges;
}
.node text {
    pointer-events: none;
    text-shadow: 0 1px 0 #fff;
}
.link {
    fill: none;
    stroke: #000;
    stroke-opacity: .2;
}
.link:hover {
    stroke-opacity: .5;
}