/*  */
body{
    background-color: white;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    margin: 0;
    padding: 0;
    cursor: url(https://static.igem.wiki/teams/4703/wiki/cursor-test1.ico),auto;
    scroll-behavior: smooth;
    /* font-family: 'Segoe UI',Arial,'Microsoft Yahei',sans-serif; */
}
.jiacu{
    font-weight: 900;
    color: rgb(68, 114, 196);
}
/* main body*/
.mainbody{
    display: flex;
    width: 100%;
    height: auto;
    background: rgb(232, 250, 246);
    
}
/* 大事件 字号缩小 */
#event{
    font-size: smaller;
}
/*Left sidebar*/
.left{
    display: inline-block;
    width: 20%;
    height: auto;
    margin-left: 5%;
    /* 使得顶部对齐 */
    vertical-align: top;
}
.LeftNavigation{
    position: sticky;
    width: 100%;
    height: 200px;
    top: 100px;
    border-radius: 20px;
}
.LeftNavigation div{
    width: 100%;
    border-style: solid;
    border-color: snow;
    background-color: snow;
    font-size: large;
    padding: 4px;
}
.LeftNavigation div button{
    text-align: left;
    font-size: large;
    width: 100%;
    /* 去掉按钮本身的效果 */
    border: 0;
	outline: none; 
	background-color: rgba(0, 0, 0, 0);
    /* 设置位置 */
    padding-left: 1%;
    padding-right: 1%;
}
.LeftNavigation div:first-of-type{
    border-radius: 10px 10px 0 0;
}
.LeftNavigation div:last-of-type{
    border-radius: 0 0 10px 10px;
}
.LeftNavigation div button:hover{
    background-color: #a8d3c0;
}
.LeftNavigation div li{
    width: 100%;
    display: none;
    list-style: circle;
    white-space: normal;
    word-wrap: break-word;
}
.LeftNavigation div li a{
    font-size: smaller;
    word-wrap: break-word;
    white-space: normal;
    list-style: circle;
}
.LeftNavigation div a{
    text-decoration: none;
    color: #3D695A;
    /* font-weight: 600; */
}
.LeftNavigation div a:hover{
    text-decoration: underline;
}
/* 小标题的小符号 */
.lefttittle{
    float: right;
    padding-right: 10px;
    margin-right: 15px;
    transform: rotate(180deg);
    color: rgb(55, 130, 139);
}
/* 右边的部分 */
.saying{
    font-family: 'STLiti';
    font-size: xx-large;
    text-align: center;
}
.RightNav{
    display: inline-block;
    width: 55%;
    margin-left: 10%;
    height: auto;
    color: rgb(97,79,0);
    /* 两端对齐 */
    text-align:justify; 
    text-justify:inter-ideograph;
}
.text h1{
    color: rgb(48, 71, 63);
    font-size: xx-large;
    letter-spacing: 3px;
    text-align: center;
}
.text h2{
    color: rgb(48, 71, 63);
    letter-spacing: 2px;
    text-align: left;
    padding-left: 6%;
}
.text h3{
    color: rgb(48, 71, 63);
    letter-spacing: 1px;
    text-align: left;
    padding-left: 6%;
}
.threelevel{
    font-size: larger;
    font-weight: 900;
    color: black;
}
.text p{
    /* font-weight: 600; */
    font-size: large;
    letter-spacing: 1px;

    padding-left: 6%;
    padding-right: 6%;
}
.text span{
    font-size: large;
    /* font-weight: 600; */
    letter-spacing: 1px;
    line-height: 30px;
}
/* 段落旁边的竖杠 */
.text  p:nth-of-type(1),
.text  p:nth-of-type(3),
.text  p:nth-of-type(5),
.text  p:nth-of-type(7),
.text  p:nth-of-type(9),
.text  p:nth-of-type(11),
.text  p:nth-of-type(13),
.text  p:nth-of-type(15),
.text  p:nth-of-type(17){
    border-style: solid;
    border-width: 0 0 0 10px;
    border-color: rgb(56, 164, 235);
    /* padding-left: 6%;
    padding-right: 6%; */
}
.text  p:nth-of-type(2),
.text  p:nth-of-type(4),
.text  p:nth-of-type(6),
.text  p:nth-of-type(8),
.text  p:nth-of-type(10),
.text  p:nth-of-type(12),
.text  p:nth-of-type(14),
.text  p:nth-of-type(16),
.text  p:nth-of-type(18){
    border-style: solid;
    border-width: 0 10px 0 0;
    border-color: rgb(56, 164, 235);
    /* padding-left: 6%;
    padding-right: 6%; */
}

/* 嵌入PDF */
.pdf{
    text-align: center;
    width: 100%;
}
.pdf embed{
    width: 80%;
    height: 600px;
}
/* 图系统 */
.single{
    width: 100%;
    display: block;
    text-align: center;
}
.single img{
    width: 80%;
    border-radius: 3px;
}
.sikuang{
    width: 100%;
    display: block;
    text-align: center;
}
.sikuang img{
    width: 50%;
    border-radius: 3px;
}
.debate{
    width: 100%;
    display: block;
    text-align: center;
}
.debate img{
    width: 45%;
}
.double{
    display: block;
    width: 100%;
    text-align: center;
}
.double img{
    display: inline-block;
    width: 40%;
    border-radius: 3px;
}
.bigdouble{
    display: block;
    width: 100%;
    text-align: center;
}
.bigdouble img{
    display: inline-block;
    width: 45%;
    border-radius: 3px;
}
.bigsmall{
    display: block;
    width: 100%;
    text-align: center;
}
.bigsmall img:nth-of-type(1){
    display: inline-block;
    width: 50%;
}
.bigsmall img:nth-of-type(2){
    display: inline-block;
    width: 28%;
}
.there{
    display: block;
    width: 100%;
    text-align: center;
}
.there img{
    display: inline-block;
    width: 30%;
}
/* 图注释 */
.zhushi{
    display: block;
    text-align: center;
    font-size: smaller;
    color: black;
}
.youzhushi{
    display: block;
    text-align: right;
    font-size: larger;
    color: black;
}
/* overview图 */
.overpic-container{
    display: block;
    text-align: center;
    width: 100%;
}
.overpic{
    display: inline-block;
    width: 20%;
    margin-left: 2%;
    margin-right: 2%;
}
.overpic img{
    width: 100%;
    height: auto;
}
.overpic img:hover{
    transform: scale(1.2);
}
/* 标题之间的分割线 */
.fenge{
    color: rgb(31, 87, 160);
}


/*notebook模块*/
html {
    box-sizing: border-box;
  }
  
  *, *:before, *:after {
    box-sizing: inherit;
  }
  .wrapper {
    width: 90%;
    height: auto;
  }
  .timeline {
    line-height: 1.5em;
    font-size: 14px;
    transition: all 0.4s ease;
    position: relative;
    counter-reset: section;
  }
  .timeline:before {
    content: "";
    width: 10px;
    height: 100%;
    background: rgb(72,103,91);
    position: absolute;
    top: 20px;
    align-items: center;
    justify-content: center;
    border-radius: 40px 40px;
  }
  
  .timeline--entry {
    position: relative;
    background-color: #eeeeee;
  }
  .timeline--entry__title {
    color: white;
    background-color: rgb(72,103,91);
    font-family: "Oswald", Georgia, Cambria, "Times New Roman", Times, serif;
    font-weight: 300;
    font-size: 1rem;
    padding: 1em;
  }
  /* 单数的三角 */
  .timeline--entry__title:before {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    position: absolute;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    left: -1em;
    border-right: 10px solid rgb(72,103,91);
  }
  .timeline--entry__detail {
    background-color: #dddddd;
    padding: 1em;
    margin: 0;
  }
  /* 这个是中心的图标 */
  .timeline--entry:before {
    /* content: ""; */
    font-family: "Oswald", Georgia, Cambria, "Times New Roman", Times, serif;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3em;
    height: 3em;
    background-color: rgb(72,103,91);
    border: 0.2em solid white;
    border-radius: 50%;
    position: absolute;
    counter-increment: section;
    /* 内容 */
    content: counter(section);
    text-shadow: 0 1px 0 #424242;
    /* left: -4.5em; */
  }
  
  @supports (display: grid) {
    @media (min-width: 768px) {
      .timeline {
        display: grid;
        grid-gap: 3em;
        grid-template-areas: ".  entry1" ".  entry2" ". entry3" ".  entry4";
      }
      /* 中轴线的位置 */
      .timeline:before {
        left: 2%;
      }
  
      .timeline--entry:nth-child(1) {
        grid-area: entry1;
      }
      .timeline--entry:nth-child(2) {
        grid-area: entry2;
      }
      .timeline--entry:nth-child(3) {
        grid-area: entry3;
      }
      .timeline--entry:nth-child(4) {
        grid-area: entry4;
      }
      /* 单数标号的位置 */
      .timeline--entry:nth-of-type(odd):before {
        left: -3.2em;
      }
      .timeline--entry:nth-of-type(even):before {
        left: -3.2em;
      }
    }
  }





