body {
  -webkit-overflow-scrolling: touch;
  max-width: 1200px;
  margin: auto;
}
#loading {
  display: -webkit-box;
  /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;
  /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;
  /* TWEENER - IE 10 */
  display: -webkit-flex;
  /* NEW - Chrome */
  display: flex;
  /*
  // 2009 spec
  display: -webkit-box;
  display: -moz-box;
  display: -ms-box;
  display: -o-box;
  display: box;
  // // tweener -ms- spec
  // display: -webkit-flexbox;
  // display: -moz-flexbox;
  display: -ms-flexbox;
  // display: -o-flexbox;
  // display: flexbox;
  // 2013 spec
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;*/
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  -ms-box-orient: vertical;
  -o-box-orient: vertical;
  box-orient: vertical;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  -o-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-box-align: center;
  -o-box-align: center;
  box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
  background-color: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
#store {
  /* Carousel base class */
  /* Override Bootstrap 3 setting */
  /* Hide text, but available to screen readers */
}
#store.app #headerWrapper {
  display: none;
}
#store.web #headerWrapper {
  float: none;
  height: 80px;
  width: 100%;
  background-image: url('../templates/icons/iphone/logo.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 48px;
}
#store.web #headerWrapper .title {
  display: none;
}
#store .currentIssue,
#store #currentIssue {
  margin-top: 15px;
}
#store .document {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  background: transparent;
  border: 0;
  text-align: -webkit-auto;
  padding: 3%;
}
#store .document .documentSide {
  display: -webkit-box;
  /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;
  /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;
  /* TWEENER - IE 10 */
  display: -webkit-flex;
  /* NEW - Chrome */
  display: flex;
  /*
  // 2009 spec
  display: -webkit-box;
  display: -moz-box;
  display: -ms-box;
  display: -o-box;
  display: box;
  // // tweener -ms- spec
  // display: -webkit-flexbox;
  // display: -moz-flexbox;
  display: -ms-flexbox;
  // display: -o-flexbox;
  // display: flexbox;
  // 2013 spec
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;*/
  width: 100%;
}
#store .document .documentTitle {
  font-size: 1.25em;
  margin-bottom: 0;
  margin-right: 5px;
  -webkit-box-flex: 1;
  /* OLD - iOS 6-, Safari 3.1-6 */
  -moz-box-flex: 1;
  /* OLD - Firefox 19- */
  -webkit-flex: 1;
  /* Chrome */
  -ms-flex: 1;
  /* IE 10 */
  flex: 1;
  line-height: 30px;
  height: 30px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: GillSans, sans-serif;
}
#store .document .documentDesc {
  display: none;
  overflow: hidden;
  position: relative;
  font-size: 1em;
  font-family: HoeflerText-Regular, HoeflerText, Georgia, serif;
}
#store .document .coverImg {
  vertical-align: top;
  width: 100%;
  -webkit-box-shadow: 3px 3px 8px 0 rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 3px 3px 8px 0 rgba(0, 0, 0, 0.25);
  box-shadow: 3px 3px 8px 0 rgba(0, 0, 0, 0.25);
}
#store .document button.btn {
  -webkit-box-flex: none;
  /* OLD - iOS 6-, Safari 3.1-6 */
  -moz-box-flex: none;
  /* OLD - Firefox 19- */
  -webkit-flex: none;
  /* Chrome */
  -ms-flex: none;
  /* IE 10 */
  flex: none;
}
#store .currentDocument {
  margin-bottom: 15px;
}
#store .currentDocument button.btn {
  margin-top: 5px;
  float: none;
}
#store .currentDocument .coverImg {
  height: 50vh;
  vertical-align: top;
  width: auto;
  float: left;
}
#store .currentDocument .documentSide {
  display: inline-block;
  width: 46%;
  float: right;
}
#store .currentDocument .documentTitle {
  font-size: 2em;
  white-space: normal;
  height: auto;
  margin-right: 0;
}
#store .currentDocument .documentDesc {
  display: block;
  overflow: hidden;
  position: relative;
}
#store #previousIssues .documentSide {
  margin-top: 0.5em;
}
#store #previousIssues .documentTitle {
  float: left;
}
#store .showMore {
  clear: both;
  text-align: center;
  padding: 15px;
}
#store .carousel {
  height: 45vw;
  border-bottom: 1px solid #ccc;
  margin-bottom: 15px;
  display: block;
}
#store .carousel .carousel-caption {
  z-index: 10;
}
#store .carousel .carousel-control {
  background-image: none;
}
#store .carousel .carousel-control .glyphicon {
  display: none;
}
#store .carousel .carousel-indicators {
  bottom: 0;
}
#store .carousel .item {
  height: 45vw;
  background-color: #777;
  overflow: hidden;
}
#store .carousel .carousel-inner .item img {
  margin-left: auto;
  margin-right: auto;
  min-height: 45vw;
  max-width: 100%;
  display: block;
}
#store .carousel .carousel-inner .item img.centerTop {
  margin-left: auto;
  margin-right: auto;
  min-height: auto;
}
#store .carousel .carousel-inner .item img.left {
  margin-left: 0;
  margin-right: auto;
  min-height: inherit;
}
#store .carousel .carousel-inner .item img.right {
  margin-left: auto;
  margin-right: 0;
  min-height: inherit;
}
#store .carousel .carousel-inner .item img.landscape {
  height: 100%;
  min-width: inherit;
  min-height: inherit;
  max-width: inherit;
}
#store .carousel .carousel-inner .item img.portrait {
  width: 100%;
  min-height: inherit;
  max-width: inherit;
}
#store .carousel .item li {
  text-align: left;
}
#store .carousel .item ul {
  display: inline-block;
}
#store .carousel .item .featuredArticle {
  background-position: top center;
  width: 100%;
  height: 100%;
  background-size: cover;
}
#store .carousel .item .featuredArticle .carousel-caption {
  width: 320px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  text-shadow: none;
}
#store .carousel .item .featuredArticle .carousel-caption p {
  margin: 0;
  font-family: GillSans, sans-serif;
}
#store .carousel .item .featuredArticle .carousel-caption .headline {
  margin: 0;
  font-family: HoeflerText-Regular, HoeflerText, Georgia, serif;
}
#store .carousel .item .featuredArticle .btn {
  display: none;
}
#store .carousel .item .featuredArticle img.logoImage {
  display: none;
  position: absolute;
  margin-top: 5%;
  min-height: inherit;
}
#store .carousel .item .featuredArticle.center .carousel-caption {
  width: initial;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px;
}
#store .carousel .item .featuredArticle.center img.logoImage {
  right: inherit;
  left: inherit;
}
#store .carousel .item .featuredArticle.left .carousel-caption {
  left: 0;
  right: inherit;
  text-align: left;
}
#store .carousel .item .featuredArticle.left img.logoImage {
  right: 10%;
  left: inherit;
}
#store .carousel .item .featuredArticle.right .carousel-caption {
  right: 0;
  left: inherit;
  text-align: left;
}
#store .carousel .item .featuredArticle.right img.logoImage {
  right: 10%;
  left: inherit;
}
#store .row {
  margin-left: 0;
  margin-right: 0;
}
#store .section-title {
  width: auto;
  margin-left: auto;
  margin-right: auto;
  font-size: small;
  color: #777;
  margin-bottom: 10px;
  font-family: Avenir-Book, Avenir, sans-serif;
  font-weight: normal;
}
#store fieldset {
  border: 1px #ccc;
  border-style: solid none none none;
}
#store #sidebarWrapper {
  margin: 15px 0;
  border: 1px #ccc;
  border-style: none none none solid;
}
#store #sidebar .video {
  margin-bottom: 15px;
}
#store #sidebar .video iframe {
  width: 100%;
  margin-top: 3%;
}
#store #sidebar .recommendation {
  padding: 10px;
}
#store #sidebar .recommendation p {
  font-size: small;
  line-height: 1.25em;
  height: 2.5em;
  overflow: hidden;
  margin: 0;
  font-family: GillSans, sans-serif;
}
#store #sidebar .recommendation .imgWrapper {
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  background-position: top center;
  background-size: cover;
}
#store input[type=search]::-webkit-search-cancel-button,
#store input[type=search]::-webkit-search-decoration {
  -webkit-appearance: searchfield-cancel-button;
}
#store h1 label {
  font-weight: normal;
}
#store #collectionSearch {
  padding: 0;
  background-color: #F2F2F2;
  border: 1px solid #BDBDBD;
  padding: 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-bottom: 10px;
  -webkit-box-shadow: 3px 3px 8px 0 rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 3px 3px 8px 0 rgba(0, 0, 0, 0.25);
  box-shadow: 3px 3px 8px 0 rgba(0, 0, 0, 0.25);
}
#store #collectionSearch .search-term-entry {
  display: flex;
  width: 100%;
  min-width: 0;
}
#store #collectionSearch .search-term-entry input {
  min-width: 0;
  flex-grow: 5;
  font-size: 1.0rem;
  padding-left: 5px;
}
#store #collectionSearch .search-term-entry button {
  padding: 2px 3px;
  margin-left: 7px;
  flex-grow: 1;
}
#store #collectionSearch .search-options {
  width: 100%;
  padding: 2px;
  flex-wrap: wrap;
  display: flex;
  justify-content: flex-end;
}
#store #collectionSearch .search-options .search-target-wrapper {
  padding: 5px 0 5px 15px;
}
#store #collectionSearch .search-options .search-type-wrapper {
  padding: 5px 0 5px 15px;
}
#store #collectionSearch .search-options .search-doc-id-wrapper {
  padding: 5px 0 5px 15px;
}
#store #collectionSearch .form-control-clear {
  top: 34px;
  right: 22%;
  cursor: pointer;
}
#store #collectionSearchResults .loading {
  display: none;
  /* initial value; js will show/hide */
  width: 100%;
  text-align: center;
}
#store #collectionSearchResults .search-results-heading {
  display: inline-block;
  width: 100%;
  margin: 8px 0;
}
#store #collectionSearchResults .number-of-results-wrapper {
  display: inline-block;
  font-size: 1.5em;
}
#store #collectionSearchResults .search-sort-wrapper {
  display: inline-block;
  float: right;
}
#store #collectionSearchResults .search-entry {
  cursor: pointer;
  overflow-y: hidden;
}
#store #collectionSearchResults .search-entry.small {
  padding: 0;
  height: 90px;
  margin-bottom: 10px;
  border: 1px solid #BDBDBD;
  -webkit-box-shadow: 3px 3px 8px 0 rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 3px 3px 8px 0 rgba(0, 0, 0, 0.25);
  box-shadow: 3px 3px 8px 0 rgba(0, 0, 0, 0.25);
}
#store #collectionSearchResults .search-entry .search-entry-contents,
#store #collectionSearchResults .search-entry .search-entry-image {
  overflow: hidden;
}
#store #collectionSearchResults .search-entry .search-entry-image {
  float: right;
  max-width: 25%;
  height: 90px;
  padding: 3px 0 3px 8px;
}
#store #collectionSearchResults .search-entry .search-entry-contents {
  height: 95px;
  margin: 8px 0 8px 8px;
  overflow: hidden;
}
#store #collectionSearchResults .search-entry .search-entry-contents .search-entry-title,
#store #collectionSearchResults .search-entry .search-entry-contents .search-entry-doc-title {
  font-family: 'Helvetica Neue', 'Tahoma', 'Segoe UI', 'Calibri', Helvetica, sans-serif;
  font-size: 1.0rem;
  color: #000000;
  font-weight: normal;
  line-height: 1.125rem;
}
#store #collectionSearchResults .search-entry .search-entry-contents .search-entry-details {
  font-family: HelveticaNeue-Light, 'Helvetica Neue', 'Tahoma', 'Segoe UI', 'Calibri', Helvetica, sans-serif;
  font-size: 0.875rem;
  color: #333333;
  line-height: 1.125rem;
  margin-top: 2px;
  font-weight: normal;
}
#store #collectionSearchResults .results-pagination {
  text-align: center;
}
#store #results a {
  color: #333;
}
#store #results a:hover {
  text-decoration: none;
}
#store #tocSearch {
  text-align: left;
  overflow: hidden;
}
#store #searchCurtain {
  top: 50px;
}
#store .screen-reader {
  height: 1px;
  width: 1px;
  opacity: 0;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
  position: absolute;
  bottom: 0;
  white-space: nowrap;
}
#store .screen-reader-undo-hidden,
#store .screen-reader-focusable:active,
#store .screen-reader-focusable:focus {
  height: auto;
  width: auto;
  opacity: inherit;
  border: inherit;
  clip: auto;
  overflow: inherit;
  position: inherit;
  white-space: normal;
}
@media screen and (min-width: 769px) {
  #store .carousel .item .featuredArticle.left .carousel-caption {
    left: 20px;
    right: inherit;
  }
  #store .carousel .item .featuredArticle.left img.logoImage {
    right: 20%;
    left: inherit;
  }
  #store .carousel .item .featuredArticle.right .carousel-caption {
    right: 20px;
    left: inherit;
  }
  #store .carousel .item .featuredArticle.right img.logoImage {
    left: 20%;
    right: inherit;
  }
}
@media screen and (max-width: 480px) {
  #store.web #headerWrapper {
    height: 48px;
  }
  #store #documentsWrapper {
    padding-left: 0;
    padding-right: 0;
  }
  #store .document .documentSide {
    margin-top: 0;
  }
  #store .document .documentTitle {
    float: none;
    font-size: 1em;
    line-height: normal;
    margin-right: 0;
  }
  #store .currentDocument .coverImg {
    height: 35vh;
    width: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    float: none;
  }
  #store .currentDocument .documentTitle {
    font-size: 1.5em;
  }
  #store .currentDocument .documentSide {
    width: 100%;
  }
  #store .currentDocument .btn {
    padding: 6px 8px;
  }
  #store .currentDocument .btn button.btn {
    margin-left: auto;
    margin-right: auto;
  }
  #store .carousel .carousel-indicators {
    bottom: 0;
    margin-bottom: 0;
  }
  #store .carousel .carousel-inner .item img {
    min-height: 100%;
    max-height: 100%;
    max-width: inherit;
  }
  #store .carousel .carousel-caption {
    padding-bottom: 0;
  }
  #store .carousel .carousel-caption .headline {
    font-size: 1.0rem;
    margin: 0;
  }
  #store .carousel .carousel-caption p {
    margin-bottom: 10px;
  }
  #store .carousel .carousel-caption .btn {
    font-size: 0.875rem;
    padding: 6px 8px;
  }
  #store .carousel .item .featuredArticle .carousel-caption {
    width: 90%;
    bottom: 20px;
    padding: 10px;
  }
  #store .carousel .item .featuredArticle .carousel-caption p {
    margin: 0;
    font-size: 1em;
  }
  #store .carousel .item .featuredArticle .carousel-caption .headline {
    margin: 0;
    font-size: 1.25em;
  }
  #store .carousel .item .featuredArticle .btn {
    display: none;
  }
  #store .carousel .item .featuredArticle img.logoImage {
    display: none;
  }
  #store .carousel .item .featuredArticle.right .carousel-caption,
  #store .carousel .item .featuredArticle.left .carousel-caption {
    right: inherit;
    left: inherit;
  }
  #store .carousel .item .featuredArticle.right img.logoImage,
  #store .carousel .item .featuredArticle.left img.logoImage {
    left: 0;
    right: 0;
    min-width: inherit;
  }
}

