* {
  margin: 0;
  padding: 0;
}
html {
  height: 100%;
}

body {
  width: 100%;
  height: 100%;
  font-family: "SimHei";
}

.right-mattess > div {
  border-bottom: 1px solid rgb(201, 201, 201);
  box-sizing: border-box;
}
.right-mattess-tow > div {
  box-sizing: border-box;
}

.right-mattess > div:last-child {
  border: none;
}
.right-mattess-tow > div:last-child {
  border: none;
}

.right-mattess-tow>i{
  display: block;
  position: absolute;
  width: 2px;
  height: 100%;
  background-color: #A5A5A5;
}
button {
  width: 30px;
  height: 30px;
  font-size: 24px;
  margin: 0 8px;
  border: 0px;
  vertical-align: middle;
  line-height: 24px;
  border-radius: 24px;
  background-color: #ccc;
  outline: none;
}

button:active {
  background-color: #000;
  color: #fff;
}

.speedActive {
  display: inline-block;
  text-align: center;
  line-height: 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: blue;
  color: white;
}

header {
  height: 80px;
  /*line-height: 120px;*/
  font-size: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

header img {
  /*width: 48px;*/
  height: 48px;
  width: auto;
  margin-right: 16px;
}

.container {
  padding: 0 20px 20px;
  box-sizing: border-box;
  width: 100%;
  display: flex;
  justify-content: space-around;
}

.left {
  width: 100%;
  margin: 0 16px;
}

.container .left50hz {
  width: 50%;
  margin: 0;
  padding: 0 10px;
}

.right-left-top,
.right-left-bom,
.left-top50hz,
.left-bom50hz {
  width: 100%;
}

.container .right50hz {
  width: 50%;
  margin: 0;
  padding: 0 10px;
}

.right {
  margin-right: 16px;
}

.contain .left-right {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: space-around;
}

h2 {
  /*  width: 100%;*/
  height: 40px;
  background: #f1f1f1;
  font-size: 26px;
  line-height: 40px;
  padding: 0 20px;
  font-weight: normal;
  color: rgba(0, 0, 0, 0.54);
  border-left: 5px solid #1213f7;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-top: 10px;
}

h2 .bcg-title,
h2 .breath-title {
  position: relative;
  user-select: none;
}

.question-icon::after {
  content: "";
  width: 24px;
  height: 24px;
  position: absolute;
  right: -1.5em;
  top: 8px;
  background: url(../images/question.png) no-repeat center;
  background-size: contain;
}

h2 div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

h2 .show-details {
  width: 220px;
  height: 80px;
  border-radius: 5px;
  position: absolute;
  top: 0;
  left: 7em;
  border: 1px solid #ccc;
  background: rgba(255, 255, 255, 0.6);
  z-index: 99;
  visibility: hidden;
}

h2 .show-details.bgc {
  font-size: 14px;
  line-height: 20px;
  align-items: flex-start;
  padding: 10px;
  box-sizing: border-box;
  left: 28em;
}

h2 .show-details.show {
  visibility: visible;
}

h2 .show-details::before {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  left: -10px;
  top: 10px;
  border-right: 10px solid #ccc;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.contain .sign {
  width: 20%;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /*  flex-wrap: wrap;*/
}

.contain .sign .img {
  width: 48px;
  height: 48px;
  /* margin-right: 16px; */
}

.contain .sign .img img {
  width: 100%;
  height: 100%;
}

.contain .sign p {
  text-align: center;
  font-size: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#realheartData50hz,
#realBreathData50hz {
  font-size: 16px;
  position: absolute;
  left: 150px;
  top: 0;
  line-height: 40px;
}
.contain .sign span {
  text-align: center;
  font-size: 14px;
}

.contain .right-bed {
  margin: 0 auto;
  margin-top: 30px;
  width: 100%;
  /* min-height: 400px; */
  position: relative;
  perspective: 1000px;
  border: 1px solid #ccc;
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  border-top-color: rgba(255, 255, 255, 0.5);
  /*  -webkit-border-radius: 1.6em 1.6em 1em 1em / 4em 4em 1em 1em;
  -moz-border-radius: 1.6em 1.6em 1em 1em / 4em 4em 1em 1em;*/
  border-radius: 5px;
  text-shadow: rgba(255, 255, 255, 0.5) 0 -1px 0,
    rgba(0, 0, 0, 0.18) 0 0.18em 0.15em;
  box-shadow: inset rgba(255, 254, 255, 0.6) 0 0.3em 0.3em,
    inset rgba(0, 0, 0, 0.15) 0 -0.1em 0.3em,
    /* inner shadow */ hsl(0, 0%, 65%) 0 0.1em 5px, hsl(0, 0%, 65%) 0 0.3em 1px,
    /* color border */ rgba(0, 0, 0, 0.2) 0 0.5em 10px;
}

.contain .right-bed .sleep {
  position: absolute;
  z-index: 110;
  height: 90%;
  width: 100%;
  top: 10px;
  display: flex;
  justify-content: center;
}

.contain .right-bed .sleep img {
  height: 100%;
}

.contain .right-bed .state-tips {
  width: 100%;
  position: absolute;
  bottom: 20px;
  text-align: center;
  color: #0000008a;
  font-size: 22px;
}

.contain .right-mattess {
  margin: 0 auto;
  margin-top: 24px;
  /* position: absolute;
  width: 85%;
  left: 7.5%;
  height: 240px;
  top: 24px; */
  /*background: rgb(10, 11, 251);*/
  background-color: rgb(221, 221, 221);
  box-shadow: inset rgba(255, 254, 255, 0.6) 0 0.3em 0.3em,
    inset rgba(0, 0, 0, 0.15) 0 -0.1em 0.3em,
    inner shadow hsl(0, 0%, 45%) 0 0.1em 1px, hsl(208, 50%, 40%) 0 0.3em 1px,
    color border rgba(0, 0, 0, 0.2) 0 0.5em 1px;
}

.contain .right-mattess-tow {
  position: relative;
  margin: 0 auto;
  margin-top: 55px;
  border-radius: 10px;
  /* position: absolute;
  width: 85%;
  left: 7.5%;
  height: 240px;
  top: 24px; */
  /*background: rgb(10, 11, 251);*/
  background-color: #BFBFBF;
  box-shadow: inset rgba(255, 254, 255, 0.6) 0 0.3em 0.3em,
    inset rgba(0, 0, 0, 0.15) 0 -0.1em 0.3em,
    inner shadow hsl(0, 0%, 45%) 0 0.1em 1px, hsl(208, 50%, 40%) 0 0.3em 1px,
    color border rgba(0, 0, 0, 0.2) 0 0.5em 1px;
}

.contain .right-pillow {
  position: absolute;
  top: 20px;
  left: 110px;
  width: 200px;
  height: 60px;
  border-radius: 0.5em / 2em;
  background-color: rgba(255, 254, 255, 0.8);
  box-shadow: inset rgba(255, 254, 255, 0.8) 0 0.3em 0.3em,
    inset rgba(0, 0, 0, 0.15) 0 -0.1em 0.3em,
    /* inner shadow */ hsl(0, 0%, 45%) 0 0.1em 3px,
    hsl(208, 50%, 40%) 0 0.3em 1px,
    /* color border */ rgba(0, 0, 0, 0.5) 0 0.5em 5px;
}

.contain .right-top {
  height: 260px;
}

.contain .right-bom1 {
  height: 100%;
  -webkit-mask-image: url(../images/circle.svg);
  mask-image: url(../images/circle.svg);
  -webkit-mask-size: 11.1111%;
  mask-size: 11.1111%;
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-position-y: center;
  mask-position-y: center;
}

.contain .right-bom2 {
  height: 100%;
  -webkit-mask-image: url(../images/circle.svg);
  mask-image: url(../images/circle.svg);
  -webkit-mask-size: 11.1111%;
  mask-size: 11.1111%;
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-position-y: center;
  mask-position-y: center;
}
.contain .right-bom1-tow {
  height: 100%;
  -webkit-mask-image: url(../images/circular.svg);
  mask-image: url(../images/circular.svg);
  -webkit-mask-size: 20% 60%;
  mask-size: 20% 60%;
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-position-y: center;
  mask-position-y: center;
}

.contain .right-bom2-tow {
  height: 100%;
  -webkit-mask-image: url(../images/circular.svg);
  mask-image: url(../images/circular.svg);
  -webkit-mask-size: 20% 60%;
  mask-size: 20% 60%;
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-position-y: center;
  mask-position-y: center;
}
.left-right {
  position: relative;
}
.x-axle {
  position: absolute;
  z-index: 500;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  left: 0;
  margin-left: 54px;
  bottom: 5px;
  font-size: 14px;
  color: #666;
}
.x-axle span {
  display: block;
  width: 14px;
  text-align: center;
}

.pressure-multiple {
  position: absolute;
  width: 80px;
  height: 30px;
  line-height: 30px;
  border: 1px solid #ccc;
  z-index: 100;
  top: -40px;
  right: 0;
  display: none;
  background: #999;
  text-align: center;
  color: #fff;
  font-size: 20px;
}

/********************* cover start *************************/
#cover-model {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999999;
  display: none;
}
.cover-bg {
  width: 100%;
  height: 100%;
  background: #0d0a31;
  opacity: 0.85;
}
.cover-inner-view {
  width: 550px;
  height: 700px;
  background: #fff;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 15px;
  display: flex;
  padding: 30px;
  box-sizing: border-box;
}
.cover-inner-view hr {
  border: 1px dashed #ccc;
}
.close-btn {
  width: 50px;
  height: 50px;
  position: absolute;
  bottom: -100px;
  left: 50%;
  background: url(../images/close.png) no-repeat center;
  background-size: contain;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 999999;
}
.cover-inner-view .item {
  flex: 1;
  position: relative;
}
.item .inner {
  width: 70%;
  height: 80%;
  position: absolute;
  left: 50%;
  top: 60%;
  transform: translate(-50%, -50%);
  background: url(../images/people.png) no-repeat top center;
  background-size: contain;
}
.item img.people {
  height: 80%;
}
.item .line {
  display: inline-block;
  height: 2px;
  width: 20px;
  border-radius: 1px;
  background: #3c8cff;
  position: relative;
}
.item .line-right {
  transform: rotate(-45deg);
}
.item .line-left {
  transform: rotate(45deg);
}
.item .line-right::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #3c8cff;
  position: absolute;
  left: -10px;
  top: -5px;
  border-radius: 5px;
}
.item .line-left::after {
  content: "";
  width: 10px;
  height: 10px;
  background: #3c8cff;
  position: absolute;
  right: -10px;
  top: -5px;
  border-radius: 5px;
}
.item ul li {
  list-style: none;
  height: 40px;
  position: relative;
  padding-left: 25px;
}
.item ul li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0;
  color: #888;
}
.line-top {
  height: 2px;
  width: 50px;
  background: #3c8cff;
  position: absolute;
  top: 7px;
  left: 15px;
}
.lint-top-l {
  top: 7px;
  right: 15px;
  left: auto;
}
.item .tips {
  position: absolute;
}
.tips1 {
  top: 10px;
  right: 25px;
}
.tips2 {
  top: 65px;
  right: 25px;
}
.tips3 {
  top: 158px;
  right: 25px;
}
.tips4 {
  top: 65px;
  left: 25px;
}
.tips5 {
  bottom: 28px;
  left: 35px;
}
.txt {
  position: absolute;
  font-size: 12px;
  color: #888;
  width: 8em;
  top: 10px;
}
.txt-r {
  left: 20px;
  text-align: left;
}
.txt-l {
  right: 20px;
  text-align: right;
}

.link-btn {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  height: 70px;
  line-height: 70px;
  width: 220px;
  border-radius: 35px;
  background: rgba(0, 188, 212, 1);
  font-size: 22px;
  color: #fff;
  cursor: default;
  text-align: center;
  z-index: 99999;
}

#smart-bed {
  display: none;
}

.e-content {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  z-index: 999;
  background: url(../images/example/home.png) no-repeat center;
  background-size: contain;
}
.e-content img {
  /* width: 100%; */
}
.details-model {
  height: 100%;
  display: none;
}
.inner-img {
  height: 100%;
  width: 100%;
  overflow-y: auto;
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
}
.adjustLeft, .adjustRight {
  padding: 0px 8px;
  height: 30px;
  font-size: 14px;
  display: inline-block;
  color: rgb(51, 51, 51);
  background: #cccccc;
  border-radius: 2px;
  line-height: 30px;
  vertical-align: middle;
  cursor: pointer;
  transition: all .3s linear;
  margin: 0 8px;
  user-select: none;
}
.adjustLeft:hover, .adjustRight:hover {
  background: #dedede;
  color: rgb(91, 91, 91);
}
