/* Hide Submit Button */
.form-submit-button {
    display: none !important;
  }
  
  /* Hide Print Button */
  #print-preview {
    display: none !important;
  }
  /* Hiding Language dropdown*/
  
  #form-element-wrapper_5{
      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;
}
.divTableRowAddress {
    display: table-row;
}
.divTableCellAddress {
    display: table-cell;
}
.L1right {
    padding-inline-end: 45px;
    padding-top:0px;
}
.header_container2 {
    display: flex
;
}
.returnBlock {
    margin-inline-start: 195px;
}
.grey-box {
    margin-inline-start: 19%;
    background-color: #e5e5e5;
    width: 320px;
    height: 120px;
}
.grey-box1 {

    background-color: #e5e5e5;
    width: 320px;
    height: 120px;
}
:lang(ar).grey-box {
    margin-inline-start: 22%;
    background-color: #e5e5e5;
    width: 320px;
    height: 120px;
}
:lang(fa).grey-box  {
    margin-inline-start: 21%;
    background-color: #e5e5e5;
    width: 320px;
    height: 120px;
}
:lang(ja).grey-box {
    margin-inline-start: 34%;
    background-color: #e5e5e5;
    width: 320px;
    height: 120px;
}
:lang(zh-CN) .grey-box,
:lang(zh-TW).grey-box {
    margin-inline-start: 27%;
    background-color: #e5e5e5;
    width: 320px;
    height: 120px;
}
.blanklinecallout {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.divTableRow {
    display: table-row;
}
.divTableCellN {
    display: table-cell;
    padding-top: 6px;
    padding-right: 3px;
    align-content: end;
}
.blank-line1 {
    display: inline-block;
    border-bottom: 2px solid black;
    width: 220px;
    height: 17px;
}
.header_container {
    display: flex;
    justify-content: space-between;
    column-gap: 30px !important;
}

/*---------------------TABLE-----------------------------------------------------





.pdf-table {
    width: 100%;
    border-collapse: collapse;
}

/* Only horizontal rule between rows */
.pdf-table td {
    padding: 8px 4px;
    border-bottom: 1px solid black;
    vertical-align: top;
}

/* DOUBLE TOP LINES like PDF */
.double-line td {
    border-top: 4px double black;
}

/* SECOND ROW: ADDRESS ??? remove top line completely */
.no-top-border td {
    border-top: none !important;
    border-bottom: 4px double black !important;
}
/* Column widths */
.big-left { width: 75%;border-inline-start: none;
    border-inline-end: 1px solid black; }
.big-right { width: 25%; }

/* Checkbox styling */
.Checkboxsize {
    width: 14px;
    height: 14px;
    background-color: white;
    border-radius: 5%;
    border: 1px solid gray;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
}

.checkbox-row label {
    margin-right: 24px;
    display: contents;
    align-items: center;
}
.checklabel {
    margin-inline-start: 10px;
margin-inline-end:15px;
    margin-top: -2px;
}
:lang(ar).checklabel

 {
    margin-inline-start: 10px;
    margin-inline-end: 30px;
    margin-top: -2px;
}
:lang(Vi).checkbox-row {
    width: 25%;
}
:lang(fa).checklabel
{
    margin-inline-start: 10px;
    margin-inline-end: 0px;
    margin-top: -2px;
}
/* Underlines */
.underline-cell {
    padding-bottom: 25px;
}

.underline {
    border-bottom: 1px solid black;
    height: 15px;
}
:lang(ar).Ptext,
:lang(fa).Ptext {
    display: block;
    margin-top: -26px;
    margin-inline-start: 27px;
}
:lang(ar).Ftext,
:lang(fa).Ftext {
    display: block;
    margin-top: -26px;
    margin-inline-start: 19px;
}
.underline-wide  { width: 300px;margin-inline-start: 20px; }
.underline-med   { width: 250px !important;}
.underline-small { width: 120px; }

.placeholder {
    margin-top: 3px;
   
    white-space: nowrap;
    margin-inline-start: 20px;
}

/* Accessibility hidden text */
.blanklinecallout {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
/* --- ONLY ROW 7 WIDTH CONTROL --- */
.row7 .r7-label {
    width: 30%;   /* Adjust until it matches image */
}

.row7 .r7-individual {
    width: 30%;   /* Medium width cell */
}

.row7 .r7-corp {
    width: 40%;   /* Longest cell */
}

/* Keep them in same row layout */
.row7 td {
    white-space: nowrap;
}
.jtext{
    margin-inline-start:10px;

    display: block;
    margin-top: -21px;
    margin-inline-start: 25px;
}
:lang(ar).jtext,
:lang(fa).jtext

 {
    margin-inline-start: 10px;
    display: block;
    margin-top: -27px;
    margin-inline-start: 25px;
}
.jtext1{
    margin-inline-start:10px;

    display: block;
    margin-top: -21px;
    margin-inline-start: 35px;
}
:lang(ar).jtext1,
:lang(fa).jtext1

 {
    margin-inline-start: 10px;
    display: block;
    margin-top: -27px;
    margin-inline-start: 35px;
}
/*-----------------------------------------------------------*/

/* Table header */
.hdr td {
    border: 1px solid black;
    font-weight: bold;
    text-align: center;
    padding: 4px 0;
}

/* Column widths matching PDF */

/* Body rows */
.body-row td {
    border: 1px solid black;
    height: 28px;
}
.Mtext {
    display: block;

}
.Ptext {
    display: block;
    margin-top: -21px;
    margin-inline-start: 27px;
}
.Ftext {
    display: block;
    margin-top: -21px;
    margin-inline-start: 19px;
}


.edd-table {
    width: 100%;
    border-collapse: collapse;

}

/* HEADER STYLE ??? DOUBLE TOP + DOUBLE BOTTOM + GRAY BACKGROUND */
.header-row th {
    background:lightgray;
    padding: 4px 0;
    text-align: center;
    font-weight: bold;

    /* Double borders top & bottom like PDF */
    border-top: 4px double black;
    border-bottom: 4px double black;

      /* REMOVE internal borders */
    border-left: none !important;
    border-right: none !important;


    /* Only internal vertical borders */
    border-left: none;
    border-right: none;
}
.Certify {text-align:center;}
:lang(ar).Certify,
:lang(fa).Certify  {text-align:center !important;}
/* But we add internal column borders manually */
.header-row th + th {
    border-left: 1px solid black;
}

/* BODY ROWS: ONLY HORIZONTAL + INTERNAL VERTICAL BORDERS */
.line-row td {
    height: 26px;
    border-bottom: 1px solid black;
    border-top: none;

    /* No outside borders */
    border-left: none;
    border-right: none;
}

/* Internal vertical column lines on body rows */
.line-row td + td {
  /*  border-left: 1px solid black;*/
     border-inline-start: 1px solid black;

}

/* Column widths (adjust to match PDF) */
.col-name { width: 30%; }
.col-address { width: 35%; }
.col-phone { width: 20%; }
.col-date { width: 15%; }

.address-ltr1
{

    direction: ltr !important; 

    unicode-bidi: embed; 

    white-space: nowrap; 

    display: inline-block; 

  } 


.checkbox-row{
    width:20%;
}
:lang(ja).checklabel {
    margin-inline-start: 10px;
    margin-top: -2px;
    margin-inline-end: 15px;
}
/*------------------------------------*/
.divTableW {
    display: table;
    width: 100%;
    border-collapse: collapse;
}
.divTableRowW {
    display: table-row;
}
.divTableCellW {
    display: table-cell;
    padding-right: 25px;
    text-align: center;
    width: 25%;
    padding-bottom: 0px;
}
.form-fieldW .halflineW

 {
    border-bottom: 1.5px solid black;
    width: 100%;
    margin-bottom: -3px;
    display: inline-block;
    margin-top:45px;
}

.form-fieldW div {
    text-align:center;
    margin-top: 1px;
}
:lang(ar).blank-line1,
:lang(fa).blank-line1 {
    display: inline-block;
    border-bottom: 2px solid black;
    width: 220px;
    height: 10px;
}
.placeholder1 {
    margin-top: 3px;
    
    margin-inline-start: 0px;
}
:lang(ar).form-fieldW div ,
:lang(fa).form-fieldW div 
{
    text-align: center !important;
    margin-top: 1px;
}
:lang(hy) .Check1{
    vertical-align: middle;
}
:lang(ja) .Check1{
    vertical-align: middle;
}
:lang(hy) .Check2{
    vertical-align: middle;
}

:lang(fil) .Check1{
    vertical-align: middle;
}
:lang(fil) .Check2{
    vertical-align: middle;
}
:lang(Vi) .Check1{
    vertical-align: middle;
}
:lang(ru) .Check1{
    vertical-align: middle;
}
:lang(ru) .Check2{
    vertical-align: middle;
}
@media only screen and (max-width: 768px) {
       .header_container {
   flex-direction: column;
   justify-content: center;
   align-items: center !important;
}
       .header_container2 {
   flex-direction: column;
   justify-content: center;
   align-items: center !important;
}
:lang(ja).grey-box {
    margin-inline-start: 0%;
    background-color: #e5e5e5;
    width: 320px;
    height: 120px;
}
.grey-box {
    margin-inline-start: 0%;
    background-color: #e5e5e5;
    width: 320px;
    height: 120px;
}
:lang(zh-CN) .grey-box, :lang(zh-TW).grey-box {
    margin-inline-start: 0%;
    background-color: #e5e5e5;
    width: 320px;
    height: 120px;
}
:lang(fa).grey-box,
:lang(ar).grey-box  {
    margin-inline-start: 0%;
    background-color: #e5e5e5;
    width: 320px;
    height: 120px;
}
:lang(ja).checkbox-row {
    width: 23%;
}
:lang(ko).checkbox-row {
    width: 21%;
}
:lang(fil).checkbox-row {
    width: 22%;
}
:lang(Vi).checkbox-row {
    width: 26%;
}
.returnBlock

 {
    margin-inline-start: 0px;
}
    .responsive-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
 .responsive-table-container1 {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;  /* prevents scrollbar overlap */
}

/* Make sure tables don't shrink when scrolling */
.responsive-table-container1 table {
    min-width: 760px; /* adjust if needed */
}

/* Prevent header and body borders from collapsing incorrectly */
.responsive-table-container1 table {
    border-collapse: collapse;
}
.divTableRowW {
        display: block;
        width: auto;
        margin-top: 20px !important;
    }
.L1right {
    padding-inline-end: 45px;
    padding-top: 25px;
}
    .divTableCellW {
        display: contents;
        padding-right: 25px;
        text-align: center;
        width: 5%;
        padding-bottom: 0px;
    }
:lang(en) .Check1,

:lang(fa) .Check1,
:lang(ko) .Check1,
:lang(ar) .Check1{
vertical-align: middle;
}
:lang(Vi) .Check2{
vertical-align: middle;
}

}
    
@media screen and (max-device-width: 821px)
and (max-device-height: 1181px)
and (min-device-width: 819px)
and (min-device-height: 1179px) {
.underline-med {
    width: 140px;
}
.grey-box {
    margin-inline-start: 10%;
    background-color: #e5e5e5;
    width: 320px;
    height: 120px;
}
:lang(ar).grey-box {
    margin-inline-start: 14%;
    background-color: #e5e5e5;
    width: 320px;
    height: 120px;
}
:lang(fa).grey-box {
    margin-inline-start: 12%;
    background-color: #e5e5e5;
    width: 320px;
    height: 120px;
}
:lang(ja).grey-box {
    margin-inline-start: 27%;
    background-color: #e5e5e5;
    width: 320px;
    height: 120px;
}
:lang(zh-CN) .grey-box, :lang(zh-TW).grey-box {
    margin-inline-start: 20%;
    background-color: #e5e5e5;
    width: 320px;
    height: 120px;
}
:lang(hy).grey-box1,
:lang(fil).grey-box1,
:lang(ru).grey-box1 {
    background-color: #e5e5e5;
    width: 450px;
    height: 120px;
}
:lang(kh).grey-box1 {
    background-color: #e5e5e5;
    width: 425px;
    height: 120px;
}
.underline-med {
    width: 165px !important;
}
:lang(ja).CITY{
    width:10%;
}
:lang(fil).CITY{
    width:10%;
}
:lang(en) .Check1,

:lang(fa) .Check1,
:lang(ko) .Check1,
:lang(ar) .Check1{
vertical-align: middle;
}
:lang(Vi) .Check2{
vertical-align: middle;
}
:lang(ja).checkbox-row,
:lang(ko).checkbox-row ,
:lang(fil).checkbox-row  {
    width: 22%;
}
:lang(Vi).checkbox-row

 {
    width: 26%;
}
}