/* 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: 10%!important;
}

.directions
{
    direction: ltr;
    unicode-bidi:embed;
}
:lang(fa).linemail,
:lang(ar).linemail
{
    width: 100%;
   display: inline-block;  
   border-bottom: 1.5px solid #000;
   height: 18px; 
   direction:ltr !important;
}

.greyboxsmall {
  background-color:transparent;
  padding: 20px;
  padding-top: 0px;
  padding-bottom: 0px;
  text-align: center;
margin-inline-start: 3px;
}


/* Box with corners */
.highlighted-box {
    position: relative;
    width: 145%;
    height: 130px;
    margin-inline-start: 20px;
    margin-block-start: 10%;
    margin-block-end: 18px; /* Replaces margin-bottom */
}

.highlighted-box .corner {
    position: absolute;
    width: 15px; /* Size of the corner */
    height: 15px; /* Size of the corner */
}

.highlighted-box .corner::before,
.highlighted-box .corner::after {
    content: '';
    position: absolute;
    background-color: #000; /* Color of the corner lines */
}

/* Top-left corner styles */
.highlighted-box .top-left::before,
.highlighted-box .bottom-left::before {
    width: 2px; /* Thickness of the vertical line */
    height: 100%;
    inset-inline-start: 0; /* Replaces left: 0 */
    inset-block-start: 0; /* Replaces top: 0 */
}

.highlighted-box .top-left::after,
.highlighted-box .top-right::after {
    width: 100%;
    height: 2px; /* Thickness of the horizontal line */
    inset-block-start: 0; /* Replaces top: 0 */
    inset-inline-start: 0; /* Replaces left: 0 */
}

/* Top-right and bottom-right corner styles */
.highlighted-box .top-right::before,
.highlighted-box .bottom-right::before {
    width: 2px; /* Thickness of the vertical line */
    height: 100%;
    inset-inline-end: 0; /* Replaces right: 0 */
    inset-block-start: 0; /* Replaces top: 0 */
}

.highlighted-box .bottom-left::after,
.highlighted-box .bottom-right::after {
    width: 100%;
    height: 2px; /* Thickness of the horizontal line */
    inset-block-end: 0; /* Replaces bottom: 0 */
    inset-inline-start: 0; /* Replaces left: 0 */
}

/* Corner positions */
.highlighted-box .top-left {
    inset-block-start: 0; /* Replaces top: 0 */
    inset-inline-start: 10px; /* Replaces left: 10px */
}

.highlighted-box .top-right {
    inset-block-start: 0; /* Replaces top: 0 */
    inset-inline-end: 10px; /* Adjusts for RTL and ensures visibility */
}

.highlighted-box .bottom-left {
    inset-block-end: 0; /* Replaces bottom: 0 */
    inset-inline-start: 10px; /* Replaces left: 10px */
}

.highlighted-box .bottom-right {
    inset-block-end: 0; /* Replaces bottom: 0 */
    inset-inline-end: 10px; /* Adjusts for RTL and ensures visibility */
}

.maildetails {
    width: 100%;
   
    align-content: end;

}
.blanklinecallout {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.line {
    flex-grow: 1;
    border-bottom: 1.5px solid #000;
    margin-left: 5px;
    margin-bottom: 8px;
  margin-right:5px;
 
   
}
.jtext{
    display: inline-block;
    margin-top: -24px;
    margin-inline-start: 45px;
}

.Checkboxsize {  
    width: 14px;  
    height: 14px;  
    background-color: white;  
    border-radius: 5%;  
    vertical-align: middle;  
    border: 1px solid gray;  
    appearance: none;  
    -webkit-appearance: none;  
    outline: none;  
   }  

  .line12 {
    width: 6%;
    display: inline-block;
    border-bottom: 1.5px solid #000;
    height: 18px;
   
}
.divTableRow{
    display: table-row;
}
.divTableCell{
    display: table-cell;
    width:50%;
    padding-inline-start: 10px;
    padding-bottom: 5px;
    vertical-align: bottom;
}
.divTableCellz{
    display: table-cell;
    text-align: end !important;
}
.linemail {
    width: 100%;
    display: inline-block;
    border-bottom: 1.5px solid #000;
    height: 18px;
   
}
.linesm1 {
    width: 7%;
    display: inline-block;
    border-bottom: 1.5px solid #000;
    height: 18px;
   
}
.final{
    text-align: center !important;
}
.last-line1{
    display: inline-block;
    border-bottom: 1px solid black;
    width: 350px;
    height: 19px;
   margin-inline-end:30px !important;
   }
   .last-line2{
    display: inline-block;
    border-bottom: 1px solid black;
    width: 260px;
    height: 19px;
    margin-left: 5px;
   }

   .divTableCellq {
	display: table-cell;
    white-space: nowrap;

}
.date{
    text-align: left;
}
.ltr-embed {
    direction: ltr; /* Forces LTR direction */
    unicode-bidi: isolate; /* Ensures the content is treated as isolated LTR text */
}
.NameOffice{
    margin-top:20px;
}
.divTableRow1{
    display: table-row;
}
@media only screen and (max-width: 768px)
 {
    .header_container {
    flex-direction: column;
    justify-content: center;
    align-items: center !important;
}
.Logo{
    margin-top:20px;
}
.Lleft1 {
    margin-top:-10px;
}
.highlighted-box {
    width: 100%; /* Full width for very small screens */
    height: 130px; /* Adjust height further */
    margin-left: 10px;
    margin-right: 10px;
}

.divTableRow1{
    display: grid;
}

.highlighted-box .top-left,
.highlighted-box .bottom-left {
    left: 5px; /* Adjust corners for very small screens */
}
.maildetails{
    width:85%;
padding-left:0;
padding-right:0;
}
.last-line1{
    margin-bottom:10px;
    width:100%;
}
.last-line2{
    width:100%;
    margin-left: 0;
}

.form-field {
    display: block;
}
.line{
    margin-left:0;
}
.divTableCellD1 {
    display: block;
    padding:0;
    width: 82%;
}
    .divTableCellD3 {
    padding-top:10px;
    padding-left:0;
    padding:0;
    
    }
    .DeclareTable{width:100%;}
    .line12{width:15%;}
    .linesm1 {
        width: 11%;
        display: inline-block;
        border-bottom: 1.5px solid #000;
        height: 18px;
    }
}

@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) 

{    .highlighted-box {
    width: 60%;
margin-left:15px;}

.maildetails{
    width:45%;
}

}