
/*
  FONT R19
*/

@font-face {
  font-family: 'halifaxregular';
  src: url('../fonts/halifax/halreg-webfont.woff2') format('woff2'),
       url('../fonts/halifax/halreg-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {  
  font-family: "halifaxregular",Helvetica,Arial,sans-serif;
  font-size: 15px;
  letter-spacing: normal;
  line-height: 20px;
  color: #000;
  background: #fff;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Block: error-page
****************************/

.main-error-page {
  width: 100%;
  min-height: 100%;
}
  
.error-page {
  max-width: 550px;
  margin: 0 auto;
  padding: 100px 0;
}

.error-page__title {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-bottom: 40px;
  text-align: center;
}

.error-page__title > a {  
  display: block;
}

.error-page__logo {  
  display: block;
  width: 222px;
  height: 26px;
}

.error-page__desc span {
  display: block;
  font-size: 15px;
  line-height: 18px;
  font-weight: 300;
  margin-bottom: 25px;
}

.error-page__link {
  margin: 45px 0 25px;
  font-size: 15px;
  line-height: 18px;
  font-weight: 300;
  text-align: center;
}

.error-page__link a {  
  text-decoration: underline;
}

.error-page__link a,
.error-page__link a:focus,
.error-page__link a:visited,
.error-page__link a:hover {
  color: #000;
}

.error-page__social {
  margin-top: 40px;
  text-align: center;
  font-size: 15px;
  line-height: 18px;
  text-transform: uppercase;
}

.error-page__social__follow {
  margin-top: 5px;
}

.error-page__social__follow > ul {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  list-style: none;
}

.error-page__social__follow > li {
  display: inline-block;
  list-style: none;  
}

.error-page__social__link {
  display: inline-block;
  margin-bottom: 0;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;      
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;    
  text-decoration: none;
}

.error-page__social__icon {
  display: block;
  width: 20px;
  height: 20px;
}

@media (max-width: 767px) {
  .main-error-page .error-page {
    padding: 28px 15px 38px;
  }
  
  .error-page__title {
    margin-bottom: 25px;
  }

  .error-page__logo {
    width: 205px;
    height: 24px;
  }

  .error-page__social {
    margin-top: 30px;
  }
}