/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

@import url("chrome://global/skin/error-pages.css");

@media not (prefers-contrast) {
  :root {
    --background-color-canvas: #a4000f;
    --text-color: white;
    --button-text-color-primary: black;
    --button-background-color: transparent;
    --button-background-color-hover: #5a0002;
    --button-background-color-active: #3e0200;
    --button-background-color-primary: white;
    --button-background-color-primary-hover: rgba(255, 255, 255, 0.8);
    --button-background-color-primary-active: rgba(255, 255, 255, 0.7);
  }
}

.title {
  background-image: url("chrome://global/skin/icons/blocked.svg");
}

.button-container button {
  border: 1px solid white;
  margin-inline-end: 0;
  margin-top: 1.5em;
}

#advisory_provider {
  text-decoration: underline;
}

#errorDescriptionContainer {
  position: absolute;
  margin: 48px auto;
}

.error-description {
  min-width: var(--in-content-container-min-width);
  max-width: var(--in-content-container-max-width);
  color: black;
  background-color: white;
}

.error-description > p:first-child {
  padding: 3.5em 3.5em 1em;
}

.error-description > p:last-child {
  padding: 0 3.5em 3.5em;
}

.error-description #ignore_warning_link,
.error-description a:is(:link, :visited) {
  cursor: pointer;
  text-decoration: underline;
  color: black;
}

a:not(:link) {
  color: black;
  text-decoration: none;
  cursor: auto;
}

.sitename {
  font-weight: var(--font-weight-bold);
}
