/* Google Font */
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700');
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,700');

/* Core Styles */
body { margin: 0; font-family: 'Roboto', sans-serif; line-height: 1.5em; min-height: auto !important; }
a, a:hover, a:visited, a:active { color: #487099; }
a:hover { text-decoration: none; color: #32567A; }
img, a img { border: 0; }
h1, h2, h3 { font-family: 'Montserrat', sans-serif; }
a.button, a.jobButton { background: #487099; display: inline-block; padding: 6px 16px; border-radius: 5px; color: #FFF; text-decoration: none; font-weight: 700; }
a.button:hover, a.jobButton:hover { background: #000; transition:.5s; }

.graphFill { background: #192E47 !important; }

/* General Styles */
.container_first { margin-top: 80px !important; }
.container { width: calc(100% - 40px); max-width: 1440px; margin: 0 auto; }
.container_alt { width: 1250px; max-width: calc(100% - 40px); margin: 0 auto; }
.container_event { width: 1100px; max-width: calc(100% - 40px); margin: 0 auto; }
.container_sm { width: 1000px; max-width: calc(100% - 40px); margin: 0 auto; }
.clear { clear: both; }

/* Header */
#header { width:100%; background: linear-gradient(#487099, #32567A); height: 80px; position: fixed; top: 0; z-index: 100; }
#headerText { float: left; width: 284px; text-align: left; height: 64px; margin: 8px 0 0; color: #FFF; font-family: 'Montserrat' }
#headerText a img { height: 64px; width: 64px; float: left; margin-right: 10px; }
.headerTextCounty { width: 210px; font-size: 22px; float: left; display: block; text-align: center; margin-top: 10px; }
.headerTextCounty a, .headerTextInfo a { color: #FFF; text-decoration: none; }
.headerTextInfo { width: 210px; text-align: center; text-transform: uppercase; letter-spacing: 1px; float: left; display: block; }
.printHeader { display: none; }

#headerAlert { width: calc(100% - 20px); padding: 10px; background: #990000; color: #FFF; text-align: center; font-size: 20px; line-height: 26px; font-weight: 700; }
#headerAlert a { color: #FFF; text-decoration: none; display: block; }
#headerAlert i.alertIcon, #headerAlert a i.alertIcon { display: block; float: left; line-height: 28px; font-size: 26px; }
#headerAlert .alertButton { background: rgba(255,255,255,.3); display: inline-block; padding: 2px 10px; }

#headerRight { float: right; width: 150px; text-align: right; height: 80px; font-size: 16px; }
#headerRight a i { color: #FFF; margin: 20px 0 0 5px; display: inline-block; width: 30px; height: 30px; line-height: 30px; border-radius: 5px; background: rgba(255,255,255,.1); text-align: center; display: inline-block; padding: 5px; }
#headerRight a i:hover { transition: background 1s linear; color: #FFF; background: rgba(255,255,255,.25); }
#headerRight a span.linkDescription, .footerRight a span.linkDescription { display: none; }

#headerNav { float: right; }
#headerNav ul { list-style: none; position: relative; margin: 0; padding: 0; }
#headerNav ul li { position: relative; float: left; text-align: center; }
#headerNav ul a, #navigation ul span { display: block; text-decoration: none; padding: 0 12px; font-size: 15px; color: #FFF; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; line-height: 80px; }
#headerNav ul li:hover > a, #headerNav ul a.activePage { background: #274562; color: #FFF; }
#headerNav ul ul { display:none; position:absolute; top:100%; left:0; padding:0; z-index: 1000; background: #274562; }
#headerNav ul ul li { width: 100%; letter-spacing: normal; }
#headerNav ul ul li:hover { background: none; }
#headerNav ul ul a { min-width: 140px; text-transform: none; height: auto; line-height: 18px; text-align: left; padding: 10px; font-size: 13px; font-weight: 400; color: #FFF; }
#headerNav ul ul a:hover { transition: color 0.1s linear, background-color 0.1s linear; -moz-transition: color 0.1s linear, background-color 0.1s linear; -webkit-transition: color 0.1s linear, background-color 0.1s linear; background: #000; border-radius: 0 !important; }
#headerNav ul li:hover > ul { display:block; }

.mobileMenu, .slicknav_menu { display: none; }

/* Home Page */
#homeIntro { text-align: center; font-size: 18px; line-height: 32px; color: #000; background: linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.65)), url(https://elections.woodburycountyiowa.gov/images/courthouse_glass.jpg); background-position: center center; background-size: cover; }
#homeIntro h2 { color: #487099; margin-top: 0; }
#homeIntro a { font-weight: 700; }
.homeText { width: calc(100% - 60px); padding: 160px 30px 150px; text-align: left; background-position: left center; background-size: 250px auto; background-repeat: no-repeat; }

/* Home Page Election Day */
#homeElection { text-align: center; padding: 10px 0; font-size: 16px; line-height: 24px; background: #32567A; }
#homeElection h3 { color: #FFF; margin: 0 auto 5px; }
#homeElection a { color: #F6F6F6; }
.homeElectionHeaderInfo { padding: 33px 0 0; }
.homeElectionHeaderImage img { float: left; height: 100px; width: auto; }
.container_election_day { width: 450px; }
/* Home Page Divider */
.dividerLRImage { width:100%; height:40px; position:absolute; left:0px; margin-top:-40px; background: linear-gradient(to right bottom, rgba(0,0,0,0) 49%, #fff 50%); }
.dividerLR { width:100%; height:40px; position:absolute; left:0px; background: linear-gradient(to right bottom, #F6F6F6 49%, #fff 50%); }
.dividerRL { width:100%; height:40px; position:absolute; left:0px; background: linear-gradient(to left bottom, #fff 49%, #F6F6F6 50%); }

/* Quick Links */
#quickLinks { padding: 40px 0; display: flex; flex-wrap: wrap; }
#quickLinks h2 { display: block; margin: 20px auto; text-align: center; color: #32567A; width: 100%; }
.quickLink { width: calc(100% / 6); float: left; }
.quickLink a { width: 80%; margin: 10%; text-align: center; display: block; font-weight: 700; text-decoration: none; }
.quickLink a img { width: calc(100% - 10px); height: auto; display: block; margin-bottom: 10px; border-radius: 50%; border: 5px solid #487099; background: #DDD; }
.quickLink a:hover { color: #32567A; }
.quickLink a img:hover { border-color: #32567A; }

/* Home Page - Content Grid */
#homeInfo { margin-bottom: 20px; }
.homeSection { width: calc((100% - 126px) / 3); padding: 10px; margin: 10px; float: left; border: 1px solid #EEE; border-radius: 10px; min-height: 600px; height: auto; position: relative; }
.homeSection h3 a, .homeSection h3 { text-align: center; font-size: 20px; color: #32567A; text-decoration: none; display: block; }
.homeSection .homeSectionFooter { position: absolute; left: 0; bottom: 0; background: #F6F6F6; width: 100%; border-radius: 0 0 10px 10px; padding: 5px 0; text-align: center; }

/* Home Page - News */
.homeNewsItem { font-size: 14px; line-height: 20px; padding: 0 0 15px; border-bottom: 1px solid #CCC; margin-bottom: 15px; }
.homeNewsItem img { width: 100%; margin: 0 0 5px; }
.homeNewsItem a { display: block; font-weight: 700; margin: 0 0 5px; font-size: 16px; }
.homeNewsLink { padding: 0 0 15px; border-bottom: 1px solid #CCC; margin-bottom: 15px; }

/* Home Page - Elections */
#homeElections { margin: 0 auto 20px; padding: 60px 0 20px; background: #F6F6F6; }
#homeElections h2 { color: #213D56; text-align: center; }

/* Home Page - Elections */
#homeElections .container { width: calc(100% - 60px); max-width: 1420px; }
.homeElectionInfo { width: calc((100% - 42px) / 3); margin-right: 10px; padding: 10px 10px 10px 0; float: left; border-right: 1px solid #EEE; height: 130px; }
.homeElectionInfo.right { border-right: 0; margin-right: 0; padding-right: 0; }
.homeElectionDate { width: 60px; float: left; background: #213D56; color: #FFF; text-align: center; border-radius: 5px; padding: 10px 0; }
.pastElectionDate { background: #AAA; }
.homeElectionMonth, .homeElectionDay { display: block; font-weight: 700; }
.homeElectionMonth { text-transform: uppercase; }
.homeElectionDay { font-size: 30px; line-height: 30px; letter-spacing: -1px; }
.homeElectionLinks { width: calc(100% - 70px); float: right; }
.homeElectionLinks a { font-weight: 700; display: block; }
.homeElectionLinkList { margin: 15px 0 0 15px; }
.homeElectionLinkList a i { text-decoration: none; margin-right: 5px; }
.homeElectionTurnout .registerToVote a { width: 150px; color: #FFF; padding: 10px; margin: 1.5em auto 0; display: block; background: #32567A; text-align: center; text-decoration: none; font-weight: 700; border-radius: 10px; }

/* Home Page - Call To Action */
.cta_app, .cta_poll { text-align: center; padding: 50px 0 20px; border-top: 1px solid #DDD; }
.cta_app { }
.cta_app a i { margin-right: 5px; }
.cta_app a b { font-size: 20px; text-decoration: none !important; color: #32567A; font-weight: 700; }
.cta_app img { display: block; margin: 30px auto; }

/* Page Header */
#pageHeader { background: #CCC; width: 100%; min-height: 80px; }
#pageHeader h1 { padding: 20px 0; line-height: 30px; font-size: 30px; color: #487099; }
#pageHeader h1 a { text-decoration: none; color: #487099; }
#pageHeader img { float: right; max-width: 80px; height: auto; }

/* Page Content */
#pageContent { padding: 1em 0; }
#pageContent .introduction, .electionPage .introduction { font-size: 20px; color: #666; line-height: 30px; display: block; border-bottom: 1px solid #DDD; padding-bottom: 1em; margin-bottom: 1em; }
.electionPage .introduction { margin-top: 1em; padding-top: 1em; }
#pageContent h2 { color: #32567A; margin: 1.5em 0 1em; }
#pageContent img { max-width: 100%; height: auto !important; }
.electionPage h3 { color: #487099; }

/* Elected Officials */
.officialDirectory { width: calc(((100% - 40px)/ 3) - 20px); float: left; margin: 0 20px 20px 0; padding: 5px 10px; text-align: center; border-top: 5px solid #CCC; background: #F6F6F6; min-height: 210px; }
.officialDirectory:hover { border-top: 5px solid #AAA; background: #EEE; }
.officialDirectory.right { margin-right: 0; }
.officialDirectory h2 { margin: 1em 0 !important; }
.officialDirectory h2 a { color: #32567A; text-decoration: none; }

/* Official Listings */
.offRow { width: 100%; border-bottom: 1px solid #CCC; padding: 4px 0; margin: 2px 0; }
.offRowLast { border-bottom: 0; }
.offInfo { width: 66.6%; float: left; padding: 1px 0; }
.offInfo4x { width: 75%; float: left; padding: 1px 0; }
.offTerm { width: 33.4%; float: right; text-align: right; }
.offTerm4x { width: 25%; float: right; text-align: right; }
.offName { width: 50%; float: left; }
.offContact { width: 50%; float: right; text-align: center; }
.offContact4x { width: 33.3%; float: left; text-align: center; }
.offContactName { text-align: left; }
.offContact a { font-size: 14px; }
.offTopDivider { margin-top: 10px; border-top: 1px solid #000; padding-top: 10px; }

.cityList, .leftNav { width: 260px; float: left; }
.cityList h3, .leftNav h3 { padding: 5px; display: block; margin: 1.5em 0 10px; }
.cityList ul, .leftNav ul { margin: 0; padding: 0; list-style-type: none; }
.cityList ul li a:hover, .leftNav ul li a:hover { background: #F6F6F6; }
.cityList ul li a, .leftNav ul li a { display: block; border-bottom: 1px solid #DDD; padding: 5px; cursor: pointer; text-decoration: none;}
.cityList ul li a:hover, .leftNav ul li a:hover { background: #F6F6F6; }
.leftNav h3 a { color: #000; text-decoration: none; }
.rightContent, .officialDetails, .rightContentForm { float: right; width: calc(100% - 280px); }
.officialDetails input[type="text"], .rightContent input[type="text"], .precinct input[type="text"] { display: block; border: 2px solid #EEE; width: calc(100% - 220px); padding: 5px; font-size: 18px; font-family: 'Roboto', sans-serif; margin: 30px 0; border-radius: 5px; }
.precinctPage input[type="text"] { width: 100% !important; }
.cityDetails h2, .officialDetails h2 { background: #487099; color: #FFF; padding: 10px; border-radius: 10px 10px 0 0; margin: 1em 0 0; line-height: 1.5em; }
.cityDetails h2 a, .officialDetails h2 a { color: #FFF; }
.officialDetails h2 i { font-size: 20px; margin-left: 5px; }
.cityInfo, .officialInfo, .officialInfo { padding: 10px; }
.officialColumn { float: left; width: 25%; }
.officialColumn a i, .officialColumn3 a i, .fedColumn1 a i, .officialColumn3 i { margin: 0 3px; text-decoration: none; }
.officialRight a i { margin: 0; }
.officialColumn3 { float: left; width: 33.33%; padding: 1px 0; }
.officialRow { margin-bottom: 5px; padding: 2px 0; border-bottom: 1px solid #DDD; }
.fedColumn1 { float: left; width: 33.33%; }
.fedColumn2 { float: left; width: calc(100% - 140px - (100% / 3)); }
.fedColumn3 { float: left; width: 140px; }
.cityContact { float: left; width: 50%; }
.cityContact.numbers { text-align: right; }
.cityContact.numbers a i { margin-left: 5px; text-decoration: none; }
.positionTitle { float: none; width: 100%; font-weight: 700; padding: 3px 0; }
.positionName { float: left; width: 33.33%; padding: 3px 0; border-bottom: 1px solid #DDD; }
.positionEmail { float: left; width: 33.33%; text-align: center; padding: 3px 0; border-bottom: 1px solid #DDD; }
.termEnds { float: left; width: 33.33%; text-align: right; padding: 3px 0; border-bottom: 1px solid #DDD; }
.positionName.school { width: 30%; border-bottom: 0; }
.positionEmail.school { width: 40%; border-bottom: 0; }
.positionName.schoolA, .positionEmail.schoolA, .termEnds.schoolA { border-bottom: 0 !important; }
.termEnds.school { width: 30%; border-bottom: 0; }

.officialsCity { margin-top: 10px; border-top: 1px solid #000; padding-top: 10px; }
.officialDetails .filterDiv { background: #F6F6F6; border-radius: 0 0 10px 10px; }
.officialCenter { text-align: center; }
.officialRight { text-align: right; }
.officialBreak { clear: both; height: 20px; }
.officialParty { width: 16px; display: inline-block; border-radius: 50%; text-align: left; height: 22px; line-height: 22px; padding-left: 6px; }
.officialPartyR { color: #C00; border: 1px #C00 solid; }
.officialPartyD { color: #00F; border: 1px #00F solid; }
.officialPartyAlt { width: 12px; display: inline-block; text-align: center; height: 16px; line-height: 17px; color: #FFF; }
.officialPartyAltR { background: #C00; }
.officialPartyAltD { background: #00F; }
.officialPartyAltI, .officialPartyAltO { background: #666; }
.officialPartyAltL { background: #FFDF00; color: #000; }

.termLengthDescription { display: none; position: absolute; width: 165px; z-index: 100; background: #DDD; border: 2px solid #BBB; border-radius: 5px; padding: 4px; text-align: center; right: calc(((100% - 1250px) / 2) + 10px); }
a.termLengthInfo { cursor: pointer; }
a:hover.termLengthInfo + div.termLengthDescription { display: block; }
.officialInfoDescription { display: none; position: absolute; width: 165px; z-index: 100; background: #DDD; border: 2px solid #BBB; border-radius: 5px; padding: 4px; text-align: center; }
a.officialInfoDescriptionInfo { cursor: pointer; }
a:hover.officialInfoDescriptionInfo + div.officialInfoDescription { display: block; }

/* FAQ */
.rightContent h2 { margin: 1.5em 0 1em; color: #32567A; }
.faqLabel { float: left; width: 40px; font-size: 24px; color: #32567A; font-family: 'Montserrat', sans-serif; text-align: center; padding-top: 15px; }
.faqText { float: left; width: calc(100% - 40px); }
.faqTextQ { font-weight: 700; }
.faqQA { border-bottom: 1px solid #DDD; padding-bottom: 1em; margin-bottom: 1em; }
.faqLast { border-bottom: none; }
.faqSection input[type="text"] { border: 2px solid #EEE; width: calc(100% - 162px); padding: 5px; font-size: 18px; font-family: 'Roboto', sans-serif; margin: 1.5em 0; border-radius: 5px; }
.faqSection h2.faqFirst { margin-top: .5em; }

/* App */
.appLinks a { display: block; width: 25%; float: left; text-align: center; text-decoration: none; }
.appLinks a i { font-size: 40px; display: block; margin: 0 auto; line-height: 60px; }

/* Elections */
.electionYear h2 { margin: 1.5em 0 1em; color: #32567A; }
.electionDetails { margin-bottom: 1em; padding-bottom: 1em; border-bottom: 1px solid #DDD; }
.electionDetails b, .precinct b.lead, .precinctAlt b.lead { display: block; font-size: 18px; padding: 0 0 5px; }
.electionInfo { float: left; width: 50%; }
.electionLinks { float: right; width: 50%; }
.electionLinks a { display: block; font-weight: 700; }
.precinct a, .precinctAlt a { font-weight: 700; }
.electionLinks a i, .precinct a i, .precinctAlt a i { text-decoration: none; margin-right: 5px; }
.electionTypeDescription { display: none; position: absolute; width: calc(50% - 20px); z-index: 100; background: #DDD; border: 2px solid #BBB; border-radius: 5px; padding: 10px; }
a.electionTypeInfo { cursor: pointer; }
a:hover.electionTypeInfo + div.electionTypeDescription { display: block; }
a.precinctInfoIcon { cursor: pointer; }
a:hover.precinctInfoIcon + div.precinctInfoDescription { display: block; }

/* Elections - Detail Page */
.electionPage h3 { margin: 1.5em 0; font-size: 20px; }
.electionResults h3 { margin: 2em 0 1.5em; }
.resultsLink, .resultsCount { width: calc((100% - 60px) / 2); margin: 10px; float: left; padding: 20px 5px; background: #EEE; border-radius: 5px; text-align: center; font-weight: 700; }
.resultsLink a { text-decoration: none; display: block; }
.resultsLink a i { margin-left: 10px; }
.resultsLink:hover { background: #DDD; }
.sampleBallots input[type="text"] { border: 2px solid #EEE; width: calc(100% - 14px); padding: 5px; font-size: 18px; font-family: 'Roboto', sans-serif; margin-bottom: 40px; border-radius: 5px; }
.electionsBack { margin: 2em 0 0; text-align: center; }
#ballots:before { height: 80px; display: block; content: ''; margin-top: -80px; }
/* .electionGraph h3 { margin: 2em 0 1.5em; } */
.electionGraph .graphCat, .electionGraph .graphCatS, .electionGraph .graphNum, .electionGraph .graphNumS { height: 30px; line-height: 30px; float: left; font-weight: 700; font-size: 14px; }
.electionGraph .graphCat { width: 160px; text-align: right; margin-right: 5px; }
.electionGraph .graphCatS { width: 95px; text-align: right; margin-right: 5px; }
.electionGraph .graphNum { width: 55px; text-align: left; margin-left: 5px; }
.electionGraph .graphGraph { width: calc(100% - 225px); height: 20px; margin: 5px 0; float: left; background: #EEE; }
.electionGraph .graphGraphS { width: calc(100% - 160px); height: 20px; margin: 5px 0; float: left; background: #EEE; }
.electionGraph strong { color: #666; font-size: 18px; display: block; margin: 30px 0 5px; }
.graphSpacing { margin: 10px 0; }

.voterReg { margin: 0 auto; padding: 20px 0 50px; border-top: 1px solid #DDD; }
.voterReg .registerToVote { text-align: center; }
.voterReg .registerToVote a i { text-decoration: none; margin-right: 5px; }
.voterReg h3 { text-align: center; }
.voterReg .graphSpacing { margin: 10px auto 30px; max-width: 800px; }
.graphFill { height: 20px; float: left; }
.graphMetric { height: 30px; margin: -5px 5px; line-height: 30px; float: left; font-weight: 700; }
.graphDivider { height: 10px; margin-bottom: 10px; border-bottom: 1px solid #DDD; }
.graphHeader { margin: 2em 0 1em; font-size: 14px; }
.graphHeader h4 { margin: 0; font-size: 16px; }

/* Precincts */
.precinctJC { width: calc(100% - 20px); padding: 10px; border-bottom: 1px solid #C6C6C6; }
.precinctJC:hover { background: #EEE; }
.precinct { width: calc((100% - 120px)/ 3); float: left; margin: 0 10px 20px; padding: 5px 10px; background: #EEE; border-radius: 5px; }
.precinctAlt { width: calc((100% - 80px) / 2); float: left; margin: 0 10px 20px; padding: 5px 10px; background: #EEE; border-radius: 5px; height: 150px; }
.precinct:hover, .precinctAlt:hover { background: #DDD; }
.mapLink.right { margin-right: 0; }
.precinctLocation { float: left; width: 50%; }
.precinctInfo { float: right; width: 50%; }
.precinctLocation { float: left; width: 50%; }
.precinctInfo { float: right; width: 50%; }
.pollingLocation { width: 100%; margin-bottom: 1em; padding-bottom: 1em; border-bottom: 1px dotted #CCC; }
.pollingLocation h4 { margin: 0; }
.pollingLocationPrecincts { margin-top:10px; }
.pollingLocationPrecincts a i { margin-right: 5px; text-decoration: none; }

/* News */
.newsItem { padding: 20px 0; border-bottom: 1px solid #DDD; }
.newsItem img, .newsDetail img { float: right; max-width: 300px !important; margin-left: 10px; }
.newsItem h3 { margin-top: 0; }
.newsDetail h1 { line-height: 38px; }
.newsItem.last { padding-bottom: 0; border-bottom: 0; }
.newsPhoto img { width: 100%; max-width: 600px; display: block; margin: 0 auto; height: auto; }
.newsVideoContainer { width: 100%; max-width: 800px; display: block; margin: 30px auto 20px; }
.newsVideo { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; }
.newsVideo iframe, .newsVideo object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Forms */
.leftForm { float: left; width: calc(100% - 260px); }
.leftForm i, #pollForm i { font-style: normal; color: #C00; font-weight: 700; }
.leftForm ol, #pollForm ol { margin: 0; list-style-type: none; padding: 0; }
.leftForm ol label, #pollForm ol label { display: block; font-size: 14px; }
.leftForm ol input[type="text"], #pollForm ol input[type="text"], #pollForm ol input[type="email"] { font-family: 'Roboto', sans-serif; font-size: 16px; width: calc(100% - 12px); padding: 5px; border: 1px solid #DDD; margin-bottom: 1em; }
.leftForm ol input[type="submit"], #pollForm ol input[type="submit"] { display: block; width: 150px; font-family: 'Roboto', sans-serif; font-size: 16px; color: #FFF; text-align: center; border: 0; background: #487099; padding: 10px 0; margin: 1.5em 0 0; }
.leftForm ol select, #pollForm ol select { font-family: 'Roboto', sans-serif; font-size: 16px; width: 100%; pading: 5px; border: 1px solid #DDD; margin-bottom: 1em; }
.leftForm ol textarea, #pollForm ol textarea { font-family: 'Roboto', sans-serif; font-size: 16px; width: calc(100% - 12px); padding: 5px; border: 1px solid #DDD; margin-bottom: 1em; }
.contactInfo { float: right; width: 240px; margin-top: -1em; }

/* Bring into Other Sites */
#pollForm li.width50 { width: 49%; float: left; margin-right: 1%; }
#pollForm li.width40 { width: 39%; float: left; margin-right: 1%; }
#pollForm li.width33 { width: 32.3%; float: left; margin-right: 1%; }
#pollForm li.width30 { width: 29%; float: left; margin-right: 1%; }
#pollForm li.width25 { width: 24%; float: left; margin-right: 1%; }
#pollForm li.width20 { width: 19%; float: left; margin-right: 1%; }
#pollForm li.width50.right { width: 50%; margin-right: 0%; }
#pollForm li.width40.right { width: 40%; margin-right: 0%; }
#pollForm li.width33.right { width: 33.3%; margin-right: 0%; }
#pollForm li.width30.right { width: 30%; margin-right: 0%; }
#pollForm li.width25.right { width: 25%; margin-right: 0%; }
#pollForm li.width20.right { width: 20%; margin-right: 0%; }
#pollForm hr { margin-block-start: 10px; }

@media screen and (max-width: 600px) {
  #pollForm li.width50, #pollForm li.width40, #pollForm li.width33, #pollForm li.width30, #pollForm li.width25, #pollForm li.width20, #pollForm li.width40.right, #pollForm li.width33.right, #pollForm li.width30.right, #pollForm li.width25.right, #pollForm li.width20.right {
    width: 100% !important;
    margin: 0 !important;
    float: none;
  }
}
/* End Bring into Other Sites */

/* Maps */
.mapLink { float: left; width: calc(((100% - 40px) / 3) - 20px); float: left; margin: 0 20px 20px 0; padding: 25px 10px; background: #EEE; border-radius: 5px; text-align: center; }
.ballotLink { float: left; width: calc((100% - 90px) / 3); margin: 10px; padding: 20px 5px; background: #EEE; border-radius: 5px; text-align: center; }
.mapLink a, .ballotLink a { text-decoration: none !important; display: block; }
.mapLink a i, .ballotLink a i { display: block; font-size: 30px; line-height: 30px; margin-bottom: 10px; }
.mapLink:hover, .mapLink.right:hover, .ballotLink:hover { background: #DDD; }

/* Ballots */
.ballotRow { width: 100%; padding: .5em 0; border-bottom: 1px dotted #CCC; font-size: 14px; }
.ballotRow a { display: block; font-size: 16px; }
.ballotRow a i { text-decoration: none; margin-right: 5px; }

/* Filter */
.filterDiv { display: none; }
.show { display: block; }
.listHidden { display: none !important; }
.active { background-color: #F6F6F6; }
.leftNav input[type="text"] { border: 1px solid #CCC; width: calc(100% - 10px); padding: 4px; font-size: 16px; font-family: 'Roboto', sans-serif; }

/* Footer */
#footer { border-top: 2px solid #000; padding: 20px 0; margin-top: 30px; font-size: 14px; line-height: 20px; }
.footerLeft { width: 25%; float: left; }
.footerCenter { width: 25%; float: left; text-align: center; }
.footerRight { width: 25%; float: left; text-align: right; }
.footerSocial a i { color: #FFF; margin: 0 0 0 5px; display: inline-block; width: 30px; height: 30px; line-height: 30px; border-radius: 5px; background: rgba(44,67,96,.8); text-align: center; display: inline-block; padding: 5px; }
.footerSocial a i:hover { transition: color 0.1s linear; background: rgba(44,67,96,.7); }
#google_translate_element { margin-top: 15px; padding: 10px; border-top: 1px solid #DDD; text-align: center; width: 215px; float: right; }
#subFooter { background: #EFEFEF; width: 100%; font-size: 12px; }
#poweredBy { padding: 10px; width: 100px; float: none; height: 30px; line-height: 30px; margin: 0 auto; }
#poweredBy img { height: 30px; width: auto; float: right; margin-left: 6px; }
#poweredBy a { text-decoration: none !important; color: #413335 !important; }

/* Screen Sizes */
@media only screen and (max-width: 1250px) {
  #pageHeader h1 { font-size: 26px; }
  .termLengthDescription { right: 30px; }
  /* Maps */
  .mapLink, .mapLink.right, .officialDirectory, .officialDirectory.right { width: calc(((100% - 20px) / 2) - 20px); margin: 0 20px 20px 0; }
  .ballotLink { width: calc((100% - 60px) / 2); }
  .mapLink.even, .officialDirectory.even { margin-right: 0; }
  /* Quick Links */
  #quickLinks { max-width: 750px; }
  .quickLink { width: 250px; float: left; }
}
@media only screen and (max-width: 1200px) {
  #headerNav ul a, #navigation ul span { padding: 0 10px; }
}
@media only screen and (max-width: 1180px) {
  li.homeLink { display: none; }
}
@media only screen and (max-width: 1120px) {
  #headerNav { display: none; }
  .mobileMenu { display: block; position: fixed; width: 60px; margin-top: 0; right:0; }
  .slicknav_menu { display: block; }
  #headerRight { margin-right: 72px; }
}
@media only screen and (max-width: 1150px) {
  #headerNav ul a, #navigation ul span { padding: 0 10px; }
}
@media only screen and (max-width: 1075px) {
  .precinct { width: calc(100% - 20px); margin: 0 0 20px; }
  #pageHeader h1 { font-size: 20px; }
}
@media only screen and (max-width: 1050px) {

  #headerText { margin-left: 10px; }
  #homeImage h1 { font-size: 40px; line-height: 40px; }
  #header { height: 80px; }
  #header .container { width: 100% !important; max-width: 100% !important; }

  .offInfo, .offInfo4x { width: calc(100% - 150px); }
  .offContact, .offContact4x, .offName { width: 100%; float: none; text-align: left; }
  .offContact i, .offContact4x i { display: none; }
  .offContact.collapse, .offContact.collapse { display: none; }
  .offTerm, .offTerm4x { width: 150px; }

  /* Listings */
  .officialColumn3 { width: 66.6%; float: left; }
  .officialCenter i { display: none; }
  .officialCenter { text-align: left; }
  .officialCenter.collapse { display: none; }
  .officialRight { width: 33.3%; float: right; }

  /* Page Content */
  .cityList, .leftNav { width: 170px; }
  .rightContent, .officialDetails, .rightContentForm { width: calc(100% - 240px); }
  .faqSection input[type="text"], .officialDetails input[type="text"], .rightContent input[type="text"], { width:calc(100% - 172px); }

  /* Home */
  .homeSection { width: calc((100% - 84px) / 2); }
  .homeElectionTurnout { width: calc(100% - 42px); height: auto; }
  .homeElectionInfo { width: 100%; padding: 15px 0; margin: 0 0 15px; border: 0; border-bottom: 1px solid #DDD; height: auto; }
  .homeElectionInfo.right { margin: 0; border: 0 !important; }

  /* Maps */
  .mapLink, .mapLink.right, .mapLink.even, .officialDirectory, .officialDirectory.right, .officialDirectory.even { width: calc(100% - 20px); margin: 0 0 20px; }
  .officialDirectory, .officialDirectory.right, .officialDirectory.even { min-height: 0; padding-bottom: calc(1em + 10px); }

  /* Footer */
  .footerLeft, .footerCenter { width: 33.33%; text-align: center; }
  .footerRight { width: 100%; float: none; margin-top: 20px; text-align: center; }
  .footerRight a i { margin: 0; }
  #google_translate_element { margin: 15px auto 0; padding: 10px; border-top: 1px solid #DDD; text-align: center; width: 215px; float: none; }
  .clearMobile { clear: both; }
}
@media only screen and (max-width: 900px) {
  .cityList { display: none; }
  .officialDetails { width: 100%; }
  .precinct, .precinct.even, .precinct.right { width: calc(100% - 20px); margin: 0 0 20px; }
  .positionEmail { width: 40%; }
  .positionName, .termEnds { width: 30%; }
  #pageHeader h1 { font-size: 18px; }
}
@media only screen and (max-width: 790px) {
  .homeText { background-position: center 25px; width: calc(100% - 40px); padding: 120px 20px 60px 20px; }

  #quickLinks { max-width: 500px; }

  /* Home */
  .homeSection { width: calc(100% - 42px); height: auto; padding: 10px 10px 30px; }

  .officialColumn, .officialColumn3, .fedColumn1, .fedColumn2, .fedColumn3 { width: 100%; text-align: left; }
  .fedColumn1, .fedColumn2 { margin-bottom: 1em !important; }
  .officialColumn.collapse, .officialColumn3.collapse { height: 0; }
}
@media only screen and (max-width: 700px) {
  body { font-size: 14px; }

  /* Officials Listings */
  .offInfo, .offInfo4x { width: 100%; }
  .offTerm, .offTerm4x { width: 130px; position: absolute; right: 20px; }

  .resultsLink, .resultsCount { width: calc(100% - 10px); margin: 5px 0; }

  .container, .container_alt, .container_sm { width: calc(100% - 20px); max-width: calc(100% - 20px); }

  .termLengthDescription { right: 0; }
  .precinctJC { width: 100%; padding: 10px 0; }
  .precinctJC:hover { background: #FFF; }
  .precinctJC b.precName { display: block; margin-bottom: 5px; }

  /* Page Header */
  #pageHeader { height: auto; padding: 10px 0; }
  #pageHeader img { display: none; }
  #pageHeader h1 { line-height: 30px; font-size: 20px; margin: 0; letter-spacing: 0; }

  /* Page Content */
  #pageContent .introduction, .electionPage .introduction { font-size: 16px; line-height: 24px; }
  .leftNav { display: none; }
  .rightContent, .rightContentForm { width: 100%; }

  /* Forms */
  .leftForm, .contactInfo { float: none; width: 100%; }

  /* Footer */
  .footerLeft, .footerCenter { width: 100%; float: none; padding-bottom: 20px; }
}
@media only screen and (max-width: 550px) {
  #headerRight { display: none; }
  .newsItem img { float: none; max-width: 100%; margin: 0 0 20px 0; }
  #homeIntro { font-size: 15px; line-height: 25px; }
  #quickLinks { max-width: 250px; }
  #quickLinks h2 { margin: 20px auto 0; }
  .slicknav_menu .slicknav_icon, .slicknav_menu .slicknav_icon-bar { width: 30px !important; }
  #headerRight { margin-right: 62px; }

  /* Highlighted Races */
  .electionGraph .graphCat { width: 100%; text-align: left; margin: 0; line-height: 20px; height: 20px; }
  .electionGraph .graphNum { width: 55px; text-align: left; margin-left: 5px; margin-bottom: 5px; }
  .electionGraph .graphGraph { width: calc(100% - 60px); margin-bottom: 5px; }
  .electionGraph .graphDivider { height: 5px; }

  /* News */
  .newsDetail img { display: block; margin: 15px auto; max-width: 400px !important; width: 100%; height: auto; float: none; }
}
@media only screen and (max-width: 415px) {
}
@media only screen and (max-width: 400px) {
  .homeText { background-size: 150px auto; padding: 30px 20px; }
  .headerTextCounty { width: 175px; font-size: 18px; margin-top: 13px; }
  .headerTextInfo { width: 175px; }
  #headerRight { margin-right: 60px; }
  .electionInfo, .electionLinks { float: none; width: 100%; }
  .faqSection input[type="text"], .officialDetails input[type="text"], .rightContent input[type="text"] { width: calc(100% - 14px); }
}

/* SlickNav */
.slicknav_btn{position:relative;display:block;vertical-align:middle;float:right;padding:.438em .625em;line-height:1.125em;cursor:pointer}
.slicknav_btn .slicknav_icon-bar + .slicknav_icon-bar{margin-top:8px}
.slicknav_menu{*zoom:1}
.slicknav_menu .slicknav_menutxt{display:block;line-height:1.188em;float:left}
.slicknav_menu .slicknav_icon{float:left;width:40px;height:1.25em;margin:.188em 0 0 .438em}
.slicknav_menu .slicknav_icon:before{background:transparent;width:1.125em;height:.875em;display:block;content:"";position:absolute}
.slicknav_menu .slicknav_no-text{margin:0}
.slicknav_menu .slicknav_icon-bar{display:block;width:40px;height:2px;}
.slicknav_menu:before{content:" ";display:table}
.slicknav_menu:after{content:" ";display:table;clear:both}
.slicknav_nav{clear:both}
.slicknav_nav ul{display:block}
.slicknav_nav li{display:block}
.slicknav_nav .slicknav_arrow{font-size:.8em;margin:0 0 0 .4em}
.slicknav_nav .slicknav_item{cursor:pointer}
.slicknav_nav .slicknav_item a{display:inline}
.slicknav_nav .slicknav_row{display:block}
.slicknav_nav a{display:block}
.slicknav_nav .slicknav_parent-link a{display:inline}
.slicknav_brand{float:left}
.slicknav_menu{font-size:16px;box-sizing:border-box;}
.slicknav_menu *{box-sizing:border-box}
.slicknav_menu .slicknav_menutxt{color:#fff;font-weight:700;text-shadow:0 1px 3px #4D677F}
.slicknav_menu .slicknav_icon-bar{background-color:#FFF}
.slicknav_btn{margin:23px 5px 6px;text-decoration:none;}
.slicknav_nav{color:#fff;margin:0;padding:5px 0 15px;font-size:.875em;list-style:none;overflow:hidden;background:#487099;margin-top:80px; margin-left:calc(-100vw + 60px);}
.slicknav_nav ul{list-style:none;overflow:hidden;padding:0;margin:0 0 0 20px}
.slicknav_nav .slicknav_row{padding:5px 10px;margin:2px 5px}
.slicknav_nav .slicknav_row:hover{-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;background:#021227;color:#fff}
.slicknav_nav a{padding:5px 10px;margin:2px 5px;text-decoration:none;color:#fff}
.slicknav_nav a:hover{-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;background:#021227;color:#fff}
.slicknav_nav .slicknav_txtnode{margin-left:15px}
.slicknav_nav .slicknav_item a{padding:0;margin:0}
.slicknav_nav .slicknav_parent-link a{padding:0;margin:0}
.slicknav_brand{color:#fff;font-size:18px;line-height:30px;padding:7px 12px;height:44px}
.slicknav_menu a i { display: none !important; }
