/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 20%; /* Full width */
    height: 40%; /* Full height */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(85, 81, 81, 0.4); /* Black w/ opacity */
  }
  /* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin-left: 61%;
    border: 1px solid #888;
    width: 38.8%;
    height: 100%;
    
  }
  
  /* The Close Button */
  .close {
    color: #aaaaaa;
    float: right;
    font-size: 46px;
    font-weight: bold;
    margin-left: 35%;
  }
  
  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }
  
  
  .ap_checkout
{
    width: 40%;
    font-family: "Open Sans", sans-serif;
    margin-top: -60px;
}

/* heading my cart */
#ap_mycart
{
font-size: 28px;
font-weight: 400;
color:#1f1f1f;
margin-left: 20px;
}

#ap_scroll
{
   height: 430px;
  overflow-y: scroll;
 
}
/* container to display cart data */
#ap_cart{
  font-family: "Open Sans", sans-serif;
  margin-top: 10px;
  }

  #ap_cart>div{
    margin-bottom: 10px;
      display: grid;
      grid-template-columns: 0.3fr 2fr 1fr;
      gap: 10px;
  }
  #ap_cart>div>img{
      width: 140px;
      height: 140px;
      
  }

  #ap_cart>div>div>button
  {
      border: none;
      border-bottom: 1px solid black;
      background-color: white;
      font-weight: 700;
      font-size: 16px;
      font-family: "Open Sans", sans-serif;
  }
  

  #ap_check
  {
      background-color: #e5f1f8;
      text-align: center;
     height: 30px;
     width: 100%;
  }

  /* checkout and view cart buttons */
  #ap_buttons
  {
      display: flex;
      justify-content: space-between;
      background-color: #f5f5f5;
      height: 115px;
     position: fixed;
      width: 38.8%;
      margin-top: -30px;
      
  }

  #ap_buttons>button
  {
      margin:40px 40px;
      color: #003953;
      font-weight: 700;
  }

  #ap_buttons>button:hover
  {
    background-color: #0076bd;
    color: white;
    border: none;
  }
  #ap_buttons>button,#ap_buttons>div>button
  {
    background-color: white;
    height: 40px;
    background-color: inherit;
    padding: 0px 20px 0px 20px;
    border-radius: 5px;

  }
  
  #ap_buttons>div>button
  {
      background-color: #a7e688;
      border: none;
    margin-left: 10px;
    color: #035d64;
    font-weight: 700;
  }

  #ap_buttons>div>button:hover
  {
      background-color: #b9f39c;
      border: none;
    color: #035d64;
   
  }

  #ap_buttons>div
  {
    margin-right: 20px;
  }
#box2>p{
  font-size: 14px;
  margin-bottom: 0px;
}


/* total */
#ap_total
{
    margin: 10px;
}