body {
  width: 100%;
  min-width: 320px;
  max-width: 640px;
  margin: 0 auto;

  color: #666;
  /* FIXME */
  /*background-color: #c7edcc;*/

  font-family: -apple-system, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

ul {
  margin: 0;
  padding: 0;

  list-style: none;
}

a {
  text-decoration: none;

  color: #222;
}

div {
  box-sizing: border-box;
}

.search_wrap {
  position: fixed;
  left: 50%;

  display: flex;

  width: 100%;
  min-width: 320px;
  max-width: 640px;
  height: 44px;

  transform: translateX(-50%);

  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  background-color: #f6f6f6;
  /* background-color: pink; */
}

.search_wrap .search {
  position: relative;

  flex: 1;

  height: 26px;
  margin: 7px 10px;
  padding-left: 25px;

  color: #666;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);

  font-size: 12px;
  line-height: 24px;
}

.search_wrap .search::before {
  position: absolute;
  top: 5px;
  left: 5px;

  width: 15px;
  height: 15px;

  content: "";

  background: url(../images/sprite.png) no-repeat -59px -279px;
  background-size: 104px auto;
}

.search_wrap .user {
  width: 44px;
  height: 44px;

  text-align: center;

  color: #2eaae0;

  font-size: 12px;
}

.user::before {
  display: block;

  width: 23px;
  height: 23px;
  margin: 4px auto -2px;

  content: "";

  background: url(../images/sprite.png) no-repeat -59px -194px;
  background-size: 104px auto;
}

.focus {
  padding-top: 44px;
}

.focus img {
  width: 100%;

  vertical-align: bottom;

  border-radius: 0 0 8px 8px;
}

.local-nav {
  display: flex;

  height: 64px;
  margin: 3px 4px;

  border-radius: 8px;
  background-color: #fff;
}

.local-nav li {
  flex: 1;
}

.local-nav a {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;

  height: 64px;

  font-size: 12px;
}

.local-nav-icon {
  width: 32px;
  height: 32px;
  /* 第一个icon */

  background: url(../images/localnav_bg.png) no-repeat 0 0;
  background-size: 32px auto;
}

.local-nav li:nth-child(2) .local-nav-icon {
  background-position: 0 -32px;
}

.local-nav li:nth-child(3) .local-nav-icon {
  background-position: 0 -64px;
}

.local-nav li:nth-child(4) .local-nav-icon {
  background-position: 0 -96px;
}

.local-nav li:nth-child(5) .local-nav-icon {
  background-position: 0 -128px;
}

nav {
  overflow: hidden;

  margin: 0 4px 3px;

  border-radius: 8px;
}

.nav-common {
  display: flex;

  height: 88px;

  background-color: pink;
}

.nav-common:nth-child(2) {
  margin: 3px 0;
}

.nav-common .nav-items {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.nav-common .nav-items a {
  flex: 1;

  text-align: center;

  color: #fff;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.2);

  font-size: 14px;
  line-height: 44px;
}

.nav-common .nav-items a:nth-child(1) {
  border-bottom: #fff 1px solid;
}

.nav-common .nav-items:nth-child(1) a {
  border-bottom: 0px;
  background: url(../images/hotel.png) no-repeat bottom;
  background-size: 121px auto;
}

.nav-common .nav-items:nth-child(-n + 2) {
  border-right: #fff 1px solid;
}

.nav-common:nth-child(1) {
  background: -webkit-linear-gradient(left, #fa5a55, #fa994d);
}

.nav-common:nth-child(2) {
  background: -webkit-linear-gradient(left, #4b90ed, #53bced);
}

.nav-common:nth-child(3) {
  background: -webkit-linear-gradient(left, #34c2a9, #6cd559);
}

.subnav-entry {
  display: flex;
  flex-wrap: wrap;

  margin: 0 4px;
  padding: 5px 0;

  border-radius: 8px;
  background-color: #fff;
}

.subnav-entry li {
  flex: 20%;
}

.subnav-entry a {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.subnav-entry-icon {
  width: 28px;
  height: 28px;
  margin-top: 4px;

  background: url(../images/subnav-bg.png) no-repeat;
  /* background-color: pink; */
  background-size: 28px auto;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #f5f5f5;
  font-size: 14px;
  color: #666;
}

footer a {
  color: #666;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
