/* fonts */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300;
  src: url("fonts/open-sans-v28-latin-300.eot");
  src: local(""),
    url("fonts/open-sans-v28-latin-300.eot?#iefix") format("embedded-opentype"),
    url("fonts/open-sans-v28-latin-300.woff2") format("woff2"),
    url("fonts/open-sans-v28-latin-300.woff") format("woff"),
    url("fonts/open-sans-v28-latin-300.ttf") format("truetype"),
    url("fonts/open-sans-v28-latin-300.svg#OpenSans") format("svg");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/open-sans-v28-latin-400.eot");
  src: local(""),
    url("fonts/open-sans-v28-latin-400.eot?#iefix") format("embedded-opentype"),
    url("fonts/open-sans-v28-latin-400.woff2") format("woff2"),
    url("fonts/open-sans-v28-latin-400.woff") format("woff"),
    url("fonts/open-sans-v28-latin-400.ttf") format("truetype"),
    url("fonts/open-sans-v28-latin-400.svg#OpenSans") format("svg");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 500;
  src: url("fonts/open-sans-v28-latin-500.eot");
  src: local(""),
    url("fonts/open-sans-v28-latin-500.eot?#iefix") format("embedded-opentype"),
    url("fonts/open-sans-v28-latin-500.woff2") format("woff2"),
    url("fonts/open-sans-v28-latin-500.woff") format("woff"),
    url("fonts/open-sans-v28-latin-500.ttf") format("truetype"),
    url("fonts/open-sans-v28-latin-500.svg#OpenSans") format("svg");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  src: url("fonts/open-sans-v28-latin-700.eot");
  src: local(""),
    url("fonts/open-sans-v28-latin-700.eot?#iefix") format("embedded-opentype"),
    url("fonts/open-sans-v28-latin-700.woff2") format("woff2"),
    url("fonts/open-sans-v28-latin-700.woff") format("woff"),
    url("fonts/open-sans-v28-latin-700.ttf") format("truetype"),
    url("fonts/open-sans-v28-latin-700.svg#OpenSans") format("svg");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/poppins-v19-latin-400.eot");
  src: local(""),
    url("fonts/poppins-v19-latin-400.eot?#iefix") format("embedded-opentype"),
    url("fonts/poppins-v19-latin-400.woff2") format("woff2"),
    url("fonts/poppins-v19-latin-400.woff") format("woff"),
    url("fonts/poppins-v19-latin-400.ttf") format("truetype"),
    url("fonts/poppins-v19-latin-400.svg#Poppins") format("svg");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  src: url("fonts/poppins-v19-latin-700.eot");
  src: local(""),
    url("fonts/poppins-v19-latin-700.eot?#iefix") format("embedded-opentype"),
    url("fonts/poppins-v19-latin-700.woff2") format("woff2"),
    url("fonts/poppins-v19-latin-700.woff") format("woff"),
    url("fonts/poppins-v19-latin-700.ttf") format("truetype"),
    url("fonts/poppins-v19-latin-700.svg#Poppins") format("svg");
}

/* defaults */
html {
  font-size: 14px;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul {
  margin: 1rem 0;
  padding: 0;
  line-height: 1.4;
  list-style: none;
}
ul li {
  list-style: disc;
  margin-left: 3ch;
  padding-bottom: 1ch;
}
body {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  width: 100%;
  height: auto;
  border: none;
}

/* styles */
body {
  margin: 0;
  padding: 0;
  background: #f2f4f4;
  margin: 3em auto;
}
a {
  color: inherit;
  font-weight: normal;
  font-style: normal;
  text-decoration: underline;
}
a:hover {
  color: #c00;
  text-decoration: underline;
}
.headline {
  font-family: "Poppins", sans-serif;
  font-size: 2em;
  font-weight: 800;
  line-height: 1.2;
  padding-bottom: 0.5em;
  color: #212322;
}
.title {
  font-size: 2em;
  font-weight: 300;
  text-transform: uppercase;
  color: #323636;
}
img.logo {
  width: 200px;
  display: inline-block;
}

main {
  width: 90%;
  max-width: 54rem;
  background: white;
  border-radius: 5px;
  overflow: hidden;
  margin: auto;
  box-shadow: 0 3px 3em rgba(0, 0, 0, 0.1);
  font-size: 1em;
  font-weight: normal;
  color: #636668;
}
footer {
  width: 90%;
  margin: 2em auto 0;
  max-width: 54rem;
  text-align: center;
  color: #b9bdbb;
}

nav.bc {
  font-size: 12px;
}
nav.bc a {
  color:#9b9f9d;
  text-decoration: none;
}

section.header {
  width: 100%;
}
section.body {
  font-size: 16px;
  padding: 2em 10%;
}
section.footer,
section.legal {
  margin-top: 2em;
  border-top: 1px solid #d6d7d6;
  padding: 2em 10%;
  margin: auto;
}
section.footer {
  font-size: 16px;
  margin-bottom: 2em;
}
section.legal {
  font-size: 12px;
}
section.legal h3 {
  font-size: 1.4em;
  font-weight: 600;
  text-transform: uppercase;
  padding: 1em 0 0.5em;
  margin: 0;
}
section.legal h4 {
  font-size: 1em;
  padding: 1em 0 0.5em;
}
section.legal p {
  line-height: 1.2em;
  padding: 0.4em 0;
  margin: 0;
}
section.legal ul,
section.legal ol {
  line-height: 1.2em;
  padding-left: 2em;
  padding-bottom: 0.4em;
  text-align: left;
}
section.legal ul > li,
section.legal ol > li {
  padding-bottom: 0.2em;
  display: list-item;
  list-style: none;
}
section.legal ul > li::before {
  content: "-";
  position: absolute;
  margin-left: -1.5em;
}
section.legal ol > li {
  list-style: decimal;
  padding-left: 0.5em;
}
section.legal ol {
  counter-reset: item;
}
section.legal ol.terms {
  padding-left: 0;
}
section.legal ol.terms h3,
section.legal ol.terms h4 {
  padding-top: 0;
  padding-bottom: 1em;
}
section.legal ol.terms > li {
  padding: 1em 0;
  list-style: none;
}
section.legal ol.terms ol {
  padding-left: 3em;
}
section.legal ol.terms ol > li {
  list-style: none;
  padding-left: 0;
}
section.legal ol.terms > li h3::before {
  content: counter(item) ". ";
  counter-increment: item;
}
section.legal ol.terms ol > li::before {
  content: counters(item, ".") " ";
  counter-increment: item;
  position: absolute;
  margin-left: -3em;
  font-weight: bold;
}

footer nav {
  display: flex;
  justify-content: center;
  font-size: 12px;
  gap: 2ch;
}
footer nav a {
  text-decoration: none;
}
footer nav a:hover {
  color: #636668;
  text-decoration: underline;
}

.storelocator li {
  position: relative;
  padding: 2rem 0;
  margin: auto;
  list-style: none;
}
.storelocator li + li {
  border-top: 1px solid #d6d7d6;
}

.store h5,
.store p,
.store dl {
  margin: 0;
}

.store .title {
  font-size: 1em;
  font-weight: bold;
  padding: 1ch 0;
}
.store .label {
  display: inline-block;
  background-color: #5e53c4;
  border-radius: 1em;
  margin-top: 2ch;
  padding: 0 1ch;
  color: white;
  font-weight: 500;
  font-size: 12px;
}
.store .label.--closed {
  background-color: #bc2020;
}
.store .info {
  color: #636668;
  font-size: 12px;
}
.store .info b {
  font-weight: 600;
}
.store details {
  font-size: 12px;
  color: #636668;
  padding: 1ch 0;
}
.store details > div {
  opacity: 0;
  overflow: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease-in-out;
}
.store details[open] > div {
  opacity: 1;
  transform: translateY(0);
}
.store details summary.btn {
  display: block;
  position: absolute;
  top: 2rem;
  right: 1.5rem;
  min-height: 1.5em;
  min-width: 1.5em;
  cursor: pointer;
  font-size: 12px;
  color: #9b9f9d;
}
.store details summary.btn::-webkit-details-marker {
  display: none;
}
.store details summary.btn span {
  padding-right: 4ch;
}
.store details summary.btn::after {
  position: absolute;
  content: "";
  border-style: solid;
  border-width: 0 1.5px 1.5px 0;
  border-color: #000;
  opacity: 0.6;
  padding: 6px;
  margin: 2px;
  top: 0;
  right: 0;
}
.store details summary.btn::after {
  transform: rotate(45deg) translate(-25%, -25%);
  transition: transform 0.2s ease;
}
.store details[open] summary.btn::after {
  transform: rotate(225deg) translate(-25%, -25%);
}
dl.store-openinghours {
  display: flex;
  flex-wrap: wrap;
  margin: 1ch 0 0;
}
dl.store-openinghours dt {
  flex: 0 auto;
  width: 6ch;
  padding-right: 1ch;
  font-weight: bold;
}
dl.store-openinghours dd {
  flex: 1 auto;
  width: calc(100% - 7ch);
  margin: 0;
}

form.search {
  position: relative;
  display: flex;
  max-width: 20rem;
}
form.search > input,
form.search > button {
  font-size: 1em;
  line-height: 3em;
  height: 3em;
  margin: 0;
  border: none;
}
form.search > input {
  color: #323636;
  padding: 0 1.2em;
  flex: 1 0 auto;
  height: auto;
  width: auto;
  margin: auto;
  background-color: #f2f4f4;
  border-radius: 5px;
  box-sizing: border-box;
  outline: none;
}
form.search > input + button {
  color: #fff;
  text-align: center;
  padding: 0 0.8em;
  margin-left: -5px;
  background-color: #e81e25;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
form.search > input::placeholder {
  color: #b9bdbb;
  opacity: 1;
}


/*responsive*/
@media screen and (max-width: 470px) {
  body,
  html {
    font-size: 12px;
  }
  .page-header {
    width: 150%;
    margin: 0 -25%;
  }
  .title {
    font-size: 1em;
    font-weight: 500;
  }
  .headline span {
    display: none;
  }
}
