/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/*** END OF RESET CSS ***/
@-webkit-viewport{width:device-width}
@-moz-viewport{width:device-width}
@-ms-viewport{width:device-width}
@-o-viewport{width:device-width}
@viewport{width:device-width}

@font-face {
  font-family: 'Tesco';
  src: url('../fonts/Tesco_W_Rg.eot');
  src: url('../fonts/Tesco_W_Rg.eot?#iefix') format('embedded-opentype'), url('../fonts/Tesco_W_Rg.woff') format('woff'), url('../fonts/Tesco_W_Rg.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: 'Tesco Bold';
  src: url('../fonts/Tesco_W_Bd.eot');
  src: url('../fonts/Tesco_W_Bd.eot?#iefix') format('embedded-opentype'), url('../fonts/Tesco_W_Bd.woff') format('woff'), url('../fonts/Tesco_W_Bd.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
}
@font-face{
  font-family: "tesco-icons";
  src: url('../fonts/tesco-icons.eot');
  src: url('../fonts/tesco-icons.eot?#iefix') format('embedded-opentype'),
  url('../fonts/tesco-icons.woff') format('woff'),
  url('../fonts/tesco-icons.ttf') format('truetype');
}

html, body{
  width: 100%;
  position: relative;
}
h1 {
  height: 32px;
  font-family: Tesco Bold;
  font-size: 28px;
  line-height: 1.1;
  color: #333333;
}

.nav-content {
  height: 160px;
  margin: 0px 12px 0px 12px;
  position: relative;
}
.divider {
  border-bottom: 2px solid #e5e5e5;
}

.logo {
  display: inline-block;
  position: absolute;
  padding: 0px 12px 0px 12px;
  height: 34px;
  margin: 60px 12px 0px 12px;
}
.logo img {
  height: 34px;
}
.main-content {
  max-width: 480px;
  margin: 0 auto;
}
.error-header {
  display: inline-block;
  width: 100%;
  margin-top: 68px;
}
.error-content {
  font-size: 20px;
  line-height: 1.4;
  font-family: Tesco;
  color: #666666;
  margin-top: 24px;
}
.error-image {
  width: 100%;
  height: 195px;
  background-image: url('../images/spilt-milk-s.png');
  background-repeat: no-repeat;
  background-size: contain;
  margin-top: 12px;
}
.error-description {
  font-family: Tesco;
  font-size: 16px;
  line-height: 1.3;
  color: #666666;
  margin-top: 44px;
}

.assist-link {
  display: inline-block;
  width: auto;
  text-decoration: none;
  color: #fff;
  height: 48px;
  text-align: center;
  background-color: #00539f;
  padding: 0 12px 0px 20px;
  border-radius: 23px;
  margin: 12px 0px;
  font-family: 'Tesco';
}

.assist-link span:hover {
  text-decoration: underline;
}

.assist-link span {
  margin-top: 10px;
  display: inline-block;
}

.assist-link span:before{
  font-family: tesco-icons;
  content: "\E010";
  font-size: 10px;
  display: inline-block;
  height: 30px;
  width: 20px;
  transform: rotate(-90deg);
  margin-left: 10px;
  float: right;
}

.facebook-icon {
  outline: none;
  display: inline-block;
  height: 32px;
  width: 32px;
  padding: 8px;
}

.facebook-icon svg {
  transition: box-shadow 0.3s;
  border-radius: 100px;
  display:block;
}

.facebook-icon:hover > svg {
  box-shadow: 0 0 0 4px #b2b9d1;
}

.instagram-icon {
  outline: none;
  display: inline-block;
  height: 32px;
  width: 32px;
  padding: 8px;
}

.instagram-icon svg {
  transition: box-shadow 0.3s;
  border-radius: 100px;
  display:block;
}

.instagram-icon:hover > svg {
    box-shadow: 0 0 0 4px #adc1d2;
}

.pinterest-icon {
  outline: none;
  display: inline-block;
  height: 32px;
  width: 32px;
  padding: 8px;
}

.pinterest-icon svg {
    transition: box-shadow 0.3s;
    border-radius: 100px;
    display:block;
}

.pinterest-icon:hover > svg {
    box-shadow: 0 0 0 4px #e6a5a6;
}

.twitter-icon {
  outline: none;
  display: inline-block;
  height: 32px;
  width: 32px;
  padding: 8px;
}

.twitter-icon svg {
  transition: box-shadow 0.3s;
  border-radius: 100px;
  display:block;
}

.twitter-icon:hover > svg {
    box-shadow: 0 0 0 4px #b6dbee;
  }

.youtube-icon {
  outline: none;
  display: inline-block;
  height: 32px;
  width: 32px;
  padding: 8px;
}
.youtube-icon svg {
  transition: box-shadow 0.3s;
  border-radius: 100px;
  display:block;
}
.youtube-icon:hover > svg {
    box-shadow: 0 0 0 4px #e6aba7;
}

@media (min-width:1000px) {
  .nav-content, .divider {
    max-width: 1000px;
    margin: 0 auto;
  }
  .error-image {
    background-image: url('../images/spilt-milk-l.png');
  }
}
@media (min-width:1244px) {
  .nav-content, .divider {
    max-width: 1244px;
    margin: 0 auto;
  }
}
@media (min-width:756px) and (max-width:999px) {
  .error-image {
    background-image: url('../images/spilt-milk-m.png');
  }
}
@media (min-width:320px) and (max-width:755px) {
  .wrapper {
    margin: 0;
  }
  nav.nav-content {
    height: 68px;
    margin: 0px 8px 0px 8px;
  }
  .logo {
    top: 0;
    transform: inherit;
    margin: 20px 8px 0px 8px;
    height: 32px;
    padding: 0;
  }
  .divider{
    border-bottom: 1px solid #e5e5e5;
  }
}

@media only screen and (max-width: 504px) {
  .error-image {
    background-size: auto 100%;
    background-position: center center;
    height: 150px;
  }
  .main-content {
    margin: 0px 12px 0px 12px;
  }
}

@media only screen and (width: 320px) {
  .logo img {
    width: 113px;
    height: 28px;
  }
}
