#page {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding-top: 0 !important;
}

aside.side-navigation {
  -webkit-appearance: none;
  -moz-box-shadow: 5px 0 20px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 5px 0 20px rgba(0, 0, 0, 0.2);
  box-shadow: 5px 0 20px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  overflow-x: visible;
  min-height: 100vh;
}

.nav-sticky {
  position: sticky;
  z-index: 11;
  top: 0;
  left: 0;
  -moz-box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.menu-huvudmeny-container {
  padding-bottom: 90px;
}

aside.side-navigation a {
  text-decoration: none;
}

#mastmain,
#servicemain {
  width: 100%;
}

@media screen and (max-width: 1300px) {
  #mastmain.open-no-scroll {
    position: fixed;
  }
}

#primary-menu li {
  padding: 0 56px 0 20px;
  border-top: 1px solid #f0f2f3;
  z-index: 10;
}
#primary-menu li:first-child {
  border-top: unset;
}
#primary-menu li:last-child {
  border-bottom: 1px solid #f0f2f3;
}

#primary-menu li > a {
  display: inline-block;
  padding: 15px 0;
  width: 100%;
}

#primary-menu li > a:hover {
  text-decoration: underline;
}

#primary-menu li > a.no-hover-foldoutbtn:hover {
  text-decoration: none;
}

.topnav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  color: #616161;
  background-color: #f0f2f3;
  padding: 10px 15px;
}

.topnav a {
  text-decoration: none;
}

.topnav a:hover {
  text-decoration: underline;
}

.asidenav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  color: #616161;
  background-color: #f0f2f3;
  padding: 10px 15px;
}

.header-search {
  padding: 0 !important;
}

.side-nav-search {
  padding: 16px !important;
}

.side-nav-search .floatlabel-input {
  margin-bottom: 0;
}
.side-nav-header {
  display: none;
  background-color: white;
}
.aside-inner {
  height: 100%;
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overflow: -moz-scrollbars-none;
  background-color: #DBE8D2;
}
.aside-inner::-webkit-scrollbar {
  width: 0 !important;
}
.aside-inner .menu-close {
  background-color: #fff;
  height: 100%;
  display: flex;
  justify-content: center;
  display: flex;
  align-items: center;
}
.aside-inner .menu-close span {
  padding: 15px 0;
  display: block;
  cursor: pointer;
}
.aside-inner .menu-close i {
  margin-right: 0.5rem;
}

.aside-inner .menu-homepage {
  padding: 0 56px 0 20px;
  background-color: #DBE8D2;
  height: 100%;
  display: flex;
  align-items: center;
}

.aside-inner .menu-homepage i {
  margin-right: 0.5rem;
}

.aside-inner .menu-homepage a {
  padding: 15px 0;
  display: block;
}

.tya-id-meny-container {
  height: auto;
  width: 300px;
  background-color: #FFFFFF;
  border-top: 1px solid #f0f2f3;
  position: fixed;
  bottom: 0;
  padding: 20px 40px;
}

.tya-id-meny-container .sign-in {
  font-size: 18px;
  font-family: "Lineto Circular Bold", sans-serif;
  color: #00a65c;
  cursor: pointer;
}


.tya-id-meny-container a {
  display: flex;
  align-items: center;
  justify-content: center;

}

.tya-id-meny-container a .fa-user-circle,
.tya-id-meny-container a .fa-sign-in {
  padding-right: 6px;
  font-size: 20px;
}

.tya-id-meny-container a .fa-angle-right {
  padding-left: 16px;
  padding-top: 5px;
  font-size: 20px;
  color: #aeb4ba;
}

.tya-id-meny-container .signed-in {
  font-size: 18px;
  font-family: "Lineto Circular Bold", sans-serif;
  color: #00a65c !important;
  cursor: pointer;
}

@media all and (max-width: 1300px) {
  #masthead .cart-btn {
    position: static;
    column-gap: 0;
    display: flex;
    gap: 8px;
  }

  #masthead .cart-btn .cart-btn-qty {
    top: 0rem;
    right: 0.3rem;
  }

  #masthead .cart-btn-title {
    font-size: 1rem;
    line-height: 1.5;
  }
}

@media only screen and (min-width: 1300px) {
  .side-nav-header {
    padding: 10px 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  .side-nav-header .custom-logo, #top-header-bar .custom-logo {
    height: 50px;
    width: auto;
  }
  .mobile {
    display: none;
  }

  /*#masthead {
    display: none !important;
  }*/
  .aside-inner {
    position: fixed;
    width: 300px;
    z-index: 1001;
    top: 0;
  }

  aside.side-navigation {
    display: none;
    z-index: 1001;
  }

  /* Dark overlay */
  #overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5); /* dark effect */
    display: none;
    z-index: 1000;
  }

  #overlay.active {
    display: block;
  }
}
@media only screen and (max-width: 1299px) {
  aside.side-navigation {
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    display: block !important;
    position: absolute;
    right: -300px;
    background-color: #fff;
    box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.2);
    
    z-index: 11;
  }
  aside.aside-toggled {
    visibility: visible;
    opacity: 1;
    transition: all 0.3s ease;
    right: 0;
    top: 0;
    left: 0;
  }
  aside.side-navigation {
    min-height: unset;
  }
  .aside-inner {
    
  }
  #mobile-menu-btn {
    display: block;
  }
  aside.menu-closed {
    min-width: 0;
    width: 0;
  }
}

#primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-item-type-custom {
  /*
  background-color: #fff;
  */
}

#primary-menu > .menu-item {
  background-color: #314F38;
}

#primary-menu > .menu-item > a {
  color: #fff;
}

#primary-menu > .menu-item > a > button {
  color: #fff;
}

#primary-menu > .menu-item > {
  background-color: #314F38;
}

#primary-menu > .menu-item > .sub-menu li a {
  padding-left: 24px;
}

#primary-menu > .menu-item > .sub-menu .sub-menu li a {
  padding-left: 28px;
}

#primary-menu > .menu-item > .sub-menu .sub-menu .sub-menu .sub-menu li a {
  padding-left: 32px;
}

#primary-menu > .menu-item > .sub-menu .sub-menu .sub-menu .sub-menu .sub-menu li a {
  padding-left: 36px;
}

#styleguide-menu,
#block-menu {
  list-style: none;
  padding: 10px 20px;
  padding-left: 0;
}

#primary-menu .menu-item-has-children > a,
#styleguide-menu .menu-item-has-children > a,
#block-menu .menu-item-has-children > a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.menu-item a:active {
  text-decoration: none !important;
}
.sub-menu {
  list-style: none;
  display: none;
  margin: 0 -56px 0 -20px;
  background-color: #DBE8D2;
  padding-left: 0;
  overflow: hidden;
}

.sub-menu .sub-menu {
  background-color: #fff;
}
.sub-menu .sub-menu .sub-menu {
  background-color: #fff;
}
.sub-menu .sub-menu .sub-menu .sub-menu {
  background-color: #fff;
}
.sub-menu .menu-item {
  padding: 5px 0;
  border-top: 1px solid #dde2e4 !important;
}
.sub-menu .menu-item:last-child {
  border-bottom: 1px solid #dde2e4 !important;
}
.sub-menu .sub-menu .menu-item {
  padding: 5px 0;
  border-top: 1px solid #cfd5d8 !important;
}
.sub-menu .sub-menu .menu-item:last-child {
  border-bottom: 1px solid #cfd5d8 !important;
}
.sub-menu .sub-menu .sub-menu .menu-item {
  padding: 5px 0;
  border-top: 1px solid #b5c2cc !important;
}
.sub-menu .sub-menu .sub-menu .menu-item:last-child {
  border-bottom: 1px solid #b5c2cc !important;
}
.sub-menu .sub-menu .sub-menu .sub-menu .menu-item {
  padding: 5px 0;
  border-top: 1px solid #aab6c0 !important;
}
.sub-menu .sub-menu .sub-menu .sub-menu .menu-item:last-child {
  border-bottom: 1px solid #aab6c0 !important;
}

.submenu-foldout-btn {
  position: absolute;
  top: 0;
  height: 100%;
  width: 57px;
  right: -57px;
}

#breadcrumbs {
  padding-top: 1.125rem;
  padding-bottom: 1.125rem;
  color: var(--tya-sliver4);

  a {
    text-underline-offset: 3px;
  }

  & > span {
    display: flex;
    flex-flow: row wrap;
    gap: 0.5rem;
  }

  .breadcrumb_last {
    font-family: "Lineto Circular Bold", sans-serif;
  }
}

.submenu-foldout-btn:hover {
  background-color: rgba(0, 0, 0, 0.03);
}

.menu-item-has-children a {
  position: relative;
}

.submenu-foldout-btn .submenu-toggle-btn {
  padding-left: 0;
}

.current_page_item > .sub-menu {
  display: block;
}

.current-page-parent > a,
.current-page-ancestor > a,
.current-menu-item > a {
  font-family: "Lineto Circular Bold", sans-serif;
}

.current-menu-item > a {
  text-decoration: underline !important;
}

.external-link,
.submenu-toggle-btn {
  padding-left: 7px;
  text-decoration: none !important;
}
.external-link:hover,
.submenu-toggle-btn:hover {
  text-decoration: none !important;
}

#masthead-inner,
#service-header--inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
#service-header--inner {
  padding: 0 15px;
}


#masthead .custom-logo,
#service-header .custom-logo {
  height: auto;
  width: 80px;
}

#service-header .tya-service-link {
  display: block;
  background-color: #dbe8d2;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 15px 21px 21px 0;
  margin-left: 9px;
  font-family: "Lineto Circular Book", sans-serif;
  text-decoration: none !important;
}

.tya-id-header-container a {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.tya-id-header-container {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  padding: 0 1rem;
}

.tya-id-header-container a i {
  font-size: 1rem;
  padding-right: 10px;
  color: #00a65c;
}

.tya-id-header-container a p {
  margin: unset;
  text-decoration: none;
}

.tya-id-header-container a p:hover {
  text-decoration: underline;
}

@media only screen and (max-width: 1300px) {
  .tya-id-meny-container {
    display: none;
  }
}

@media only screen and (max-width: 592px) {
  /*.tya-id-header-container a p, .hamburger p, #masthead .cart-btn-title {
    display: none;
  }*/
  .tya-id-header-container #open-tya-id-modal-mobile {
    padding-right: 0;
  }
  #masthead .cart-btn {
    padding-right: 15px;
  }
}

.hamburger {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.hamburger:focus,
.hamburger:active {
  outline: none;
}

.hamburger-inner,
.hamburger-inner:after,
.hamburger-inner:before,
.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner:after,
.hamburger.is-active .hamburger-inner:before {
  background-color: #00A65C;
}
.hamburger p {
  margin-top: 0;
  margin-left: 10px;
}

@media only screen and (max-width: 1299px) {

  .masthead-inner-mobile {
    .search-box {
      display: none;
    }

    .search-box-open {
      display: flex;
      position: absolute;
      width: 100%;
      align-items: center;
      top: 89px;
    }

    #search-form-container {
      width: 100%;
    }

    .floatlabel-input {
      width: 100%;
    }

    .mobile-btns {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
  }

  .center-col {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .hamburger {
    flex-direction: column;
  }

  .hamburger p {
    margin: 0;
    margin-top: 10px;
  }

  .cart-btn {
    flex-direction: column;
  }

  .search-mobile-btn, .sign-in {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
  }

  .search-mobile-btn p, .sign-in p {
    margin: 0;
  }

  .search-mobile-btn p, .sign-in p, .cart-btn-title {
    margin-top: 10px;
  }

  .search-mobile-btn i, .sign-in i, .cart-btn i {
    font-size: 20px !important;
    color: #00a65c;
  }

}

@media only screen and (min-width: 1300px) {

}

/* Submeny nav on tya services */
.submenu-tya-services {
  display: flex;
  flex-direction: row;
}

.submenu-tya-services .menu-link-container {
  padding: 0 25px 15px 0;
  display: table;
  white-space: nowrap;
}

.submenu-tya-services--menu-items {
  border-bottom: 1px #f0f2f3 solid;
  margin: 15px 0;
}

.submenu-tya-services .menu-link-container:last-child {
  display: block;
  width: 100%;
  border-left: 1px #f0f2f3 solid;
  padding-left: 25px;
}

.submenu-tya-services .menu-link-container:last-child a {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-end;
}

.submenu-tya-services .menu-link-container:last-child a i {
  margin-left: 4px;
  margin-bottom: 2px;
}

@media (max-width: 768px) {
  .submenu-tya-services {
    flex-direction: column;
    margin: 12px 0;
  }
  .submenu-tya-services--menu-items {
    display: none;
  }
  .submenu-tya-services--mobile-toggle {
    padding: 12px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px #f0f2f3 solid;
    border-bottom: 1px #f0f2f3 solid;
    text-decoration: none !important;
  }
  .submenu-tya-services--mobile-toggle i {
    padding: 10px;
    display: flex;
    align-items: center;
  }
  .submenu-tya-services .menu-link-container {
    display: block;
    padding: 0 10px;
    border: none;
    margin-bottom: 0.75rem;
  }
  .submenu-tya-services .menu-link-container:last-child {
    padding-left: 10px;
    border: none;
  }
}
@media (min-width: 768px) {
  .submenu-tya-services--mobile-toggle {
    display: none;
  }
  .submenu-tya-services--menu-items {
    display: flex;
    flex-direction: row;
  }
}

.submenu-tya-services .menu-link-container a {
  text-decoration: none;
}

.submenu-tya-services .menu-link-container a:hover,
.submenu-tya-services .menu-link-container a.current {
  text-decoration: underline;
}

.cart-btn span, .cart-btn i {
  display: block;
}

.cart-btn-qty {
  position: absolute;
}

.cart-btn, .cart-btn:hover {
  text-decoration: none;
}

.cart-btn {
  background: #FFF;
  display: flex;
  column-gap: 0.5rem;
  align-items: center;
}

.cart-btn .cart-btn-qty {
  min-width: 0.8rem;
  padding: 0.2rem;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  top: -0.375rem;
  right: -0.375rem;
  font-size: 0.625rem;
  font-weight: bold;
  line-height: 0.3em;

  color: #FFF;
  background-color: #4B8DC5;

  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.cart-btn i {
  font-size: 1.1rem;
  color: #00a65c;
}

.cart-btn:hover .cart-btn-title {
  text-decoration: underline;
}

/*  Toggle  */
.masthead-inner-desktop {
  display: block;
}

.masthead-inner-mobile {
  display: none;
}

@media only screen and (max-width: 1299px) {
  .masthead-inner-desktop {
    display: none;
  }

  .masthead-inner-mobile {
    display: flex;
    align-items: stretch;
    height: 72px;
  }
}

/*  Desktop internals  */
.masthead-inner-desktop #masthead-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  height: 85px;
}

.masthead-inner-desktop .left-col {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: stretch;
  justify-self: start;
}

.masthead-inner-desktop .center-col {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-self: center;
  height: stretch;
}

.masthead-inner-desktop .right-col {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  height: stretch;
}

/*  Mobile internals  */
.masthead-inner-mobile .mobile-header__col {
  margin: 0 8px;
}

/* Show/Hide box-shadow depending on if custom dropdown is opened */
.masthead-inner-mobile .dropdown-open-AuthTrigger,
.masthead-inner-mobile .dropdown-open-SearchTrigger {
    box-shadow: none !important;
}

.masthead-inner-mobile .mobile-header__btn,
.masthead-inner-mobile .search-trigger {
  display: inline-flex;
  align-items: stretch;
  height: 100%;
}

.masthead-inner-mobile .mobile-header__btn > *,
.masthead-inner-mobile .search-trigger > button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 100%;
  padding: 0 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.masthead-inner-mobile .mobile-header__btn > * p,
.masthead-inner-mobile .mobile-header__btn > * span,
.masthead-inner-mobile .search-trigger > button p,
.masthead-inner-mobile .search-trigger > button span {
  margin: 0;
  font-size: 14px;
}

.masthead-inner-mobile .mobile-header__btn > * i,
.masthead-inner-mobile .search-trigger > button i {
  font-size: 20px;
  width: 20px;
  height: 20px;
  color: #00A65C;
}

@media only screen and (max-width: 1299px) {
  .masthead-inner-mobile .mobile-header__col {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    height: 100%;
    gap: 8px;
  }

  .masthead-inner-mobile .mobile-header__right-group {
    display: contents;
  }
}
