/* 全局样式 */
html,body{
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
#app{
  position: relative;
 }
 
.mask {
  position: fixed;
  top: 44px; /* 设置为 header 的高度 */
  left: 0;
  width: 100%;
  height: calc(100% - 44px); /* 减去 header 的高度 */
  background-color: #ccc;
  opacity: 0.7;
}

header{
  width: 100%;
  height: 44px;
  background-color: #fff;
  padding: 15px 50px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  position: sticky;
  top:0;
  z-index:999;
}

.el-icon-back:hover{
  cursor: pointer;
}


/* 导航栏样式 */
.navbar {
  /* width: 50%; */
  /* width: 70%; */
  width: 760px;
  height: 100%;
  display: flex;
  align-items: center;
  margin: 0 auto;
}
.logo{
  display: flex;
  align-items: center;
}
.logo img {
  height: 30px;
}

.nav-links {
  width: 100%;
  display: flex;
  align-items: center;
  /* justify-content: space-around; */
  list-style: none;
  padding-left: 0!important;
}

.nav-links li {
  /* margin-right: 20px; */
  margin-right: 50px;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  text-align: center;
  font-size: 18px;
}

.nav-links li a:hover {
  color: #333;
}

.search img{
  width: 16px;
}

.search-input {
  display: none;
}
.search-input input{
  width: 440px;
  outline: none;
  border: 0px;
}


/* 内容区域 */
.mainBox{
  width: 100%;
  height: auto;
  min-height: calc(100vh - 44px);
  /* background-color: pink; */
  background-color: #f4f4f6;
  overflow: auto;
  display: flex;
  flex-direction: column;
}
.cont{
  margin: auto;
  width: 98%;
  padding: 10px;
  box-sizing: border-box;
  background-color: #fff;
  /* height: 100%; */
  flex: 1;
  margin-top: 20px;
}

.contTitle{
  font-weight: 600;
}


.tab-buttons{
  margin-top: 16px;
}
.tab-buttons .tab-button{
  font-size: 14px;
  position: relative;
  margin-right: 6px;
}
.tab-buttons .active{
  font-size: 16px;
  font-weight: 700;
}
.tab-buttons .tab-button:nth-child(1){
  margin-left: 6px;
}
.tab-buttons .tab-button:hover{
  cursor: pointer;
}
.tab-buttons .tab-button:nth-child(1)::after{
  position: absolute;
  content: "";
  width: 2px;
  height: 14px;
  background-color: #000;
  top: 4px;
  left: -6px;
  border-radius: 1px;
}
.tab-buttons .tab-button:nth-child(2)::after{
  position: absolute;
  content: "";
  width: 2px;
  height: 12px;
  background-color: #e1e1e2;
  top: 4px;
  left: -6px;
}
.tab-buttons .tab-button:nth-child(3)::after{
  position: absolute;
  content: "";
  width: 2px;
  height: 12px;
  background-color: #e1e1e2;
  top: 4px;
  left: -6px;
}


.tab-content{
  margin-top: 10px;
  /* border: 1px solid red; */
  min-height: calc(100vh - 164px);
  display: flex;
  flex-direction: column;
}
.tab-pane {
  /* flex: 1;代替高度，和父元素的高度保持一致 */
  flex: 1;
}
.tab-pane .upload{
  height: 450px;
  border: 1px dashed;
  display: flex;
  align-items: center;
  justify-content: center;
}
.upload .icondesc{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.icondesc img{
  width: 50px;
}
.icondesc .desc{
  margin: 0;
  width: 100%;
  text-align: center;
  margin-top: 16px;
}
.desc>span:nth-child(2){
  font-size: 14px;
  color: #1b1b1d;
}

.pdfList{
  min-height: 0;
  max-height: 120px;
  overflow-y: scroll;
}
.everyPdf{
  height: 40px;
  background-color: #f5f5f5;
  border-radius: 6px;
  display: flex;
  align-items: center;
  margin-top: 6px;
  padding: 0px 10px;
  box-sizing: border-box;
  position: relative;
}
.everyPdf .pdfIcon{
  width: 22px;
}
.everyPdf .pdfName{
  color: #1b1b1d;
  font-size: 14px;
  margin-left: 10px;
}
.everyPdf .pdfSize{
  color: #1b1b1d;
  font-size: 14px;
  margin-left: 40px;
}
.everyPdf .pdfDelIcon{
  width: 18px;
  position: absolute;
  right: 10px;
}
.everyPdf .pdfDelIcon:hover{
  cursor: pointer;
}

.checkBox{
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
}
.checkBox .checkTitle{
  width: 100%;
  padding-left: 10px;
  box-sizing: border-box;
  margin-top: 10px;
  position: relative;
}
.checkBox .checkTitle::after{
  position: absolute;
  content: "";
  width: 2px;
  height: 14px;
  background-color: #000;
  top: 4px;
  left: 4px;
  border-radius: 1px;
}
.checkBox .checkTitle>span:nth-child(1){
  font-size: 14px;
  font-weight: 700;
}
.checkBox .checkTitle>span:nth-child(2){
  font-size: 14px;
  color: #1b1b1d;
}
.checkBox .checkTitle>span:nth-child(3){
  font-size: 14px;
  color: #1b1b1d;
}
.checkBox .checkbox-container{
  margin-right: 50px;
  margin-top: 10px;
  color: #1b1b1d;
  font-size: 14px;
}


.btnBox{
  margin-top: 10px;
  display: flex;
  flex-direction: row-reverse;
  padding: 10px;
  box-sizing: border-box;
}
.btnBox>span{
 padding:4px 10px; 
 background: #333333;
 border-radius: 4px;
 color: #FFFFFF;
 font-size: 14px;
}
.btnBox>span:hover{
  cursor: pointer;
}



.imgList{
  display: flex;
  align-items: center;
}
.imgList .everyImg{
  width: 120px;
  height: 120px;
  padding: 10px;
  box-sizing: border-box;
}
.imgList .everyImg>img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid #c1c1c1;
}


.bigBox{
  width: 100%;
  height: calc(100vh - 46px);
  background-color: #f4f4f6;
  overflow: auto;
  display: flex;
  flex-direction: column;
}
.bigBox .szCont{
  width: 98%;
  height: 97%;
  flex: 1;
  margin: auto;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}
.bigBox .szCont .contleft{
  position: relative;
}
.footerdesc{
  width: 100%;
  height: 30px;
  /* border: 1px solid red; */
  position: absolute;
  bottom: 10px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  /* margin-top: 100px; */
}

.footerdesc>span{
  font-size: 12px;
  color: #1b1b1d;
}
.bigBox .szCont .contleft,.contright{
  width: 49.5%;
  height: 100%;
  background-color: #fff;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 4px;
}
.bigBox .szCont .contleft .lefttitle{
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bigBox .szCont .contleft .right{
  padding: 4px 10px;
  background: #333333;
  border-radius: 4px;
  color: #FFFFFF;
  font-size: 14px;
  cursor: pointer;
}
.bigBox .szCont .contleft .viewfile{
  margin-top: 10px;
  width: 100%;
  /* height: 500px; */
  height: 80%;
  background-color: #F5F5F7;
  border: 1px solid #D8D8D8;
}
.bigBox .szCont .contleft .viewfile iframe html body img{
  width: 100%!important;
}

.yulanPdfList{
  width: 100%;
  margin-top: 10px;
  display: flex;
  align-items: center;
  overflow-x: scroll;
  /* border: 1px solid red; */
  padding-bottom: 6px; /* 给滚动条留一些空间 */
}
/* 滚动条整体样式 */
.yulanPdfList::-webkit-scrollbar {
  height: 4px; /* 滚动条高度 */
}

/* 滚动条轨道 */
.yulanPdfList::-webkit-scrollbar-track {
  background-color: #f1f1f1; /* 轨道背景颜色 */
  border-radius: 2px; /* 轨道圆角 */
}

/* 滚动条滑块 */
.yulanPdfList::-webkit-scrollbar-thumb {
  background-color: #D8D8D8; /* 滑块背景颜色 */
  border-radius: 4px; /* 滑块圆角 */
}

/* 滚动条滑块悬停状态 */
.yulanPdfList::-webkit-scrollbar-thumb:hover {
  background-color: #D8D8D8; /* 悬停时滑块背景颜色 */
}

.yulanPdfList .everyOne{
  /* min-width: 200px; */
  height: 40px;
  background-color: #f5f5f5;
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding: 0px 10px;
  box-sizing: border-box;
  margin-right: 10px;
  flex-shrink: 0; /* 防止子项收缩 */
}
.everyOne .pdfIcon{
  width: 22px;
}
.everyOne .pdfName{
  color: #1b1b1d;
  font-size: 14px;
  margin-left: 10px;
  white-space: nowrap; /* 防止文本换行 */
}






.yulanImgList{
  display: flex;
  align-items: center;
  /* 当内容超出时显示横向滚动条 */
  overflow-x: auto;
  /* 防止换行 */
  white-space: nowrap;
  /* 隐藏纵向滚动条 */
  overflow-y: hidden;
  padding-bottom: 6px;
}
/* 滚动条整体样式 */
.yulanImgList::-webkit-scrollbar {
  height: 4px; /* 滚动条高度 */
}

/* 滚动条轨道 */
.yulanImgList::-webkit-scrollbar-track {
  background-color: #f1f1f1; /* 轨道背景颜色 */
  border-radius: 2px; /* 轨道圆角 */
}

/* 滚动条滑块 */
.yulanImgList::-webkit-scrollbar-thumb {
  background-color: #D8D8D8; /* 滑块背景颜色 */
  border-radius: 4px; /* 滑块圆角 */
}

/* 滚动条滑块悬停状态 */
.yulanImgList::-webkit-scrollbar-thumb:hover {
  background-color: #D8D8D8; /* 悬停时滑块背景颜色 */
}

.yulanImgList .everyImg{
  width: 120px;
  height: 120px;
  padding: 10px;
  box-sizing: border-box;
  display: inline-block;
  flex-shrink: 0; /* 防止子项收缩 */
}
.yulanImgList .everyImg>img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid #c1c1c1;
}
.viewimg{
  overflow: hidden;
  overflow-y: scroll;
  text-align: center;
}
.imgView{
  height: auto;
}

.ZoomIn{
  display: flex;
  flex-direction: row-reverse;
  margin-right: 10px;
  margin-top: 10px;
}
.ZoomIn p{
  font-size: 14px;
  color: #6D6D6D;
  margin: 0;
  margin-right: 4px;
}
.ZoomIn p:nth-child(1){
  width: 16px;
  height: 16px;
  border: 1px solid #D8D8D8;
  border-radius: 50%;
  /* text-align: center; */
  display: flex;
  align-items: center;
  justify-content: center;
}
.ZoomIn p:nth-child(2){
font-size: 12px;
}
.ZoomIn p:nth-child(3){
  width: 16px;
  height: 16px;
  border: 1px solid #D8D8D8;
  border-radius: 50%;
  /* text-align: center; */
  display: flex;
  align-items: center;
  justify-content: center;
}

.ZoomIn p:nth-child(3):hover{
  cursor: pointer;
}
.ZoomIn p:nth-child(1):hover{
  cursor: pointer;
}



.uploadText{
  position: relative;
}
.uploadText>textarea{
  width: 99.5%;
  height: 99%;
  resize: none;
  border: none;
  outline: none;
  font-size: 16px;
  line-height: 30px;
  text-indent: 2em;
}
.char-count{
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 14px;
  color: #1b1b1d;
}


.docx-preview{
  width: 100%;
  margin: auto;
  padding: 20px;
  box-sizing: border-box;
  height: 100%;
  overflow: hidden;
  overflow-y: scroll;
}


.viewText textarea{
 width: 99.5%;
 height: 99%;
 resize: none;
 border: none;
 outline: none;
 font-size: 16px;
 line-height: 30px;
 text-indent: 2em;
}







/* 表格样式 */
.contright{
  overflow: hidden;
  overflow-y: scroll;
}

table {
  width: 100%;
  border-collapse: collapse;
}
table th{
  width: 150px;
}
table th,
table td {
  border: 1px solid #000;
  padding: 5px;
  text-align: left;
}

.contright input[type="radio"] {
  display: none;
}
.contright input[type="checkbox"] {  
  display: none;
}
.contright .square-radio {
  display: inline-block;
  width: 8px;
  height: 8px;
  border: 1px solid #333;
  cursor: pointer;
  position: relative;
}

.contright .square-radio::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  color: #333;
  display: none;
}

.contright input[type="radio"]:checked + .square-radio::after {
  color: #000000;
  display: block;
}
.contright input[type="checkbox"]:checked + .square-radio::after {
  color: #000000;
  display: block;
}
.hometitle > h2{
  text-align: center;
}
.inputs-length2{
  min-width: 100px;
  max-width: 90%;
  height: 20px;
  font-size: 12px;
  outline: none;
  margin-top: 4px;
  margin-bottom: 4px;
}
.daochu{
    padding: 4px 10px;
    background: #333333;
    border-radius: 4px;
    color: #FFFFFF;
    font-size: 14px;
    float: right;
}




.mask2{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
}

/* 弹窗样式 */
.popup {
  background-color: white;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  width: 540px;
  height: 390px;
}

.popup_title h2 {
  margin: 0;
  padding: 10px;
  box-sizing: border-box;
}

.xieyi {
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.xieyi span {
  font-size: 12px;
  color: #5F5F5F;
}

.popup_cont {
  width: 100%;
  height: 210px;
  border: 1px dashed #ccc;
  overflow-y: auto;
  padding: 10px;
  box-sizing: border-box;
}

.popup_cont .everydesc {
  font-size: 12px;
  color: #5F5F5F;
  box-sizing: border-box;
  margin: 0;
  padding: 2px 0px;
}

.footer_span_btn {
  width: 100%;
  height: 40px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 10px;
}

.footer_span_btn>span {
  margin-right: 10px;
  border: 1px solid #1D1D20;
  font-size: 14px;
  display: inline-block;
  padding: 4px 10px;
  box-sizing: border-box;
  border-radius: 4px;
}

.footer_span_btn>span:hover {
  cursor: pointer;
}

.footer_span_btn>span:last-child {
  background-color: #1D1D20;
  color: #fff;
}

.errmsg {
  width: 100%;
  height: 20px;
  display: flex;
  align-items: center;
}

.errmsg span {
  font-size: 12px;
  color: red;
}

.colorRed{
  color: red;
}

 /* 自定义气泡的背景颜色 */
 .el-badge__content {
  background-color: red;
  /* 限制宽度 */
  max-width: 160px; 
  /* 不换行 */
  white-space: nowrap; 
  /* 超出部分隐藏 */
  overflow: hidden; 
  /* 超出部分显示省略号 */
  text-overflow: ellipsis; 
}




.contElectronicService{
  width: 100%;
}
.yesANDno{
  display: flex;
  align-items: center;
}

.formType{
  width: 100%;
}
.typeone{
  width: 100%;
  margin-top: 10px;
  display: flex;
  align-items: center;
}
.typeone label{
  font-size: 14px;
  width: 40px;
}
.typeone input{
 flex: 1;
 height: 30px;
 outline: none;
 border: 1px solid #D8D8D8;
 border-radius: 4px;
 padding: 0px 10px;
}
.typeone input::-webkit-input-placeholder {
  /* placeholder颜色 */
  color: #aab2bd;
  /* placeholder字体大小 */
  font-size: 12px;
}

.ElectronicServiceFooer{
  width: 100%;
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
}
.ElectronicServiceFooer span{
  font-size: 14px;
  display: inline-block;
  padding: 4px 10px;
  box-sizing: border-box;
  border-radius: 4px;
}
.ElectronicServiceFooer span:hover{
  cursor: pointer;
}
.ElectronicServiceFooer .btn1{
  border: 1px solid #1D1D20;
  color: #1D1D20;
  margin-right: 10px;
}
.ElectronicServiceFooer .btn2{
  background-color: #1D1D20;
  color: #fff;
}


.el-button--text {
 color: #000!important;
}
.el-button--primary{
  background-color: #1D1D20!important;
  border-color: #1D1D20!important;
  color: #fff!important;
}

.el-popper[x-placement^=bottom]{
  margin-top: 6px!important;
  min-width: 200px;
  max-width: 500px;
}
.el-popover{
  padding: 4px!important;
}


td textarea{
  width: 98%;
  height: 40px;
  min-height: 40px;
  max-height: 60px;
  resize: none;
  outline: none;
  font-size: 12px;
  color: #1D1D20;
}


.mask3{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 5px 0; /* 添加 padding 微调间距 */
}
.mask3 .jindu{
  /* width: 96%; */
  width: 30%;
  height: 40px;
}

.el-loading-spinner .path {
  stroke: #FFFFFF; /* 将加载图标颜色修改为红色 */
}
.haoshi{
  text-align: center;
  color: #fff;
  font-size: 12px;
  font-family: PingFangSC, PingFang SC;
}





.mainBox2{
  width: 100%;
  min-height: calc(100vh - 44px);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 10px;
  background: #F5F5F7;
}
.mainBoxTitle{
  width: 100%;
  height: 40px;
  text-align: center;
  margin-top: 120px;
  font-size: 36px;
}
.cont2Box{
  width: 760px;
  height: 400px;
  margin: 0 auto;
  margin-top: 40px;
}
.uptxt{
  font-size: 16px;
  height: 20px;
  line-height: 20px;
  padding-left: 15px;
  box-sizing: border-box;
  position: relative;
  color: #1D1D20;
}
.uptxt::after{
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 18px;
  background-color: #1D1D20;
  border-radius: 1.5px;
  content: '';
}
.fileBox{
  width: 100%;
  height: 340px;
  background-color: #fff;
  border-radius: 6px;
  padding: 10px;
  box-sizing: border-box;
}
.anjianType{
  width: 100%;
  height: 40px;
  border-bottom: 1px solid #D8D8D8;
  position: relative;
}
.anjianType .anjiantypeleft{
  width:100%;
  height: 40px;
}
.el-select{
  width: 300px;
}
.anjianType .el-select .el-input__inner{
  height: 30px;
  line-height: 30px;
  font-size: 14px;
  color: #1D1D20;
  background-color: #F5F5F7;
}
.anjianType .el-select .el-input.is-focus .el-input__inner{
  border: none;
}
.anjianType .el-select-dropdown__item.selected{
  color: #1D1D20;
}
.anjianType .el-select .el-input__inner:focus{
  border: none;
}
.anjianType .el-select-dropdown__item.selected{
  color: #1D1D20;
}
.anjianType .el-select-dropdown__item.selected{
  color: #1D1D20;
}
.anjianType .el-form{
}
.anjianType .el-form-item__content{
}
.el-form-item__label{
  font-size: 16px;
  color: #5f5f5f;
}
.el-tag.el-tag--success{
  font-size: 14px;
}



.filelistarr {
  width: 100%;
  height: 200px;
  margin-top: 10px;
  /* 当内容超出容器时显示滚动条 */
  overflow-y: auto;
  padding-right: 4px;
  box-sizing: border-box;
}

/* 自定义滚动条整体样式 */
.filelistarr::-webkit-scrollbar {
  /* 滚动条宽度 */
  width: 4px;
}

/* 自定义滚动条轨道样式 */
.filelistarr::-webkit-scrollbar-track {
  /* 滚动条轨道背景颜色 */
  background: #f1f1f1;
  /* 滚动条轨道圆角 */
  border-radius: 2px;
}

/* 自定义滚动条滑块样式 */
.filelistarr::-webkit-scrollbar-thumb {
  /* 滚动条滑块背景颜色 */
  background: #ccc;
  /* 滚动条滑块圆角 */
  border-radius: 5px;
}

/* 鼠标悬停在滚动条滑块上时的样式 */
.filelistarr::-webkit-scrollbar-thumb:hover {
  /* 鼠标悬停时滚动条滑块背景颜色 */
  background: #555;
}
.btnlist{
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.btnlist span{
  font-size: 16px;
  display: inline-block;
  padding: 4px 10px;
}
.btnlist span:hover{
  cursor: pointer;
}
.btnlist .upbtn{
 background-color: #F8F8F8;
 color: #5f5f5f;
 border: 1px solid #ccc;
 border-radius: 4px;
 display: flex;
 align-items: center;
}
.btnlist .upbtn img{
  width: 16px;
  margin-right: 5px;
}

.btnlist .sumbitbnt{
  background-color: #333333;
  border-radius: 4px;
  color: #FFFFFF;
}

.desc_info{
  width: 100%;
  height: 30px;
  font-size: 14px;
  color: #979797;
  display: flex;
  align-items: center;
}
.desc_info2{
  display: inline-block;
  flex: 1;
  font-size: 14px!important;
  color: #979797;
}
.filelistarr .everyfileone{
  width: 100%;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filelistarr .everyfileone .pdfName{
  font-size: 14px;
  color: #1D1D20;
  display: inline-block;
  width: 50%;
}
.filelistarr .everyfileone .pdfSize{
  background-color: #E8E8E8;
  font-size: 14px;
  color: #1D1D20;
  padding: 2px 8px;
  border-radius: 4px;
}
.delfileicon i:hover{
  cursor: pointer;
}


.successnum{
  height: 60px;
  width: 100%;
  /* border: 1px solid red; */
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}





/* 翻牌器 */
.clock {
  display: flex;
  align-items: center;
}

.successnumdesc span {
  font-size: 16px;
  font-weight: 700;
}
.successnumdesc img{
  width: 22px;
  vertical-align: top;
}

/* 时钟的分隔 */
.clock .divider {
  font-size: 66px;
  line-height: 102px;
  font-style: normal;
  color: rgb(51, 50, 50);
}

/* 时钟的卡片 */
.clock .flip {
  position: relative;
  width: 32px;
  height: 50px;
  margin: 2px;
  font-size: 50px;
  font-weight: 700;
  line-height: 50px;
  text-align: center;
  background: rgb(46, 45, 45);
  border: 1px solid rgb(34, 33, 33);
  border-radius: 10px;
  box-shadow: 0 0 6px rgba(54, 54, 54, 0.5);
}

/* 时钟上的数字 */
.clock .flip .digital::before,
.clock .flip .digital::after {
  position: absolute;
  content: attr(data-number);
  left: 0;
  right: 0;
  color: white;
  background: rgb(51, 50, 50);
  overflow: hidden;
  -webkit-perspective: 160px;
  perspective: 160px;
}

/* 翻页前的数字 */
.clock .flip .digital::before {
  top: 0;
  bottom: 50%;
  border-bottom: 1px solid #666;
  border-radius: 10px 10px 0 0;
}

/* 翻页后的数字 */
.clock .flip .digital::after {
  top: 50%;
  bottom: 0;
  line-height: 0;
  border-radius: 0 0 10px 10px;
}

.clock .flip .back::before,
.clock .flip .front::after {
  z-index: 1;
}

.clock .flip .back::after {
  z-index: 2;
}

.clock .flip .front::before {
  z-index: 3;
}

.clock .flip .back::after {
  -webkit-transform-origin: center top;
  transform-origin: center top;
  -webkit-transform: rotateX(0.5turn);
  transform: rotateX(0.5turn);
}

.clock .flip.running .front::before {
  -webkit-transform-origin: center bottom;
  transform-origin: center bottom;
  -webkit-animation: frontFlipDown 0.6s ease-in-out;
  animation: frontFlipDown 0.6s ease-in-out;
  box-shadow: 0 -2px 6px rgba(255, 255, 255, 0.3);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.clock .flip.running .back::after {
  -webkit-animation: backFlipDown 0.6s ease-in-out;
  animation: backFlipDown 0.6s ease-in-out;
}







@-webkit-keyframes frontFlipDown {
  to {
    -webkit-transform: rotateX(0.5turn);
    transform: rotateX(0.5turn);
  }
}

@keyframes frontFlipDown {
  to {
    -webkit-transform: rotateX(0.5turn);
    transform: rotateX(0.5turn);
  }
}

@-webkit-keyframes backFlipDown {
  to {
    -webkit-transform: rotateX(0);
    transform: rotateX(0);
  }
}

@keyframes backFlipDown {
  to {
    -webkit-transform: rotateX(0);
    transform: rotateX(0);
  }
}