html {
    margin: 0;
}

h1 {
    text-align: center;
}

h2 {
    text-align: center;
}

h3 {
    margin-bottom: 0;
}

body {
    
    /*background-color: rgb(237, 139, 81);
    background-image: url('/images/BackgroundV4.png');*/
    background-color: rgb(#affbc6);
    background-image: url('/images/GreenBackground.png');    
    background-repeat: true;
    background-size: 25%;
}

p {
    color: rgb(0, 0, 0);
    margin-top: 7px;
    margin-bottom: 7px;
    margin-left: 200px;
    margin-right: 200px;
    text-indent: 4em;
    line-height: 23px;
}

ol {
    color: rgb(0, 0, 150);
    margin-top: 7px;
    margin-bottom: 7px;
    margin-left: 175px;
    margin-right: 200px;
    /*text-indent: 4em;*/
    line-height: 28px;
}

.exception {
    color: rgb(0, 0, 150);
    margin-top: 7px;
    margin-bottom: 7px;
    margin-left: 175px;
    margin-right: 200px;
    /*text-indent: 4em;*/
    line-height: 28px;
}

figcaption {
    color: rgb(45, 45, 45);
    width: 100%;
    text-align: center;
    font-size: 15px;
    font-style: italic;
    margin-right: 200px;

}

.body li {
    margin-top: 0px;
    margin-bottom: 0px;
}

nav {
    margin: 0 auto 30px auto;
    text-align: center;
}

img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

table {
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid;
    width: fit-content;
    border-collapse: collapse;
    
}

td {
    border: 2px solid black;
    background-color: rgb(250, 250, 255);
    padding-right: 3px;
    padding-left: 3px;
}

th {
    border: 2px solid;
    background-color: rgb(150, 200, 250);
    padding-right: 3px;
    padding-left: 3px;
}

form {
    margin-left: 200px;
    font-weight: bold;
}

#results {
    margin-left: 200px;
    font-weight: bold;
}

#CA_results {
    margin-left: 200px;
    font-weight: bold;
}

#US_results {
    margin-left: 200px;
    font-weight: bold;
}

.results {
    margin-left: 200px;
    font-weight: bold;
}

.fillmore {
    color: rgb(255, 0, 255);
    font-weight: bold;
}

.header {
    font-size: 60px;
    padding: 0px; 
    height: 100px;
    margin: 0;
}

.header li {
    display: inline-block;
    color: rgb(30, 30, 150);
    max-width: 1000px;
    min-width: 100px;
    border: 2px solid rgb(180, 50, 50);
    height: 100px;
    text-align: center;
    padding: 0px 10px;
    /*background-color: rgb(232, 104, 70);*/
    background-color: rgb(38, 148, 38);

}

.header ul {
    margin: 0 auto;
}

footer {
    background-color: rgb(230, 230, 170);
    border: 7px solid rgb(180, 50, 50);
    width: 600px;
    height: 110px;
    padding: 0;
    margin: 0;
}

.sources {
    margin: 0px 5px;
}

.header li:hover {
    /*background-color: rgb(255, 160, 90);*/
    background-color: rgb(123, 214, 123);

}

.previous-part {
    background-color: rgb(38, 148, 38);
    /*background-color: rgb(232, 104, 70);*/
    border: 3px solid rgb(180, 50, 50);
    padding: 10px 15px;
    float: left;
    margin-left: 200px;
    font-size: 20px;
}

.next-part {
    float: right;
    margin-right: 200px;
    background-color: rgb(38, 148, 38);
    /*background-color: rgb(232, 104, 70);*/
    border: 3px solid rgb(180, 50, 50);
    padding: 10px 15px;
    font-size: 20px;
}

.next-part:hover, .previous-part:hover {
    /*background-color: rgb(255, 160, 90);*/
    background-color: rgb(123, 214, 123);
}

.ratio_bar {
    width: 1100px;
    height: 30px;
    display: flex;
    background-color: white;
}

.green_bar {
    background-color: green;
    width: 0%;
    height: 100%;
}

.red_bar {
    background-color: red;
    width: 0%;
    height: 100%;
}

.bar_percent {
    display: none;
    font-size: 20px;
    margin-left: 5px;
    margin-top: 4px;
}





/*Dropdown stuff*/


.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none; 
    position: absolute;
    /*background-color: rgb(221, 101, 68);*/
    background-color: rgb(150, 200, 250);
    width: 309px;
    z-index: 1;
    font-size: 15px;
    

}

.people {
    width: 200px;
}

.dropdown-content a {
    padding: 12px 12px;
    margin: 0;
    text-decoration: none;
    display: block;
    border: 4px solid rgb(180, 50, 50);
    text-align: left;
}

.dropdown-content a:hover {
    /*background-color: rgb(255, 160, 90);*/
    background-color: rgb(200, 230, 250);
}



.sub-dropdown-wrapper {
    position: relative;
}

.sub-dropdown {
    position: absolute;
    top: 0;
    left: 100%;

    /*display: inline-block;*/
}

.sub-dropdown-content {
    display: none; 
    position: absolute;
    /*background-color: rgb(221, 101, 68);*/
    background-color: rgb(150, 250, 183);
    width: 200px;
    z-index: 2;
    font-size: 15px;
    

}

.sub-dropdown-content a {
    padding: 12px 12px;
    margin: 0;
    text-decoration: none;
    display: block;
    border: 4px solid rgb(180, 50, 50);
    text-align: left;
}

.sub-dropdown-content a:hover {
    /*background-color: rgb(255, 160, 90);*/
    background-color: rgb(200, 250, 213);
}