body,
html {
    width: 100%;
    height: 100%;
}

body {
    font-family: "Roboto", Arial, serif;
    margin: 0;
    padding: 0;
}

.intro {
    padding-top: 65px;
}

p {
    margin: 12 0 12px;
    padding-bottom: 6px;
    font-size: 14px;
    text-align: left;
}

p.copyright {
    margin: 15px 0 0;
}

.navbar {
    background-color: #742626;
    border-bottom: 1px solid #4a1818;
    height: 50px;
    margin-bottom: 0px;
}

.navbar-default,
.navbar-brand {
    color: #fff !important;
    background-color: #742626;
    font-weight: 300;
}

.navbar-default .navbar-nav > li > a {
    color: #fff;
}

.navbar-default .navbar-nav > li > a:hover {
    color: #dda89c;
}

footer {
    border-top: 1px solid #c3c3c3;
    overflow-y: hidden;
    margin-top: 50px;
    padding-top: 25px;
    padding-bottom: 25px;
    background-color: #ebebeb;
    bottom: 0;
}

footer h3 {
    font-weight: 300;
}

img.logo {
    max-height: 1em;
    display: inline-block;
    width: auto;
}

.styled-select {
    height: 40px;
    border: none;
    width: 300px;
    border-radius: 0px;
    margin-bottom: 5px;
    font-size: 14px;
    background: url(../img/arrowdown.png) no-repeat right #eaeaea;
    background-size: 40px 40px;
}

.styled-select select {
    height: 40px;
    border: none;
    border-radius: 0;
    font-size: 14px;
    width: 300px;
    margin-left: 6px;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
}


/*popup divs - about and table*/

.main {
    margin-top: 50px;
}

.popup {
    position: absolute;
    border: 1px solid #ccc;
    z-index: 100;
    background: #ffffff;
    margin-top: 75px;
}

#about {
    width: 60%;
    left: 20%;
}

.text {
    padding: 25px;
}

.center {
    text-align: center;
}

#table-section {
    width: 94%;
    margin-left: 3%;
    height: 90%;
}


#table-holder {
    margin: 25px;
}

.divclose {
    cursor: pointer;
    font-family: Arial, sans-serif;
    margin: 25px;
    float: right;
    width: 25px;
    height: 25px;
    line-height: 22px;
    border: 2px solid #f5f5f5;
    border-radius: 50%;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    background: #742626;
    box-shadow: 0 0 3px gray;
    font-size: 20px;
    font-weight: 700;
}


/*map*/

#map-holder {
    top: 0;
    height: 100%;
    bottom: 0;
    position: relative;
}

#map {
    position: absolute;
    top: 0px;
    bottom: 0;
    width: 100%;
}

#geocoder-container {
    position: absolute;
    right: 60px;
    width: 100%;
    margin-top: 65px;
}

#geocoder-container > div {
    min-width: 150px;
    float: right;
    margin-right: 55px;
}

.mapboxgl-ctrl-group.mapboxgl-ctrl {
    margin-top: 65px;
}


/*sidebar*/

#sidebar {
    position: relative;
    height: 90%;
    top: 65px;
    left: 15px;
    bottom: 15px;
    width: 275px;
    overflow: auto;
    background: rgba(255, 255, 255, 0.8);
    padding-left: 10px;
    padding-right: 10px;
}

.sidebar-title {
    text-transform: uppercase;
    font-weight: 300 !important;
    font-size: 20px;
}

#print {
    background: rgba(255, 255, 255, 1);
    border-radius: 0px;
    border: 1px solid #cccccc;
}

#legend-holder {
    padding-right: 20px;
    width: 100%;
    text-align: center;
    position: absolute;
    z-index: 1;
    top: 80%;
}

#legend {
    display: block;
    width: 152px;
    margin: 0 auto;
    font-size: 12px;
    /*background: rgba(255, 255, 255, 1);*/
}


/*li.key {
    border-left-width: 15px;
    border-left-style: solid;
    opacity: 0.5;
    font-size: .75em;
    width: 10%;
    padding-left: 0;
    padding-right: 0;
}*/

#toptoggle {
    position: absolute;
    top: 65%;
    margin-right: 10px;
}

#statbtns {
    display: block;
    width: 100%;
    min-height: 20px;
}

label {
    font-weight: 400 !important;
}

#statbtns label input {
    visibility: hidden;
}

.button {
    font-size: 14px;
    padding: 14px 10px 0px 10px;
    cursor: pointer;
    border-color: none;
    color: #666666;
    opacity: 60%;
    background-color: #ffffff;
    display: table-cell;
    text-align: center;
    margin-right: 0px;
    white-space: normal !important;
}

.button:hover,
.button.selected,
.button.active,
.button:checked {
    background-color: #742626;
    color: #ffffff;
    text-decoration: none;
}

#tooltip {
    margin-top: 1em;
    padding: 15px;
}

.title {
    padding-top: 6px;
    margin-bottom: 6px;
    font-size: 14px;
    text-transform: uppercase;
}

.risk {
    font-size: 16px;
    font-weight: 400;
    height: 100px;
    border-bottom: thin solid #7e7e7e;
    margin-bottom: 6px;
}

.households,
.income {
    height: 60px;
    border-bottom: thin solid #7e7e7e;
    margin-bottom: 6px;
}

#tooltip-risk {
    font-size: 24px;
    margin-bottom: 6px;
}

#tooltip-rank {
    margin-bottom: 4px;
}

#tooltip-name,
#tooltip-tract {
    font-size: 14px;
    margin-bottom: 4px;
}

/*mobile*/

@media (max-width: 550px) {
    #sidebar {
        display: none;
    }
    .popup {
        position: absolute;
        border: 1px solid #ccc;
        z-index: 100;
        background: #ffffff;
        margin-top: 50px;
    }
    #about,
    #table-section {
        width: 100%;
        overflow-y: scroll;
    }
}

@media (max-width: 767px) {
    .navbar-brand {
        font-size: 14px;
    }
    .navbar-toggle {
        margin-right: 30px;
    }
    .navbar-default,
    .navbar-collapse {
        background-color: #742626;
        color: #fff;
    }
    .navbar-default .navbar-toggle .icon-bar {
        background-color: #fff;
    }
    .navbar-default .navbar-nav > li > a {
        color: #fff;
    }
}