/* 131_hlc_error_page_fixes - Error / 404 page styles (scoped to .errorPage) */

.errorPage {
  background-color: #f2f3f3 !important;
}

.container:has(.errorPage) {
  background-color: #f2f3f3 !important;
}

.container:has(.errorPage)  {
  max-width: 100% !important;
}

body:has(.errorPage) header .inner {
  padding-top: 68px;
  position: relative;
  z-index: 20;
}

/* Bootstrap-style container wrapper around error page content */
#content.container:has(.errorPage) {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 992px) and (max-width: 1300px) {
  #content.container:has(.errorPage) {
    width: 100%;
    padding-right: 30px;
    padding-left: 30px;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (min-width: 576px) {
  #content.container:has(.errorPage) {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  #content.container:has(.errorPage) {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  #content.container:has(.errorPage) {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  #content.container:has(.errorPage) {
    max-width: 1140px;
  }
}

@media (min-width: 1300px) {
  #content.container:has(.errorPage) {
    max-width: 1200px;
  }
}

.errorPage {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  padding: 30px 15px;
}

.errorPage *,
.errorPage *::before,
.errorPage *::after {
  box-sizing: border-box;
}

.errorPage .inner {
  width: 1188px;
  max-width: 100%;
  margin: 0;
  padding: 40px 80px;
}

.errorPage h1 {
  font-size: 32px;
  line-height: 1.2em;
  margin: 0 0 25px;
  font-weight: 400;
  font-family: roobert_light, sans-serif;
  color: #002236;
}

.errorPage .search-container {
  display: inline-block;
  width: 442px;
  max-width: 100%;
  border: 1px solid #002236;
  height: 50px;
  position: relative;
  vertical-align: top;
  background-color: #fff;
}

.errorPage .search-container input[type=text] {
  width: 100%;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  position: absolute;
  font-size: 14px;
  font-family: roobert_medium, sans-serif;
  font-weight: 400;
  color: #002236;
  background-color: transparent;
  padding-left: 27px;
  padding-right: 40px;
  height: 100%;
  border: none;
  border-radius: 0;
  -webkit-appearance: none;
}

.errorPage .search-container input[type=text]::placeholder {
  font-size: 14px;
  color: #002236;
  opacity: 1;
}

.errorPage .search-container input[type=text]::-webkit-input-placeholder {
  font-size: 14px;
  color: #002236;
}

.errorPage .search-container input[type=text]:-moz-placeholder {
  font-size: 14px;
  color: #002236;
}

.errorPage .search-container input[type=text]::-moz-placeholder {
  font-size: 14px;
  color: #002236;
  opacity: 1;
}

.errorPage .search-container input[type=text]:-ms-input-placeholder {
  font-size: 14px;
  color: #002236;
}

.errorPage .search-container input[type=submit] {
  width: 18px;
  height: 19px;
  background-image: url(/Assets/images/icon-search.png);
  background-size: cover;
  background-color: transparent;
  position: absolute;
  right: 16px;
  top: 50%;
  margin-top: -9px;
  display: block;
  border: none;
  border-radius: 0;
  cursor: pointer;
  -webkit-appearance: none;
}

.errorPage #txtGlobalSearchResult {
  padding: 14px 38px 14px 18px;
}

.errorPage .pageNotFoundFormBox .search-container {
  margin-bottom: 20px;
}

.errorPage .pageNotFoundFormBox label {
  display: none;
}

.errorPage .pageNotFoundFormBox .related-links h3 {
  font-size: 10px !important;
  margin: 0 0 0.5rem;
  font-family: roobert_regular, sans-serif;
  font-weight: 400;
  line-height: 1.2;
  color: inherit;
}

.errorPage .related-links {
  margin-bottom: 20px;
}

.errorPage .related-links:last-child {
  margin-bottom: 0;
}

.errorPage .related-links ul {
  clear: both;
  margin: 0 0 0 30px;
  padding: 0;
  list-style: disc;
  font-family: roobert_regular, sans-serif;
}

.errorPage .related-links ul li {
  font-size: 14px;
  line-height: 1.3em;
  color: inherit;
}

.errorPage .related-links ul li a {
  font-size: 14px;
  color: #002236;
  text-decoration: none;
}

@media (max-width: 1220px) {
  .errorPage {
    padding: 30px 20px;
  }

  .errorPage .inner {
    padding: 0 20px;
  }
}

@media (max-width: 991px) {
  .errorPage .search-container {
    top: 0;
  }
}
