@media only screen and (max-width: 600px) {
    .footer p,
    .footer p a {
        text-align: center;
    }

    .footer p {
        margin-bottom: 10px;
    }

    .footer p:last-child {
        margin-bottom: 0;
    }

    .footer p:last-child,
    .footer p:last-child a {
        float: none;
        margin: 10px 0 0 0;
    }
}

@media only screen and (max-width: 600px) {
    @media only screen and (max-width: 768px) {
        textarea{width:90vw !important;padding: 0px !important;}
       .dropdown{padding:0px !important}
        .cline1{width: 100% !important;float: none !important;margin: 0px !important;margin-top:5px !important;margin-bottom: 5px !important;
        }
                .cline2{width: 100% !important;float: none !important;margin: 0px !important;margin-top:5px !important;margin-bottom: 5px !important}
                .cspare{font-size: 20px !important;width: 100% !important;float: none !important;margin: 0px }
        .submit_btn{width:100%;display: flex;}
      .left-border{border-left: 1px solid #ccc;}
      .border_ctr img{margin-top: 10px;margin-bottom: 10px;}
        .title{
            width:80% !important;
        }
        .hd_rw {
            font-size: 12px;
            width: auto !important;
        }
        .rw {
            width: auto !important;
            height: auto !important;
            overflow: visible !important;
        }
        .rw img {
            max-width: 100%;
            height: auto;
        }
        .text{
            word-wrap: break-word !important;
        }
        .norecord{
            width:290px !important;
        }
    }
    legend{
        margin-bottom:20px;
    }
    .cproduct{
        margin:0 auto;
        float: none;
        width: 61%;
    }
   .logo{
    padding-top: 20%;
   }
   .line1{
 width:auto;
 float:none;
 margin: 20px 20px 20px 20px;
   }
   .line2{
    width:auto;
    float:none;
    margin: 20px 20px 20px 20px;
    margin-bottom: 20px;
      }
      .spare{
        text-align: center !important;
        
      }

  .logo img {
        width: 80%;
    }

    .spare {
        font-size: 20px;
        float:none;
        margin:0px;
    }

    .sparetext {
        font-size: 14px;
    }

    .btns input[type="button"] {
        max-width: none;
    }
    .wrapper {
        max-width: 95%; 
    }
    .headerbg{
        background: #fff !important;
        max-width: 100%; 
        width: 100%;
        padding: 0px;
        padding-bottom:70px;
    }
    .headertop{
        background: #fff !important;
        max-width: 100%; 
        width: 100%;
        padding: 0px;
    }
    .cnfm_order{
        width: 90%;
        overflow-x: auto;
        margin: 0 auto;
    }
    .tbl_form{
        max-width: 91%;
        overflow-x: auto;
    }
    .btnleft {
        float:none;
        margin-left:100px;
    }
    .cbtns1 {
      
        float:none !important;
        float: none !important;
    margin: 0px;
    margin-left: 20px;
    margin-top: 20px;
    }
    .border{
        width: 100%;
        margin: 0px !important;
        padding: 0px !important;
    }
    .border_ctr{
        width:90% !important;
        margin: 0 auto !important;
        height: auto !important;
        float:none !important;
        margin-top: 10px !important;
        margin-bottom: 10px !important;

    }
    .suc_msg{
        padding:10px 20px;
    }
   th{padding: 5px 20px;
    white-space: nowrap;}
}
.form_display{padding-top: 10px;padding-bottom: 10px;}
.lefttext{text-align: left !important;width: 20% !important;}
.thank_head{margin-top: 0px !important;}

/* @media only screen and (min-width: 900px) {
    .wrapper {
        max-width: 95%; 
    }
    .headerbg{
        max-width: 95%; 
    }
   
} */
@media only screen and (min-width: 600px) and (max-width: 820px) {
    /* .wrapper {
        max-width: 98%;
    } */
    /* .headerbg {
        width: auto; 
        max-width: none;
        padding: 0 20px; 
    } */
}

.return_pdf {
    /* overflow: hidden; Clear float */
}

.pdf_link {
    display: block;
    text-align: center;
    margin-top: 20px;
    float:none;
}
.pdf_link span{
    padding: 10px;
    word-wrap: break-word;
}

.pdf_link img {
    width: 40px;
    vertical-align: middle;
}

.pdf_link span {
    display: block;
}

/* Media Query for Mobile Devices */
@media only screen and (max-width: 600px) {
    .pdf_link img {
        width: 30px; /* Adjust size for smaller screens */
    }
}
