.error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-container-page-width, 1560px);
  margin-left: auto;
  margin-right: auto;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
@media (max-width: 991.98px) {
  .error {
    flex-direction: column;
  }
}
@media (min-width: 992px) {
  .error > div {
    flex: 1 1 0;
  }
}

@media (max-width: 991.98px) {
  .error-img {
    order: -1;
    width: 100%;
  }
}
@media (min-width: 992px) {
  .error-img {
    display: flex;
    justify-content: flex-end;
  }
}
.error-img .img {
  display: block;
  content: "";
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  max-width: 510px;
  max-height: 441px;
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 441px;
}
.error-img .img iframe,
.error-img .img video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
@media (max-width: 991.98px) {
  .error-img .img {
    margin-left: auto;
    margin-right: auto;
  }
}

.lang-fr .error-en {
  display: none;
}

.lang-en .error-fr {
  display: none;
}

.user-logged-in .error-anonymous {
  display: none;
}

body:not(.user-logged-in) .error-logged-in {
  display: none;
}

.error-body {
  padding: 1rem;
}

.error-img--403 .img {
  background-image: url("../../img/error-403.svg");
}

.error-img--404 .img {
  background-image: url("../../img/error-404.svg");
}
