/* Compatibility fixes applied only to the migrated snapshot. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
video {
  height: auto;
  max-width: 100%;
}

@media (max-width: 768px) {
  #form1,
  #form1 table,
  #form1 tbody,
  #form1 tr {
    display: block;
    max-width: 100% !important;
    width: 100% !important;
  }

  #form1 td {
    box-sizing: border-box;
    display: block;
    height: auto !important;
    overflow-wrap: anywhere;
    padding: 4px 0 !important;
    text-align: left !important;
    width: 100% !important;
  }

  #form1 td:first-child {
    width: 100% !important;
  }

  #form1 input[type="text"]:not([name="validatecode"]),
  #form1 textarea {
    box-sizing: border-box;
    max-width: 100%;
    width: calc(100% - 12px) !important;
  }

  #form1 input[name="validatecode"] {
    box-sizing: border-box;
    max-width: 90px;
  }
}
