/*清除元素默认的内外边距  */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html body {
  overflow: hidden;
}
/*让所有斜体 不倾斜*/
em,
i {
  font-style: normal;
}
/*去掉列表前面的小点*/
li {
  list-style: none;
}
/*图片没有边框   去掉图片底侧的空白缝隙*/
img {
  border: 0; /*ie6*/
  vertical-align: middle;
}
/*让button 按钮 变成小手*/
button {
  cursor: pointer;
}
/*取消链接的下划线*/
a {
  color: #666;
  text-decoration: none;
}

.popLike {
  width: 298px;
  height: 172px;
  padding: 5px;
  background-color: #ffffff;
  border-radius: 5px;
}

.popLike i {
  position: absolute;
  top: -7px;
  right: 10px;
  z-index: 99;
}

.specialInfo {
  position: relative;
  padding: 2px;
  width: 120px;
  height: 80px;
  background-color: #009999;
  border-radius: 5px;
  opacity: 0.8;
  font-weight: bolder;
}

.specialInfo div {
  margin: 5px;
  color: #fff;
}

.specialInfo p {
  margin-top: 2px;
}

.specialInfo p:nth-child(3) {
  text-align: center;
}

.selfInfo {
  width: 200px;
  height: 90px;
  padding: 0 5px;
  background-color: #fff;
  border-radius: 10px;
  opacity: 0.9;
}

.selfInfo div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5px 5px;
  height: 90px;
  border-radius: 10%;
  color: #333333;
  background-color: #ccffff;
  border-left: 1px solid #0bace6;
  border-right: 1px solid #0bace6;
  font-weight: bold;
}

.selfInfo p:nth-child(2) {
  margin: 2px 0;
}

@media screen and (max-width: 768px) {
  .left_contain {
    display: none;
  }
  .popLike {
    display: none;
  }
  .specialInfo {
    display: none;
  }
  .selfInfo {
    display: none;
  }
}

@media screen and (min-width: 768px) {
  .video {
    width: 288px;
    height: 162px;
  }

  .left_contain {
    position: absolute;
    top: 60px;
    left: 10px;
    width: 360px;
    opacity: 0.8;
    z-index: 1;
    color: #ccffcc;
  }

  .left_contain div {
    border-radius: 10px;
  }

  .left_contain #first {
    margin-bottom: 10px;
    height: 80px;
    font-weight: bold;
    background-image: linear-gradient(#82827d, #5b6130);
    box-shadow: 0 5px 10px 0px #333, 0 15px 20px 0px #cccccc;
  }

  #first h3 {
    position: absolute;
    padding: 15px 15px;
  }

  #first .showCam {
    position: absolute;
    top: 15px;
    right: 10px;
    display: flex;
    flex-direction: column;
  }

  .showCam > span {
    font-size: 0.8em;
    margin-top: 10px;
    color: #ffffff;
  }

  .toggle--checkbox {
    display: none;
  }

  .toggle--btn {
    display: block;
    margin: 0 auto;
    font-size: 1em;
    transition: all 350ms ease-in;
  }
  .toggle--btn:hover {
    cursor: pointer;
  }

  .toggle--btn,
  .toggle--btn:before,
  .toggle--btn:after,
  .toggle--checkbox,
  .toggle--checkbox:before,
  .toggle--checkbox:after,
  .toggle--feature,
  .toggle--feature:before,
  .toggle--feature:after {
    transition: all 250ms ease-in;
  }
  .toggle--btn:before,
  .toggle--btn:after,
  .toggle--checkbox:before,
  .toggle--checkbox:after,
  .toggle--feature:before,
  .toggle--feature:after {
    content: '';
    display: block;
  }

  .toggle--knob .toggle--btn {
    position: relative;
    width: 100px;
    height: 30px;
    font-family: 'PT Sans', Sans Serif;
    text-transform: uppercase;
    color: #fff;
    background: #a4bf4d;
    box-shadow: inset 0 20px 40px -10px #7b9d25;
    border-radius: 40px;
  }
  .toggle--knob .toggle--btn:before {
    display: block;
    position: absolute;
    top: 50%;
    left: 60%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f1f1;
    box-shadow: 0 4px 10px 0 #999, inset 0 10px 10px 8px rgba(241, 241, 241, 0.6), inset 0 0 8px 0px #333,
      inset 0 0 0 13px #ccc, inset 0 0 0 14px #f1f1f1;
    text-indent: -100%;
  }
  .toggle--knob .toggle--feature {
    position: relative;
    display: block;
    overflow: hidden;
    height: 30px;
    text-shadow: 0 1px 2px #666;
  }
  .toggle--knob .toggle--feature:before,
  .toggle--knob .toggle--feature:after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }
  .toggle--knob .toggle--feature:before {
    content: attr(data-label-on);
    left: 20%;
  }
  .toggle--knob .toggle--feature:after {
    content: attr(data-label-off);
    right: -60%;
  }
  .toggle--knob .toggle--checkbox:checked + .toggle--btn {
    background: #a2a2a2;
    box-shadow: inset 0 20px 40px -10px #7e7e7e;
  }
  .toggle--knob .toggle--checkbox:checked + .toggle--btn:before {
    left: 0;
  }
  .toggle--knob .toggle--checkbox:checked + .toggle--btn .toggle--feature:before {
    left: -60%;
  }
  .toggle--knob .toggle--checkbox:checked + .toggle--btn .toggle--feature:after {
    right: 20%;
  }

  .left_contain #second {
    position: relative;
    margin-bottom: 10px;
    border-bottom: 1px solid #636073;
    height: 250px;
    background-image: linear-gradient(#82827d, #5b6130);
    box-shadow: 0 5px 10px 0px #333, 0 15px 20px 0px #cccccc;
  }

  #second .title {
    position: absolute;
    padding: 15px 15px;
  }

  #second .radar {
    margin: 10px 0;
    padding-top: 15px;
    height: 250px;
  }

  .left_contain #third {
    position: relative;
    margin-bottom: 10px;
    height: 80px;
    background-image: linear-gradient(#82827d, #5b6130);
    box-shadow: 0 5px 10px 0px #333, 0 15px 20px 0px #cccccc;
  }

  #third h3 {
    position: absolute;
    padding: 15px 15px;
  }
  .showVis {
    position: absolute;
    right: 20px;
    width: 60%;
    height: 100%;
    display: flex;
    /* flex-direction: column; */
  }

  .showVis .button {
    line-height: 25px;
    margin-top: 10px;
    height: 25px;
    width: 80px;
    cursor: pointer;
    text-align: center;
    margin-left: auto;
    margin-top: 30px;
    transition: all 0.5s;
    border-radius: 0;
    background-color: #ccd2dc;
    box-shadow: 1px 1px 4px 0 #cccccc, inset 0 0 8px 0px #999;
  }

  .showVis .button span {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 0.8em;
    color: #000;
  }

  .button:hover {
    background-color: rgba(249, 255, 255, 0.719);
    border-radius: 30px;
  }

  .left_contain #fourth {
    position: relative;
    margin-top: 10px;
    border-top: 1px solid #636073;
    height: 270px;
    background-image: linear-gradient(#82827d, #5b6130);
    box-shadow: 0 5px 10px 0px #333, 0 15px 20px 0px #cccccc;
  }

  .curve {
    margin: 15px 0;
    height: 260px;
  }

  .curve .caption {
    display: flex;
  }

  .curve h3 {
    color: #ccffcc;
    padding: 0 15px;
    border-right: 2px solid #00f2f1;
  }

  .curve a {
    padding: 5px;
    font-size: 15px;
    line-height: 15px;
    border-radius: 5px;
    color: #0bace6;
  }

  .curve a.active {
    background-color: #4c9bfd;
    color: #ffffff;
  }

  .curve .inner {
    display: flex;
    flex-direction: column;
  }

  .curve .line {
    margin-top: 10px;
    width: 100%;
    height: 200px;
  }
}
