@font-face {
  font-family: "Avenir Next W01";
  font-weight: 700;
  src: url("/fonts/avenir_next-demi.eot?#iefix");
  src: url("/fonts/avenir_next-demi.eot?#iefix") format("eot"),
    url("/fonts/avenir_next-demi.woff2") format("woff2"),
    url("/fonts/avenir_next-demi.woff") format("woff"),
    url("/fonts/avenir_next-demi.ttf") format("truetype"),
    url("/fonts/avenir_next-demi.svg#avenir-demi") format("svg");
  font-display: optional;
}

@font-face {
  font-family: "Avenir Next W01";
  font-weight: 600;
  src: url("/fonts/avenir_next-medium.eot#iefix");
  src: url("/fonts/avenir_next-medium.eot#iefix") format("eot"),
    url("/fonts/avenir_next-medium.woff2") format("woff2"),
    url("/fonts/avenir_next-medium.woff") format("woff"),
    url("/fonts/avenir_next-medium.ttf") format("truetype"),
    url("/fonts/avenir_next-medium.svg#avenir-medium") format("svg");
  font-display: optional;
}

@font-face {
  font-family: "Avenir Next W01";
  font-weight: 700;
  src: url("/fonts/avenir_next-bold.eot#iefix");
  src: url("/fonts/avenir_next-bold.eot#iefix") format("eot"),
    url("/fonts/avenir_next-bold.woff2") format("woff2"),
    url("/fonts/avenir_next-bold.woff") format("woff"),
    url("/fonts/avenir_next-bold.ttf") format("truetype"),
    url("/fonts/avenir_next-bold.svg#avenir-bold") format("svg");
  font-display: optional;
}

html,
body {
  margin: 0;
  padding: 0;

  width: 100vw;
  height: 100vh;

  color: #222;

  font-family: "Avenir Next", "Avenir Next W01", "Avenir", helvetica, arial,
    sans-serif;
}

.container {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 4em 0;
}

.message {
  text-align: center;
  margin: auto;
  font-size: 48px;
  max-width: 85%;
  position: relative;
}

.error-image {
  max-width: 70%;
}

h1 {
  font-size: 36px;
}

h1 a {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 2px 2px;
  background-repeat: repeat-x;
  background-position: 0% 95%;
}

h2 {
  margin-top: 1.5em;
  font-size: 18px;
}

@media all {
  @media (max-width: 723px) {
    .hide-on-xs {
      display: none !important;
    }
  }

  body input {
    margin: 0;
    border: 0;
    padding: 0;
    display: inline-block;
    vertical-align: middle;
    white-space: normal;
    background: none;
    -webkit-appearance: none;
  }

  body input:focus {
    outline: 0;
  }

  body input {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
  }

  h1 {
    font-size: 36px;
    font-weight: 700;
  }

  svg {
    fill: currentColor;
  }

  ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .container {
    padding: 4em 0;
    margin-left: auto;
    margin-right: auto;
    max-width: 1444px;
  }
  .container.web {
    padding: 2em;
  }
  @media (max-width: 1443px) {
    .container.web {
      padding: 1.5em;
    }
  }
  @media (max-width: 483px) {
    .container.web {
      padding: 1em;
    }
  }
  body input[type="text"] {
    display: inline-block;
    width: 100%;
    padding: 0.5em 0.75em;
    font-size: 1.33333em;
    font-weight: 700;
    color: #222;
    border: 0.25em solid #eee;
    border-radius: 0.5em;
    background: white;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }
  body input[type="text"]::-webkit-input-placeholder {
    color: #ccc;
    opacity: 1;
  }
  body input[type="text"]:-moz-placeholder {
    color: #ccc;
    opacity: 1;
  }
  body input[type="text"]::-moz-placeholder {
    color: #ccc;
    opacity: 1;
  }
  body input[type="text"]:-ms-input-placeholder {
    color: #ccc;
    opacity: 1;
  }
  body input[type="text"]::selection {
    background: rgba(51, 51, 51, 0.2);
  }
  body input[type="text"]::-moz-selection {
    background: rgba(51, 51, 51, 0.2);
  }
  @media (max-width: 483px) {
    body input[type="text"] {
      border-width: 4px;
    }
  }
  a > svg {
    pointer-events: none;
  }
  .errors-layout .container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    justify-content: center;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -moz-box-flex: 1;
    -moz-flex: 1;
    -ms-flex: 1;
    flex: 1;
    width: 100%;
    height: 100%;
  }
  .site-header {
    width: 100%;
    font-weight: 700;
    line-height: 1;
  }
  .site-header .container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    justify-content: space-between;
  }
  .site-header a {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    align-items: center;
  }
  .site-header .left-group,
  .site-header .right-group {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    align-items: center;
  }
  .site-header .logo {
    display: block;
    margin-right: 1em;
    height: 1.5em;
  }
  .site-header .logo.search {
    margin-right: 1.25em;
  }
  @media (max-width: 1443px) {
    .site-header .logo {
      margin-right: 0.75em;
      height: 1.25em;
    }
  }
  @media (max-width: 1024px) {
    .site-header .logo.search {
      margin-right: 1em;
    }
  }
  @media (max-width: 483px) {
    .site-header .logo {
      margin-right: 0.5em;
      height: 1.125em;
    }
    .site-header .logo.search {
      margin-right: 0.5em;
      height: 1.125em;
    }
  }
  .site-header .logo svg {
    width: auto;
    height: 1.5em;
  }
  @media (max-width: 1443px) {
    .site-header .logo svg {
      height: 1.25em;
    }
  }
  @media (max-width: 483px) {
    .site-header .logo svg {
      height: 1.125em;
    }
  }
  .site-header .navigation {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
  }
  .site-header .navigation a {
    padding: 0.5em 0.75em;
  }
  @media (max-width: 1443px) {
    .site-header .navigation a {
      padding: 0.375em 0.5em;
    }
  }
  @media (max-width: 483px) {
    .site-header .navigation a {
      padding: 0.25em 0.375em;
    }
  }
  .site-header .navigation svg {
    max-height: 1em;
    max-width: 1.25em;
  }
  .site-header .navigation span {
    margin-left: 1em;
  }
  @media (max-width: 1443px) {
    .site-header .navigation span {
      margin-left: 0.75em;
    }
  }
  @media (max-width: 483px) {
    .site-header .navigation span {
      margin-left: 0.5em;
    }
  }
  .site-header .sign-in,
  .site-header .sign-up {
    font-size: 0.875em;
  }
  @media (max-width: 483px) {
    .site-header .sign-in,
    .site-header .sign-up {
      padding: 0.5em 0.75em;
    }
  }
  .site-header .sign-in {
    border-color: transparent;
    padding-right: 1em;
  }
  @media (max-width: 483px) {
    .site-header .sign-in {
      padding-right: 0.5em;
    }
  }
  .svg-icon {
    display: inline-block;
  }
  .svg-icon svg {
    fill: currentColor;
  }
  .svg-icon svg path {
    fill: currentColor;
  }
  a {
    color: #222;
  }
  input[type="text"]::placeholder {
    color: #222;
    opacity: 1;
    font-weight: 500;
  }
  input[type="text"] {
    border: 0.223em solid #eeeeee;
  }
  .site-header {
    width: 100%;
    font-weight: 700;
    line-height: 1;
    background-color: #fff;
  }
  .site-header .container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    justify-content: space-between;
    margin: 0;
  }
  @media (min-width: 1025px) {
    .site-header .container {
      padding: 1.25em;
    }
  }
  .site-header .container .sign-in {
    border: none;
    background-color: transparent;
    color: #222;
  }
  .site-header .container .sign-up {
    color: white;
    background-color: #222;
  }
  @media (max-width: 320px) {
    .site-header .container .sign-up {
      font-size: 0.85em;
    }
  }
  .site-header a {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    align-items: center;
  }
  .site-header .left-group,
  .site-header .right-group {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    align-items: center;
    min-height: 2.4em;
  }
  .site-header .logo {
    display: block;
    margin-right: 1em;
    height: 1.5em;
  }
  @media (max-width: 1443px) {
    .site-header .logo {
      height: 1.25em;
    }
  }
  @media (max-width: 1024px) {
    .site-header .logo.search {
      margin-right: 1em;
    }
  }
  @media (max-width: 483px) {
    .site-header .logo {
      margin-right: 0.5em;
      height: 1.125em;
    }
    .site-header .logo.search {
      margin-right: 0.5em;
      height: 1.125em;
    }
  }
  .site-header .logo svg {
    width: auto;
    height: 1.5em;
  }
  @media (max-width: 1443px) {
    .site-header .logo svg {
      height: 1.25em;
    }
  }
  @media (max-width: 483px) {
    .site-header .logo svg {
      height: 1.125em;
    }
  }
  @media (max-width: 320px) {
    .site-header .logo svg {
      height: 0.9em;
    }
  }
  .site-header .nav-link {
    font-size: 20px;
    margin-left: 2em;
  }
  @media (max-width: 500px) {
    .site-header .nav-link {
      font-size: 14px;
      margin-left: 1em;
    }
  }
  .site-header li {
    padding-bottom: 0;
  }
  .site-header li a {
    padding: 0;
    height: 2em;
    color: #222;
  }
  .site-header li svg {
    max-height: 1em;
    max-width: 1.25em;
  }
  @media (max-width: 723px) {
    .site-header li svg {
      max-height: 1.1em;
    }
  }
  .site-header span {
    margin-left: 0.5em;
  }
  .site-header .navigation {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    align-items: center;
  }
  @media (min-width: 1025px) {
    .site-header .navigation {
      margin-left: 0.5em;
    }
  }
  /* .site-header .navigation .search-group .search-label {
    display: none;
  }
  @media (max-width: 723px) { */
  .site-header .navigation .search-group .search-label {
    display: block;
    margin-left: 0.75em;
  }
  /* } */
  .site-header .navigation .search-group .search-field {
    margin-left: 0.4em;
    margin-top: -0.3em;
    height: 1.9em;
    color: #222;
  }
  .site-header .navigation .search-group .search-field .input {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    align-items: center;
    max-width: 12em;
  }
  @media (min-width: 1444px) {
    .site-header .navigation .search-group .search-field .input {
      max-width: 15em;
    }
  }
  .site-header
    .navigation
    .search-group
    .search-field
    .input
    .svg-icon {
    position: absolute;
    margin-top: 0.04em;
  }
  .site-header
    .navigation
    .search-group
    .search-field
    .input
    .svg-icon:hover {
    cursor: text;
  }
  .site-header
    .navigation
    .search-group
    .search-field
    .input:hover
    input[type="text"] {
    border-color: #222;
    background: #fff url(//ifttt.com/assets/web/header/return_key_icon_gray.svg)
      no-repeat 95% 50%/7.25%;
  }
  @media (min-width: 1444px) {
    .site-header
      .navigation
      .search-group
      .search-field
      .input:hover
      input[type="text"] {
      padding-right: 2em;
      background: #fff
        url(//ifttt.com/assets/web/header/return_key_icon_gray.svg) no-repeat
        95% 50%/8%;
    }
  }
  .site-header
    .navigation
    .search-group
    .search-field
    .input
    input[type="text"] {
    margin: 0 auto;
    padding: 0.29em 0.75em 0.35em 1.95em;
    height: 2.25em;
    background: none;
    background-color: inherit;
    font-size: 1em;
    font-weight: 700;
    border-color: rgba(255, 255, 255, 0);
    border-width: 0.15em;
    border-radius: 0.3em;
  }
  @media (min-width: 1444px) {
    .site-header
      .navigation
      .search-group
      .search-field
      .input
      input[type="text"] {
      width: 15em;
    }
  }
  @media (max-width: 483px) {
    .site-header
      .navigation
      .search-group
      .search-field
      .input
      input[type="text"] {
      font-size: 1.25em;
    }
  }
  .site-header
    .navigation
    .search-group
    .search-field
    .input
    input[type="text"]::placeholder {
    font-weight: 700;
  }
  .site-header
    .navigation
    .search-group
    .search-field
    .input
    input[type="text"]:focus {
    border-color: #222;
    padding-right: 1.75em;
    background: #fff url(//ifttt.com/assets/web/header/return_key_icon_gray.svg)
      no-repeat 95% 50%/7.25%;
  }
  @media (min-width: 1444px) {
    .site-header
      .navigation
      .search-group
      .search-field
      .input
      input[type="text"]:focus {
      padding-right: 2em;
      background: #fff
        url(//ifttt.com/assets/web/header/return_key_icon_gray.svg) no-repeat
        95% 50%/8%;
    }
  }
  @media (max-width: 723px) {
    .site-header .navigation .search-group .search-field {
      display: none;
    }
  }
}
@media all {
  * {
    -webkit-tap-highlight-color: transparent;
  }
  *,
  *:before,
  *:after {
    box-sizing: inherit;
    outline: 0;
  }
  span {
    font-size: inherit;
  }
  a {
    text-decoration: none;
  }
  a:link,
  a:visited {
    color: inherit;
  }
  svg {
    fill: currentColor;
  }
  ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  *,
  *:before,
  *:after {
    box-sizing: inherit;
    outline: 0;
  }
  ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  a {
    text-decoration: none;
  }
  a:link,
  a:visited {
    color: inherit;
  }
  a:active {
    -webkit-filter: opacity(90%);
    -moz-filter: opacity(90%);
    -ms-filter: opacity(90%);
    -o-filter: opacity(90%);
    filter: opacity(90%);
  }
  ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  a > svg {
    pointer-events: none;
  }
  .site-footer {
    width: 100vw;

    padding-top: 2.5em;

    background-color: #fff;
    color: #222;
    text-align: center;
  }
  @media (max-width: 1024px) {
    .site-footer {
      padding-top: 1em;
    }
  }
  .site-footer li {
    display: inline-block;
  }
  .site-footer a {
    display: block;
    font-weight: 700;
    padding: 0.5em 1em;
    color: #222;
  }
  @media (max-width: 723px) {
    .site-footer a {
      padding: 0.25em 0.3em;
    }
  }

  @media (max-device-width: 667px) {
    .error-image {
      max-width: 100%;
    }
    h1 {
      font-size: 24px;
    }

    h1 + a {
      font-size: 24px;
      font-weight: bold;
    }
  }
  .site-footer.ifttt_next_bucket .links {
    margin: 4em 0;
  }
  .download-buttons {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-direction: normal;
    -webkit-box-orient: horizontal;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    margin: 1em 0;
    text-align: center;
    justify-content: center;
  }
  @media (min-width: 1444px) {
    .download-buttons {
      margin-top: 0;
      text-align: right;
    }
  }
  @media (max-width: 723px) {
    .download-buttons svg {
      width: 90%;
    }
  }
}
