/* Hide Submit Button */
.form-submit-button {
    display: none !important;
  }
  
  /* Hide Print Button */
  #print-preview {
    display: none !important;
  }
  /* Hiding Language dropdown*/
  
  #form-element-wrapper_48{
      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;
}
.alpha-list {
    list-style-type: upper-alpha; /* Use uppercase letters for list items */
}

 .maildetails {
    width: 40%;
    margin-top: 50px;

}

 .grey-box2 {    
    background-color: #e5e5e5;
    width: 570px;
    height: 90px;
    border-radius: 20px;
    padding: 20px;}

.Lright {
  
    width:30%;
    padding-right: 50px;
    margin-top: 25px;
}
.LrightMailDate {
   
 
    padding-right: 250px;
    margin-top: 25px;
}
.Lleft{
   
    width:50%;
}

.addressBox {
    background-color: #f0f0f0; /* Set the background color to grey */
    padding: 10px;              /* Add some padding */
    border-radius: 13px;  
}

.divTable {
    display: table;
    width: 50%;
}

.divTableRow {
    display: table-row;
}

.divTableCell {
    display: table-cell;

}
.form-field {
    display: flex; 
      align-items: center;
      margin-bottom:5px;
      
  }


.form-field .text {
    
    margin-bottom: 8px;
}

.halfline {
    flex-grow: 1;
    border-bottom: 1.5px solid #f0f0f0;
    margin-left: 5px;
    margin-bottom: 8px;}

    
.line {
    flex-grow: 1;
    border-bottom: 1.5px solid #000;
    margin-left: 5px;
    margin-bottom: 8px;
  margin-right:5px;
 
   
}
.line1 {
    flex-grow: 1; /* Page 3 two lines styling */
    border-bottom: 1.5px solid #000;
    margin-left: 5px;
    margin-bottom: 8px;
    margin-top: -9px;
    margin-right:15px;
    padding:8px;
}
.table td {
    padding: 10px;
    text-align: center;
}
ul,ol{margin-right:20px;}
.form-field2 {
    display: flex; /* Use flexbox for the container */
    align-items: center; /* Align items vertically */
    width: 100%; /* Ensure the container takes full width */
 
}
.linesmall{     
    display: inline-block;
    border-bottom: 1px solid black;
    margin-top: 3px;
    height: 17px;
    width: 80%;
    margin-bottom: 25px;
    margin-right: 15px;
}
.blank-line {
    display: inline-block; 
    border-bottom: 1px solid black;
    width: 200px;
   }
   .blank1 {
   display: inline-block;
   border-bottom: 1px solid black;
   width: 100px;
   height: 16px;
   }

.newline {
    border-bottom: 1.5px solid #000;
    margin-left: 115px;
    margin-bottom: 10px;
    margin-right: 15px;
}


/*For Declaration table*/

.divTableW {
    display: table;
    width: 100%;
    border-collapse: collapse;
    /* Mimics table border collapse */
}

.divTableRowW {
    display: table-row;
}
.divTableCellt {
    display: inline;
    padding:2px;}
.divTableCellW {
    display: table-cell;
    padding-right: 10px;
    text-align: center;
    width: 5%;
    padding-top: 75px;
    padding-bottom: 0px;
}

.form-fieldW .halflineW {
    border-bottom: 1.5px solid black;
    /* Corrected the spacing in the border property */
    width: 100%;
    /* Ensures the line spans the full width of the cell */
    margin-bottom: -3px;
    /* Adds space below the line */
    display: inline-block;
}

.form-fieldW div {
    text-align: center;
    margin-top: 1px;
    /* Adds space between the line and the text */

}

.blanklinecallout {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media only screen and (max-width: 768px)
 {
    .header_container {
    flex-direction: column;
    justify-content: center;
    align-items: center !important;
}
    .Logo {     margin-top: 20px;}
    .addressBox {width: 300px;}
    .Lleft{ width:80%;}
    .Lright {width: auto;margin-top: 125px;}
    .LrightMailDate {margin-right:80px;}
    .grey-box2 {
        max-width: 80%;
        
    }
    .form-field{
    
     display: contents;
     
     }
      
        .maildetails {

          white-space:nowrap;
        }
      
    .newline{    display:none;}
    .line{margin-top:-3px;          margin-left: 0;      margin-bottom: 15px;}
 }

 
 @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 {
        display: flex;
        justify-content: space-between;
        column-gap: 30px !important;
    }

    .form-field{
    
        display: flex;
        
        }
        .maildetails {
            width: 15%;
            margin-top: 50px;
        
        }
        
         .grey-box2 {    
            background-color: #e5e5e5;
            width: 570px;
            height: 90px;
            border-radius: 20px;
            padding: 20px;}
        
        .Lright {
          
            width:30%;
            padding-right: 50px;
            margin-top: 25px;
        }
        .LrightMailDate {
           
         
            padding-right: 250px;
            margin-top: 25px;
        }
        .Lleft{
           
            width:45%;
        }
        .line{         margin-left: 5px;      }
}