/* 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;
    padding-bottom: 0px!important;
}
 .divTableRow {
    display: table-row;
  }

  .divTableCellNX {
    display: table-cell;
     
     
    width: 65%;
    text-align: end !important;
    vertical-align: bottom;
    padding-bottom: 5px;
    padding-inline-start: 7px;
  }  
  :lang(ar) .divTableCellNX,    
  :lang(fa) .divTableCellNX {
     display: table-cell;
    
   padding-inline-start: 5px;
    width:65%;
    text-align: end !important;
    vertical-align: baseline;
    padding-bottom: 5px;
     
  }
  
  .blank-line1X {
    display: inline-block;
    border-bottom: 2px solid black;
    width: 200px;
    padding-left: 2px;
    padding-right: 2px;
      height: 17px;
      padding-bottom:15px;

  }
:lang(ar).blank-line1X,
 :lang(fa).blank-line1X {
    display: inline-block;
    border-bottom: 2px solid black;
    width: 200px;
    padding-left: 2px;
    padding-right: 2px;
      height: 17px;
     vertical-align: bottom;
      

  }
    
  .blank-line1pX {
    display: inline-block;
    border-bottom: 2px solid black;
    width: 100px;
    padding-left: 2px;
    padding-right: 2px;
      height: 17px;
      padding-bottom:15px;

  }
:lang(ar).blank-line1pX,
 :lang(fa).blank-line1pX {
    display: inline-block;
    border-bottom: 2px solid black;
    width: 100px;
    padding-left: 2px;
    padding-right: 2px;
      height: 17px;
     vertical-align: bottom;
      

  }

  
.claim-card{
     
    color:#000;
    width: 100%;
    max-width: 1200px;         /* adjust if needed */
    margin: 0;
  }

  .rule{
    height: 10px;
    background:#9b9b9b;
    margin: 10px 0;
  }

  .grid{
    display:grid;
    grid-template-columns: 1fr 1fr;   /* left / right */
    column-gap: 80px;                /* spacing between the two blocks */
    row-gap: 8px;
    align-items: baseline;
 
  }

  .left{ justify-self:start;
width:58%; }

  .right{ width:56%;
text-align: end !important;}

 

  /* Last row spans full width */
  .span2{ grid-column: 1 / -1; }

  /* Right row with amount aligned to the far right of the right column */
  .amount-row{
    display:flex;
    justify-content: space-between;
    gap: 16px;
    width: 50%;
  }
  .amount{ white-space: nowrap; }



  .blank-line {
    width: 30%;
    display: inline-block;
    border-bottom: 2px solid #000;
    height: 18px;
    margin-inline-end:3px;
    margin-inline-start: 2px;
}

.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: block;
    margin-top:-23px;
    margin-inline-start:30px;
    margin-bottom: 5px;
    margin-inline-end: 5px;
}
.adjust1{
    margin-inline-start: 15px;
}

:lang(ar).jtext,
:lang(fa).jtext {
    display: block;
    margin-top:-25px;
    margin-inline-start:20px;
    margin-bottom: 5px;
    margin-inline-end: 5px;
}

 

.tLabel {
 
  margin-bottom: 6px;
}

.address {
  margin-inline-start: 10%; /* matches visual indent */
}

 .Fullline{
      width: 100%;
    display: inline-block;
    border-bottom: 2px solid #000;
    height: 25px;
 }
 :lang(fa).Fullline,
 :lang(ar).Fullline{
      width: 170%;
    display: inline-block;
    border-bottom: 2px solid #000;
    height: 30px;}

  .blank-line1 {
    width: 35%;
    display: inline-block;
    border-bottom: 2px solid #000;
    height: 18px;
}

.MakeNote1{
    display:grid;
    grid-template-columns: 1fr 1fr;
}

.sig-block{
    margin-top:30px;
}
 

.sig-row {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.sig-item {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
:lang(ar) .sig-item,
 :lang(fa) .sig-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.sig-item.grow {
  flex: 1;
}

.sig-label {
  white-space: nowrap;
}

.sig-line {
  border-bottom: 2px solid #000;
  height: 0.9em;
}

.sig-line.long {
  flex: 1;
}

.sig-line.medium {
  width: 320px;
}
:lang(hy).sig-line.medium {
    width: 225px;
}
.sig-line.short {
  width: 120px;
}

         .grey-box {
    background-color: #e5e5e5;
    width: 55%;
    height:135px;

    padding-inline-start: 10px;
}












 .currency-symbol{
    text-align: end !important;
 }

    /* header */
    .table-head{
      display:grid;
      grid-template-columns: 1fr 100px 150px 150px;
      column-gap:28px;
      align-items:start;
       text-align: center !important;
  
      letter-spacing:.5px;
    }

    .head-center{
      text-align:center !important;
    }

    .head-multiline{
      text-align:center;
      line-height:1.05;
    }

    /* rows container */
    .table-body{
  
      display:grid;
 
    }

    .entry-row{
      display:grid;
      grid-template-columns: 1fr 100px 150px 150px;
      column-gap:28px;
      align-items:center;
    }

    /* employer name/address */
    .employer-block{
      display:grid;
      grid-template-rows: repeat(3, auto);
     
    }

    .underline-long{
      border-bottom:2px solid black;
      height:15px;
      width:100%;
          margin-top: 20px;
    }

    /* simple underline fields */
    .underline-short{
      border-bottom:2px solid black;
   
      width:100%;
    }

    /* wages field */
    .wage-field{
      display:grid;
      grid-template-columns: 18px 1fr;
      
      align-items:end;    margin-bottom: 20px;
    }
 

.NotDisplay{
    display: table-column !important;
}


.sig-row1{
  margin-top:10px;
}

.sig-line{
  border-bottom: 2px solid #000;
  height:26px;          /* gives writing space */
  width:520px;
}

.sig-label{
   /* pushes label below the line */
  width:520px;
  text-align:center !important;
 
}

.form-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
 
}

.form-row.full-width {
  width: 100%; /* this is actually the default, but fine to keep */
}

.labelText {
  margin-inline-end: 15px;
  white-space: nowrap;
}

/* KEY CHANGE: let each field-group flex and fill the row */
.field-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 0;        /* grow to use remaining space */
 border-top: 2px solid #000;
  height: 0px;
  width: 100% !important;
}

/* smaller fixed-width groups for State / ZIP */
.field-group.small {
  flex: 0 0 80px; border-bottom: 2px solid #000;
  height: 14px;
  width: 100% !important;
}

.blank {
  border-bottom: 2px solid #000;
  height: 14px;
  flex-grow:1;
}

.sub-label {
  text-align: center !important;
  margin-top: 2px;
  margin-inline-end: 20px;
}

/* longer single lines */
.field-group.long {
  flex: 1 1 250px; 
}


.year-group{
    display: flex;
}
.moveUP{
    margin-top: -15px;
    margin-bottom: 20px;
}
 

.section-wrapper{
    display: block !important;
}






.shortWidth {
    width:50% !important;
}
   
:lang(ja).shortWidth,
:lang(ko).shortWidth,
:lang(zh-TW).shortWidth,
:lang(zh-CN ).shortWidth,
:lang(th).shortWidth {
    width:75% !important;
}
 





@media only screen and (max-width: 768px)
 {
   
    .header_container {
      flex-direction: column;
        justify-content: center;
        align-items: center !important;
    }
.entry-row {
    display: grid;
    grid-template-columns: 300px 100px 150px 150px;
    column-gap: 28px;
    align-items: center;
}

.NotDisplay{
    display: none !important;
}

      .responsive-table-container { 

        overflow-x: auto; 

        -webkit-overflow-scrolling: touch; /* Enables smooth scrolling on iOS */ 

    } 
.sig-line {
    border-bottom: 2px solid #000;
    height: 26px;
    width: 100% !important;
    margin-top:25px;
}
 
.responsive-table-container .section-wrapper{
  width: max-content;       /* expand to content width */
  min-width: 100%;          /* never shrink smaller than viewport */
}
.sig-label{
    width:auto !important
}
.form-row{
    display:contents;
}
.field-group{
    display:contents;
}

.moveDown{
    margin-inline-start: 35px;
}

.moveUP{
    margin-top: -15px;
    margin-bottom: 20px;
}
.yearLine{
    display: flex;;
}
.year-group{
        display: inline-flex;
    width: 100%;
    padding-top:20px;
}

.blank{
  height:25px;
  margin-bottom:5px;
}

 .divTableRow {
    display: grid;
  }
.divTableCellNX {
    display: table-cell;
    width: 100%;
    text-align: center !important;
}
.blank-line1X,.blank-line1pX {
    display: inline-block;
    border-bottom: 2px solid black;
    width: 300px;
    padding-left: 2px;
    padding-right: 2px;
    height: 17px;
    margin-bottom: 15px !important;
    padding-bottom:0 !important;
}:lang(ar).blank-line1X, :lang(fa).blank-line1X, :lang(ar).blank-line1pX, :lang(fa).blank-line1pX {
    display: inline-block;
    border-bottom: 2px solid black;
    width: 300px;
    padding-left: 2px;
    padding-right: 2px;
    height: 17px;
    vertical-align: bottom;  margin-bottom: 15px !important;
    padding-bottom:0 !important;
}
:lang(ar) .divTableCellNX, :lang(fa) .divTableCellNX {
    display: table-cell;
    padding-inline-start: 5px;
     width: 100%;  
    text-align: center !important;
    vertical-align: baseline;
    padding-bottom: 5px;
}
.shortWidth {
    width:auto !important;
}
 :lang(ja).shortWidth,
:lang(ko).shortWidth,
:lang(zh-TW).shortWidth,
:lang(zh-CN ).shortWidth,
:lang(th).shortWidth {
    width:auto !important;
}
      .blank-line {
    width: 30%;
    display: inline-block;
    border-bottom: 2px solid #000;
    height: 18px;
}
.MakeNote1{
    display: contents;
}
.cbw{
    width:100%;
}
.blank-line1{
    width:100%;
}
.sig-row{
    display: contents;
}
 .sig-item{
    padding-bottom:10px;
 }
 .sig-line.short {
    width: 100%;
}
.sig-line.medium {
    width: 100%;
}
:lang(hy).sig-line.medium {
    width: 100%;
}
  .grid {
    display: flex;          /* switch from grid to flex */
    flex-direction: column; /* stack items */
    gap: 12px;
  }

  /* Left column items first */
  .grid .left { 
    order: 1;
    width: 70%;
    text-align: start !important;
  }

  /* Right column items after all left */
  .grid .right { 
    order: 2;
    width: 70%;
    text-align: start !important;
  }

  /* Full-width rows */
  .grid .span2 {
    order: 1;               /* keep with left group */
    width: 70%;
  }

  .amount-row {
    width: 100%;
    justify-content: flex-start;
  }
 .grey-box{
    width: 100%;}
.HideThis{
    display: none;
}
}
  /* 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) {

.grey-box{
    width: 50%;

}
 }
      @media screen and (max-device-width: 821px)
and (max-device-height: 1181px)
and (min-device-width: 819px)
and (min-device-height: 1179px) {
    .right {
    width: 57%;
    text-align: end !important;
}
.left {
    justify-self: start;
    width: 50%;
}}