/* desktop topbar */
div.topbar-wrapp {
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--header-color);
  position: fixed;
  top: 0;
  left: 280px;
  border-bottom: 1px solid transparent;
  width: -webkit-fill-available;
}
div.topbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
div.topbar-content::before {
  display: none;
}

/* desktop topbar right side */
div.topbar-wrapp div.top-bar-right {
  display: flex;
}
div.top-bar-right div.topbar-menu {
  display: none;
}
div.topbar-wrapp .top-bar-right div[class^="p-xelem-wrapper"] {
  margin-left: 10px;
}
@media (min-width: 1025px) {
  div.topbar-wrapp
    div.top-bar-left
    div[class^="p-xelem-wrapper"][class$="-top-logo"]
    img.p-xelem-img {
    padding: 3px;
  }
}

/* desktop topbar logo*/
div.topbar-content
  div.top-bar-left
  div[class^="p-xelem-wrapper-"][class$="-top-logo"]
  img.p-xelem-img {
  height: 50px;
}

/* tablet header */
header.main-header {
  background: var(--header-color);
  position: fixed !important;
  top: 0;
  /* border-bottom: 1px solid var(--border-color); */
  overflow-x: hidden;
}
@media (min-width: 1025px) {
  header.main-header {
    background: var(--bg-color);
  }
  header.main-header {
    /* border-bottom: 1px solid var(--border-color); */
  }
}

/* logo 990px+ fix (basel height = 60px) */
@media (max-width: 1024px) {
  header.main-header a.basel-logo {
    display: flex;
    height: 60px;
  }
  .main-header:not(.header-menu-top) .site-logo img {
    max-width: 100%;
    max-height: 100%;
  }
}

/* another fix */
@media (max-width: 480px) {
  .main-header .site-logo {
    padding-right: 15px !important;
  }
}

/* tablet header logo and buttons */
@media (max-width: 1024px) {
  div.topbar-wrapp {
    display: none;
  }
  header.main-header div.vertical-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  header.main-header div.wrapp-header div.site-logo {
    width: auto;
  }
  header.main-header div.wrapp-header div.right-column {
    display: flex;
    align-items: center;
    width: auto;
  }
}
@media (min-width: 425px) and (max-width: 1024px) {
  header.main-header div.basel-logo-wrap img {
    padding: 10px;
  }
}

@media (max-width: 1024px) {
  /*burger*/
  span.basel-burger::before,
  span.basel-burger::after,
  span.basel-burger {
    width: 20px !important;
    background-color: var(--burger-color) !important;
  }
}

/* Extra Elements header and menu uni(log-sign) buttons  */
div[class^="p-xelem-wrapper-"][class$="-uni-signupbtn"] span.p-xelem-btn {
  color: var(--signup-text);
}
div[class^="p-xelem-wrapper-"][class$="-uni-loginbtn"] span.p-xelem-btn {
  color: var(--login-text);
}
div[class^="p-xelem-wrapper-"][class$="-uni-signupbtn"] span.p-xelem-btn,
div[class^="p-xelem-wrapper-"][class$="-uni-loginbtn"] span.p-xelem-btn {
  /* color: #222; */
  font-size: clamp(12px, 2vw, 14px);
  white-space: nowrap;
  font-weight: 600;
  transition: 0.3s ease;
}
div[class^="p-xelem-wrapper-"][class$="-uni-signupbtn"] a.p-xelem-link {
  border: 1px solid var(--signup-btnBorder-color);
}
div[class^="p-xelem-wrapper-"][class$="-uni-loginbtn"] a.p-xelem-link {
  border: 1px solid var(--login-btnBorder-color);
}
div[class^="p-xelem-wrapper-"][class$="-uni-signupbtn"] a.p-xelem-link,
div[class^="p-xelem-wrapper-"][class$="-uni-loginbtn"] a.p-xelem-link {
  display: flex;
  border-radius: var(--border-radius-btn);
  padding: clamp(14px, 2.5dvw, 18px) clamp(10px, 2.5dvw, 18px);
  transition: 0.3s ease;
}

/*on hover*/
div[class^="p-xelem-wrapper-"][class$="-uni-loginbtn"] a.p-xelem-link {
  background-color: var(--login-btnBG-color);
}
div[class^="p-xelem-wrapper-"][class$="-uni-loginbtn"] a.p-xelem-link:hover {
  background-color: var(--login-hoverbtnBG-color);
}
div[class^="p-xelem-wrapper-"][class$="-uni-signupbtn"] a.p-xelem-link {
  background-color: var(--signup-btnBG-color);
}
div[class^="p-xelem-wrapper-"][class$="-uni-signupbtn"] a.p-xelem-link:hover {
  background-color: var(--signup-hoverbtnBG-color);
}
div[class^="p-xelem-wrapper-"][class$="-uni-signupbtn"] a.p-xelem-link:hover {
  border: 1px solid var(--signup-hoverbtnBorder-color);
}
div[class^="p-xelem-wrapper-"][class$="-uni-loginbtn"] a.p-xelem-link:hover {
  border: 1px solid var(--login-hoverbtnBorder-color);
}
div[class^="p-xelem-wrapper-"][class$="-uni-signupbtn"]
  a.p-xelem-link:hover
  span.p-xelem-btn {
  color: var(--signup-hover-text);
}
div[class^="p-xelem-wrapper-"][class$="-uni-loginbtn"]
  a.p-xelem-link:hover
  span.p-xelem-btn {
  color: var(--login-hover-text);
}
