/* 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;
    }

  /* 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;
}

table {
    border-collapse: collapse;
    width: 100%;
}

th {
    padding: 5px;
    vertical-align: top;
    width: 50%;
}

td {
    border: 1px solid #000;
    padding: 5px;
    padding-bottom: 8px;
    padding-top: 8px;
    vertical-align: top;
    width: 50%;
}

.no-bottom-border {
    border-bottom: 0 !important; 
  }
.number-cell {
    padding: 0;
  }

.jtext2 {
    display: block;
    padding-left: 30px;
    margin-right: 25px;
    margin-top: -28px;
}
.month-table {
    border-collapse: collapse;
    width: 107%;
    margin: 5px;
    padding: 0;
}
th {
    padding: 5px;
    vertical-align: top;
    width: 50%;
    text-align: start;
}
.month-table .month-td {
    border-inline-end: 0;
    padding: 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;  
   }  
   .ctext1{
    display:block;
    padding-right: 15px;
    padding-left: 5px;
}
.ctext{
    padding-right: 15px;
    padding-left: 5px;
}
.blank-line {
    width: 100%;
    display: inline-block;
    border-bottom: 1.5px solid #000;
    height: 5px;
}
.blank-line1 {
    width: 54%;
    display: inline-block;
    border-bottom: 1.5px solid #000;
    height: 15px;    margin-left: 5px;
}
.bline1 {
    flex-grow: 0.25;
    border-bottom: 1.5px solid #000;
    height: 20px;    margin-left: 5px;margin-right:10px;
}

.blanklinecallout {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

  .input-box {
    width: 100%;
    border: 1px solid #000;
    height: 20px;
  }

  .short-input {
    width: 80px;
    border: 1px solid #000;
    height: 20px;
    display: inline-block;
  }

  .jtext {
    display: block;
    padding-left: 30px;
    padding-right: 25px;
    margin-top: -21px;
}
:lang(fa) .jtext, 
:lang(ar) .jtext {
    display: block;
    padding-inline-start: 30px !important;
    padding-inline-end: 20px !important;
    margin-top: -26px;
}

.jtext7 {
    display: block;
    padding-left: 30px;
    margin-right: 8px;
    margin-top: -21px;
}

:lang(fa) .jtext7, 
:lang(ar) .jtext7 {
    display: block;
    padding-inline-start: 30px;
    margin-top: -26px;
    padding-left: 8px;
}

.sub-text {
    display: block;
    padding-left: 30px;
    margin-right: 30px;
}
.c1text {
    display: block;
    padding-left: 20px;
    margin-right: 25px;
    margin-top: -21px;
}

.nintext {
    display: block;
    padding-left: 25px;
    margin-right: 15px;
    margin-top: -21px;
}
.quartline {
    flex-grow: 0.75;
    border-bottom: 1.5px solid #000;
    margin-left: 5px;
    margin-bottom: 10px;
    margin-inline-start: 5px;
}

.sub-question {
    padding-left: 20px;
}
.form-field {
    display: flex;
}
.form-field2 {
    display: flex;
    align-items: end;
}
  .form-field3 {
    display: grid !important;
    grid-template-columns: 50% 57%;
    align-items: start;
}

.jtext3 {
    display: block;
    padding-inline-start: 30px;
    margin-top: -21px;
}
.sub-text1 {
    display: block;
    padding-inline-start: 30px;
}

.jtext4 {
    display: block;
    padding-inline-start: 30px;
    margin-top: -21px;
}
.line2 {
    flex-grow: 1;
    border-bottom: 1.5px solid #000;
   /*margin-inline-start: 5px; */
    margin-bottom: 10px;
}

.line3 {
    flex-grow: 1;
    border-bottom: 1.5px solid #000;
    margin-inline-start: 5px;
    margin-bottom: 10px;
}

:lang(fa) .jtext4,
:lang(ar) .jtext4 {
    display: block;
    padding-inline-start: 30px;
    padding-left: 30px;
    margin-top: -21px;
}

.jtext5 {
    padding-left: 30px;
    margin-right: 25px;
    margin-top: -21px;
}

:lang(fa) .jtext6,
:lang(ar) .jtext6 {
    padding-inline-start: 30px;
}

:lang(fa) .line3,
:lang(ar) .line3 {
    flex-grow: 1;
    border-bottom: 1.5px solid #000;
    margin-inline-start: 25px;
    margin-bottom: 10px;
}

.jtext1 {
    display: block;
    padding-left: 30px;
    margin-right: 25px;
    margin-top: -20px;
}
.form-field1 {
    display: flex;
}
.line {
    flex-grow: 1;
    border-bottom: 1.5px solid #000;
    margin-inline-start: 5px;
    margin-bottom: 10px;
}
.halfline {
    flex-grow: 0.5;
    border-bottom: 1.5px solid #000;
    margin-left: 5px;
    margin-bottom: 10px;
    margin-right: 10px;
}
.line1 {
    flex-grow: 1;
    border-bottom: 1.5px solid #000;
    /* margin-left: 5px; */
    /* margin-bottom: 10px; */
    height: 20px;
}
.shortline {
    flex-grow: 0.25;
    border-bottom: 1.5px solid #000;
    margin-left: 5px;
    margin-bottom: 10px; 
}
.dotted-container {
    display: inline-flex;
    gap: 2px; /* Adjust the space between boxes */
    vertical-align: middle;
    direction: ltr !important;
    unicode-bidi: embed !important;
}
.dotted-box {
    width: 20px; /* Width of each small box */
    height: 25px; /* Height of each small box */
    border: 2.5px dotted #333;
}
.language {
    padding-inline-start:35px;
    border-top:0;
}

.language1 {
    border-top: 0;
    padding-top: 20px;
}

.e-sublist {
    display: flex;
    flex-direction: row;
    gap: 10px;
}
.e-item {
    display: flex;
    align-items: flex-start;
    gap: 0px;
    text-align: start;
}

.enum {
    min-width: 2em;
}

.e-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.ssn-container {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    direction: ltr !important;
    unicode-bidi: embed !important;
}
.ssn-block {
    text-align: center;
      margin-right: 5px;
}
.ssn-number {
    text-align:center;
}
.ssn-line {
    border-top: 1px solid black;
    width: 20px;
    height: 1px;
    margin-top: 2px;
}
.ssn-dash {
    font-size: 18px;
    line-height: 1;
    margin: 0 2px;
}
.checkbox-container {
    display: grid;
    grid-template-columns: 33% 39% 30%;
    align-items: start;
}
.Checkboxsize {
    margin-right: 5px; /* Space between checkbox and label */
}
.stext {
    vertical-align: middle;
    padding-left:5px;
}
.jtext41 {
    display: block;
    padding-left: 35px;
    padding-right: 35px;
    margin-top: -21px;
}
label {
    display: flex;
    align-items: center;
}
label .NOAA {
    display: flex;
    align-items: center;
    vertical-align: auto;
}
ol.custom-list {
    list-style-type: none; /* Removes default list styling */
    counter-reset: list-counter; /* Initializes the counter */
}
ol.custom-list > li {
    counter-increment: list-counter; /* Increments the counter for each list item */
}
ol.custom-list > li::before {
    content: counter(list-counter, lower-alpha) ") "; /* Adds 'a)', 'b)', etc. */
    padding-left: 3px;
}
ul,ol { 
    margin-right:20px;
}

/*Grid layout for 19th question set*/
.grid-container {
    display: grid;
    grid-template-columns: 40% 22% 20% 20%;;

    width: 100%;
}

.grid-item {
    border: 1px solid transparent; /* Add borders as necessary */
  
}

.full-width {
    grid-column: span 2; /* Span across two columns */
}

.full-span {
    grid-column: span 4; /* Span across all four columns */
}
.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;
}


.inner-table {
    width: 100%;
    border-collapse: collapse;
  border:none !important;
}

.inner-table th{
    border: 1px solid black;
 
    
    text-align: center;
    vertical-align: middle;
    font-weight: normal;
}


.inner-table td {
    text-align: center;
    border: 1px solid black;
    vertical-align: middle;
    padding:15px;
}

.inner-table th, .inner-table td {
    width: 25%; /* Apply the same width to both */
}

.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 */
    margin-right: 10px;
}

:lang(fa) .jtext1,
:lang(ar) .jtext1 {
    display: block;
    padding-left: 30px;
    margin-right: 25px;
    margin-top: -25px;
}

:lang(fa) .jtext5,
:lang(ar) .jtext5 {
        display: flex;
        padding-left: 30px;
        margin-right: 30px;
        margin-top: -26px;
}

:lang(fa) .c1text,
:lang(ar) .c1text {
        display: block;
        padding-left: 28px;
        margin-right: 30px;
        margin-top: -26px;
}

:lang(fa) .nintext,
:lang(ar) .nintext {
        display: block;
        padding-left: 25px;
        margin-right: 25px;
        margin-top: -26px;
}
    
:lang(fa).jtext41,
:lang(ar).jtext41 {
        display: block;
        padding-left: 35px;
        padding-right: 40px;
        margin-top: -25px;
}


@media only screen and (max-width: 768px) {
    .header_container {
        flex-direction: column;
        justify-content: center;
        align-items: center !important;
    }
    .table-container {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* Enables smooth scrolling on iOS */
    }
 .employer-container{
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Enables smooth scrolling on iOS */
 }
    .service-table {
        border-collapse: collapse;
        width: 200% !important;
    }
/* Apply min-width only to non-service tables */

.table-container table{
    width:100%;
    min-width:850px;
}
/* Explicitly remove it from .service-table */
 

.form-field1{
    display:block;        
}
.bline1{
width:50%;
margin-bottom:10px;
}  
.jtext2 {
    display: block;
    padding-left: 33px;
    margin-right: 25px;
    margin-top: -28px;
}
.mailDate1 {
    width: 100%;
    /* white-space: nowrap; */
}
.divTableCellN {
    text-align: start;
}
.jtext2 {
    display: block;
    padding-left: 26px;
    margin-right: 28px;
    margin-top: -28px;
}
}
@media screen and (max-device-width: 821px) 
and (max-device-height: 1181px) 
and (min-device-width: 819px) 
and (min-device-height: 1179px) {
:lang(ru) .form-field1 {
display: block;
white-space: nowrap; 
}
}
/* 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) 

{ .header_container {
flex-direction: column;
justify-content: center;
align-items: center !important;
}
.table-container {
display: block;
overflow-x: auto;

-webkit-overflow-scrolling: touch; /* Enables smooth scrolling on iOS */
}
.table-container table{
width:100%;
min-width:850px;
}
.form-field1{
display: flex;
}
.bline1{
width:25%;
margin-bottom:10px;
}
.month-table {
    border-collapse: collapse;
    width: 106%;
    margin: 5px;
    padding: 0;
}
.mailDate1 {
    width: 55%;
    /* white-space: nowrap; */
}

.service-table {
    border-collapse: collapse;
    width: 120% !important;
  }
}

