.main_div{
    display: flex;
    background-color: grey;
    position: fixed;
     width: 100%;
    top: 0;
   z-index: 999999999999;
}
#main_div {
    position: sticky;
    bottom: 0;
    z-index: 9999999;
    height: auto;
    }
.main_content{
    padding: 15px 10px;
    display: flex;
    /* margin: auto; */
   align-items: center;
    width:100%;
}
#main_para{
    color:black;
    margin: unset !important;
    margin-left:0px;
    border-radius: 5px;
    position: absolute;
    top: 20px;
    left: 69px;
}
#main_price{
    color:white;
    position: absolute;
    left: 69px;
    bottom: 13px;
    margin-left:0px;
    
}
#price_cstm{
    color: black;
}
#img{
    margin-right: 10px;
    border-radius: 5px;
   
}
.btn_redirect{
     background-color: black;
      color: white;
      margin-top: 6px;
      border:0;
      margin-left: 20px;
      /* width: 100px; */
      height: 40px;
     border-radius: 5px;
    }
.var_opt_qun{
    display: flex;
}
.var_btn{
    background-color: white;
    height: 40px;
    margin: auto;
}
.saws_btn{
    background-color: white;
    height: 40px;
    margin: auto;
    border: 0;
    margin-top: 5px;
    line-height: initial !important;
    width: auto !important;
    font-family: auto !important;
    border-radius: 5px;
}
.Sticky_quantity{
    background-color: white !important;
    height: 40px;
    margin: auto;
    width: 70px !important;
    margin: 5px 0px 0px 0px !important;
    border-radius: 5px;
}
.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: auto; /* 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 {
    background-color: #fefefe;
    padding: 10px;
    width: 22%;
    height: 45px;
    margin-left: 10px;
    border-radius: 5px;
    margin-top: auto;
  }
  .modal-content p{
   
    top: 17px; 
  }
  /* The Close Button */
  .close {
    color: black;
    float: right;
    font-size: 35px;
    font-weight: bold;
    margin-right: 8px;
  }
  
  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }
  #product_form{
      display:flex;
  }
  #container1{
      /* min-width: 100px; */
      text-align: center;
    
  }
  div#container1 {
    margin-right: 5px;
    }
    div#container {
    margin-right: 5px;
    }

  #product_form{
    margin-bottom: unset;
    position: absolute;
    right: 5%;
  }
 
    #cart{
    display:none;
    position: absolute;
    right: 90px;
    width: 20%;
    min-height: 50px;
    top: 85%;
    background-color: white;
    border: 1px solid gray;
    border-radius: 5px;
}
     
    #cart p{
        font-weight: 600;
        text-align: center;
        margin-top: 15px;
    }
     

  /* for mobile view */
  @media only screen and (-webkit-min-device-pixel-ratio: 2) and (max-device-width: 374px){
    #main_div{
        height: unset;
    }
    .main_content{
        /* display: unset; */
        padding: 6px;
        flex-wrap: wrap;
        display: flex;
        margin: auto;
        height: unset;
    }
    #main_para{
        font-size: 10px;
        font-size: 15px;
        display: inline-block;
        width: 68%;
        position: absolute;
        top: 14px;
        left: 69px;
    }
    #main_price {
        color: white;
        position: absolute;
        left: 69px;
        bottom: 6px;
        margin-left: 0px;
    }
    #img_cstm {
        margin-top: 10px;
        margin-left: 15px;
    }
    .btn_redirect{
       height: 40px;
        margin-left: 4px;
        margin-top:10px;
        font-size: small;
    }
    .saws_btn {
        /* height: unset; */
        margin-right: 0px;
        height: 40px;
        margin: 10px auto;
        margin-left: 0px;
        width: auto !important;
         line-height: initial !important;
         font-family: auto !important;
     
    }
    .Sticky_quantity{
        /* height: unset;   */
        height: 40px;
        margin: auto;
        width: 45px !important;
        margin-left: 0px;
        background-color: white !important;
        margin: 10px 0px 0px 0px !important;
    }
    #cstm_btn{
        margin: auto;
        margin-left: 0;
    }
    .modal-content{
        width: 85%;
        height: 50px;
       margin-left: 0px;
    }
    #cart{
        right: 115px;
        width: 67%;
        top: 90%;
    }
  }

  @media(max-width:320px){
    #main_para{
    width:60%;
    }
    input#Sticky-quant_box {
    padding: 8px 5px;
    max-width: 25px;
    }
    .modal-content{
        width: 85%;
        height: 50px;
        margin-left: 0px;
    }
    #cart{
        right: 75px;
        width: 75%;
        top: 90%;
    }
    }

  @media only screen and (-webkit-min-device-pixel-ratio: 2) and (max-device-width: 667px) and (min-device-width: 375px){
    #main_div{
        height: unset;
    }
    .main_content{
        padding: 6px;
        flex-wrap: wrap;
        display: flex;
        margin: auto;
    }
    #main_para {
        font-size: 10px;
        font-size: 15px;
        display: inline-block;
        width: 68%;
        position: absolute;
        top: 14px;
        left: 69px;
    }
    #main_price {
        color: white;
        position: absolute;
        left: 69px;
        bottom: 6px;
        margin-left: 0px;
    }
    #img_cstm {
        margin-top: 10px;
        margin-left: 15px;
    }
    .saws_btn {
        /* height: unset; */
        margin-right: 0px;
        height: 40px;
        margin: 10px auto;
         margin-left: 0px;
         width: auto !important;
         font-family: auto !important;
         line-height: initial !important;
     
        
      
    }
    .btn_redirect{
      height: 40px;
        margin-left: 40;
        margin-top: 10px;
        margin-left: 8px;
        font-size: small;
    }
    .Sticky_quantity {
        /* height: unset;   */
        height: 40px;
        margin: auto;
        margin-left: 0px;
        width: 45px !important;
        background-color: white !important;
        margin: 10px 0px 0px 0px !important;
    }
    #cstm_btn{
        margin: auto;
        margin-left: 0;
    }
    #cart{
        right: 115px;
        width: 67%;
        top: 90%;
    }
  }
  

  @media only screen and (-webkit-min-device-pixel-ratio: 2) and (max-device-width: 1023px) and (min-device-width: 768px){
    .main_content {
        padding: 10px;
    }
    #main_para{
        margin-right: unset;
        margin: unset !important;
        margin-left:0px;
        border-radius: 5px;
        position: absolute;
        top: 20px;
        left: 69px;
    }
    #main_price{
        color:white;
        position: absolute;
        left: 69px;
        bottom: 13px;
        margin-left:0px;
        
    }
    
    .saws_btn{
        width: auto !important;
        font-family: auto !important;
        line-height: initial !important;
    }
  }
