﻿a {
    text-decoration: none !important;
}

body {
    background: url(https://images.house.mo.gov/Backgrounds/4.jpg) no-repeat center center fixed;
    background-size: 100vw 100vh;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
}

.budgetometer {
    text-align: center !important;
}

.budgetometerexplanation {
    top: 75px !important;
}

.footerTD {
    display: table-cell;
    color: white;
    font-weight: bold;
    width: 25%;
    text-align: center;
    line-height: 28px;
    text-shadow: 2px 2px 2px black;
}

.footerTD a {
    color: white;
    font-weight: bold;
    text-decoration: none;
}

.footerTR {
    display: table-row;
}

.hideStuff {
    height: 1px;
    width: 1px;
    position: absolute;
    overflow: hidden;
    top: -10px;
}

.messageboard {
    border: 1px solid #bbbbbb;
    background-color: white;
}

.middle {
    padding-left: 6px;
    padding-right: 6px;
}

.PillDIV {
    width: 322px !important;
    padding-top: 14px !important;
    padding-bottom: 8px !important;
    padding-left: 208px !important;
    margin-top: 18px !important;
    position: relative !important;
    height: 118px !important;
    font-size: 11pt !important;
    min-height: 90.5px !important;
}

.PillDIV .SectionTitle {
    text-align: left;
    margin-bottom: 4px;
}

.PillDIV a {
    line-height: 35px;
}

.PillDIV h1 {
    padding-bottom: 0px;
}

.PillIMG {
    height: 100%;
    display: inline-block;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: -5px;
    left: 0px;
    margin-top: 5px;
    border-right: 1px solid gray;
}

.PillIMG img {
    height: 100%;
}

/*.PillOne {
    background-image: url(https://images.house.mo.gov/graphics/ChamberSmall4.jpg);
    background-position: 0px;
}

.PillFour {
    background-image: url(https://images.house.mo.gov/graphics/btm0.jpg);
    background-position: -27px;
}

.PillThree {
    background-image: url(https://images.house.mo.gov/graphics/btm4.jpg);
    background-position: -72px;
}

.PillTwo {
    background-image: url(https://images.house.mo.gov/graphics/CapitolDome.png);
    background-position: 0px;
}*/

.PillWrapper {
    text-align: center;
    width: 230px;
    display: inline-block;
    vertical-align: top;
    padding-bottom: 24px;
}

.pointer {
    cursor: pointer;
}

.table {
    display: table;
}

.td {
    display: inline-block;
    vertical-align: top;
}

.tdTop {
    display: table-cell;
    vertical-align: top;
}

.tr {
    display: table-row;
}

#Banner {
    z-index: -20 !important;
}

#bannerContainer {
    left: -8px;
    top: 66px;
    z-index: -10 !important;
}

#bannerIMG {
    width: 122px;
}

#billList {
    position: absolute;
    top: 5px;
    left: 10px;
}

#bluescale {
    background-image: linear-gradient(to top right, #08224500, #7bb5ff5e);
    right: 0px;
    top: 0px;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -100;
}

#budgetButton, #budgetButtonLink {
    display: none;
}

#budgetSection {
    margin-top: 18px;
    cursor: pointer;
    margin-left: -482px;
    width: 956px;
    text-align: right;
    text-align: left;
    color: black;
    position: relative;
    margin-bottom: 64px !important;
    height: 70px;
}

#capitolPill {
    margin-bottom: 0px !important;
}

#ContentTable {
    margin: auto;
    margin-top: 6px !important;
    text-align: center;
    width: 100%;
}

#FindRepSection {
    width: 444px;
    margin-top: 18px;
}

#FindRepSection input {
    display: inline-block;
    font-size: 11pt;
}

#Footer {
    width: 100%;
    height: fit-content;
    position: absolute;
    bottom: 8px;
    background-image: linear-gradient(to bottom, #87a6cf6b, #082245b3);
    margin: 0px;
    padding: 0px;
    left: -8px;
    padding-bottom: 10px;
    background-color: white;
    border-top: 2px solid #c7c7c7;
    z-index: 5000;
    display: block !important;
}

#footerTable {
    display: table;
    width: 100%;
    table-layout: fixed;
    margin-top: 5px;
}

#FYRTitle {

}

#Hearings {
    margin-left: 4px;
}

#Hearings, #HearingsSquish {
    width: 470px;
    text-align: left;
    position: relative;
    padding-bottom: 8px;
}

#hearingsInProgressFrame, #hearingsInProgressFrameSquish {
    width: 294px;
    height: 268px;
    background-color: white;
}

#hearingsInProgressFrameDIV, #hearingsInProgressFrameDIVSquish {
    padding: 10px;
    border: 1px solid #bbbbbb !important;
    background-color: white;
}

#legDashboard {
    margin-top: 18px;
    width: 956px;
    height: 124px;
    margin-left: -482px;
    position: relative;
}

#legDashFrame {
    width: 100%;
    height: 104px;
    border: 1px solid #bbbbbb !important;
    background-color: white;
    box-shadow: 5px 0px 20px lightgray inset;
    margin-left: -1px;
}

#MaintenanceMessage {
    font-weight: bold;
    color: red;
    background-color: white;
    padding: 10px;
    box-shadow: 0 0 5px 5px #ffffff;
    margin-top: 10px !important;
    width: fit-content !important;
    margin-bottom: 10px !important;
    margin: auto;
}

#messageboardFrame {
    height: 173px;
}

#MessageboardSection {
    width: 444px;
    text-align: center;
}

#messageRepContainer {
    width: fit-content;
    margin: 0px !important;
    margin-left: -6px !important;
}

#moreInfo {
    font-weight: normal;
    font-size: 10pt;
}

#pageContent {
    height: calc(100vh - 272px);
    position: absolute;
    margin: auto;
    width: 100vw;
    overflow: auto !important;
    top: 149px;
    left: -8px;
}

#pastSessionArchive {
    position: absolute;
    top: 5px;
    right: 10px;
}

#PillImages {
    z-index: 5;
    position: relative;
    text-align: center;
    display: inline-block;
    padding: 0px;
    /*margin-top: 21px;
            padding-right: 20px;*/
}

#PillImages2 {
    position: relative;
    text-align: left;
}

#PillImagesBottom {
    z-index: 5;
    position: relative;
    padding-left: 24px;
    padding-right: 24px;
}

#PillImages .Section {
    margin-right: 0px;
}

#PillImages .SectionTitle {
    text-align: left;
}

#speakerBlurb {
    width: 520px;
    height: 276px;
    padding-bottom: 11px;
    padding-top: 0px;
    position: relative;
}

#speakerIMG {
    height: 287px;
    float: left;
    margin: -10px;
    margin-right: 12px;
    margin-bottom: 0px !important;
    margin-top: 0px;
}

#SpeakerInset {
    border: 1px solid #bbbbbb !important;
    height: 232px;
    width: 510px;
    overflow: hidden;
    background-color: white;
}

#speakerNameDIV {
    position: absolute;
    background-color: #ffffff99;
    text-align: left;
    width: 187px;
    margin-left: -10px;
    font-weight: bold;
    padding-left: 4px;
    padding-bottom: 6px;
    padding-top: 2px;
    font-size: 12pt;
    bottom: 0px;
}

#speakerNameDIV a {
    color: black;
}

#speakerPR {
    font-size: 10pt;
    text-align: right;
    font-weight: normal;
}

#SpeakerSection {
    padding-bottom: 6px;
}

#speakerWelcome {
    font-size: 12pt;
    margin-bottom: 2px;
    margin-top: 6px;
    display: inline-block;
}

#speakerWelcomeBlurb {
    text-align: left;
    font-size: 12pt;
    margin: 0px;
    margin-top: 10px;
    line-height: 19.5px;
}

#stats {
    width: 100%;
    text-align: center;
}

    #stats .td {
        padding: 12px;
        font-size: 10pt;
        width: 220px;
    }

#testimonyDIV, #testimonyDIVSquish {
    position: absolute;
    top: 6px;
    right: 11px;
    font-size: 12pt;
}

#testimonyDIV a {
    text-decoration: none !important;
}

#TextDIV {
    width: 100%;
    margin: auto;
    text-align: center;
    min-width: 500px;
    position: absolute;
    z-index: -20 !important;
    top: -8px;
    left: -8px;
    background-color: white;
    background-image: linear-gradient(to bottom, #082245b3, #87a6cfa6);
    padding-bottom: 10px;
    height: 101px;
    display: block !important;
}
/*
#TextDIV img {
    width: 1180px;
    margin-top: 10px;
}*/

#ContentPlaceHolder1_txtAddress {
    margin-bottom: 4px;
    font-size: 12pt;
    width: 204px;
    margin-right: 4px;
}

#ContentPlaceHolder1_txtCity {
    font-size: 12pt;
    margin-right: 8px;
    width: 160px;
}

@media screen and (max-width: 1680px) {
    #TextDIV img {
        width: 85% !important;
        min-height: 70px !important;
        margin-top: .1%;
    }
}

@media screen and (max-width: 1780px) {
    .PillDIV {
        height: 96.5px !important;
        width: 304px !important;
        padding-left: 176px !important;
    }

    .PillIMG, .PillIMG img {
        width: 160px !important;
    }

        .PillDIV a {
            line-height: 27px !important;
        }

    .td {
        display: block !important;
    }

    #budgetSection {
        margin: auto !important;
        margin-top: 18px !important;
    }

    #ContentPlaceHolder1_txtAddress {
        width: 224px !important;
    }

    #ContentPlaceHolder1_txtCity {
        width: 176px !important;
    }

    #ContentTable {
        min-width: 1052px !important;
    }

    #legDashboard, #budgetSection {
        width: 996px !important;
    }

    #legDashboard {
        margin: auto !important;
        margin-top: 8px !important;
    }

    #speakerBlurb, #PillImages2, #MessageboardSection {
        display: inline-block !important;
    }

    #MessageboardSection, #FindRepSection {
        width: 476px !important;
    }

    #messageRepContainer {
        display: inline-block !important;
        margin-left: 0px !important;
    }

    #PillImages2 {
        margin-top: -8px !important;
    }

    #FindRepSection, #MessageboardSection {
        margin-top: 8px !important;
    }

    #HearingsSquish {
        display: inline-block !important;
        width: 472px !important;
        margin-top: 8px !important;
    }

    #Hearings {
        display: none !important;
    }

    #speakerBlurb {
        height: 248px !important;
        width: 474px !important;
    }

    /*#speakerNameDIV {
        width: 190px !important;
        margin-top: 110px !important;
        padding-bottom: 8px !important;
    }*/

    #speakerIMG {
        height: 259px;
    }

    #speakerNameDIV {
        width: 168px !important;
        margin-top: 194px !important;
    }
        #speakerWelcome {
        margin-top: 2px !important;
        font-size: 11pt !important;
    }

    #speakerWelcomeBlurb {
        font-size: 11pt !important;
        line-height: 17.5px !important;
    }
}

@media screen and (max-width: 1420px) {
    #budgetSection {
        margin-bottom: 64px !important;
    }
}

@media screen and (max-width: 1260px) {
    #budgetSection {
        margin-bottom: 64px !important;
    }
    
    /*#ContentTable {
        margin-top: 28px !important;
    }*/
}

@media screen and (max-width: 1242px) {
    #pageContent {
        height: calc(100vh - 287px) !important;
        top: 164px !important;
    }

    #ContentTable {
        margin-top: 22px !important;
    }

@media screen and (max-width: 893px) {
    #pageContent {
        height: calc(100vh - 316px) !important;
        top: 165px !important;
    }
}

    @media screen and (max-width: 878px) {
        #pageContent {
            height: calc(100vh - 332px) !important;
            top: 181px !important;
        }
    }

    @media screen and (max-width: 1075px) {

        #budgetButton {
            background-image: url(https://images.house.mo.gov/graphics/budget.jpg);
            width: 492px !important;
            height: 100px !important;
            background-image: url(https://images.house.mo.gov/graphics/budget.jpg);
            height: 136px;
            background-size: cover;
            background-position: center;
            display: inline-block;
            margin-top: 10px;
            border: 1px solid gray;
            margin-left: 18px;
            margin-right: 18px;
        }

        #budgetButtonLink {
            display: block;
        }

        #budgetSection, #legDashboard {
            display: none !important;
        }

        /*
    #ContentTable {
        margin-top: 38px !important;
    }*/

        #MessageboardSection, #FindRepSection {
            width: 474px !important;
        }

        #messageRepContainer, #speakerBlurb, #PillImages2 {
            margin: auto !important;
        }

        #messageRepContainer, #FindRepSection {
            margin-top: 18px !important;
        }

        #PillImages2 {
            width: fit-content !important;
        }

        #speakerBlurb, #PillImages2, #MessageboardSection, #messageRepContainer {
            display: block !important;
        }

        #ContentTable {
            min-width: 0px !important;
        }

        .PillDIV {
            width: 308px !important;
        }
    }

    @media only screen and (hover: none) and (pointer: coarse) { /*Done for ipad*/

        @media screen and (orientation:landscape) {

            #pageContent {
                height: calc(100vh - 300px) !important;
            }
        }

        @media screen and (orientation:portrait) {

            #pageContent {
                height: calc(100vh - 400px) !important;
            }
        }
    }

    /*@media screen and (max-width: 1550px) {
    
    #FindRepSection {
        width: 512px;
    }
    
    #hearingsInProgressFrame {
        height: 181px !important;
    }

    #Hearings {
        margin-top: 14px !important;
        display: inline-block !important;
        margin-left: 18px !important;
    }

    #SpeakerSection {
        display: inline-block !important;
        margin-left: 6px !important;
    }

    .PillDIV {
        width: 390px !important;
    }
}

@media screen and (max-width: 1150px) {
    #pageContent {
        height: calc(100vh - 292px) !important;
        top: 176px !important;
    }

    #FindRepSection {
        width: 512px;
    }

    #Hearings {
        margin-left: 14px !important;
    }

    #SpeakerSection {
        margin-left: 14px !important;
    }

    .PillDIV {
        width: 390px !important;
    }
}*/
