* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-size: .32rem;
  color: #333;
}

em {
  font-style: normal;
}

.van-cell {
  padding: 0;
  background-color: transparent !important;
}

.thinPage {
  width: 100%;
  height: 100vh;
  background: #61d396;
  padding: .24rem;
}

.thinPage .bgBox {
  background: #fff;
  width: 100%;
  height: 100%;
  position: relative;
}

.thinPage .bgBox:after {
  display: block;
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid #fff;
  width: calc(100% + 8px);
  height: calc(100% + 8px);
  z-index: 1;
}

.thinPage .wrap {
  position: relative;
  z-index: 20;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.35) 0, rgba(97, 211, 150, 0.3) 100%);
  height: 100%;
  overflow: auto;
  padding: .2rem .3rem 0;
}

.nameDate {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.nameDate h1 {
  font-size: .4rem;
  font-weight: normal;
  display: flex;
  align-items: center;
}

.nameDate h1 img {
  margin-right: .12rem;
  width: .7rem;
}

.nameDate h1 p {
  font-size: inherit;
  width: 1.4rem;
}

.nameDate h1 a {
  margin-left: .1rem;
  position: relative;
  top: .03rem;
}

.nameDate h1 a .iconfont {
  font-size: .28rem;
  color: #999;
}

.nameDate .date {
  text-align: right;
}

.nameDate .date p {
  font-size: .28rem;
  line-height: 1.8em;
}

.weight {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin: 0rem 0 0;
  position: relative;
  padding-right: 24%;
}

.weight > div {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.2) 0%, rgba(125, 185, 232, 0) 100%) #4caf50;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0.02rem 0.05rem 0.2rem #4caf50;
  position: relative;
  z-index: 2;
}

.weight > div:nth-child(2) {
  position: absolute;
  bottom: 0;
  left: 55%;
  transform: scale(0.8);
  transform-origin: left bottom;
  z-index: 1;
}

.weight p {
  font-size: .28rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.weight p span {
  font-size: .5rem;
  font-weight: bold;
  line-height: 1.3em;
  color: #fff;
}

.weight p em {
  font-size: .30rem;
  margin-left: .08rem;
  color: #fff;
}

.weight p:nth-child(2) {
  transform-origin: right;
  transform: scale(0.8);
}

.weight .van-cell {
  background: none;
  padding: 0;
}

.weight .van-cell .van-field__control {
  text-align: center;
  color: #fff;
  font-size: .5rem;
  font-weight: bold;
  line-height: 1.8em;
  color: #fff;
}

.weight .van-cell input::placeholder {
  color: #fff;
}

.weight .exceed {
  background: linear-gradient(to right, rgba(255, 255, 255, 0.35) 0, rgba(125, 185, 232, 0) 100%) #ff9800;
  box-shadow: 0.02rem 0.05rem 0.2rem rgba(255, 152, 0, 0.7);
}

.weightInfo {
  margin: .4rem 0 .4rem;
}

.weightInfo .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .1rem 0;
}

.weightInfo .row p {
  font-size: .24rem;
  color: #999;
  flex: 1;
  text-align: center;
}

.weightInfo .row p span {
  font-size: .28rem;
  color: #555;
  font-weight: bold;
}

.sport .sportWrap {
  display: flex;
  width: 100%;
}

.sport .sportWrap .left {
  width: 1.2rem;
  height: .92rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0.02rem 0.08rem 0.16rem 0.04rem rgba(0, 0, 0, 0.13);
  background: #61d396;
  font-weight: bold;
  color: #fff;
}

.sport .sportWrap .right {
  width: 100%;
  display: flex;
}

.sport .sportWrap .right .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: calc(100% - .7rem);
  background: #fff;
}

.sport .sportWrap .right .top .b {
  width: 50%;
  font-size: .24rem;
  text-align: center;
  line-height: .9rem;
  box-shadow: 0.02rem 0.08rem 0.16rem 0.04rem rgba(0, 0, 0, 0.13);
}

.sport .sportWrap .right .top .b span {
  font-size: .32rem;
  margin: 0 .12rem;
  font-weight: bold;
}

.sport .sportWrap .right .top .b em {
  font-size: .24rem;
}

.sport .sportWrap .btn {
  width: .6rem;
}

.sport .sportWrap .btn span {
  text-align: center;
  background: linear-gradient(to top, #8bc34a 0%, rgba(125, 185, 232, 0) 100%) #4caf50;
  line-height: 1rem;
  color: #fff;
  font-size: .32rem;
  display: block;
  border: .02rem solid #fff;
  width: .7rem;
}

.sport .sportWrap .btn span .van-icon {
  color: #fff;
  display: inline-block;
}

.sport .sportWrap .btn span .van-icon.tran {
  transform: rotateX(180deg);
}

.sport .bottom {
  margin-top: .04rem;
  margin-bottom: .7rem;
}

.sport .bottom .t {
  padding: 0 0rem .22rem;
  position: relative;
  margin-top: .2rem;
  background: #fff;
  box-shadow: 0.02rem 0.08rem 0.16rem 0.04rem rgba(0, 0, 0, 0.13);
}

.sport .bottom .t:last-child {
  border: none;
}

.sport .bottom .t .row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: .12rem .3rem;
}

.sport .bottom .t .row span {
  font-size: .34rem;
  text-align: right;
  line-height: .56rem;
  width: calc(100% / 3);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.sport .bottom .t .row span .iconfont {
  font-size: .26rem;
  margin-right: .14rem;
  font-weight: 100;
  color: #aaa;
  transform: scale(0.9);
}

.sport .bottom .t .btn {
  position: absolute;
  top: 10%;
  right: 0;
  transform: translate(50%, -50%);
  background: #fff;
  border: 1px solid #333;
  border-radius: 50%;
  display: none;
  width: .5rem;
  line-height: .5rem;
  text-align: center;
}

.sport .bottom .t .btn .iconfont {
  font-size: .24rem;
  color: #61d396;
}

.sport .bottom .t .btn .iconfont:nth-child(2) {
  color: #607d8b;
}

.sport .bottom .t .row1 {
  display: flex;
  justify-content: space-between;
  padding: .12rem .3rem;
  background: linear-gradient(to top, #8bc34a 0%, rgba(125, 185, 232, 0) 100%) #4caf50;
  color: #fff;
}

.sport .bottom .t .row1 input::placeholder {
  color: #fff;
}

.sport .bottom .t .row1 .l {
  display: flex;
  align-items: center;
}

.sport .bottom .t .row1 .type {
  white-space: nowrap;
  width: auto;
}

.sport .bottom .t .row1 .type .van-cell {
  width: 5em;
}

.sport .bottom .t .row1 .type .van-cell .van-field__control {
  font-size: .32rem;
  color: #fff;
}

.sport .bottom .t .row1 .type:nth-child(2) {
  font-size: .26rem;
  color: #fff;
}

.sport .bottom .t .row1 .kcal {
  font-size: .28rem;
  margin-left: .2rem;
  color: #fff;
  display: flex;
  align-items: center;
}

.sport .bottom .t .row1 .kcal .van-cell {
  width: 4em;
}

.sport .bottom .t .row1 .kcal .van-cell .van-field__control {
  font-size: .28rem;
  color: #fff;
}

.sport .bottom .t .row1 .kcal .iconfont {
  font-size: .24rem;
  color: rgba(255, 255, 255, 0.8);
  margin-right: .12rem;
}

.sport .bottom .t .row1 .desc {
  width: 50%;
}

.sport .bottom .t .row1 .desc .van-cell .van-field__control {
  font-size: .28rem;
  color: #fff;
  text-align: right !important;
}

.sport .bottom .t .row2 {
  display: flex;
  justify-content: space-between;
  padding: .12rem .3rem 0;
  border-top: .02rem solid #efefef;
}

.sport .bottom .t .row2 span {
  white-space: nowrap;
  width: 50%;
  font-size: .24rem;
  color: #999;
  display: flex;
}

.sport .bottom .t .row2 span:nth-child(1) {
  width: 66%;
}

.sport .bottom .t .row2 span:nth-child(2) {
  width: 34%;
}

.sport .bottom .t .row2 span .van-cell .van-field__control {
  font-size: .24rem;
  color: #777;
  line-height: 1.5em;
}

.sport .bottom .img {
  width: .4rem;
  height: .4rem;
  border-radius: 50%;
  background: #61d396;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: .2rem;
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-70%, -50%);
  display: none;
}

.sport .bottom .img img {
  width: .28rem;
}

.food {
  margin: .6rem -.1rem 0;
}

.food .foodTitle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.food .foodTitle .title {
  display: flex;
  align-items: center;
  font-size: .38rem;
  font-weight: bold;
}

.food .foodTitle .title img {
  margin-right: .2rem;
  width: .44rem;
}

.food .foodTitle .right {
  width: 75%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.food .foodTitle p {
  font-size: .28rem;
  color: #4caf50;
  font-weight: bold;
}

.food .foodTitle span {
  margin-left: .2rem;
  width: .44rem;
  height: .44rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #4caf50;
  border-radius: 50%;
}

.food .foodTitle span i {
  color: #fff;
  font-size: .28rem;
}

.food .swiper-pagination {
  position: relative;
  bottom: 0rem;
  text-align: right;
  width: calc(100% - .5rem);
}

.food .swiper-pagination .swiper-pagination-bullet-active {
  background: #61d396;
}

.food .mySwiper {
  padding-top: .3rem;
  padding-bottom: .4rem;
}

.food .mySwiper .swiper-slide {
  background: #fff;
  height: 100%;
  width: 34%;
  margin: 0 .08rem;
  border-radius: .12rem;
  box-shadow: 0.02rem 0.08rem 0.16rem 0.04rem rgba(0, 0, 0, 0.13);
  position: relative;
}

.food .mySwiper .swiper-slide .btn {
  position: absolute;
  top: 0.1rem;
  right: 0.1rem;
  z-index: 10;
  text-align: right;
  display: none;
}

.food .mySwiper .swiper-slide .btn .iconfont {
  margin-bottom: .06rem;
  display: block;
  font-size: .28rem;
  color: #607d8b;
}

.food .mySwiper .swiper-slide .btn .iconfont:nth-child(1) {
  margin-bottom: .2rem;
  color: #61d396;
  font-size: .24rem;
  position: relative;
  right: .02rem;
}

.food .mySwiper .swiper-slide .box {
  padding: .2rem .2rem .16rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  text-align: center;
}

.food .mySwiper .swiper-slide .iconfont.dis {
  font-size: 1rem;
  color: #feae30;
  position: absolute;
  top: .20rem;
  left: 50%;
  transform: translateX(-50%) scaleY(0.8);
  right: 0;
  opacity: .4;
}

.food .mySwiper .swiper-slide .time {
  font-size: .26rem;
  color: #999;
  padding-bottom: .1rem;
  margin-bottom: .3rem;
}

.food .mySwiper .swiper-slide .fd p {
  font-size: .24rem;
  color: #666;
}

.food .mySwiper .swiper-slide .desc {
  margin-top: .06rem;
}

.food .mySwiper .swiper-slide .desc p {
  font-size: .24rem;
  color: #feae30;
  transform: scale(0.9);
}

.food .mySwiper .swiper-slide .tt {
  font-size: .24rem;
  line-height: 2em;
  text-align: center;
  background: #feae30;
  font-weight: 100;
  color: #fff;
}

.food .mySwiper .swiper-slide.good .iconfont.dis {
  color: #61d396;
}

.food .mySwiper .swiper-slide.good .tt {
  background: #61d396;
}

.food .mySwiper .swiper-slide.warning .iconfont.dis {
  color: #feae30;
}

.food .mySwiper .swiper-slide.warning .tt {
  background: #feae30;
}

.food .mySwiper .swiper-slide.exceed .iconfont.dis {
  color: #ff5722;
}

.food .mySwiper .swiper-slide.exceed .tt {
  background: #ff5722;
}

.food .mySwiper .swiper-slide.free .iconfont.dis {
  color: #03a9f4;
}

.food .mySwiper .swiper-slide.free .tt {
  background: #03a9f4;
}

.water {
  margin-top: .4rem;
}

.water .waterWrap .left {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  padding-bottom: .3rem;
}

.water .waterWrap .left .leftText {
  display: flex;
  align-items: center;
  width: 3rem;
}

.water .waterWrap .left .leftText .text p {
  font-size: .3rem;
  color: #555;
}

.water .waterWrap .left .leftText .text p em {
  font-size: .4rem;
  font-weight: bold;
}

.water .waterWrap .left .icon {
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: .3rem;
}

.water .waterWrap .left .iconfont {
  color: #4fd2d8;
  font-size: .5rem;
}

.water .waterWrap .left .progess {
  width: calc(100% - 3rem);
  height: .12rem;
  background: rgba(79, 210, 216, 0.3);
  border-radius: .1rem;
  position: relative;
}

.water .waterWrap .left .progess .pro {
  height: 100%;
  background: #4fd2d8;
  border-radius: .1rem;
}

.water .waterWrap .left .progess span {
  display: inline-block;
  padding: .04rem .12rem;
  background: #4fd2d8;
  color: #fff;
  font-size: .28rem;
  border-radius: .2rem;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.water .waterWrap .right {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.water .waterWrap .right .b {
  position: relative;
  background: url(../images/bz.png) no-repeat center center;
  background-size: 100% 100%;
  width: 1.6rem;
  height: 1.6rem;
}

.water .waterWrap .right .b .icon {
  position: absolute;
  top: 0;
  right: 0;
}

.water .waterWrap .right .b .icon .iconfont {
  font-size: .4rem;
  opacity: .3;
  color: #4fd2d8;
}

.water .waterWrap .right .b .icon span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
}

.water .waterWrap .right .b .text {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 0rem;
}

.water .waterWrap .right .b .text em {
  font-size: .24rem;
  color: #999;
  transform: scale(0.9);
}

.water .waterWrap .right .b .text p .van-field__control {
  color: #666;
  font-size: .24rem;
  text-align: center;
  line-height: .3rem;
}

.water .waterWrap .right .b .text span .van-field__control {
  text-align: center !important;
  color: #4fd2d8;
  font-size: .32rem;
  line-height: .4rem;
  font-weight: bold;
  text-align: center;
}

.water .waterWrap .right .b .text .van-cell {
  padding: 0;
  background-color: transparent !important;
  line-height: .4rem !important;
}

.three {
  padding: .2rem 0;
  display: flex;
  flex-wrap: wrap;
}

.three .card {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .2rem .4rem;
  border-radius: .3rem;
  margin: .2rem 0;
  border-bottom: 1px dashed #61d396;
}

.three .card:nth-child(1) {
  width: 100%;
}

.habit {
  padding: .2rem 0 .4rem;
  margin-right: -.3rem;
  border-radius: .3rem;
  background: url(../images/bg.png) no-repeat 118% -105%;
}

.habit .checkBox {
  padding-top: .2rem;
  display: flex;
  flex-wrap: wrap;
}

.habit .checkBox .check {
  width: 45%;
  margin: .2rem 0;
}

.plain {
  padding: 0rem 0 .4rem;
  border-radius: .3rem;
}

.plain .text {
  margin-top: .2rem;
  box-shadow: 0.02rem 0.08rem 0.16rem 0.04rem rgba(0, 0, 0, 0.13);
  border: 0.12rem solid rgba(255, 152, 0, 0.6);
}

.plain .text p {
  font-size: .28rem;
  line-height: 2em;
}

.plain .text .van-cell {
  background: white !important;
}

.plain .text .van-field__control {
  font-size: .28rem;
  line-height: 2em;
  height: 2rem;
  padding: .14rem .2rem;
}

.sportSet .title {
  font-size: .36rem;
  font-weight: bold;
  text-align: center;
  padding: .3rem 0;
}

.sportSet .van-button__content .van-button__text {
  color: #fff;
}

.sportSet .van-cell {
  padding: 10px 16px;
}

.foodSet .pj {
  display: flex;
  padding: .2rem .32rem;
}

.foodSet .pj span {
  width: 1rem;
  margin-right: .24rem;
  font-size: .32rem;
}

.foodSet .van-radio-group {
  display: flex;
  flex-wrap: wrap;
  width: calc(100% - 1.24rem);
}

.foodSet .van-radio-group .van-radio {
  width: 50%;
  padding: .1rem 0;
}

.foodSet .van-radio-group .van-radio__icon i {
  font-size: .28rem;
}

.foodSet .van-radio-group .van-radio__label {
  font-size: .28rem;
  white-space: nowrap;
}
