* {
  box-sizing: border-box;
}
body{
  transition: 0.3s;
}

ul{
  list-style: none;  
  padding: 0;
  margin: 0;
}
a{
  text-decoration: none;
  
}
/* 顶部导航栏起点 */



.topnav_outer{
  width: 100%;
  height: 60px;
  background-color: #f7f5f0;
  position: relative;
}

.topnav_box{
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
/* logo */
  .topnav_box>.logo {
      width: 40%;
  }
  .topnav_box>.logo img{
      height: 45px;
  }
      

  /* pc端起点 */
@media (min-width: 768px){
  

      .topnav_box>.topnav{
          width: 60%; 
          height: 100%;
          display: grid;
          grid-template-columns: repeat(5, 1fr);
          position: relative;

      }
      
      .topnav>li{
          display: block;
          height: 100%;
          text-align: center;
          align-content: center;
          font-size: 15px;
          color: #b75f44;
          font-weight: 500;
          position: relative;
          cursor: pointer;
          
      }
          .topnav>li>span{
              display: block;
              height: 100%;
              width: 100%;
              display: flex;
              justify-content: center;
              align-items: center;
              z-index: 100 ;
              position: relative;
          }
      .topnav>li::after {
          content: '';
          position: absolute;
          bottom: 6px; /* 调整横线距离文字底部的距离 */
          left: 50%; /* 从中间开始 */
          transform: translateX(-50%) scaleX(0); /* 从中心开始且初始时不可见 */
          transform-origin: center; /* 确保缩放从中心开始 */
          width: 100%; /* 伪元素的宽度与li相同 */
          height: 3px; /* 横线的高度 */
          background-color:#b75f44; /* 横线的颜色 */
          transition:  0.8s ease; /* 平滑展开效果 */
      }
      /* 顶部导航栏鼠标放上去的样式 */
          .topnav>li:hover>span{
              position: relative;
              font-weight: 900;
              font-size: 15.5px;
              transform: translateY(-4px);
          }
          .topnav>li:hover::after {
              transform: translateX(-50%) scaleX(1); /* 鼠标悬停时完全展开 */
          }

          /* 下拉框样式 */
     
      .drop_menu{
          position: absolute;
          width: 100%;
          top: 60px;
          transform: translateY(-8%);
          opacity: 0;
          transition: 0.5s ease;
          z-index: -2;
      }
      .drop_menu>ul{
          background-color: #f7f5f0;
          border-radius:0 0 20px 20px;
      }

      .drop_menu>ul>li{
          display: block;
          height: 50px;
          text-align: center;
          align-content: center;
      }
      .drop_menu>ul>li:nth-last-child(1){
          border-radius: 0 0 20px 20px;
      }
      .drop_menu>ul>li>a{
          color: #b75f44;
          font-size: 13px;
          display: block;
          width: 100%;
          height: 100%;
          align-content: center;
      }
      /* 下拉框放上去的效果 */
      .drop_menu>ul>li:hover{
          transform: translateY(-4px);
          font-weight: 600;
          color: #ca5734;
      }

      /* 顶部导航栏与下拉框相连 */
      .drop_active{
          z-index: 99;
          opacity: 1;
          transform: translateY(0) ;
      }
     /* 令移动端按钮消失 */
     #menu_button_box{
            display: none;
     }

}
/* pc端结束 */

/* 移动端起点 */
@media (max-width:768px) {
  /* 移动端按钮开始 */
  #menu_checkbox{
      display: none;
  }
  #menu_button_box{
      width: 60px;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      transition:300ms;
     
  }
  #menu_button {
      width: 39px;
      overflow: hidden;
      text-align: left;
      transform:all 0.3s;
    }
    #menu_label {
      position: relative;
      display: block;
      height: 30px;
      transform: translateY(2px);
      cursor: pointer;
    }
    
    /* 控制每根线的粗细 */
    #menu_label:before,
    #menu_label:after,
    #menu_text_bar {
      position: absolute;
      left: 0;
      width: 100%;
      height: 4px;
      background-color: #b75f44;
    }
    
    #menu_label:before,
    #menu_label:after {
      content: "";
      transition: 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55) left;
    }
    
    /* 控制每根线的位置 */
    #menu_label:before {
      top: 0;
    }
    
    #menu_label:after {
      top: 10px;
    }
    
    #menu_text_bar {
      top: 20px;
    }
    
    #menu_text_bar:before {
      content: "MENU";
      position: absolute;
      top: 5px;
      right: 0;
      left: 0;
      color: #b75f44;
      font-size: 12px;
      font-weight: 700;
      font-family: "Montserrat", Arial, Helvetica, sans-serif;
      text-align: center;
      cursor: pointer;
    }
    /* 点了后的变化 */
    #menu_checkbox:checked + #menu_label:before {
      left: -39px;
    }
    
    #menu_checkbox:checked + #menu_label:after {
      left: 39px;
    }
    
    #menu_checkbox:checked + #menu_label #menu_text_bar:before {
      animation: moveUpThenDown 0.8s ease 0.2s forwards,
        shakeWhileMovingUp 0.8s ease 0.2s forwards,
        shakeWhileMovingDown 0.2s ease 0.8s forwards;
    }
    
    @keyframes moveUpThenDown {
      0% {
        top: 0;
      }
      50% {
        top: -27px;
      }
      100% {
        top: -14px;
      }
    }
    
    @keyframes shakeWhileMovingUp {
      0% {
        transform: rotateZ(0);
      }
      25% {
        transform: rotateZ(-10deg);
      }
      50% {
        transform: rotateZ(0deg);
      }
      75% {
        transform: rotateZ(10deg);
      }
      100% {
        transform: rotateZ(0);
      }
    }
    
    @keyframes shakeWhileMovingDown {
      0% {
        transform: rotateZ(0);
      }
      80% {
        transform: rotateZ(3deg);
      }
      90% {
        transform: rotateZ(-3deg);
      }
      100% {
        transform: rotateZ(0);
      }
    }
    /* 移动端按钮结束 */
   
     /* 移动端弹出导航栏 */
     .topnav{
      position: fixed;
      top: 0;
      right: -50%;
      bottom: 0;
      display: block;
      float: right;
      width: 50%;
      height: 100%;
      -moz-transition: all 300ms 300ms;
          -webkit-transition: all 300ms 300ms;
          transition: all 300ms 300ms;
      padding: 20px;           
      background-color: #f7f8f0;
  }
  .topnav>li{
      position: relative;
      margin-bottom: 5px;
      
  }
  .topnav>li span ,
  .topnav div ul li a{
      cursor: pointer;
      color: #ab644a;
  }
  /* 设置大标题字体 */
  .topnav li span {
      display: block;
      font-size: 18px;
      font-weight: bold;
      width: 100%;
      height: 100%;
      padding-bottom: 10px;
      border-bottom:2px solid #b75f44;;
  }
  /* 设置小标题字体 */
  .topnav div ul li{
      font-size: 14px;
      font-weight: 400;
      margin-top: 3px 0;
      padding: 5px 0px 5px 10px;
  }

  .topnav>li span:hover {
      text-shadow: 0 0 5px white;
  }
  .topnav div ul li:hover{
    font-weight: 600;
  }
  .drop_menu{
      width: 100%;
      height: 0;
      overflow: hidden;
      transition: 0.3s;
  }
 /* 按钮按后页面变化 */
  body{
      transform: translateX(0);
  }
  body.topnav_active{
      transform: translateX(-50%);
  }
  
  
  



}

/* 顶部导航栏结束 */

/*header的开始  */
#occupy{
  width: 100%;
  height: 70vh;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
 }

 
 #inner_text{
  font-size: 15vh;
  color: #b75f45;
  font-weight: bold;
  text-align: center;
  position: absolute;
  top: 62%;
  left: 40px;
  text-shadow: 
  -3px -3px 0 #fff8e2,  
   3px -3px 0 #fff8e2,
  -3px  3px 0 #fff8e2,
   3px  3px 0 #fff8e2; 
 
}


/* header的结束 */



/* 普通页面下方主要区域起始 */
.main_holder{
  width: 100%;
  background-color: #f7f5f0;
  position: relative;
}
.main{
  width: 100%;
  display: flex;

}


/* !!!!!普通页面侧边栏开始 */
.sidebar_holder{
  list-style: none;
  position: sticky;
  top: 32px;
  padding-bottom: 100px;
}

/* 侧边栏的Menu大标题 */
.menu{
  width: 100%;
  height: 100px;
  align-content: center;
  text-align: start;
  font-size: 30px;
  font-weight: bold;
  color: #ed9468;
  overflow: hidden;
  cursor: pointer;
  padding-left: 15px;
  position: relative;
}
.menu::after{
  content: '';
  position: absolute;
  bottom: 10px;
  left: 15px;
  width: 100%;
  height: 3px;
  background-color: #c9c2ca;
  
}



  /* ul掌控左侧宽度*/
  /* 大屏 */
.sidebar .sidebar_holder ul{
  overflow: hidden;
  width:240px;
  transition: 0.3s;
  vertical-align: bottom;
  background-color: #f7f5f0;

}

                                  /* 中屏 */
                                  @media (max-width: 992px){

                                      .sidebar .sidebar_holder ul{
                                          width: 200px;
                                      }
                                  }
                                  /* 小屏直接悬浮*/
                                  @media (max-width: 768px){
                                      .sidebar .sidebar_holder ul{
                                          position: relative;
                                          opacity: 0.7;
                                      }
                                      .sidebar{
                                          width: 0;
                                      }
                                  }



.sidebar .sidebar_holder ul li{
  transition: 0.5s;
  cursor: pointer;
  position: relative;
}
.sidebar .sidebar_holder ul li>a{
  display: flex;
  /* 大标题字体颜色 */
  color:#7b554a;
  padding: 10px 0px 10px 0px;
  font-size: 16px;
  font-weight: bold;
  align-items: center;
  position: relative;
}
.sidebar .sidebar_holder ul li>a:hover{
  background-color: #d8d3c0;
}
/* 小圆形 */
.sidebar .sidebar_holder ul a>span{
  margin-left: 13px;
  margin-right: 4px;
  height: 15px;
  width: 15px;
  border: #b75f45 solid 3px;
  border-radius: 50%; /* 创建圆形 */
  transition: 0.3s;
}


/* 高亮显示 */
.sidebar  .highlight{
  color: #ed9468 !important;
  text-align: 0px 0px 10px rgb(240, 110, 132);
}

.sidebar a.highlight span{
  background-color: #b75f45;
 
}

    /* 左侧导航栏内小导航 */
.sidebar_content{
  height: 0;
  overflow: hidden;
  transition: 50ms;
}

.sidebar_content a{
    /* 小标题字体颜色 */
  color: #7b554a !important;
  display: block;
  padding:5px 0px 5px 45px ;
  font-size: 13px;
  font-weight: bold;
  transition: 0.5s;
}
.sidebar_content a:hover{
  background-color: #d8d3c0;
}

/* 左侧导航栏按钮 */
.sidebar_btn{
  display: block;
  width: 22px;
  fill: rgb(205, 156, 72);
  position: absolute;
  right: 0;
  transform: translateY(30vh) ;
  transition: 0.3s;
  z-index: 100;
}

                                         
.sidebar_btn:hover{
  fill: rgb(197, 84, 84);
}

#sidebar_checkbox:checked~.sidebar_btn_holder>.sidebar_btn{
  transform: translateY(30vh) translateX(100%) rotate(180deg);
}
#sidebar_checkbox2:checked~.sidebar_btn_holder>.sidebar_btn{
  transform: translateY(30vh) translateX(100%) rotate(180deg);
}
#sidebar_checkbox3:checked~.sidebar_btn_holder>.sidebar_btn{
  transform: translateY(30vh) translateX(100%) rotate(180deg);
}


#sidebar_checkbox:checked~ul{
  transform: translateX(-50vw);
  width: 0;
  opacity: 0;}

  #sidebar_checkbox2:checked~ul{
    transform: translateX(-50vw);
    width: 0;
    opacity: 0;
  }
#sidebar_checkbox3:checked~ul{
    transform: translateX(-50vw);
    width: 0;
    opacity: 0;
  }
            






                                        /* 小屏下的侧边栏按钮 */
                                        @media (max-width: 768px){
                                          .sidebar_btn{
                                            transform: translateY(50px) translateX(150%) ;
                                        }
                                        
                                        #sidebar_checkbox:checked~.sidebar_btn_holder>.sidebar_btn{
                                            transform: translateY(50px) translateX(100%) rotate(180deg);
                                        }
                                        #sidebar_checkbox2:checked~.sidebar_btn_holder>.sidebar_btn{
                                            transform: translateY(50px) translateX(100%) rotate(180deg);
                                        }
                                        #sidebar_checkbox3:checked~.sidebar_btn_holder>.sidebar_btn{
                                            transform: translateY(50px) translateX(100%) rotate(180deg);
                                        }

                                        }
/* !!!!!!!!侧边栏结束 */

/* 普通页面内容区开始 */
.content{
  width: 100%;
  /* background-color: rgb(240, 110, 132); */
  padding: 50px;
  margin: 0 auto;
  transition: 0.3s;
  color: #7b554a;

}
.content h1{
  font-size: 2.5vw;
  font-weight: bold;
  padding-bottom: 20px;
  color: #b75f44;
  position: relative;
}
.content>section>h1::after{
  content: '';
 position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #c9c2ca;
  
}

.content p{
  font-size:16.1px;
  line-height: 1.8;
  text-align: justify;

}
.content a{
  color:rgb(165, 108, 8);
  text-decoration: underline;
  cursor: pointer;
}
                                  /* 小屏下的文字 */
                                          @media (max-width: 768px){
                                              .content{
                                                  padding: 30px;
                                              }
                                              .content p{
                                                  font-size: 4vw;
                                              }
                                          }
/* 内容区的图片容器 */
.img_container{
  width: 100%;
  display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
  margin-bottom: 20px;
  row-gap: 20px;
}  
.img_inner{
  display: flex;
  justify-content: space-evenly;
}

   /* wzj 有pdf与图片的大容器 */
   .pdf_img_container{
    width: 100%;
    margin-bottom: 20px;
    row-gap: 20px;
    display: grid;
      grid-template-columns: 1fr 1fr; 
  }
/* 有pdf与图片的大容器里的图片容器 */
.pdf_img_inner{
  display: flex;
  flex-wrap: wrap;
  justify-content:center;
  align-items: center;  
  gap: 20px;      
}
 /* 有pdf与图片的大容器里的pdf容器 */
.pdf_box{
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content:center;
      align-items: center;  
    }
    .pdf_inner {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        margin-bottom: 10px;
        justify-content: space-around;
    }
/* pdf */
.pdf_box .pdf{
      flex: 1;
      width: 100%;
      height: 100%;
    }

/* description的cjc的hover样式开始*/
.cjc_hover_box{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 0 0 0;
}
  .cjc_hover_outer{
      width: 80%;
      display: grid;
      grid-template-columns: 1fr 1fr;
      row-gap: 20px;
      column-gap: 20px;
  }
  .cjc_hover_inner{
      width:250px;
     height: 250px;
     border-radius: 20px;
      background-color: antiquewhite;
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
      overflow: hidden;
  }
 
/* 上面容器的样式 */
  .cjc_hover_inner .cjc_hover{
      width: 100%;
      height: 100%;
      background-color: rgb(231, 186, 186);   
      position: absolute;
      top: 0;
      left: 0;
      gap: 20px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      transition: all 0.5s;
  }
      /* 上面容器里面的图片 */
      .cjc_hover_inner img{
          width: 100%;
          height: 100%;
      }
  /* 上面容器里面的文字 */
  .cjc_hover_inner .cjc_hover .cjc_hover_text{
     color: white;
      
  }
 .cjc_hover_content{
  --scroll-progress: 40px;  /* 初始化自定义属性为 25px */
     width: 100%;
     font-size: 0.8em;
      height: 100%;
     padding: 25px;
     text-align: justify;
     overflow-y: scroll;
     scrollbar-width: none; /* Firefox */
     -ms-overflow-style: none;  /* IE and Edge */
 }
 .cjc_hover_content::-webkit-scrollbar {
  width: 0px; /* 隐藏水平滚动条 */
  height: 0px; /* 隐藏垂直滚动条 */
}
 .cjc_hover_content::after {
  content: '';
  position: absolute;
  border-radius: 0 0px 3px 3px;
  top: 0;
  right: 0;
  width: 7px;
  height: var(--scroll-progress);  /* 初始高度为 25px，后续根据滚动增加 */
  background-color: #c59e56;
  transition: height 0.2s ease;
}
/* description的cjc的hover样式结束*/

/* protocol agb样式开始 */
  /* 正文内容缩进两字符 */
  .agb_content_ul{
    padding-left: 2em;
  }

  .agb_content_ul_2{
    text-align: center;
  }
  /* 每个内容块下的Block */
  .agb_content_group{
    padding: 2em;
    background-color: rgba(255, 228, 196, 0.5);
    width: 100%;
    border-radius: 20px;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 4px 4px rgba(255, 228, 196, 0.1);
  }
  /* 表格样式 */
  .agb_protocol_table {
    --color1: rgba(243, 214, 174, 0.95);
    --color2: rgba(248, 234, 215, 0.85);
    --color3: rgba(245, 218, 177, 0.85);
    --color4: rgba(252, 209, 157, 0.1);
    table-layout: fixed;
    width: 100%;
    border: solid;
    border-color: var(--color1);
    align-content: center;
    vertical-align: middle;
    text-align: center;
    transform: translateX(-1em)
  }

  .agb_protocol_table tbody tr:nth-child(2n) {
    background-color: var(--color2);
    border-bottom-width: 1px;
    box-shadow: 2px 2px 4px 4px var(--color4);
    block-size: 3em;
    writing-mode: horizontal-tb;
  }

  .agb_protocol_table tbody tr:nth-child(2n+1) {
    background-color: var(--color3);
    border-bottom-width: 1px;
    box-shadow: 2px 2px 4px 4px var(--color4);
    block-size: 3em;
    writing-mode: horizontal-tb;
  }

/* protocol agb样式结束 */

/* wetlab 图片需要的样式开始 */
.wetlab_img_box{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
 

}
.wetlab_img_outer{
  width: 100%;
  /* display: grid;
  grid-template-columns: repeat(auto-fill,minmax(300px,1fr));*/
  gap: 10px; 
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  /* flex-wrap: wrap; */
}
.weblab_img_inner{
  width: fit-content;
  height: fit-content;
  overflow: hidden;
  
}
.wetlab_img{
  object-fit: cover;
  overflow: hidden;
}

.wetlab_img_bottom{

 height: fit-content;
 overflow: hidden;
 background-color: #c5aaa17a;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: start;
}
.wetlab_img_content{
  padding:20px;
  color: white;
  width: 100%;
  word-wrap: break-word; /* 确保长单词在必要时换行 */
}
/* wetlab 图片需要的样式结束 */


/* safety的lyr样式开始 */

/* lyr翻转图片开始 */
.flip_outer{
  width: 90%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 20px;
}
.flip_inner{
   
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  perspective: 800px;


}
.flip_inner .top{
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 50px;
  z-index: 5;
  transform-style: preserve-3d;
 
  
}

.flip_inner .bottom{
  width: 100%;
  height: 100%;
  border-radius: 20px;
  color: #ede7df;
  position: absolute;
  display: flex;
  z-index: 4;
  transform: rotateY(180deg);
  transform-style: preserve-3d;
  padding: 20px;
  text-align: justify;
  vertical-align: top;
  font-size: 15px;
  overflow: hidden;
  
}
.flip_inner img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}
@keyframes lyr_flip_top{
  0%{
      transform: rotateY(0deg);
      z-index: 5;
  }
  100%{
      transform: rotateY(-180deg);
      z-index: 4;
  }
}
@keyframes lyr_flip_bottom{
  0%{
      transform: rotateY(180deg);
      z-index: 4;
  }
  100%{
      transform: rotateY(0deg);
      z-index: 5;
  }
}
@keyframes lyr_flip_back_top {
  0% {
      transform: rotateY(-180deg);
      z-index: 4;
  }
  100% {
      transform: rotateY(0deg);
      z-index: 5;
  }
}
@keyframes lyr_flip_back_bottom {
  0% {
      transform: rotateY(0deg);
      z-index: 5;
  }
  100% {
      transform: rotateY(180deg);
      z-index: 4;
  }
}
.top_flip_up{
  animation: lyr_flip_top 1s forwards;
}
.bottom_flip_up{
  animation: lyr_flip_bottom 1s forwards;
}
.top_flip_down{
  animation: lyr_flip_back_top 1s forwards;
}
.bottom_flip_down{
  animation: lyr_flip_back_bottom 1s forwards;
}
/* lyr翻转样式结束 */








/* table的样式开始 */
.table_box {
  margin: 20px;
  overflow-x: auto;

    }
.table {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
font-size: 15px;
text-align: left;
color: #75574c;
}

.table thead tr {
background-color: #ede7df;
color: #75574c;
text-align: left;
font-weight: bold;
}
.table th {
padding: 8px 10px;
border: 2px solid #dddddd;
vertical-align: middle; /* 将内容对齐到单元格顶部 */

}
.table td {
padding: 8px 10px;
border: 2px solid #dddddd;
vertical-align: top; /* 将内容对齐到单元格顶部 */

}

.table tbody tr {
border-bottom: 2px solid #dddddd;
}

.table tbody tr:nth-of-type(even) {
background-color: #f3f3f3;
}

.table tbody tr:last-of-type {
border-bottom: 2px solid #e09870;
}

.table tbody tr:hover {
background-color: #f1f1f1;
}













/* reference展开样式开始 */
.reference{
   width: 100%;
   display: flex;
   justify-content: center;
  align-items: center;
  flex-direction: column;
}
.reference label {
  width: 100%;
  height: 70px;
  border-radius:15px ;
  background-color: bisque;
  display: flex;
  align-items: center;
  padding-left: 30px;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
  .reference label:hover{
      background-color: #f0bdaa;
  }
 
  .refer_content{
      width: 100%;
      background-color: rgb(248, 234, 215);
      
      height: 0;
      overflow: hidden;
      transition: all 0.3s ease;
  }
   /* 1 */
   #refer_checkbox:checked~.refer_content{
    height: auto;
    padding: 20px;
    font-size: 15px;
}
#refer_checkbox:checked~label{
   border-radius: 15px 15px 0 0;
}
/* 2 */
#refer_checkbox_1:checked~.refer_content{
    height: auto;
    padding: 20px;
    font-size: 15px;
}
#refer_checkbox_1:checked~label{
   border-radius: 15px 15px 0 0;
}
/* 3 */
#refer_checkbox_2:checked~.refer_content{
    height: auto;
    padding: 20px;
    font-size: 15px;
}
#refer_checkbox_2:checked~label{
   border-radius: 15px 15px 0 0;
}

/* reference展开样式结束 */

/* safety的lyr样式结束 */


/* ihp开始 */
.ihp_refer{
  position: relative;
}
 .ihp_refer span{
  position: absolute;
  display: inline-block;
  right: 30px;
  
 }
/* ihp结束 */







/* footer开始 */

footer{
  width: 100%;
  background-color: rgb(239, 231, 222);
  height: 500px;
  padding-top: 30px;
}
footer .container{
  width: 100%;
  height: 100%;
}
.up{
  height: 60%;
}

.up .left{
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}
/* 图标开始 */
.icon{
  height: 30%;
  display: flex;
  align-items: center;
}
/* szu与igem的logo */
.icon_left{
  height: 100%;
  display: flex;
  align-items: center;
}
#igem_logo{
  height: 40%;
  margin-right: 10px;
}
#szu_logo{
  height: 50%;
}
/* 右侧社交媒体的logo */
.icon_right{
  height: 100%;
   margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.social{
  display: inline-block;
  height: 40%;
}

.social svg{
  height: 100%;
}
/* 下方szu的大logo */
.szu{
  width: 100%;
  display: flex;
  justify-content: center;
}
.szu img{
 width: 100%;
 transform: translateY(-22%);
}
/* 中间一条线 */
.line{
  height: 100%;
   position: relative;
}

.line::before{
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 80%;
  background-color: #e0d1c6;
  transform-origin: left top;
}
/* 轮播图 */

.up .right{
   display: flex;
   flex-direction: column;
   justify-content: space-evenly;
   overflow: hidden;
}
footer .swiper_holder{
  height: 40%;
  align-content: center;
  position: relative;
}
.swiper img{
   display: block;
  width: 100%;
  height: 100%; 
  object-fit: cover;
}
/* 下面的轮播图调上去一点 */
.sponsor_2{
  transform: translateY(-22%);
}
 @media screen and (max-width:576px) {
  .swiper_holder{
      display: none;
  }
  .up .left{
      align-items: center;
  }
  .up .icon{
      width: 75%;
  }
  .up .szu img{
      width: 75%;
  }
 }
/* 轮播图主要样式 */
footer .swiper-slide{
/* Center slide text vertically */
display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
}
/* footer最重要的文字 */
footer .down p{
  margin-bottom: 0;
}
footer .down a{
  color: #c78b76;
  font-weight: bold;
}
footer hr{
  color: #be8e7a;
}


/* TEAM样式起点 */



/* 合照的样式 */

.all_img_outer{
  width: 100%;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;

}
.all_img_inner{
  width: 40%;
 border: 30px white solid;
 box-shadow: rgb(233, 216, 191) 0 0 50px;
 position: relative;
 transform: rotateZ(-3deg);
}
.all_img{
  width: 100%;
  object-fit: cover;
}
.all_img_inner::before{
  content: '';
  position: absolute;
  top: -10%;
  left: -15%;
  width: 120px;
  height: 35px;
  background-color: rgb(247, 211, 182);
  box-shadow: rgb(233, 216, 191) 0 0 20px;
  transform: rotateZ(-45deg);
}
.all_img_inner::after{
  content: '';
  position: absolute;
  bottom: -10%;
  right: -15%;
  width: 120px;
  height: 35px;
  background-color:  rgb(247, 211, 182);
  box-shadow: rgb(233, 216, 191) 0 0 20px;
  transform: rotateZ(-45deg);
}

@media screen and (max-width:765px){
  .all_img_inner::before{
      width: 100px;
     height: 25px;
      top: -30%;
      left: -40%;
  }
  .all_img_inner::after{
      width: 100px;
      height: 25px;
      bottom: -30%;
      right: -40%;
  }
}















.left-aligned {
  margin-left: auto;
}

.bg-dark {
  background-color: #343a40 !important;
}

.bg-hero {
  background-color: rgb(69, 176, 108);
}

/* CALLOUT */
.bd-callout {
  padding: 1.25rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  border: 1px solid #e9ecef;
  border-left-width: .25rem;
  border-radius: .25rem
}

.bd-callout h4 {
  margin-bottom: .25rem
}

.bd-callout p:last-child {
  margin-bottom: 0
}

.bd-callout code {
  border-radius: .25rem
}

.bd-callout+.bd-callout {
  margin-top: -.25rem
}

.bd-callout-info {
  border-left-color: #5bc0de
}

.bd-callout-warning {
  border-left-color: #f0ad4e
}

.bd-callout-danger {
  border-left-color: #d9534f
}

