body{
  font-family: Lato;
  font-size: 16px;
  background: none !important;
  /*margin: 0;*/
}

.container {
  max-width: 1020px;
  /*height: 600px;*/
}

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

h1 {
    font-weight: normal;
    font-size: 30px;
}

h2 {
    font-weight: bold;
    font-size: 24px;
}

#lastUpdatedDate {
    font-style: italic;
    text-align: center;
    font-size: 14px;
}

h3 {
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
    color: #13719e;
    margin-bottom: 10px;
}

#accountabilityWell h3 {
    margin-top: 17px;
}

#shareFrplStatus h3 {
    margin-top: 10px;
    text-transform: none;
    font-size: 18px;
}

hr {
    border: 0.5px solid #d2d2d2;
}

.hidden {
    display: none;
}

#onLoadTray.fadeOut {
    transition: opacity 0.8s;
    -webkit-transition: opacity 0.8s;
    opacity: 0;
}
/***** Style Filters *****/
.dropdownSection {
    display: inline-block;
    /*position: absolute;*/
    /*right: 0;*/
    /*width: 100%;*/
    /*margin-top: 5%;*/
    float: left;
}

/*@media screen and (min-width: 581px) {
    .dropdownSection {
        position: absolute;
        right: 0;
        width: 40%;
        margin-top: 0;
    }
}
*/

#stateDropdown-menu {
    height: 200px;
}

/* reference: https://stackoverflow.com/questions/1895476/how-to-style-a-select-dropdown-with-css-only-without-javascript */
#stateDropdown-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;   /* remove default arrow */
    width: 250px;
    height: 45px;
    /*background: #ffffff;*/
    border: 1px solid #73BFE3;
    border-radius: 0;
    font-family: Lato;
    font-size: 16px;
    font-weight: bold;
    color: #1696d2;
    cursor: pointer;
    /*padding-left: 10px;*/
    background: url("../img/arrow-blue.png") 96% / 15% no-repeat #ffffff;
    background-size: auto;
}

select::-ms-expand {
    display: none;
}

/* https://stackoverflow.com/questions/17553300/change-ie-background-color-on-unopened-focused-select-box */
select:focus::-ms-value {
    color: #1696d2;
    background: none;
}

.ui-selectmenu-text {
    font-size: 16px;
    font-weight: bold;
    color: #1696d2;
}

@media screen and (max-width: 1099px) {
    #stateDropdown-button {
        max-width: 280px;
    }
}

/******************************************/
.topRow {
    overflow: auto;
    /*margin-bottom: 40px;*/
    /*padding: 0 194px 0 195px;*/
    max-width: 632px;
    margin: 0 auto;
}

#shareCepSchools {
    display: inline-block;
    float: right;
}

#shareCepSchools.hidden {
    visibility: hidden;
}

#shareCepSchools span {
    font-size: 18px;
    font-weight: bold;
    color: #12719e;
    margin: 0;
    padding-left: 14px;
    line-height: 40px;
    vertical-align: middle;
}

#shareCepSchools .value {
    font-size: 40px;
    font-weight: bold;
    color: #fccb41;
    margin-left: 10px;
}

#shareCepSchools .estimatedShareLabel {
    display: inline-block;
    width: 250px;
    line-height: 20px;
}

#lunchTray {
    max-width: 1020px;
    width: 100%;
    /*height: 801px;*/
    background-image: url('../img/empty-tray.png');
    background-size: 100%;
    background-repeat: no-repeat;
    clear: both;
    position: relative;
}

#lunchTrayState {
    max-width: 1095px;
    width: 100%;
    /*height: 801px;*/
    background-size: 100%;
    background-repeat: no-repeat;
    clear: both;
    position: relative;
    z-index: 9;
}

#onLoadTray {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    opacity: 1;
}

#onLoadTray.hidden {
    display: none;
}

#onLoadTray img {
    width: 100%;
}

.trayWell {
    position: absolute;
    font-size: 14px;
    line-height: 20px;
    color: #353535;
}

#fundingWell {
    width: 20.5%;
    height: 640px;
    padding: 8px 20px 15px 30px;
    margin-top: 44px;
    box-sizing: border-box;
    /*display: inline-block;*/
    /*float: left;*/
    top: 0;
    left: 0;
}

#accountabilityWell {
    width: 47.5%;
    height: 324px;
    padding: 10px 20px 10px 22px;
    margin-top: 44px;
    box-sizing: border-box;
    /*display: inline-block;*/
    /*float: left;*/
    top: 0;
    left: 20.5%;
}

#smallFoodWell {
    bottom: 52%;
    left: 70%;
}

#shareFrplStatus {
    width: 33%;
    padding: 20px 20px 20px 30px;
    box-sizing: border-box;
    /*display: inline-block;*/
    /*float: left;*/
    top: 50%;
    left: 20%;
}

.programGrid {
    margin-bottom: 14px;
}

.program {
    pointer-events: none;
    font-size: 16px;
    font-weight: bold;
    color: #d2d2d2;
    font-style: italic;
    padding: 5px 0;
    height: 20px;
}

/*#accountabilityWell .program {
    height: 15px;
}
*/
.program.selected {
    color: #12719e;
    font-style: normal;
}

.program.Other.selected {
    pointer-events: all;
    cursor: pointer;
}

#accountabilityWell .program {
    display: inline-block;
    width: 32%;
}

.tooltipIcon {
    width: 18px;
    height: 18px;
    margin-left: 5px;
    vertical-align: text-top;
}

.tooltip {
    position: absolute;
    background-color: rgba(207,232,243,0.92);
    border: 1px solid #cfe8f3;
    width: 155px;
    padding: 10px;
    pointer-events: none;
    font-size: 14px;
    line-height: 20px;
    color: #353535;
    z-index: 6;
}

.tooltip:after, .tooltip:before {
    right: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.tooltip:after {
    border-color: rgba(207, 232, 243, 0);
    border-right-color: #cfe8f3;
    border-width: 10px;
    margin-top: -10px;
}

.tooltip:before {
    border-color: rgba(207, 232, 243, 0);
    border-right-color: #cfe8f3;
    border-width: 11px;
    margin-top: -11px;
}

@media screen and (max-width : 1019px) {
    .topRow {
        padding-left: 0;
        /*position: fixed;*/
        /*top: 0;*/
        width: 100%;
    }

    .dropdownSection {
        display: block;
        width: 100%;
        text-align: center;
    }

    #shareCepSchools {
        display: block;
        width: 345px;
        height: 50px;
        float: none;
        overflow: auto;
        margin: 0 auto;
        padding-top: 15px;
    }

    #shareCepSchools span {
        display: inline-block;
        float: left;
        line-height: 44px;
        width: 260px;
    }

    #shareCepSchools .value {
        margin-left: 0;
        width: auto;
        line-height: 42px;
        padding-left: 0;
    }

    #lunchTray {
        /*position: fixed;*/
        /*top: 110px;*/
        /*overflow-y: scroll;*/
        min-height: 63%;
        /*height: 500px;*/
    }

    #onLoadTray {
        position: static;
        z-index: 1;
        top: auto;
        left: auto;
    }

    .trayWell {
        position: static;
        width: 90%;
        background-color: rgba(245,245,245,0.9);
        margin: 0 auto;
    }

    #fundingWell {
        width: 99%;
        padding: 30px;
        margin-top: 26px;
        height: auto;
    }

    #accountabilityWell {
        width: 99%;
        padding: 30px;
        height: auto;
    }

    #shareFrplStatus {
        width: 99%;
        padding: 30px;
        margin-top: 44px;
    }

    h3 {
        font-size: 18px;
        margin: 0;
    }

    #accountabilityWell h3,
    #shareFrplStatus h3 {
        margin-top: 0;
    }

    .programGrid {
        position: relative;
    }

    #accountabilityWell .program {
        display: block;
        width: 100%;
        height: 20px;
    }
}

@media screen and (min-width: 500px) and (max-width: 1018px) {
    #lunchTray {
        background-size: 450px;
        background-position: top center;
    }

    #fundingWell,
    #accountabilityWell,
    #shareFrplStatus {
        max-width: 450px;
    }

    #onLoadTray {
        position: static;
        max-width: 450px;
        margin: 0 auto;
    }

    .legend {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 499px) {
    #stateDropdown-button {
        max-width: 100%;
        width: 98%;
    }

    #shareCepSchools {
        width: 100%;
    }

    #shareCepSchools .value {
        line-height: 48px;
    }
}

@media screen and (min-width: 450px) and (max-width: 499px) {
    #shareCepSchools span:nth-of-type(2) {
        width: 360px;
        line-height: 44px;
    }
}

@media screen and (min-width: 351px) and (max-width: 449px) {
    #shareCepSchools span:nth-of-type(2) {
        width: 260px;
        line-height: 24px;
    }
}

@media screen and (max-width: 350px) {
    #shareCepSchools span:nth-of-type(2) {
        width: 190px;
        line-height: 24px;
    }
}
/***** Line chart styles *****/
.legend {
    margin: 10px 0;
}

.legendEntry {
    font-size: 11px;
    line-height: 14px;
}

span.legendLine {
    width: 12px;
    border-width: 1px;
    border-style: solid;
    display: inline-block;
    margin: 6px 5px 4px 0;
}

span.legendLine.shareFrpl {
    border-color: #73bfe2;
}

span.legendLine.shareIncEligible {
    border-color: #78c26d;
    margin-bottom: 16px;
}

.legendText {
    display: inline-block;
    width: 260px;
}

@media screen and (max-width: 400px) {
    .legendText {
        width: 190px;
    }
}

path.line {
    fill: none;
    stroke-width: 2;
}

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

.y.axis path {
    display: none;
}

.y.axis .tick line {
    stroke: #dedddd;
}
/************/

.similarStates {
    margin-bottom: 5px;
}

.similarStatesLabel {
    font-style: italic;
    font-weight: bold;
}

.similarState {
    cursor: pointer;
    color: #1696d2;
}

.similarState:hover {
    text-decoration: underline;
}

.source {
    font-style: italic;
    color: #333333;
    text-align: end;
    margin-top: 0;
    position: absolute;
    bottom: 0;
    right: 20px;
}

/*.source a {
    color: #333333;
}
*/
.source a:hover {
    text-decoration: underline;
}

.sourceLabel {
    font-weight: bold;
}

@media screen and (max-width: 1019px) {
    .similarStates {
        margin-bottom: 15px;
    }

    .source {
        position: static;
    }
}

/****** Menu of Programs Styles *****/
#programMenu {
    width: 100%;
    max-width: 632px;
    min-height: 180px;
    overflow: hidden;
    padding: 10px 0;
}

.programTitle {
    display: inline-block;
    float: left;
    width: 33%;
    box-sizing: border-box;
    padding-right: 20px;
    padding-top: 21px;
}

h4.programMenuTitle {
    font-size: 18px;
    font-weight: bold;
    color: #12719e;
    text-transform: uppercase;
    margin-bottom: 16px;
    text-align: center;
}

.programMenuSummary {
    font-size: 14px;
    font-style: italic;
    text-align: center;
}

.programList {
    border-left: 5px solid #73bfe3;
    padding-left: 25px;
    float: left;
    display: inline-block;
    width: 66%;
    box-sizing: border-box;
}

.programList p:first-of-type {
    margin-top: 0;
}

.programList p:last-of-type {
    margin-bottom: 0;
}

span.programName {
    font-weight: bold;
}

@media screen and (max-width: 500px) {
    .programTitle,
    .programList {
        display: block;
        width: 100%;
        float: none;
    }

    h4.programMenuTitle {
        text-align: left;
    }

    .programMenuSummary {
        text-align: left;
    }
}