header {
  padding: 20px 0 45px;
}
#tmsearch.sticky {
    position: fixed;
    top: 0;
    right: 2%;
}
@media (min-width: 768px) {
    header #tmsearch.sticky .search-form {
        top: 30%;
        right: 50%;
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-100%, -50%);
    }
}
@media (max-width: 1199px) {
  header {
    padding-bottom: 30px;
  }
}
header .header-container {
  padding-top: 0;
  padding-bottom: 0;
}
header .nav {
  margin-bottom: 34px;
}
@media (min-width: 768px) {
  header .nav {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
  }
}
@media (min-width: 992px) {
  header .nav {
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
  }
}
@media (min-width: 768px) {
  header .nav > div + div:nth-child(2) {
    margin-left: 50px;
  }
  header .nav > div + div {
    margin-left: 15px;
  }
}
@media (min-width: 1200px) {
  header .nav > div + div:nth-child(2) {
    margin-left: 77px;
  }
  header .nav > div + div {
    margin-left: 25px;
  }
}
@media (min-width: 768px) {
  header #header_logo {
    display: inline-block;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
  }
}
header .wishlist-button, header .cart-block-wrapper {
  float: right;
}
header .cart-block-wrapper {
  margin-left: 60px;
}
header .top_menu {
  padding: 20px 0 0;
  display: inline-block;
}
header .header-offset {
  margin-top: 40px;
}
@media (min-width: 1200px) {
  header .header-offset {
    margin-top: 67px;
  }
}
/*
header #tmsearch {
  display: none;
}*/
header #tmsearch.active {
  display: inline-block;
}
@media (min-width: 1860px) {
  header #tmsearch .search-icon.close-icon {
    left: -10px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  header #tmsearch .search-form {
    width: 750px;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  header #tmsearch .search-form {
    width: 970px;
  }
}
@media (min-width: 1200px) and (max-width: 1859px) {
  header #tmsearch .search-form {
    width: 1170px;
  }
}
@media (min-width: 1860px) {
  header #tmsearch #tmsearch_result {
    margin-top: 20px;
  }
}

.top_menu .stickUpHolder {
  padding-left: 15px;
  padding-right: 15px;
}
@media (min-width: 1860px) {
  .top_menu .stickUpHolder {
    padding-left: 160px;
    padding-right: 160px;
  }
}

/*** Responsive part ***/
@media (min-width: 768px) {
  header .settings-toggle {
    display: none;
  }
  header .top_menu ul.menu, header .top_menu .stickUpHolder ul.menu {
    float: left;
    text-align: left;
  }
  header #tmsearch {
    float: right;
    margin-top: 21px;
  }
  header #tmsearch .search-icon {
    text-align: right;
  }
  header #tmsearch .search-form {
    top: 30%;
    left: 50%;
    right: auto;
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
  header #tmsearch #tmsearchbox {
    padding-left: 190px;
  }
  header #tmsearch .selector {
    left: 15px;
  }
  header ul#header_links {
    margin-bottom: 0;
  }
  header ul#header_links li {
    display: inline-block;
  }
  header ul#header_links li + li {
    margin-left: 17px;
  }
  header #currencies-block-top, header #languages-block-top, header #header-login {
    display: inline-block;
  }
  header #currencies-block-top ul, header #languages-block-top ul {
    margin-top: 15px;
    left: 50%;
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  header .wishlist-button, header .cart-block-wrapper {
    margin-top: 53px;
  }

  .isStuck ul.menu, .isStuck #tmsearch {
    margin-top: 9px;
  }
  .isStuck #tmsearch .search-form {
    top: 50%;
  }
  .isStuck #tmsearch #tmsearchbox {
    height: 48px;
  }
  .isStuck #tmsearch #tm_search_query {
    height: 48px;
    font-size: 16px;
    line-height: 20px;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .isStuck #tmsearch .selector {
    height: 44px;
    line-height: 44px;
  }
  .isStuck #tmsearch .selector span {
    height: 44px;
    line-height: 44px;
  }
  .isStuck #tmsearch .selector span:after {
    height: 44px;
    line-height: 44px;
  }
  .isStuck #tmsearch .selector select {
    height: 44px;
    line-height: 44px;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  header ul#header_links li a, header #currencies-block-top div.current, header #languages-block-top div.current, header #header-login div.current a {
    font-size: 14px;
    line-height: 18px;
  }
}
@media (max-width: 767px) {
  ul#header_links {
    margin-bottom: 33px;
  }
  ul#header_links li + li {
    margin-top: 11px;
  }

  #currencies-block-top ul, #languages-block-top ul {
    position: static;
    width: auto;
    top: auto;
    left: auto;
  }

  ul#header_links, #header-login, #currencies-block-top, #languages-block-top {
    display: none;
  }
  ul#header_links.active, #header-login.active, #currencies-block-top.active, #languages-block-top.active {
    display: block;
  }

  #tmsearch {
    margin-right: 47px;
  }
  #tmsearch #tmsearchbox {
    margin-top: -10px;
  }

  .cartBox {
    margin-left: 47px;
  }

  .cartBox, .wishlist-link {
    display: none;
    float: right;
    margin-top: 8px;
  }
  .cartBox.active, .wishlist-link.active {
    display: inline-block;
  }
  header .top_menu {
  display: block;
}
}
@media (min-width: 768px) and (max-width: 991px) {
  #header-login div.current > a:before {
    font-family: "Material Icons";
    font-size: 28px;
    line-height: 28px;
  }
  #header-login div.current > a span {
    display: none;
  }
  #header-login div.current > a.no_logged:before {
    content: '\e890';
  }
  #header-login div.current > a.is_logged:before {
    content: '\e7ff';
  }
}
