﻿/*#region HEADER */

.header {
  margin: 0;
}

.header__product-search,
.header__bottom {
  position: static;
}

.header__navigation {
  position: relative;
  box-shadow: 0 2px 4px 0px rgba(0,0,0,0.5);
}

  .header__navigation .container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

.flyout-cart.active {
  display: block;
  z-index: 10;
}

.header-links li {
  padding-top: 5px;
}

.admin-header-links a {
  text-transform: none;
}

.header-lower {
  background-color: #031E45;
  margin-bottom: 32px;
}

.header-upper-menu-items {
  display: flex;
  gap: 40px;
}

.header-upper-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header .header-upper .header-upper-inner::after {
  content: none
}

.header-upper-inner .contact-box__image {
  height: 30px;
  width: 30px;
}

.header-upper-inner .contact-box__info p,
.header-upper-inner .contact-box__info a,
.header-upper-inner .contact-box__info div {
  font-size: 0.5625rem;
}

@media (max-width: 1024px) {
  .header {
    top: 0;
  }

  .cart-item-count::after {
    content: attr(data-value);
    position: absolute;
    top: 0px;
    height: 19px;
    min-width: 18px;
    background: #FFCF00;
    border-radius: 50%;
    text-align: center;
    font-weight: 600;
    white-space: pre;
    display: inline;
    z-index: 9;
    font-size: small;
    margin-top: 3px;
    color: #000;
  }

  .header-links a {
    background-image: none;
  }
}

@media (min-width: 1025px) {
  .header__navigation,
  .header__product-search {
    display: block;
  }

  .flyout-cart {
    top: 46px;
    right: 0px;
    height: auto;
  }

  .cart-item-count::after {
    display: none;
  }

  .header-links a {
    background-image: none;
    padding-left: 10px;
  }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .header .flyout-cart-wrapper .flyout-cart.active {
    display: block;
  }

  .header .header-lower .flyout-cart-wrapper .flyout-cart:not(.active) {
    display: none;
  }
}

@media (min-width: 1025px) {

  .header .flyout-cart-wrapper .flyout-cart.active {
    display: block;
  }

  .header .header-lower .flyout-cart-wrapper .flyout-cart:not(.active) {
    display: none;
  }
}

#headerMenuParent {
  min-height: 0px;
}

.header-upper {
  height: 50px;
}

/*#region HEADER: TOP */
.contact-box {
  display: inline-flex;
  align-items: center;
  height: 50px;
}

  .contact-box::before {
    content: '';
    display: block;
    background-image: url('../img/haldur.png');
    background-size: cover;
    border-radius: 50%;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
  }

.header-logo {
  display: flex;
  align-items: center;
  min-width: 350px;
}

/* #endregion */

/*#region HEADER: BOTTOM */
.contact-cart-container {
  display: none;
}

.stick-content {
  justify-content: center;
}

@media (min-width: 981px) {
  .contact-cart-container {
    display: flex;
  }

  .stick-content {
    justify-content: space-between;
  }
}
/*#endregion */

/* #region HEADER: NAVIGATION */
.header__navigation .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navigation__selections {
  display: flex;
  display: flex;
  align-items: center;
  height: 50px;
  position: relative;
}

.mobile-links {
  color: #004B8B;
  font-size: 1.6250rem;
  position: absolute;
  bottom: 5px;
  right: 1.5%;
  display: block;
}

  .mobile-links .fa {
    margin-left: 15px;
  }

.mobile-cart__link {
  position: relative;
  color: #1e74ce;
}

  .mobile-cart__link:after {
    content: ' ';
  }

  .mobile-cart__link:after {
    content: attr(data-value);
    position: absolute;
    top: 20px;
    right: -20px;
    height: 18px;
    width: 18px;
    background: #004B8B;
    border-radius: 50%;
    text-align: center;
    color: white;
    line-height: 17px;
    font-weight: 600;
    white-space: pre;
    display: inline;
    transform: translate(-50%, -25px);
    z-index: 9;
    font-size: small;
  }


@media(min-width: 981px) {
  .mobile-cart__link,
  .mobile-links {
    display: none;
  }
}

.selections__item {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

  .selections__item .selections__dropdown.open {
    display: block;
  }

.selections__dropdown {
  display: none;
  position: absolute;
  background: white;
  color: #4A4A4A;
  z-index: 1020;
  top: 50px;
  left: 0px;
  white-space: nowrap;
}

.icon {
  width: 2rem;
}

.selections__dropdown:first-child {
  padding-top: 4px;
}

.selections__dropdown > a {
  padding: 20px 25px;
  display: block;
  transition: background .1s ease-in-out;
}

  .selections__dropdown > a:hover {
    background: rgba(0,0,0,.05);
  }

@media(max-width: 1024px) {

  .selections__dropdown {
    font-size: 0.8125rem;
    width: 100%;
    top: unset;
    border-top: 2px solid #004B8B;
  }

    .selections__dropdown > a {
      border-top: 1px solid #ececec;
    }

    .selections__dropdown .fa {
      color: #004B8B;
    }
}

@keyframes fadeinbackdrop {
  0% {
    display: block;
    opacity: 0;
  }

  100% {
    display: block;
    opacity: 1;
  }
}

.mega-menu-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0);
  z-index: -1;
  display: none;
}

  .mega-menu-backdrop.visible {
    display: block;
    background: rgba(255,255,255,.95);
    animation-name: fadeinbackdrop;
    animation-duration: .4s;
    z-index: 15;
  }

.header__navigation .mega-menu-all-categories .dropdown {
  max-height: calc((100vh - 250px) * 0.95);
  top: 68px;
  margin-left: -26px;
}

.header__navigation .mega-menu-all-categories {
  position: absolute;
  top: 50px;
  left: 0;
  cursor: pointer;
  transition: background .2s ease;
}

  .header__navigation .mega-menu-all-categories:hover {
    background: rgba(0,0,0,.2);
  }

    .header__navigation .mega-menu-all-categories:hover > .has-sublist:before {
      opacity: .8;
    }

  .header__navigation .mega-menu-all-categories > .has-sublist {
    position: relative;
    padding: 26px;
  }

    .header__navigation .mega-menu-all-categories > .has-sublist:before {
      content: "\f0c9";
      position: absolute;
      top: 24px;
      color: white;
      display: inline-block;
      font: normal normal normal 18px/1 FontAwesome;
      text-rendering: auto;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

  .header__navigation .mega-menu-all-categories > li > span {
    font-size: 1.0000rem;
    font-weight: 600;
  }

  .header__navigation .mega-menu-all-categories li:hover span:before,
  .header__navigation .mega-menu-all-categories li span:before {
    background: none;
    border: none;
  }

@media(min-width: 981px) {
  .header__navigation .mega-menu-all-categories .dropdown {
    overflow-y: auto;
    max-width: 1100px;
    padding-top: 30px;
    width: 1100px;
  }
}

@media(max-width: 1199px) and (min-width: 981px) {
  .header__navigation .mega-menu-all-categories .dropdown {
    width: 89vw;
  }
}

@media(min-width: 1800px) {
  .header__navigation .mega-menu-all-categories .dropdown {
    width: 76vw;
    max-width: 1350px;
  }
}
/*#endregion */

/* #region HEADER: NAVIGATION - SELECTIONS */
.navigation__selections .fa {
  color: #004B8B;
  font-size: 0.8750rem;
}

.navigation__selections .fa-user {
  align-self: flex-start;
}

.navigation__selections {
  color: inherit;
  font-weight: normal;
}

.selections__user {
  display: flex;
  align-items: center;
}

.selections__user,
.selections__language {
  cursor: pointer;
}

  .selections__user .selections__title {
    margin: 0 10px;
  }

.selections__company {
  font-weight: normal;
}

.selections__language .selections__title {
  margin: 0 10px 0 0;
}

.language__selection {
  font-size: 1.0000rem;
  border-radius: 20px;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  width: 58px;
  height: 24px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 2px 6px;
  border: none;
  background: #004B8B url("../img/expand-button.png") no-repeat 32px center;
  margin-bottom: 3.4px;
}

@-moz-document url-prefix() {
  .language__selection {
    text-align: -moz-left;
  }

  .email-block {
    display: inline-flex;
    padding: 10px;
    margin-right: 7%;
    float: right;
  }
}

.selections__name {
  border-bottom: none;
  font-weight: normal;
}

.selections__item .selections__user .fa.fa-user {
  position: relative;
  top: 2px;
}

.selections__item .selections__user .fa-briefcase {
  position: relative;
  top: 1px;
}
/*#endregion */

/* #region HEADER: PRODUCTS DROPDOWN */
.header__navigation .mega-menu-all-categories .row-wrapper .row {
  margin-bottom: 26px;
}

.header__navigation .mega-menu-all-categories .picture-title-wrap {
  display: flex;
  flex-direction: column-reverse;
}

  .header__navigation .mega-menu-all-categories .picture-title-wrap .title {
    font-family: 'Titillium Web', sans-serif;
    font-weight: bold;
    font-size: 1.1250rem;
    border-bottom: 1px solid rgba(0,0,0,.2);
    padding: 30px 0 10px 0;
    line-height: 20px;
    margin: 0;
    height: 65px;
    display: flex;
    align-items: flex-end;
  }

  .header__navigation .mega-menu-all-categories .picture-title-wrap .picture a {
    height: 90px;
  }

  .header__navigation .mega-menu-all-categories .picture-title-wrap .picture .lazy {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
    max-width: unset;
  }

.header__navigation .mega-menu-all-categories .box .subcategories > li a {
  background: none;
  padding: 0;
  text-transform: lowercase;
  font-size: 0.8750rem;
}

  .header__navigation .mega-menu-all-categories .box .subcategories > li a:not(.view-all):before {
    content: "\f105";
    color: #004B8B;
    display: inline-block;
    font: normal normal normal 18px/1 FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .header__navigation .mega-menu-all-categories .box .subcategories > li a:not(.view-all) span {
    margin-left: 5px;
  }

.header__navigation .mega-menu-all-categories .box .subcategories > li .view-all {
  text-align: right;
  display: block;
  font-weight: 300;
  color: #1465BA;
  font-size: 0.8125rem;
}

.header__navigation .header-menu .sublist a {
  background: transparent;
  border: none;
  font-weight: bold;
  padding: 20px 25px;
}

  .header__navigation .header-menu .sublist a:before {
    display: none;
  }
/*#endregion */

/* #region HEADER: PRODUCT-SEARCH */

.search-wrap .product-search__search {
  display: none;
  border: none;
  position: fixed;
  top: 50px;
  left: 0;
  z-index: 1070;
  width: 100%;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
  background-color: #031E45;
  padding: 10px;
}

.product-search .container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-search__search {
  border: none;
  width: 50%;
}

  .product-search__search.fixed-header__search {
    margin-left: auto;
  }

input.search-box-text:focus {
  color: #fff;
}

.blog-search-box {
  margin-top: 0;
}

  .blog-search-box form,
  .product-search__search form {
    display: flex;
    align-items: center;
  }

  .blog-search-box form,
  form .search-box-text {
    flex-grow: 1;
    border: none;
    height: 47px;
    color: #FFF;
    background-color: white;
  }

    .blog-search-box form .search-box-button,
    form .search-box-button {
      border: 1px solid #d8d8d8;
      padding: 0 15px;
      height: 47px;
      color: white;
      background: #031e45;
      font-size: 1.1250rem;
    }

    .blog-search-box form .search-box-text {
      width: 100%;
    }

    .blog-search-box form .search-box-button {
      color: transparent;
      position: relative;
    }

      .blog-search-box form .search-box-button:before {
        display: inline-block;
        font: normal normal normal 14px/1 FontAwesome;
        font-size: inherit;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        content: "\f002";
        color: #1465BA;
        position: absolute;
        right: 50%;
        transform: translateX(50%);
      }

input.search-box-text {
  color: black;
}

  input.search-box-text:focus {
    color: black;
  }

/*#endregion */

/* #region HEADER: FIXED HEADER*/

.fixed-header {
  visibility: hidden;
  height: 50px;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  background: #031E45;
  box-shadow: 0 2px 4px 0 rgba(0,0,0,.5);
  z-index: 1003;
  transition: transform .2s ease;
}

  .fixed-header.visible {
    transform: translateY(0px);
    visibility: visible;
  }

  .fixed-header .container {
    display: flex;
    margin: 0 auto;
    width: 90%;
    height: 100%;
    max-width: 1200px;
  }

  .fixed-header .fixed-header-logo {
    width: 250px;
  }

  .fixed-header .header-menu-parent {
    display: inline-block;
    height: 50px;
    width: 150px;
    margin-left: 10px;
  }

  .fixed-header .navigation__selections:before {
    display: none;
  }

  .fixed-header .flyout-cart-wrapper-clone {
    position: relative;
    display: table-cell;
    width: 190px;
    padding: 0 0 0 32px;
    vertical-align: middle;
    text-align: right;
  }

    .fixed-header .flyout-cart-wrapper-clone:hover .flyout-cart {
      display: block;
    }

  .fixed-header .selections__item {
    color: #FFF;
  }

  .fixed-header .selections__title .selections__user {
    margin-left: 0;
  }

  .fixed-header .header-selectors-wrapper {
    color: #FFF;
    white-space: nowrap;
    min-width: auto;
  }

    .fixed-header .header-selectors-wrapper .header-selectors {
      white-space: normal;
    }

.fixed-header__search {
  width: 100%;
}

  .fixed-header__search form {
    display: flex;
  }

.fixed-header__col {
  display: flex;
  flex: 1;
  align-items: center;
}

  .fixed-header__col.fixed-search {
    flex: 2;
    margin: 10px 45px;
    min-width: 200px;
  }

.js-header-shopping-cart-clone {
  flex: 1;
}

.fixed-header .flyout-shopping-cart-placeholder.js-header-shopping-cart {
  margin-left: 10px;
}

@media (min-width: 1024px) and (max-width:1348px) {
  .fixed-header .selections__user.js-open-popup-overlay {
    margin-left: 0;
  }

  .fixed-header .flyout-shopping-cart-placeholder.js-header-shopping-cart {
    margin-left: 10px;
  }

  .fixed-header .cart-trigger {
    padding: 0 5px 0 5px;
  }
}

@media (min-width: 1024px) {
  .fixed-header .selections__title {
    white-space: nowrap;
  }
}

/* #endregion */
.contact-box {
  display: inline-flex;
  align-items: center;
  height: 50px;
}

  .contact-box::before {
    content: '';
    display: block;
    background-image: url('../img/haldur.png');
    background-size: cover;
    border-radius: 50%;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
  }
