
/* Defaults for all elements */
* {
    font-family: "Lato", serif;
    box-sizing: border-box;
}

/* Document */
html, body {
    text-align: center;
    background-color: #1F1F1F;
    color: #030303;
    width: 100%;
    padding: 0;
    margin: 0;
}

/* Article container */
main {
    display: inline-block;
    width: 100%;
    max-width: 850px; /*change to 800px at some point to make more readable*/
    padding: 1em;
    text-align: left;
}

/* Headings */
article h1, article h2, article h3, article h4, article h5, article h6, article h1 *, article h2 *, article h3 *, article h4 *, article h5 *, article h6 * {
    font-family: "Source Sans Pro", sans-serif;
    color: #fcfcfc;
}

article h1 {
    font-size: 2.5em;
    line-height: 2.5em;
    font-weight: bold;
    margin-bottom: 0;
    color: #fcfcfc;
}

article h2{
    margin-top: 1.75em;
    font-size: 1.75em;
}
article h2#byline {
    font-size: 1.5em;
    font-weight: normal;
    color: #bbbbbb;
    margin: 0;
}

/* Paragraphs */
article p {
    font-size: 1.15em;
    line-height: 1.25em;
    color: #fcfcfc;
}

/* Links */
article a {
    color: SteelBlue;
}

/* Dividers */
article hr {
    border-width: 0.5px;
    border-color: #bbbbbb;
    border-style: solid;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

/* Figures */
article figure {
    margin: 0;
    padding: 0;
}

article figure figcaption {
    margin-top: 0.5em;
    line-height: 1em;
    color: #bbbbbb;
    font-style: italic;
}

article figure .year-slider-container, article figure .date-container {
    display: flex;
}

article figure .year-slider-container input {
    width: 100%;
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 1em;
}

#visualization-3-container {
    text-align: center;
}

.visualization {
    display: inline-block;
    width: 100%;
    /* default/placeholder sizing/background */
    min-height: 400px;
    background-color: #000000;

}

#visualization-1 {
    height: 475px;
}

.mapboxgl-popup, .mapboxgl-popup p, .mapboxgl-popup strong {
    color: #1F1F1F !important;
}

#visualization-1-legend {
    margin: 0em;
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    align-items: center;
    border-color: #292929;
    border-style: solid;
    border-width: 3px;
}

.visualization-1-legend-container {
    padding: 0.25em;
    margin: 0em;
    margin-right: 0.25em;
    display: flex;
    color: white;
    border-width: 0px;
    align-items: center;

}

.visualization-1-legend-item {
    border-width: 0px;
    border-radius: 15px;
    height: 15px;
    width: 15px;
    align-items: center;
}

.visualization-1-legend-text {
    color: white;
    font-size: 1em;
    margin-left: 0.25em;
    align-items: center;
}

#visualization-2-annotation {
    background: #1F1F1F;
    width: 100%;
    padding: 0.5em;
    margin: 0.25em;
    display: inline-block;
    border-color: #DCDFFF;
    border-style: solid;
    border-width: 1px;
    color: #DCDFFF;
    text-align: center;
}

#visualization-2-annotation:empty {
    display: none;
}

.visualization-3 { 
    display: flex;
    background-color: #1F1F1F;
    width: 33.3%;
    margin: 0em;
    padding-right: 0.25em;
    padding-left: 0.25em;
    min-height: 0;
/*    border-color: #fcfcfc;
    border-style: solid;
    border-width: 0.5px;*/
}

#visualization-3-container{
    width: 100%;
    display: flex;
    padding: 0em;
}
#visualization-3-container figcaption {
    display: block;
    text-align: left;
    
}

.visualization-3, .visualization-3 * {
    color: #fcfcfc !important;
}

.visualization-3 text {
    fill: #fcfcfc !important;
}

#visualization-4 {
    background-color: #1F1F1F;
    margin: 0em;
}

.todo {
    color: maroon !important;
}

.selection{
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    margin: .25em;
}

select{
    background-color: #1F1F1F;
    color: "white";
    padding: "8px";
    border-radius: 3px;
}

select:focus {
  outline: none;
}

select option:first-child {
  font-style: italic;
}