/* Mini cart
 * Extracted from ne-store.css so #ne_mini_cart is styled on pages where store CSS is not loaded.
 */

#ne_mini_cart {
  width: 100%;
  height: auto;
  background: rgba(236, 236, 236, 0.5882352941);
  position: fixed;
  top: -640px;
  right: 0px;
  z-index: 5;
  box-shadow: 1px 6px 11px -4px rgba(0, 0, 0, 0.5);
  transition: 0.4s all ease-out;
  opacity: 0.4;
  max-width: 425px;
}

#ne_mini_cart.active {
  opacity: 1;
  top: 65px;
  background: #ececec;
}

#ne_mini_cart .mini_cart_item img, #ne_mini_cart .attachment-woocommerce_thumbnail {
  width: 75px;
  height: 75px;
  margin-right: 20px;
  padding: 18px 0px 5px 20px;
}

#ne_mini_cart ul {
  padding: 0;
  margin: 0;
  width: 103%;
  max-height: 300px;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}

#ne_mini_cart li {
  width: 100%;
  height: auto;
  list-style-type: none;
  background: rgb(243, 243, 243);
  vertical-align: middle;
  position: relative;
  height: 85px;
  margin-bottom: 1px;
}

#ne_mini_cart .wc-forward {
  font-size: 9px;
  display: inline-block;
  margin-right: 10px;
  padding: 0;
  width: 120px;
  line-height: 40px;
}

#ne_mini_cart .woocommerce-mini-cart__total.total {
  padding: 15px;
  margin: 0;
}

#ne_mini_cart .checkout {
  font-size: 9px;
  line-height: 40px;
}

#ne_mini_cart .mini_cart_item {
  font-size: 13px;
  display: block;
  width: 100%;
  position: relative;
  line-height: normal;
}

#ne_mini_cart .mini_cart_item a {
  color: #777;
  display: block;
  height: 100%;
}

#ne_mini_cart .mini_cart_item .price {
  left: 20px;
  top: 45px;
  /* position: absolute; */
}

#ne_mini_cart .mini_cart_item .name {
  left: 20px;
  top: 25px;
  position: absolute;
  font-size: 14px;
}

#ne_mini_cart .wrap {
  display: grid;
  grid-column-gap: 1px;
  grid-template-columns: repeat(2, 1fr);
  padding: 1px 0;
}

#ne_mini_cart .item-image {
  height: 100%;
  width: 85px;
}

#ne_mini_cart .item-details {
  height: 100%;
  width: calc(100% - 85px);
  left: 85px;
  position: absolute;
  top: 0;
}

#ne_mini_cart a.button.icon {
  background: url(../images/ui/ic_settings.png) #ddd no-repeat;
  background-size: 50%;
  background-position: center;
  color: transparent;
}

#ne_mini_cart .price {
  left: 90px;
  top: 20px;
  position: relative;
  z-index: 2;
}

#ne_mini_cart .quantity {
  display: block;
  width: 65px;
  position: absolute;
  right: 35px;
  top: 35px;
  font-size: 28px;
  color: #1d1d1d;
  z-index: 2;
  text-align: right;
}

#ne_mini_cart .name {
  display: block;
  width: 230px;
  position: absolute;
  left: 90px;
  top: 45px;
  font-size: 14px;
  overflow: hidden;
  color: #000;
  z-index: 2;
}

#ne_mini_cart .total {
  display: block;
  width: auto;
  position: relative;
  left: 0;
  margin: 0;
  height: 65px;
  text-transform: uppercase;
  font-size: 26px;
  padding: 7px 20px;
  border-bottom: 1px solid #ccc;
}

#ne_mini_cart .total strong {
  color: #555;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: normal;
  vertical-align: super;
}

#ne_mini_cart .buttons {
  width: 100%;
  display: block;
  margin: 0;
  text-align: center;
  padding: 20px 20px 55px;
}

#ne_mini_cart .total .amount {
  text-align: left;
  color: #1e1e1e;
  position: absolute;
  right: 20px;
  top: 13px;
  font-size: 30px;
}

#ne_mini_cart .buttons .button {
  left: 0px;
  top: 0px;
  position: relative;
  display: inline-block;
  margin: 0 0px;
  font-size: 16px;
  width: 120px;
  height: 50px;
  line-height: 50px;
}

#ne_mini_cart .buttons .checkout {
  background: #76b5c6;
  margin-left: 20px;
}

#ne_mini_cart .mini_cart_item .amount {
  font-size: 18px;
  color: #000;
  font-weight: 300;
}

@media screen and (min-width: 375px) {
  #ne_mini_cart .buttons .button {
    width: 130px;
  }
}
@media screen and (min-width: 768px) {
  #ne_mini_cart .buttons .button {
    width: 130px;
  }
}
