/* 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;
}
.header_container1 {
    display: flex;
    justify-content: space-between;
    column-gap: 30px !important;
}

  .jtext {
    display: block;
    padding-left: 30px;
    margin-right: 10px;
    margin-top: -21px;
  }

  .ctext{
    display: block;
    padding-left: 55px;
    margin-right: 10px;
  }

  .blanklinecallout {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }

  .blank-line {
    width: 70%;
    display: inline-block;
    border-bottom: 1.5px solid #000;
    height: 18px;
  }
.line {
    width: 20%;
    display: inline-block;
    border-bottom: 1.5px solid #000;
    height: 18px;
}
.dynamic-note-container {
    display: inline-flex;
    margin-top:0;
      
}
.dynamic-note-container strong {
    margin-right: 10px; /* Spacing between "NOTE:" and the text */
}
.note-text{
    display: block;
    margin-right:15px;
    padding-left: 30%;
    margin-top: -22px;
}

.checktext {
    margin-top: -9px;
    padding-left: 10px;
 padding-right: 10px;
 margin-inline-start: 10px;
    margin-inline-end: 10px;

}
 
 
 .divTableCell {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
 .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;  
    }  
 

/*code for first 2 tables using grid*/

.form-container1 {

 display:flex;
   
}

.grid-wrapper1 {
    display: grid;
    grid-template-columns: 3fr 1fr; 
   
    gap:20px;
}

/* Main Section Styling */
.main-section {
    display: flex;
    flex-direction: column;
    border: 1px solid black;
}

/* Grid Header */
.grid-header {
    display: grid;
    grid-template-columns: 30% 30% 40%;
    
}

.header-item {
    padding: 5px;
    padding-bottom: 40px;
    
    border-top: none;
    border-bottom: 1px solid black;
    border-inline-start: 1px solid black; /* Instead of border-left */
}

/* Ensure borders do not overlap */
.grid-header .header-item:last-child {
    border-inline-end: none; /* Remove right border in LTR, left border in RTL */
}

.grid-header .header-item:first-child {
    border-inline-start: none; /* Remove left border in LTR, right border in RTL */
}

/* Question Section */
.question-section {
    margin-left: 55px;
    padding-top: 5px;
    text-align: left;
    margin-right:60px;
    padding-bottom:10px;
}

/* EDD Use Section */
.edd-use {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    border: 1px solid black;
}

.edd-header {
    padding: 10px;
    border-bottom: 1px solid black;
    padding-top: 5px;
}
.edd-content {
    padding: 10px;
}
.blank-line1 {
    padding: 10px;
    margin: 10px;
    border-top: 1px solid black;
}


.divTableRow{
    display: table-row;
}
.divTableCell1{
    display: table-cell;
    width: 5%;
    padding-bottom: 10px;
}
.divTableCell2{
    display: table-cell;
    width: 72%;
    padding-left:10px;
    padding-bottom:10px;
}
.divTableCell3{
    display: table-cell;
    width: 25%;
    padding-left: 30px;
  
}
.divTableCell4{
    display: table-cell;
    width: 25%;
    padding-left: 30px;
  
}

.divTableCelllist{
    display: inline-block;
    width: 78%;
    padding-left: 40px;
    padding-bottom: 10px;
    margin-top: -22px;
    margin-right: 25px;
}
.divTableCelllist1{
       display: table-cell;
    width: 58%;
    padding-left: 30px;
    /* vertical-align: middle; */
    margin-right: 30px;
}


.dline {
    width: 85%;
    display: inline-block;
    border-bottom: 1.5px solid #000;
    height: 18px;
}





ol.custom-list {
    list-style: none;
 
}

ol.custom-list li {
    counter-increment: list-counter;
   
    margin-left: -15px;
}

ol.custom-list li::before {
    content: "(" counter(list-counter, lower-alpha) ") ";
  
}



ol.clist {
    list-style: none;
 
}

ol.clist li {
    counter-increment: list-counter;
   
    margin-left: -15px;
}

ol.clist li::before {
    content: "(" counter(list-counter) ") ";
  
}


.bline2 {
    flex-grow: 1;
    border-bottom: 1.5px solid #000;
    height: 20px;    margin-left: 5px;
}


.bline1 {
    flex-grow: 1;
    border-bottom: 1.5px solid #000;
    height: 20px;    margin-left: 5px;margin-right:10px;
}
.form-fieldE{
    display: inline-flex;
    margin-bottom: 10px;
    width: 100%;
 
}

.form-field{
    display: inline-flex;
    margin-bottom: 10px;
    width: 88%;
    padding-left:15px;
}
.form-fieldq{
    display: inline-flex;
    margin-bottom: 10px;
    width: 80%;
   
}

.border-line{
    display: inline-block;
    width:100%;
    border-top: 2px solid #000;
}
.form-fields{
    display: inline-flex;
    margin-bottom: 10px;
    width: 90%;
    padding-left:15px;
   
}
.form-fieldl{
    display: inline-flex;
    margin-bottom: 10px;
    width: 86.5%;
    padding-left:15px;
   
}
.form-fieldr{
    display: inline-flex;
    margin-bottom: 10px;
    width: 100%;
   
}




  ol,li{
    margin-right:20px;
  }
.OneTable{padding-left:9%;
padding-right:10%;}
.OneTable1{
    padding-right:1.5%;
    width:100%;
}
    

  .DeclareTable{ display: table;
    width: 100%;
    border-collapse: collapse;
    }


.divTableCellD1 {
            display: table-cell;
            padding: 10px;
            text-align: center;
            width: 38%;
        }  
.divTableCellD3 {
            display: table-cell;
           width: 73%;
            /*padding-left:100px;*/
            padding-bottom:10px;
            
        }
        .divTableCellD31 {
            display: table-cell;
           width: 46%;
            /*padding-left:100px;*/
            padding-bottom:10px;
            
        }
        .signature-x {
          
            font-weight: bold;
            margin-right: 10px;
        }
 .form-fieldW .halflineW {
            border-bottom: 1.5px solid black;
            width: 98.5%;
            margin-bottom: 5px;
            display: inline-block;
        }
        .form-fieldW .halflineWq {
            border-bottom: 1.5px solid black;
            width: 98.5%;
            margin-bottom: -6px;
            display: inline-block;
            height: 10px;
        }
        .declarant-signature{
            text-align: left;
            padding-bottom: 10px;
            margin-left: 10px;
            overflow-wrap: anywhere;
            }
.date{text-align: left;}

.form-fieldW .row-fields {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
/* Text alignment for Address, City, Zip Code */
.row-fields .noto_fonts {
    
    flex: 1;
}


.certification-container1 {
    display: flex;
    align-items: flex-start; /* Aligns the text properly */
    
    max-width: 100%; /* Ensures responsiveness */
}

.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-right: 10px; /* Space between label and text */
    flex: 0 0 auto; /* Prevents shrinking */
}
.tex1 {
    flex: 1; /* Ensures the text takes up remaining space */
    min-width: 0; /* Fixes overflow issues */
    padding-right: 5px;
}
.label2 {
    font-weight: bold;
    white-space: nowrap; /* Prevents wrapping */
    margin-right: 10px; /* Space between label and text */
    flex: 0 0 auto; /* Prevents shrinking */
    width:7.5%;
}

.linewrap{
    width:100%;
    display: flex;
    justify-content: space-around;
}
.linewrap2{
    width:100%;
    display: flex;
    flex-wrap: wrap;
}
.sline1{
    border-bottom: 1.5px solid #000;
    /* height: 20px; */
    margin-left: 37px;
    margin-right: 10px;
    width: 89%;
    margin-bottom: 10px;
}


:lang(ar).Alignment,
:lang(fa).Alignment{
    vertical-align: baseline;
}




@media only screen and (max-width: 768px)
 {
    .header_container {
    flex-direction: column;
    justify-content: center;
    align-items: center !important;
}
.divTableCell4{margin-bottom:10px;}
.grid-wrapper1{
    display: block;
}
 .main-section{
    margin-bottom:20px;
 }
.divTableCell2,.divTableCelllist{
    display: block;
    width:105%;
    
}
.form-fieldE{        margin-top: 15px;
    display: block;
    width: 83%;
}
.divTableCell3{
    display: block;
    width:100%;
    padding-left:10px;
}
.divTableCelllist1
{
    display: block;
    width:100%;
    padding-left:40px;
}
.certification-container1{
    display: block;
}
.form-field{
    display: inline-block;
    vertical-align: top;
    padding-left: 15px;
    /* margin-left: 5px; */
    width: 80%;
}
.form-fields,.form-fieldl{
    display: inline;
}

.divTableCellD3{width: 60%; padding-left:0;}


.form-fields {
    flex-direction: column;
    align-items: flex-start;
}
.linewrap {
    width: 79%;
    display: inline-flex;
    padding-left: 10px;
    margin-top:10px;
    align-items: end;
}
.linewrap2 {
    display: inline-flex;
        width: 100%;
        margin-top: 10px;
        padding-left: 48px;
        align-items: end;
        flex-wrap: wrap;
}
.bline2, .bline1 {
    width: 100%;
    margin-left:0;
}
.sline1{ margin-left:47px;
    padding-right: 16px;
    margin-top: 10px;}
    .date1{
        flex-wrap:wrap;
        white-space: nowrap;
    }
    .form-fieldq{
        padding-left:0;
        margin-left:0;
        width:100%;
        flex-wrap:wrap;
    }
    .OneTable1 {
        padding-right: 11.5%;
        width: 100%;
        padding-left: 5%;
    }
    .halflineWq{
     max-width: 110%;
  
   }
.line{width:50%;}
   .label2 {margin-bottom:20px;
    margin-top: 15px;}
 }

 /* 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) 
 
 {
      
      .form-fieldE {      
          margin-top: 15px;
          display: block;
          width: 83%;
      }

      .sline1 {
          width: 96%; /* Missing semicolon added */
      }

      .form-fieldE {
          margin-top: 15px;
          display: block;
          width: 77.5%;
          padding-left: 40px;
      }

      .OneTable1 {
          padding-right: 5.5%;
          width: 100%;
          padding-left: 5%;
      }
  }
