/* Hide Submit Button */
.form-submit-button {
    display: none !important;
  }
  
/* Hide Print Button */
  #print-preview {
    display: none !important;
  }

/* Hide Additional wrapper sections */
#form-element-wrapper_2
{
    display: none;
}

/* TO CONTROL SCREEN SCROLL*/
.form-section, .form-item {
    display: block;
    overflow: hidden;
    padding-left: inherit;
    padding-bottom: 16px;
}

  /* Hiding Language dropdown*/
  #form-element-wrapper_1 {
      visibility: hidden !important;
  }

/*------------------------------------------------------*/

.header_container {
    display: flex;
    justify-content: space-between;
    column-gap: 30px !important;
}

.box {
    background-color: #e5e5e5;
    margin-bottom: 20px;
    width: 45%;
    height: 100px;
    margin-top: 0%;
    border: 0px solid #ccc;
}

.divTableRow {
    display: table-row;
}

.divTableCell {
    display: table-cell;
    width: 60%;
    padding: 1px;
}

.divTableCellM {
    display: table-cell;
    width: auto;
    padding: 1px;
}

.divTableCellK {
	display: table-cell;
	border: 0px solid #ddd;
	padding: 2px;
}

  	/* Styling Phone numbers only*/ 
	.UniquePhoneTable  { 
	    width: 47%; 
	} 
	  
	.divTableRowUnique { 
	    display: table-row; 
	} 
	  
	.divTableCellUnique { 
	    display: table-cell; 
	    width: 65%; 
	    padding: 2px; 
	     vertical-align: bottom; 
	} 
	
	:lang(fa).divTableCellUnique, 
	:lang(ar).divTableCellUnique { 
	     display: table-cell; 
	    width: 65%; 
	    padding: 2px; 
	    vertical-align: baseline; 
    } 
/* --------------------------------------------- */

.telephone {
    width: 36%;
}

.maildetails {
    margin-top: 40px;
}

.blanklinecallout {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

label {
  margin-right: 10px;
}

.c2text {
    margin-inline-start: 21px;
    margin-top: -21px;
    width: fit-content;
}

.c1text {
    margin-inline-start: 21px;
    margin-top: -21px;
    width: fit-content;
}

ul,ol {
  margin-right: 20px;
}

.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;
}

.grid-container4 {
    display: grid;
    grid-template-columns: 75% 23%;
    gap: 10px; 
}

.bottom {
    align-content: flex-end;
    text-align: center;
    white-space:nowrap;
}

.form-field {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    flex-wrap: wrap;
}
.form-field .line {
    flex-grow: 1;
    border-bottom: 1.5px solid #000;
    margin-inline-start: 2px;
}

.grid-container3 {
    display: grid;
    grid-template-columns: 46% 35%;
    gap: 10px;
}

.line1 {
    flex-grow: 1;
    border-bottom: 1.5px solid #000;
    margin-inline-start: 4px;
}

.content {
  margin-inline-start: 85px;
}

.grid-container2 {
    display: grid;
    grid-template-columns: 65% 30%;
    gap: 10px; 
}

/* Table Code */

.table_wrap {
    display: inline-flex;
    gap: 20px;
    width: 100%;
}

th {
  /*border: 1px solid #000;*/
  padding: 8px;
  vertical-align:top;
  text-align: start;
}

td {
 /*border: 1px solid #000;*/
  padding: 8px;
  vertical-align:middle;
  white-space: nowrap;
}

table {
  /* border-collapse: collapse; */
  width: 100%;
}

/* **************************** */ 

/*For Declaration table*/

.divTableW {
    display: table;
    width: 100%;
    border-collapse: collapse;
    /* Mimics table border collapse */
}

.divTableRowW {
    display: table-row;
}

.divTableCellW {
    display: table-cell;
    padding-right: 25px;
    text-align: center;
    width: 5%;
    padding-top: 30px;
    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: start;
    margin-top: 1px;
    /* Adds space between the line and the text */
}

/* Responsive code for Mobile Devices */ 

@media only screen and (max-width: 768px)
{
.header_container {
   flex-direction: column;
   justify-content: center;
   align-items: center !important;
}

    /* Styling Phone numbers only*/
	.UniquePhoneTable  { 
	    width: 100%; 
	} 
	  
	.divTableCellUnique{ 
	    width:65%; 
  } 
/* --------------------------------------------- */

.telephone {
    width: 84%;
    padding-top: 0px;
    padding-bottom: 30px;
}

.divTableCell {
    width:55%;
    padding:2px;
}

.box {
    width: 85% !important;
}

.content {
  margin-inline-start: 0px;
  padding-top: 15px;
}

.maildetails {
    margin-top: 40px;
}

.table-container {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* Enables smooth scrolling on iOS */
}
.table-container table {
  width:100%;
  /*min-width:850px;*/
}

.grid-container4 {
    display: block;
}

.bottom {
  text-align: start;
  display: contents;
}

.form-field {
    display: block;
}

.grid-container3 {
    display: block;
}

.grid-container2 {
    display: block;
}
}
@media screen and (max-device-width: 821px) 
and (max-device-height: 1181px) 
and (min-device-width: 819px) 
and (min-device-height: 1179px) {
.table-container {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* Enables smooth scrolling on iOS */
}
.table-container table {
  width:100%;
  /*min-width:819px;*/
}
.telephone {
  width: 40%;
}
.maildetails {
  margin-top: 40px;
}
.grid-container3 {
    display: grid;
    grid-template-columns: 44% 54%;
}
.c1text {
    margin-inline-start: 8px;
}
}
/* 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;
}
.box {
    width: 45% !important;
}

    /* Styling Phone numbers only*/
	   .UniquePhoneTable  { 
	        width: 55%; 
	        margin-inline-start: 12%; 
	  } 
	   .divTableCellUnique { 
	        width:65%; 
    } 
 /* --------------------------------------------- */

.telephone {
  width: 38%;
}

}