/* prefixed by https://autoprefixer.github.io (PostCSS: v7.0.23, autoprefixer: v9.7.3) */

html,
body {
  margin: 0;
  height: 100%;
  font-size: 18px;
  font-weight: 400;
}

body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background: #dbdbdb url(./images/bg.jpg) repeat-x;
  font-family: 'Roboto Slab', serif;
  color: #5a5a5a;
}

img {
  display: block;
  margin: 0;
  width: 100%;
  height: auto;
}

ul {
  margin: 0 0 8px;
  padding-left: 18px;
}

a {
  color: #5a5a5a;
}

a:hover,
a:focus {
  color: #ff0000;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-weight: 400;
  margin: 1em 0;
}

h1:first-child,
h2:first-child,
h3:first-child {
  margin-top: 0;
}

h1 {
  font-size: 32px;
  margin: 0;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 18px;
}

p {
  margin: 0 0 16px;
}

.red {
  color: #ff0000;
}

.container {
  margin: auto;
  padding: 32px 16px;
  width: 100%;
  max-width: 900px;
}

.navigation {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 16px;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
}

@media (min-width: 650px) {
  .navigation {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
  }
}

.navigation__title {
  line-height: 1em;
}

.navigation__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0;
  padding: 0;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  align-items: flex-end;
}

.navigation__item {
  position: relative;
  list-style-type: none;
  margin-left: 6px;
}

.navigation__item--current {
  font-weight: 700;
}

.navigation__item--bold {
  font-size: 32px;
}

.navigation__item:first-child {
  margin: 0;
}

.navigation__item:not(:first-child):before {
  content: '|';
  margin-right: 6px;
  font-size: 18px;
}

.main {
  -webkit-box-shadow: 0px 3px 6px -1px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 3px 6px -1px rgba(0, 0, 0, 0.2);
  background-color: #fff;
  margin-bottom: 16px;
}

.wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap-reverse;
  flex-wrap: wrap-reverse;
}

@media (min-width: 798px) {
  .wrap {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
  }
}

.box {
  padding: 24px;
  white-space: nowrap;
}

.map {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  background: #e1e1e1;
}

.gallery {
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  grid-gap: 4px;
}

.footer {
  font-size: 0.85em;
  text-align: center;
}
