.form-field {
    display: flex;
    align-items: center; /* Keep everything aligned */
    gap: 5px;
    flex-wrap: nowrap;
    padding-bottom: 25px;
}

.line-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.line1x,
.line2 {
    border-bottom: 1.5px solid #000;
    width: 269px; /* Extended width */
    height: 1.5px;
}
.form-row {
    display: flex
;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;

}

.work-start-line

 {
    border-bottom: 1.5px solid #000;
    width: 355px; /* Extended width */
    height: 1.5px;
}
.translatable {
    unicode-bidi: normal;
  }
  
.line2
 {
    border-bottom: 1.5px solid #000;
    width: 270px; /* Extended width */
    height: 1.5px;
}
.city-underline {
    border-bottom: 1.5px solid #000;
    width: 270px;
    height: 1.5px;
}
.placeholder {
    display: flex;
    justify-content: space-around;
    width: 60%;

    margin-top: 2px;
}

.move-up {
    position: relative;
    top: -5px; /* Move text slightly up */
}
.Cali,.Execute,.At{
    margin-bottom:36px;
    white-space: wrap;
}
@media only screen and (max-width: 768px) {
.line1x,
.line2 {
    border-bottom: 1.5px solid #000;
    width: 175px; /* Extended width */
    height: 1.5px;
    white-space: nowrap;
}
.work-start-line {
    border-bottom: 1.5px solid #000;
    width: 260px !important;
    height: 1.5px;
}
.grid-executed {
    display: contents !important;
    grid-template-columns: auto 1fr auto 1fr auto;
    align-items: center;
    gap: 10px;
    margin-top: -15px;
}
.line1x,
.city-underline {
    border-bottom: 1.5px solid #000;
    width: 175px; /* Extended width */
    height: 1.5px;
    white-space: nowrap;
}
.phonenumbers {
    margin-top: 10px;
    width: 90% !important;
}
.legendsstyle {
    padding-top: 15px;
    padding-left: 2px;
}
.form-field {
    display: flex
;
    align-items: center;
    gap: 5px;
    flex-wrap: nowrap !important;
    padding-bottom: 25px;
}
.table-container {
    display: flex;
    flex-direction: column;
    width: 100%;

    table-layout: auto;
}
.income-table {
    width: 186% !important;
    border-collapse: collapse;
    margin-top: -14px;
    margin-bottom: 4px;
    margin: 20px auto;
    text-align: center;
}
.table-row1 {
    display: flex
;
    width: 185% !important;
}
.Declare{
    width: 186% !important;
}
.table-cell1 {
    flex: 1;
    padding: 4px;
    font-weight: bold;
    white-space: nowrap;
    padding-bottom: 40px;
    min-width: 240px;
    max-width: 300px;
}
.table-cell2 {
    flex: 1;
    padding: 4px;
    font-weight: bold;
    padding-bottom: 40px;
    margin-left: 25px;
    min-width: 192px;
    max-width: 300px;
}
.table-cell3 {
    flex: 1;
    padding: 4px;
    font-weight: bold;
    white-space: nowrap;
    padding-bottom: 40px;
    min-width: 100px;
    max-width: 200px;
}
.table-cell4 {
    flex: 1;
    padding: 4px;
    font-weight: bold;
    padding-bottom: 40px;
 
}

.section1 {
    display: flex
;
    flex-direction: column;
    width: 35%;
    white-space: nowrap;
    padding-top: 15px;
}
.sig-line {
    display: contents !important;

    margin-top: 5px;
}
.container1 {
    display: contents !important;
    justify-content: space-between;
    column-gap: 30px !important;
}

.section2 {
    display: flex
;
    flex-direction: column;
    width: 100% !important;
    white-space: nowrap;
}
.section1 {
    display: flex
;
    flex-direction: column;
    width: 100% !important;
    white-space: nowrap;
}
.placeholder {
    display: flex
;
    justify-content: space-around;
    width: 100%;
    margin-left: -107px;
    margin-right: -80px;
    margin-top: 2px;
    gap: 16px;
    padding-bottom: 15px !important;
}
}

  /* Media Query for iPad Mini */
  @media only screen 
  and (min-width: 768px) 
  and (max-width: 768px) 
  and (min-height: 1024px) 
  and (max-height: 1024px)
  {
 .line2 {
        border-bottom: 1.5px solid #000;
        width: 410px !important;
        height: 1.5px;
        white-space: nowrap;
    }
    
    .line1x {
        border-bottom: 1.5px solid #000;
        width: 310px !important;
        height: 1.5px;
        white-space: nowrap;
    }
    .work-start-line {
        border-bottom: 1.5px solid #000;
        width: 413px !important;
        height: 1.5px;
    }
    .phonenumbers {
        margin-top: 10px;
        width: 45% !important;
    }
    .table-row1 {
        display: flex
;
        width: 135% !important;
    
    }
    .Declare {
        width: 135% !important;
    }
    .income-table {
        width: 135% !important;
        border-collapse: collapse;
        margin-top: -14px;
        margin-bottom: 4px;
        margin: 20px auto;
        text-align: center;
    }
    .blank-line4 {
        display: inline-block;
        border-bottom: 1px solid black;
        width: 230% !important;
        margin-left: 5px;
    }
    .section2 {
        display: flex
    ;
        flex-direction: column;
        width: 100% !important;
        white-space: nowrap;
    }
    .section1 {
        display: flex
    ;
        flex-direction: column;
        width: 100% !important;
        white-space: nowrap;
    }
  }
  .table-container {
    display: flex;
    flex-direction: column;
    width: 100%;


    table-layout: auto;
}
.statement{padding-bottom:15px;}
.table-row {
    display: flex;
    width: 100%;
    border-top: 1px solid black;
}



.table-row:last-child {
    border-bottom: none;
}

.table-cell1 {
    flex: 1;
    padding: 4px;
    font-weight: normal;
white-space: nowrap;
    padding-bottom: 15px; /* Adds space below text */
    min-width: 240px;
    max-width: 300px;
}
.table-cell2 {
    flex: 1;
    padding: 4px;
    font-weight: normal;

    padding-bottom: 15px; /* Adds space below text */
    margin-left:25px;
}
.table-cell3 {
    flex: 1;
    padding: 4px;
    font-weight: normal;
white-space: nowrap;
    padding-bottom: 5px; /* Adds space below text */
    min-width: 100px;
    max-width: 200px;
}
.table-cell4 {
    flex: 1;
    padding: 4px;
    font-weight: normal;

    padding-bottom:15px; /* Adds space below text */
}
.table-cell5 {
    flex: 1;
    padding: 4px;
    font-weight: bold;

    padding-bottom:15px; /* Adds space below text */
 
}

.table-cell:last-child {
    border-right: none;
}

.blanklinecallout {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}





.container1 {
    display: flex;
    justify-content: space-between; /* Push sections apart */
   column-gap:30px !important;
}


.section1 {
    display: flex;
    flex-direction: column;
    width: 35%; /* Make sure both sections take equal space */
    white-space:nowrap;
}

.section2 {
    display: flex;
    flex-direction: column;
    width: 45%; /* Make sure both sections take equal space */
    white-space:nowrap;
}
.signature {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

.signature1 {
    display: flex;
    flex-direction: column;
    margin-top: 11px;
}
.sig-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 5px;
}

.sig-line span {
    white-space: nowrap;
}

.line {
    flex-grow: 1;
    border-bottom: 1px solid black;
    margin-left: 10px;
}


#form-element-wrapper_2{
    display: none;
}




.grid-form {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    padding-bottom:45px;
  }
  
  .line-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .work-start-line {
    border-bottom: 1px solid black;
    height: 50px;
  }
  
  .placeholder {
    
    text-align: center;
    margin-top: 2px;
    white-space: nowrap;;
  }
  
  .start-text,
  .middle-text {
    white-space: nowrap;
  }
  

  .grid-executed {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto;
    align-items: center;
    gap: 10px;
    margin-top: -15px;
  }
  
.underline {
    border-bottom: 1px solid black;
    height: 45px;
    width: 100%;
  }
  

/* Hide Submit Button */
.form-submit-button {
    display: none !important;
}
 

    
#form-element-wrapper_387{
    visibility: hidden !important;
  }

/* Hide Print Button */
#print-preview {
    display: none !important;
}

/* TO CONTROL SCREEN SCROLL*/
.form-section, .form-item {
    display: block;
    overflow: hidden;
    padding-left: inherit;
    padding-bottom: 16px;
}

/* Hiding extra space at footer

#form-element-wrapper_18{ display:none;}*/

/* ----------------- */
.header_container {
    display: flex
;
    justify-content: space-between;
    column-gap: 30px !important;
}
.divTableRow {
    display: table-row;
}
.divTableCellN {
    display: table-cell;
    padding-top: 6px;
    padding-right: 3px;
   

}
.legendsstyle {
    padding-left: 9px;
}
.phonenumbers {
    width: 41% ;
}
.blank-line1 {
    display: inline-block;
    border-bottom: 1px solid black;
    width: 220px;
}
.blanklinecallout {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.divTableCellP {
    display: table-cell;
    text-align: center;
    width: 18%;
  

}


#form-element-wrapper_2{
    display: none;
}

/*--------------------------For declaration Style----------------------------*/
.divTableRowW {
    display: table-row;
}
.divTableCellW {
    display: table-cell;
    text-align: center;
    width: 18%;
    padding-bottom: 15px;
    white-space: nowrap;

}
.form-fieldW .halflineW {
    border-bottom: 1.5px solid black;
    width: 100%;
    margin-bottom: -6px;
    display: inline-block;
}
.form-fieldW div {
    text-align: left;
    margin-top: 1px;
}
.form-fieldP .halflineP {
    border-bottom: 1px solid black;
    width: 200%;
   
    display: inline-block;
}
.halflineM {
    border-bottom: 1.5px solid black;
    width: 371%;
    margin-bottom: 10px;
    display: inline-block;
}
.divTableCellM {
    display: table-cell;
    text-align: center;
    width: 25%;
    padding-top: 10px;

}
/*
.date {
    padding-bottom:10px;
}*/
.header-section {
    display: grid
;
    grid-template-columns: 54% 45%;
    gap: 0.5rem;
    border-bottom: 1px solid black;
    border-top: double 4px #000;
    text-align: left;
}
.divTableCell {
    display: table-cell;
    padding: 3px 10px;
    width: 55%;
    white-space: nowrap;
}

.divTableCell10 {
    display: table-cell;
    padding: 3px;
    padding-top: 6px;
    width: 65%;
padding-bottom:10px;
    white-space: nowrap;
}
.address-section1 {
    display: grid;
    grid-template-columns:13% 19% 13% 14% 5% 16%  13%;
    gap: 0px;
    align-items: center;
 white-space: nowrap;
}
.form-fieldL {
    text-align: center;
    margin-top: 1px;
}
.divTableCellO, .divTableCellA, .divTableCellQ, .divTableCellCity 
{ text-align: center; 
 }
 .divTableCellCity 
 { padding-left: 10px; min-width: 100px; text-align: left;
 }

 .City-line .divTableCellQ 
 { min-width: 220px; 
    width: 100%; 
}

    .AT
     { text-align: center; min-width: 50px;
     }
     .year-line .divTableCellQ 
     { 
    min-width: 180px;  width: 100%;
    
     }
.City-line,.year-line{
    display: flex;
    align-items: center;
}
.halflineO {
    border-bottom: 1.5px solid black;
    width: 104%;
    margin-bottom: -3px;
    display: inline-block;
    height: 35px;
}
.DeclareTable {
    display: table;
    width: 100%;
    border-collapse: collapse;
}
.mailDate {
    width:35%;
}


.divTableCellD1 {
    display: table-cell;
    padding: 0px;
    text-align: center;
    width: 30%;
}
.form-fieldO .halflineP {
    border-bottom: 1.5px solid black;
    width: 100%;
    margin-bottom: 5px;
    display: inline-block;
    /* margin-left: -11%; */
    padding-top:15px;
}
.divTableCellD3 {
    display: table-cell;
    padding: 10px;
    text-align: center;
    width: 35%;
    padding-left: 100px;
}

.header-section1 {
    display: grid
;
    grid-template-columns: 54% 45%;
    gap: 0.5rem;
    border-bottom: double 4px #000;
    border-top: double 4px #000;
    text-align: left;
}
.DeclareTable1 {
    display: flex;
    align-items: center;
    
  }
  .table-container {
    width: 100%;
}
.income-table th {
    text-align: center;
    padding: 0px 10px 20px 10px;
    vertical-align: bottom;
    width: 25%;
    padding-bottom: 0;
    font-weight: normal;
    position: relative;
    text-align: center;
}
.nextline {
    border-bottom: 1px solid black;
    width: 85%;
    display: inline-block;
    height: 10px;
    padding-top: 15px;
    padding-bottom: 10px;
}
.income-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: -14px;
    margin-bottom: 4px;
    margin: 20px auto;
    text-align: center;
}
  .DeclareTable1 .label1 {
    white-space: nowrap;
  }

  .DeclareTable1 .line1 {
    flex-grow: 1;
    border-bottom: 1px solid black;
    margin-left: 5px;
    padding-top:20px;
  }
  .OfficeUse {
    float: right;
    margin-top: -5px;
    padding-right: 100px;
    width:23%;
    white-space: nowrap;
}
.Signature{
    margin-left:-57%;
}
.Signature1{
    margin-left:-82%;
}
.divTableCellA {
    display: table-cell;
    text-align: center;
    width: 100%;
    /* padding-top: 10px; */
}
.divTableCellB {
    display: table-cell;
    padding-top: 6px;
    padding-right: 3px;
    white-space: nowrap;
}
.blank-line2 {
    display: inline-block;
    border-bottom: 1px solid black;
    width: 258px;
    margin-left:5px;
}
.blank-line3 {
    display: inline-block;
    border-bottom: 1px solid black;
    width: 340px;
}
.blank-line4 {
    display: inline-block;
    border-bottom: 1px solid black;
    width: 352px;
    margin-left:5px;
}

.declaration{
    padding-bottom:15px;
    
}
@media only screen and (max-width: 768px) {
    
    .header_container {
        flex-direction: column;
        justify-content: center;
        align-items: center !important;
    }
    .form-fieldP .halflineP {
        border-bottom: 1px solid black;
        width: 300%;
        display: inline-block;
    }
    .Signature{
        margin-left:0%;
    }
    .table-container {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
  
    /*
    .halflineO {
        border-bottom: 1.5px solid black;
        width: 106%;
        margin-bottom: -3px;
        display: inline-block;
        height: 35px;
    }*/
 
    .form-fieldL {
        text-align: left;
        margin-top: 1px;
    }
    .divTableCellP {
        display: contents;
        text-align: center;
        width: 18%;
        padding-top: 10px;
    }
    .blank-line1 {
        display: inline-block;
        border-bottom: 1px solid black;
        width: 165px;
    }
 
    .mailDate1 {
        width: 92%;
    }
    .Signature1 {
        margin-left: 0;
        text-align: left;
    }

    .header-section {
        display: block;
    }
    .divTableCell {
        display: table-cell;
        padding: 3px;
        padding-top: 6px;
        width: 145%;
        padding-bottom: 15px;
    }
    .DeclareTable1 .label1 {
        white-space: normal;
    }
    .divTableCell {
        display: table-cell;
        padding: 3px;
        padding-top: 6px;
        width: 65%;
        padding-bottom: 5px;
        white-space: nowrap;
    }
    .OfficeUse {
        float: right;
        /* margin-top: -5px; */
        padding-right: 100px;
        width: 71%;
        padding-top: 10px;
    }
    .mailDate {
        width:100%;
    }
    .divTableCellB {
        display: block;
        padding-top: 6px;
        padding-right: 3px;
        padding-bottom:10px;
    }
    .blank-line2 {
        display: inline-block;
        border-bottom: 1px solid black;
        width: 365px;
    }
    .DeclareTable1 {
        display: grid
    ;
        align-items: center;
    }
    .divTableCellD1 {
        display: table-cell;
        /* padding: 1px; */
        text-align: center;
        width: 30%;
        padding-bottom: 15px;
    }
 .table-container{
    overflow-x: scroll;
 }
 .address-section1 {
    display: grid
;
    grid-template-columns: 1fr;
    gap: -0.5rem;
    align-items: right;
    padding: 0px;
    padding-top: 0px;
    white-space: nowrap;
}
.halflineO {
    border-bottom: 1.5px solid black;
    width: 100%;
    margin-bottom: -3px;
    display: inline-block;
    height: 35px;
}
.divTableCellA {
    display: table-cell;
    text-align: left;
    width: 100%;
    /* padding-top: 10px; */
}   
 .year-line,.City-line {
    display: flex;
    
    width: 100%;
    gap: 5px;
    align-items: center;
}
.Address{
    margin-top:5px;
}
.divTableCellC {
    display: table-cell;
    text-align: right;
    width: 57%;
    /* padding-top: 10px; */
}
.divTableCellQ {
    width:100%;
}

    .table-container{
        overflow-x: auto;
    }
    .declaration{
        padding-top:10px;
      
        
    }
    .divTableCellD3 {
        display: table-cell;
        padding: 10px;
        text-align: center;
        width: 35%;
        padding-left: 30px;
    }
   


    .halflineO {
        display: inline-block; /* Ensures it stays inline */
        white-space: nowrap; /* Prevents wrapping */
    }
    
    
    
}



  /* Media Query for iPad Mini */
  @media only screen 
  and (min-width: 768px) 
  and (max-width: 768px) 
  and (min-height: 1024px) 
  and (max-height: 1024px)
  {

  
    .header_container {
        flex-direction: column;
        justify-content: center;
        align-items: center !important;
    }
    
    .mailDate1 {
        width: 47%;
    }
    .mailDate {
        width: 50%;
    }
    
    .form-fieldP .halflineP {
        border-bottom: 1px solid black;
        width: 710px;
        display: inline-block;
    }
    .address-section1 {
        display: grid
;
        grid-template-columns: 14% 8% 9% 15% 10% 17% 22%;
        gap: 0.5rem;
        align-items: center;
        padding: 0px;
        padding-top: 0px;
        white-space: nowrap;
    }
    .declaration {
        padding-top: 10px;
     
    }
    
    .OfficeUse {
        float: right;
        /* margin-top: -5px; */
        padding-right: 100px;
        width: 40%;
        padding-top: 15px;
    }
    
    .blank-line2 {
        display: inline-block;
        border-bottom: 1px solid black;
       
        width: 300% !important;
    }
    .blank-line3 {
        display: inline-block;
        border-bottom: 1px solid black;
        width: 354px;
    }
    .LeftLines,
     .mailDate 
    {
        margin-left: -25px;  
    }
    
    .form-fieldW .halflineW {
        border-bottom: 1.5px solid black;
        width: 400px;
        /* margin-bottom: -3px; */
        display: inline-block;
        padding-top: 13px;
    }
    
    .Signature {
        text-align: left;
    }
    
    .Signature1 {
        margin-left: 0%;
        text-align: left;
    }
 
  
}
.Table {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    margin-top: 40px;
}

.form-field1 {
    display: flex
;
    flex-direction: column;
    border-top: 1px solid black;
    width: 112%;
   
    white-space: nowrap;
}
.blanklinecallout {
    display: inline-block;
    margin-left: 5px;
    font-style: italic;
}
.halfline {
    height: 10px;
}
/*--------------------------------------------------------*/

.placeholder1 {
    display: flex;
    justify-content: center;
    width: 100%;

    margin-top: 2px;
}

.form-field {
    display: flex;
    align-items: center; /* Keep everything aligned */
    gap: 5px;
    flex-wrap: wrap;
}

.line-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.line1x,
.line2 {
    border-bottom: 1.5px solid #000;
    width: 269px; /* Extended width */
    height: 1.5px;
}

.placeholder {
    display: flex;
    justify-content: space-around;
    width: 100%;
margin-left:-107px;
margin-right:-80px;
    margin-top: 2px;
    gap:16px;
}

.move-up {
    position: relative;
    top: -5px; /* Move text slightly up */
}
.Cali,.Execute,.At{
    margin-bottom:36px;
    white-space: nowrap;
}
@media only screen and (max-width: 768px) {
.line1x,
.line2 {
    border-bottom: 1.5px solid #000;
    width: 175px; /* Extended width */
    height: 1.5px;
    white-space: nowrap;
}
}

  /* Media Query for iPad Mini */
  @media only screen 
  and (min-width: 768px) 
  and (max-width: 768px) 
  and (min-height: 1024px) 
  and (max-height: 1024px)
  {
    .line1x, .line2 {
        border-bottom: 1.5px solid #000;
        width: 200px;
        height: 1.5px;
        white-space: nowrap;
    }
  }
