.form-submit-button {
    display: none !important;
  }

  /* Hide Print Button */
  #print-preview {
    display: none !important;
  }
  
  /* Hiding Language dropdown*/
  #form-element-wrapper_1 {
      visibility: hidden !important;
    }

#form-element-wrapper_2{
    display: none;
}
.blanklinecallout {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.header_container {
    display: flex;
    justify-content: space-between;
    column-gap: 30px !important;
}
ul,ol{
    margin-inline-start:25px;
}
    .divTableRow {
    display: table-row;
  }
.divTableCellN {
    display: table-cell;
    padding-top: 6px;
    padding-inline-end: 3px;
    width: 65%;
    text-align: end !important;
    vertical-align: bottom;
}
:lang(ar).divTableCellN, :lang(fa).divTableCellN {
    display: table-cell;
    padding-top: 6px;
    padding-inline-end: 3px;
    width: 65%;
    text-align: end !important;
    vertical-align: baseline;
}

     .blank-line1 {
    display: inline-block;
    border-bottom: 1px solid black;
    width: 235px;
    padding-inline-start: 2px;
    padding-inline-end: 2px;
    height: 17px;
}
     .blank-line2 {
    display: inline-block;
    border-bottom: 1px solid black;
    width: 235px;
    padding-inline-start: 2px;
    padding-inline-end: 2px;
    height: 17px;
}
     .blank-line3 {
    display: inline-block;
    border-bottom: 1px solid black;
    width: 235px;
    padding-inline-start: 2px;
    padding-inline-end: 2px;
    height: 0px;
}
.blank-line {
    display: inline-block;
    border-bottom: 1px solid black;
    width: 13%;
    height: 17px;
    margin-inline-start: 3px;
    margin-inline-end: 5px;
}
.blank-line4 {
    display: inline-block;
    border-bottom: 1px solid black;
    width: 21%;
    height: 17px;
    margin-inline-start: 3px;
    margin-inline-end: 5px;
}
.grey-box {
    background-color: #e5e5e5;
    width: 400px;
    border-radius: 10px;
    padding-bottom: 15%;
    float: left;
    position: relative;
}
.doc{
  max-width: 900px;
  color:#111;
  line-height:1.6;
  position: relative;
}

.doc .header_container {
  display: flex;
  justify-content: space-between;
  column-gap: 30px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.doc .header_container h1{
  font-size: 22px;
  white-space: pre-line;
  margin:0;
}
.doc .meta-box{ text-align:right; font-size:14px; }
.doc .meta-box div{ margin-bottom:4px; }

.doc .blank-line1X {
  display: inline-block;
  border-bottom: 1px solid black;
  min-width: 110px;
  padding: 0 2px;
  height: 17px;
  margin-inline-start: 5px;
}

/*.doc .form-item{ padding-bottom: 16px; }*/

.doc .form-code-footer{
  margin-top:30px;
  display:flex;
  justify-content:space-between;
  font-size:12px;
  color:#333;
  border-top:1px solid #ccc;
  padding-top:6px;
}

/* ===== CSS-only fake dropdown, valid nesting (span inside span), no id/for ===== */
.doc .fakeSelect{
  position: relative;
  display: inline-block;
  vertical-align: middle;
  font: inherit;
}

.doc .fakeSelect input[type="radio"],
.doc .fakeSelect input.dd-toggle{
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.doc .fakeSelect .trigger{
  display: inline-block;
  background: #e5e5e5;
  padding: 2px 22px 2px 6px;
  cursor: pointer;
  font-style: italic;
  position: relative;
  min-width: 260px;
  max-width: 100%;
}
.doc .fakeSelect .trigger::after{
  content: "\25BE";
  position: absolute;
  right: 6px;
  top: 1px;
  font-size: 12px;
  font-style: normal;
}

/* Base/safe state: hidden by default regardless of whether @media survives.
   If SimplyGov strips @media blocks entirely, this is the fallback that
   keeps things looking like a closed dropdown instead of a broken stray box. */
.doc .fakeSelect .options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #999;
  z-index: 20;
  min-width: 420px;
  max-width: 600px;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
  height: auto !important;
  overflow: visible !important;
}

.doc .fakeSelect .options label {
  display: block;
  padding: 5px 8px;
  cursor: pointer;
  font-style: italic;
  min-height: 1.4em;
  min-width: 100%;
  box-sizing: border-box;
  white-space: normal !important;
  line-height: 1.6 !important;
}
.doc .fakeSelect .options label:hover{
  background: #f0f0f0;
}

/* ===== Click to open: dd-toggle is a RADIO in the same group (element20) as
   the two option radios. Clicking an option therefore unchecks dd-toggle
   automatically, which closes the panel on the FIRST click. No JS needed. ===== */
.doc .fakeSelect:has(.dd-toggle:checked) .options{
  display: block;
}

/* Force BOTH option rows to always display inside the panel,
   overriding any opt-di/opt-pfl hide logic and any Google Translate font wrapping */
.doc .fakeSelect .options .opt-row,
.doc .fakeSelect .options .opt-row font {
  display: block !important;
  visibility: visible !important;
  white-space: normal !important;
}

/* ===== Option text swapping ===== */
.doc .opt-text{ display: none; }

.doc .opt-text.underline-name{
  text-decoration: underline;
  font-style: italic;
}
.doc .opt-text.underline-only{
  text-decoration: underline;
}

/* DEFAULT STATE = Disability Insurance.
   This is also the state shown while the panel is open (no option radio checked),
   so the trigger and paragraphs never go blank. */
.doc .para1 .trigger .opt-di,
.doc .para2 .opt-di,
.doc .para3 .opt-di { display: inline; }

.doc .para1 .trigger .opt-pfl,
.doc .para2 .opt-pfl,
.doc .para3 .opt-pfl { display: none; }

/* PFL SELECTED -> swap trigger + para2 + para3 */
.doc:has(.para1 .radio-pfl:checked) .para1 .trigger .opt-di,
.doc:has(.para1 .radio-pfl:checked) .para2 .opt-di,
.doc:has(.para1 .radio-pfl:checked) .para3 .opt-di { display: none; }

.doc:has(.para1 .radio-pfl:checked) .para1 .trigger .opt-pfl,
.doc:has(.para1 .radio-pfl:checked) .para2 .opt-pfl,
.doc:has(.para1 .radio-pfl:checked) .para3 .opt-pfl { display: inline; }

.form-section {
    display: block;
    overflow: auto;
     padding-left: 0px !important;
    padding-bottom: 16px;
    outline: none;
    width: 100%;
}


  @media only screen and (max-width: 768px)
 {

    .header_container {
      flex-direction: column;
        justify-content: center;
        align-items: center !important;
    }
        .grey-box {
        background-color: #e5e5e5;
        width: 350px;
        margin-bottom: 30px;
        border-radius: 10px;
        padding-bottom: 30%;
        float: left;
        position: relative;
    }
    .Lright {
        /* width: auto; */
        padding-inline-end: 0px !important;
    }
.blank-line2 {
    display: inline-block;
    border-bottom: 1px solid black;
    width: 200px;
    padding-inline-start: 2px;
    padding-inline-end: 2px;
    height: 17px;
}
  .blank-line1 {
    display: inline-block;
    border-bottom: 1px solid black;
    width: 200px;
    padding-inline-start: 2px;
    padding-inline-end: 2px;
    height: 17px;
}
.blank-line {
    width: 30%;}

.divTableCellNX {
    width: 100%;
    text-align: center !important;
    display: block;
    }
    :lang(ar).divTableCellNX,
  :lang(fa) .divTableCellNX {

    width: 100%;
    text-align: center !important;
    display: block;
  }
.blank-line1X {
    width: 100%;
    margin-inline-start:0px;}
    .divTableCellN {
        display: table-cell;
        padding-top: 15px;
        padding-inline-end: 3px;
        width: 89%;
        text-align: end !important;
    }
.blank-line4 {
    display: inline-block;
    border-bottom: 1px solid black;
    width: 50%;
    height: 17px;
    margin-inline-start: 3px;
    margin-inline-end: 5px;
}
.form-section {
    display: block;
    overflow: auto;
     padding-left: 0px !important;
    padding-bottom: 16px;
    outline: none;
    width: 100%;
}
:lang(km)    .divTableCellN {
        display: table-cell;
        padding-top: 15px;
        padding-inline-end: 7px !important;
        width: 89%;
        text-align: end !important;
    }
        .LLeft {
        margin-top: 0px !important;
        margin-bottom: 40px;
    }

    /* Panel sizing on narrow screens so it cannot overflow the viewport */
    .doc .fakeSelect .options{
      min-width: 0;
      max-width: 92vw;
      width: 92vw;
    }
    .doc .fakeSelect .trigger{
      min-width: 0;
      width: 100%;
    }

}



    /* 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;
         }
            .blank-line4 {
        display: inline-block;
        border-bottom: 1px solid black;
        width: 25%;
        height: 17px;
        margin-inline-start: 3px;
        margin-inline-end: 5px;
    }
      .grey-box {
        background-color: #e5e5e5;
        width: 350px;
        margin-bottom: 30px;
        border-radius: 10px;
        padding-bottom: 15%;
        float: left;
        position: relative;
    }
  .form-section {
    display: block;
    overflow: auto;
     padding-left: 0px !important;
    padding-bottom: 16px;
    outline: none;
    width: 100%;
}}



    @media screen and (max-device-width: 821px)
and (max-device-height: 1181px)
and (min-device-width: 819px)
and (min-device-height: 1179px) {
  :lang(ar).blank-line4 ,
   :lang(fa).blank-line4{
    display: inline-block;
    border-bottom: 1px solid black;
    width: 23.4%;
    height: 17px;
    margin-inline-start: 3px;
    margin-inline-end: 5px;
}
.blank-line4 {
    display: inline-block;
    border-bottom: 1px solid black;
    width: 23.4%;
    height: 17px;
    margin-inline-start: 3px;
    margin-inline-end: 5px;
}
}
