@font-face {
  font-family: 'Proxima Nova';
  src: url('proxima-regular.eot');
  src: url('proxima-regular.eot?#iefix') format('embedded-opentype'),
       url('proxima-regular.woff') format('woff'),
       url('proxima-regular.ttf') format('truetype'),
       url('proxima-regular.svg#proxima_nova_rgregular') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Proxima Nova';
  src: url('proxima-bold.eot');
  src: url('proxima-bold.eot?#iefix') format('embedded-opentype'),
       url('proxima-bold.woff') format('woff'),
       url('proxima-bold.ttf') format('truetype'),
       url('proxima-bold.svg#proxima_nova_rgbold') format('svg');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: 'Proxima Nova';
  src: url('proxima-semibold.eot');
  src: url('proxima-semibold.eot?#iefix') format('embedded-opentype'),
       url('proxima-semibold.woff') format('woff'),
       url('proxima-semibold.ttf') format('truetype'),
       url('proxima-semibold.svg#proxima_nova_semibold') format('svg');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Icons';
  src: url('enjoei.eot');
  src: url('enjoei.eot?#iefix') format('embedded-opentype'),
       url('enjoei.woff') format('woff'),
       url('enjoei.ttf') format('truetype'),
       url('enjoei.svg#enjoei') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'icomoon';
  src: url('icomoon.eot');
  src: url('icomoon.eot?#iefix') format('embedded-opentype'),
       url('icomoon.woff') format('woff'),
       url('icomoon.ttf') format('truetype'),
       url('icomoon.svg#enjoei') format('svg');
  font-weight: normal;
  font-style: normal;
}

.icon {
  font-family: 'Icons';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}

.icon-twitter:before {
  content: "\74";
}

.icon-facebook:before {
  content: "\66";
}

.icon-googleplus:before {
  content: "\21";
}

.icon-pinterest:before {
  content: "\22";
}

.icon-tumblr:before {
  content: "\23";
}

.icon-instagram:before {
  content: "\69";
}

.icon-soundcloud:before {
  content: "\24";
}

body {
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
  font-family: 'Proxima Nova', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #5b5855;
}

body.is-white {
  background: #fff;
}

.error-pages {
  text-align: center;
  position: absolute;
  width: 100%;
  top: 50%;
}

.error-500 {
  height: 496px;
  margin-top: -248px;
}

.logo {
  opacity: .45;
}

.error-500 .logo {
  margin-top: 0;
}

.maintenance {
  height: 624px;
  margin-top: -312px;
}

.maintenance .logo {
  margin-top: 90px;
}

.picture, .content {
  margin: 0 10px;
  display: inline-block;
  vertical-align: top;
}

.title {
  margin: 40px 0 30px;
  font-size: 30px;
  font-family: 'Proxima Nova';
  font-weight: 800;
}

.title-text {
  display: none;
}

.button {
  display: inline-block;
  padding: 0 16px;
  box-sizing: border-box;
  height: 40px;
  background-color: #fff;
  box-shadow: 0 2px 0 #e4e1df;
  border: 1px solid #e4e1df;
  color: #5b5855;
  position: relative;
  line-height: 40px;
  font-size: 12px;
  font-family: 'Proxima Nova';
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 3px;
  width: 170px;
}

.button:hover {
  background: #eaeaea;
}

.social {
  list-style: none;
  padding: 10px 0 8px;
  margin: 40px auto 0;
  display: block;
  width: 270px;
  border-top: 1px solid #cacaca;
  border-bottom: 1px solid #cacaca;
  font-size: 20px;
  line-height: 20px;
}

.social li {
  display: inline-block;
}

.social li a {
  text-decoration: none;
  color: #7d7a77;
  display: block;
  margin: 0 2px;
  padding: 5px;
}

.social li a.icon-facebook:hover   { background: #26467f; color: white; }

.social li a.icon-twitter:hover    { background: #22a5dd; color: white; }

.social li a.icon-pinterest:hover  { background: #d73532; color: white; }

.social li a.icon-instagram:hover  { background: #517FA4; color: white; }

.social li a.icon-tumblr:hover     { background: #2C4762; color: white; }

.social li a.icon-soundcloud:hover { background: #f60; color: white; }

.social li a.icon-googleplus:hover { background: #333333; color: white; }

@media (max-width: 38em) {
  .error-pages {
    position: relative;
    top: auto;
  }

  .error-500 {
    position: absolute;
    height: 430px;
    top: 50%;
    margin-top: -215px;
  }

  .picture {
    display: block;
    margin: 15px auto;
  }

  .picture img {
    display: block;
    width: 100%;
  }

  .logo,
  .title,
  .button,
  .social {
    display: none;
  }

  .title-text {
    display: block;
  }

  .content {
    margin: 0;
  }

  .text {
    display: block;
    margin: 15px 0;
    font: 14px/18px 'Proxima Nova';
    color: #7d7a77;
  }

  #search-form, #misc-text {
    display: none;
  }

  .maintenance {
    margin-top: 0;
    height: auto;
  }

  .maintenance .picture img {
    width: 40%;
    margin: 0 auto;
  }
}

.search-form {
  position: relative;
  display: inline-block;
  line-height: 1rem;
  vertical-align: baseline;
}

.search-form-input {
  width: 300px;
  padding: 14px 10px 12px;
  margin: 0;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #ddd9d4;
  outline: 0;
  background: white;
  border-radius: 3px;
  -webkit-font-smoothing: antialiased;
  -webkit-appearance: none;
  font-size: 13px;
  color: #5b5855;
  font-family: "Proxima Nova", sans-serif;
  font-weight: 600;
  -webkit-transition: box-shadow .3s ease 0s;
  transition: box-shadow .3s ease 0s;
  letter-spacing: .1px;
  white-space: nowrap;
}

.search-form-input::-webkit-input-placeholder {
  color: #5b5855;
}

.search-form-input:focus {
  box-shadow: 0 0 5px #e4e1e1;
}

.search-form-button {
  background: none;
  box-shadow: 0 0 0 transparent;
  border: 0;
  cursor: pointer;
  position: absolute;
  top: 12px;
  right: 8px;
}

.search-form-icon {
  font-size: 17px;
  display: inline-block;
  vertical-align: middle;
  font-family: 'icomoon';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  color: #9b9894;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-transition: color .25s ease 0s;
  transition: color .25s ease 0s;
}

.search-form-icon:hover {
  color: #8f8b87;
}

.search-form-icon:before {
  content: "\e600";
}

.error-404 {
  background: #FFF;
  text-align: center;
  padding-bottom: 30px;
}

.error-404__wrapper {
  max-width: 315px;
  margin: 0 auto;
  padding: 30px;
}

.error-404-icon {
  display: inline-block;
  height: 24px;
  width: 24px;
  vertical-align: middle;
  fill: currentColor;
}

.error-404__logo {
  display: inline-block;
  margin: 0 auto;
  height: 36px;
}

.error-404__logo svg {
  height: 100%;
}

.error-404__picture {
  width: 140px;
  margin: 0 auto;
}

.error-404__picture img {
  width: 100%;
}

.error-404__title {
  margin: 10px 0 0;
  font-family: "Proxima Nova";
  font-size: 24px;
  font-weight: 800;
  color: #5B5855;
}

.error-404__text {
  margin: 10px 0 30px;
  font-family: "Proxima Nova";
  font-size: 16px;
  color: #7D7A77;
  line-height: 1.3;
}

.error-404__search-form {
  position: relative;
  margin: 0 auto;
}

.error-404__search-input {
  border: 1px solid #E4E1DF;
  border-radius: 3px;
  font-family: "Proxima Nova";
  font-size: 16px;
  padding: 15px 15px 14px 50px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  color: #5b5855;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.error-404__search-input:focus {
  outline: 0;
}

.error-404__search-button {
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  padding: 0;
  font-size: 24px;
  color: #7D7A77;
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-4px);
}

.error-404__search-input:focus + .error-404__search-button {
  color: #61005D;
}

.error-404__back-button {
  display: inline-block;
  width: 100%;
  background: #FFF;
  border: 1px solid #EDEAE8;
  border-bottom-width: 3px;
  border-radius: 3px;
  padding: 10px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-family: "Proxima Nova";
  font-size: 16px;
  font-weight: 600;
  color: #61005D;
  text-decoration: none;
}

.error-404__separator {
  position: relative;
  text-align: center;
  margin: 10px 0;
}

.error-404__separator::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: #EDEAE8;
  position: absolute;
  top: 50%;
  left: 0;
}

.error-404__separator-text {
  display: inline-block;
  position: relative;
  z-index: 2;
  font-family: "Proxima Nova";
  font-size: 14px;
  color: #CAC5BF;
  padding: 0 10px;
  background: #FFF;
}

.page-not-found__container,
.internal-error__container {
  display: flex;
  flex-direction: column;
}

.page-not-found__header,
.internal-error__header {
  display: flex;
  justify-content: center;
  height: 70px;
  border-bottom: 1px solid #e2e0e2;
}

.page-not-found__link,
.internal-error__link {
  height: 30px;
}

.page-not-found__logo,
.internal-error__logo {
  width: 30px;
  height: 30px;
  padding: 20px 0;
}

.page-not-found__content,
.internal-error__content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 246px auto;
}

.page-not-found__title,
.internal-error__title {
  margin: 0 0 8px;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  color: #222222;
}

.page-not-found__title {
  width: 230px;
}


.page-not-found__message,
.internal-error__message {
  margin: 0 0 32px;
  width: 334px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #5c525b;
}

.page-not-found__message {
  width: 304px;
}

.page-not-found__button-wrapper,
.internal-error__button-wrapper {
  align-self: center;
}

.page-not-found__button,
.internal-error__button {
  display: inline-block;
  color: #61005d;
  background: #fff;
  border: 1.5px solid #61005d;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  border-radius: 20px;
  text-decoration: none;
}

.page-not-found__button:hover,
.internal-error__button:hover {
  color: #fff;
  border-color: #7e237b;
  background-color: #7e237b;
}

@media (min-width: 900px) {
  .error-404__logo {
    margin-bottom: 30px;
  }

  .error-404__picture {
    width: 205px;
  }

  .error-404__wrapper {
    max-width: 630px;
  }

  .error-404__title {
    margin-top: 40px;
  }

  .error-404__text {
    margin-bottom: 40px;
  }

  .error-404__text-row {
    display: block;
  }

  .error-404__action-group {
    max-width: 315px;
    margin: 0 auto;
  }

  .page-not-found__content,
  .internal-error__content {
    margin: 262px auto;
  }

  .page-not-found__title,
  .internal-error__title {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 32px;
  }

  .page-not-found__title {
    width: auto;
  }

  .page-not-found__message {
    width: auto;
  }

  .page-not-found__message,
  .internal-error__message {
    width: 360px;
  }
}
