/* 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;
}

       .divTableRowAddress {
    display: table-row;
}

.divTableCellAddress {
    display: table-cell;
}

   .moveLeft{
        margin-inline-start:20px;
       }
       .addressBlock{
        margin-inline-start:23%;
        margin-top:30px;
       }

  .blank-line {
       display: inline-block;
    border-bottom: 2px solid black;
    width: 40px;
   
    height:11px;
    margin-inline-start: 10px;
       }
  /* Mail Date first Section alignment fix */
  
  .mailDateX {
    position: relative; 
    margin-top: 5px; 
    margin-inline-end: 30px;
  }
   .divTableRow {
    display: table-row;
  }
  
  .divTableCellNX {
    display: table-cell;
    padding-top: 6px;
    padding-right: 3px;
    width:65%;
    text-align: end !important;
    vertical-align: bottom;
    padding-bottom: 5px;
  }  
  :lang(ar) .divTableCellNX,    
  :lang(fa) .divTableCellNX {
     display: table-cell;
    padding-top: 6px;
    padding-right: 3px;
    width:65%;
    text-align: end !important;
    vertical-align: baseline;
    padding-bottom: 5px;
    white-space: nowrap;
  }
  
  .blank-line1X {
    display: inline-block;
    border-bottom: 1px solid black;
    width: 125px;
    padding-left: 2px;
    padding-right: 2px;
      height: 17px;

  }

  .grey-box { 
    margin-inline-start: 7%;
       background-color: #e5e5e5;
    width: 400px;
    height: 120px;

} 
  .line1X {
    display: inline-block;
    border-bottom: 1px solid black;
    width: 125px;
    margin-inline-start: 5px;
    margin-inline-end: 2px;
    height: 17px;
    
  }
.AddressLine{
   display: flex;
    flex-grow: 7;
    border-bottom: 1px solid black;
    width: 125px;
    margin-inline-start: 5px;
    /* padding-right: 2px; */
    height: 22px;
    margin-bottom: 10px;
}
.ListStyle{
    font-weight:bold;
    margin-top:10px;
    margin-inline-start:-7px;
}
.FirstSection{
margin-top:10px;
margin-bottom:15px;
}
.form-field{
    display: flex;
    align-items: center;width:200%;
}
.ALine1{
     display: flex;
    flex-grow: 1;
    border-bottom: 1px solid black;
    width: 10px;
    margin-inline-start: 5px;
    margin-inline-end: 5px;
    height: 22px;
    margin-bottom: 10px;
}
.Adjust{
    margin-inline-start:30px;
}
.form-field1{
    display: flex;
    align-items: center;width:175%;
}


.address-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px; /* space between columns */
    padding-top: 15px;
    padding-bottom: 10px;
  }

  /* Inner form section for each address */
  .address-block {
    display: grid;
    grid-template-rows: repeat(3, auto);
    gap: 15px;
  }
 :lang(ar).address-block,
 :lang(fa).address-block { display: grid;
    grid-template-rows: repeat(3, auto);
    gap: 5px;}
  /* Each label-line pair */
  .address-line {
    display: flex;
    align-items: baseline;
    font-weight:normal;
    white-space:nowrap;
  }
  /*:lang(hy).address-line,:lang(th).address-line{
     display: flex;
    grid-template-columns: 127px 1fr;
    align-items: center;
    font-weight:normal;
  }
 :lang(ar).address-line,:lang(vi).address-line{
     display: grid;
    grid-template-columns: 100px 1fr;
    align-items: center;
    font-weight:normal;
  }
   :lang(ru).address-line{
     display: grid;
    grid-template-columns: 142px 1fr;
    align-items: center;
    font-weight:normal;
  }*/
  /* Line styling (underline effect) */
  .line {
    border-bottom: 1px solid black;
    height: 16px;
    width: 100%;
    margin-inline-start: 5px;
  }

/*For Declaration table*/

.divTableW {
    display: table;
    width: 100%;
    border-collapse: collapse;
    /* Mimics table border collapse */
}

.divTableRowW {
    display: table-row;
}

.divTableCellW {
    display: table-cell;
    padding-inline-end: 35px;
    text-align: center !important;
    width: 5%;
    padding-top: 25px;
    padding-bottom: 0px;
}
.divTableCellW2 {
    display: table-cell;
    padding-inline-end: 10px;
    text-align: center !important;
    width: 2%;
    padding-top: 25px;
    padding-bottom: 0px;
}

.form-fieldW .halflineW {
    border-bottom: 1.5px solid black;
    /* Corrected the spacing in the border property */
    width: 100%;
    /* Ensures the line spans the full width of the cell */
    margin-bottom: -3px;
    /* Adds space below the line */
    display: inline-block;
}

.form-fieldW div {
    text-align: center !important;
    margin-top: 1px;
    /* Adds space between the line and the text */
}

.LeftSec{
   width:50%;
}
.RightSec {
 
width:50%;
}
 
 
.two-col-list {
  display: flex;
  gap: 2rem;
}

.SetWidth{
    width:50%;
}
.divTableRow {
    display: table-row;
}

.divTableCell {
    display: table-cell;
    width:55%;
   padding-inline-end: 3px;
    padding-bottom: 3px;
    vertical-align: bottom;
    padding-top: 3px;
}
:lang(ar) .divTableCell,
:lang(fa) .divTableCell {
      display: table-cell;
    width:55%;
   padding-inline-end: 3px;
    padding-bottom: 3px;
    vertical-align: baseline;
    padding-top: 3px;
}

.L1left{
    width:60%;
}


.two-column-list {
  columns: 2;                /* Split list into two columns */
  -webkit-columns: 2;        /* Safari support */
  -moz-columns: 2;           /* Firefox support */
  column-gap: 10%;          /* Space between columns */

}

.two-column-list li {
  break-inside: avoid;       /* Prevent awkward splitting of list items */
  margin-bottom: 4px;        /* Optional spacing between items */
}



.Adjustq{
    margin-inline-start:50px;
}
       
li{
    margin-bottom:3px;
}
@media only screen and (max-width: 768px)
 {
   
    .header_container {
      flex-direction: column;
        justify-content: center;
        align-items: center !important;
    }
  .MakeList{
    padding-bottom: 0px !important;
  }

  .UniquePhoneTable {
    flex-direction: column;
    gap: 0.5rem;
  }
  .left-col div, .right-col div {
    justify-content: flex-start;
  }
  .left-col span:first-child, .right-col span:first-child {
    width: 8em; /* keeps language labels aligned */
    display: inline-block;
  }
/* --------------------------------------------- */
    .divTableCellAddress {
        display: block;
    }
    .addressBlock{margin-inline-start: 13%;}
    .moveLeft{margin-inline-start:0px;}
    .grey-box{margin-bottom: 30px;}
.address-container{
    display:block;
}
.moveDown{
    margin-bottom:30px;
}
.SetWidth{
    width:100%;

}
.two-column-list {
                 columns: 1;                
  -webkit-columns: 1;      
           

}
.two-col-list {
  display: block;
}
 


.divTableCellW{
    padding-inline-end: 10px;
}

    
.L1left, .L1right {
    float: none; /* Remove float */
    width: 100%; /* Adjust width as needed */
    margin: 0 auto; /* Center both divs */
    display: block; 

}
.divTableCell {
display: table-cell;
        width: 65% !important;
        padding: 3px;
        vertical-align: bottom;
        overflow-wrap: anywhere;
}


 
}

@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) 

{
    .header_container {
        flex-direction: column;
        justify-content: center;
        align-items: center !important;
    }
   .addressBlock{margin-inline-start: 32%;}
     .divTableCellNX {
  
    width:72%;
    
  } 

    .line1X {
    display: inline-block;
    border-bottom: 1px solid black;
    width: 110px;
    margin-inline-start: 5px;
    margin-inline-end: 2px;
    height: 17px;
    
  }
  :lang(ja)  .line1X,
  :lang(ko)  .line1X,
  :lang(th)  .line1X {
    display: inline-block;
    border-bottom: 1px solid black;
    width:90px;
    margin-inline-start: 5px;
    margin-inline-end: 2px;
    height: 17px;
    
  }
     .divTableCell {
      display: table-cell;
        width: 19.5%;
        white-space: nowrap;
        padding: 4px;
        padding-inline-start:0px;
    }
        .L1left, .L1right {
        float: none;
        width: 100%;
    }
    :lang(hy) .divTableCell{
      width: 27.4%;
        padding: 3px;
        vertical-align: bottom;
        overflow-wrap: anywhere;
}
:lang(ar) .divTableCell{
      width: 17.6%;
        padding: 3px;
        vertical-align: baseline;
        overflow-wrap: anywhere;
}
:lang(fa) .divTableCell{
      width: 20%;
        padding: 3px;
        vertical-align: baseline;
        overflow-wrap: anywhere;
}
:lang(pa) .divTableCell{
      width: 19.9%;
        padding: 3px;
        vertical-align: bottom;
        overflow-wrap: anywhere;
}
:lang(zh-CN) .divTableCell{
      width: 15%;
        padding: 3px;
        vertical-align: bottom;
        overflow-wrap: anywhere;
}
:lang(zh-TW) .divTableCell{
      width: 18%;
        padding: 3px;
        vertical-align: bottom;
        overflow-wrap: anywhere;
}
:lang(ru) .divTableCell{
      width: 20%;
        padding: 3px;
        vertical-align: bottom;
      white-space: normal !important;
}
:lang(fil) .divTableCell{
      width: 16.9%;
        padding: 3px;
        vertical-align: bottom;
        white-space: normal !important;
        padding-inline-start:0px;
      
}


:lang(km) .divTableCell{
      width: 17%;
        padding: 3px;
        vertical-align: bottom;
        overflow-wrap: anywhere;
}
:lang(ja)    .divTableCell {
        display: table-cell;
        width: 16.9%;
        white-space: normal;
        padding: 5px;
        padding-inline-start:0px;
    }
    :lang(vi)    .divTableCell {
        display: table-cell;
        width: 20.5%;
        white-space: normal;
        padding: 5px;
        padding-inline-start:0px;
    }
    :lang(ko)    .divTableCell
     {
        display: table-cell;
        width: 18.8%;
        white-space: nowrap;
        padding: 5px;
        padding-inline-start:0px;
    }
    :lang(hi)    .divTableCell {
        display: table-cell;
        width: 18%;
        white-space: nowrap;
        padding: 5px;
        padding-inline-start:0px;
    }
}

 @media only screen 
  and (min-device-width: 820px) 
  and (max-device-width: 1180px)
  and (-webkit-min-device-pixel-ratio: 2) {
  /* iPad Air-specific tweaks */

.grey-box { 
    margin-inline-start: 2%;
     }
  }