/* header */
@media (min-width: 768px) {
  .header-search-input-group {
    min-width: 288px; 
  } 
}
.header-search-input-group .form-control,
.header-search-input-group .input-group-append > .btn {
  color: rgba(237, 240, 244, 0.5);
  background: #012652;
  border-color: #011a39; }
.header-search-input-group .form-control {
  background: #fff;
  color: #6681a0;
  font-size: 1.4rem;
  height: auto;
  border-radius: 0 !important;
  /* border-top-left-radius: 100px;
  border-bottom-left-radius: 100px; */
  border-right: 0;
  padding-left: 1.2rem;
  padding-right: 0;
  padding-bottom: 5px;
  padding-top: 5px; }
  .header-search-input-group .form-control::placeholder {
    color: rgba(102, 129, 160, 0.8); }
.header-search-input-group .input-group-append > .btn {
  border-left: 0;
  padding-left: 0.6rem;
  padding-right: 0.8rem;
  /* border-top-right-radius: 100px; */
  /* border-bottom-right-radius: 100px; */
  background: #fff;
  color: #ef4036;
  font-size: 1rem; }
  

html, body{
  min-height: 100%;
}

body{
  font-family: 'Open Sans', sans-serif;
}
.navbar-header{
  border-top: 1px solid #eee;
}

#main-nav{
  border-top:none;
}

.desktop-search{
  display: none !important;
}
.header-search{
  position: relative;
}
.header-search .search-form{
  z-index: 12;
  position: relative;    
  padding: 10px 0px 10px 8px
}

#mobile-search-nav{
  float:left;
}
#mobile-search-nav .header-search{
  max-width:487px; 
}
#mobile-search-nav ul{
  list-style: none;
  padding: 0;
}
#mobile-search-nav .search-form{
  width: 320px;
}

#mobile-search-nav .general-results{
  padding: 64px 0px 0px 12px !important;
}

@media(min-width: 768px){
  #mobile-search-nav{
    display:none;
  }
  .desktop-search{
    display: block !important;
  }
  .header-search .search-form{
    padding: 22px 0px 21px 20px;
  }
}

.input-underscroll{
    display:none;
    position: absolute;
    z-index: 12;
    top: 0px;
    right: 0px;
    width: 490px;
    height: 36px;
    background-color: #f9f9f9;
}

.input-underscroll-mobile {
    display: none;
    position: absolute;
    z-index: 12;
    top: 0px;
    left: 0px;
    max-width: 97%;
    height: 54px;
    background-color: #f9f9f9;
}

.nopadding {
   padding: 0 !important;
   margin: 0 !important;
}

#form-container{
  margin-bottom: 2.5em;
}

div.anchor {
    display: block;
    position: relative;
    top: -100px;
    visibility: hidden;
}

#search{
  margin-top: 12vh;
}

.search_text {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: normal;
  line-height: 26px;    
  background-color: #f9f9f9;
  border: 1px solid #eee;
  /* border-radius: 17px !important; */
  padding: 2px 14px;
  width: 220px;
  position: relative;
  color: #777;
  outline-style: none;
  font-style: italic;
}

/* Search icon styles */
#search-icon {
  transition: color 0.3s ease;
  font-size: 14px;
}

#search-icon.fa-spin {
  animation: fa-spin 1s infinite linear;
}

@keyframes fa-spin {
  0% {
    transform: translateY(-50%) rotate(0deg);
  }
  100% {
    transform: translateY(-50%) rotate(360deg);
  }
}

#search-icon.fa-spin {
  animation: fa-spin 1.5s infinite linear;
}

/* Ensure proper positioning for the header search */
.header-search-input-group {
  position: relative;
}

.header-search-input-group #search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
  z-index: 13;
  font-size: 16px;
}

.search_text::placeholder{
  color:#aaa;
}

/* Add padding to search input when it has an icon */
.header-search-input-group .search_text {
  padding-right: 35px !important;
}

.search_button{
  position: absolute;
  top: 2px;
  right: 8px;
}

.search_button button{
  background-color: #1a632f;
  border: none;
  outline-style:none;
  font-size: 14px;
}

.search_button .search-icon{
  margin-top: 5px;
}

.autocomplete-spinner{
  display:none;
}

.search-highlight {
  font-style: normal;
}

.search-result {
  width: 95%;
  clear: both;
  text-align: left;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 2px solid #efefef;
}
.search-result a{
  text-decoration: none;
  font-size:17px;
  font-weight: bold;
  font-family: "Open Sans", sans-serif;
}

.search-result .brand {
   font-family: "Open Sans", sans-serif;
   font-size: 13px;
   color: #ababab;
   line-height: 21px;
   font-weight: normal;
   display: block;
}

.search-result:hover{
  color: #444;
}

a.search-result,
a.search-result:hover,
a.search-result:active,
a.search-result:focus {
  display: block;
  text-decoration: none;
  color: inherit;
  min-height:70px;
}
a.search-result:hover .heading {
  color: #444;
}

.search-result-image, .search-result-image-placeholder {
    float: left;
    margin-right: 15px;
}

.search-result-image-placeholder {
    width: 70px;
    height: 70px;
    border: 1px solid #eee;
}

.search-result-image{
    background: #eee;
    background-size: cover !important;
    background-position: center center !important;
    width: 75px;
    height: 5px;
    padding-top: 70px;
}

.search-result img {
    height: 75px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    overflow: visible;
    max-width: none;
}

.search-result img.search-file-icon {
    width: 24px;
    float: right;
}

.search-result div {
    overflow: hidden;
    position: relative;
}

.search-result-text{
}

.search-result-category {
  border: 1px solid;
  /* border-radius: 4px; */
  display: inline-block;
  font-weight: normal;
  padding: 1px 6px;
  font-family: "Open Sans", sans-serif;
  font-size: 11px;
  color: #43bd67;
  margin-bottom: 4px;
}

.search-result-category.green{
  color:#39b15c;
}
.search-result-category.blue{
  color:#5694d0;
}
.search-result-category.pink{
  color:#de5187;
}
.search-result-category.purple{
  color:#532f94;
}
.search-result-category.orange{
  color:#ff810f;
}
.search-result-category.red{
  color:#d83434;
}

.search-container {
  position: relative;
  width: 100%;
}

.ui-autocomplete.ui-menu {
    display: none !important;
}

.search-results {
  position: absolute;
  background: #f9f9f9;
  z-index: 11;
  display: block;
  top: 36px;
  right: 0px;
  width: 500px;
  height: 500px;
  overflow-y: scroll;
  overflow-x: hidden;
}
.search-results-mobile {
  top: 0px;
}

.force-overflow{
  min-height: 450px;
}

.scrollbar {
  margin-left: 22px;
  float: left;
  height: 300px;
  width: 65px;
  background: #F5F5F5;
  overflow-y: scroll;
  margin-bottom: 25px;
}

.force-overflow {
  min-height: 450px;
}

.search-results::-webkit-scrollbar {
  width: 8px;
}

/**  STYLE 2 */
.search-results::-webkit-scrollbar-thumb {
  /* border-radius: 10px; */
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
  background-color: #2cd3d0;
}

.search-results::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  /* border-radius: 10px; */
  background-color: #F5F5F5;
}

.search-results h3{
  text-align: left;
  font-size: 14px;
  color: #000;
  margin-bottom: 25px;
}

.search-results h4{
  color: #000;
}

.product-category{
  float: left;
  padding: 10px;
  margin: 0 5px 5px 0px;
  background: white;
}

.product-category h4{
  font-size: 12px;
  margin: 0px;
  padding: 0px;
}

.general-results{
  border-left: 1px solid #ddd;
  padding:28px 0 0 22px !important;
}

.product-results {
  padding: 20px;
}

.general-results h3, .product-results h3 {
   margin-top: 0px;
}

.search-result h4 {
  margin-top: 0;
  margin-bottom: 0;
  margin-top: 0;
}

.result-label {
   display: block;
   margin-right: 10px;
   margin-bottom: 0px;
   margin-top: 4px;
   font-family: 'Neue Helvetica W01', Helvetica, Arial, sans-serif !important;
   font-weight: bold;
   font-size: 16px;
   color: #231f20;
   line-height: 20px !important;
   height: 20px !important;
}

.result-label.double{
   height: 40px !important;
}

.search-results p {
  margin-top: 1px;
  margin-bottom: 0px;
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  color: #444444;
  line-height: 14px;
}

.search-results p.tagged {
  height: 16px !important;
  overflow: hidden;
}
.search-results p.untagged {
  height: 32px !important;
  overflow: hidden;
}

.search-result img.search-file-icon {
   width: 24px;   
   margin-right: 8px;
}

.search-highlight {
  font-style: normal;
  font-weight: bold;
}

@media (max-width: 699px) {
    .search-results {
        width: 100%;
        min-width:330px;
    }

    .hide-result-mobile {
        display: none;
    }
}

.search-tabs {
    margin-bottom: -18px;
}

.search-tabs .btn {
    border-bottom: none;
}

.search-tabs .btn {
    background-color: white;
    border-color: white;
}

.search-tabs .btn.ui-state-active {
    border-color: #dadada;
    color: #444;
}


/* distributors/stockists */
#stockist-map {
  width: 100%;
  height: 25em;
  @media (min-width: @bpmd) {
    height: 35em;
  }
}

.find-my-location-container {
  margin-bottom: 1.5em;
  @media (min-width: @bpsm) {
    float: right;
  }
}

#find-my-location {
  display: block;
  width: 100%;
  @media (min-width: @bpsm) {
    width: auto;
    display: inline-block;
  }
}

#filterDistributors {
  margin-bottom: 1em;
}

#stockistList {
  padding: 10px;
  background: rgba(0, 0, 0, 0.025);
  @media (max-width: @bpsm) {
    max-height: 4em;
    overflow: hidden;
    transition: max-height 0.25s;
  }
  @media (min-width: @bpsm) {
    height: 25em;
    overflow: auto;
  }
  @media (min-width: @bpmd) {
    height: 35em;
  }
  .distributor-region {
    margin-bottom: 0.4em;
    .region-title {
      margin-bottom: 0.2em;
    }
    .distributor {
      margin-bottom: 0.2em;
      a {
        text-align: left;
        white-space: inherit;
      }
    }
  }
  &.open {
    @media (max-width: @bpsm) {
      max-height: 30em;
      overflow: auto;
    }
  }
}
.show-distributors-mobile {
  text-align: center;
  padding: 10px;
  margin-bottom: 1em;
  background: rgba(0, 0, 0, 0.025);
}
/* end distributors */
.country-title{
  padding-top:10px;
  margin: 0px;
}
.region-title{
  font-size:12px;
  color:#777;
}

.es-product-price{
  text-align: left;
  padding-left:10px;
  color:#000;
}

.es-product-price-search{  
  color:#000;
  margin-bottom:10px;
}

.es-title-price{
  text-align: left;
  padding-left:10px;
  color:#687074;
}

.line-through{
  color: #c9253c;
  text-decoration: line-through;
}

.search-result .heading{
  text-align: left;
  line-height: 21px;
  margin-top: 0;
  font-size: 18px;
  font-weight: normal;
  margin-bottom: 6px;
}


.general-result{
  line-height: 16px;
  margin-top:21px;
}

.general-result p{
  font-size: 12px;
}

.more-results{
  text-align: left;
  color: #00b0fc !important;
  padding-left: 10px;
  font-size: 14px !important;
  cursor:pointer;
}

/*wishlists*/

.add-to-wishlist{
  position: absolute;
  top:10px;
  right:10px;
  z-index: 999;
  color:#c38748;
  cursor: pointer;
  overflow: hidden;    
  width: 130px;
  height: 25px;
}

.add-to-wishlist i{    
  padding: 1px;
  background:white; 
  position: absolute;
  overflow: hidden;   
  right:0;
  top:0px;
}

.add-to-wishlist .wishlist-text{
  /*display: none;*/
  position: absolute;
  top:3px;
  right:-110px;
  transition: 0.1s;
}

.add-to-wishlist:hover .wishlist-text{
  /*display: inline-block;*/
  transition: 1s;
  right: 30px;
}

.wishlists{
  padding: 10px 0px 10px 20px;
}

.wishlists p {
  padding-bottom: 7px; 
}

.wishlists span {
  padding-left: 5px; 
}

.wishlists label, .wishlists input{
  display: inline-block !important;
}

.wishlists label{
  color: #777;
}

.wishlists input{    
  height: 13px !important;
  margin: 0 0 0px !important;
  width: auto !important;
}

.wishlist-dropdown{
  position: relative;

  border-left: 1px solid #f1f2f2;
  font-size: 12px;
  line-height: 20px;
  padding-left: 14px;
  margin-right: 10px;
  transition: all 0.3s ease 0s;
  text-decoration: none;
  color: #252525;
  display: inline;
  cursor: pointer;
}
.wishlist-dropdown:hover{
  color: #c38749;
}

.wishlist-dropdown ul li a{
  font-size: 12px;
  line-height: 20px;
  font-weight: normal;
  padding: 0 0 0 0;
  text-transform: none;
  border-left:none;
}

.wishlist-list{
  left: 0px !important;
  width: 215px;
}

.wishlist-list span {
  width: 100%;
}

.wishlist-list a {
  border-right: none !important;
}

.filter-search__button {
  margin: 22px 0 11px 5px;
}
.filter-search__button .icon-search{
  width:18px;height:15px;
}
.badge{
  margin-bottom: 5px;
}
.badge-nzmca-navy {
  color: #fff;
  background-color: #002d62; }
  a.badge-nzmca-navy:hover, a.badge-nzmca-navy:focus {
    color: #fff;
    background-color: #00162f; }
  a.badge-nzmca-navy:focus, a.badge-nzmca-navy.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 45, 98, 0.5); }

.badge-nzmca-navy-dark {
  color: #fff;
  background-color: #012652; }
  a.badge-nzmca-navy-dark:hover, a.badge-nzmca-navy-dark:focus {
    color: #fff;
    background-color: #000f20; }
  a.badge-nzmca-navy-dark:focus, a.badge-nzmca-navy-dark.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(1, 38, 82, 0.5); }

.badge-nzmca-red {
  color: #fff;
  background-color: #ef4036; }
  a.badge-nzmca-red:hover, a.badge-nzmca-red:focus {
    color: #fff;
    background-color: #e01d12; }
  a.badge-nzmca-red:focus, a.badge-nzmca-red.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(239, 64, 54, 0.5); }

.badge-nzmca-purple {
  color: #fff;
  background-color: #cb87ee; }
  a.badge-nzmca-purple:hover, a.badge-nzmca-purple:focus {
    color: #fff;
    background-color: #b85ae8; }
  a.badge-nzmca-purple:focus, a.badge-nzmca-purple.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(203, 135, 238, 0.5); }

.badge-nzmca-blue {
  color: #fff;
  background-color: #00aeef; }
  a.badge-nzmca-blue:hover, a.badge-nzmca-blue:focus {
    color: #fff;
    background-color: #0089bc; }
  a.badge-nzmca-blue:focus, a.badge-nzmca-blue.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 174, 239, 0.5); }

.badge-nzmca-orange {
  color: #fff;
  background-color: #ff8b00; }
  a.badge-nzmca-orange:hover, a.badge-nzmca-orange:focus {
    color: #fff;
    background-color: #cc6f00; }
  a.badge-nzmca-orange:focus, a.badge-nzmca-orange.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(255, 139, 0, 0.5); }

.badge-nzmca-green {
  color: #fff;
  background-color: #419639; }
  a.badge-nzmca-green:hover, a.badge-nzmca-green:focus {
    color: #fff;
    background-color: #31712b; }
  a.badge-nzmca-green:focus, a.badge-nzmca-green.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(65, 150, 57, 0.5); }

.badge-nzmca-gray {
  color: #fff;
  background-color: #edf0f4; }
  a.badge-nzmca-gray:hover, a.badge-nzmca-gray:focus {
    color: #fff;
    background-color: #cdd6e1; }
  a.badge-nzmca-gray:focus, a.badge-nzmca-gray.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(237, 240, 244, 0.5); }

.badge-nzmca-gray-dark {
  color: #fff;
  background-color: #6681a0; }
  a.badge-nzmca-gray-dark:hover, a.badge-nzmca-gray-dark:focus {
    color: #fff;
    background-color: #516882; }
  a.badge-nzmca-gray-dark:focus, a.badge-nzmca-gray-dark.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(102, 129, 160, 0.5); }

.badge-black {
  color: #fff;
  background-color: #3a3a3a; }
  a.badge-black:hover, a.badge-black:focus {
    color: #fff;
    background-color: #212121; }
  a.badge-black:focus, a.badge-black.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(58, 58, 58, 0.5); }

.badge-primary {
  color: #fff;
  background-color: #ef4036; }
  a.badge-primary:hover, a.badge-primary:focus {
    color: #fff;
    background-color: #e01d12; }
  a.badge-primary:focus, a.badge-primary.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(239, 64, 54, 0.5); }

.badge-secondary {
  color: #fff;
  background-color: #002d62; }
  a.badge-secondary:hover, a.badge-secondary:focus {
    color: #fff;
    background-color: #00162f; }
  a.badge-secondary:focus, a.badge-secondary.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 45, 98, 0.5); }

.badge-success {
  color: #fff;
  background-color: #419639; }
  a.badge-success:hover, a.badge-success:focus {
    color: #fff;
    background-color: #31712b; }
  a.badge-success:focus, a.badge-success.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(65, 150, 57, 0.5); }

.badge-info {
  color: #fff;
  background-color: #00aeef; }
  a.badge-info:hover, a.badge-info:focus {
    color: #fff;
    background-color: #0089bc; }
  a.badge-info:focus, a.badge-info.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 174, 239, 0.5); }

.badge-warning {
  color: #fff;
  background-color: #ff8b00; }
  a.badge-warning:hover, a.badge-warning:focus {
    color: #fff;
    background-color: #cc6f00; }
  a.badge-warning:focus, a.badge-warning.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(255, 139, 0, 0.5); }

.badge-danger {
  color: #fff;
  background-color: #d12717; }
  a.badge-danger:hover, a.badge-danger:focus {
    color: #fff;
    background-color: #a31f12; }
  a.badge-danger:focus, a.badge-danger.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(209, 39, 23, 0.5); }

.badge-light {
  color: #fff;
  background-color: #edf0f4; }
  a.badge-light:hover, a.badge-light:focus {
    color: #fff;
    background-color: #cdd6e1; }
  a.badge-light:focus, a.badge-light.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(237, 240, 244, 0.5); }

.badge-dark {
  color: #fff;
  background-color: #012652; }
  a.badge-dark:hover, a.badge-dark:focus {
    color: #fff;
    background-color: #000f20; }
  a.badge-dark:focus, a.badge-dark.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(1, 38, 82, 0.5); }