/* Style the navigation menu */
.topnav {
  display:flex;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 6100;
  border: 0;
  background-color: #0964B0;
  height:35px;
  border-bottom: 2px solid #55c65e;
  box-sizing: border-box;
}

hr.header_menu {
  border: 1px solid #55c65e;

}

/* Hide the links inside the navigation menu (except for logo/home) */
.topnav-menusub #menusub {
  display: none;
  --menusub-padding: 20px;
  position: fixed;
  top: var(--menusub-top, 37px);
  right: 0;
  width: min(420px, 100vw);
  min-width: 0;
  max-width: 100vw;
  padding: var(--menusub-padding);
  background-color: #237ac2;
  z-index: 6090;
  text-decoration: none;
  border:2px;
  border-style: solid;
  border-color:#55c65e;
  box-sizing: border-box;
  height: var(--menusub-height, calc(100dvh - 37px));
  max-height: none;
  overflow: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  flex-direction: column;
}

.topnav-menusub-header {
  flex: 0 0 auto;
  margin: calc(-1 * var(--menusub-padding)) calc(-1 * var(--menusub-padding)) 0;
  padding: var(--menusub-padding) var(--menusub-padding) 12px;
  background-color: #237ac2;
}

.topnav-menusub-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.topnav-menusub-user {
  flex: 1 1 auto;
  min-width: 0;
}

.topnav-menusub-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
}

.topnav-menusub-close:hover,
.topnav-menusub-close:focus {
  background: rgba(255, 255, 255, 0.18);
  border-color: #55c65e;
  outline: none;
}

.topnav-menusub-search {
  position: static;
  margin-top: 12px;
  padding-bottom: 12px;
  background-color: #237ac2;
}

.topnav-menusub-content {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.topnav-menusub-footer-divider {
  margin-top: 16px;
}

.topnav-menusub-footer {
  padding-bottom: 8px;
}

.topnav-menusub-search-input {
  width: 100%;
  min-height: 38px;
  padding: 8px 12px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 16px;
}

.topnav-menusub-search-input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.topnav-menusub-search-input:focus {
  outline: none;
  border-color: #55c65e;
  background: rgba(255, 255, 255, 0.16);
}

.topnav-menusub a {
  color: white;
  /*padding: 0px 10px;*/
  text-decoration: none;
  font-size: 18px;
  /*display: block;*/
  /*position: static;*/
}

.topnav-menusub a:hover {
  background-color: #237ac2;
  color: yellow;
}

.topnav-menusub-category {
  color: gold;
  padding-top: 10px;
  padding-bottom: 10px;
}
.topnav-options {
-webkit-appearance: none;
white-space: nowrap;
width:100%;
border:0px;
padding: 0px 0px;
display: block;
  position: absolute;
  /*left: 50px;*/
  top: 0px;
  /*width:400px;*/
margin: auto;
color:white;
}

.topnav-item-customer-select {
  background-color: #0964B0;
  margin: 0 15px;
  min-width: 260px;
  display: flex;
  align-items: center;
}

.topnav-item-customer-select .select2-container {
  width: 100% !important;
  min-width: 260px;
  font-size: 14px;
  align-self: center;
}

.portal-customer-select-option {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  vertical-align: middle;
}

.portal-customer-select-option-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topnav-item-customer-select .select2-selection__rendered .portal-customer-select-option {
  max-width: 100%;
  height: 31px;
}

.topnav-item-customer-select .select2-selection__rendered .evx-customer-icon {
  width: 22px;
  height: 22px;
  flex-basis: 22px;
  border-radius: 4px;
  font-size: 16px;
}

.portal-customer-select2-dropdown .portal-customer-select-option {
  max-width: 100%;
}

.portal-development-watermarks {
  position: fixed;
  inset: 0;
  z-index: 6200;
  pointer-events: none;
}

.portal-development-watermark {
  position: absolute;
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: rgba(169, 0, 0, 0.72);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.28);
  box-sizing: border-box;
  color: #ffffff;
  font-family: monospace;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  opacity: 1;
  transition: opacity 120ms ease-in-out;
  user-select: none;
}

.portal-development-watermark.is-pointer-over {
  opacity: 0;
}

.portal-development-watermark-top-left {
  top: max(18px, env(safe-area-inset-top));
  left: max(18px, env(safe-area-inset-left));
}

.portal-development-watermark-top-right {
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
}

.portal-development-watermark-bottom-left {
  bottom: max(18px, env(safe-area-inset-bottom));
  left: max(18px, env(safe-area-inset-left));
}

.portal-development-watermark-bottom-right {
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
}

.topnav-item-customer-select .select2-container .select2-selection--single .select2-selection__placeholder {
  color: rgba(255, 255, 255, 0.82);
}

.topnav-item-customer-select .select2-container .select2-selection--single {
  min-height: 33px !important;
  height: 33px !important;
  max-height: 33px !important;
}

.topnav-item-customer-select .select2-container--default .select2-selection--single {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  transition: background-color 120ms ease, border-color 120ms ease;
}

.topnav-item-customer-select .select2-container--default .select2-selection--single .select2-selection__rendered {
  min-height: 31px !important;
  line-height: 31px !important;
  color: #fff !important;
  padding-left: 10px !important;
  padding-right: 34px !important;
  font-weight: 500;
  background: transparent !important;
}

.topnav-item-customer-select .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 31px !important;
  right: 4px !important;
}

.topnav-item-customer-select .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #fff transparent transparent transparent !important;
}

.topnav-item-customer-select .select2-container--default.select2-container--open .select2-selection--single,
.topnav-item-customer-select .select2-container--default.select2-container--focus .select2-selection--single,
.topnav-item-customer-select .select2-container--default .select2-selection--single:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: #55c65e !important;
}

.topnav-item-customer-select .select2-container--default.select2-container--disabled .select2-selection--single {
  background: rgba(255, 255, 255, 0.08) !important;
  cursor: not-allowed;
  opacity: 0.7;
}

.topnav-item-customer-select .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__rendered {
  color: #fff !important;
}

.topnav-item-customer-select .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__arrow b {
  display: none;
}

.topnav-item-customer-select .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__arrow::before {
  content: "\f023";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 12px;
  color: #fff;
  line-height: 31px;
}

html.dark .topnav-item-customer-select .select2-container--default .select2-selection--single,
html[data-bs-theme=dark] .topnav-item-customer-select .select2-container--default .select2-selection--single,
html.dark .topnav-item-customer-select .select2-container--default .select2-selection--single .select2-selection__rendered,
html[data-bs-theme=dark] .topnav-item-customer-select .select2-container--default .select2-selection--single .select2-selection__rendered,
html.dark #select2-customer_select-container,
html[data-bs-theme=dark] #select2-customer_select-container {
  background: #0964B0 !important;
}

.portal-customer-select2-dropdown {
  background: #0964B0;
  border: 1px solid #55c65e;
  border-radius: 0 0 6px 6px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  color: white;
}

.portal-customer-select2-dropdown .select2-search--dropdown {
  padding: 6px;
  background: #0964B0;
}

.portal-customer-select2-close {
  display: none;
}

.portal-customer-select2-dropdown .select2-search__field {
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: white;
  outline: none;
}

.portal-customer-select2-dropdown .select2-search__field:focus {
  border-color: #55c65e;
}

.portal-customer-select2-dropdown .select2-results__options {
  background: #0964B0;
}

.portal-customer-select2-dropdown .select2-results > .select2-results__options {
  max-height: 360px;
}

.portal-customer-select2-dropdown .select2-results__option {
  color: white;
  background: transparent;
  padding: 8px 10px;
}

.portal-customer-select2-dropdown .select2-results__option--selected {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: inset 3px 0 0 #55c65e;
}

.portal-customer-select2-dropdown .select2-results__option--highlighted.select2-results__option--selectable {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.portal-customer-select2-dropdown .select2-results__message {
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
}

html.dark .select2-dropdown.portal-customer-select2-dropdown,
html[data-bs-theme=dark] .select2-dropdown.portal-customer-select2-dropdown,
html.dark .portal-customer-select2-dropdown,
html[data-bs-theme=dark] .portal-customer-select2-dropdown,
html.dark .portal-customer-select2-dropdown .select2-search--dropdown,
html[data-bs-theme=dark] .portal-customer-select2-dropdown .select2-search--dropdown,
html.dark .portal-customer-select2-dropdown .select2-results__options,
html[data-bs-theme=dark] .portal-customer-select2-dropdown .select2-results__options,
html.dark .portal-customer-select2-dropdown .select2-results__option,
html[data-bs-theme=dark] .portal-customer-select2-dropdown .select2-results__option,
html.dark .portal-customer-select2-dropdown .select2-results__group,
html[data-bs-theme=dark] .portal-customer-select2-dropdown .select2-results__group,
html.dark .portal-customer-select2-dropdown .select2-results__message,
html[data-bs-theme=dark] .portal-customer-select2-dropdown .select2-results__message,
html.dark .select2-dropdown.portal-customer-select2-dropdown .select2-results > .select2-results__options,
html[data-bs-theme=dark] .select2-dropdown.portal-customer-select2-dropdown .select2-results > .select2-results__options {
  background: #0964B0 !important;
  color: #fff !important;
}

html.dark .select2-dropdown.portal-customer-select2-dropdown,
html[data-bs-theme=dark] .select2-dropdown.portal-customer-select2-dropdown {
  border-color: #55c65e !important;
}

.topnav-item-help {
  background-color: #0964B0;
  /* margin: 0 15px; */
  padding-right:10px;
}

.portal-header-help-link {
  display: inline-flex;
  align-items: center;
}

.topnav-item-theme {
  background-color: #0964B0;
  padding-right: 10px;
}

.topnav-item-evx-eshop {
  color:white;
  background-color: #0964B0;
  /* margin: 0 15px; */
  padding-right:5px;
  
}

.topnav-item-message {
  background-color: #0964B0;
  /* margin: 0 15px; */
  padding-right:10px;
  
}

.topnav-item-message-number {
  color:#fab028;
  
}


.topnav-area-left {
  flex: 0 1 310px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  /*border: 1px dashed red;*/
  margin: 0 5px;
  min-width: 0;
}

.topnav-area-center {
  flex: 1 1 0;
  display: flex;
  justify-content: center;
  align-items: center;
  /*border: 1px dashed red;*/
  margin: 0 5px;
  min-width: 0;
  overflow: hidden;
}

.topnav-area-right {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  /*border: 1px dashed red;*/
  margin: 0 5px;
  min-width: 0;
}

.topnav-area-right > * {
  flex: 0 0 auto;
}

.customer_select {
-webkit-appearance: none;
border:0px;
padding: 0px;

/*display: inline-block;*/
/*top: 0px;*/
color: yellow;
background-color:#0964B0;
}

.customer_select input:focus, textarea:focus, select:focus{
outline: none;
}



/* Style navigation menu links */


.topnav a {
  color: white;
  /*padding: 0px 10px;*/
  text-decoration: none;
  font-size: 18px;
  /*display: block;*/
  /*position: static;*/
}

.topnav a.iconhome:hover {
    background: transparent !important;
}


/* Style the hamburger menu */
.topnav a.iconhome {
  background: transparent !important;
  /*display: inline-block;*/
  /*position: relative;*/
  /*left: 0;*/
  /*width: 20px;*/
}

.topnav a.iconmenu:hover {
    background: transparent !important;
}

/* Style the hamburger menu */
.topnav a.iconmenu {
  background: transparent !important;
  /*display: block;*/
  /*position: absolute;*/
  /*right: 0;*/
  /*top: 0;*/
}

.topnav a.iconhome,
.topnav a.iconmenu,
.topnav button.iconmenu {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none;
}

.topnav button.iconmenu {
  background: transparent !important;
  color: white;
  border: 0 !important;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 !important;
  box-shadow: none !important;
  appearance: none;
}

.topnav button.iconmenu:hover,
.topnav button.iconmenu:focus,
.topnav button.iconmenu:active,
.topnav a.iconhome:focus,
.topnav a.iconhome:active,
.topnav a.iconmenu:focus,
.topnav a.iconmenu:active {
  background-color: transparent !important;
  color: yellow;
}

.portal-theme-toggle-button {
  min-width: 26px;
  min-height: 26px;
}

.topnav a.username:hover {
    background: #0964B0;
}

.topnav a.username {
  background: #0964B0; /*blue*/
  /*display: block;*/
  /*position: absolute;*/
  /*left: 40px;*/
  /*top: 0;*/
}

/* Add background color on mouse-over */
.topnav a:hover {
  background-color: transparent !important;
  color: yellow;
}

/* Style the active link (or home/logo) */
.active {
  background-color: #0964B0;
  color: white;
}

/* Use a media query to add a break point at 800px: */
@media screen and (max-width:800px) {
  body.portal-customer-select-open {
    overflow: hidden;
  }

  .topnav-area-left {
    flex: 0 1 310px;
  }

  .topnav-area-right {
    flex: 0 0 auto;
    margin-left: 0;
  }

  .topnav-menusub #menusub {
    --menusub-padding: 16px;
    right: 0;
    width: min(420px, 100vw);
    max-width: 100vw;
    min-width: 0;
    height: var(--menusub-height, calc(100dvh - 37px));
    max-height: none;
    padding: var(--menusub-padding);
    border-right: 0;
    margin: 0;
    z-index: 6090;
  }

  .topnav-item-customer-select {
    min-width: 0;
    width: auto;
    max-width: none;
    margin: 0 4px 0 8px;
    flex: 1 1 auto;
  }

  .topnav-item-customer-select .select2-container {
    min-width: 0;
    max-width: none;
  }

  .topnav-item-customer-select .select2-container--default .select2-selection--single .select2-selection__rendered {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .portal-customer-select2-dropdown {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    z-index: 6500;
  }

  .portal-customer-select2-dropdown .select2-search--dropdown {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1;
    padding: 12px;
  }

  .portal-customer-select2-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
  }

  .portal-customer-select2-close:hover,
  .portal-customer-select2-close:focus {
    background: rgba(255, 255, 255, 0.18);
    border-color: #55c65e;
    outline: none;
  }

  .portal-customer-select2-dropdown .select2-search__field {
    flex: 1 1 auto;
    min-height: 42px;
    font-size: 16px;
  }

  .portal-customer-select2-dropdown .select2-results > .select2-results__options {
    max-height: calc(100dvh - 74px) !important;
  }

  .topnav-area-center {
    display: flex;
    margin-right: 4px;
    margin-left: 0;
  }

  .topnav-item-message-number-count{
    display:none; 
  }

  .topnav-area-right > .topnav-item-evx-eshop {
    display: flex;
  }

  .topnav-item-theme {
    display:none;
  }
}

  /* Use a media query to add a break point at 400px: */
@media screen and (max-width:400px) {
  /* The width is 100%, when the viewport is 400px or smaller */
  .topnav-item-customer-select {
    width: auto;
    max-width: none;
    margin: 0 2px 0 6px;
  }

  .topnav-item-help {
    display:none; 
  }

  .portal-development-watermark {
    width: 50px;
    height: 50px;
    font-size: 15px;
  }

  .portal-development-watermark-top-left,
  .portal-development-watermark-top-right {
    top: max(12px, env(safe-area-inset-top));
  }

  .portal-development-watermark-bottom-left,
  .portal-development-watermark-bottom-right {
    bottom: max(12px, env(safe-area-inset-bottom));
  }

  .portal-development-watermark-top-left,
  .portal-development-watermark-bottom-left {
    left: max(12px, env(safe-area-inset-left));
  }

  .portal-development-watermark-top-right,
  .portal-development-watermark-bottom-right {
    right: max(12px, env(safe-area-inset-right));
  }

  .topnav-item-message{
    padding-right:10px;
  }

  .topnav-area-right > .topnav-item-evx-eshop {
    display: flex;
  }

}
