body {
  background: #f2f2f2;
  color: #333;
  margin: 0;
}

a {
  text-decoration: none;
  color: #333;
}

a:hover {
  color: #999;
}

footer {
  font-size: 12px;
  margin: 16px 0;
  line-height: 24px;
  text-align: center;
  color: #666;
}

footer a {
  display: inline-block;
  margin: 0 6px;
  color: #666;
}

.highlight {
  background: yellow;
  color: #f00;
}

#loading {
  display: none;
  text-align: center;
  margin: 16px 0;
  padding: 16px;
  height: 0;
  background-image: url(../img/loading.gif);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: transparent;
}

#more {
  display: block;
  background-color: #333;
  color: #fff;
  padding: 6px 0;
  text-align: center;
  margin: 16px 25%;
  border-radius: 17px;
}

#more:hover {
  background-color: #666;
}

.nomore {
  display: none;
  padding: 6px 0;
  text-align: center;
  margin: 8px 25%;
  color: #999;
}

#up {
  position: fixed;
  bottom: 40px;
  right: 20px;
  z-index: 3;
  display: none;
  color: #fff;
  width: 40px;
  height: 40px;
  cursor: pointer;

  background-image: url(../svg/up.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: transparent;
}

section {
  margin: 12px auto;
  padding: 12px;
  width: 980px;
  background: #fff;
  box-shadow: 0 2px 4px 0 rgb(0 0 0 / 12%);
}

.langs {
  
}

.langs a {
  display: inline-block;
  border: 1px #eee solid;
  /* margin:12px 6px; */
  padding:8px 12px;
  line-height: 16px;
  border-radius: 16px;
  color:#333;
  font-family: 'Arial Narrow';
}

.langs a:hover, .langs a.active {
  background-color: #efefef;
}

.themes {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.themes a {
  /* padding:12px 0; */
  display: block;
  flex: 1;
  text-align: center;
}

.themes a:hover {
  background-color: #fff;
  box-shadow: 0 2px 4px 0 rgb(0 0 0 / 12%);
}

.themes div {
  width: 100%;
  height: 0;
  margin: 0 auto;
  padding: 45% 0;

  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;

  background-repeat: no-repeat;
  background-position: center;
  background-size: 90% 90%;
  background-color: transparent;

  /* background-color: #04A7FD; */
  color: #fff;
  cursor: pointer;
}

.themes b {
  display: block;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  padding: 4px 0;
  font-weight: normal;
  font-family: 'Arial Narrow';
}

.recommended {
  font-weight: 600;
  font-size: 16px;
  height: 40px;
  display: flex;
  align-items: center;
  color:#333;
  background-color: #fff;
  /*
  margin: -12px -12px 0 -12px;
  padding-left: 12px;
  */
  font-family: 'Arial Narrow';
  margin-top:-6px;
  padding-bottom: 6px;
  border-bottom: 1px #eee solid;
}

.favorite {
  background: url(../svg/favorite.svg) no-repeat;
  background-size: 24px 24px;
  display: inline-block;
  width: 32px;
  height: 24px;
}

main a {
  display: block;
  padding-top:12px;
  border-bottom: 1px #eee solid;
}

main a:visited {
  color: #666;
}

main a:last-child {
  border-bottom: 0;
}

main div {
  color:#000;
  font-size:18px;
  font-weight: 700;
  font-family: 'Arial Narrow';
  padding:6px 0;
  line-height: 30px;
}

main p {
  color: #333;
  font-size: 16px;
  font-family: 'Arial Narrow';
}

main img {
  display: block;
  max-width: 100%;
  margin:0 auto;
  /* filter: grayscale(100%); */
}

main summary {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  line-height: 30px;
  margin:6px 0 2px 0;
  border-bottom: 1px #eee solid;
}

main summary:last-child {
  border-bottom: 0;
}

main summary b {
  font-weight: 500;
  font-size: 12px;
  color: #999;
}

main time {
  font-size: 11px;
  color: #999;
}

@media screen and (max-width: 768px) {
  section {
    margin: 12px;
    width: auto;
  }
  
}

article {
  line-height: 2;
  font-size: 15px;
  color: #333;
  padding: 6px;
  word-break: break-word;
  word-wrap: break-word;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

article img {
  display: block;
  margin: 12px auto;
  max-width: 100%
}

article ul {
  margin-left: 12px;
}

article h6 {
    font-size:125%;
  }
  
article u {
  text-decoration: none;
}

 .map>img {
    display: block;
    width: 100%;
  }
  .map>div {
    padding-top:6px;
    color:#333;
    font-family: 'Arial Narrow';
  }