@import url("../fonts/fonts.css");


/* Custom CSS */

/* Preloader with Bootstrap Progress Bar
-----------------------------------------------*/
.loader {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
  background-color: rgba(251,253,252,1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader-container {
	width: 600px;
	height: 200px;
	position: absolute;
	top:0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	text-align: center;
}

header, footer{
  z-index: 0 !important;
}


body {
  background-color: #FBFDFC;
  color: #485056;
  font-family: 'poppinsregular';
  font-weight: normal;
  font-style: normal;
}

footer p{
  color: #ffffff !important;
}

.btn{
  padding: 12px;
  height: auto;
  border-radius: 4px;
  outline: 0;
  box-shadow: none;
  border: none;
  font-size: 16px;
  height: 56px;
  font-weight: normal;
  line-height: 1.4;
 }

 .btn-back{
  border: 0;
  padding: 0;
  background-color: transparent;
 }

.btn-primary{
  background-color: #00844B;
}

.btn-dark{
  background-color: #485056;
}


.btn-dark-inv{
  background-color: #eee;
  color: #485056;
  border: solid 1px #485056;
}

.btn-camo{
  background-color: transparent;
  padding: 0;
  color: #FFFFFF;
  box-shadow: none;
  outline: none;
}

.btn-camo::after{
  color: #fff;
}

.btn-camo:hover, .btn-camo:active, .btn-camo.btn-camo:focus{
  box-shadow: none;
  outline: 0;
}



.btn-sm{
  font-size: 16px;
  padding: 10px 0;
  height: auto;
  line-height: normal;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active{
  background-color: #00844B !important;
  box-shadow: 0 0 0 0.2rem rgba(0,132,75,.25);
}

.btn:focus, .btn:active{
  box-shadow: 0 0 0 0.2rem rgba(0,132,75,.25);
}

.btn-outline{
  background-color: #ffffff;
  border: solid 1px #485056;
  color: #485056;
}


.dark-bg{
  background-color: #202020;
}

.bg-primary{
  background-color: #00844B !important;
}

.bg-camo{
  background-color: transparent;
}
.border-dark{
  border-color: #485056;
}

.border-none{
  border: 0px !important;
}

.v-margin{
  padding-top: 80px;
  padding-bottom: 80px;
}

.v-margin-m{
  margin: 50px;
}


.t-margin{
  margin-top: 100px;
}

.v-margin-sm{
  padding-top: 10px;
  padding-bottom: 10px;
}

a.nav-link{
  color: #f9f9f9;
  font-size: 14px;;
  font-family: 'poppinsregular';
  font-weight: normal;
  display: flex;
  align-items: center;
}

a.nav-link.active{
  /* color:#00844B; */
  font-weight: normal;
}

.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #00844B;
  border-color: transparent;
  box-shadow: 0 0 0 0.2rem rgba(0,132,75,.25);
}

a.nav-link span, .nav-link button.dropdown-toggle span{
  display: none;
}


a:active, a:focus, a:hover{
  color: #00844B;
}

.green-bg{
  background-color: #00844B;
}

.bg-img{
  background-image: url("../images/bg.jpg");
  background-size: cover;
  background-position: top left;
  background-repeat: no-repeat;
}

.text-green{
  color: #00844B;
}

.text-mute{
  color: #485056 !important;
}

img.logo {
  height: 45px;
}

 h1 {
  font-size: 50px;
  font-family: 'poppinsbold';
  font-weight: normal;
  font-style: normal; }

 p.lead {
  font-size: 18px;
  line-height: 32px;
 }

 p.mute {
  font-size: 16px;
  color: #919493;
 }

 p.file-size, .item-name, .item-price{
  margin-bottom: 0;
 }

 p.file-size{
  color: #919493;
  font-size: 12px;
 }

 p.item-price::before{
  content: "₦";

 }

 p.election_date{
  color: #919493;
  font-size: 12px;
  margin-bottom: 0;
 }

 p.file-size::before{
  content: "File Size: ";
 }

 p.item-name, .item-price{
  font-size: 18px;
 }

 p{
  color: #485056;
 }

 p.sm{
  font-size: 14px;
 }

 .text-bold{
  font-weight: 700;
 }
/* 
 .login-form{
  margin-top: 60px;
 } */

 .form-control{
  padding: 15px;
  height: auto;
  border: solid 1px #485056 !important;
  line-height: 1.4;
 }

 select{
  height: 60px;
 }


 .form-control:focus,  .form-control:active {
  box-shadow: 0 0 0 0.2rem rgba(0,132,75,.25);
 }

.card{
  padding: 30px;
  background: #FFFFFF;
  box-shadow: 0 3px 6px 0 #EEEEEE;
  border-radius: 10px;
  border: 0px;
}

.card:hover{
  box-shadow: 0 0 0 0.2rem rgba(0,132,75,.25);
  transition: ease-out;
}

.card-img {
  margin:10px 0 40px  0;
}

.card-header{
  background-color: transparent;
  border: 0px;
  padding: 0;
}

.card-header h5{
  font-weight: 700;
}

.card-body {
  padding: 10px 0;
  margin-bottom: 30px;
}

.card-footer {
  background-color: transparent;
  border: 0px;
  padding: 0 0 10px 0;
}

a.card-btn, a.card-btn:hover, a.card-btn:focus{
  text-decoration: none;
  color: #00844B;
}

/* profile page */

.profile-button {
  background: rgb(99, 39, 120);
  box-shadow: none;
  border: none
}

.profile-button:hover {
  background: #682773
}

.profile-button:focus {
  background: #682773;
  box-shadow: none
}

.profile-button:active {
  background: #682773;
  box-shadow: none
}

.back:hover {
  color: #682773;
  cursor: pointer
}

.labels {
  font-size: 11px
}

.add-experience:hover {
  background: #BA68C8;
  color: #fff;
  cursor: pointer;
  border: solid 1px #BA68C8
}

.labels{
  color: #485056;
  font-size: 14px;;
}

input[type="file"]{
  padding: 12px;
}

.top-parties-card {
  padding: 20px;
  background: #FFFFFF;
  box-shadow: 0 1px 5px 0 rgba(122,124,127,0.20);
  border-radius: 4px;
}
.top-parties-card:hover{
  box-shadow: 0 1px 5px 0 rgba(122,124,127,0.20);
}

.top-parties-card .card-title{
  font-size: 16px;
  font-family: 'poppinssemibold';
  font-weight: normal;
}
.top-parties-card .card-body {
  margin: 0;
  padding: 0;
}

.top-party-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: dashed 1px #919493;
  padding: 20px 10px;
  border-radius: 2px;
}

p.party-name, p.party-score {
  color: #00844B;
  margin: 5px;
}

.party-name {
  text-transform: uppercase;
  font-family: 'poppinssemibold';
  font-weight: normal;
  font-size: 14px;
}

.party-score {
  font-size: 18px;
  margin: 0;
}

.card.voter-stats{
  padding: 20px;
  box-shadow: 0 1px 5px 0 rgba(122,124,127,0.20);
  border-radius: 4px;
}

.card.voter-stats.invert{
  background-color: #00844B;
}

.card.voter-stats.invert p{
  color: #fff !important;
}

.card.voter-stats p{
  margin: 0px;
  font-family: 'poppinsmedium';
  font-weight: normal;
}

.card.voter-stats .card-img{
  margin-bottom: 28px;
}

.card.voter-stats .card-title{
  margin-bottom: 15px;
}

.card.voter-stats .card-body{
  margin-bottom: 0px;
  padding: 0;
}

.card.voter-stats .card-title p{
  text-transform: uppercase;
  font-size: 14px;
  color: #919493;
}

.card.voter-stats .card-body p{
  text-transform: uppercase;
  font-size: 21px;
  color: #485056;
  margin: 0;
}


.camo{
  padding:0 15px;
  border-radius: 2px;
  box-shadow: none;
  border: solid 1px #485056;
}

.camo:hover{
  box-shadow: none;
}

select.form-control.search-bar{
  border: 0 !important;
  border-radius: 0;
  padding: 12px 0;
 }

 select.form-control.search-bar:hover, select.form-control.search-bar:active, select.form-control.search-bar:focus{
  box-shadow: none;
 }

 .card.camo .row .filter-opt{
  /* border: none; */
  border-right: solid 1px #485056;
  padding: 0 10px;
 }
 .card.camo .row .filter-opt:last-child{
  border: none;
 }

td{
  justify-content: center;
}

 .p-logo{
  height: 40px;
  width: 40px;
  object-fit: contain;
  display: block;
 }

.p-logo img{
  width: 100%;
}

.table td.acronym{
  text-transform: uppercase;
}


/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1050; /* Above the sticky header (1020) and fixed footer (1030) */
  padding: 24px 16px;
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content.copmare-form {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  max-width: 600px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}

#filterModalForm .modal-content.copmare-form {
  transform: translateY(-100%);
  transition: transform 0.35s ease;
}

#filterModalForm.is-open .modal-content.copmare-form {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  #filterModalForm .modal-content.copmare-form {
    transform: none;
    transition: none;
  }
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.card.compare-camo{
  background-color: #f6f6f6;
  box-shadow: 0 1px 5px 0 rgba(122,124,127,0.20);
}
.card.cart-item{
  padding: 15px 20px;
  box-shadow: 0 1px 5px 0 rgba(122,124,127,0.20);
  margin-bottom: 20px;
}
.card.cart-item .card-body{
  margin-bottom: 0;
  padding: 0;
}

.card.cart-item:hover{
  box-shadow: 0 1px 5px 0 rgba(122,124,127,0.20);
}

.login-btn{
  padding: 10px 30px;
  border: solid 1px #fff;
  border-radius: 2px;
  color: #ffffff;
}

.header-row{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.cta-row{
  justify-content: flex-end;
}

.header-row .cta-row .btn{
  display: inline-flex;
  align-items: center;
  padding: 5px 15px;
  font-size: 13px;
  margin-bottom: 20px;
  width: max-content;
  height: 50px;
}
.header-row .cta-row .btn img{
  width: 16px;
  margin-right: 10px;
}

/* Search results page */
.results-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid #E6EAE8;
}

.results-title {
  font-family: 'poppinsbold';
  margin-bottom: 4px;
}

.results-count {
  color: #00844B;
  font-size: 16px;
  margin-bottom: 14px;
}

.results-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  padding: 6px 14px;
  font-size: 13px;
  color: #00844B;
  background-color: rgba(0, 132, 75, 0.08);
  border-radius: 999px;
}

.results-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.results-new-search {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 20px;
  box-sizing: border-box;
  color: #00844B;
  background-color: #ffffff;
  border: 1px solid #00844B;
  border-radius: 4px;
}

.results-new-search:hover,
.results-new-search:focus {
  color: #ffffff;
  background-color: #00844B;
}

.results-new-search img {
  width: 18px;
}

.results-page {
  padding-bottom: 96px;
}

.results-search {
  position: relative;
  width: 380px;
}

@media (max-width: 767px) {
  .results-actions {
    width: 100%;
    margin-left: 0;
  }

  .results-search {
    flex: 1;
    width: auto;
    min-width: 0;
  }
}

.results-search img {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 18px;
  transform: translateY(-50%);
  opacity: .6;
  pointer-events: none;
}

.results-search .form-control {
  height: 56px;
  padding-left: 46px;
  box-sizing: border-box;
  font-size: 16px;
  border: 1px solid #DDE3E0;
  border-radius: 4px;
}

.results-search .form-control:focus {
  border-color: #00844B;
  box-shadow: 0 0 0 0.2rem rgba(0, 132, 75, .15);
}

.results-no-match {
  padding: 24px 0;
  text-align: center;
}

.card.election-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px;
  color: #485056;
  text-decoration: none;
}

.card.election-card:hover,
.card.election-card:focus {
  color: #485056;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 132, 75, 0.15);
}

.election-type-badge {
  align-self: flex-start;
  padding: 4px 12px;
  margin-bottom: 16px;
  font-size: 12px;
  color: #ffffff;
  background-color: #00844B;
  border-radius: 999px;
}

.election-card-title {
  font-family: 'poppinssemibold';
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.election-card-date {
  font-size: 13px;
  color: #919493;
  margin-bottom: 24px;
}

.election-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  font-size: 14px;
  color: #00844B;
  border-top: 1px solid #EEF1EF;
}

.election-card-cta img {
  width: 16px;
}

.card.results-empty {
  padding: 48px 30px;
  text-align: center;
}

/* Add additional custom CSS styles as needed */



/* Bootstrap Overrides */
.container {
  max-width: 1500px;
}

.table td{
  vertical-align: middle;
  border-top: 0;
  border-bottom: 0;
  font-family: 'poppinsregular';
  font-weight: normal;

}

.table th {
  vertical-align: middle;
  border-bottom: 1px solid #919493;
  border-bottom: 1px solid #919493;
  font-family: 'poppinssemibold';
  font-weight: normal;
}

.dropdown-menu {
  border: 0;
  box-shadow: 0 1px 5px 0 rgba(122,124,127,0.20);
  margin-top: 5px;
}

.dropdown-item{
  color: #485056;
  padding: 15px;
}

.breadcrumb{
  background-color: transparent;
  padding: 0;
}

.breadcrumb-item a{
  color: #00844B;
}

/* Bootstrap Overrides */




/* Media Query for responsiveness */
@media (max-width: 1200px) {

  .container {
    max-width: 1100px;
  }
}

@media (max-width: 1025px) {
  .container {
    max-width: 900px;
  }
  .btn-sm {
    font-size: 13px;
    padding: 12px 0;
}
.h-custom {
  height: 100vh !important;
  }

	h1 {
    font-size: 26px;
	}
}

@media (max-width: 768px) {
  .container {
    max-width: 700px;
  }

  a.nav-link span, .nav-link button.dropdown-toggle span{
    display: inline;
  }

  a.nav-link img, .nav-link button.dropdown-toggle img{
    display: none;
  }
  .card.camo .row .filter-opt{
    border-bottom: solid 1px #485056;
  }

  .card.camo .row .filter-opt:nth-child(3){
    border-right: 0;
  }
  .card.camo .row .filter-opt:nth-child(4){
    border-bottom: 0;
  }
  .btn, .form-control{
    font-size: 13px;
    padding: 10px;
  }
  a, p {
    font-size: 14px !important;
  }
  .btn img{
    height: 20px;
  }
  .header-row .title{
    margin-bottom: 20px;
  }
  .header-row{
    flex-direction: column;
  }
}


@media (max-width:500px) {
  .card.camo .row .filter-opt{
    border-right: 0;
    border-bottom: 1;
  }
  .card.camo .row .filter-opt:nth-child(4){
    border-bottom: dashed 1px #485056;
  }
  img.logo {
    height: 30px;
}
.v-margin {
  padding-top: 50px;
  padding-bottom: 50px;
}
.navbar-dark .navbar-toggler {
  color: rgba(255,255,255,1);
  padding: 5px;
}

.header-row .cta-row .btn{
  justify-content: center;
  padding: 10px;
  font-size: 15px;
  margin-bottom: 20px;
  width: 100%;
}

}
  /* Add responsive CSS here */
