/* Zgjedhje2025 */
.topElBlock {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex: 1;
  padding-top: 16px;
}

.topElBlock a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  aspect-ratio: 200/33;
  display: none;
}

@media (min-width: 1200px) {
  .topElBlock a {
    display: flex;
  }
}

.topElBlock .logo {
  max-width: 200px;
  margin-bottom: 20px;
  aspect-ratio: 200/33;
}

.topElBlock h1 {
  font-family: Oswald, sans-serif;
  font-size: 32px;
  text-transform: uppercase;
  font-weight: 200;
}

.topElBlock h1 strong {
  font-family: Oswald, sans-serif;
  font-size: 32px;
  text-transform: uppercase;
  font-weight: bold;
}

.eb25 {
  /* background: url("https://tchdata.top-media.al/zgjedhjet-lokale-2025/bg.jpg")
    no-repeat center center;
  background-size: cover; */
  background-color: #008e8f;
  /* Add a background color filter that goes from #008e8f to #142a511a */
  background: linear-gradient(to bottom, #008e8f, #142a511a);

  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 400px;
  justify-content: center;
  align-items: center;
}

@media (min-width: 1200px) {
  .eb25 {
    /* background: url(https://zgjedhjet.top-channel.tv/images/kuvendi2.jpeg)
      no-repeat center center;
    background-size: cover; */
  }
}

.eb25 .eb25inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  /* backdrop-filter: blur(2px); */
  padding: 0;
  max-width: 1300px;
}

.electionBlock {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  margin: 16px auto 0 auto;
  gap: 0px;
  padding: 0;
}

.electionBlock .left {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.electionBlock .right {
  display: flex;
  flex-direction: column;
  width: 100%;
}

@media (min-width: 960px) {
  .electionBlock {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
  }

  .electionBlock .left {
    flex: 1;
  }

  .electionBlock .right {
    flex: 1;
  }
}

.winnersBlock {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faces {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.first,
.second {
  display: flex;
  flex-direction: row;
  color: #fff;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.second {
  flex-direction: row-reverse;
}

.first .partyLogo,
.second .partyLogo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: #ccc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.first img,
.second img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
}

.first .partyRes,
.second .partyRes {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.first .partyres .name,
.second .partyres .name {
  font-weight: bold;
  font-size: 16px;
  color: #000;
}

.first .partyres .mand,
.second .partyres .mand {
  font-weight: bold;
  font-size: 16px;
  color: #000;
}

.second .partyres .name,
.second .partyres .mand {
  text-align: right;
}

@media (min-width: 1200px) {
  .first .partyres .name,
  .second .partyres .name,
  .first .partyres .mand,
  .second .partyres .mand {
    color: #fff;
  }
}

.bar {
  width: 100%;
  height: 20px;
  background-color: #eee;
  margin-top: 10px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

.bar .party {
  filter: brightness(1.5);
}

.others {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

@media (min-width: 1200px) {
  .others {
    justify-content: space-between;
  }
}

.others .party {
  display: flex;
  gap: 10px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  padding: 2px 8px;
  font-weight: bold;
  color: #fff;
  filter: brightness(1.5);
}

.others .party.MUNDESIA {
  color: #000 !important;
}

.others .party.MUNDESIA * {
  color: #000 !important;
}

.candidates {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 26px;
  color: #fff;
  gap: 8px;
}

.candidates a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 16px;
  background-color: #fff;
  color: #06aead;
  border-left: 4px solid #06aead;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  width: 100%;
  opacity: 0.8;
  animation: fadeIn 0.5s ease-in-out;
  display: none;
}

.candidates a:first-child {
  display: flex;
}

@media (min-width: 768px) {
  .candidates a {
    display: flex;
  }
}

.candidates a:hover {
  opacity: 1;
}

.party {
  display: flex;
  justify-content: space-between;
  height: 100%;
}

.partyName {
  font-weight: bold;
  height: 100%;
}

.partyVotes {
  color: #fff;
}

.parliament {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0px;
  width: 100%;
  background-color: transparent;
}

.parliament .party {
  border: none;
  aspect-ratio: 1;
  width: calc((100% / 20) - 4px);
  margin: 2px;
  background-color: #ccc;
  border-radius: 100%;
  filter: brightness(1.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* End of Zgjedhje2025 */

/* Local Election 2025 */
.electionBlockInner {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: space-evenly;
  width: 100%;
  color: #fff;
  gap: 16px;
  padding: 0 16px;
  overflow: hidden;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 16px 16px 16px;
}

.electionBlockInner:has(.open) {
  overflow: visible;
  overflow-x: visible;
  overflow-y: visible;
}

.electionBlockInner .tableInfoWrapper {
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  flex: 1 0 90%;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #eee;
}

.electionBlockInner .tableInfoWrapper table {
  width: 100%;
  flex: 1;
  border-collapse: collapse;
  color: #000;
  font-size: 16px;
}

.electionBlockInner .tableInfoWrapper table thead {
  background-color: #eee;
}

.electionBlockInner .tableInfoWrapper .belowTableData {
  background-color: #eee;
}

.electionBlockInner .tableInfoWrapper table thead tr th,
.electionBlockInner .tableInfoWrapper table thead tr th span {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 16px;
}

.electionBlockInner .tableInfoWrapper table thead tr th:first-child {
  text-transform: uppercase;
  font-weight: 500;
  padding: 8px;
}

.electionBlockInner .tableInfoWrapper table tbody tr:last-child {
  border-bottom: none;
}

.electionBlockInner .tableInfoWrapper table tbody tr:last-child td {
  border-bottom: none;
}

@media (min-width: 768px) {
  .electionBlockInner {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0 16px 16px 16px;
    gap: 16px;
    overflow: visible;
  }

  .electionBlockInner .tableInfoWrapper {
    /* Tables need to take only 50% of the space */
    width: calc(50% - 8px);
    flex: none;
  }
}

@media (min-width: 1250px) {
  .electionBlockInner {
    justify-content: space-evenly;
  }

  .electionBlockInner .tableInfoWrapper {
    width: calc(33.33% - 16px);
    flex: none;
  }
}

.electionBlockInner table th,
.electionBlockInner table td {
  padding: 4px 8px;
  border-bottom: 1px solid #ddd;
}

.electionBlockInner .extraInfo {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  text-transform: uppercase;
  display: none;
}

/* .electionBlockInner table .candidateInfo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0px;
} */
.electionBlockInner table .candidateInfo .nameParty {
  font-size: 16px;
  font-family: "Rooto", sans-serif;
}
.electionBlockInner table .candidateInfo .party {
  color: #888888;
  font-size: 10px;
  font-weight: bold;
}
.electionBlockInner table .candidateVotes {
  font-size: 14px;
  font-weight: normal;
}

.electionBlockInner table .candidatePercentage {
  font-size: 16px;
  font-weight: bold;
}

.electionBlockInner .cover {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.eb25 .ps {
  background-color: #ba09a7;
}

.eb25 .pavarur {
  background-color: #808080;
}

.eb25 .shb {
  background-color: #e3790a;
}

/* End Local Election 2025 */

.turnout {
}
.turnout .mrow {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}

.electionBlockInner .lastUpdate {
  font-size: 14px;
  color: #666;
  font-weight: bold;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.electionBlockInner .belowTableData {
  padding: 8px;
  width: 100%;
}

.electionBlockInner .spacer {
  display: flex;
  flex-grow: 1;
}

table.turnout tbody th,
table.turnout tbody td {
  padding: 0;
  border: none;
}

.turnout tbody .turnoutRow {
  padding: 4px 8px;
}

.turnout tbody .turnoutRow .municipalityName {
  font-weight: normal;
  font-family: "Oswald", sans-serif;
  font-size: 18px;
}

.turnout tbody .turnoutRow:nth-child(even) {
  background-color: #f5f5f5;
}

.electionLogo {
  width: 150px;
  height: auto;
  aspect-ratio: 450/251;
  margin: 32px 0;
}

.municipalityTurnout {
  font-weight: bold;
}

body.lokale2025 .topContainer {
  display: none;
}

body.lokale2025 footer {
  display: none;
}

body.lokale2025 .siteContainer .contentWrapper {
  padding-top: 0;
}

body.lokale2025 .eb25 {
  width: 100vw;
  height: 100vh;
  /* transform: scale(1.1); */
  background: url("https://tchdata.top-media.al/zgjedhjet-lokale-2025/bg.jpg")
    no-repeat center center;
  background-size: cover;
}

body.lokale2025 .eb25 .eb25inner {
  padding-bottom: 220px;
}

body.lokale2025 .eb25 .topElBlock {
  /* display: none; */
  padding-top: 0;
}

body.lokale2025 .eb25 .topElBlock .electionLogo {
  margin-top: 0;
}