/* 初始化 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  a {
    text-decoration: none;
    color: #7b7b7b;
  }
  
  li {
    list-style: none;
  }
  
  body {
    background-color: #f6f6f6;
  }

  /* :root = html */
  :root {
    font-size: 10px;
  }

  body {
    font-size: 1.6rem;
  }

  @media screen and (min-width: 320px) {
    :root {
      font-size: 10px;
    }
  }

  @media screen and (min-width: 480px) {
    :root {
      font-size: 12px;
    }
  }
  
  @media screen and (min-width: 640px) {
    :root {
      font-size: 14px;
    }
  }
  
  @media screen and (min-width: 720px) {
    :root {
      font-size: 16px;
    }
  }

  @media screen and (min-width:960px) {
    :root {
        font-size: 18px;
      }
}

@media screen and (min-width: 1200px) {
    :root {
      font-size: 20px;
    }
  }

  /* ====================页头==================== */
.header{
  display: flex;
  align-items: center;
  background-color: #009688;
  color: #fff;
  height: 4.6rem;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 100;
}
.header a{
  color: #fff;
}

.header .city {
  flex: 1.7;
  color: white;
  text-align: center;
  font-size: 1.8rem;
}

.header .city i{
    margin-left: 0.5rem;
}

.header .city .login{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 4.6rem;
  line-height: 4.6rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #fff;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: 1.8rem;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.header .city .login:focus{
  outline: none;
}

.header .title {
  flex: 6;
  font-size: 1.8rem;
  text-align: center;
  height: 4.6rem;
  line-height: 4.6rem;
  font-weight: bolder;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.header .title .header-brand{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #fff;
}

.header .title .header-brand img{
  width: 3rem;
  height: 3rem;
  margin-right: .5rem;
}

.header .bars {
  flex: 1;
  font-size: 2.5rem;
  text-align: center;
}

/* 模态框主体 */
.modal-body .modal-body-content .modal-body-content-ul{
display: flex;
flex-flow: row wrap;
justify-content: space-between;
}
.modal-body .modal-body-content .modal-body-content-ul li{
  margin: 1rem;
}
.modal-body .modal-body-content .modal-body-content-ul li a{
  color: #666;
}
.modal-body .modal-body-content .modal-body-content-ul li a:hover{
  color: #ff6700;
}

 /* 底部公共栏目 */
 .main .layui-tab-content-ul{
  display: flex;
  flex-flow: row wrap;
  flex: 1 1 80%;
}
.main .layui-tab-content-ul li{
padding: 0.5rem 0.5rem;
color: #aaa;
}
.main .layui-tab-content-ul li a{
  color: #aaa;
}
.main .layui-tab-content-ul li a:hover{
  color: #ff6700;
}

  /* ====================底部推荐==================== */
.main .tuijian-bottom,
.tuijian-bottom{
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  background-color: #eee;
  margin-top: 1rem;
  padding: 1rem 0rem;

}

.main .tuijian-bottom li,
.tuijian-bottom li {
  flex: 1 0 25%;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  margin: 0.5rem auto;
}

.main .tuijian-bottom a,
.tuijian-bottom a{
  color: #aaa;
}

.main .service-more-bottom,
.service-more-bottom{
  margin-top: -1rem;
  text-align: center;
  background: #eee;
  padding-bottom: 3rem;
}
.main .service-more-bottom h3,
.service-more-bottom h3{
  font-size: 1rem;
  background-color: #eee;
  color: #ccc;
  
}


/* ====================分页==================== */
.main .pageNav{
  margin-top: -1rem;
  display: flex;
  flex: 1 1 100%;
  justify-content: center;
  text-align: center;
  background: #eee;

}
	.pagination {
	    /*display: inline-block;*/
	    display: flex;
        flex-wrap: wrap;
        justify-content: center;
	    padding-left: 0;
	    margin: 20px 0;
	    border-radius: 4px;
	}
	.pagination > li {
	    display: inline;
	}
	.pagination > li > a,
	.pagination > li > span {
	    position: relative;
	    float: left;
	    padding: 6px 12px;
	    margin-left: -1px;
	    line-height: 1.42857143;
	    color: #009688;
	    text-decoration: none;
	    background-color: #fff;
	    border: 1px solid #ddd;
	}
	.pagination > li:first-child > a,
	.pagination > li:first-child > span {
	    margin-left: 0;
	    border-top-left-radius: 4px;
	    border-bottom-left-radius: 4px;
	}
	.pagination > li:last-child > a,
	.pagination > li:last-child > span {
	    border-top-right-radius: 4px;
	    border-bottom-right-radius: 4px;
	}
	.pagination > li > a:hover,
	.pagination > li > span:hover,
	.pagination > li > a:focus,
	.pagination > li > span:focus {
	    z-index: 2;
	    color: #0d6f66;
	    background-color: #eee;
	    border-color: #ddd;
	}
	.pagination > .active > a,
	.pagination > .active > span,
	.pagination > .active > a:hover,
	.pagination > .active > span:hover,
	.pagination > .active > a:focus,
	.pagination > .active > span:focus {
	    z-index: 3;
	    color: #fff;
	    cursor: default;
	    background-color: #009688;
	    border-color: #009688;
	}
	.pagination > .disabled > span,
	.pagination > .disabled > span:hover,
	.pagination > .disabled > span:focus,
	.pagination > .disabled > a,
	.pagination > .disabled > a:hover,
	.pagination > .disabled > a:focus {
	    color: #777;
	    cursor: not-allowed;
	    background-color: #fff;
	    border-color: #ddd;
	}


  /* ====================页脚==================== */
  .footer{
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: #666;
    background-color: #eee;
    box-shadow: 0 0 6px #aaa;
    height: 4.6rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
  }

  .footer a{color: #666}

  .footer div {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
  }

  .footer div:hover {
    cursor: pointer;
  }

  .footer > div .fa {
    font-size: 2rem;
  }

  .footer > div > span {
    font-size: 1rem;
  }
  
