/* Hide Submit Button */
.form-submit-button {
    display: none !important;
  }
  
  /* Hide Print Button */
  #print-preview {
    display: none !important;
  }
  /* Hiding Language dropdown*/
   
  #form-element-wrapper_45{
      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;
}
:lang(ar) .address-ltr,
:lang(fa) .address-ltr {
  direction: ltr !important;
  unicode-bidi: embed;
  white-space: nowrap;
  display: inline-block;
}

.form-field {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    flex-wrap: wrap; 
    
}
.form-field .text {
    white-space: nowrap;
    
}
.lineq{
    flex-grow: 1;
    border-bottom: 1.5px solid #000;
   margin-right: 5px;
   margin-left:10px;
}
.form-field .line {
    flex-grow: 1;
    border-bottom: 1.5px solid #000;
   
}
.form-field .linez {
    flex-grow: 1;
    border-bottom: 1.5px solid #000;
   margin-right: 5px;
   margin-left:-35px;
}

 /*Checkbox table*/
 .form-containers {
    width: 100%;
}

.form-rows {
    display: flex;
    justify-content: space-between;
   /* margin-bottom: 7px;*/
    width: 100%;
}

.form-fields {
    flex: 1;
    display: flex;
   align-items: baseline;
    
}
.spacex{
    font-weight: bold;
    text-decoration: underline;
    display: inline;
    margin-left:5px;
    margin-right:5px;
}

.merge-twos {
    flex: 2; 
}
.merge-threes {
    flex: 4; 
}

.form-fields .jtexts {
    display: block;
    margin-top: -20px;
    padding-left: 20px;
    margin-right: 20px;
}

.form-fields .lines {
    /*width: 90%;*/
    flex-grow: 0.995;
    border-bottom: 1.5px solid #000;
    margin-top: -6px;
   
    padding-right: 3px;
}

.divTableRownew {
    display: table-row;
}
.blank-line2 {
    display: inline-block;
    border-bottom: 1px solid black;
    width: 62%;
    margin-left: 57px;
   }
.blank-lineq {
    display: inline-block; 
    border-bottom: 1px solid black;
    width: 20%;
   }
.blank-line {
    display: inline-block; 
    border-bottom: 1px solid black;
    width: 100%;
   }
   .blanklinecallout {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.divTableCellnew71 {
    display: table-cell;
    padding: 5px;
width:64% !important;
}

.divTableCellnew7 {
    display: table-cell;
    padding: 5px;
width:80% !important;
}
.divTableCellnewk {
    display: flex;
        padding: 5px;
        width: 88%;
        margin-left: 23%;
}

.divTableCellnewl {
    display: flex;
    padding: 5px;
   }
   .divTableCellnew41 {
    display: table-cell;
    padding: 5px;
width: 20%;
vertical-align: middle;
}
.divTableCellnew4 {
    display: table-cell;
    padding: 5px;
width: 20%;
vertical-align: middle;
}

.divTableCellnew12 {
    display: table-cell;/* Column for questions with MM/DD/YYYY*/
    padding: 5px;
    width:58%

}
.divTableCellnew13 {
    display: table-cell;

width: 14%;

}
.divTableCellnew1 {
    display: table-cell;/* Column for questions with MM/DD/YYYY*/
    padding: 5px;
    width:69%

}
.divTableCellnew20 {
    display: flex;
        padding: 5px;
        margin-left: 10%;
        width: 88%;
}
.divTableCellnew2 {
    display: flex;/* Column MM/DD/YYYY to MM/DD/YYYY*/
    padding: 5px;

}
.divTableCellnew22 {
    display: table-cell;
    padding: 5px;
   width:60.5%;

}
.divTableCellnew23 {
    display: table-cell;
    padding: 5px;
   width:35%;

}
.divTableCellnew3 {
    display: table-cell;
    padding: 5px;
width:900px;
}


.divTableCellnew5 {
    display: table-cell;
    padding: 5px;
width:61%;
}
.divTableCellnew6 {
    display: table-cell;
    padding: 5px;
    width: 300px;
    padding-left: 40px;
}
.divTableCellnew0 {
    display: table-cell;
    padding: 5px;

}
.divTableCellnew9 {
    display: table-cell;
    padding: 5px;
    width: 680px !important;}
.divTableCellnewp {
        display: table-cell;
        padding: 5px;
   width:50%;
    }
.yes-no-container {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px; /* Add some space between Yes and No */
    }

    .divTable {
        display: table;
        width: 100%;
        border-collapse: collapse;
    }
    
    .divTableCell1 {
        flex: 1;
        padding: 8px;
       text-align: center;
    }
    .divTableCell2 {
        flex: 1;
        padding: 8px;
       text-align: right;
       margin-right: 100px;
    }
    .divTableCellBig {
        display: table-cell;
        padding: 5px;
        vertical-align: top;
    }
    .footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .form-field {
        display: flex;
        align-items: center;
        margin-bottom: 5px;
        flex-wrap: wrap; 
        
    }
    .form-fieldDate {
        display: flex;
        align-items: center;
        margin-bottom: 5px;
    
        
    }
    
    
    
     
    .bigline {
        display: flex;
        flex-direction: column; /* Stack child elements vertically */
        flex: 1; /* Allow contents to take up available space */
    }
    
    .grid-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 5px;
    }
    
    .grid-item {
       
        padding: 2px;
    }
    
    .Checkboxsize {
        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;  
        padding: 10px;
        margin-top:10px;
        
    }
    
    .jtext {
       margin-top: -9px;
        padding-left: 8px;
    margin-right: 15px;}
    .ltext {
        margin-top: -9px;
         padding-left: 2px;  /*Question 12&13 Spacing between the checkbox and text*/
     padding-right: 2px;}

ul,ol{margin-right:27px;
    padding-left: 3px;}

li{
    padding-left:15px;
}

.ktext{
    margin-top: -9px;
    padding-left: 8px;
    margin-right: 10px;
}
.row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
  }
  
  .cell {
    display: flex;
    flex-direction: column;
    width: 48%; /* Adjust width as needed */
  }
  

  .linex {
    height: 1px;
    border-bottom: 1px solid black;
    width: 100%;
    margin-bottom: 5px;
  }


@media only screen and (max-width: 768px)
 {
    .header_container {
    flex-direction: column;
    justify-content: center;
    align-items: center !important;
}
:lang(ar) .address-ltr,
:lang(fa) .address-ltr {
  direction: ltr !important;
  unicode-bidi: embed;
  white-space: normal;
  display: inline-block;
  line-height: 28px;
}

.blank-lineq{
    width:100%;
    margin-bottom: 10px;
}
.moveLeft{
    padding-left:10px;
}
h1{text-align: center;}
.form-field{
    display: contents;
    }
    .lineq{
        margin-bottom: 10px;
        margin-left:0;
    }.line{
        margin-bottom: 10px;
        margin-left:0;
    }
    .linez{
        margin-bottom: 10px;
        margin-left:0;
    }
.lines{
    display: block;
    margin-bottom: 10px;
}
    .Lleft {
        padding-left: 48px !important;
        width: auto !important;
       
      }
      .form-rows {
         flex-direction: column;
     }
 
     .form-fields {
         width: 100%;
         padding:1px;
         display:contents;
     }
 
     .merge-twos {
         width: 100%;
     }
    
     .jtexts {
         width: 100%;
     }
     .divTableRownew {
         display: block;
         flex-wrap: wrap; /* Allow cells to wrap into the next line */
     }
     .divTableCellnew1,  .divTableCellnew4, .divTableCellnew22,.divTableCellnew23,
     .divTableCellnew5, .divTableCellnew6,  .divTableCellnew9, .divTableCellnew0,.divTableCellnewp{
             display: block;
             flex: 1 1 100%; /* Each cell takes 100% of the width */
             box-sizing: border-box;
        
             width:100%;
         }

.blank-line{width:100%;}
.blank-line2{
    width:100%;
    margin-left:0;
}
.divTableCellnew13

{   display: block;
    flex: 1 1 100%; /* Each cell takes 100% of the width */
    box-sizing: border-box;
 
    width:100%;
}
.divTableCellnew20, .divTableCellnewk{
    margin-left:0;

}
.divTableCellnew7{
    width:100%;
    display: block;
}
.spacex{
    margin-left:0;
    margin-right:0;
}

.grid-container {
    grid-template-columns: repeat(1, 1fr); /* Single column layout for smaller screens */
  }

  .grid-item:nth-child(1) {
    order: 1; /* Monday */
  }
  .grid-item:nth-child(3) {
    order: 2; /* Tuesday */
  }
  .grid-item:nth-child(5) {
    order: 3; /* Wednesday */
  }
  .grid-item:nth-child(7) {
    order: 4; /* Thursday */
  }
  .grid-item:nth-child(2) {
    order: 5; /* Friday */
  }
  .grid-item:nth-child(4) {
    order: 6; /* Saturday */
  }
  .grid-item:nth-child(6) {
    order: 7; /* Sunday */
  }
 }
 @media only screen 
  and (min-device-width: 820px) 
  and (max-device-width: 820px) 
  and (min-device-height: 1180px) 
  and (max-device-height: 1180px) 
  and (-webkit-min-device-pixel-ratio: 2) {
    :lang(ar) .address-ltr,
    :lang(fa) .address-ltr {
      direction: ltr !important;
      unicode-bidi: embed;
      white-space: normal;
      display: inline-block;
      line-height: 28px;
    }
}
