html,
body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: Lato, sans-serif !important;
    font-weight: 400;
    font-size: 16pt;
    color: #666;
}

#maincontent {
    padding-top: 65px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #333;
}

h1 {
    font: 400 30px/1.3em Lato, sans-serif;
    margin: 0 0 .5em;
}

h2 {
    font: 400 24px/1.3em Lato, sans-serif;
    margin: 0 0 .5em;
}

h3 {
    font: 400 20px/1.3em Lato, sans-serif;
    margin: 0 0 .5em;
}

h4 {
    font: 600 16px/1.3em Lato, sans-serif;
    margin: 0 0 .5em;
}

h5 {
    font: 700 14px/1.3em Lato, sans-serif;
    margin: 0 0 .5em;
    text-transform: uppercase;
}

h6 {}

p,
ul,
li {
    font: 400 16px/24px Lato, sans-serif;
    margin: 0 0 .5em;
    color: #666;
}

hr {
    width: 150px;
    display: inline-block;
    border: 3px solid #1696d2 !important;
    margin-top: 55px !important;
    margin-bottom: 55px !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

a {
    color: #1696d2;
    text-decoration: none;
}

a:hover {
    color: #1696d2;
}

li {
    list-style: square;
}

hr {
    width: 100%;
    display: inline-block;
    border: 0 !important;
    height: 0 !important;
    border-bottom: 1px solid #ccc !important;
    border-bottom-color: #ccc !important;
    color: #ccc !important;
    margin-top: 15px !important;
    margin-bottom: 15px !important;
    display: block;
}


/* opening image and title*/

#openimg {
    margin-top: 50px;
    background-image: url("../img/introcropped.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    height: 350px;
    width: 100%;
}

#titleparent {
    height: 350px;
    display: table;
}

#titleholder {
    display: table-cell;
    vertical-align: middle;
}

h1.projtitle {
    background-color: #fdbf11;
    padding: 20px;
    font-size: 30px;
    font-weight: 700;
    display: inline-block;
}
#dateUpdated{
    font-style: italic;
    font-size: 14px;
    margin-top: 15px;
}

/* intro and footer */

#intro {
    padding-top: 50px;
    padding-bottom: 50px;
}

footer,
#intro {
    background-color: #f1f2f2;
}

footer {
    margin-top: 25px;
    padding-top: 25px;
    padding-bottom: 25px;
    bottom: 0;
}

footer p {
    font-size: 14px;
}

footer h2 {
    text-transform: uppercase;
}

footer h2,
h3,
h4 {
    font-weight: 700;
}

.credits {
    font-size: 14px;
    margin-top: 1em;
    margin-bottom: 16px;
}

.job {
    font-size: 16px;
    margin-bottom: 4px;
    margin-top: 12px;
}

.urbanstatement {
    font-style: italic;
    color: #666666;
    font-size: 13px;
    margin-bottom: 1em;
}


/* buttons */

.intro-button {
    font-size: 14px;
    font-family: Lato, sans-serif;
    padding-top: 14px;
    padding-bottom: 14px;
    width: 200px;
    cursor: pointer;
    border: 1px solid #1696d2;
    background: transparent;
    color: #1696d2;
    display: block;
    line-height: 12px;
    text-align: center;
    margin-right: 12px;
    margin-bottom: 15px;
    text-decoration: none;
}

a.nodec:hover,
.intro-button a:hover {
    text-decoration: none;
}

.intro-button:hover {
    background-color: #1696d2;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid #1696d2;
}

.dropdown-button {
    font-size: 14px;
    font-family: Lato, sans-serif;
    padding-top: 14px;
    padding-bottom: 14px;
    width: 100px;
    cursor: pointer;
    border: 1px solid #ccc;
    background-color: #ffffff;
    color: #666666;
    display: inline-block;
    line-height: 12px;
    text-align: center;
    margin-right: 12px;
}

.dropdown-button:hover,
.dropdown-button.selected {
    background-color: #1696d2;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid #1696d2;
}


/*radio buttons*/

input[type=radio].urban-radio {
    position: absolute;
    z-index: -1000;
    left: -1000px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

input[type=radio].urban-radio + label.radio-label {
    padding-left: 25px;
    height: 16px;
    display: block;
    line-height: 16px;
    background-repeat: no-repeat;
    background-position: 0 0;
    font-size: 13px;
    vertical-align: middle;
    font-weight: 400;
    cursor: pointer;
    margin-bottom: 12px;
}

input[type=radio].urban-radio:disabled + label.radio-label {
    color: #989898;
}

.urban-radio:checked + label.radio-label {
    color: #000000;
}

input[type=radio].urban-radio:checked + label.radio-label {
    background-position: 0 -16px;
}

label.radio-label {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

label.radio-label:not(:disabled) {
    background-image: url("../img/radios.png");
}

input[type=radio].urban-radio:disabled + label.radio-label {
    background-image: url("../img/radioNotAvailable.png");
}


/*check boxes*/

input[type=checkbox].css-checkbox {
    position: absolute;
    z-index: -1000;
    left: -1000px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

input[type=checkbox].css-checkbox:disabled + label.css-label {
    opacity: .5;
}

input[type=checkbox].css-checkbox + label.css-label {
    padding-left: 25px;
    height: 16px;
    display: block;
    line-height: 16px;
    background-repeat: no-repeat;
    background-position: 0 0;
    font-size: 13px;
    font-weight: 400;
    vertical-align: middle;
    cursor: pointer;
    margin-bottom: 16px;
}

input[type=checkbox].css-checkbox:checked + label.css-label {
    background-position: 0 -16px;
}

label.css-label {
    background-image: url("../img/checkboxes.png");
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


/*dropdown bar*/

#controlbar {
    padding-top: 25px;
}

#main-title {
    color: #333;
    font-size: 22px;
    text-align: left;
}

.select-title {
    font-size: 14px;
    text-transform: uppercase;
    color: #000000;
    margin-left: 15px;
    display: inline-block;
    position: relative;
    bottom: 5px;
}

.holder {
    position: relative;
    width: 24%;
    cursor: pointer;
    height: 40px;
    display: inline-block;
    border-left: 1px solid #333;
}

.triangle {
    display: inline-block;
    float: right;
    margin-top: 0px;
    margin-right: 10px;
    width: 0;
    height: 1px;
    border-style: solid;
    border-width: 8px 5px 0 5px;
    border-color: #000000 transparent transparent;
    -webkit-transform: rotate(360deg);
}

.triangle.blue {
    border-color: #1696d2 transparent transparent;
}

.ddval {
    font-size: 15px;
    color: #1696d2;
    margin-left: 15px;
    margin-top: 4px;
}

.dd {
    z-index: 10;
    background-color: #ffffff;
    position: absolute;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-top: 2px solid #1696d2;
    padding: 20px 10px 10px 20px;
    margin-top: 15px;
    right: 0;
}

.maindd {
    width: initial;
    font-size: 13px;
}

#controlsdd {
    width: 275px;
    float: right !important;
}

#controlstext {
    font-size: 13px;
    padding-bottom: 14px;
    padding-top: 14px;
    font-style: italic;
    color: #666;
}

.name {
    display: inline;
    /*font-weight: 700;*/
}

#graphname {
    font-size: 14px;
    color: #333;
}


/*legend*/

h4.legend-title {
    font-weight: 700;
    margin-top: 40px;
}

.legend-item {
    display: inline-block;
    margin-right: 25px;
}

.circle {
    border-radius: 50%;
    width: 10px;
    height: 10px;
    display: inline-block;
    margin-right: 4px;
}

.legend {
    display: inline-block;
    color: #333;
    font-size: 13px;
}

.circle.unadjusted {
    background: #fdbf11;
}

.circle.adjusted {
    background: #1696d2;
}

#yearwarn,#engwarn,#frplwarn {
    font-style: italic;
    color: #666666;
}


/*graphs*/

#graphic {
    width: 100%;
}

#tooltipgraph {
    width: 90%;
}

.axis,
.axis-show {
    font-size: 12px;
    font-weight: 400;
    color: #333;
}

.axis path {
    display: none;
}

.axis line {
    stroke: #000;
    shape-rendering: crispEdges;
}

.axis-show path,
.axis-show line {
    fill: none;
    stroke-width: 1px;
    stroke: #000;
    shape-rendering: crispEdges;
}

.charttitle {
    font-size: 18px;
    fill: #1696d2;
}

.yearstitle {
    font-size: 13px;
}

.dot,
.chartline,
.statename {
    cursor: pointer;
}

.unadjusted,
.unadjusted.highlight,
.unadjusted.deselected.highlight,
.unadjusted.selected,
.unadjusted.selected.lowlight {
    fill: #fdbf11;
}

.adjusted,
.adjusted.highlight,
.adjusted.deselected.highlight,
.adjusted.selected,
.adjusted.selected.lowlight {
    fill: #1696d2;
}

.chartline,
.chartline.highlight,
.chartline.deselected.highlight,
.chartline.selected,
.chartline.selected.lowlight {
    fill: none;
    stroke-width: 1px;
    stroke: #626262;
    shape-rendering: crispEdges;
}

.unadjusted.lowlight,
.unadjusted.deselected {
    fill: #fee9bb;
}

.adjusted.lowlight,
.adjusted.deselected {
    fill: #bfd7ef;
}

.chartline.lowlight,
.chartline.deselected {
    stroke: #aba8a7;
}

.statename.lowlight,
.statename.deselected {
    fill: #989696;
}

.statename.highlight,
.statename.selected {
    fill: #1696d2;
    font-weight: 700;
}

.rankline {
    fill: none;
    stroke-width: 1px;
}

.unadjusted.rankline {
    stroke: #fdbf11;
}

.adjusted.rankline {
    stroke: #1696d2;
}

.point-label {
    font-size: 12px;
}

.axistitle {
    font-size: 13px;
    font-style: italic;
}

@media (min-width: 1600px) {
    #openimg {
        height: 350px;
        width: 100%;
    }
}
@media(max-width: 1200px){
    .ddval {
        margin-left: 8px;
    }
    .select-title {
        font-size: 14px;
        margin-left: 8px;
    }
}
@media (max-width: 1050px) {
    #openimg {
        height: 300px;
        width: 100%;
    }
    #titleparent {
        height: 300px;
    }
}

@media (max-width: 990px) {
    #mainbtns {
        margin-top: 16px;
    }
    #tooltipgraph {
        display: none;
    }
    .ddval {
        margin-left: 15px;
    }
    .select-title {
        font-size: 15px;
        margin-left: 15px;
    }
}

@media (max-width: 600px) {
    #openimg {
        background-image: url("../img/mobileIntroImage.jpg");
        height: 250px;
    }
    #titleparent {
        height: 250px;
    }
    .ddval,
    .selecttitle {
        font-size: 13px;
    }
    .holder {
        width: 48%;
        margin-bottom: 12px;
    }
}


#frplLabel{
    width: 150px;
    color: #1696d2;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 10px;
    margin-top: 29px;
}