/* 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;
    vertical-align: top;
    width: 50%;
  }
  .no-bottom-border {border-bottom: 0 !important; 
  }
  .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;
    margin-right: 25px;
    margin-top: -21px;
}
.sub-text{
    display: block;
    padding-left: 30px;
    margin-right: 15px;
   
}
.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;
}

  .sub-question {
    padding-left: 20px;
  }
  .form-field {
    display: flex;

   
  }
  .form-field1 {
    display: flex;

   
  }
  .line {
    flex-grow: 1;
    border-bottom: 1.5px solid #000;
    margin-left: 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;
    
   
  }
.dotted-box {
    width: 20px; /* Width of each small box */
    height: 25px; /* Height of each small box */
    border: 2.5px dotted #333;
     

}
.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;
    }


    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;
}

    @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 */
        }
        .table-container table{
            width:100%;
            min-width:850px;
        }
    
    .form-field1{
        display:block;        

    }
.bline1{
    width:50%;
    margin-bottom:10px;
}}

        /* 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;
}

}


