			/* MODAL */
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: hidden; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  position: absolute;
  top:0;
  right:0;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: calc(15% + 30em);
  max-width: 100%;
  height:100%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}
/*
@media (max-width: 1000px) {
  .modal-content {
    width: 95%;
  }
}
*/

/* Add Animation */
@-webkit-keyframes animatetop {
  from {right:-300px; opacity:0} 
  to {right:0; opacity:1}
}

@keyframes animatetop {
  from {right:-300px; opacity:0}
  to {right:0; opacity:1}
}

/* The Close Button */
.close {
  color: black;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 2px 16px;
  color: black;
  border-bottom: 1px solid rgb(211,211,211);
}
.shopcart__product {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px 60px 10px;
  border-bottom: 1px solid #eee;
}
.shopcart__product:nth-child(even) {
  background-color: #D8D8D8;
}

.shopcart-modal__products {
  z-index: 100;
  height: calc(100% - 260px);
  overflow: auto;
  padding-top: 40px;
  background-color: #fff;
  -ms-overflow-style: none; // hide second scrollbar
}
.shopcart-modal__products::-webkit-scrollbar {
	display: none; // hide second scrollbar
}

.modal-footer {
  position: absolute;
  background-color: white;
  bottom: 0;
  border-top: 3px double #707070;
  padding: 25px;
  width: 100%;
}
.modal__subtotal {
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  width: 100%;
}
.modal__subtotal-text {
  font-size: 16px;
  color: black;
}
.modal__checkout {
  margin-bottom: 12px;
  text-align: center;
}
.proceed-button {
  margin: 0 0 20px;
  background-color: #3e6ae1;
  width: auto;
  position: relative;
  display: webkit-inline-box;
  display: ms-inline-flexbox;
  display: inline-flex;
  line-height: 1.2;
  font-size: 0.9em;
  color: white;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 100px;
  border: 3px solid transparent;
  box-shadow: inset 0 0 0 0 transparent;
  outline: none;
  padding: 7px 60px;
}
.proceed-button:hover {
  background-color: #0000cc;
  color: white;
}
.shopcart__product__image {
  width: 80px;
  height: 80px;
}
.shopcart__product__image img{
  width: 80px;
  height: 80px;
  object-fit: cover;
}
.shopcart__product__left {
  display: webkit-box;
  display: ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
  ms-flex: 1 1 auto;
  flex: 1 1 auto;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-flow: column nowrap;
  flex-flow: column nowrap;
  padding-bottom: 1px;
  margin-left: 10px;
  min-width: 120px;
  margin-top: 0;
}
@media (min-width: 601px) {
  .shopcart__product__left {
    margin-left: 20px;
    min-width: 160px;
  }
}
@media (min-width: 1281px) {
  .shopcart__product__left {
    margin-left: 40px;
    min-width: 250px;
  }
}
.shopcart__product__left__details__name {
  line-height: 24px;
  margin-top: 0px;
  font-size: 1.2rem;
  padding: 0 10px;
  font-weight:600;
}
.shopcart__price-total {
  line-height: 16px;
  margin-top: 0px;
  font-size: 1.2rem;
  padding: 0 10px;
  font-weight:600;
}
.shopcart__product__right {
  display: webkit-box;
  display: ms-flexbox;
  display: flex;
  -webkit-box-flex: 0;
  ms-flex: 0 1 auto;
  flex: 0 1 auto;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row nowrap;
  flex-flow: row nowrap;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding-bottom: 1px;
  width: auto;
  white-space: nowrap;
}
.delete-product {
  cursor: pointer;
  margin-left: 20px;
}
@media (min-width: 1281px) {
  .delete-product {
    margin-left: 40px;
  }
}
/* END MODAL */

/* cart items*/
.cart-items {
  font-size: 1.2rem;
  width:50px;
  padding: 0 10px;
  font-weight:600;
 }
 .cart-items:hover {
   background-color: transparent;
   cursor: pointer;
  }
.x {
	font-size: 1.7rem;
}
.proceed-button-disabled {
	cursor: hand;
}
button.proceed-button:disabled, button.proceed-button[disabled] {
	cursor: not-allowed;
	background-color: #80bfff;
	text-decoration: line-through;
}