/* Set a style for all buttons */


/* Extra styles for the cancel button */
.cancelbtn {
  width: auto;
  padding: 10px 18px;
  background-color: #f44336;
}

/* Center the image and position the close button */
.imgcontainer {
  text-align: center;
  position: relative;
  margin-bottom: 20px;
}

  .modal-content p{  padding:10px 20px 20px 20px;
    font-size: 17px;
    text-align: center;
    color: black;
    font-weight: 700;}


/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index:9999999; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgb(0 0 0 / 62%); /* Black w/ opacity */
 
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 1% auto 5% auto; /* 5% from the top, 15% from the bottom and centered */
  border: 1px solid #888;
 /* width: 400px; height: 520px; Could be more or less, depending on screen size */
}


/* The Close Button (x) */
.close {
  position: absolute;
  right: 25px;
  top: 0;
  color: #000;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: red;
  cursor: pointer;
}




.animate {
  -webkit-animation: slideIn  0.9s;
  animation: slideIn 0.9s
}

@-webkit-keyframes slideIn {
    from {top: -300px; opacity: 0} 
    to {top: 0; opacity: 1}
}
@keyframes slideIn {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
  
  .cancelbtn {width: 100%;}
  .modal-content p {    padding: 10px 20px 10px 20px; font-size: 15px;}
  .imgcontainer { margin-bottom: 2px}
}



/* @media (max-width: 575px) {
  .modal-content {width:320px; height:auto; }
} */



/* .right {
  -webkit-animation: slideIn  0.9s;
  animation: slideIn 0.9s
}

@-webkit-keyframes slideIn {
    from {top: -300px; opacity: 0} 
    to {top: 0; opacity: 1}
}
@keyframes slideIn {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
} */


/* ----------------------------cart-pop-up------------------------- */

.modal2 {
  position: absolute;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 40px;
    width: 100%;
    height: 100%;
    /* background-color: rgb(0,0,0); */
    /* background-color: rgba(0,0,0,0.4); */
    visibility: hidden;
    opacity: 0;
    transition: all .3s ease-in-out;
}
/* Modal Content */
.modal-content2 {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 320px;
  height:400px
}

/* The Close Button */
.close2 {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close2:hover,
.close2:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
#myModal2.transitionOpen {
    visibility: visible;
    opacity: 1;
    transition: all .3s ease-in-out;
	top:14px;
}

.modal-content2.qty-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; }
  .qty-box .input-group {
    -webkit-box-pack: unset;
        -ms-flex-pack: unset;
            justify-content: unset;
    width: unset;
	
	}
	
.modal-content2 .addit-box{	
	display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
align-items: center;}


.modal-content2 .cart_total{
	
	width: calc(320px - 40px);
    position: fixed;
    bottom: 150px;
	background-color: rgba(241, 187, 58, 0.05);
    padding: 15px;
	
	
}

.modal-content2.cart_product {
    height: calc(100vh - 335px);
    overflow-y: auto;
}