/* Hide Submit Button */
.form-submit-button {
    display: none !important;
  }
  
  /* Hide Print Button */
  #print-preview {
    display: none !important;
  }
  /* Hiding Language dropdown*/
  #form-element-wrapper_1 {
      visibility: hidden !important;
    }

#form-element-wrapper_2{
    display: none;
}
    /* TO CONTROL SCREEN SCROLL*/
.form-section, .form-item {
    display: block;
    overflow: hidden;
    padding-left: inherit;
    padding-bottom: 16px;
}

.header_container {
    display: flex;
    justify-content: space-between;
    column-gap: 30px !important;
}
.blanklinecallout {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
ul,ol{
    margin-inline-start:25px;
}

    .divTableRow {
    display: table-row;
  }
  .divTableCellN {
    display: table-cell;
    padding-bottom: 10px;
    padding-right: 10px;
    vertical-align: bottom;
}
:lang(ar).divTableCellN,
:lang(fa).divTableCellN {
    display: table-cell;
    padding-bottom: 10px;
    padding-right: 10px;
    vertical-align: baseline ;
    white-space: nowrap;
}
.MailDateBlock {
    text-align: end !important;
}

.blank-line1 {
    display: inline-block;
    border-bottom: 2px solid black;
    width: 180px;
    height: 17px;
}
.Imp_section{
    width:40%;
}
.small-line1 {
    display: inline-block;
    border-bottom: 2px solid black;
    width: 100px;
    height: 17px;
    margin-inline-start: 3px;
        margin-inline-end: 2px;


}

        .outer-table {
        width: 100%;
        border-collapse: collapse;
        border: 1px solid #000;
    }

    .outer-table td {
        border: 2px solid #000;
        vertical-align: top;
       
        width: 50%;
    }

    /* SECTION HEADINGS */
    .section-title {
        height:40px;
        margin-bottom: 8px;
        padding-inline-start:5px;
    }
:lang(hy).section-title,
:lang(ru).section-title,
:lang(ar).section-title,
:lang(fa).section-title,
:lang(fil).section-title,
:lang(vi).section-title {

   height:65px;
        margin-bottom: 8px;
        padding-inline-start:5px;


}
    /* INNER TABLES */
    .inner-table {
        width: 100%;
        border-collapse: collapse;
        table-layout: fixed;
    }
.hideRight{
    border-inline-end:none!important;
}
.hideLeft{
    border-inline-start:none!important;
}
    .inner-table th,
    .inner-table td {
        border: 1px solid #000;
        padding: 6px;
        height: 26px;
        border-inline-start:none;
        text-align: start;
    }

    .inner-table th {
        font-weight: bold;
        text-align: center;
    }
    .inner-table th:nth-child(1),
.inner-table td:nth-child(1) {
    width: 30%;
}

.inner-table th:nth-child(2),
.inner-table td:nth-child(2) {
    width: 35%;
}

.inner-table th:nth-child(3),
.inner-table td:nth-child(3) {
    width: 35%;
}

    /* FOOTNOTE ROW */
    .footnote {
    
        padding: 3px;
    }

/* Solid fill lines */
.line.solid {
    display: inline-block;
    width: 100%;
    border-bottom:2px solid #000;
}


.Checkboxsize {  
    width: 14px;  
    height: 14px;  
    background-color: white;  
    border-radius: 5%;  
    vertical-align: middle;  
    border: 1px solid gray;  
    appearance: none;  
    -webkit-appearance: none;  
    outline: none;  
   }  

.jtext{
    display:inline-block;
    margin-inline-start: 5px;
}


.moveBack{
    margin-inline-end:3%;
}

.qgrid {
    display: grid;
    grid-template-columns: 30px 1fr 80px 80px; 
    grid-auto-rows: auto;
    grid-column-gap: 10px;
   
    width: 100%;
}

.qcell {
    display: block;
    padding: 2px 0;
}
.ctext{
    display: inline-block   !important;
    margin-inline-start: 20px;
    margin-top:-21px;
}
 
 
 .d1text{
    display: inline-block   !important;
    margin-inline-start: 5px;
    margin-top:-21px;
}
.dtext{
    display: inline-block   !important;
    margin-inline-start: 5px;
    margin-top:-21px;
}


.colspan-3 {
    grid-column: span 3;
}

.colspan-2 {
    grid-column: span 2;
}

.line.solid {
    width: 100%;
    border-bottom: 2px solid #000;
    
   
}

.small-line12 {
    display: inline-block;
    border-bottom: 2px solid black;
    width: 100px;
    height: 17px;
    margin-inline-start: 3px;
}

.small-lines {
    display: inline-block;
    border-bottom: 1px solid black;
    width: 80px;
    height: 17px;
    margin-inline-start: 3px;
}





 .cert-box {
        border: 2px solid #000;
        width: 99%;
        margin-bottom: 10px;
        margin-top: 10px;
    }

    .cert-text {
           padding-bottom: 5px;
         
    padding-inline-start: 2px;
        border-bottom: 2px solid #000 !important; 
    
     
    }

    /* SIGNATURE ROW */
    .sign-row {
        display: table;
        width: 100%;
        border-collapse: collapse;
    }

    .sign-cell {
        display: table-cell;
           padding-bottom: 15px;
    padding-inline-start: 2px;
        border-inline-end: 2px solid #000;
        
    }

    .sign-cell:last-child {
         
        width: 50%;
    }

    

    /* INFO TEXT */
    .info-text {
        margin: 6px 0 4px 0;
    }

    /* ADDRESS TABLE */
    .address-table {
        width: 100%;
        border-collapse: collapse;
        border: 3px solid #000;
        margin-bottom: 10px;
    }

    .address-table th {
        border-inline-end: 2px solid #000;
 
    padding-inline-start: 2px;
        text-align: start;
        font-weight: normal;
    }
:lang(hy).address-table th,
:lang(ru).address-table th, 
:lang(km).address-table th,
:lang(ar).address-table th,

:lang(vi).address-table th {
    border-inline-end: 2px solid #000;
 padding-bottom:20px;
    padding-inline-start: 2px;
        text-align: start;
        font-weight: normal;
   
}
    .address-table th:last-child {
        border-inline-end: none;
    }
 
    .penalties {
        margin-top: 6px;
        font-weight: bold;
    }

 .certification-container {  

display: flex;  

align-items: flex-start; /* Aligns the text properly */  

max-width: 100%; /* Ensures responsiveness */  

}  

.label1 {  

font-weight: bold;  

white-space: nowrap; /* Prevents wrapping */  

margin-inline-end: 10px; /* Space between label and text */  

flex: 0 0 auto; /* Prevents shrinking */  
margin-inline-end:30px;

}  

.tex1 {  

flex: 1; /* Ensures the text takes up remaining space */  

min-width: 0; /* Fixes overflow issues */  

padding-inline-end: 5px;  

} 



.qadjust{
    display: grid;
}




       

@media only screen and (max-width: 768px)
 {
   
    .header_container {
      flex-direction: column;
        justify-content: center;
        align-items: center !important;
    }
     

    /* Turn the grid into 2 columns: number + question */
    .qgrid {
        grid-template-columns: 40px 1fr;
    }

    /* Number + Question stay on the same line */
    .qnum {
        grid-column: 1;
        white-space: nowrap;
    }

    .qtext {
        grid-column: 2;
    }

    /* All other cells move below in block layout */
    .qgrid .qcell:not(.qnum):not(.qtext) {
        grid-column: 1 / -1;  /* full width */
        display: block;
        margin-top: 6px;
        margin-inline-start: 50px;
    }
.qadjust{
    margin-inline-start:50px;
}
    /* For colspan items: force full width */
    .colspan-2,
    .colspan-3 {
        grid-column: 1 / -1 !important;
    }

    .Imp_section{
        width:100%;
    }
    .small-line12 {
        width: 90%;
    }
.disNone{
    display:none !important;
}
    
      .responsive-table-container { 

        overflow-x: auto; 

        -webkit-overflow-scrolling: touch; /* Enables smooth scrolling on iOS */ 

    } 

 

    .responsive-table-container table { 

        width: 100%; /* Ensure table takes up the full width of the container */ 

        min-width: 945px; /* Set a minimum width to maintain table readability */ 

    }
    .certification-container{
        display: block;
        margin-top:20px;
    }
 
      .d1text{
    display: inline-block   !important;
    margin-inline-start: 20px;
    margin-top:-21px;
}
:lang(ko).d1text{
  
        display: inline-block !important;
        margin-inline-start: 5px;
        margin-top: -27px;
}
:lang(km).d1text,
:lang(th).d1text,
:lang(zh-CN  ).d1text,
:lang(zh-TW  ).d1text{
  
        display: inline-block !important;
        margin-inline-start: 7px;
        margin-top: -27px;
}
/*
:lang(zh-TW).moveBack,
:lang(zh-CN).moveBack{
    margin-inline-end: 15%;
}*/

.qadjust{
    display: grid;
}
:lang(ar).d1text,
:lang(fa).d1text,
:lang(ko).d1text,
:lang(km).d1text,
:lang(zh-CN  ).d1text,
:lang(zh-TW  ).d1text,
:lang(th).d1text{
  
        display: inline-block !important;
        margin-inline-start: 5px;
        margin-top: -27px;
}
:lang(ru).d1text,
:lang(fil).d1text,
:lang(vi ).d1text,
:lang(hy  ).d1text{
  
        display: inline-block !important;
        margin-inline-start: 20px;
        margin-top: -21px;
}
 }

 /* Media query for iPad mini */

    @media only screen 
    and (min-device-width: 768px) 
    and (max-device-width: 768px) 
    and (min-device-height: 1024px) 
    and (max-device-height: 1024px) 
    and (-webkit-min-device-pixel-ratio: 1) 
    
    {

.d1text{
  
        display: inline-block !important;
        margin-inline-start: 5px;
        margin-top: -27px;
}
:lang(ru).d1text,
:lang(fil).d1text,
:lang(vi ).d1text,
:lang(hy  ).d1text
{
  
        display: inline-block !important;
        margin-inline-start: 5px !important;
        margin-top: -27px;
}

    }