/* Shared responsive safeguards for restored public HTML pages. */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg,
video,
canvas,
iframe,
embed,
object {
  max-width: 100%;
}

img,
video,
canvas {
  height: auto;
}

main table,
#maincontent table {
  max-width: 100%;
}

@media (max-width: 767px) {
  body {
    overflow-x: clip;
  }

  .container,
  .container-fluid,
  .container-md,
  .container-lg,
  .container-xl,
  .simple-container {
    width: 100%;
  }

  .global-header .navbar-toggler,
  .global-header .btn,
  .global-header button,
  #BackToTop,
  a.btn,
  button {
    min-height: 44px;
    min-width: 44px;
  }

  .global-header .navbar-brand img {
    max-height: 34px;
    width: auto;
  }

  .carousel-control-next,
  .carousel-control-prev {
    min-height: 44px;
    min-width: 44px;
  }

  main table,
  #maincontent table {
    display: block;
    width: 100% !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  main td,
  main th,
  #maincontent td,
  #maincontent th {
    overflow-wrap: anywhere;
  }

  .footer-nav .link-list,
  .footer-legal .link-list {
    margin-top: 1rem;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }
}

@media (min-width: 768px) {
  .global-header .navbar-toggler,
  .global-header .btn,
  .global-header button {
    min-height: 40px;
  }
}
