/*
    Less CSS Variables
    > Needed because CSS variables are not working in media querys
*/
/*------------------------------------------------
# Mixins
------------------------------------------------*/
/*------------------------------------------------
# Header
------------------------------------------------*/
#header {
  z-index: 1200;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transition: all 0.3s;
}
#header.pin {
  top: 0;
}
#header.unpin {
  top: -300px;
}
#header #standard-header {
  padding: 0px 20px;
  height: var(--navheight_mobile);
  border-bottom: solid 1px var(--border-color-default);
  background: var(--comp--header--background);
  color: var(--comp--header--color);
  display: flex;
  display: -webkit-flex;
  align-items: center;
  justify-content: center;
  /* Pull Button */
}
@media (min-width: 1000px) {
  #header #standard-header {
    padding: 0px 20px;
  }
  #header #standard-header #right li.active a .text {
    color: var(--primary) !important;
  }
}
@media (min-width: 1300px) {
  #header #standard-header {
    padding: 0px 40px;
  }
}
@media (min-width: 1024px) {
  #header #standard-header {
    top: var(--navheight);
  }
}
#header #standard-header section {
  flex: 1;
}
#header #standard-header #logo {
  display: flex;
  display: -webkit-flex;
  flex: 0;
  align-items: center;
  justify-content: center;
  height: 35px;
}
@media (min-width: 1000px) {
  #header #standard-header #logo {
    height: 45px;
  }
}
#header #standard-header #logo a {
  display: block;
  height: 100%;
}
#header #standard-header #logo img {
  height: 100%;
  width: auto;
}
#header #standard-header .mainmenu {
  display: block;
  transition: all 0.3s;
}
@media (min-width: 100px) and (max-width:850px) {
  #header #standard-header .mainmenu {
    z-index: 5;
    background: var(--comp--header--background);
    color: var(--comp--header--color);
    position: fixed;
    top: var(--navheight_mobile);
    margin: 0px;
    padding: 0px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: scroll;
    list-style-type: none;
    overflow-x: hidden;
    width: 100vw;
    margin-left: 200vw;
  }
  #header #standard-header .mainmenu.visible {
    margin-left: 0;
  }
  #header #standard-header .mainmenu li {
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: solid 1px var(--border-color-default);
    color: var(--on-background);
  }
  #header #standard-header .mainmenu li a {
    height: 50px;
    position: relative;
    color: var(--comp--header--color);
    padding: 10px 20px;
    display: flex;
    display: -webkit-flex;
    align-items: center;
  }
  #header #standard-header .mainmenu li a i {
    margin-right: 10px;
  }
  #header #standard-header .mainmenu li a .image {
    width: 35px;
    height: 35px;
    padding: 5px;
    margin-right: 10px;
    border: solid 1px #333;
    border-radius: 100%;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    justify-content: center;
  }
  #header #standard-header .mainmenu li a .image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  #header #standard-header .mainmenu li.back {
    height: 40px;
    background: rgba(0, 0, 0, 0.05);
    justify-content: flex-start;
    padding-left: 5px;
  }
  #header #standard-header .mainmenu li.back svg {
    display: flex;
    display: -webkit-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
  }
  #header #standard-header .mainmenu .navtrigger {
    height: 50px;
    width: 50px;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    justify-content: center;
  }
  #header #standard-header .mainmenu .navtrigger svg {
    transform: rotate(-90deg);
  }
  #header #standard-header .mainmenu ul {
    position: absolute;
    top: 0;
    bottom: 0;
    background: var(--background);
    list-style-type: none;
    overflow-y: scroll;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    margin-left: 200vw;
    display: block;
    width: 100vw;
    z-index: 6;
    transition: all 0.3s;
  }
  #header #standard-header .mainmenu .active > ul {
    margin-left: 0;
  }
  #header #standard-header .mainmenu .menu1 ul li a {
    height: var(--navheight_mobile);
  }
  #header #standard-header .mainmenu .menu1 ul li a .image {
    border: none;
    padding: 0;
    height: 40px;
    width: 40px;
  }
  #header #standard-header .mainmenu li.service {
    background: var(--surface-3);
    border-color: var(--border-color-2);
  }
  #header #standard-header .mainmenu li.service a {
    color: var(--on-surface-3);
  }
}
@media (min-width: 100px) and (max-width:850px) and (min-width: 1024px) {
  #header #standard-header .mainmenu {
    top: var(--navheight);
  }
}
@media (min-width: 100px) and (max-width:850px) and (min-width: 1024px) {
  #header #standard-header .mainmenu .menu1 ul li a {
    top: var(--navheight);
  }
}
@media (min-width: 1000px) {
  #header #standard-header .mainmenu {
    display: flex;
    display: -webkit-flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
  }
  #header #standard-header .mainmenu li.service {
    display: none;
  }
  #header #standard-header .mainmenu > li {
    display: flex;
    display: -webkit-flex;
    align-items: center;
    margin-right: 20px;
  }
  #header #standard-header .mainmenu > li > a {
    color: var(--comp--header--color);
    font-weight: 700;
    font-size: 0.7rem;
    transition: all 0.3s;
  }
  #header #standard-header .mainmenu > li > a:hover {
    color: var(--primary);
  }
  #header #standard-header .mainmenu > li ul {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--navheight_mobile);
    list-style-type: none;
    margin: 0px;
    padding: 20px 0px;
    border-top: 1px solid var(--border-color-default);
    display: flex;
    display: -webkit-flex;
  }
  #header #standard-header .mainmenu > li ul .group {
    border-right: 1px solid var(--border-color-default);
    padding-right: 20px;
    margin-right: 20px;
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
  }
  #header #standard-header .mainmenu > li ul .group .headline {
    font-weight: 700;
    width: 100%;
    margin-bottom: 20px;
  }
  #header #standard-header .mainmenu > li ul li {
    margin: 0px 20px;
  }
  #header #standard-header .mainmenu > li ul li a {
    color: var(--comp--header--color);
    display: flex;
    display: -webkit-flex;
    align-items: center;
    flex-direction: column;
    font-size: 0.8rem;
  }
  #header #standard-header .mainmenu > li ul li a .image {
    display: block;
    height: 200px;
    width: 150px;
    margin-bottom: 10px;
    flex-shrink: 0;
  }
  #header #standard-header .mainmenu > li ul li a .image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  #header #standard-header .mainmenu > li ul li.back {
    display: none;
  }
  #header #standard-header .mainmenu > li .navtrigger {
    display: flex;
    display: -webkit-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  #header #standard-header .mainmenu > li.menu2 ul {
    background-color: var(--surface);
    flex-direction: column;
  }
  #header #standard-header .mainmenu > li.menu2 ul li.back {
    display: none;
  }
  #header #standard-header .mainmenu > li.menu2 ul li {
    margin-bottom: 20px;
    display: flex;
    display: -webkit-flex;
  }
  #header #standard-header .mainmenu > li.menu2 ul li a {
    display: flex;
    display: -webkit-flex;
    align-items: center;
    flex-direction: row;
    line-height: 1.2;
    word-wrap: break-word;
    hyphens: auto;
    color: var(--comp--header--color);
  }
  #header #standard-header .mainmenu > li.menu2 ul li a .image {
    width: 40px;
    height: 40px;
    padding: 8px;
    border: solid 1px var(--border-color-default);
    border-radius: 100%;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    margin-right: 10px;
    overflow: hidden;
  }
  #header #standard-header .mainmenu > li.menu2 ul li a:hover {
    color: var(--primary);
  }
  #header #standard-header .mainmenu > li.menu2 ul li a:hover .image {
    border-color: var(--primary);
  }
  #header #standard-header .mainmenu > li.menu2 ul li .navtrigger {
    display: flex;
    display: -webkit-flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transform: rotate(-90deg);
  }
  #header #standard-header .mainmenu > li.menu2 > ul > li {
    width: 20vw;
  }
  #header #standard-header .mainmenu > li.menu2 > ul > li > ul {
    margin-bottom: 30px;
  }
  #header #standard-header .mainmenu > li.menu2 > ul > li > ul,
  #header #standard-header .mainmenu > li.menu2 > ul > li > ul > li > ul,
  #header #standard-header .mainmenu > li.menu2 > ul > li > ul > li > ul > li > ul {
    width: 25vw;
    position: absolute;
    left: 25vw;
    top: 0;
    bottom: 0px;
    border-left: 1px solid var(--border-color-default);
    border-top: 0;
    margin-top: 20px;
    padding: 0px;
  }
  #header #standard-header .mainmenu > li.menu2 > ul > li > ul > li > ul > li > ul {
    margin-top: 0;
  }
  #header #standard-header .mainmenu > li.menu2 > ul > li > ul > li > ul {
    margin-top: 0;
  }
  #header #standard-header .mainmenu li.active > a {
    color: var(--primary) !important;
  }
}
@media (min-width: 1000px) and (min-width: 1024px) {
  #header #standard-header .mainmenu > li ul {
    top: var(--navheight);
  }
}
@media (min-width: 1024px) {
  #header #standard-header .mainmenu > li.menu2 ul li a .image {
    width: 60px;
    height: 60px;
    margin-right: 20px;
  }
}
@media (min-width: 1300px) {
  #header #standard-header .mainmenu > li > a {
    font-size: 1rem;
  }
  #header #standard-header .mainmenu > li > ul > li a {
    font-size: 1rem;
  }
  #header #standard-header .mainmenu > li.menu2 ul li a .image {
    width: 80px;
    height: 80px;
  }
}
#header #standard-header #left {
  display: flex;
  display: -webkit-flex;
  align-items: center;
  justify-content: flex-start;
}
#header #standard-header #right ul {
  margin: 0;
  padding: 0;
  display: flex;
  display: -webkit-flex;
  align-items: center;
  justify-content: flex-end;
  list-style-type: none;
}
#header #standard-header #right ul li {
  margin-left: 10px;
}
#header #standard-header #right ul li a {
  display: flex;
  display: -webkit-flex;
  color: var(--comp--header--color);
}
#header #standard-header #right ul li a .text {
  display: none;
}
@media (min-width: 1000px) {
  #header #standard-header #right ul li a {
    font-size: 0.7rem;
  }
}
@media (min-width: 1300px) {
  #header #standard-header #right ul li a {
    font-size: 1rem;
  }
}
#header #standard-header #right ul li a.btn {
  color: inherit;
}
#header #standard-header #right ul li.service,
#header #standard-header #right ul li.orders {
  display: none;
}
@media (min-width: 1000px) {
  #header #standard-header #right ul li.service,
  #header #standard-header #right ul li.orders {
    display: block;
    margin-right: 15px;
  }
  #header #standard-header #right ul li.service .text,
  #header #standard-header #right ul li.orders .text {
    display: block;
    font-weight: 700;
    color: var(--comp--header--color);
  }
}
#header #standard-header #right ul li.cartbutton {
  cursor: pointer;
}
#header #standard-header #right ul li.cartbutton button {
  position: relative;
}
#header #standard-header #right ul li.cartbutton button .num {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--primary);
  color: var(--on-primary);
  height: 15px;
  width: 15px;
  border-radius: 100%;
  -moz-border-radius: 100%;
  -webkit-border-radius: 100%;
  display: flex;
  display: -webkit-flex;
  line-height: 1;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}
#header #standard-header #right ul li.accountbutton {
  margin-left: 15px;
  height: 30px;
}
#header #standard-header #right ul li.accountbutton .btn {
  height: 100%;
  background: transparent;
  color: inherit;
}
#header #standard-header #right ul li.accountbutton .btn:hover {
  color: var(--on-tertiary);
}
#header #standard-header #right ul li.accountbutton .btn:before {
  background: var(--tertiary);
  color: var(--on-tertiary);
}
#header #standard-header button#pull {
  display: flex;
  display: -webkit-flex;
  flex-direction: row;
  align-items: center;
  text-align: center;
  justify-content: center;
  cursor: pointer;
  z-index: 500;
  text-align: left;
  font-size: 18px;
  color: inherit;
}
#header #standard-header button#pull .text {
  font-size: 1rem;
  padding-left: 7px;
}
#header #standard-header button#pull .pull_button {
  display: block;
  width: 20px;
}
#header #standard-header button#pull .pull_button span {
  transition: all 0.3s;
  display: block;
  width: 100%;
  height: 2px;
  background: var(--surface-3);
  margin-bottom: 3px;
  border-radius: 100px;
}
#header #standard-header button#pull .pull_button span:nth-of-type(3) {
  margin-bottom: 0px;
}
#header #standard-header button#pull:hover {
  text-decoration: none;
}
#header #standard-header button#pull.active .pull_button span:nth-child(1) {
  transform: rotate(-45deg);
  margin-top: -2px;
}
#header #standard-header button#pull.active .pull_button span:nth-child(2) {
  opacity: 0;
  -moz-opacity: 0;
  -webkit-opacity: 0;
  visibility: hidden;
}
#header #standard-header button#pull.active .pull_button span:nth-child(3) {
  transform: rotate(45deg);
  margin-top: -10px;
}
@media (min-width: 1000px) {
  #header #standard-header button#pull {
    display: none;
  }
}
#header #standard-header .search_mobile a {
  cursor: pointer;
}
/*------------------------------------------------
# Headerpic
------------------------------------------------*/
#headerpic {
  width: 100%;
}
#headerpic img {
  width: 100%;
}
