@charset "utf-8";
/*页内菜单切换*/
.switch_box {
  width: 100%;
  padding: 32px 0 0 0;
}
.switch_box .wrapper {
  position: relative;
  height: 30px;
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
}
.switch_box .wrapper .scroller {
  position: unset;
  width: 100%;
}
.switch_box .wrapper .scroller ul {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.switch_box .wrapper .scroller li {
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0 2%;
}
.switch_box .wrapper .scroller li a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  line-height: 24px;
  margin: 0;
  font-size: 20px;
  color: #676767;
  font-family: sys;
  letter-spacing: 2px;
}
.switch_box .wrapper .scroller li.active a {
  font-size: 24px;
  color: #9B1610;
  font-weight: bold;
}
/*古莲花池*/
.cont_box {
  width: 100%;
}
.cont_box .con_tap {
  display: none;
  width: 100%;
}
.gy_con {
  width: 100%;
  padding-top: 26px;
  /*十二行宫*/
  /*文物珍藏*/
}
.gy_con .gy_text {
  width: 100%;
}
.gy_con .gy_text p {
  display: inline-block;
  font-size: 16px;
  line-height: 30px;
  color: #676767;
  margin-bottom: 30px;
  text-indent: 32px;
}
.gy_con .gy_text .h_title {
  display: inline-block;
  width: 100%;
  font-size: 20px;
  color: #000;
  font-weight: bold;
  margin-bottom: 12px;
}
.gy_con .gy_img {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 30px;
}
.gy_con .gy_img img {
  width: auto;
  max-width: 100%;
  height: auto;
}
.gy_con .gy_xg {
  padding-bottom: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.gy_con .gy_xg .hub_box {
  width: 100%;
  display: flex;
  justify-content: left;
  align-items: flex-start;
  flex-wrap: wrap;
}
.gy_con .gy_xg .hub_box .hub_item {
  width: calc((100% - 80px) / 5);
  margin-bottom: 20px;
  position: relative;
  margin-right: 20px;
  overflow: hidden;
  cursor: pointer;
}
.gy_con .gy_xg .hub_box .hub_item:last-child {
  margin-right: 0;
}
.gy_con .gy_xg .hub_box .hub_item img {
  display: inline-block;
  width: 100%;
  height: auto;
  webkit-transition: all 0.4s ease-in-out 0.1s;
  transition: all 0.4s ease-in-out 0.1s;
}
.gy_con .gy_xg .hub_box .hub_item:hover img {
  webkit-transition: all 0.4s ease-in-out 0.1s;
  transition: all 0.4s ease-in-out 0.1s;
  transform: scale(1.06);
}
.gy_con .gy_xg .hub_box .hub_item label {
  width: 100%;
  height: 50px;
  position: absolute;
  z-index: 2;
  bottom: 0px;
  left: 0px;
  opacity: 1;
  line-height: 50px;
  text-overflow: ellipsis;
  white-space-collapse: collapse;
  text-wrap: nowrap;
  font-size: 16px;
  letter-spacing: 2px;
  color: #ffffff;
  font-family: sys;
  font-weight: normal;
  padding: 0px 20px;
  overflow: hidden;
  background: linear-gradient(rgba(0, 0, 0, 0) 0%, #000000 100%);
  border-radius: 0px;
  margin: 0px;
}
.gy_con .gy_xg .hub_box .hub_item p {
  display: none;
}
.gy_con .gy_xg .hub_box .hub_item.on {
  width: calc(100% - (((100% - 80px) / 5) * 2 + 20px) - 20px);
}
.gy_con .gy_xg .hub_box .hub_right {
  width: calc(((100% - 80px) / 5) * 2 + 20px);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}
.gy_con .gy_xg .hub_box .hub_right .hub_item {
  width: calc(50% - 10px);
  margin-bottom: 16px;
  margin-right: 0;
}
.gy_con .gy_zencang {
  width: 100%;
  display: flex;
  justify-content: left;
  align-items: flex-start;
  flex-wrap: wrap;
}
.gy_con .gy_zencang .zc_item {
  width: calc((100% - 4.2%) / 4);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 0 1.4% 20px 0;
}
.gy_con .gy_zencang .zc_item:nth-child(4n) {
  margin-right: 0;
}
.gy_con .gy_zencang .zc_item .zc_img {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow: hidden;
}
.gy_con .gy_zencang .zc_item .zc_img img {
  display: inline-block;
  width: 100%;
  webkit-transition: all 0.4s ease-in-out 0.1s;
  transition: all 0.4s ease-in-out 0.1s;
}
.gy_con .gy_zencang .zc_item .zc_img:hover img {
  webkit-transition: all 0.4s ease-in-out 0.1s;
  transition: all 0.4s ease-in-out 0.1s;
  transform: scale(1.06);
}
.gy_con .gy_zencang .zc_item p {
  display: inline-block;
  width: 100%;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 16px;
  font-size: 16px;
  color: #000000;
  line-height: 20px;
}
/*名园概括图片缩放*/
:root {
  --index: calc(1vw + 1vh);
  --transition: cubic-bezier(0.1, 0.7, 0, 1);
}
.img_wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  /*overflow: hidden;*/
  margin-top: 50px;
}
.items {
  display: flex;
  perspective: calc(var(--index) * 35);
}
.item {
  width: calc(var(--index) * 3);
  height: calc(var(--index) * 12);
  margin: 0 0.2rem;
  background-color: #222;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  filter: grayscale(1) brightness(0.5);
  transition: transform 1.25s var(--transition), filter 3s var(--transition), width 1.25s var(--transition);
  will-change: transform, filter, rotateY, width;
}
.item::before,
.item::after {
  content: '';
  position: absolute;
  height: 100%;
  width: 20px;
  right: calc(var(--index) * -1);
}
.item::after {
  left: calc(var(--index) * -1);
}
.items .item:hover {
  filter: inherit;
  transform: translateZ(calc(var(--index) * 10));
}
/*Right*/
.items .item:hover + * {
  filter: inherit;
  transform: translateZ(calc(var(--index) * 8.5)) rotateY(35deg);
  z-index: -1;
}
.items .item:hover + * + * {
  filter: inherit;
  transform: translateZ(calc(var(--index) * 5.6)) rotateY(40deg);
  z-index: -2;
}
.items .item:hover + * + * + * {
  filter: inherit;
  transform: translateZ(calc(var(--index) * 2.5)) rotateY(30deg);
  z-index: -3;
}
.items .item:hover + * + * + * + * {
  filter: inherit;
  transform: translateZ(calc(var(--index) * 0.6)) rotateY(15deg);
  z-index: -4;
}
/*Left*/
.items .item:has(+ :hover) {
  filter: inherit;
  transform: translateZ(calc(var(--index) * 8.5)) rotateY(-35deg);
}
.items .item:has(+ * + :hover) {
  filter: inherit;
  transform: translateZ(calc(var(--index) * 5.6)) rotateY(-40deg);
}
.items .item:has(+ * + * + :hover) {
  filter: inherit;
  transform: translateZ(calc(var(--index) * 2.5)) rotateY(-30deg);
}
.items .item:has(+ * + * + * + :hover) {
  filter: inherit;
  transform: translateZ(calc(var(--index) * 0.6)) rotateY(-15deg);
}
.items .item:active,
.items .item:focus {
  width: 28vw;
  filter: inherit;
  z-index: 2;
  transform: translateZ(calc(var(--index) * 10));
  margin: 0 0.45vw;
}
@media screen and (max-width: 1024px) {
  .items {
    display: flex;
    perspective: calc(var(--index) * 35);
  }
  .item {
    margin: 0 0.1rem;
    width: calc(var(--index) * 2.8);
    height: calc(var(--index) * 9);
  }
}
@media screen and (max-width: 767px) {
  .switch_box {
    width: 100%;
  }
  .switch_box .wrapper {
    height: 1.5rem;
  }
  .switch_box .wrapper .scroller {
    position: absolute;
    width: unset;
  }
  .switch_box .wrapper .scroller ul {
    width: unset;
    justify-content: unset;
  }
  .switch_box .wrapper .scroller li {
    height: 1.5rem;
    width: 5.5rem;
    border-radius: 0;
    border: none;
    flex: unset;
    float: left;
    margin: 0 0;
  }
  .switch_box .wrapper .scroller li a {
    color: #000;
    width: 5.5rem;
    font-size: 0.6rem;
    line-height: 0.75rem;
  }
  .switch_box .wrapper .scroller li.active {
    border-radius: 0;
  }
  .switch_box .wrapper .scroller li.active a {
    font-size: 0.7rem;
  }
  /*古莲花池*/
  .gy_con {
    padding-top: 0.65rem;
    /*十二行宫*/
    /*文物珍藏*/
  }
  .gy_con .gy_text p {
    font-size: 0.6rem;
    line-height: 1.1rem;
    margin-bottom: 0.6rem;
    text-indent: 1.2rem;
  }
  .gy_con .gy_text .h_title {
    font-size: 0.6rem;
    margin-bottom: 0.2rem;
  }
  .gy_con .gy_img {
    margin-bottom: 0.65rem;
  }
  .gy_con .gy_img img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  .gy_con .gy_xg {
    padding-bottom: 1rem;
  }
  .gy_con .gy_xg .hub_box {
    justify-content: space-between;
  }
  .gy_con .gy_xg .hub_box .hub_item {
    width: calc(50% - 0.25rem);
    margin-right: 0px;
    margin-bottom: 0.5rem;
  }
  .gy_con .gy_xg .hub_box .hub_item:last-child {
    margin-right: 0;
  }
  .gy_con .gy_xg .hub_box .hub_item label {
    height: 1.5rem;
    padding: 0 0.5rem;
    line-height: 1.2rem;
    font-size: 0.6rem;
    letter-spacing: 0.05rem;
  }
  .gy_con .gy_xg .hub_box .hub_item.on {
    width: 100%;
  }
  .gy_con .gy_xg .hub_box .hub_right {
    width: 100%;
  }
  .gy_con .gy_xg .hub_box .hub_right .hub_item {
    width: calc(50% - 0.25rem);
    margin-bottom: 0.5rem;
    margin-right: 0;
  }
  .gy_con .gy_zencang {
    justify-content: space-between;
  }
  .gy_con .gy_zencang .zc_item {
    width: calc(50% - 0.2rem);
    margin: 0 0 0.8rem 0;
  }
  .gy_con .gy_zencang .zc_item:nth-child(4n) {
    margin-right: 0;
  }
  .gy_con .gy_zencang .zc_item p {
    margin-top: 0.35rem;
    font-size: 0.6rem;
    line-height: 0.8rem;
  }
  .img_wrapper_m {
    width: 100%;
  }
  .img_wrapper_m .items_m {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .img_wrapper_m .items_m .item_m {
    width: 100%;
    height: 3.2rem;
    margin-bottom: 0.3rem;
    background-size: 100% auto;
    background-position: center center;
    background-repeat: no-repeat;
    webkit-transition: all 0.4s ease-in-out 0.1s;
    transition: all 0.4s ease-in-out 0.1s;
  }
  .img_wrapper_m .items_m .item_m:hover {
    height: 9.2rem;
    webkit-transition: all 0.4s ease-in-out 0.1s;
    transition: all 0.4s ease-in-out 0.1s;
  }
}
