@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

.homeDashboard { width: 600px; max-width: 100%; margin: 300px auto 0; text-align: center; }
 
body { background: #FFFFFF; font-family: 'Montserrat', sans-serif; font-size: 1em; line-height: 1.5em; margin: 0; min-height: calc(100vh - 40px); color: #111D35; }
h1 { font-size: 50px; line-height: 60px; font-weight: 300; }
h2 { font-size: 38px; line-height: 46px; font-weight: 300; }
h3 { font-size: 28px; line-height: 34px; color: #147ABF; }
a, a:visited { color: #147ABF; }
a:hover, a:active { color: #00588B; text-decoration: none; }

a.button { display: inline-block; margin: 0 auto; background: #107AC0; color: #FFFFFF; padding: 10px 15px; margin: 0 4px 4px 0; text-decoration: none; font-weight: 700; }
a.button:hover, a.button.activeButton { background: #05578B; }

/* Login Page */

.loginFullPage { width: 100%; position: fixed; top: 47.5%; left: 50%; transform: translate(-50%, -50%); }
.registerFullPage { margin: 40px auto 0; width: 600px; max-width: calc(100% - 40px); }

.loginLogo { text-align: center; margin: 0 0; }
.loginLogo img { width: 320px; height: auto; display: block; margin: 0 auto; }

.loginPage { background: #F2F3F5; width: 400px; padding: 40px; max-width: calc(100% - 100px); margin: 50px auto 20px; }
.loginPage b, .loginPage label { display: block; width: 100%; text-transform: uppercase; }
.loginPage label { font-weight: 700; }
.loginPage input[type="text"], .loginPage input[type="email"] { width: calc(100% - 20px); padding: 9px; border: 1px solid #000000; font-family: 'Montserrat', sans-serif; font-size: 18px; margin: 10px 0 20px; }
.loginPage .submitButton { text-align: center; }
.loginPage .submitButton input[type="submit"] { display: inline-block; background: #00588B; color: #FFF; border: none; padding: 6px 12px; font-size: 18px; text-transform: uppercase; font-family: 'Montserrat', sans-serif; font-weight: 700; cursor: pointer; }

hr { margin-block-start: 20px; margin-block-end: 20px; border: 0px; border-top: 1px solid rgba(33, 30, 29, 0.4); }

.loginHelp { text-align: center; margin-top: 20px; }
.loginHelp a { color: #000; font-size: 14px; display: inline-block; padding: 3px; margin: 3px; text-decoration: none; font-weight: 700; }
#help { display: none; max-width: 600px; }
#help h2 { margin-top: 0; }
#help p:last-child { margin-bottom: 0; }

/* Header */

.headerContainer { width: 100%; border-bottom: 2px solid #F2F3F5; position: fixed; height: 110px; background: #FFF; z-index: 10; }
.portalHeader { width: calc(100% - 40px); max-width: 1440px; margin: 0 auto; display: flex; align-items: center; }
.portalLogo { width: 300px; padding: 10px 0; margin: 0 20px 0 0; }
.portalLogo img { width: auto; height: 90px; }

.portalText { width: calc(100% - 640px); text-align: center; }
.portalText h1 { margin: 10px 0 0; line-height: 90px; font-size: 35px; }

.portalSignout { width: 300px; text-align: right; font-size: 13px; line-height: 26px; margin: 0 0 0 20px; }
.portalSignout a { display: inline-block; background: #F2F3F5; padding: 0 7px; margin: 0 0 0 5px; text-decoration: none; font-weight: 700; border-radius: 3px; }

/* Alert */
.alert { background: #931A1E; color: #FFFFFF; font-size: 20px; font-weight: 700; width: calc(100% - 20px); padding: 10px; text-align: center; }
.alert a { color: #FFFFFF; text-decoration: none; }
.alert a:hover { color: #FFFFFF; }

/* Content */
.content { padding: 112px 0 0; min-height:calc(100vh - 422px); }
.content.dashboardContent { min-height: calc(100vh - 172px); }
.formContent { padding: 20px; }
.formContent h1 { margin: 0 0 20px; }
.standardPageIntro { font-size: 20px; line-height: 32px; margin: 0 auto 20px; padding: 0 0 20px; }

#standardPage { width: calc(100% - 40px); max-width: 1440px; padding: 20px; margin: 0 auto; }
#standardPage h2:first-child, #standardPage h2:nth-child(2) { margin-top: 0; }
#standardPage img, #servicePage img, .departmentContent img { max-width: 100%; height: auto; }
#standardPage figure, #servicePage figure, figure { max-width: 100%; margin: 10px 0 10px 10px; height: auto;  }
figure img { margin: 0 !important; }
figcaption { font-size: 14px; line-height: 20px; }

img.homeLogo { width: 200px; float: right; margin: 0 0 10px 10px; }

/* Issue List */
input.inputSearch { width: 100%; padding: 9px; border: 1px solid #111D35; font-family: 'Montserrat', sans-serif; font-size: 20px; line-height: 26px; }
input.inputSearch.spacing { margin: 0 0 20px; }

.issueList { width: 100%; }
.issueList div { padding: 0 0 20px; margin: 0 0 20px; border-bottom: 1px solid #F2F3F5; }
.issueList div a.button { margin: 5px 5px 0 0; padding: 5px 15px; }
.issueList div:first-child a.buttonDown { display: none; }
.issueList div:last-child a.buttonUp { display: none; }

/* Legislator List */
.legislatorList { width: 100%; }
.legislator { display: flex; padding: 5px; border-bottom: 1px solid #F2F3F5; }
.legislatorName { width: calc(50% - 25px); }
.legislatorParty { width: 50px; text-align: center; }
.legislatorPosition { width: calc(50% - 55px); text-align: right; font-weight: 700; }
.legislatorPositionColor { width: 25px; margin-left: 5px; }
.legislatorPositionColor.color1 { background: #668925; }
.legislatorPositionColor.color2 { background: rgba(102, 137, 37, .5); }
.legislatorPositionColor.color3 { background: #CBCBCB; }
.legislatorPositionColor.color4 { background: rgba(147, 26, 30, .5); }
.legislatorPositionColor.color5 { background: #931A1E; }
.legislatorPositionColor.color0 { background: #000000; }
.legislatorPosition select { width: 100px; font-size: 15px; }

.updateIssue { border: 2px solid #931A1E; background: rgba(147, 26, 30, .2); padding: 10px; text-align: center; margin: 0 0 15px; display: flex; justify-content: space-between; align-items: center; }
.updateIssue p { margin: 0; }
.updateIssue.issueFooter { margin: 15px 0 0; }
form .updateIssue input[type="submit"] { background: #931A1E; cursor: pointer; margin: 0; cursor: pointer; }
.updateIssue a.button { background: #931A1E; }

.updateIssueIntro {  }
.updateIssueIntro div { margin: 0 0 10px; }
form.updateHeader input[type="submit"] { font-size: 16px; padding: 10px 15px; margin-top: 10px; cursor: pointer; }

.committeeLink { display: flex; padding: 5px; border-bottom: 1px solid #F2F3F5; }

.listHidden { display: none !important; }
.filterDiv { display: none; }
.show { display: block; }

/* Legislator Files */
.billResources ul { margin-top: -15px; margin-bottom: 20px; }
.billResources ul li { margin-bottom: 5px; }
.billResources ul li svg { margin-left: 5px; }
.addResource form { display: flex; flex-wrap: wrap; margin: 20px 0 0; padding: 20px; background: #F2F3F5; }
.addResource form input[type="text"] { width: 100%; font-family: 'Montserrat', sans-serif; font-size: 18px; margin: 0 0 10px; padding: 6px; }
.addResource form label { font-weight: 700; margin: 0 0 5px; }
.addResource form div { width: 100%; margin: 10px 0 20px; font-style: italic; }
.addResource form input[type="file"] { width: 100%; font-family: 'Montserrat'; margin: 0 0 20px; font-size: 16px; }
.addResource form input[type="submit"] { margin: 0; padding: 10px 15px; font-size: 1em; }
.addResource form input[type="file"]::file-selector-button { font-family: 'Montserrat'; }

/* Legislator Data */
.legislatorData h2 { margin-bottom: 0; }
.legislativeGraph { width: 100%; height: 30px; display: flex; font-size: 20px; font-weight: 700; text-transform: uppercase; line-height: 30px; margin: 10px 0 20px; }
.legPct1 { height: 30px; background: #668925; text-align: left; color: #FFFFFF; padding-left: 5px; }
.legPct2 { height: 30px; background: rgba(102, 137, 37, .5); }
.legPct3 { height: 30px; background: #CBCBCB; }
.legPct4 { height: 30px; background: rgba(147, 26, 30, .5); }
.legPct5 { height: 30px; background: #931A1E; text-align: right; color: #FFFFFF; padding-right: 5px; }
.legPct0 { height: 30px; background: #000000; text-align: right; color: #FFFFFF; padding-right: 5px; }
.legislativeLinks { margin: 0 0 25px; }
.legislativeLinks .sortLink { float: right; padding: 10px 15px; }
.legislativeLinks .sortLink a svg { margin-left: 5px; text-decoration: none; }

.legislativeLegend { display: flex; flex-wrap: wrap; margin: 20px 0 0; }
.legRow { height: 30px; line-height: 30px; display: flex; margin: 0 5px 5px 0; }
.legDetail { width: 100px; text-align: right; margin-right: 10px; }
.legLegend { width: 30px; }
.legLegend.legendPct0 { background: #000; }
.legLegend.legendPct1 { background: #668925; }
.legLegend.legendPct2 { background: rgba(102, 137, 37, .5); }
.legLegend.legendPct3 { background: #CBCBCB; }
.legLegend.legendPct4 { background: rgba(147, 26, 30, .5); }
.legLegend.legendPct5 { background: #931A1E; }
.legLabel { width: 80px; margin-left: 10px; font-weight: 700; }
.legLegendDetail { padding: 0 20px 0 10px; }

.legislativeOverview { margin: 20px 0 30px; }

/* Footer */
.footerContainer img { width: 90px; display: block; margin: 0 auto 20px; }
.footerContainer { padding: 40px 0 40px; text-align: center; background: #F2F3F5; }

.footerClient { padding: 15px 20px; width: calc(100% - 40px); text-align: center; background: #F2F3F5; display: flex; justify-content: center; align-items: center; }
.footerClient img { width: 30px; display: inline; margin: 0 10px 0 0; }
.footerClient a { margin: 0 0 0 4px; }

@media screen and (max-width: 1100px) { 
    .headerContainer { height: 114px; }
    .content { padding: 116px 0 0; }
    .portalHeader { flex-wrap: wrap; width: 100%; }
    .portalSignout { order: 1; width: 100%; text-align: center; background: #F2F3F5; line-height: 16px; padding: 6px 0; margin: 0; }
    .portalSignout a { display: none; }
    .portalLogo, .portalText, .portalNav { order: 2; }
    .portalLogo { margin: 0 14px 0 20px; padding: 5px 0; width: 235px; }
    .portalLogo img { height: 70px; }
    .portalText { width: calc(100% - 269px); }
    .portalText h1 { line-height: 80px; font-size: 30px; margin: 0; text-align: left; }
    .portalNav { width: calc(100% - 268px); margin-top: 28px; margin-right: 8px; text-align: right; }
}

@media screen and (max-width: 800px) { 
    .legislatorName { width: 300px; }
    .legislatorParty { width: calc(100% - 460px); } 
    .legislatorPosition { width: 130px; }
}

@media screen and (max-width: 640px) { 
    .headerContainer { height: 134px; }
    .portalLogo { width: 100%; text-align: center; margin: 5px 0; }
    .portalLogo img { height: 50px; }
    .portalText { width: 100%; }
    .portalText h1 { font-size: 24px; line-height: 30px; text-align: center; }
    .content { padding-top: 134px; }
}

@media screen and (max-width: 550px) {
    .legRow { width: 100%; margin: 0 0 10px; }
    .legislator { flex-wrap: wrap; }
    .legislatorName { width: calc(100% - 150px); order: 1; font-size: 90%; }
    .legislatorPosition { order: 2; font-size: 90%; font-weight: 700; width: 120px; }
    .legislatorParty { width: 100%; order: 4; text-align: left; font-size: 80%; }
    .legislatorPositionColor { order: 3; height: 25px; }
    .updateIssue { flex-wrap: wrap; justify-content: center; }
    .updateIssue p { width: 100%; margin: 0 0 20px; }

}

/* Seating Chart */
.seatingChartContainer { padding: 0 20px; width: calc(100% - 40px); overflow: scroll; }
.seatingChart { display: flex; flex-wrap: wrap; width: 1440px; margin: 0 auto; }
.seatingRow { width: 100%; display: flex; margin: 0 0 20px; }
.seatingColumn { width: calc((100% - 100px) / 6); display: flex; }
.seatingColumn1 { margin-right: 10px; }
.seatingColumn2, .seatingColumn3, .seatingColumn4, .seatingColumn5 { margin-right: 10px; margin-left: 10px; }
.seatingColumn6 { margin-left: 10px; }
.seat { position: relative; }
.seat1 { height: 135px; width: calc(50% - 10px); margin-right: 10px; background: #F2F3F5; }
.seat2 { height: 135px; width: calc(50% - 10px); margin-left: 10px; background: #F2F3F5; }
.seat-1-1 { background: none; }
.seat-1-12 { background: none; }
.seat-1-7, .seat-1-8, .seat-1-9 { background: none; }
.seat.color0 { background: #000; }
.seat.color1 { background: #668925; }
.seat.color2 { background: rgba(102, 137, 37, .5); }
.seat.color3 { background: #CBCBCB; }
.seat.color4 { background: rgba(147, 26, 30, .5); }
.seat.color5 { background: #931A1E; }
.seatPhoto { position: absolute; bottom: 5px; left: 5px; width: calc(100% - 10px); height: calc(100% - 10px); overflow: hidden; }
.seatPhoto img { width: 100%; height: 100% !important; object-fit: cover; }
.seatInfo { position: absolute; bottom: 5px; left: 5px; width: calc(100% - 10px); background: rgba(255,255,255,.8); text-align: center; font-size: 12px; line-height: 18px; }

/* Seating Chart - House */
.seatingChart.houseSeating { width: 4336px; justify-content: center; flex-wrap: wrap; height: 135px; overflow: hidden; margin: 0 auto; }
.seatingChartTopLeft { width: 720px; /* rotate: 90deg; */ }
.seatingRow.verticalRow .seatingColumn { width: calc((100% - 40px) / 3); }
.seatingRow.seatingRowHouse .seatingColumn { width: calc((100% - 40px) / 3); }
.seatingChartTopRight { width: 720px; /* rotate: -90deg; */ }
.seatingChartTopLeft .seat-1-6 { background: none; }
.seatingChartTopLeft .seat-2-6 { background: none; }
.seatingChartTopLeft .seat-4-1 { background: none; }
.seatingChartTopLeft .seat-4-2 { background: none; }
.seatingChartTopLeft .seat-4-3 { background: none; }

.seatingChartTopMiddle { width: 110px; }
.seatingChartTopMiddle .seat1 { width: 100%; margin: 0; }
.seatingChartTopRight .seat-5-1 { background: none; }
.seatingChartTopRight .seat-6-1 { background: none; }
.seatingChartTopRight .seat-8-4 { background: none; }
.seatingChartTopRight .seat-8-5 { background: none; }
.seatingChartTopRight .seat-8-6 { background: none; }
.seatingChartMiddleLeft { /* transform: rotate(38deg); margin-top: -340px; margin-left: 60px; margin-right: -70px; */ }
.seatingChartMiddleLeft .seat-9-1, .seatingChartMiddleLeft .seat-9-2, .seatingChartMiddleLeft .seat-9-3, .seatingChartMiddleLeft .seat-9-4, .seatingChartMiddleLeft .seat-9-5, .seatingChartMiddleLeft .seat-9-6 { background: none; }
.seatingChartMiddleLeft .seat-10-1, .seatingChartMiddleLeft .seat-10-2, .seatingChartMiddleLeft .seat-10-3, .seatingChartMiddleLeft .seat-10-4, .seatingChartMiddleLeft .seat-10-5 { background: none; }
.seatingChartMiddleLeft .seat-11-1, .seatingChartMiddleLeft .seat-11-2, .seatingChartMiddleLeft .seat-11-3, .seatingChartMiddleLeft .seat-11-4 { background: none; }
.seatingChartMiddleLeft .seat-12-1, .seatingChartMiddleLeft .seat-12-2 { background: none; }
.seatingChartMiddleLeft .seat-13-1 { background: none; }
.seatingChartMiddleLeft .seat-15-1, .seatingChartMiddleLeft .seat-15-2, .seatingChartMiddleLeft .seat-15-3, .seatingChartMiddleLeft .seat-15-4 { background: none; }

.seatingChartMiddleRight .seat-30-1, .seatingChartMiddleRight .seat-30-2, .seatingChartMiddleRight .seat-30-3, .seatingChartMiddleRight .seat-30-4, .seatingChartMiddleRight .seat-30-5, .seatingChartMiddleRight .seat-30-6 { background: none; }
.seatingChartMiddleRight .seat-31-2, .seatingChartMiddleRight .seat-31-3, .seatingChartMiddleRight .seat-31-4, .seatingChartMiddleRight .seat-31-5, .seatingChartMiddleRight .seat-31-6 { background: none; }
.seatingChartMiddleRight .seat-32-3, .seatingChartMiddleRight .seat-32-4, .seatingChartMiddleRight .seat-32-5, .seatingChartMiddleRight .seat-32-6 { background: none; }
.seatingChartMiddleRight .seat-33-5, .seatingChartMiddleRight .seat-33-6 { background: none; }
.seatingChartMiddleRight .seat-34-6 { background: none; }
.seatingChartMiddleRight .seat-36-3, .seatingChartMiddleRight .seat-36-4, .seatingChartMiddleRight .seat-36-5, .seatingChartMiddleRight .seat-36-6 { background: none; }

.seatingChartFull { width: 2600px; margin: 20px auto; display: flex; overflow: hidden; }
.seatingChartFull.houseSeating { width: 4336px; }
.seatingChartMiddleLeft { width: 720px; margin-left: -112px; }
.seatingChartMiddleLeftMiddle { width: 840px; }
.seatingChartMiddleRightMiddle { width: 840px; }
.seatingChartMiddleRight { width: 720px; /* margin-left: -315px; margin-top: -340px; transform: rotate(-38deg); */ margin-right: -112px; }
.seatingChartMiddleLeftMiddle .seatingRowHouseCenter { width: 100%; display: flex; justify-content: right; }
.seatingChartMiddleRightMiddle .seatingRowHouseCenter { width: 100%; display: flex; justify-content: left; }
.seatingRowHouseCenter .seat { position: relative; height: 135px; width: calc((100% / 7) - 10px); margin: 0 5px; }

/* Forms */
form select { font-family: 'Montserrat', sans-serif; font-size: 18px; width: 100%; }
form textarea { width: 100%; padding: 5px; font-family: 'Montserrat', sans-serif; font-size: 18px; }
form input[type="submit"] { border: 0; background: #107AC0; color: #FFFFFF; font-family: 'Montserrat', sans-serif; margin: 20px 0 0; font-size: 18px; font-weight: 700; padding: 5px 10px; }
.fancybox-iframe, .fancybox-video { max-width: 400px; max-height: 600px; }