/* Community theme: rules every page needs, signed in or out. */

/* Cookie notice. Its background came from the header setting with fixed white text, which
   disappears on a light header. Pair the style's own pop-up and text colors instead. */
.cc-window.cc-window.cc-window {
  background-color: var(--bms-popover, #1f2933) !important;
  color: var(--bms-ink, #ffffff) !important;
  border: 1px solid var(--bms-line, #4a5b64);
}

.cc-window.cc-window.cc-window .cc-link,
.cc-window.cc-window.cc-window .cc-link:visited {
  color: inherit !important;
  text-decoration: underline;
}

/* Pinch zoom is allowed. iPhones and iPads zoom into a field whose text is under 16px
   when it is tapped, so keep field text at 16px there. */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 1024px) {
    input:not([type]),
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="search"],
    input[type="tel"],
    input[type="url"],
    input[type="number"],
    select,
    textarea {
      font-size: 16px !important;
    }
  }
}

/* Phones: a closed dropdown or a wide table can reach past the screen edge and let the whole page slide sideways
   (Channel scrolled 200px). Clip the page area; lists that scroll on purpose (tab rows, tables) keep their own scroll. */
@media (max-width: 767px) {
  #contnet {
    overflow-x: clip;
  }
}
