/* General */

body {

    font-size: 16px;
    line-height: 1.5;
    font-family: -apple-system, BlinkMacSystemFont, 'avenir next', avenir, helvetica, 'helvetica neue', ubuntu, roboto, noto, 'segoe ui', arial, sans-serif;
    margin: 0px;
}

.container {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 24px 0;
    margin: 0 auto;
}


/* Headers */

h1 {
    font-size: 32px;
    color: white;
}

h2 {
    font-size: 24px;
    margin-top: 32px;
}

h3 {
    font-size: 20px;
}

h1,
h2,
h3 {
    line-height: 1.25;
}

h3 {
    margin-bottom: 0;
}

h1,
h2,
h3,
p {
    max-width: 600px;
    /* Limit the line length to around 66 characters to improve readability */
    margin-left: auto;
    margin-right: auto;
}

section {
    margin: 72px 0;
}

section h1,
section h2,
section h3 {
    margin-top: 0;
}


/* Introduction */

section {
    margin-top: 0px
}

section#introduction {
    padding: 0px;
    background-color: #5e2ca5;
    width: 100%;
    margin: 0;
}

.jumbotron {
    background-image: url("../images/jumbotron.jpg");
    color: white;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    height: 600px;
}

.considerations {
    margin-top: 10px;
}

#china-image-1 {
    display: inline-block;
    max-width:600px;
    max-height:800px;
    width: auto;
    height: auto;
    margin-top: 42px;
    margin-bottom: 42px;
}

#cuba-image-1 {
    display: inline-block;
    max-width:600px;
    max-height:800px;
    width: auto;
    height: auto;
    margin-top: 42px;
    margin-bottom: 42px;
}

#china-image-2 {
    width: 100%;
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 42px;
    margin-top: 42px;
}

/* Footer */

footer {
    padding: 36px 0;
    background-color: #eee;
    font-size: 1.2rem;
}

footer p {
    text-align: center;
    margin: 0 auto;
    opacity: 0.6;
}

.purple {
    background-color: purple;
    color: white;
    padding: 2px;
}

.red {
    background-color: red;
    color: white;
    padding: 2px;
}

.settings {
    display: inline-block;
    text-align: center;
}

.control {
    display: inline-block;
}

.form-control {
    min-width: 400px;
    margin: 0 auto;
}

#stateSettings {
    margin-left: auto;
}

#axisSettings {
    margin-left: auto;
    margin-right: auto;
    display: inline-block
}

.control {
    display: inline-block;
    margin: 10px;
}

.axis text {
    font-size: 12px;
}

.axis-label {
    size: 12px;
}

.axis path {
    fill: none;
    stroke: #BBB;
}

#select {
    overflow-y: scroll;
}

.overlay {
    fill: none;
    pointer-events: all;
}

circle,
path {
    pointer-events: none;
}

.hover-text {
    text-shadow: 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white, 0 0 5px white;
}

/*Tree Map css*/
.node {
  border: solid 1px white;
  font: 10px sans-serif;
  line-height: 12px;
  overflow: hidden;
  position: absolute;
  text-indent: 2px;
  color:white;
}

#treemap {
}

#tree {
}

.btn-group {
    margin-bottom: 20px;
}

.node:hover {
      fill: orange;
    }
    
/* US Map CSS */
#svg-filter {
    padding: 0;
}

.axis--grid .domain {
    fill: #ddd;
    stroke: none;
}

.axis--x .domain,
.axis--grid .tick line {
    stroke: #fff;
}

.axis--grid .tick--minor line {
    stroke-opacity: .5;
}

.handle--custom {
    pointer-events: all;
}

#us-map-btn-container {
    padding: 0;
}

#vis-us {
    padding-top: 10px;
}

.states {
    fill: none;
    stroke: #fff;
    stroke-linejoin: round;
}
/* END US Map CSS */

#slider label {
  position: absolute;
  width: 20px;
  margin-top: 23px;
  margin-left: -35px; 
  text-align: left;
  /*transform: rotate(-45deg);*/
  font-size: 11px;
  font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  

}

