@import url("https://use.fontawesome.com/releases/v5.13.0/css/all.css");

.noscroll {
    overflow: hidden;
    height:100%;
    width: 100%;
  }

html {
    height: 100%;
}

body {
  margin: 0;
  height: 100%;
  font-family: Gilroy;
  color:black;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

canvas {
display: block;
width: 100%;
height: 100%;
z-index: -1;
position: absolute;
}

.clearfix {
    zoom: 1;
  }

.button {
    transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
    width: 100%;
    height: 300px;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 500;
}

/* .navC {
width: 100%;
padding: 10px auto;
}

.nav-el {
position: relative;
display: inline-block;
width:30%;
height: 340px;
z-index: 10;
margin:10px;
padding:10px;
text-align: center;
font-size: 20px;
color: black;
background-color: rgba(255, 255, 255, 0.445);
filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.301));
border-radius: 40px 40px 40px 40px;
overflow:hidden;
border-style: solid;
border-color:rgba(90, 90, 90, 0.601);
} */

.navC {
  display: flex;
  flex-wrap: wrap;
  padding: 0px 0px 0px 20px;
  justify-content: space-between;
  margin: 0 auto;
}

.nav-el {
    position: relative;
    width: calc(33.33% - 20px);
    height: 340px;
    background-color: #ddd;
    margin-bottom: 20px;
    margin-right: 20px;
    padding:10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* align children to the top */
    background-color: rgba(255, 255, 255, 0.445);
    filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.301));
    border-radius: 40px 40px 40px 40px;
    overflow:hidden;
    border-style: solid;
    border-color:rgba(90, 90, 90, 0.601);
    padding-top: 65px;
  }


.nav-el.active_reverse {
    z-index: 11;
    background: rgba(255, 255, 255, 0.445);
  }
  .nav-el.inactive {
    pointer-events: none;
    cursor: default;
  }

.topLine {
    display:inherit;
    margin: 0 auto;
    overflow:hidden
}

.bottomLine {
    display:inherit;
    margin: 0 auto;
    overflow:hidden
}

.clearfix:before,
.clearfix:after {
	content: " ";
	display: table;
}

.clearfix:after {
	clear: both;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    z-index: 9999;
    visibility: hidden;
    -webkit-font-smoothing: antialiased;
  }
  
  .wrap {
    display: block;
    width: 90%;
  }
  
  .close {
    position: absolute;
    top: 160px;
    right: 100px;
    font-size: 60px;
    color: rgba(52,134,65,1);
    background-color: transparent;
    border-color: transparent;
  }
  .noscroll {
    overflow: hidden;
    height:100%;
    width: 100%;
  }

  [class^="mfg-"]:before, [class*=" mfg-"]:before {
    font-family: "mfg";
    font-style: normal;
    font-weight: normal;
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    font-variant: normal;
    text-transform: none;
  }

  .mfg-cancel:before {
    content: '\e800';
  }


  .htmleaf-container{
    display: block;
    width:100%;
    height:210px;
    text-align: left;
    overflow: hidden;
  }

  .htmleaf-header{
    padding: 6em 190px 1em;
    letter-spacing: -1px;
    text-align: left;
  }

  #Dashboard_Header_main {
    left: 360px;
    top: 60px;
    display: block;
    line-height:45px;
    font-style: normal;
      font-weight: 100;
      font-size:40px;
    position: absolute;
    overflow: visible;
    width: 500px;
    height: 100px;
    text-align: left;
    font-family: Gilroy;
    color: rgba(52,134,65,1);
  }

	#Dashboard_Header {
    left: 443px;
    top: 60px;
    display: block;
    line-height:45px;
    font-style: normal;
    font-weight: 100;
    font-size:40px;
    position: absolute;
    overflow: visible;
    width: 500px;
    height: 100px;
    text-align: left;
    font-family: Gilroy;
    color: rgba(52,134,65,1);
}

#bus-image{
    position: absolute;
    width: 250px;
    height: 250px;
    right: 63px;
    top: 65px;
    overflow: visible;
}

#Image_1 {
  mix-blend-mode: darken;
  position: absolute;
  width: 350px;
  height: 125px;
  left: 33px;
  top: 40px;
  overflow: visible;
}

#Image_2 {
  mix-blend-mode: darken;
  position: absolute;
  width: 297px;
  height: 89px;
  left: 47px;
  top: 58px;
  overflow: visible;
}

.iconHorder{
  position: absolute;
  top: 10px;
  left: 10px;
  height:65px;
  width: 95%;
  display: flex;       /* Add this line */
  align-items: center;
  justify-content: space-between; 
  font-size: 30px;
}


.tableholder {
  width: 100%;
  flex-grow: 1; /* grow to fill remaining space */
  text-align: center;
}


 .tableholder table {
  margin-top:30px;
  height: 80%;
  width: 100%;
  border-collapse: collapse;
}

.tableholder th,
.tableholder td {
  border: 0px solid #ccc;
}

.tableholder th {
  font-weight: bold;
  background-color: #eee;
}

.tableholder tbody tr:nth-child(even) {
  background-color: #f2f2f2;
}

.iconHorder_inner {
    display: flex;           /* Use Flexbox for layout */
    align-items: center;     /* Vertically center the content */
    justify-content: flex-start;
    height: 65px;
    width: 90%;            
    text-align: left;
    margin: 10px 10px 0px 5px;
    gap: 10px;      
}

.iconHorder_inner label {
  display: flex;
  align-items: center;
  margin-left: 20px;
  font-family: Gilroy;
  /* font-weight: bold; */
  font-size: 18px;
  margin-top: 5px;
  color: #333;
  cursor: pointer;
  user-select: none;
}

.iconHorder_inner input[type="checkbox"] {
  appearance: none; /* Removes default checkbox */
  width: 22px;
  height: 22px;
  border: 2px solid #007bff;
  border-radius: 3px;
  position: relative;
  margin-right: 8px;
  cursor: pointer;
  outline: none;
  user-select: none;
}

.iconHorder_inner input[type="checkbox"]:checked {
  background-color: #007bff;
}

.iconHorder_inner input[type="checkbox"]:checked::after {
  content: '\2713'; /* Unicode checkmark */
  font-size: 20px;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); 
}

.iconHorder_inner label:hover input[type="checkbox"] {
  border-color: #0056b3;
}


.row{
  width:100%;
  margin:10px auto 10px 60px;
}


.bus_icon{
  width: 106px;
  height: 64px;
  background: url("../picture/bus_outer.svg") no-repeat;
  display: inline-block;
  transition: width 0.5s ease-in-out;
}

.nav-el:hover .bus_icon{
  width: 242px;
  height: 64px;
  background: url("../picture/bus_outer_change1.svg") no-repeat;
  display: inline-block;
}
.charger_icon{
  width: 106px;
  height: 64px;
  background: url("../picture/charger_outer.svg") no-repeat;
  display: inline-block;
  transition: width 0.5s ease-in-out;
}

.nav-el:hover .charger_icon{
  width: 242px;
  height: 64px;
  background: url("../picture/charger_outer_change2.svg") no-repeat;
  display: inline-block;
}


.money_icon{
  width: 106px;
  height: 64px;
  background: url("../picture/money2.svg") no-repeat;
  display: inline-block;
  transition: width 0.5s ease-in-out;
}

.nav-el:hover .money_icon{
  width: 242px;
  height: 64px;
  background: url("../picture/money_change2.svg") no-repeat;
  display: inline-block;
}

.optimize_icon{
  width: 106px;
  height: 64px;
  background: url("../picture/optimize.svg") no-repeat;
  display: inline-block;
  transition: width 0.5s ease-in-out;
}

.nav-el:hover .optimize_icon{
  width: 242px;
  height: 64px;
  background: url("../picture/optimize_change.svg") no-repeat;
  display: inline-block;
}

.pv_icon{
  width: 106px;
  height: 64px;
  background: url("../picture/scheduler.svg") no-repeat;
  display: inline-block;
  transition: width 0.5s ease-in-out;
}

.nav-el:hover .pv_icon{
  width: 242px;
  height: 64px;
  background: url("../picture/scheduler_change.svg") no-repeat;
  display: inline-block;
}

.GHG_icon{
  width: 106px;
  height: 64px;
  background: url("../picture/yard.svg") no-repeat;
  display: inline-block;
  transition: width 0.5s ease-in-out;
}

.nav-el:hover .GHG_icon{
  width: 242px;
  height: 64px;
  background: url("../picture/yard_change.svg") no-repeat;
  display: inline-block;
}


#footer {
    background-color: #ffffff;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    color:black;
    margin-left: 20px;
}


#footer-logo {
    height: auto;
    max-height: 15px; 
    margin: 0 5px;
    margin-top: 0px;
}

#footer span {
    font-size: 0.9em; 
    line-height: 1.5;
}



.bus-ev-icon-sm {
  position: relative;
  padding-left: 30px;
}

.bus-ev-icon-sm::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url('../picture/bus-enroute-low.svg');
  position: absolute;
  left: 0px; 
  top: 50%;
  transform: translateY(-50%);
}


.bus-bio-icon-sm {
  position: relative;
  padding-left: 30px;
}

.bus-bio-icon-sm::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url('../picture/bus-enroute-bio.svg');
  position: absolute;
  left: 0px; 
  top: 50%;
  transform: translateY(-50%);
}



.bus-bio-icon {
  position: relative;
  padding-left: 30px;
}

.bus-bio-icon::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url('../picture/bus-bio.svg');
  position: absolute;
  left: 12px; 
  top: 50%;
  transform: translateY(-50%);
}


.bus-elec-icon {
  content: "";
  display: inline-block;
  width: 25px;
  height: 25px;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url('../picture/bus-enroute-low.svg');
}

.bus-cng-icon {
  content: "";
  display: inline-block;
  width: 25px;
  height: 25px;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url('../picture/bus-enroute-high.svg');
}


.container_block_dispatch {  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 0px 0px;
  grid-auto-flow: row;
  width:100%;
  height:100%;
  grid-template-areas:
    "Block_dispatch Bus_dispatch";
}

.Block_dispatch {  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 0.3fr 2.3fr 0.4fr;
  gap: 0px 0px;
  color: black;
  grid-auto-flow: row;
  grid-template-areas:
    "Block_dispatch_header"
    "Block_dispatch_body"
    "Block_dispatch_footer";
  grid-area: Block_dispatch;
}

.Block_dispatch_header {
  justify-self: center;
  align-self: center;
  grid-area: Block_dispatch_header;
  font-weight: bold;
  font-size: 20px;
}

.Block_dispatch_body {  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr 1fr 1fr;
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas:
    "."
    "."
    "."
    ".";
  grid-area: Block_dispatch_body;
  place-items: center;
}

.Block_dispatch_footer {
  display: flex;     
  justify-content: center; 
  align-items: center;  
  justify-self: center;
  align-self: center;
  grid-area: Block_dispatch_footer;
  font-size: 20px;
}

.Bus_dispatch {  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 0.3fr 2.3fr 0.4fr;
  gap: 0px 0px;
  grid-auto-flow: row;
  color: black;
  grid-template-areas:
    "Bus_dispatch_header"
    "Bus_dispatch_body"
    "Bus_dispatch_footer";
  grid-area: Bus_dispatch;
}

.Bus_dispatch_header {
  justify-self: center;
  align-self: center;
  grid-area: Bus_dispatch_header;
  font-weight: bold;
  font-size: 20px;
}

.Bus_dispatch_body {  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr 1fr 1fr;
  gap: 0px 0px;
  grid-auto-flow: row;
  grid-template-areas:
    "."
    "."
    "."
    ".";
  grid-area: Bus_dispatch_body;
  place-items: center;
}

.Bus_dispatch_footer {
  display: flex;     
  justify-content: center; 
  align-items: center;   
  justify-self: center;
  align-self: center;
  grid-area: Bus_dispatch_footer;
  font-size: 20px;
}

.dispatch_item {
    width: 80%;
    display: flex;
    justify-content: space-between; 
    align-items: center; 
}

.item_holder {
    display: flex;
    justify-content: center; 
    align-items: center; 
    width: 100%;
    height: 100%;
    box-shadow: 
        0px 1px 0px rgba(170, 170, 170, 0.2),      
        0px 2px 0px rgba(0,0,0,0.05),
        0px 3px 0px rgba(0,0,0,0.1);
}


.fa-triangle-exclamation {
    visibility: hidden;
}



.loading-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-size: 1.2em;
        color: #666;
        z-index: 999;
    }

    .loading-icon {
        border: 5px solid #f3f3f3;
        border-radius: 50%;
        border-top: 5px solid #3498db;
        width: 40px;
        height: 40px;
        -webkit-animation: spin 1s linear infinite;
        animation: spin 1s linear infinite;
        margin-bottom: 10px;
    }

    @-webkit-keyframes spin {
        0% { -webkit-transform: rotate(0deg); }
        100% { -webkit-transform: rotate(360deg); }
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

  #loadingOverlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      font-size: 2em;
      z-index: 9999;
  }

 #ticketSystemBtn{
    position: absolute;
    right: 73px;
    top: 90px;
    font-family: Gilroy;
    background-color: #348641;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 20px;
    overflow: visible;
    transition: transform 0.1s; 
  }

  #ticketSystemBtn:active {
      transform: scale(0.95);
  }


  #yard-magt{
    position: absolute;
    right: 250px;
    top: 90px;
    font-family: Gilroy;
    background-color: #348641;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 20px;
    overflow: visible;
    transition: transform 0.1s; 
}

#yard-magt:active {
    transform: scale(0.95);
}



.footer {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

.btn_default {
  font-family: Gilroy;
  background-color: #348641;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  cursor: pointer;
  margin: 10px;
  font-size: 20px;
  text-decoration: none;
  display: inline-block;
  width: auto;
  /* Allow the buttons to expand based on content */
  transition: background-color 0.3s;
  /* Add hover effect */
}



.simulation-card {
  width: 100%;
  padding: 0.5rem 0.75rem;
  background-color: transparent;
  box-shadow: none;
  font-family: Gilroy;
  font-size: 0.95rem;
  flex: 1;
  overflow: hidden;
}

.simulation-header {
  font-size: 1rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 0.25rem;
  text-align: center;
}

.simulation-subtitle {
  color: #6b7280;
  font-size: 1rem;
  text-align: center;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.simulation-subtitle strong {
  color: RGB(38,135,69); 
  font-weight: bold;
    font-size: 1.2rem;
}


.bar.charging {
  fill: #87CEFA;
  stroke: #4682B4;
  stroke-width: 1px;
  border-radius: 25%;
}

.bar.not-charging {
  fill: #ACE1AF;
  stroke: #6B8E23;
  stroke-width: 1px;
  border-radius: 25%;
}

.boundary-line,
.hour-line,
.day-line {
  stroke: rgb(182, 179, 179);
  stroke-width: 1px;
}

#combined-chart-mini .label{
  font-size: 12px;
}


.table-wrapper {
    flex: 1 1 auto;
    overflow-y: auto;
    border: 1px solid #f8f8f8;
}

.table thead th {
    position: sticky;
    top: 0;
    background: #fafafa;
}

.iconHorder_inner {
    flex: 0 0 auto;
    background: #fff;       /* ensure table scroll doesn’t bleed through */
    padding: 8px 0;         /* adjust as you like */
    z-index: 1;
}

.btn-outline-success.active,
.btn-outline-success:active,
.show > .btn-outline-success.dropdown-toggle {
color: #fff !important;               /* white text */
background-color: #268745 !important; /* your custom green */
border-color:     #268745 !important; /* match the border */
}

/* Also override hover/focus if you want consistency */
.btn-outline-success:hover,
.btn-outline-success:focus {
color: #fff !important;
background-color: #268745 !important;
border-color:     #268745 !important;
}