#header_cont.loading {
  opacity: 0;
}

#header_cont.loading * {
}

#header {
  opacity: 1;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 400ms;
}

#header_cont.collapsed #header_spacer {
}

#header_cont.fixed #header {
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.2);
}

#header_top {
  height: 40px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 400;
  background-color: #f5f5f5;
  z-index: 15;
  transition: all 400ms;
}

#header_top > ul {
  margin: 0;
  margin: auto;
  list-style: none outside none;
  padding: 0;
  text-align: right;
  max-width: 1600px;
}

.header_top_item {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  line-height: 40px;
  height: 40px;
  padding: 0 10px;
  color: #777777;
}

.header_top_item > * {
  color: #777777;
  text-decoration: none;
}

.logged_user {
  color: black;
  position: relative;
  font-weight: 300;
  cursor: pointer;
}

#header_right_icns #header_buttons_user_top {
  cursor: pointer;
}

#header_right_icns #header_buttons_user_top.expanded .show_default {
  display: none;
}

#header_right_icns #header_buttons_user_top.expanded .show_expanded {
  display: block;
}

#header_right_icns #header_buttons_user_top .show_expanded {
  display: none;
}

.header_top_item > a:hover {
  color: #418ba8;
}

.header_top_icon {
  height: 20px;
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translate(-50%, -50%);
}

.header_top_item.with_icon {
  padding-left: 32px;
}

#header_top_user {
  text-transform: uppercase;
}

#header_main {
  position: relative;
  overflow: hidden;
  height: 140px;
  background-color: white;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: all 400ms;
}

#header_main > .inner {
  max-width: 1600px;
  margin: auto;
  position: relative;
  transition: all 400ms;
  opacity: 1;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#header_logo {
  display: block;
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#header_logo > img {
  height: 135px;
}

#header_glass {
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

#header_cont.fixed #header_glass {
  display: block;
}

#header_menu_cont {
  background-color: white;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
  border-top: 2px solid #c6c6c6;
}

#header_menu {
  max-width: 1600px;
  margin: auto;
  position: relative;
  height: 45px;
  transition: all 400ms;
  overflow: hidden;
}

#header_menu table {
  border-spacing: 0;
  transition: all 400ms;
  margin: auto;
  width: 65%;
}

.header_menu_item {
  font-size: 18px;
  font-weight: 400;
  padding: 0 10px;
  text-align: center;
  vertical-align: center;
  height: 45px;
  position: relative;
  color: black;
  max-width: 250px;
  transition: all 400ms;
}

.header_menu_item.hovered {
  color: #418ba8;
}

.header_menu_item.hidden {
  display: none;
}

.header_menu_item > a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.header_menu_item.nav_parent.hovered:after {
  content: "";
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 8px solid black;
  top: 100%;
  left: 50%;
  z-index: 1000;
  transform: translateX(-50%);
}

#header_menu_logo {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
}

#header_menu_logo > img {
  height: 60%;
  position: absolute;
  left: -120px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 400ms;
}

#header_right_icns {
}

#header_right_icns a {
  margin-right: 20px;
  cursor: pointer;
}

#header_right_icns img {
  max-height: 24px;
}

#header_cart_price {
  color: black;
  font-weight: 300;
  vertical-align: top;
}

#header_buttons {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  overflow: hidden;
}

#header_buttons > * {
  float: left;
  display: block;
  height: 45px;
  width: 0;
  position: relative;
  cursor: pointer;
  transition: all 400ms;
}

#header_buttons > *:hover {
  background-color: #418ba8;
}

#header_buttons img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  transform: translate(-50%, -50%);
  max-width: 20px;
}

#header_buttons .show_expanded {
  display: none;
}

#header_buttons .expanded {
  background-color: #418ba8 !important;
  z-index: 1200;
}

#header_buttons .expanded .show_default {
  display: none;
}

#header_buttons .expanded .show_expanded {
  display: block;
}

#header.show_menu_button #header_buttons_menu {
  width: 50px;
}

#header_buttons_cart {
  overflow: hidden;
}

#header_buttons_cart > span {
  background-color: rgba(0, 0, 0, 0.7);
  position: absolute;
  top: 15px;
  left: 24px;
  text-align: center;
  width: 20px;
  font-size: 12px;
  line-height: 20px;
  border-radius: 50%;
  color: white;
}

#header_cart {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  text-decoration: none;
}

#header_cart > * {
  display: inline-block;
  vertical-align: bottom;
  color: white;
  text-decoration: none;
}

#header_cart_qty {
  position: absolute;
  top: 5px;
  left: 20px;
  border: 2px solid white;
  text-align: center;
  width: 20px;
  line-height: 20px;
  border-radius: 50%;
  color: white;
}

#header_cart_price {
  padding-left: 15px;
}

#header_search {
  width: 50%;
  position: absolute;
  right: 130px;
  top: 50%;
  transform: translateY(-50%);
  height: 42px;
}

#header_search form {
  padding: 0;
}

#header_search_terms {
  margin-right: 150px;
  border: 1px solid silver;
  border-right: 0;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  height: 40px;
  overflow: hidden;
}

#header_search_terms > input {
  display: block;
  width: 100%;
  height: 40px;
  line-height: 40px;
  padding: 0 20px;
  border: 0;
  outline: 0;
  box-sizing: border-box;
}

#header_search_submit {
  background-color: black;
  width: 150px;
  height: 40px;
  line-height: 40px;
  position: absolute;
  right: 0;
  top: 0;
  color: white;
  cursor: pointer;
  text-align: center;
  border: 1px solid black;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

#header_search_submit * {
  display: inline-block;
  vertical-align: middle;
}

#header_top_cart_button {
  float: right;
  display: block;
  height: 80px;
  width: 50px;
  background-image: url(../img/icon-cart-b.png);
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  transition: filter 200ms;
}

#header_dropdowns {
  position: relative;

  margin: auto;
}

#header_cont.fixed #header_dropdowns {
  position: static;
}

.header_dropdown {
  position: absolute;
  overflow: hidden;
  top: 0;
  min-width: 150px;
  padding: 5px;
  padding-top: 0;
  max-width: 100%;
  display: none;
  z-index: 9999;
}

.header_dropdown_item {
  text-transform: uppercase;
}

.header_dropdown.visible {
  z-index: 1200;
}

.header_dropdown.fixed {
  bottom: 0;
  top: 185px;
  overflow: auto;
  transition: top 400ms;
}
#header_cont.collapsed .header_dropdown.fixed {
  top: 45px;
}

.header_dropdown_content {
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
  background-color: white;
  /* border-top: 3px solid #d5e7a5;  */
  overflow-x: hidden;
  overflow-y: auto;
}

.header_dropdown_list {
  list-style: none outside none;
  margin: 0;
  padding: 0;
  z-index: 999;
  text-align: left;
  font-weight: normal;
  text-align: left;
}

.header_dropdown_list.level1 {
}

.header_dropdown_list.level2 li {
}

.header_dropdown_list a {
  text-decoration: none;
  color: #585858;
}

.header_dropdown_list a:hover {
  color: black;
}

.header_dropdown.right {
  right: 0;
  padding-right: 0;
}

/*
.header_dropdown li.dynamic { display: none }
.header_dropdown li.dynamic.visible { display: block }
*/

.header_dropdown.nav_fullwidth {
  left: 0;
  right: 0;
  padding: 0;
}

.header_dropdown.nav_fullwidth .header_dropdown_content {
  padding: 20px;
}

.header_dropdown.nav_fullwidth ul {
  list-style: none outside none;
  margin: 0;
  padding: 0;
}

.header_dropdown.nav_fullwidth ul.level0 > li {
  display: inline-block;
  max-width: 300px;
  vertical-align: top;
  padding: 0 20px;
}

.header_dropdown.nav_fullwidth ul.level0 > li > a {
  color: #0063d1;
  text-decoration: none;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #ebebeb;
}

.header_dropdown.nav_fullwidth ul.level1 > li > a {
  color: #606060;
  text-decoration: none;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #ebebeb;
}

.header_dropdown.nav_floating .header_dropdown_content {
  padding: 10px;
  min-width: 210px;
}

.header_dropdown.nav_floating ul {
  list-style: none outside none;
  padding: 0;
  margin: 0;
}

.header_dropdown.nav_floating a {
  color: #606060;
  text-decoration: none;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #ebebeb;
}

#header_side_menu {
  display: none;
  width: 400px;
}

#header_side_menu a {
  display: block;
  padding: 15px;
  font-size: 18px;
  border-bottom: 1px solid #d2d2d2;
  background-color: white;
  transition: all 200ms;
  position: relative;
}

#header_side_menu a:hover {
  background-color: #e3e3e3;
}

#header_side_menu a:hover:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: #0063d1;
}

#header_side_menu .header_dropdown_list.level1 > li > a {
  color: #572f61;
}

#header_side_menu .header_dropdown_list.level1 > li.nav_parent > a {
  background-image: url(../img/arrow-down-grey.png);
  background-position: 97% center;
  background-repeat: no-repeat;
  background-size: 18px;
}

#header_side_menu .header_dropdown_list.level2 {
  display: none;
}

#header_side_menu .header_dropdown_list.level2 > li > a {
  color: #424650;
  padding-left: 40px;
}

#header_top_menu {
  right: 0px;
  top: 10px;
  position: absolute;
}
#header_top_menu > ul {
  list-style: none outside none;
  margin: 0;
  padding: 0;
}

#header_quickselect {
  position: absolute;
  left: 0;
  top: 0;
}

#header_quickselect ul {
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
  margin-top: 0;
  padding-top: 0;
}

#header_quickselect li {
  background: #3f8099;
  margin-bottom: 2px;
  width: 45px;
  height: 45px;
  position: relative;
}

#header_quickselect li img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-width: 20px;
}

#header_top_menu ul {
  list-style-type: none;
}

#header_top_menu li {
  display: inline;
  color: white;
  margin-right: 10px;
  padding-right: 10px;
  border-right: 1px solid white;
}

#header_top_menu li:last-child {
  border-right: 0;
}

#header_top_menu li a {
  color: white;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 400;
}

#header_spacer {
  height: 180px;
  transition: height 400ms;
}

#header_basket {
  padding: 10px;
  max-width: 300px;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
}

#header_basket_caption {
  border-bottom: 1px solid #ebebeb;
  padding-bottom: 5px;
  margin-bottom: 10px;
  flex: 0 0 auto;
}

#header_basket_items {
  list-style: none outside none;
  padding: 0;
  margin: 0;
  overflow-y: scroll;
  flex: 1 1 auto;
}

#header_basket_items > li {
  padding: 10px 0;
  margin-bottom: 10px;
  border-bottom: 1px solid #ebebeb;
}

.header_basket_item_image {
  width: 60px;
  float: left;
}

.header_basket_item.with_image .header_basket_item_content {
  margin-left: 80px;
}

#header_basket_menu {
  flex: 0 0 auto;
}

#header_basket_menu .button {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 10px;
  color: white;
}

#header_search_menu {
  width: 400px;
}

#header_search_menu .header_dropdown_content {
  padding: 10px;
}

#header_search_menu form {
  position: relative;
}

#header_search_menu_terms {
  margin-right: 10px;
  border: 1px solid silver;
  border-right: 0;
  height: 40px;
  overflow: hidden;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

#header_search_menu_terms > input {
  display: block;
  width: 100%;
  height: 40px;
  line-height: 40px;
  padding: 0 10px;
  border: 0;
  outline: 0;
  box-sizing: border-box;
}

#header_search_menu_submit {
  background-color: #418ba8;
  width: 40px;
  height: 40px;
  line-height: 40px;
  position: absolute;
  right: 0;
  top: 0;
  color: white;
  cursor: pointer;
  text-align: center;
  border: 1px solid #418ba8;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

#header_search_menu_submit * {
  display: inline-block;
  vertical-align: middle;
}

#header_user_menu {
  width: 300px;
}

#header_user_menu .acontrol {
  margin-bottom: 10px;
}

#header_user_menu .header_dropdown_content {
  padding: 10px;
}

#header_user_menu_info {
  border-top: 1px solid #ebebeb;
  margin-top: 10px;
}

#header_cont.collapsed #header_spacer {
  height: 200px;
}
#header_cont.collapsed #header_spacer {
}

#header_cont.collapsed #header_main {
  height: 0;
  opacity: 0;
}

#header_cont.collapsed #header_top {
  height: 0;
}

#header_cont.collapsed #header_menu_logo {
  width: 120px;
}

#header_cont.collapsed #header_menu_logo > img {
  left: 10px;
}

#header_cont.collapsed #header_menu > table {
  left: 130px;
}

#header_cont.collapsed #header_buttons_cart,
#header_cont.fixed #header_buttons_cart {
  width: 50px;
}

#header_cont.fixed #header_buttons_search,
#header_cont.collapsed #header_buttons_search {
  width: 50px;
}

#header_cont.fixed #header_buttons_user,
#header_cont.collapsed #header_buttons_user {
  width: 50px;
}

#header_user_message {
  padding-bottom: 10px;
  color: darkred;
}

#header_user_message:empty {
  display: none;
}

@media (max-width: 1200px) {
  .header_menu_item {
    white-space: wrap;
  }
  #header_logo > img {
    height: 85px !important;
  }
}

@media (max-width: 800px) {
  #header_main {
    height: 0 !important;
  }

  #header_buttons > * {
    width: 50px !important;
  }
}

@media (max-width: 600px) {
  #header_menu {
    height: 60px !important;
  }
  #header_cont.fixed #header_buttons_user,
  #header_cont.collapsed #header_buttons_user {
    width: 44px !important;
  }
  #header_buttons > * {
    height: 60px;
  }
  #header_cont.collapsed .header_dropdown.fixed {
    top: 60px;
  }
}
