/**
* Template Name: iPortfolio - v3.7.0
* Template URL: https://bootstrapmade.com/iportfolio-bootstrap-portfolio-websites-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400&family=Jost:wght@400&display=swap');

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: 'Archivo', sans-serif;
  color: #272829;
}

a {
  color: #149ddd;
  text-decoration: none;
}



a:hover {
  color: #37b3ed;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Jost', sans-serif;
}

#map { 
  width: 100%;
  height : 90%;
}

.offcanvas{
  z-index: 10000;
}

#constituencyInformationPanel{
  background-image: url(../images/road.jpg);
}

body.modal-open header{
  -webkit-filter: blur(1px);
  -moz-filter: blur(1px);
  -o-filter: blur(1px);
  -ms-filter: blur(1px);
  filter: blur(1px);
}

body.modal-open #mainTabContent{
  -webkit-filter: blur(1px);
  -moz-filter: blur(1px);
  -o-filter: blur(1px);
  -ms-filter: blur(1px);
  filter: blur(1px);
}


/* ---------- Accordion ----------*/
.accordion-button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  background-color: #fff;
  border: 0;
  border-radius: 0;
  overflow-anchor: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border-radius 0.15s ease;
}/*
@media (prefers-reduced-motion: reduce) {
  .accordion-button {
    transition: none;
  }
}*/
.accordion-button:not(.collapsed) {
  color: #0c63e4;
  background-color: #e7f1ff;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}
.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(-180deg);
}
.accordion-button::after {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: auto;
  content: "";
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-size: 1.25rem;
  transition: transform 0.2s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .accordion-button::after {
    transition: none;
  }
}
.accordion-button:hover {
  z-index: 2;
}
.accordion-button:focus {
  z-index: 3;
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.accordion-header {
  margin-bottom: 0;
}

.accordion-item {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.125);
}/*
.accordion-item:first-of-type {
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}
.accordion-item:first-of-type .accordion-button {
  border-top-left-radius: calc(0.25rem - 1px);
  border-top-right-radius: calc(0.25rem - 1px);
}
.accordion-item:not(:first-of-type) {
  border-top: 0;
}
.accordion-item:last-of-type {
  border-bottom-right-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}
.accordion-item:last-of-type .accordion-button.collapsed {
  border-bottom-right-radius: calc(0.25rem - 1px);
  border-bottom-left-radius: calc(0.25rem - 1px);
}
.accordion-item:last-of-type .accordion-collapse {
  border-bottom-right-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}*/

.accordion-body {
  padding: 1rem 1.25rem;
}

.accordion-flush .accordion-collapse {
  border-width: 0;
}
.accordion-flush .accordion-item {
  border-right: 0;
  border-left: 0;
  border-radius: 0;
}
.accordion-flush .accordion-item:first-child {
  border-top: 0;
}
.accordion-flush .accordion-item:last-child {
  border-bottom: 0;
}
.accordion-flush .accordion-item .accordion-button {
  border-radius: 0;
}


.collapse:not(.show) {
  display: none;
}

.collapsing {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}
@media (prefers-reduced-motion: reduce) {
  .collapsing {
    transition: none;
  }
}
.collapsing.collapse-horizontal {
  width: 0;
  height: auto;
  transition: width 0.35s ease;
}
@media (prefers-reduced-motion: reduce) {
  .collapsing.collapse-horizontal {
    transition: none;
  }
}

/* ---------- Toast ----------*/
.message {
  visibility: hidden; /* Hidden by default. Visible on click */
  color: #fff; /* White text color */
  text-align: center; /* Centered text */
  border-radius: 2px; /* Rounded borders */
  padding: 16px; /* Padding */
  position: absolute; /* Sit on top of the screen */
  transform: translate(-50%, 0);
  max-width: 80vw; /* Set a default minimum width */
  margin-left: auto;
  margin-right: auto;
  left: 50%;

  z-index: 40000; /* Add a z-index if needed */
  bottom: 30px; /* 30px from the bottom */
}

.message.show {
 
  visibility: visible; /* Show the snackbar */
  /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
  However, delay the fade out process for 2.5 seconds */
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

.message.install {
  visibility: visible;
  animation: fadein 0.5s, fadeout 0.5s 9s;
}

.message.success{
  background-color: #55a70e;
}

.message.sync{
  background-color: #2c3e99;
}

.message.refresh{
  background-color: #1b776b;
}

.message.failed{
  background-color: #d72013;
}

.message.offline{
  background-color: #5A5A5A;
}


/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

.toast {
  width: 350px;
  max-width: 100%;
  font-size: 0.875rem;
  pointer-events: auto;
  background-color: rgba(255, 255, 255, 0.85);
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
}
.toast.showing {
  opacity: 0;
}
.toast:not(.show) {
  display: none;
}

.toast-container {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  max-width: 100%;
  pointer-events: none;
}
.toast-container > :not(:last-child) {
  margin-bottom: 0.75rem;
}

.toast-header {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  color: #6c757d;
  background-color: rgba(255, 255, 255, 0.85);
  background-clip: padding-box;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  border-top-left-radius: calc(0.25rem - 1px);
  border-top-right-radius: calc(0.25rem - 1px);
}
.toast-header .btn-close {
  margin-right: -0.375rem;
  margin-left: 0.75rem;
}

.toast-body {
  padding: 0.75rem;
  word-wrap: break-word;
}


/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  transition: all ease-in-out 0.5s;
  z-index: 9998;
  transition: all 0.5s;
  padding: 0 15px;
  background: #040b14;
  overflow-y: hidden;
}
#header .profile img {
  margin: 15px auto;
  display: block;
  width: 120px;
}
#header .profile h1 {
  font-size: 24px;
  margin: 0;
  padding: 0;
  font-weight: 600;
  -moz-text-align-last: center;
  text-align-last: center;
  font-family: "Poppins", sans-serif;
}
#header .profile h1 a, #header .profile h1 a:hover {
  color: #fff;
  text-decoration: none;
}
#header .profile .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #212431;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}
#header .profile .social-links a:hover {
  background: #149ddd;
  color: #fff;
  text-decoration: none;
}

#main {
  margin-left: 300px;
}


@media (max-width: 1199px) {
  #header {
    left: -300px;
    z-index: 9998;
  }

  #main {
    margin-left: 0;
  }
}
/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */

.nav-menu {
  padding: 10px 0 0 0;
}
.nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-menu > ul > li {
  position: relative;
  white-space: nowrap;
}
.nav-menu a, .nav-menu a:focus {
  display: flex;
  align-items: center;
  color: #a8a9b4;
  padding: 12px 15px;
  margin-bottom: -10px;
  transition: 0.3s;
  font-size: 18px;
  
}
.nav-menu a i, .nav-menu a:focus i {
  font-size: 24px;
  padding-right: 8px;
  color: #6f7180;
}
.nav-menu a:hover, .nav-menu .active, .nav-menu .active:focus, .nav-menu li:hover > a {
  text-decoration: none;
  color: #fff;
}
.nav-menu a:hover i, .nav-menu .active i, .nav-menu .active:focus i, .nav-menu li:hover > a i {
  color: #149ddd;
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  right: 25px;
  top: 25px;
  z-index: 9999;
  border: 0;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  background-color: #149ddd;
  color: #fff;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  border-radius: 50px;
  cursor: pointer;
}

.mobile-nav-active {
  overflow: hidden;
}
.mobile-nav-active #header {
  left: 0;
}

#driverReportButton{
  position: fixed;
  left: 50%;
  bottom: 10px;
  transform: translate(-50%, -50%);
  margin: 0 auto;
  z-index: 9990;
  border: 0;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  background-color: #149ddd; 
  color: #fff;
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  border-radius: 50px;
  cursor: pointer;
}


#mapDownloadButton{
  animation: fadein 1s;
  position: fixed;
  right: 25px;
  bottom: 42px;
  transform: translate(-50%, -50%);
  margin: 0 auto;
  z-index: 9990;
  border: 0;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  background-color: #ffffff; 
  color: rgb(27, 75, 209);
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  border-radius: 50px;
  cursor: pointer;
}

#mapDownloadButton:hover {
  background-color: #0c0231; 
  color: rgb(3, 165, 194);
}

/* Modal */
.modal-header{
  border-color :#050d18;
  background-color: #050d18;
  color : white;
}

.modal-body{
  border-color :#050d18;
  background-color: #050d18;
  color : white;
}

.modal-footer{
  border-color :#050d18;
  background-color: #050d18;
  color : white;
}

.modal-content{
  background-color: #050d18;
}

/*--------------------------------------------------------------
# Leaderboard Section
--------------------------------------------------------------*/

#fstPlaceRow > td{
  padding-top : 1.5rem;
  padding-bottom: 1.5rem;
  background-color: #1cb6ff
}
#sndPlaceRow > td{
  padding-top : 1.5rem;
  padding-bottom: 1.5rem;
  background-color: #5cc5f7
}

#trdPlaceRow > td{
  padding-top : 1.5rem;
  padding-bottom: 1.5rem;
  background-color: #afe2fa;
}

#potHoleLink{
  color:white;
}

#headerRow{
  border-left-width: 0px !important;
  border-right-width: 0px !important;
}

#leaderboard > #mainTab-leaderboard  tr{
  border-left-width: 2px;
  border-right-width: 2px;
  border-bottom-width: 2px;
  border-radius:2.5rem;
  border-color:black;
} 

#leaderboard > #mainTab-leaderboard  th, #leaderboard > #mainTab-leaderboard td{
  text-align: center;
}

td > .btn-dark{
  background-color: #050d18;
}

.btn-primary{
  background-color : #149ddd;
  border : none;
}

.nav-pills > .nav-item > .active{
  background-color : #149ddd;
}

.nav-pills > .nav-item > .nav-link{
  color : white;
}

.nav-pills > .nav-item > .button{
  border : 1px;
}

.nav-pills > .nav-item > .nav-link.active{
  color : white;
}

#councillorInfoModal{
  z-index: 9999;
}

#councillorInfoModalLabel{
  color : #149ddd;
}

#councillorModalInfo > .table{
  color : white;
}


/*--------------------------------------------------------------
# Login/Register/Utility & Profile Management Modal
--------------------------------------------------------------*/
#profileManagementModal{
  z-index: 9999;
}

#loginModal{
  z-index: 9999;
}

.nav-pills >.nav-link.active{
  background-color : #149ddd;
}

.nav-pills >.nav-link{
  color : #149ddd;
}

.accordion-body{
  background : #050d18;
}

.accordion-button{
  background-color : #050d18;
  color: white
}

.accordion:hover {
  background-color: #050d18;
}

#sendResetButton{
  background : #050d18;
}

/*--------------------------------------------------------------
# Help Modal
--------------------------------------------------------------*/
#helpModal{
  z-index: 9999
}


/*--------------------------------------------------------------
# Report Modal
--------------------------------------------------------------*/
#driverReportModal{
  z-index: 9999;
}

#standardReportModal{
  z-index: 9999;
}

#reportContent{
  background-color: white;
}

#reportAccordion > .accordion-item > .accordion-collapse > .accordion-body{
  background-color :#050d18;
  color : white;
}

#reportAccordion > .accordion-item > .accordion-header > .accordion-button.collapsed{
  background-color: white;
  color : black;
}

#reportAccordion > .accordion-item > .accordion-header > .accordion-button{
  background-color: white;
  color : #149ddd;
}


#submit-passenger-report{
  background: #149ddd;
}

#driverSubmitReport > .accordion-item{
  background-color :#050d18;
}


/*--------------------------------------------------------------
# Dashboard Modal
--------------------------------------------------------------*/
#dashboardModal{
  z-index: 9999;
}

#deleteImageButton{
  z-index: 9997;
}


/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 0px 0;
  overflow: hidden;
}

.section-bg {
  background: #f5f8fd;
}

.section-title {
  padding-bottom: 30px;
}
.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #173b6c;
}
.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #149ddd;
  bottom: 0;
  left: 0;
}
.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 700;
  font-size: 26px;
  color: #173b6c;
}
.about .content ul {
  list-style: none;
  padding: 0;
}
.about .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}
.about .content ul strong {
  margin-right: 10px;
}
.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: #149ddd;
  line-height: 0;
}
.about .content p:last-child {
  margin-bottom: 0;
}
#about{
}
#aboutContent{
  height:auto;
  overflow-y:auto;
  margin-bottom:150px;
}

/*--------------------------------------------------------------
# Facts
--------------------------------------------------------------*/
.facts {
  padding-bottom: 30px;
}
.facts .count-box {
  padding: 30px;
  width: 100%;
}
.facts .count-box i {
  display: block;
  font-size: 44px;
  color: #149ddd;
  float: left;
  line-height: 0;
}
.facts .count-box span {
  font-size: 48px;
  line-height: 40px;
  display: block;
  font-weight: 700;
  color: #050d18;
  margin-left: 60px;
}
.facts .count-box p {
  padding: 15px 0 0 0;
  margin: 0 0 0 60px;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  color: #122f57;
}
.facts .count-box a {
  font-weight: 600;
  display: block;
  margin-top: 20px;
  color: #122f57;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  transition: ease-in-out 0.3s;
}
.facts .count-box a:hover {
  color: #1f5297;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer{
  position: static;
  bottom: 0;
}
#footer {
  padding: 15px;
  color: #f4f6fd;
  font-size: 14px;
  position: fixed;
  left: 0;
  bottom: 0px;
  width: 100%;
  z-index: 9999;
  background: #040b14;
}
#footer .copyright {
  text-align: center;
  justify-content: center;
}
#footer .credits {
  padding-top: 5px;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  color: #eaebf0;
}