header .hSearchBox {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  transition: all 0.5s ease;
  position: fixed;
  width: 100%;
  height: calc(100vh - 85px);
  z-index: 1;
  background-color: #fff;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
}

header .hSearchBox .closeSearchBox {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  display: block;
  cursor: pointer;
}

header .hSearchBox .closeSearchBox i {
  font-size: 22px;
  font-size: 1.375rem;
  position: absolute;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
}

header .hSearchBox .hSearchBoxComp {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  padding: 20px;
  padding-top: 50px;
}

header .hSearchBox .hSearchBoxComp > .h2 {
  text-align: center;
  margin-bottom: 20px;
}

header .hSearchBox .hSearchBoxComp .hSearchBoxForm {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  webkit-display: -webkit-flex;
  display: -webkit-flex;
  display: flex;
  justify-content: space-between;
  -webkit-justify-content: space-between;
  -ms-flex-pack: space-between;
  -ms-flex-pack: justify;
}

header .hSearchBox .hSearchBoxComp .hSearchBoxForm .inputSearchAdv {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  width: calc(100% - 120px);
}

header .hSearchBox .hSearchBoxComp .hSearchBoxForm .inputSearchAdv input {
  padding-right: 80px;
}

header
  .hSearchBox
  .hSearchBoxComp
  .hSearchBoxForm
  .inputSearchAdv
  .clearSearch {
  position: absolute;
  right: 40px;
  top: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: none;
}

header
  .hSearchBox
  .hSearchBoxComp
  .hSearchBoxForm
  .inputSearchAdv
  .clearSearch
  i {
  position: absolute;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
}

header
  .hSearchBox
  .hSearchBoxComp
  .hSearchBoxForm
  .inputSearchAdv
  .clearSearch:after {
  position: absolute;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  top: 50%;
  content: "";
  right: 0;
  width: 1px;
  height: calc(100% - 16px);
  display: block;
  background-color: #bbb;
}

header
  .hSearchBox
  .hSearchBoxComp
  .hSearchBoxForm
  .inputSearchAdv
  .voiceSearch {
  position: absolute;
  right: 0;
  top: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

header
  .hSearchBox
  .hSearchBoxComp
  .hSearchBoxForm
  .inputSearchAdv
  .voiceSearch
  i {
  position: absolute;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
}

header .hSearchBox .hSearchBoxComp .hSearchBoxForm [class*="btn"] {
  font-size: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  width: 100px;
}

header .hSearchBox .hSearchBoxComp .hSearchBoxResults .hSearchBoxResCurrent {
  margin-top: 20px;
}

header
  .hSearchBox
  .hSearchBoxComp
  .hSearchBoxResults
  .hSearchBoxResCurrent
  > .h4 {
  font-size: 16px;
  font-size: 1rem;
  color: #bbb;
  margin-bottom: 20px;
}

header
  .hSearchBox
  .hSearchBoxComp
  .hSearchBoxResults
  .hSearchBoxResCurrent
  > ul
  li
  a {
  display: block;
}

header
  .hSearchBox
  .hSearchBoxComp
  .hSearchBoxResults
  .hSearchBoxResCurrent
  > ul
  li
  a:hover {
  text-decoration: underline;
}

header
  .hSearchBox
  .hSearchBoxComp
  .hSearchBoxResults
  .hSearchBoxResCurrent
  > ul
  li
  + li {
  margin-top: 8px;
}

header .hSearchBox .hSearchBoxComp .hSearchBoxResults .hSearchBoxResType {
  margin-top: 20px;
}

header
  .hSearchBox
  .hSearchBoxComp
  .hSearchBoxResults
  .hSearchBoxResType
  > ul
  li
  a {
  display: block;
}

header
  .hSearchBox
  .hSearchBoxComp
  .hSearchBoxResults
  .hSearchBoxResType
  > ul
  li
  a:hover {
  text-decoration: underline;
}

header
  .hSearchBox
  .hSearchBoxComp
  .hSearchBoxResults
  .hSearchBoxResType
  > ul
  li
  + li {
  margin-top: 8px;
}

header .hSearchBox.open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

header.fixed .hSearchBox {
  height: calc(100vh - 50px);
}

@media only screen and (min-width: 960px) {
  header .hSearchBox {
    height: calc(100vh - 96px);
    background-color: rgba(0, 0, 0, 0.8);
  }

  header .hSearchBox .hSearchBoxComp {
    background-color: #fff;
    padding-bottom: 40px;
    -webkit-border-bottom-right-radius: 12px;
    -webkit-border-bottom-left-radius: 12px;
    -moz-border-radius-bottomright: 12px;
    -moz-border-radius-bottomleft: 12px;
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px;
  }

  header .hSearchBox .hSearchBoxComp .hSearchBoxForm {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
  }

  header .hSearchBox .hSearchBoxComp .hSearchBoxResults {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    webkit-display: -webkit-flex;
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    -ms-flex-pack: space-between;
    -ms-flex-pack: justify;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    padding: 0 12px;
  }

  header .hSearchBox .hSearchBoxComp .hSearchBoxResults .hSearchBoxResCurrent {
    width: calc(50% - 10px);
  }

  header .hSearchBox.v2 {
    background-color: transparent;
  }

  header .hSearchBox.v2 .closeSearchBox {
    display: none;
  }

  header .hSearchBox.v2 .hSearchBoxComp {
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    position: absolute;
    right: 96px;
    top: -5px;
    width: 320px;
    padding: 20px;
  }

  header .hSearchBox.v2 .hSearchBoxComp > .h2 {
    display: none;
  }

  header .hSearchBox.v2 .hSearchBoxComp .hSearchBoxForm {
    display: none;
  }

  header .hSearchBox.v2 .hSearchBoxComp .hSearchBoxResults {
    padding: 0;
  }

  header
    .hSearchBox.v2
    .hSearchBoxComp
    .hSearchBoxResults
    .hSearchBoxResCurrent {
    width: 100%;
    margin-top: 0;
  }

  header
    .hSearchBox.v2
    .hSearchBoxComp
    .hSearchBoxResults
    .hSearchBoxResCurrent.hide {
    display: none;
  }

  header .hSearchBox.v2 .hSearchBoxComp .hSearchBoxResults .hSearchBoxResType {
    width: 100%;
    margin-top: 0;
  }

  header.fixed .hSearchBox {
    height: calc(100vh - 56px);
  }
}

@media only screen and (min-width: 1280px) {
  header .hSearchBox.v2 .hSearchBoxComp {
    right: calc(((100% - 1280px) / 2) + 96px);
  }
}

@media only screen and (min-width: 1500px) {
  header .hSearchBox.v2 .hSearchBoxComp {
    right: calc(((100% - 1440px) / 2) + 96px);
  }
}
