/* 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;
}


.ltr-embed {
    direction: ltr;
    unicode-bidi: isolate;
    margin-right:20%;
}
 .header_container {
    display: flex;
    justify-content: space-between;
    column-gap: 30px !important;
}
.header_container1 {
    display: flex;
    justify-content: space-between;
    column-gap: 30px !important;
}
.jtext {
    display: block;
    padding-left: 10px;
    margin-right: 10px;
    margin-top: 7px;
    margin-bottom: 10px;
}
.jtext1 {
    display: block;
    padding-left: 10px;
    margin-right: 10px;
 
}


  .blanklinecallout {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }

  .blank-line {
    width: 70%;
    display: inline-block;
    border-bottom: 1.5px solid #000;
    height: 18px;
  }
  .line {
    width: 87%;
    display: inline-block;
    border-bottom: 1.5px solid #000;
    height: 18px;
   
}
/*-------------------------------------------------------*/
/*code for first 2 tables using grid*/

.form-container1 {

 display:flex;
   
}

.grid-wrapper1 {
    display: grid;
    grid-template-columns: 3fr 1fr; 
   
    gap:20px;
}

/* Main Section Styling */
.main-section {
    display: flex;
    flex-direction: column;
    border: 1px solid black;
}

/* Grid Header */
.grid-header {
    display: grid;
    grid-template-columns: 52% 17% 31%;
    
}
.grid-header1{
    display: grid;
    grid-template-columns: 52% 19%;
}
.grid-header2{
    display: grid;
    grid-template-columns: 52% 48%;
}
.header-item {
    padding: 5px;

    
    border-top: none;
    border-bottom: 1px solid black;
    border-inline-start: 1px solid black; /* Instead of border-left */
}
.header-item1 {
    padding: 5px;
    padding-bottom: 110px;
    border-top: none;
    border-bottom: 1px solid black;

    width:100%;
}
.header-item12 {
    padding: 5px;
    padding-bottom: 40px;
    border-top: none;
    border-bottom: 1px solid black;

    width:100%;
}
.header-item10 {
    padding: 5px;
 
    border-top: none;
    border-bottom: 1px solid black;

    width:100%;
}
.header-item2 {
    padding: 5px;
    padding-bottom: 40px;
    border-top: none;
    border-bottom: 1px solid black;
    border-inline-start: 1px solid black;
    width:246%;
}

.header-item11 {
    padding: 5px;
    border-top: none;
    border-bottom: 1px solid black;
    border-inline-start: 1px solid black;
    width:243%;
}

    .header-item13 {
        padding: 5px;
        padding-bottom: 40px;
        border-top: none;
        border-bottom: 1px solid black;
        border-inline-start: 1px solid black;
        width: 97%;
}
/* Ensure borders do not overlap */
.grid-header .header-item:last-child {
    border-inline-end: none; /* Remove right border in LTR, left border in RTL */
}

.grid-header .header-item:first-child {
    border-inline-start: none; /* Remove left border in LTR, right border in RTL */
}
.certification-container{
    border-top:1px solid black;
}


.signatureCell {
    display: table-cell;
    padding-right: 10px;
    text-align: left;
    width: 10%;
    padding-top: 20px;
    padding-bottom: 10px;
    padding-left: 10px;
}

.dateCell  {
    display: table-cell;
    padding-right: 10px;
    text-align: center;
    width: 5%;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
}
.signature-cell .halflineW {
    border-bottom: 1.5px solid black;
    width: 100%;
    margin-bottom: -3px;
    display: inline-block;
    height:18px;
}
.date-cell .line {
    border-bottom: 1.5px solid black;
    width: 100%;
    margin-bottom: -3px;
    display: inline-block;
    height:18px;
}
.form-fieldW1 .halflineW {
    border-bottom: 1.5px solid black;
    width: 100%;
    margin-bottom: -3px;
    display: inline-block;
}
.form-fieldW div {
    text-align: left;
    margin-top: 1px;
}

.form-fieldW1 div {
    text-align: center;
    margin-top: 1px;
}
ul,ol{ margin-right:26px;}



@media only screen and (max-width: 768px)
 {
    .header_container {
    flex-direction: column;
    justify-content: center;
    align-items: center !important;
}
.form-container1 {
    display: flex
;
    overflow-x: auto;
}.header-item2 {
    padding: 5px;
    padding-bottom: 40px;
    border-top: none;
    border-bottom: 1px solid black;
    border-inline-start: 1px solid black;
    width: 238%;
}
.main-section {
    display: flex
;
    flex-direction: column;
    border: 1px solid black;
    width: 200% !important;
}

.header-item2 {
    padding: 5px;
    padding-bottom: 40px;
    border-top: none;
    border-bottom: 1px solid black;
    border-inline-start: 1px solid black;
    width: 246%;
}
.header-item1 {
    padding: 5px;
    padding-bottom: 110px;
    border-top: none;
    border-bottom: 1px solid black;
    width: 98%;
}
.header-item10 {
    padding: 5px;
    border-top: none;
    border-bottom: 1px solid black;
    width: 98%;
}
.header-item13 {
    padding: 5px;
    border-top: none;
    padding-bottom: 40ox;
    /* border-bottom: 1px solid black; */
    border-inline-start: 1px solid black;
    width: 97%;
}
.header-item12 {
    padding: 5px;
    padding-bottom: 40px;
    border-top: none;
    border-bottom: 1px solid black;
    width: 98%;
}
 }


 @media only screen 
 and (min-width: 768px) 
 and (max-width: 768px) 
 and (min-height: 1024px) 
 and (max-height: 1024px)
 {
    .main-section {
        display: flex
;
        flex-direction: column;
        border: 1px solid black;
        width: 120% !important;
    }
 }


 