﻿/* See also the header in Administration Overview :: Email Templates :: FACTS :: EFORM_HEADER */
/* The header has a viewport meta tag to make eForms adapt to phone screens nicely. */

/* Common rules start */

  table[id^="ctl00_ContentPlaceHolder1_IntQuestResponse1_eform_"] {
    width: 100% !important;
    max-width: 1150px;
  }

  .eformLabel {
    font-family: sans-serif;
  }

  textarea {
    border: 2px dotted #A0A0A0 !important;
  }

/* Common rules end */


/* Per-eForm rules start */

  /* Planned Staff Absence 2.0 */

  table#ctl00_ContentPlaceHolder1_IntQuestResponse1_eform_60 textarea#ctl00_ContentPlaceHolder1_IntQuestResponse1_QuestResponseGridview_ctl02_QuestRepeatGridview_ctl02_QuestResponseDataList_ctl09_ResponseMultilineTextBox {
    height: 15em;
  }


  /* Guest COVID-19 Vaccination Register */

  table#ctl00_ContentPlaceHolder1_IntQuestResponse1_eform_88 {
    max-width: 1000px;
  }


  /* Student COVID-19 Vaccination Register */

  table#ctl00_ContentPlaceHolder1_IntQuestResponse1_eform_90 {
    max-width: 1000px;
  }

/* Per-eForm rules end */


/* Mobile phone rules start */

@media only screen and (orientation: portrait) {

  #ctl00_ContentPlaceHolder1_IntQuestResponse1_QuestionnaireDiv span.eformLabel,
  #ctl00_ContentPlaceHolder1_IntQuestResponse1_QuestionnaireDiv input,
  #ctl00_ContentPlaceHolder1_IntQuestResponse1_QuestionnaireDiv select,
  #ctl00_ContentPlaceHolder1_IntQuestResponse1_QuestionnaireDiv textarea {
    font-size: 1.2em;
  }

  div#ctl00_ContentPlaceHolder1_IntQuestResponse1_StudentSelect_Panel {
    left: 0px !important;
    width: 100% !important;
  }

}

/* Mobile phone rules end */
