﻿.ballotNotice {
  text-align: center;
  display: none;
}
.ballotNotice.show {
  display: block;
}

.sampleTitles {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.sampleTitles a.titleLink {
  padding: 12px;
  background: #f5f5f5;
  margin: 5px 0;
  border-left: 8px solid #003b8d;
  font-size: 16px;
  color: #333;
  box-shadow: 5px 3px rgb(0 0 0 / 15%);
}

.sampleTitles a.titleLink:hover {
  text-decoration: none;
  border-left: 12px solid #cc0000;
  box-shadow: none;
}

.sampleBallotContainer {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  flex-wrap: wrap;
}

.precinctGrp {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  padding: 10px;
  text-decoration: none;
  background: #f9f9f9;
  margin: 8px 0;
  align-items: flex-start;
  box-shadow: 2px 2px rgb(0 0 0 / 15%);
}
.precinctGrp.hide {
  display: none !important;
}

a.precinctGrp:hover,
a.precinctGrp:active,
a.precinctGrp:focus {
  text-decoration: none;
  box-shadow: none;
  border: 1px solid #c5c5c5;
  background: #f4faff;
}

a.precinctGrp:focus {
  background: #f4faff;
  box-shadow: 2px 2px rgb(0 0 0 / 15%);
}

/* .preBlock {
  display: flex;
  flex-direction: row;
  flex: 1 1 auto;
  flex-wrap: wrap;
  padding: 0px 0 5px 10px;
}
 */
.preBlock {
    display: flex;
    flex-direction: row;
    flex: 1 1 auto;
    justify-content: left;
    flex-wrap: wrap;
    width: 100%;
}
.precTitle {
  /* width: 100%; */
  /* font-size: 18px; */
  margin-bottom: 15px;
  /* border-bottom: 2px solid #d9d9d9; */
      flex-wrap: wrap;
}
/* .precTitle {
  width: 100%;
  font-size: 18px;
  margin-bottom: 15px;
  border-bottom: 2px solid #d9d9d9;
} */
.precLabel {
  width: 100%;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

/* .precinctTag {
  background: #fff;
  color: #000;
  padding: 0px 10px;
  margin: 0 10px 10px 0;
  border: 1px solid #ccc;
  border-radius: 20px 4px 4px 20px;
  box-shadow: 1px 1px rgb(0 0 0 / 15%);
  min-width: 50px;
  text-align: end;
} */

.precinctTag {
    background: #fff;
    color: #000;
    padding: 0.2em 0.5em;
    margin: 0 8px 10px 0;
    border: 1px solid #ccc;
    border-radius: 20px 4px 4px 20px;
    box-shadow: 1px 1px rgb(0 0 0 / 15%);
    height: fit-content;
    flex: 0 0 14%;
}

.subPre {
  padding-left: 5px;
}

.precinctTag.chosen {
  /* background: #cc0000; */
  background: #003b8d;
  color: #fff;
  font-weight: bold;
  box-shadow: none;
}

.allSamples form {
  background: #f9f9f9;
  padding: 30px 20px;
}

.allSamples .ccSubmitBtn {
  font-size: 16px;
  padding: unset;
  width: 125px;
  box-shadow: 5px 3px rgb(0 0 0 / 15%);
}

.allSamples #precFill, .allSamples .ccSubmitBtn {
  padding: 0.5em;
  border-radius: 3px;
}

.allSamples .ccSubmitBtn:hover,
.allSamples .ccSubmitBtn:focus {
  box-shadow: none;
  border-width: 2px;
}

.allSamples #precGuide {
  margin-bottom: 25px;
}

.allSamples label {
  margin-right: 15px;
}

.allSamples .errorTag {
  display: flex;
  flex: 1 1 auto;
  flex-direction: row;
  align-items: center;
  width: 100%;
  padding: 0 5px;
  margin-top: 10px;
  font-style: italic;
}

.errorTag .arrowMark {
  display: block;
  width: 0;
  height: 0;
  margin-right: 10px;
  border-top: 10px solid transparent;
  border-left: 12px solid #cc0000;
  border-bottom: 10px solid transparent;
}

.ballotFilters {
  background: #fff;
  padding: 1em;
  display: block;
  margin: 0.5em 0 0 0;
  border: 1px solid #ccc;
}

.ballotFilters .filterBtn {
  padding: 1em 1em 0.5em 1em;
  margin: 0 0.1em;
  height: auto;
  display: inline-block;
}

.ballotFilters .filterBtn.active,
.ballotFilters .filterBtn:hover {
  border-bottom: 2px solid #003b8d;
  background: #f8f8f8;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}
.ballotFilters .filterBtn:hover {
  border-bottom: 2px solid #cc0000;
}
