#cart h2 {
  margin-left: 20px;
  font-size: 18px;
  color: #767676;
  font-weight: normal;
  overflow: hidden;
  text-overflow: ellipsis;

}

.closebtn:hover {
  opacity: 1;
  color: black;
}

#cart a:focus {
  opacity: 0.5;
  text-decoration: none;
}

#cartItems {
  margin-top: 40px;
  overflow-y: scroll;
  position: absolute;
  top: 0;
  bottom: 160px;
}

#cart a{
  text-decoration: none;
}


 .cartBtn:focus {
  opacity: 1;
  color: white;
  text-decoration: none;
}

/*.cartBtn {
  text-align: center;
  position: fixed;
  top: 50%;
  cursor: pointer;
  right: 20px;
  font-size: 20px;
  z-index: 1000;
  margin-left: 50px;
  color: white;
  text-decoration: none;
}*/

.cartBtn {
  text-align: center;
  position: fixed;
  top: 10px;
  cursor: pointer;
  right:10px;
  font-size: 0.8em;
  z-index: 2;
  margin-left: 50px;
  color: white;
  text-decoration: none;
}

.cartBtn:hover {
  opacity: 0.5;
  color: white;
  text-decoration: none;
}

.cartBtn i {
  display: block;
}

.cartBtn p {
  line-height: 15px;
}


.cartProduct {
  padding: 5px;
  height: 100px;
  position: relative;
  display: flex;
  align-items: center;
}

.cartImage {
  width: 30%;
  float:left;
  margin: auto;
  vertical-align: middle;
}

.nameCartProduct {
  font-weight: bold;
  font-size: 0.9em;
}

.cartDescription {
  width: 60%;
  float:left;
  display: block;
  position: relative;
  color: black;
  font-family: Helvetica,Arial, sans-serif;
}
.cartDescription span {
  display: block;
  margin-left: 10px;
}

.quantityCartProduct {
  margin-top: 10px;
}
.quantityCartProduct, .priceCartProduct,
.nameCartProduct, .sizeCartProduct  {
  text-align: right;
  margin-right: 10px;
}

.sizeCartProduct, .quantityCartProduct {
  font-size: 0.75em;
  font-family: Helvetica,Arial, sans-serif;
}

.priceCartProduct {
  font-size: 0.8em;
}

.subtotal {
  color: #000000;
  font-family: Helvetica,Arial, sans-serif;
  font-weight: bold;
  text-align: center;
  position:absolute;
  left: 0;
  right: 0;
  bottom: 130px;
}


.checkoutLink {
    background-color: #000000;
    color: #f7f7f7;
    font-family: Helvetica,Arial, sans-serif;
    border-radius: 0px;
    font-weight: 200;
    padding: 10px 5px;
    font-size: 16px;
    text-decoration: none;
    letter-spacing: .3px;
    display: block;
    position:absolute;
    left: 10px;
    right: 10px;
    bottom: 70px;
    cursor: pointer;
    line-height: 1.2;
    align-items: flex-start;
    text-align: center;
    -webkit-appearance: none;
}


.deleteItem  {
  width: 10%;
  float: left;
  font-size: 1.5em;
  cursor: pointer;
  text-align: left;

}

.deleteItem:hover {
  opacity: 0.5;
}


/* The side navigation menu */
.sidenav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 8; /* Stay on top */
    right: 0;
    background-color: #fff; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */ /* Place content 60px from the top */
    /*transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
     -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;

}

/* The navigation menu links */
.sidenav {
    text-decoration: none;
    display: block;
    transition: 0.3s;
}

.closebtn {
  float: right;
  margin-top: 10px;
  margin-right: 10px;
    color: black;
    font-size: 0.8em;
    text-decoration: underline !important ;
     display: block;
    transition: 0.3s;
    opacity: 0.5
}
}

@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
}


@media screen and (max-width : 414px) and (min-width : 350px) {

  #cartItems {
    bottom: 120px;
  }
  .checkoutLink {
    bottom: 30px;
  }
  .subtotal {
    bottom: 90px;
  }

}