@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap');

* {
	font-family: 'Open Sans', sans-serif;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--grey: #F1F0F6;
	--dark-grey: #8D8D8D;
	--light: #fff;
	--dark: #000;
	--green: #28a745;
  --jlp: #28a745;
	--light-green: #E3FFCB;
	--blue: #1775F1;
	--light-blue: #D0E4FF;
	--dark-blue: #0C5FCD;
	--red: #FC3B56;
	--orange: #f26900;
  --pnp: #f26900;
}

html {
	overflow-x: hidden;
}

.error-message {
    text-align: center;
    padding: 2rem;
    background: #fff8f8;
    border: 1px solid #ffcccc;
    border-radius: 8px;
    max-width: 500px;
    margin: 2rem auto;
}

.error-message h3 {
    color: #d9534f;
}

.error-message button {
    background: #d9534f;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 1rem;
}

.error-message button:hover {
    background: #c9302c;
}

body {
  margin: 0;
  padding: 0;
  background: linear-gradient(125deg, var(--dark-grey) 0%, var(--light) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

a {
	text-decoration: none;
}

li {
	list-style: none;
}

header {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 10px;
  z-index: 10;
  clear: both;
}

.logo img {
  width: 180px; /* Adjust as needed */
  height: auto; /* Maintain aspect ratio */
  display: block; /* Ensure proper spacing */
  
}

.nav {
  display: flex;
}

.nav li {
  list-style: none;
  margin: 0 10px;
}

.nav li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.3s;
}

.nav li:hover a {
  color: var(--primary);
}

.search {
  position: relative;
  width: 300px;
  height: 40px;
}

.search input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 2555, 0.5);
  outline: none;
  border-radius: 4px;
  padding: 0 10px 0 45px !important;
  backdrop-filter: blur(10px);
}

.search input::placeholder {
  color: #ffffff;
}

.search .fa-search {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 17px;
  padding-right: 18px;
  color: #ffffff;
  border-right: 1px solid #ffffff;
}

#consituency-results-area{
				    width: 100%;
    max-width: 100% !important;
    height: auto;
    display: block;
}


.pnp .votes-chart::before {
    border-top-color: var(--orange);
    transform: rotate(31deg);
}

.pnp .votes-chart span {
    color: var(--orange);
}

/* CONTENT */
#content {
	position: relative;
	width: 100%;
	left: 0;
	transition: all .3s ease;
	border-radius: 10px 0 0 0;
	min-height: 100vh;
}

/* Ensures the heading and dropdown stay on the same line */
.content-data .head {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Modern Dropdown Styling */
.constituency-selector {
    padding: 10px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    display: flex;
    width: auto;
    font-size: 14px;
    background: white;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none; /* Removes default arrow in some browsers */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 36px; /* Space for custom arrow */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    min-width: 220px; /* Prevents dropdown from being too narrow */
}

/* Hover & Focus Effects */
.constituency-selector:hover {
    border-color: var(--blue);
}

.constituency-selector:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(24, 117, 240, 0.1);
}

/* Dropdown Options Styling */
.constituency-selector option {
    padding: 10px;
    background: white;
    color: #333;
}

/* Darker background on hover for options */
.constituency-selector option:hover {
    background: #f5f5f5;
}

/* NAVBAR */
header {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 10px;
  z-index: 10;
}

.logo img {
  width: 180px; /* Adjust as needed */
  height: auto; /* Maintain aspect ratio */
  display: block; /* Ensure proper spacing */
  
}

.nav {
  display: flex;
}

.nav li {
  list-style: none;
  margin: 0 10px;
}

.nav li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.3s;
}

.nav li:hover a {
  color: var(--primary);
}

/* Party Cards Styling */
.info-data {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.info-data .card {
  flex: 1;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.party-header {
  display: flex;
  justify-content: space-between; /* This pushes logo left and seats right */
  align-items: center;
  margin-bottom: 15px;
}

.party-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.party-seats {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}

.green {
  color: #28a745; /* JLP Green */
}

.orange {
  color: #fd7e14; /* PNP Orange */
}

.progress-container {
  margin-top: 15px;
}

.seats-label {
  display: block;
  font-size: 14px;
  color: #666;
  margin-top: 5px;
}

/* Progress bars */
.progress {
  display: block;
  height: 10px;
  width: 100%;
  border-radius: 10px;
  background: #f1f0f6;
  overflow-y: hidden;
  position: relative;
}

.progress::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--value, 0%);
  background: var(--progress-color, #28a745); /* Default to JLP green */
  transition: width 0.3s ease;
}
.gray {
  color: #6c757d; /* Gray color for Other */
}

.other::before {
  --progress-color: #6c757d; /* Gray color for Other */
}

/* Specific party colors */
.jlp::before {
  --progress-color: #28a745;
}

.pnp::before {
  --progress-color: #fd7e14;
}

.ind1::before {
  --progress-color: #6c757d;
}

.ind2::before {
  --progress-color: #adb5bd;
}
@media (max-width: 600px) {
  .search {
    display: none;
  }
}
/* MAIN */
main {
	width: 100%;
  float: left;
  display: flex;
  flex-direction: column;
  position: relative;
	padding: 0 20px 20px 20px;
}
main .title {
	font-size: 28px;
	font-weight: 600;
	margin-bottom: 10px;
}
main .breadcrumbs {
	display: flex;
	grid-gap: 6px;
}
main .breadcrumbs li,
main .breadcrumbs li a {
	font-size: 14px;
}
main .breadcrumbs li a {
	color: var(--blue);
}
main .breadcrumbs li a.active,
main .breadcrumbs li.divider {
	color: var(--dark-grey);
	pointer-events: none;
}
main .info-data {
	margin-top: 36px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	grid-gap: 20px;
}

main .info-data-summary {
	margin-top: 36px;
	display: flex;
	flex-direction: column;
}

main .info-data-summary .card {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
	padding: 20px 0;
	border-radius: 10px;
  text-align: center;
  align-items: center !important;
  vertical-align: middle !important;
	background: var(--light);
	box-shadow: 4px 4px 16px rgba(0, 0, 0, .05);
}

main .info-data-summary .card table {
  border: none;
  width: 100%;
  max-width: 100%;
  margin: 0 !important;
  text-align: center;
}

/* election news styling from previous design */
div.latest-news-article {
	width: 100%;
	text-align: justify;
  display: flex;
  flex-direction: column;
  align-items: center;
  vertical-align: middle;
  padding:20px ;
}

div.left {
  width: 100%;
  max-width: 60%;
  float: left;
  display: block;
  position: relative;
}

div.left i {
    background-color: #f5f5f5;
    display: block;
    padding: 5px;
    text-align: justify;
    margin-bottom: 5px;
}

div.main.row {
  
    width: 100%;
    float: left;
    display: flex;
    flex-direction: row;
    position: relative;
    padding: 20px;
    gap: 25px;
    row-gap: 30px;

}

div.main.row img {
  width: 100%;
}

div.main.row div.left h1 {
  color: black !important;
}
div.main.row div.right h1 {
  text-align: center;
}

div.left .card, div.right .card {
	padding: 20px;
	border-radius: 10px;
	background: var(--light);
	box-shadow: 4px 4px 16px rgba(0, 0, 0, .05);
}

div.right {
  width: 100%;
  max-width: 30%;
  float: right;
  display: block;
  position: relative;
}

div.latest-news-article > a {text-align: center;}

div.latest-news-article > a {
	width: 100%;
  max-width: 300px;
  display: block;
  margin: 0 auto;
}

div.latest-news-article .sm_image {
  width: 100%;
  max-width: 400px;
}

div.article-date {
	color: #cfcdc6;
	width: 102px;
	height: 104px;
	border-bottom: 1px solid #cfcdc6;
	margin: 0 auto 10px auto; /*top:38px*/
	text-align: center;
}

.article-author {
	color: #9b0b08;
}

.topNews {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.n_title {
  font-size: 0.9rem;
  font-weight: bold;
  text-align: center;
  margin-right: 26px;
  margin-bottom: 10px;
}

.newsCard {
  position: relative;
  display: flex;
  gap: 15px;
  background: #f5f5f5;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  flex-direction: row;
}

.read-news-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  clear: both;
  background-color: #00a4ff;
  color: white;
  padding: 5px 16px;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 13px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.read-news-btn:hover {
  background-color: #255ecb;
}

.newsCard .img img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}

.newsCard .text .title p {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: #222;
}

.newsCard .text .description p {
  font-size: 0.9rem;
  text-align: left;
  color: #555;
  margin: 5px 0 0;
}

main .info-data .card {
	padding: 20px;
	border-radius: 10px;
	background: var(--light);
	box-shadow: 4px 4px 16px rgba(0, 0, 0, .05);
}
main .card .head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}
main .card .head h2 {
	font-size: 24px;
	font-weight: 600;
}
main .card .head p {
	font-size: 14px;
}
main .card .head .icon {
	font-size: 20px;
	color: var(--green);
}
main .card .head .icon.down {
	color: var(--red);
}
main .card .progress {
	display: block;
	margin-top: 24px;
	height: 10px;
	width: 100%;
	border-radius: 10px;
	background: var(--grey);
	overflow-y: hidden;
	position: relative;
	margin-bottom: 4px;
}
main .card .progress::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	background: var(--blue);
	width: var(--value);
}
main .card .pnp::before {
	background: var(--orange);
}
main .card .jlp::before {
	background: var(--green);
}

main .card .label {
	font-size: 14px;
	font-weight: 700;
}
main .data {
	display: flex;
	grid-gap: 20px;
	margin-top: 20px;
	flex-wrap: wrap;
}
main .data .content-data {
	flex-grow: 1;
	flex-basis: 400px;
	padding: 20px;
	background: var(--light);
	border-radius: 10px;
	box-shadow: 4px 4px 16px rgba(0, 0, 0, .1);
}
main .content-data .head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
}
main .content-data .head h3 {
	font-size: 20px;
	font-weight: 600;
}
main .content-data .head .menu {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}
main .content-data .head .menu .icon {
	cursor: pointer;
}

@media (max-width: 991px) {
  header {
    padding: 20px 50px;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    clear: both;
  }

  header .nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 10px 0;
  }

  .banner {
    padding: 100px 50px;
  }

  .banner .play {
    left: 50px;
    font-size: 1em;
  }

  .play img {
    margin-right: 10px;
    max-width: 40px;
  }

  .trailer video {
    max-width: 90%;
  }
}

@media (max-width: 600px) {
  header {
    padding: 20px;
  }

  .search {
    position: relative;
    width: 250px;
    height: 40px;
  }

  .banner {
    padding: 120px 30px 100px;
    flex-direction: column;
  }

  .banner .content {
    margin-top: 18%;
  }

  .banner .content h4 {
    font-weight: 300;
    font-size: 2px;
  }

  .banner .content p {
    font-size: 10px;
    font-weight: 200;
    line-height: 1.2em;
  }

  .banner .carousel-box {
    max-width: 450px;
    max-height: 300px;
  }

  .carousel {
    position: relative;
    height: 280px;
    perspective: 1500px;
  }

  .carousel .carousel-item {
    margin-top: 10%;
    width: 150px;
    cursor: pointer;
  }

  .carousel .carousel-item img {
    max-width: 140px;
    border-radius: 10px;
    transform: translateX(8px) translateY(-100px);
    object-fit: cover;
    object-position: center;
  }
}

.search-container {
	display: flex;
	align-items: center;
}

.search-icon {
	font-size: 24px;
	color: var(--dark-grey);
	cursor: pointer;
	padding: 8px;
}

.search-expand {
	display: none;
	gap: 10px;
}

.search-container.active .search-expand {
	display: flex;
}

.search-expand input, .search-expand select {
	padding: 8px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
}
/* Constituency display */
.constituency-display {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.candidate-card {
  flex: 1;
  min-width: 200px; /* Reduced to fit more cards */
  background: var(--light);
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Independent candidate specific styling */
.candidate-card.ind1 .votes-chart::before,
.candidate-card.ind2 .votes-chart::before {
    border-top-color: #6c757d; /* Gray color for independents */
}

.candidate-card.ind1 .votes-chart span,
.candidate-card.ind2 .votes-chart span {
    color: #6c757d;
}

.candidate-card.ind1 .party-logo img,
.candidate-card.ind2 .party-logo img {
    filter: grayscale(100%);
}

/* Different shades for multiple independents */
.candidate-card.ind1 {
    border-left: 4px solid #6c757d; /* Darker gray */
}
.candidate-card.ind2 {
    border-left: 4px solid #adb5bd; /* Lighter gray */
}

.candidate-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.candidate-header > h4{
  font-size: 16px;
  font-weight: bold;
}

.party-logo img {
  height: 30px;
  width: auto;
}



.candidate-image img {
  width: 100%;
  height: 200px;
  object-fit: contain; /* Avoids zoom entirely */
  background-color: #dbd9d9; /* Fills gaps */
  border-radius: 8px;
}




.votes-chart {
  height: 200px;
  margin-top: 15px;
}

.constituency-chart-pnp{
	color: #fd7e14; /* PNP orange */
}
/* Voting stats */
.voting-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  padding: 15px;
  background: var(--light);
  border-radius: 10px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 150px;
}

.stat-item span {
  font-size: 14px;
  color: var(--dark-grey);
}

.stat-item strong {
  font-size: 18px;
  color: var(--dark);
}
main .content-data .head .menu-link {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	width: 140px;
	background: var(--light);
	border-radius: 10px;
	box-shadow: 4px 4px 16px rgba(0, 0, 0, .1);
	padding: 10px 0;
	z-index: 100;
	opacity: 0;
	pointer-events: none;
	transition: all .3s ease;
}
main .content-data .head .menu-link.show {
	top: 100%;
	opacity: 1;
	pointer-events: visible;
}
main .content-data .head .menu-link a {
	display: block;
	padding: 6px 16px;
	font-size: 14px;
	color: var(--dark);
	transition: all .3s ease;
}
main .content-data .head .menu-link a:hover {
	background: var(--grey);
}
main .content-data .chart {
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	scrollbar-width: none;
}
main .content-data .chart::-webkit-scrollbar {
	display: none;
}

main .chat-box {
	width: 100%;
	max-height: 360px;
	overflow-y: auto;
	scrollbar-width: none;
}
main .chat-box::-webkit-scrollbar {
	display: none;
}
main .chat-box .day {
	text-align: center;
	margin-bottom: 10px;
}
main .chat-box .day span {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 20px;
	background: var(--light-blue);
	color: var(--blue);
	font-size: 12px;
	font-weight: 600;
}
main .chat-box .msg img {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	object-fit: cover;
}
main .chat-box .msg {
	display: flex;
	grid-gap: 6px;
	align-items: flex-start;
}
main .chat-box .profile .username {
	font-size: 14px;
	font-weight: 600;
	display: inline-block;
	margin-right: 6px;
}
/* Add these styles to your CSS */
.party-card.expanded {
  padding: 20px;
  height: auto;
  min-height: 300px;
  overflow-y: auto;
}

.party-card {
  transition: all 0.3s ease;
  cursor: pointer;
}

.party-card.expanded {
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.party-header {
  margin-bottom: 20px;
  text-align: center;
}

.candidates-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}

.candidate-item {
  background: rgba(255, 255, 255, 0.7);
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.candidate-item .head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.candidate-item .head h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.candidate-item .head p {
  font-size: 12px;
  color: var(--dark-grey);
}

.candidate-item .logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.candidate-item .votes-display {
  margin-top: 8px;
}

.candidate-item .progress {
  height: 8px;
  margin-bottom: 4px;
}

.candidate-item .label {
  font-size: 12px;
  color: var(--dark-grey);
}

main .chat-box .profile .time {
	font-size: 12px;
	color: var(--dark-grey);
}
main .chat-box .chat p {
	font-size: 14px;
	padding: 6px 10px;
	display: inline-block;
	max-width: 400px;
	line-height: 150%;
}
main .chat-box .msg:not(.me) .chat p {
	border-radius: 0 5px 5px 5px;
	background: var(--blue);
	color: var(--light);
}
main .chat-box .msg.me {
	justify-content: flex-end;
}
main .chat-box .msg.me .profile {
	text-align: right;
}
main .chat-box .msg.me p {
	background: var(--grey);
	border-radius: 5px 0 5px 5px;
}
main form {
	margin-top: 6px;
}
main .form-group {
	width: 100%;
	display: flex;
	grid-gap: 10px;
}
main .form-group input {
	flex-grow: 1;
	padding: 10px 16px;
	border-radius: 5px;
	outline: none;
	background: var(--grey);
	border: none;
	transition: all .3s ease;
	width: 100%;
}
main .form-group input:focus {
	box-shadow: 0 0 0 1px var(--blue), 0 0 0 4px var(--light-blue);
}
main .btn-send {
	padding: 0 16px;
	background: var(--blue);
	border-radius: 5px;
	color: var(--light);
	cursor: pointer;
	border: none;
	transition: all .3s ease;
}
main .btn-send:hover {
	background: var(--dark-blue);
}
/* MAIN */
/* CONTENT */

/*/////////////---------------------------- ADS */


div.ad-banner {
	width: 100%;
	height: auto;
	text-align: center;
	/* margin-bottom: 50px; */
}

div.ad-banner > p > img{
	width: 100%;
	max-width: 728px;
	height: auto;
}

div.ad-medium-rectangle {
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 28px 0;
}

div.ad-medium-rectangle img {
    width: 100%;
    height: auto;
}

div.poll-ad {
	/*max-width: 320px;*/
    width: 35%;
    height: auto;
    float: right;
    border-left: 1px solid #d0d7df;
    padding: 75px 26px;
    margin: 40px 0;
    box-sizing: border-box;
}

	.desktop {
		display: block !important;
	}
	.mobile {
		display: none !important;
	}


.card .head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}

.card .logo {
  position: absolute;
  top: 0;
  right: 0;
  padding: 8px;
}

.votes-chart {
    position: relative;
    height: 150px;
}

.vote-count {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: bold;
    z-index: 10;
}

/* JLP specific styling */
.candidate-card:first-child .vote-count {
    color: #28a745; /* JLP green */
}

/* PNP specific styling */
.candidate-card:last-child .vote-count {
    color: #fd7e14; /* PNP orange */
}
 /* Radial chart placeholders */
        .votes-chart {
            height: 150px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

         .votes-chart p {
            text-align: center;
            font-weight: bold;
            margin-top: 10px;
         }

          .votes-chart h4 {
              font-weight: bold;
              font-size: 20px;
              margin-top: 5px;
              padding-top: 0;
          }
        
        .votes-chart::before {
            content: "";
            width: 120px;
            height: 120px;
            border-radius: 50%;
            border: 15px solid #eee;
            border-top-color: var(--gray);
            position: absolute;
            transform: rotate(65deg);
        }

      .jlp .votes-chart::before {
            content: "";
            width: 120px;
            height: 120px;
            border-radius: 50%;
            border: 15px solid #eee;
            border-top-color: var(--green);
            position: absolute;
            transform: rotate(-35deg);
        }
        
        .pnp .votes-chart::before {
            border-top-color: var(--orange);
            transform: rotate(31deg);
        }
        
        .votes-chart span {
            font-size: 24px;
            font-weight: bold;
            z-index: 1;
        }
        
        .jlp .votes-chart span {
            color: var(--green);
        }
        
        .pnp .votes-chart span {
            color: var(--orange);
        }


.card .logo img {
  height: 25px;
  width: auto;
  object-fit: contain;
}



@media screen and (max-width: 768px) {
	#content {
		position: relative;
		/* width: calc(100% - 60px); */
		transition: all .3s ease;
	}
	nav .nav-link,
	nav .divider {
		display: none;
	}

  div.main.row {
    flex-direction: column !important;
    gap: 20px !important;
    row-gap: 0 !important;
    padding: 0 !important;
  }

  div.left, div.right {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media only screen  and (max-device-width: 720px), only screen and (max-width: 720px){
  
	.desktop {
		display: none !important;
	}
	.mobile {
		display: block !important;
	}
}
