body {
  background: #f2f2f2;
  opacity: 0;
}
@font-face {
  font-family: 'Arial MT';
  src: url('ArialMTBold.woff2') format('woff2'),
    url('ArialMTBold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
#main {
  padding-bottom: 3.5rem;
}
#main .detail,
#main article {
  width: 100%;
  background-color: #ffffff;
  margin: 40px auto 15px;
  padding: 1rem;
  position: relative;
  font-size: 16px;
}

#main .detail {
  margin-top: 0;
  padding: 1rem .7rem .3rem;
}

.dis {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#main .detail h2 {
  text-align: center;
  font-size: 20px;
  margin-bottom: 20px;
}

#main .detail .item {
  width: 320px;
  height: 45px;
  background-color: #ffffff;
  position: relative;
}

#main .detail .item label {
  width: 80px;
  height: 45px;
  background-color: #e42000;
  line-height: 45px;
  text-align: center;
  font-size: 14px;
  color: #ffffff;
  position: relative;
}

#main .detail .item label:after {
  content: '';
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-right: 6px solid transparent;
  border-left: 6px solid #e42000;
  border-bottom: 6px solid transparent;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -12px;
}

#main .detail .item input {
  width: 240px;
  border: solid 1px #ededed;
  height: 45px;
  line-height: 45px;
  padding-left: 20px;
  color: #b3b3b3;
}

#main .detail .item input::placeholder {
  color: #b3b3b3;
}

#main .detail .item span,
#main .detail .item img {
  text-decoration: underline;
  font-size: 14px;
  line-height: 35px;
  color: #e42000;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
}

#main .detail .submitBtn {
  position: absolute;
  width: 144px;
  height: 48px;
  background-color: #e42000;
  bottom: 73px;
  right: 75px;
  font-size: 22px;
  font-weight: 700;
  line-height: 48px;
  color: #ffffff;
  text-align: center;
  cursor: pointer;
}

#main .content {
  width: 100%;
  justify-content: flex-start;
  align-items: flex-start;
  position: relative;
}
#main .mian_img{
  width: 100%;
  height: auto;
  margin: 0 auto;
  border: solid 0.04rem #dbdbdb;
}
#main .content img {
  width: 100%;
  height: 100%;
}

#main .content .img {
  position: relative;
}

#main .content .img .play {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  background: rgba(0, 0, 0, 0.2);
}

#main .content .img .play img {
  width: 10%;
}

#main .content h2 {
  margin-top: .4rem;
  margin-bottom: .4rem;
  text-align: left;
  font-size: .7rem;
}

#main .content p {
  width: 100%;
  /* padding-bottom: 15px; */
  margin-bottom: .5rem;
  font-size: .6rem;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  /* 几行后显示不开省略 */
  -webkit-line-clamp: 2;
}

#main .content p.time {
  color: #a2a2a2
}

#main .content .ks {
  width: 4rem;
  height: 36px;
  border: solid 1px #e42000;
  font-size: 14px;
  line-height: 36px;
  color: #e42000;
  text-align: center;
  flex-shrink: 0;
}

#main .content .price {
  font-size: 14px;
}

#main .content .price span {
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 4px;
  color: #ff2400;
}

#main .content .price b {
  font-family: 'Avanti';
  font-size: 30px;
}

#main .content .btm {
  align-items: flex-end;
  margin-top: .3rem;
  justify-content: flex-end;
}

#main .content .pay {
  font-size: .6rem;
  flex-shrink: 0;
}

#main .content .pay span {
  color: #f10000;
  font-size: .55rem;
  display: inline-block;
  margin-left: .2rem;
}

#main .content .pay i {
  font-size: 1rem;
  display: inline-block;
  margin-left: 5px;
}

#main .content .btm .btn {
  width: 4rem;
  height: 36px;
  font-weight: 700;
  font-size: .7rem;
  color: #ffffff;
  background-color: #cc0000;
  line-height: 36px;
  text-align: center;
  margin-left: 0;
}
#main .content .tags{
  flex-wrap: wrap;
  font-size: .5rem;
}
#main .content .tags span{
  flex-shrink: 0;
  height: 1.2rem;
  margin-bottom: .2rem;
  margin-right: .2rem;
  color: #838383;
  padding: 0 .3rem;
  border: 1px solid #e5e5e5;
  line-height: 1.2rem;
}
#main article>p{
  font-size: .5rem;
  margin-top: .5rem;
  margin-bottom: .5rem;
  color: #969696;
  text-align: right;
  padding: 0 .5rem;
}
#main article {
  padding: 0;
  margin-top: .4rem;
  background: none;
  align-items: flex-start;
  padding: 0;
}

#main article .right {
  background-color: #ffffff;
  /* height: 700px; */
  width: 100%;
  margin-bottom: 15px;
}
#main article .right .tabbox{
  width: 100%;
  height: 50px;
  background-image: linear-gradient(0deg,
      #f4f4f4 0%,
      #ffffff 100%);
  font-size: .7rem;
  line-height: 50px;
  justify-content: flex-start;
  padding-left: .4rem;
  font-weight: 700;
}
#main article .right .tabbox>div{
  padding: 0 .4rem;
  position: relative;
}
#main article .right .tabbox>div.active::after{
  content:"";
  width: 50%;
  height: 2px;
  background: #ff123f;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
#main article .right .tabbox2{
  position: fixed;
  top: 2rem;
  left: 0;
  box-shadow: 0px 0px 0.7rem 0px rgb(12 4 7 / 19%);
  display: none;
  z-index: 10;
}
#main article .right .tcontent{
  padding: 1rem .8rem;
}
#main article .right .tcontent .part{
  padding-bottom: .4rem;
  margin-bottom: .7rem;
}
#main article .right .tcontent .part4{
  
  padding-bottom: 0;
}
#main article .right .tcontent .part.border{
  border-bottom: 1px solid #f2f2f2;
}
#main article .right .tcontent h4{
  font-size: .6rem;
  color: #ff123f;
  line-height: .6rem;
  height: .6rem;
  padding-left: .4rem;
  border-left: .1rem solid #ff123f;
  margin-bottom: .4rem;
}
#main article .right .tcontent p{
  font-size: .5rem;
  color: #000000;
  line-height: .76rem;
}
#main article .right .part .teaclist>div{
  position: relative;
  border: 1px solid #f2f2f2;
  padding: .6rem .45rem 2.4rem .45rem;
}
#main article .right .part .teaclist>div:nth-child(2){
  margin-top: .4rem;
}
#main article .right .part .teaclist .t{
  flex-shrink: 0;
  text-align: center;
  font-size: .6rem;
  margin-right: .5rem;
}
#main article .right .part .teaclist .img{
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 3.8rem;
  background: #616161;
  padding-top: .3rem;
  overflow: hidden;
}
#main article .right .part .teaclist .img img{
  width: 90%;
}
#main article .right .part .teaclist .t b{
  margin-top: .2rem;
  display: block;
}
#main article .right .part .teaclist .info b{
  font-size: .6rem;
  display: block;
  line-height: .75rem;
  margin-bottom: .2rem;
}
#main article .right .part .teaclist p{
  font-size: .5rem;
  color: #595959;
}
#main article .right .part .teaclist .leyubtn{
  position: absolute;
  right: .45rem;
  bottom: .5rem;
  background: #ff123f;
  width: 5.8rem;
  height: 1.5rem;
  font-size: .55rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  line-height: 1.5rem;
  border-radius: 1.5rem;
}
#main article .right .title {
  width: 100%;
  height: 50px;
  background-image: linear-gradient(0deg,
      #f4f4f4 0%,
      #ffffff 100%);
  font-size: .7rem;
  line-height: 50px;
  justify-content: flex-start;
  padding-left: .8rem;
}

#main article .right .title span {
  width: 4px;
  height: 20px;
  background-color: #333333;
  margin-right: 15px;
}

#main article .right section {
  width: 100%;
  font-size: 15px;
  text-align: center;
}

#main article .right section img {
  width: 100%;
  margin-bottom: .3rem;
}

#main article .right section h4 {
  margin-bottom: 10px;
}

#main article .right section p {
  line-height: 23px;
}

#main article .right section p.name {
  margin-bottom: 15px;
}

#main article .right section p.red {
  color: #f10000;
  margin-bottom: 5px;
  margin-top: 15px;
}

#main article .right section p.mar {
  margin-bottom: 24px;
}

#main article .right section p.day {
  margin-top: 10px;
  margin-bottom: 5px;
}

#main article .lesson_box {
  flex-wrap: wrap;
  padding: 0.5rem .4rem;
}

#main article .lesson {
  width: 49%;
  margin-bottom: .3rem;
}
#main article .lesson  .img{
  border: solid 0.04rem #dbdbdb;
}
#main article .lesson h3 {
  width: 95%;
  font-size: .6rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: .3rem 0;
}

/* layout */
.layoutt {
  width: 100%;
  height: 100%;
  position: fixed;
  background: rgba(0, 0, 0, 0);
  top: 0;
  left: 0;
  z-index: -1;
}

.layoutt .layout_box {
  /* display: none; */
}

.layoutt .link_box {
  display: none;
}

.layoutt input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px #f2f2f2 inset !important;
}
.layoutt .cover{
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 88;
}
.layoutt>.layout_box {
  width: 100%;
  height: 0;
  background: #ffffff;
  border-radius: 0.5rem .5rem 0 0;
  position: absolute;
  left: 0;
  bottom: 0;
  overflow: hidden;
  transition: all .4s;
  z-index: 100;
}
.layoutt.active{
  z-index: 100;
  background: rgba(0, 0, 0, 0.5);
}
.layoutt.active>.layout_box.active{
  height: 15rem;
  transition: all .4s;
}
.layoutt .info {
  width: 100%;
  height: 2.5rem;
  padding-left: 0.6rem;
  padding-top: .3rem;
}

.layoutt .info p {
  font-size: 0.6rem;
  color: #1a1a1a;
}

.layoutt h3 {
  font-size: 0.7rem;
  color: #1a1a1a;
  margin-top: .1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.layoutt h3 span{
  position: relative;
  z-index: 1;
}
.layoutt h3 span::after{
  content: "";
  width: 100%;
  height: 0.23rem;
	background-color: #ffd271;
	border-radius: 0.1rem;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
}
.layoutt .close,
.leyu_close {
  width: 1.05rem;
  height: 1.05rem;
  position: absolute;
  top: -1.5rem;
  right: 0;
}

.layoutt .close img {
  width: 100%;
}

.layoutt form {
  flex-wrap: wrap;
  padding: .5rem .75rem;
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.layoutt .item,
.layoutt input,
.leyu_box input,
.layoutt select {
  width: 100%;
  height: 1.5rem;
  background-color: #f5f5f5;
  border-radius: 0.1rem;
  font-size: 0.55rem;
  color: #969696;
}

.layoutt input::placeholder {
  color: #969696;
}

.layoutt .item {
  margin-bottom: 8px;
}

.layoutt input,
.leyu_box input,
.layoutt select {
  padding-left: 10px;
}

.layoutt select {
  background: #f1f1f1 url(../img/form_arrow1.png) no-repeat right;
  background-position-x: 97%;
  background-size: 3.5%;
}

.layoutt .item.yzm input {
  width: 100%;
}

.layoutt .item.yzm span {
  width: 4.25rem;
  height: 1.5rem;
  background-color: #333333;
  line-height: 1.5rem;
  ;
  font-size: 16px;
  cursor: pointer;
  font-size: 14px;
  color: #ffffff;
  flex-shrink: 0;
}

.layoutt .btn {
  font-size: 0.75rem;
  font-weight: 700;
  color: #7b470e;
  margin: 12px auto 0;
  width: 9.5rem;
	height: 1.65rem;
  line-height: 1.65rem;
  background-color: #ffd593;
  border-radius: 0.81rem;
}

.layoutt em{
  font-size: .45rem;
  text-align: center;
  color: #000000;
  opacity: .5;
  display: block;
  margin-top: .4rem;
}
.btn-box {
  width: 100%;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  right: 0;
  bottom: 2.7rem;
}
.btn-box .go_lay{
  width: 10rem;
	height: 2rem;
  z-index: 99;
  background: linear-gradient(to bottom,#ffe29d,#f6bc33);
  background-size: 100%;
  color: #7b470e;
  font-weight: 700;
  font-size: .8rem;
    border-radius: 0.99rem;
    border: 1px solid #f6bc33;
}
.btn-box .leyu{
  height: 2rem;
  width: 2rem;
  flex-shrink: 0;
  background: linear-gradient(to bottom,#ffe29d,#f6bc33) ;
  border-radius: 2rem;
  font-size: .55rem;
  font-weight: 700;
  color: #7b470e;
  line-height: .65rem;
  margin-left: .5rem;
  border: 1px solid #f6bc33;
}