/* A12 traffic expections */

.map-icon-expectation {
  background: var(--bs-white);
  padding: 10px;
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.15);
  border-radius: 2px;
}

.map-icon-expectation-title {
  font-size: 10px;
  color: var(--ws-color-navigation);
  font-weight: 500;
  text-align: center;
  margin-bottom: 5px;
}

.map-icon-expectation-data {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.map-icon-expectation-data-time-wrapper {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.map-icon-expectation-data-time {
  color: var(--bs-secondary-color);
  font-size: 9px;
  width: 30px;
  padding-right: 5px;
  text-align: right;
}

.map-icon-expectation-data-business {
  display: flex;
  gap: 1px;
}

.map-icon-expectation-data-business-item {
  width: 6px;
  height: 6px;
  border-radius: 1px;
}

.map-icon-expectation-data-icon-wrapper {
  text-align: center;
}

.map-icon-expectation-data-icon {
  display: block;
  font-size: 26px;
}

.map-icon-expectation-data-icon-name {
  font-size: 8px;
  color: var(--bs-secondary-color);
  display: block;
}

.map-icon-expectation-data-item {
  display: flex;
  align-items: center;
}

.map-icon-expectation-red {
  background-color: #ce1919;
}

.map-icon-expectation-yellow {
  background-color: #f08201;
}

.map-icon-expectation-green {
  background-color: #26bb3c;
}

.map-icon-expectation-data-icon-higher {
  transform: rotate(-45deg);
  color: #ce1919;
}

.map-icon-expectation-data-icon-lower {
  transform: rotate(45deg);
  color: #26bb3c;
}

.map-icon-expectation-data-icon-normal {
  transform: rotate(0);
  color: #b2b2b2;
}

/* Matrix portal */

.map-icon-matrixportal-wrapper {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  gap: 1px;
  transform-origin: left;
}

.map-icon-matrixportal-wrapper__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  background: var(--bs-black);
}

.map-icon-matrixportal-wrapper__icon:first-child {
  margin-left: 6px;
}

.input-before-label {
  font-size: 12px;
  color: var(--bs-body-color);
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
}

#legend {
  position: absolute;
  z-index: 10;
  bottom: 12px;
  right: 60px;
  width: 252px;
}

.legend-header {
  background: var(--bs-white);
  padding: 10px;
  cursor: pointer;
}

.legend-title {
  font-size: 16px;
  font-weight: 500;
}

.legend-icon {
  position: absolute;
  right: 10px;
}

.legend-icon::after {
  font-family: "Font Awesome 5 Pro", sans-serif;
  content: "\f067";
  display: inline-block;
}

.legend-open .legend-icon::after {
  font-family: "Font Awesome 5 Pro", sans-serif;
  content: "\f068";
  display: inline-block;
}

#legend:not(.legend-open) #maplegend {
  display: none;
}

#maplegend img:not(:first-child) {
  margin-top: 10px;
  margin-bottom: 8px;
}

/* Sidebar ticker */

.sidebar-togglearea-buttons {
  height: 50px;
  display: flex;
  justify-content: space-between;
}

.sidebar-togglearea-buttons .sidebar-togglearea-button {
  background: var(--bs-light);
  flex: 1;
  justify-content: center;
  align-items: center;
  display: flex;
  color: var(--bs-body-color);
  text-decoration: none;
  font-weight: 300;
  font-size: 14px;
}

.sidebar-togglearea-buttons

  .sidebar-togglearea-button.sidebar-togglearea-active {
  background: var(--ws-color-border-legacy);
}

#livestream ul:not(.showlist) {
  display: none;
}

/*
MP Layers
 */

.icon-capacity {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: var(--ws-color-navigation);
  color: var(--bs-white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
}

.icon-capacity-info {
  display: none;
  background: var(--bs-white);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  position: absolute;
  left: 60px;
  padding: 10px;
  white-space: nowrap;
  color: var(--bs-black);
  font-weight: normal;
}

.icon-capacity-info::before {
  content: "";
  display: block;
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 8px solid var(--bs-white);
}

.icon-capacity:hover .icon-capacity-info {
  display: block;
}

.parking-dots {
  width: 12px;
  height: 12px;
  border-radius: 100%;
  border: 1px solid var(--bs-white);
}

.parking-dots.parking-dots-publictransport {
  background-color: #ce1919;
}

.parking-dots.parking-dots-parkride {
  background-color: #39a4f0;
}

.parking-dots.parking-dots-parking {
  background-color: #e9c403;
}

.layermporiginselect .layerrow-block {
  position: relative;
}

.layermporiginselect .layerrow-block .parking-dots {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
}

.maponly-header {
  margin-right: 75px;
  display: flex;
}

.maponly-header-left {
  flex: 1;
}

.maponly-header-right {
  flex: 1;
  text-align: right;
}

.btn[data-bs-toggle="dropdown"]:not(.dropdown-toggle-split) {
  display: flex;
  justify-content: space-between;
  align-items: center;
  &:hover,
  &:focus,
  &:active {
    background: var(--bs-primary-hover);
    color: var(--bs-white);
  }
}

div.view-wrapper {
  overflow: auto;
}

.header {
  height: var(--headerHeight);
}

#legend {
  background: var(--bs-white);
  padding: 8px;
}

#legend:not(.legend-open) {
  display: none;
}

.services-color,
.status-color {
  padding: 4px 8px;
  border-radius: 6px;
}

.services-color-waze {
  background-color: #e8f1ff;
  color: #175cd3;
}

.services-color-googlemaps,
.status-color-published,
.status-color-finished {
  background: #ecfdf3;
  color: #027a48;
}

.services-color-tomtom {
  background-color: rgba(217, 121, 116, 0.4);
  color: #df1b12;
}

.status-color-concept,
.status-color-inprogress {
  background: #fffaeb;
  color: #f6c851;
}

.services-color-applemaps {
  background-color: rgba(217, 121, 116, 0.4);
  color: #df1b12;
}

.services-color-publisher {
  background-color: #d1e7dd;
  color: #027a48;
}

.services-color-editor {
  background-color: #e8f1ff;
  color: #175cd3;
}

.btn-link:hover {
  color: var(--bs-primary);
  text-decoration: underline;
}

.modal-header {
  border: 0;
}

.modal-dialog {
  --bs-modal-padding: 1rem;
  --bs-modal-header-padding: 1rem 1rem 0rem;
}

.modal-footer {
  border-top: 0;
}

.input-group-text {
  --bs-tertiary-bg: var(--bs-white);
}

.table-light {
  --bs-table-bg: var(--bs-white);
  --bs-table-border-color: var(--ws-color-border-subtle);
}

.btn-link {
  --bs-text-opacity: 1;

  color: var(--bs-primary);
}

.accordion-button {
  background: var(--bs-light);
  color: var(--bs-black);
  font-size: 14px;
  font-weight: 700;
  padding: 7px 10px;
  border-radius: 4px;
}

.accordion-button:not(.collapsed) {
  background: var(--bs-light);
  color: var(--bs-black);
}

.asterix {
  color: var(--bs-asterix-color);
}

body {
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0;
  color: #2e2e2e;
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
}




select:not(:disabled) {
  background: none !important;
  background-color: var(--bs-body-bg) !important;
  padding-right: 2.25rem !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 16px 12px !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
}

.modal {
  padding: 20px;
}

.sidebar-footer {
  padding-bottom: 20px;
}

.collapse.show {
  display: block !important;
  margin-bottom: 8px;
}

.dropdown-menu {
  --bs-dropdown-link-active-bg: var(--bs-primary);
}

button[data-bs-toggle] {
  font-weight: 500;
}

.dropdown-menu button[data-bs-toggle] {
  font-weight: 400;
}

.dropdown-item {
  font-size: 14px;
  color: var(--bs-secondary-color);
  border-radius: 4px;
  padding: 8px;
}

.dropdown-item i {
  color: var(--bs-body-color);
  width: 24px;
  font-size: 18px;
  text-align: center;
}

/*
    /Buttons
*/

.icon-back {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  border: 1px solid #d9d9d9;
}

.icon-back:hover {
  background: #f4f4f4;
}

/*
    Table
*/

thead {
  font-weight: 400;
  color: var(--bs-secondary-color);
}

.text-truncate {
  max-width: 200px;
}

th {
  font-weight: 400;
  color: var(--bs-secondary-color);
  padding-bottom: 25px;
}

.table tbody th {
  --bs-table-color-state: var(--bs-secondary-color);
}

td {
  vertical-align: middle;
  padding-inline: 25px;
}

td:has(.dropdown-menu.show) {
  z-index: 9999;
}

/*
    /Table
*/

.contentwrapper div {
  font-weight: 400;
}

.table:not(.table-card) label {
  display: none;
}

div.contentwrapper {
  margin: 0;
  padding-top: 20px;
}

.reportal-form-wrapper label:has(.asterix) {
  display: inline-flex !important;
}

.reportal-form-wrapper label .asterix {
  margin-left: 4px;
}

.formlayout label,
.form-form-wrapper label {
  margin-bottom: 0 !important;
}

.filters-menu.dropdown-menu {
  border: 1px solid var(--bs-border-color);
  width: 340px;
  max-width: calc(100vw - 2rem);
  max-height: calc(100vh - var(--ws-header-height) - 65px);
  padding: 0;
  border-radius: 0.5rem;
  .btn {
    font-weight: 500;
  }

  .menu-body {
    /*padding: 1rem;*/
    flex-grow: 1;
    overflow: auto;
  }

  &.show {
    display: flex;
    flex-direction: column;
  }

  .filters-divider {
    border-top: 1px solid var(--ws-color-border-subtle);
  }

  .filter-section-toggle {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    padding: 1rem 0.75rem;
    font-weight: 500;
    font-size: 14px;

  }

  .filter-section-toggle:hover {
    background: var(--bs-tertiary-bg);
  }

  .filter-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 2px 4px;
  }

  select.filter-active {
    border: 1px solid var(--ws-color-border-subtle);
  }

  .filter-list {
    label {
      font-size: 12px;
    }
  }

  .avatar {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--bs-white);
    flex: 0 0 auto;
  }

  .avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    object-fit: cover;
  }

  .chev {
    transition: transform 0.15s ease;
  }

  .collapsed .chev {
    transform: rotate(-90deg);
  }

  .btn-link:has(.toggle-more) {
    color: var(--bs-primary);
    margin-top: 8px;

    .toggle-more--less {
      display: none;
    }

    &[aria-expanded="true"] {
      .toggle-more--less {
        display: block;
      }

      .toggle-icon {
        transform: rotate(180deg);
      }

      .toggle-more--more {
        display: none;
      }
    }
  }
}

.frame-type-wegstatusevent_eventdata {
  flex-grow: 1;
}

div.event-list-3,
div.event-list-3:hover {
  box-shadow: none;
}

.contentwrapper:has(.frame-type-wegstatususer_profile) {
  padding: 0;
}



/*
    FORM reportals
*/

.iframe-wrapper {
  position: fixed;
  bottom: 15px;
  z-index: 11;
  margin: 0 0 0 15px;
}

.update-mobile-close {
  width: 60px;
  height: 5px;
  border-radius: 10px;
  background: var(--ws-color-border-legacy);
}




.reportal-forms#step-2,
.reportal-forms#step-3 {
  position: relative;
}

.collapse-sidebar {
  color: var(--bs-white);
}

/*
    / FORM reportals
*/

/* Reportal layout inherit */

.in-out {
  width: 100% !important;
  min-width: 100% !important;
}

.reportal-form-wrapper,
.form-form-wrapper {
  padding: 0 !important;
}

.reportal-forms:not(#step-1) .reportal-form-wrapper,
.form-form-wrapper {
  overflow-y: scroll;
}

.steps-header {
  min-height: 48px;
  border-bottom: 1px solid var(--ws-color-border-legacy);
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bs-white);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 999;
}

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

.steps-header .icon-back {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bs-body-color);
  font-size: 16px;
}

.steps-header .steps-header-title {
  font-size: 18px;
  font-weight: 400;
  color: var(--bs-body-color);
  text-align: center;
  padding: 10px;
  margin: auto;
}

/* Reportal layout inherit */

.nav-tabs {
  flex-flow: nowrap;
}

.nav-tabs .nav-link {
  color: var(--bs-black);
  border: 0;
}

.nav-tabs .nav-link.active {
  border: 0;
  border-bottom: 2px solid var(--bs-primary) !important;
  background: transparent;
  color: var(--bs-primary);
}

.icon-travel-indicator {
  width: 24px;
  height: 24px;
  background: var(--ws-color-text-disabled);
  display: flex;
  justify-content: center;
  align-items: center;
}

.fs-12 {
  font-size: 12px;
}

.icon-red {
  background: #fce2e2;
  color: var(--bs-danger);
}

.list-group-item.active {
  --bs-list-group-active-bg: #f8f8fa;

  color: var(--bs-body-color);
  border-color: #dee0e2;
}



.profile-initials {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bs-primary);
  display: flex;
  font-size: 32px;
  justify-content: center;
  align-items: center;
  color: var(--bs-white);
}

.profile-form {
  max-width: 768px;
}
