@-webkit-keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  33% {
    -webkit-transform: translateY(-35px);
            transform: translateY(-35px);
  }
  66% {
    -webkit-transform: translateY(-35px);
            transform: translateY(-35px);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  33% {
    -webkit-transform: translateY(-35px);
            transform: translateY(-35px);
  }
  66% {
    -webkit-transform: translateY(-35px);
            transform: translateY(-35px);
  }
}

.emmo-zipcode {
  float: right;
  margin-left: 20px;
  padding-top: 12px;
  padding-bottom: 13px;
  margin-right: -11px;
  -webkit-transition: ease all 250ms;
  transition: ease all 250ms;
  position: relative;
}

.emmo-zipcode .help-text {
  display: none;
}

.emmo-zipcode.check:before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #07364ed9;
  z-index: 999998;
}

.emmo-zipcode.check * {
  z-index: 999999;
}

.emmo-zipcode.check .help-text {
  display: block;
  position: absolute;
  width: 240px;
  top: 90px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

.emmo-zipcode.check .help-text .arrow {
  background: url("../images/arrow-up.svg") no-repeat top center;
  background-size: 100% 100%;
  width: 100%;
  height: 30px;
  float: left;
  -webkit-animation: bounce 2s infinite;
          animation: bounce 2s infinite;
}

.emmo-zipcode.check .help-text p {
  float: left;
  width: 100%;
  text-align: center;
  font-size: 16px;
  font-weight: lighter;
  line-height: 22px;
  margin-top: 10px;
  color: #fff;
}

.emmo-zipcode #zipcode-form {
  position: relative;
  float: left;
  width: 100%;
  overflow: hidden;
  -webkit-transition: ease all 250ms;
  transition: ease all 250ms;
}

.emmo-zipcode #zipcode-form:before, .emmo-zipcode #zipcode-form:after {
  position: absolute;
  content: "";
  left: 5px;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  background: url("../images/location-dark.svg") no-repeat center;
  background-size: 100%;
  width: 20px;
  height: 33px;
  -webkit-transition: ease all 250ms;
  transition: ease all 250ms;
  z-index: 1;
  margin-top: -2px;
}

.emmo-zipcode #zipcode-form:after {
  top: 200px;
  background: url("../images/location-white.svg") no-repeat center;
  background-size: 100%;
}

.emmo-zipcode #zipcode-form .inputZipcode {
  float: left;
  -webkit-transition: ease all 250ms;
  transition: ease all 250ms;
  overflow: hidden;
  position: relative;
  padding-right: 24px;
  padding-left: 0px;
  height: 33px;
  line-height: 33px;
  border: 0px;
  border-left: 30px solid transparent;
  border-right: 2px solid #e5eaec;
  letter-spacing: 2px;
  font-size: 16px;
  padding-top: 0px;
  padding-bottom: 0px;
  text-transform: uppercase;
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  background: transparent;
  width: auto;
}

.emmo-zipcode #zipcode-form .inputZipcode:placeholder-shown, .emmo-zipcode #zipcode-form .inputZipcode:required:invalid {
  width: 135px !important;
}

.emmo-zipcode #zipcode-form .inputZipcode::-webkit-input-placeholder {
  letter-spacing: 0px;
  font-size: 12px;
  text-transform: initial;
}

.emmo-zipcode #zipcode-form .inputZipcode:-ms-input-placeholder {
  letter-spacing: 0px;
  font-size: 12px;
  text-transform: initial;
}

.emmo-zipcode #zipcode-form .inputZipcode::-ms-input-placeholder {
  letter-spacing: 0px;
  font-size: 12px;
  text-transform: initial;
}

.emmo-zipcode #zipcode-form .inputZipcode::placeholder {
  letter-spacing: 0px;
  font-size: 12px;
  text-transform: initial;
}

.emmo-zipcode #zipcode-form .inputZipcode:active {
  width: auto;
}

.emmo-zipcode #zipcode-form .save {
  position: absolute;
  right: 7px;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  background: #fff;
  color: #f69d00;
  border: 0px;
  border-radius: 0px;
  padding: 4px 5px;
  right: -1000px;
  -webkit-transition: ease all 250ms;
  transition: ease all 250ms;
}

.emmo-zipcode #zipcode-form .save:hover {
  background: #00364f;
  color: #fff;
}

.emmo-zipcode #zipcode-form.focus .save {
  right: 7px;
}

.emmo-zipcode #zipcode-form.focus .inputZipcode {
  background: #f69d00;
  color: #fff;
  border-right-width: 75px;
  border-color: #f69d00;
  padding-right: 0px;
  min-width: 40px;
}

.emmo-zipcode #zipcode-form.focus .inputZipcode::-webkit-input-placeholder {
  color: #fff;
}

.emmo-zipcode #zipcode-form.focus .inputZipcode:-ms-input-placeholder {
  color: #fff;
}

.emmo-zipcode #zipcode-form.focus .inputZipcode::-ms-input-placeholder {
  color: #fff;
}

.emmo-zipcode #zipcode-form.focus .inputZipcode::placeholder {
  color: #fff;
}

.emmo-zipcode #zipcode-form.focus:after {
  top: 50%;
  z-index: 999999;
}

.emmo-zipcode #zipcode-form.focus:before {
  top: -200px;
}

.emmo-zipcode .mobile-close {
  display: none;
}

.is-stuck .emmo-zipcode {
  padding-top: 5px;
  padding-bottom: 0px;
  margin-right: -16px;
}

input.checkZipcode {
  background-image: url("../images/location-white.svg");
  float: left;
  width: 100%;
  background-size: auto 22px;
  background-repeat: no-repeat;
  background-position: right center;
  padding: 7px 7px;
  background-origin: content-box;
  border: none;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 400;
  line-height: unset;
  height: auto;
  text-align: center;
  background-color: #82cde3;
  color: #fff;
}

@media screen and (max-width: 1100px) {
  input.checkZipcode {
    font-size: 9px;
    text-align: left;
    padding-left: 10px;
  }
}

body:not(.catalog-product-view) .zipcode-msg {
  text-align: left;
  font-size: 11px;
  margin-top: 6px;
  line-height: 15px;
  color: #417995;
  padding: 0px 6px;
  position: absolute;
  top: 0px;
  text-align: center;
  z-index: 100;
  background: #ffffff40;
  height: 150px;
  width: calc(100% - 20px);
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  pointer-events: none;
}

body:not(.catalog-product-view) .zipcode-msg span {
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  position: absolute;
  width: 80%;
  left: 10%;
  background: #07364e;
  color: #fff;
  padding: 6px;
}

.zip-available-info {
  background: #ffb7b1;
  color: #a00000;
  display: inline-block;
  padding: 2px 7px;
  margin-top: 5px;
  text-transform: uppercase;
  font-size: 11px;
}

.catalog-product-view .zipcode-msg {
  text-align: center;
  font-size: 11px;
  line-height: 15px;
  color: #417995;
  background: #ffffff40;
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin-bottom: 6px;
  float: left;
  position: relative;
}

.catalog-product-view .zipcode-msg span {
  float: left;
  padding: 10px;
  width: 100%;
  background: #07364e;
  color: #fff;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.catalog-product-view input.checkZipcode {
  margin-bottom: 0px;
}

.block.product-listing .product-item .product-hover-wrapper .product-item-actions {
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.zipcode-mobile-action {
  display: none;
}

@media (max-width: 767px) {
  .zipcode-mobile-action {
    display: none;
    margin: 0px;
    padding: 0px;
    float: left;
    height: 55px;
    width: 50px;
    border-left: 1px solid #ececec;
    position: relative;
    z-index: 3;
    background: url("../images/location-dark.svg") no-repeat center;
    background-size: 27px;
  }
  .emmo-zipcode {
    display: none;
    position: fixed;
    z-index: 9999;
    margin: 0px;
    width: 100%;
    height: 100%;
    padding: 0px;
    left: 0px;
  }
  .emmo-zipcode.check {
    display: block;
  }
  .emmo-zipcode .mobile-close {
    display: block;
    z-index: 99999999;
    position: fixed !important;
    right: 10px;
    top: 10px !important;
    background: #0a354d url("../images/menu-close.svg") no-repeat center center;
    height: 20px;
    width: 20px;
    background-size: 50%;
    padding: 5px;
    -webkit-transform: none !important;
            transform: none !important;
  }
  .emmo-zipcode .mobile-close * {
    display: none;
  }
  .emmo-zipcode .mobile-close:before {
    display: none;
  }
  .emmo-zipcode.check .help-text {
    top: 50%;
    position: relative;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
  }
  .emmo-zipcode.check #zipcode-form,
  .emmo-zipcode.check #zipcode-form.focus {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    width: 80%;
    height: auto;
    margin-top: -80px;
  }
  .emmo-zipcode.check #zipcode-form:after,
  .emmo-zipcode.check #zipcode-form.focus:after {
    display: none;
  }
  .emmo-zipcode.check #zipcode-form:before,
  .emmo-zipcode.check #zipcode-form.focus:before {
    top: 2px;
    z-index: 99999999;
    -webkit-transform: none;
            transform: none;
  }
  .emmo-zipcode.check #zipcode-form .inputZipcode,
  .emmo-zipcode.check #zipcode-form.focus .inputZipcode {
    background: #fff;
    width: 100% !important;
    min-width: 100% !important;
    border: 0px;
    padding: 0px 20px;
    text-align: center;
    color: #0a354d;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
  .emmo-zipcode.check #zipcode-form .inputZipcode::-webkit-input-placeholder,
  .emmo-zipcode.check #zipcode-form.focus .inputZipcode::-webkit-input-placeholder {
    color: #0a354d;
  }
  .emmo-zipcode.check #zipcode-form .inputZipcode:-ms-input-placeholder,
  .emmo-zipcode.check #zipcode-form.focus .inputZipcode:-ms-input-placeholder {
    color: #0a354d;
  }
  .emmo-zipcode.check #zipcode-form .inputZipcode::-ms-input-placeholder,
  .emmo-zipcode.check #zipcode-form.focus .inputZipcode::-ms-input-placeholder {
    color: #0a354d;
  }
  .emmo-zipcode.check #zipcode-form .inputZipcode::placeholder,
  .emmo-zipcode.check #zipcode-form.focus .inputZipcode::placeholder {
    color: #0a354d;
  }
  .emmo-zipcode.check #zipcode-form .save,
  .emmo-zipcode.check #zipcode-form.focus .save {
    position: relative;
    width: 100%;
    margin-top: 5px;
    top: inherit;
    -webkit-transform: none;
            transform: none;
    right: 0px;
    font-size: 12px;
    background: #f69d00;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: lighter;
    padding: 10px 0px;
  }
}
