#content h2 {
  font-size: 1.25rem;
  line-height: 1.25rem;
  text-transform: uppercase;
  font-weight: bold;
  color: #e74c3c;
  margin-top: 0px;
  margin-bottom: 1.5rem;
}

#content h2 span {
  text-transform: lowercase;
}

/*COVER*/

#cover #info {
  /*padding: 0px 100px;*/
  display: table-cell;
  vertical-align: bottom;
  text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.25);
  padding: 0px 15px;
}

#cover #info h1 {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 15px;
}

#cover #info p {
  font-size: 1em;
  font-style: italic;
  line-height: 1.25rem;
}

#cover #info .tags {
  display: inline-block;
  margin: 30px auto 45px;
  padding-top: 15px;
  border-top: 1px solid #a2a2a2;
  box-shadow: 0px -1px rgba(0, 0, 0, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.66);
  color: rgba(255, 255, 255, 0.66);
}

#cover #info .tags span {
  padding: 5px;
  margin: 0px 10px;
  display: inline;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 2em;
  font-size: 0.875rem;
  color: #ffffff;
}

/*SECTIONS NAV*/

#sections {
  margin: 0;
}

#sections .wrap {
  display: block;
  min-width: 970px;
  height: 70px;
  line-height: 70px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  background-color: #fff;
  border-bottom: 1px solid #e1e1e1;
  clear: both;
  z-index: 1001;
  position: fixed;
  top: -70px;
  left: 0;
  right: 0;
  -webkit-transition: 0.2s top ease-out;
  -moz-transition: 0.2s top ease-out;
  -o-transition: 0.2s top ease-out;
  -ms-transition: 0.2s top ease-out;
  transition: 0.2s top ease-out;
  -webkit-transform: translate3d(0, 0, 0);
}

#sections .sticky {
  top: 0;
}

#sections div a {
  font-size: 125%;
}

#sections div p {
  font-style: italic;
  margin-right: 30px;
  color: #888;
  display: inline;
}

#sections div .selected {
  color: #333;
}

#sections a {
  text-align: center;
  padding: 10px;
  color: #00cc99;
  color: rgba(0, 204, 102, 1);
  line-height: 100%;
  display: block;
}

#sections a:hover {
  text-decoration: none;
}

#sections span {
  display: none;
}

/*SECTION DIVS*/

#denominations,
#about,
#locations,
#locations-filter,
#terms-and-conditions {
  float: left;
  width: 100%;
  padding: 75px 0px;
}

#about .container,
#locations .container,
#locations-filter .container,
#terms-and-conditions .container {
  padding: 0px 30px;
}

#denominations {
  background: #f5f5f5 url('/images/pw_pattern.png') repeat;
  margin: 0 auto;
  text-align: center;
  max-width: 100%;
  width: 100%;
  -webkit-box-shadow: inset 0px -1px 6px 0px rgba(183, 183, 183, 0.5);
  -moz-box-shadow: inset 0px -1px 6px 0px rgba(183, 183, 183, 0.5);
  box-shadow: inset 0px -1px 6px 0px rgba(183, 183, 183, 0.5);
}

#denominations .container {
  padding: 0;
}

#denominations h2 {
  text-align: center;
}

#denominations ul {
  height: 100%;
  width: 100%;
  margin: 0px auto;
  list-style-type: none;
}

#about,
#terms-and-conditions {
  content: '';
  position: relative;
}

#about {
  -webkit-box-shadow: 0px 1px 6px 0px rgba(183, 183, 183, 0.5);
  -moz-box-shadow: 0px 1px 6px 0px rgba(183, 183, 183, 0.5);
  box-shadow: 0px 1px 6px 0px rgba(183, 183, 183, 0.5);
}

#about .background {
  width: 100%;
  height: 100%;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
  opacity: 0.5;
}

#about h3 {
  position: relative;
  z-index: 20;
}

#about,
#terms-and-conditions {
  line-height: 2;
}

#about .write-up,
#about .other-info,
#about .other-info li,
#terms-and-conditions li {
  z-index: 20;
  opacity: 1;
  position: relative;
}

#about .write-up,
#terms-and-conditions #terms {
  float: left;
  text-align: justify;
  margin-bottom: 2em;
}

#about .write-up p {
  font-size: 0.875rem;
}

#about .other-info,
#terms-and-conditions .support {
  float: left;
  margin-right: 0;
  padding-left: 30px;
  border-left: 1px solid #aaa;
}

#about .other-info p,
#terms-and-conditions .support p {
  margin-bottom: 1em;
  font-size: 0.875rem;
}

#about .other-info h3,
#terms-and-conditions .support h3 {
  font-size: 1em;
  margin-top: 0.875rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  color: #ccc;
}

#locations {
  background: #f5f5f5 url('/images/pw_pattern.png') repeat;
  position: relative;
  padding-bottom: 0px;
  padding-top: 0;
}

#locations .container {
  position: absolute;
  top: 75px;
  left: 0;
  padding-left: max(30px, calc(30px + (50% - (1030px / 2))));
}

.locations {
  overflow-x: auto;
  padding-bottom: 75px;
  padding-top: calc(75px + 3.5rem);
}

.locations--list {
  margin: 0;
  padding-left: max(30px, calc(30px + (50% - (1030px / 2))));
  padding-right: max(30px, calc(30px + (50% - (1030px / 2))));
  display: inline-flex;
  flex-wrap: nowrap;
  list-style-type: none;
  scroll-snap-type: x proximity;
}

.location {
  margin-left: 20px;
  scroll-snap-align: start;
}

.location:first-child {
  margin-left: 0px;
}

.location--body {
  display: block;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 2px -1px rgb(0 0 0 / 19%);
  border: 1px solid #d6d6d6;
  border-radius: 3px;
  background: #fff;
  padding: 20px;
  width: min(calc(100vw - 100px), 320px);
}

.location--body > * {
  margin-top: 1rem;
}

.location--body > *:first-child {
  margin-top: 0px;
}

.location--name {
  font-weight: bold;
}

.location--details {
  font-size: 0.875rem;
}

.location--details > * {
  margin-top: 1rem;
}

.location--details > *:first-child {
  margin-top: 0px;
}

.business-hours {
  font-size: 0.75rem;
}

.business-hours ul {
  margin: 0;
  list-style-type: none;
}

.location--action {
  margin-top: auto;
  padding-top: 1rem;
}

#terms {
  /* margin-left: 20px; */
}

#about ul,
#about ol,
#terms-and-conditions ul,
#terms-and-conditions ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

#about li,
#terms-and-conditions li {
  display: list-item;
  text-align: left;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

#terms-and-conditions .support {
  display: block;
}

@media screen and (min-width: 40em) {
  #cover #info .tags {
    min-width: 450px;
  }

  #about .write-up,
  #terms-and-conditions #terms {
    text-align: left;
    width: 60%;
    padding-right: 75px;
  }

  #about .other-info,
  #terms-and-conditions .support {
    width: 40%;
  }
}

select#denomination-custom-amount {
  border: 0;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 5px;
  padding-right: 20px;
  margin: 0;
  width: 3.5rem;
  text-align: right;
  background-position: right 7px center;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: bold;
  outline: 0;
}
