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

.sr-only-focusable:active, .sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
}

@font-face {
  font-family: "rei-icons";
  /* @TODO: async load */
  src: url("/static/fonts/rei-icons-webfont.woff") format('woff');
}

@font-face {
  font-family: "Stuart";
  src: url(https://satchel.rei.com/media/font/REI_Stuart/REI_Stuart-VF/REIStuart-VF-Web.woff2) format("woff");
}

/* Get the above from cedar */
body {
  margin: 0;
}

.main-content {
  float: left;
  width: 100%;
  position: relative;
}

.site-header .rei-logo {
  height: 27px;
  width: 42px;
  position: relative;
}

.site-header {
  background-color: #000;
  text-align: center;
  height: 64px;
  position: relative;
  float: left;
  width: 100%;
}

.site-header a {
  color: #fff;
  text-decoration: none;
}

.site-header .masthead {
  text-align: center;
  line-height: 60px;
  height: 60px;
  overflow: hidden;
  display: inline-block;
}

.site-header .masthead img {
  display: inline-block;
}

.site-header .masthead__text {
  display: inline-block;
  margin: 0;
  font-size: 1.8rem;
  padding-left: 1rem;
  font-family: "Roboto Condensed",Roboto,"Helvetica Neue",Helvetica,Arial,sans-serif;
  font-weight:400;
  vertical-align: middle;
  line-height: 1;
}

.site-header nav {
  position: absolute;
}

.site-header ul {
  margin: 0;
}

.site-header .burger,
.site-header .cancel-button,
.site-header .search-button {
  background: transparent;
  border: 0;
  line-height: 58px;
  cursor: pointer;
  margin: 0;
  padding: 0;
}

.site-header .search-button {
  position: absolute;
  top: 0;
  right: 1.5rem;
  width: 4rem;
}

.site-header .burger {
  width: 4rem;
}

.site-header .burger::before {
  content: '\e733';
  font-family: rei-icons;
  font-size: 2.0rem;
  color: #fff;
}

.site-header .search-button:before {
  font-family: rei-icons;
  font-size: 2.0rem;
  content: "\e73c";
  color:#fff;
  width: 2rem;
}

/**
 * With search open
 */

.site-header .search-field {
  background-color: #000;
  border: 1px solid #696969;
  border-radius: 2px;
  line-height: 38px;
  font-family: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  width: 16rem;
  padding: 0 1rem;
  display: none;
  color: #fff;
  -webkit-appearance: none;
  background-image: url(/static/images/icon-search.png);
  background-position-x: right;
  background-position-y: center;
  background-repeat: no-repeat;
}

.site-header.search-mode .search-field {
  background-color: #000;
  border: 1px solid #696969;
  border-radius: 2px;
  line-height: 40px;
  font-family: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  width: 70vw;
  display: inline-block;
  padding-left: 1rem;
  margin-top: 10px;
}

.site-header.search-mode .masthead {
  display:none;
}

.site-header.search-mode .search-button {
  display: inline-block;
  width: 4rem;
  margin-left: 0rem;
  position: absolute;
  left: 0;
}

.site-header .cancel-button {
  display: none;
}

.site-header.search-mode .cancel-button {
  font-family: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  color: #fff;
  width: 15vw;
  display: inline-block;
  position: absolute;
  right: 0;
  top: 0;
}

.site-header.search-mode nav {
  display: none;
}

body {
  transform: translateX(0px);
  transition: -webkit-transform .3s ease;
  transition: transform .3s ease;
  transition: transform .3s ease,-webkit-transform .3s ease;
}

.nav-open {
  width: 100%;
  transform: translateX(300px);
  overflow: hidden;
}

.nav-open .modal-bg {
  display: block;
  width: calc(100vw + 15px);
  height: 100vh;
  background-color: #000;
  opacity: .5;
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: inset -4px 0 4px rgba(0,0,0,.5), 4px 0 4px rgba(0,0,0,.5);
}

.nav-open .navigation {
  display: block;
  list-style-type: none;
}

.navigation {
  background-color:#000;
  color: #fff;
  width: 300px;
  float: left;
  padding:0;
  position: absolute;
  z-index:3;
  top: 0;
  left: -300px;
  height: 100vh;
}

.skip-to-main-content {
  background-color: #000;
  color: #fff;
  display: block;
  text-align: center;
  text-decoration: underline;
}

.navigation .menu-item {
  background-color: #333;
  padding: 1rem;
  border-bottom: 1px solid #ccc;
  color: #fff;
  font-family: "Roboto Condensed",Roboto,"Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 1.6rem;
  float: left;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
}

.navigation .menu-item-close {
  background-color: #000;
  height: 64px;
  width: 4rem;
  text-align: center;
  float: right;
}

.navigation .menu-item-close {
  background-color: #000;
  height: 64px;
  width: 4rem;
  text-align: center;
  float: right;
}

.navigation .close {
  background-color: transparent;
  border: 0;
  line-height: 56px;
  padding: 0 1rem;
}

.navigation .close:before {
  cursor: pointer;
  color: #fff;
  content: '\e744';
  font-family: rei-icons;
  font-size: 14px ;
  padding: 6px;
}

.page-content {
  float: left;
  width: 100%;
}

.home-lead {
  text-align: center;
  position: relative;
  width: 100%;
}

.home-lead-img {
  background-size: auto 100%;
}

.img-frame.center {
  position: relative;
  overflow: hidden;
}

.img-frame::before {
  content: '';
  display: block;
  height: 0;
}

.home-lead-overlay {
  position: absolute;
  top: 0;
  vertical-align: middle;
  display: block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.home-lead-img img {
  min-height: 368px;
  min-width: 100%;
  object-fit: cover;
  max-height: 100%;
  max-width: 100%;
}

.home-lead__heading {
  font-size: 4.5rem;
  font-family: "Stuart";
  text-transform: uppercase;
  font-weight: normal;
  line-height: 5rem;
  margin: 0;
}

.home-lead p {
  color: #222;
  font-family: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.8rem;
  display: inline-block;
  width: 85vw;
  line-height: 2.6rem;
  background-color: #f2f2f2;
  border-radius: 25px;
  max-width: 730px;
  margin-top: 1.5rem;
}

.xs-breakpoint-beacon {
  display:none;
  width: 1px;
}

.page-header {
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 1rem;
  text-align: center;
}

.page-heading {
  text-align: center;
}

.content-wrapper,
.post-content-wrapper {
  position: relative;
  padding: 0 2rem;
}

.cdr-container,
.cdr-container-fluid {
  padding: 0;
}

.page-content {
  background-color:red;
}

@media screen and (max-width: 1000px) {
  .hidden-sm {
    display:none;
    min-height:0;
  }
}

@media screen and (min-width: 1000px) {
  .hidden-lg {
    display:none;
    min-height:0;
  }
}

/* For non-mobile devices */
@media screen and (min-width: 1000px) {

  .xs-breakpoint-check {
    width: 0;
  }

  .site-header {
    height: 100px;
  }

  .site-header .masthead__text {
    padding-bottom: 8px;
    vertical-align: bottom;
  }

  .site-header .search-button {
    display: none;
  }

  .site-header .burger {
    display: none;
  }

  .navigation {
    width: initial;
    position: static;
    z-index: 3;
    top: initial;
    left: initial;
    height: initial;
    padding-right: 2rem;
  }

  .navigation li {
    list-style-type: none;
  }

  .menu-item-close {
    display: none;
  }

  .navigation .menu-item {
    padding: 0 1.3rem;
    text-align: center;
    border: none;
    width: initial;
    background-color: transparent;
  }

  .site-header nav {
    position: static;
    margin-top: 58px;
    float: right;
  }

  .site-header .rei-logo {
    width: 87px;
    height: 52px;
    top: -0.5rem;
  }

  .site-header {
    text-align: left;
  }

  .site-header .search-field {
    display: block;
    margin-top: 10px;
    width: 11rem;
    margin-right: 0.5rem;
  }

  .site-header .masthead {
    margin-top: 28px;
    padding-left: 30px;
  }

  .site-header form {
    display: inline-block;
    float: right;
    margin: 0;
  }

  .navigation .menu-item-close,
  .navigation  .menu-item-skip {
    display: none;
  }

  .nav-open {
    width: auto;
    transform: none;
  }

  .nav-open .modal-bg {
    display: none;
  }

  .banner-image {
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100vw;
    background-size: cover;
    display:table-cell;
    background-size: cover;
  }

  .site-header .search-field {
    transition: width .10s;
  }

  .site-header .search-field:focus {
    width: 32rem;
  }

  .home-lead__heading {
    font-size: 9rem;
    line-height: 10rem;
  }

  .home-lead p {
    font-size: 1.6rem;
  }

  .home-lead__heading::after {
    display: block;
    width: 37rem;
    height: 1px;
    background-color: #bebebe;
    content: '';
    margin: 0 auto;
  }

  .content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
  }

  .head-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding:0;
  }

  .center-block {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .home-lead-img img {
    min-height: 368px;
  }
}
