/* 经典项目 rem*/
.switch-box .right-box {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.switch-box .right-box .select-item {
  width: 170px;
  height: 48px;
  position: relative;
  margin-left: 20px;
}

.switch-box .right-box .select-item button {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  border: solid 1px #e7eaee;
  background-color: #ffffff;
  align-items: center;
  display: flex;
  justify-content: center;
  cursor: pointer;
  transition: box-shadow 300ms;
}

.switch-box .right-box .select-item button:focus {
  box-shadow: 0 0 0 4px #dddddd;
}

.switch-box .right-box .select-item button p {
  width: 120px;
  text-align: left;
  font-size: 16px;
}

.switch-box .right-box .select-item .select-ul {
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 300ms,
    opacity 300ms;
  padding: 0;
  margin: 0;
  list-style: none;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
  max-height: 220px;
  overflow-y: auto;
  margin-top: 4px;
  z-index: 100;
  position: relative;
}

.switch-box .right-box .select-item .select-ul.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.switch-box .right-box .select-item .select-ul li {
  padding: 0 15px;
}

.switch-box .right-box .select-item .select-ul li:hover {
  background-color: #efefef;
}

.switch-box .right-box .select-item .select-ul li a {
  color: #000;
  font-size: 14px;
  display: block;
  height: 28px;
  line-height: 28px;
  width: 100%;
}

.switch-box .right-box .select-item .select-ul::-webkit-scrollbar {
  width: 4px;
}

.switch-box .right-box .select-item .select-ul::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #dddddd;
}

.switch-box .right-box .select-item .select-ul::-webkit-scrollbar-track {
  background: transparent;
}

.switch-box .right-box .search-input {
  width: 220px;
  height: 48px;
  background-color: #ffffff;
  border-radius: 4px;
  border: solid 1px #e7eaee;
  margin-left: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 300ms;
}

.switch-box .right-box .search-input.focus {
  box-shadow: 0 0 0 4px #dddddd;
}

.switch-box .right-box .search-input input {
  width: 180px;
  font-size: 15px;
  margin: 0;
  border: none;
  padding: 0;
  background-color: transparent;
  height: 100%;
  text-indent: 15px;
}

.switch-box .right-box .search-input button {
  width: 40px;
  height: 100%;
  border: none;
  background-color: transparent;
  padding: 0;
}

.main-list {
  width: 100%;
  min-height: 600px;
  padding: 56px 1.5rem;
  margin-bottom: 1.2rem;
}

.main-list .center-box {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  align-content: flex-start;
  padding-bottom: 100px;
  border-bottom: solid 1px #e7eaee;
  gap: 12px;
}

.main-list .center-box .case-item {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-right: 0;
  height: 3.2rem;
  margin-bottom: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #111318;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.main-list .center-box .case-item .case-title-box {
  position: absolute;
  width: 100%;
  height: 110px;
  background-image:
    linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0)),
    linear-gradient(90deg, rgba(215, 25, 32, 0.8), transparent);
  bottom: 0;
  color: #ffffff;
  padding: 25px;
  left: 0;
}

.main-list .center-box .case-item .case-title-box .case-title {
  margin-bottom: 5px;
  font-size: 24px;
}

.main-list .center-box .case-item .case-title-box .case-en-title {
  font-size: 14px;
  text-transform: Uppercase;
  font-family: Arial, Helvetica, sans-serif;
}

.main-list .center-box .case-item img {
  min-width: 100%;
  min-height: 100%;
}

.main-list .center-box .case-item:nth-child(6n - 5) {
  width: calc((100% - 24px) / 3);
}

.main-list .center-box .case-item:nth-child(6n - 4) {
  width: calc((100% - 24px) / 3);
}

.main-list .center-box .case-item:nth-child(6n - 3) {
  width: calc((100% - 24px) / 3);
}

.main-list .center-box .case-item:nth-child(6n - 2) {
  width: calc((100% - 24px) / 3);
}

.main-list .center-box .case-item:nth-child(6n - 1) {
  width: calc((100% - 24px) / 3);
}

.main-list .center-box .case-item:nth-child(6n) {
  width: calc((100% - 24px) / 3);
}
