body {
    background: #fafafa;
    color: #333333;
    margin-top: 5rem;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: #444444;
  }
  
  ul {
    margin: 0;
  }



  html, body {
    height: 100%;
    margin: 0;
}

#page-wrapper {
    display: flex;
    flex-direction: column;
}

#content {
    flex: 1; /* Ensures that the content area takes up remaining space */
}

/* Ensure collapsible sections collapse properly */
.collapse {
    display: none; /* Make sure collapsed elements are fully hidden */
}

.collapse.show {
    display: block; /* Show when active */
}

  

.highlight {
  animation: highlightEffect 2s ease-in-out;
}

@keyframes highlightEffect {
  0% {
      background-color: yellow;
  }
  100% {
      background-color: transparent;
  }
}


  .carousel-ctrans {
    transition: transform 3s ease-in-out; /* Increase the duration to 1.5 seconds for smoother transition */
    }

  .bg-steel {
    background-color: #5f788a;
  }

  .bg-motobrown {
    background-color:#875e17;
  }

  .bg-motoblue {
    background-color: #0057a4;
}

  .bg-current { background-color: #fefff0; } /* Light yellow for current works */
  .bg-future { background-color: #e6ffe6; }  /* Light green for future works */
  .bg-unplanned { background-color: #ffe6e6; } /* Light red for unplanned events */


.bg-motogreen {
  background-color: #006c49;
}

.bg-motoyellow {
  background-color: #f8e027;
}

  .bg-vms {
    background-color: #333;
  }

  .bg-flix {
    background-color: #97d700;
  }

  .fnt-motorwayperm {
    font-family: 'motorwaypermanent';
  }

  .fnt-transportheavy {
    font-family: "transport_heavyregular", sans-serif;
  }

  .fnt-transportmedium {
    font-family: "transportmedium", sans-serif;
  }

  .fnt-vms {
    font-family: "vmsregular", sans-serif;
  }

  .txtc-vms {
    color:#eba946
  }

  .txtc-yellow {
    color: #f8e027;
  }
  
  .txtc-admin {
    color: #db2e02;
  }

  .site-header .navbar-nav .nav-link {
    color: #cbd5db;
  }
  
  .site-header .navbar-nav .nav-link:hover {
    color: #ffffff;
  }
  
  .site-header .navbar-nav .nav-link.active {
    font-weight: 500;
  }
  
  .content-section {
    background: #ffffff;
    padding: 10px 20px;
    border: 1px solid #dddddd;
    border-radius: 3px;
    margin-bottom: 20px;
  }
  
  .article-title {
    color: #444444;
  }
  
  a.article-title:hover {
    color: #428bca;
    text-decoration: none;
  }
  
  .article-content {
    white-space: pre-line;
  }
  
  .article-img {
    height: 65px;
    width: 65px;
    margin-right: 16px;
  }
  
  .article-metadata {
    padding-bottom: 1px;
    margin-bottom: 4px;
    border-bottom: 1px solid #e3e3e3
  }
  
  .article-metadata a:hover {
    color: #333;
    text-decoration: none;
  }
  
  .article-svg {
    width: 25px;
    height: 25px;
    vertical-align: middle;
  }
  
  .account-img {
    height: 125px;
    width: 125px;
    margin-right: 20px;
    margin-bottom: 16px;
  }
  
  .account-heading {
    font-size: 2.5rem;
  }

  .carousel-item.active {
    display:block;
}

.roadsign {
  display: inline-block;
  font-size: 1.25rem; /* Default size for smaller screens */
  padding: 4px 8px; /* Default padding for compactness */
  text-align: center;
  border-radius: 8px;
  white-space: nowrap;
  vertical-align: bottom;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .roadsign {
      font-size: 1.5rem; /* Slightly larger size for tablets and medium screens */
      padding: 6px 10px; /* Adjust padding for balance */
  }
}

@media (min-width: 1200px) {
  .roadsign {
      font-size: 2rem; /* Larger size for desktops and large screens */
      padding: 8px 12px; /* More padding for a bold appearance */
  }
}

  .vmspill {
    margin-top: 10%;
    display: block;
    padding: .75rem 1.25rem;
    border-radius: .50rem;
    border: 1px solid rgba(0,0,0,.125);
    box-sizing: border-box;
  }

  .form-control {
    width: 100%; /* Ensures the input field takes full width of its container */
    box-sizing: border-box; /* Prevents padding or border from affecting width */
}

.autocomplete-list {
    position: absolute;
    z-index: 1000;
    background-color: black;
    border: 1px solid #ddd;
    border-radius: 3px;
    list-style: none;
    padding: 0;
    margin: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-height: 200px; /* Limits the height */
    overflow-y: auto; /* Adds a scrollbar if needed */
    width: 100%; /* Matches the search bar's width */
}



.autocomplete-list li {
    padding: 8px;
    cursor: pointer;
    color: white;
}

.autocomplete-list li:hover {
    background-color: #f0f0f0;
}
