/* 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;
}
#form-element-wrapper_2
{
    display: none;
}

.header_container {
    display: flex;
    justify-content: space-between;
    column-gap: 30px !important;
}

table {
    border-collapse: collapse;
    width: 100%;
 
  }

  td, th {
    border: 1px solid #000;
    padding: 4px;
    vertical-align: top;
  }

  .no-border {
    border: none;
  }

  .box {
    border: 1px solid #000;
    height: 16px;
    display: inline-block;
    width: 100%;
  }

  .checkbox {
    width: 14px;
    height: 14px;
    background-color: white;
    border-radius: 5%;
    border: 1px solid grey;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
    margin-right: 8px;
  }
  .jtext {
    display:block;
    margin-top:-20px;
    margin-left: 20px;
    margin-right: 20px;
    }

  .section-title {
    font-weight: bold;
    margin-top: 20px;
    text-decoration: underline;
  }

 

  .topstart{
    border-top:none; border-inline-start:none !important;
  }

  .blanklinecallout {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }
  .greyboxsmall { 

    background-color: #e5e5e5; 
  
    padding: 20px; 
  
    padding-top: 0px; 
  
    padding-bottom: 0px; 
  
    text-align: center; 
  
  } 
  label{
    vertical-align:baseline;
  }

  .start{
    border-inline-start: none !important;
  }
  .end{
    border-inline-end: none !important;
  }
  .allowances-table {
    border-bottom:none!important;
  }

  .allowances-table td:first-child,
.allowances-table th:first-child {
  border-inline-start: none !important;
}

/* Remove right border from last cell in each row */
.allowances-table td:last-child,
.allowances-table th:last-child {
    border-inline-end: none !important;
}
.b_table {
    border-top:none !important;
    border-bottom: 1px solid black;
    text-align: center !important;
}
.b_table td{
    padding-bottom:20px;
    border-top:none;
    border-bottom:none;
}
.b_table td:first-child,
.b_table th:first-child {
  border-inline-start: none !important;
}

/* Remove right border from last cell in each row */
.b_table td:last-child,
.b_table th:last-child {
    border-inline-end: none !important;
}
.allowances-table tr:last-child td {
    border-bottom: none !important;
  }
  
 

  .table-wrapper1 {
    display: flex;
   
  }


  .smallTable {
    width: 50%;
    border-top: none !important;
    border-bottom: none !important;
    border-inline-start: none !important;
  
  }
  .smallTable tr:first-child th {
    border-top: none !important;
  }
  .sub-table tr:last-child td {
    border-inline-end: none !important;
  }
  .alignEnd{
    text-align: end !important;
  }

  .sub-table  td:first-child,
  .sub-table th:first-child {
    border-inline-start: none !important;
  }
  .sub-table1  td:last-child,
  .sub-table1 th:last-child {
    border-inline-end: none !important;
  }
  .smallTable  td:first-child,
  .smallTable th:first-child {
    border-inline-start: none !important;
  }
 
  .smallTable tr:last-child td
  {
    border-bottom: none !important;
  }
  :lang(ar) .smallTable td:first-child,
:lang(ar) .smallTable th:first-child {
  border-inline-end: 1px solid !important;
  border-inline-start:  none !important;
}
:lang(ar) .smallTable td:last-child,
:lang(ar) .smallTable th:last-child {
  border-inline-end: 1px solid !important;
  border-inline-start: none !important;
}
:lang(fa) .smallTable td:first-child,
:lang(fa) .smallTable th:first-child {
  border-inline-end: 1px solid !important;
  border-inline-start: none !important;
}
:lang(fa) .smallTable td:last-child,
:lang(fa) .smallTable th:last-child {
  border-inline-end: 1px solid !important;
  border-inline-start: none !important;
}
  
.blank-line {
  
    border-bottom: 1px solid #000;
    height: 18px;
    flex-grow:1;
    margin-left:40px;
}
:lang(ar) .blank-line,
:lang(fa) .blank-line{
    margin-right:40px;border-bottom: 1px solid #000;
    height: 18px;
    flex-grow:1;
    margin-left: 4px;
}
.blank-line1 {
  
    border-bottom: 1px solid #000;
    height: 30px;
    flex-grow:1;
    margin-left: 20px;
    margin-right: 20px;
}

.ltext{
    display: block;
    padding-left: 20px;
    padding-right: 15px;
    margin-top: -21px;
}

:lang(ar) .ltext,
:lang(fa) .ltext{
    margin-top: -24px;   display: block;
    padding-left: 20px;
    padding-right: 20px;
}
@media only screen and (max-width: 768px) {
    .header_container {
        flex-direction: column;
        justify-content: center;
        align-items: center !important;
    }
.table-container {
   
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Enables smooth scrolling on iOS */
}
.table-container table {
    width:100%;
     min-width:850px;
 } 
 .table-wrapper1{
    display:block;
 }
 .sub-table tr:last-child td {
    border-inline-end: none !important;
    border-bottom: none;
}
.sub-table1  td:first-child,
.sub-table1 th:first-child {
  border-inline-start: none !important;
}
.smallTable  td:last-child,
.smallTable th:last-child {
  border-inline-end: none !important;
}
}


