/* 案例样式 */
.case-page {
  min-height: 75vh;
  width: 100%;
  margin: 190px auto 30px;
}
.case-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;

  padding: 0 45px;

  /* height: 72vh;
  overflow: hidden; */
}
.case-item {
  display: block;
  max-width: 100%;
  margin-bottom: 0;
  opacity: 0;
  /*width: 420px;
  height: 236px;
  */ /*width: 640px;
  height: 356px;
  */
  width: 47%;
  cursor: pointer;
  position: relative;
  text-align: center;
  margin: 15px;
  transition: 0.2s ease;
  -webkit-transition: 0.2s ease;
  -moz-transition: 0.2s ease;
  -ms-transition: 0.2s ease;
  -o-transition: 0.2s ease;
}
.case-item img {
  width: 100%;
  height: 100%;
}

.case-item a {
  position: absolute;
  text-align: center;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  text-transform: uppercase;
  color: #fff;
  display: block;
  text-decoration: none;
  /* -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease; */
  font-size: 17px;
  /* -webkit-transform: scale(1);
  transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1); */
  z-index: 1;
}
.case-item a span {
  width: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  word-break: break-all;
}
/* .case-item:hover a {
  transform: scale(1);
  opacity: 1;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
} */

.case-item::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  left: 0;
  transition: 0.2s ease;
  -webkit-transition: 0.2s ease;
  -moz-transition: 0.2s ease;
  -ms-transition: 0.2s ease;
  -o-transition: 0.2s ease;
  background: rgba(0, 0, 0, 0.3);
}
/* .case-item:hover::before {
  background: rgba(0, 0, 0, 0.7);
} */
.case-item::after {
  content: "";
  position: absolute;
  width: 80%;
  height: 80%;
  border: 1px solid #fff;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
}

.case-nav {
  color: #cfcfcf;
  margin: 14px 100px 0 0;

  right: 0;

  border-top: 1px solid #777;

  transition-delay: 0.1s;

  position: fixed;
  top: 86px;
  height: 6%;
}
.case-nav ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  white-space: nowrap;
  padding: 0;

  margin: 8px 0;
}
.case-nav ul li {
  margin-left: 15.7px;
  cursor: pointer;
}
.case-nav ul li:first-child {
  margin-left: 0;
}
.case-nav ul li a {
  color: #cfcfcf;
  font-size: 14px;
}
.case-nav ul li:hover a {
  color: #be946d;
}
.case-nav ul li a.active {
  color: #be946d;
}

.md-case-nav {
  width: 100%;
  display: none;
}
.md-case-nav ul {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.md-case-nav ul li a {
  font-size: 12px;
  color: #777;
  font-weight: 400;
  font-style: normal;
  padding-right: 5px;
  padding-left: 5px;
  text-decoration: none;
  text-align: center;
  text-transform: capitalize !important;
  position: relative;
  white-space: nowrap;
}
.md-case-nav ul li a.active {
  color: #be946d;
}
.second-nav div.selected {
  opacity: 1;
  pointer-events: all;
}

.md-second-nav div.selected {
  display: block;
}
.loading {
  width: 100%;
  position: relative;
  height: 30px;
  text-align: center;
  opacity: 0;
}
.loading ul {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin-left: 0;
  padding: 0;
}
.loading ul li {
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  margin-left: 10px;
  animation: loading 1s linear infinite;
}
.loading ul li:first-child {
  margin-left: 0;
  animation-delay: 0.3s;
}
.loading ul li:nth-child(2) {
  animation-delay: 0.6s;
}
.loading ul li:last-child {
  animation-delay: 0.9s;
}

@keyframes loading {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
