body {
    background-color:#96c8c1ba;
    
    overflow-x: hidden;
}
.fig{
    text-align:center
}
.teacher-box {
    display: flex;
    align-items: center;
    position: relative;
    left: 2vw;
    margin: 3vh 0;
}

.teacher-box img {
    width: 6vw;
    height: 6vw;
    border-radius: 30px;
}

.teacher-box h2 {
    margin-left: 1vw;
}

.idea-box {
    width: 50vw;
    height: fit-content;
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.idea-box img {
    width: 50vw;
}

.idea-controler {
    width: 50vw;
    height: 40vw;
    position: absolute;
}

.idea-cont {
    width: 3vw;
    height: 3vw;
    position: absolute;
    cursor: pointer;
}

.partTopFather a:link {
    text-decoration: none;
}

.partTopFather a:hover p {
    background-color: rgb(249, 83, 89);
    transition: .2s;
    font-style: italic;
    color: white;
}


.partTopFather a p {
    text-align: center;
    background-color: rgb(212, 108, 90);
    width: 100%;
    border-radius: 30px;
    height: 5vh;
    color: rgb(245, 100, 100);
    border: 4px solid rgb(245, 100, 100);;
    text-decoration: none;
    font-size: 1.5rem;
    transition: .2s;
    font-style: italic;
    width: 100%;
}

.idea-cont1 {
    top: 21%;
    left: 28%;
}

.idea-cont2 {
    top: 19%;
    left: 60%;
}

.idea-cont3 {
    top: 47%;
    left: 61%;
}

.idea-desc-box {
    position: absolute;
    width: 50vw;
    height: 40vw;
    cursor: pointer;
}

.idea-desc-box * {
    position: absolute;
    padding: 1vw 1.5vw;
    line-height: 1.3vw;
    font-family: "Comic Sans MS", "Comic Sans", cursive;
    font-size: 1.1rem;
    text-align: justify;
}

.idea-desc1 {
    width: 14vw;
    height: 7vw;
    left: 0;
    top: 16%;
}

.idea-desc2 {
    width: 13.5vw;
    height: 10vw;
    left: 73%;
    top: 0%;
}


.idea-desc3 {
    width: 16.5vw;
    height: 6vw;
    left: 18%;
    top: 71%;
}


.inlinePchange {
    width: 100%;
    height: fit-content;
    position: relative;
}

.inlineitem {
    text-align: center;
    border-radius: 30px;
    transition: 0.1s;
    padding: 10px;
    cursor: pointer;
}

.inlineitem:hover {
    background-color: rgb(255, 138, 168);
    transition: 0.3s;
}

.inlineitem-active {
    background-color: rgb(255, 138, 168);
    border-radius: 30px;
}

.inlineitem .imgbox {
    margin: 0 auto;
    padding: 10px;
    display: flex;
    justify-content: space-around;
}

.inlineitem p {
    margin: 0 auto;
    text-indent: unset !important;
    line-height: unset;
}

.inlineitem img {
    width: 60px;
}

.inlineitem span {
    line-height: unset;
    max-width: 80%;
}

.inline-text-box {
    position: relative;
    margin: 4vh;
}

.inlinetext {
    padding: 2vh;
    border: solid 4px rgb(0, 0, 33);
    border-radius: 30px;
}


table {
    width: 90%;
    padding: 20px;
    margin: 40px auto;
}

th {
    background-color: rgb(255, 138, 168);
}

tr {
    border: #fff 2px solid;
}

td,
th {
    text-align: center;
    border: 2px solid white;
}


tr:nth-child(odd) {
    background-color: rgb(255, 199, 212);
}

tr:nth-child(even) {
    background-color: rgb(255, 236, 219);
}

td a {
    transition: 0.2s 0.2s;
}

td a:link,
td a:visited {
    text-decoration: none;
    color: unset;
}

td a:hover {
    color: rgb(72, 38, 221);
    transition: 0.2s;
    text-decoration: underline;
}




.partnerswitch {
    position: absolute;
    height: 7vh;
    width: 100%;
    background-color: rgb(255, 199, 212);
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 1vh;
}

.partner-trig {
    height: 5vh;
    background-color: rgb(233, 126, 154);
    border: 4px solid rgb(0, 0, 33);
    border-radius: 30px;
    margin: 0 1vw;
    display: flex;
    justify-content: center;
    align-content: center;
    transition: 0.2s;
    cursor: pointer;
    padding: 0 2vw;
}

.partner-trig:hover {
    transform: scale(1.1);
    transition: 0.2s;
}

.partner-trig p {
    font-family: font-main;
    font-size: 1.5rem;
}

.imgchangbox {
    margin: 2vh auto;
    width: 65vw;
    height: fit-content;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    border: rgb(0, 0, 33) 4px solid;
}

.imgchangbox img {
    width: 100%;
}

.imgchangbox P {
    margin: 0 auto;
    text-align: justify;
    opacity: 1;
    color: black;
    padding: 2vh 2vw;
}

.leftbox {
    width: 100%;
    height: 100%;
    background-color: #fff;
    position: absolute;
    left: 0px;
    opacity: 0;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.leftbox div {
    display: block;
}

.leftbox p {
    font-size: 1.3em !important;
}

.leftbox:hover {
    opacity: 0.8;
    transition: 0.2s;
}


.overflow-handle {
    cursor: pointer;
}


.flow-box-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    Text-indent: 2rem;
    line-height: 2.5rem;
}

.flow-box {
    overflow: scroll;
    overflow-x: hidden;
    overflow-y: auto;
    height: 80%;
    width: 50vw;
    padding: 2vw 5vh;
    position: relative;
    top: 10vh;
    background-color: rgb(255, 255, 255);
    border-radius: 40px;
    margin-bottom: 20vh;
    border: 5px solid rgb(0, 0, 33);
    box-shadow: 0 0 5px rgb(255, 199, 212);
}

.carousel-box {
    margin: 0 auto;
    width: 50vw;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 50vh;
    overflow: hidden;
    transition: 0.5s;
    border-radius: 2vw;
    border: 5px solid rgb(0, 0, 33);
    transition: 0.5s;
}

.carousel-control {
    transition: 0.5s;

}

.carousel-control:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transition: 0.5s;
}

.img-show-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    position: fixed;
    top: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.img-show-wrapper .imgbox {
    width: fit-content;
    max-height: 100%;
    padding: 10px;
    margin: 30px;
    overflow: scroll;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: white;
}

.img-show-wrapper img {
    max-width: 80vw;
}

/* 2 banner部分 */
.headline {
    height: 100vh;
    border-bottom: 15px rgb(255, 199, 212) solid;
}

.headline h1 {
    position: relative;
    top: 40%;
    text-align: left;
    font-size: 8rem;
    color: white;
    text-shadow: 0px 0px 20px #993366;
}

/* 3 内容部分 */
.detail {
    position: relative;
    display: flex;
    justify-content: center;
    margin: 0;
}

/* 3.1 侧边栏部分 */

.sidenav-box {
    flex: 3;
    min-width: 20vw;
    max-width: 30vw;
    z-index: 10;
    
}

.sidenav {
    position: sticky;
    top: 12vh;
    margin: 15vh 2vw;
    margin-left: 2vw;
    border-radius: 2rem;
    border-top: rgb(25,61,38) 4.5px solid;
    border-bottom: rgb(25,61,38) 4.5px solid;
    border-left: rgb(25,61,38) 4.5px dashed;
    border-right: rgb(25,61,38) 4.5px dotted;
    background-color: rgb(220, 236, 233);
    padding: 1vh 1.5vw;
}

.sidenav_a {
    text-decoration: none;
    padding: 1vh 2vw;
    color: rgb(18, 0, 98);
    text-align: center;
    margin: 0.5vh;
    font-weight: bold;
    font-size: medium;
    border-radius: 2rem;
    background-color: white;
    border: 2px solid rgb(18, 0, 98);
    cursor: pointer;
    display: flex;
}

.sidenavFather {
    display: block;
    text-decoration: none;
    padding: 1vh 2vw;
    color: rgb(90, 163, 227);
    text-align: center;
    margin: 0.5vh;
    font-family: "Comic Sans MS", "Comic Sans", cursive;
    font-weight: bold;
    font-size: medium;
    border-radius: 2rem;
    background-color: white;
    border: 2px solid rgb(35, 68, 4);
    cursor: pointer;
}

.sidenav_a_active {
    display: block;
    text-decoration: none;
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: medium;
    border-radius: 2rem;
    background-color: rgb(124, 166, 195);
    transform: scaleX(1.0);
    transform-origin: left;
    transition: .3s;
}


.sidenav_a_2 {
    display: block;
    text-decoration: none;
    padding: 1vh 2vw;
    color: rgb(109, 209, 228);
    text-align: center;
    font-weight: bold;
    font-size: 0.9rem;
    border-radius: 1.5rem;
    background-color: white;
    border: 1px dashed rgb(109, 209, 228);
    cursor: pointer;
    margin: 0.5vh auto;
    width: 90%;
}

.sidenav_a_2:hover {
    background-color: rgb(250, 159, 173);
    color: #fff;
    transition: .3s;
}


.sidenav_a_active_2 {
    display: block;
    text-decoration: none;
    padding: 1vh 0.02vw;
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: medium;
    border-radius: 2rem;
    background-color: rgb(250, 159, 173);
    transform-origin: left;
    transition: .3s;
}



/* .sidenav::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border: 8px solid rgb(255, 199, 212);
    position: absolute;
    top: -5px;
    left: 15%;
}

.sidenav::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border: 8px solid rgb(255, 199, 212);
    position: absolute;
    bottom: -5px;
    right: 15%;
} */

.sidenavFather:hover {
    background-color: rgb(124, 166, 195);
    color: #fff;
    transition: .3s;
}

/* 3.2 文字部分 */
.text {
    flex: 7;
    margin: 15vh 0;
    margin-bottom: 0;
    max-width: 60vw;
    
    line-height: 2.5rem;
}
.text div{
    text-align: center;
}

.text .fig{
    text-align: center;
}
#references-prag>.partRoot>p{
    text-indent: -2em;
    padding-left: 2em;
}

#hp-head-1{
    font-size: 0.7em;
}

.text-img-box{
    position: fixed;
    bottom: 2vh;
}

.text-img-box img{
    width: 16vw;
}

.text-img-box-1 img{
    position: absolute;
    left: -45vw;
    bottom: 2vh;
    z-index: 2;
}

.text-img-box-2 img{
    position: absolute;
    width: 5vw;
    top:-2vh;
    right: 20vw;
    bottom: 0vh;
}



#gsjz {
    text-align: center;
}

#result-img-1{
    max-width: 110%;
}
#result-img-2{
    max-width: 90%;
}
#result-img-3{
    max-width: 80%;
}

.partTopFather {
    border-top: rgb(25,61,38) 4.5px solid;
    border-bottom: rgb(25,61,38) 4.5px solid;
    border-left: rgb(25,61,38) 4.5px dashed;
    border-right: rgb(25,61,38) 4.5px dotted;
    border-radius: 2rem;
    margin-bottom: 15vh;
    position: relative;
    background-color: white;
    margin-left:  2vw;
    margin-right:  0vw;
}


.partTop,
.partRoot,
.markSVM {
    padding: 1vh 2vw;
    padding-top: 5vh;
}


.icii-overview {
    border: unset;
    background-color: unset;
}

.icii-overview .partRoot {
    padding: 1px;
}


.partTopFather h1 {
    color: rgb(200, 223, 226);;
    font-family: "Comic Sans MS", "Comic Sans", cursive;
    font-size: 1.6rem;
    font-weight: 600;
    background-color: rgb(102, 128, 94);
    padding-left: 2vw;
    padding-right: 2vw;
    position: absolute;
    top: -2.5vh;
    left: 1.5vw;
    border-bottom: rgb(25,61,38) 4.5px solid;
    white-space: nowrap;
    border-radius: 10px;
}

.text h2 {
    text-align: center;
}

#modeol-h2 {
    color: rgb(236, 113, 142);
    font-weight: 900;
}

#modeol-h2 img {
    position: relative;
    height: 1em;
    top: -4px;
    left: -10px;
}

#modeol-h3 img {
    position: relative;
    height: 1em;
    top: -4px;
    left: -10px;
}

#modeol-h3 {
    color: rgb(230,91,134);
}



.text h3 {
    margin-top: 2vh;
}

.text p {
    Text-indent: 2rem;
    font-size: large;
    text-align: justify;
}

.forimg {
    width: 80%;
    margin: 2vh auto;
    display: flex;
    flex-wrap: wrap;
}


.partTopFather .forimg img {
    cursor: zoom-in;
}

.forimg .imgbox {
    display: flex;
    justify-content: center;
    width: 100%;
}

#clickme_svg{
    animation: clickonme 1s infinite 0.33s;
}

@keyframes clickonme {
    50%{
        transform: scale(1.1);
    }
}

.forimg img {
    max-width: 50%;
    margin: 0 30px;
}

.forimg p {
    width: 100%;
    font-size: 0.8rem;
    margin: 0 auto;
    color: grey;
    text-align: center;
}

#table-mt {
    margin-top: 0;
}

#click-buble{
    font-size: 1.2em;
    color: rgb(230,91,134);
}

#modeol-table-1 td {
    margin: 0 9px;
}

#table-span {

    width: 100%;
    font-size: 0.8rem;
    margin: 0 auto;
    color: grey;
    text-align: center;
}

#language-desc{
    max-width: 80%;
}

#img-pucli-servey {
    max-width: 30%;
    margin: 0;
}

#edu-img-litt {
    max-width: 20%;
}

.modeol-table-1 tr:nth-child(1) {
    width: 400px;
}


#improvement-img-1{
    max-width: 100%;
}
#improvement-img-2{
    max-width: 90%;
}

#hp-img-1{
    max-width: 45%;
}

#inline-text-box p:nth-child(1) {
    margin-top: 0;
}

#contribution-img-1{
    max-width: 110%;
}

#contribution-img-2{
    max-width: 100%;
}
#contribution-img-3{
    max-width: 60%;
}

#partner-img-10 {
    width: 40%;
}

#design-img-2{
    max-width: 90%;
}

#design-img-3{
    max-width: 80%;
}

#design-img-1{
    max-width: 110%;
}

#descript-2{
    max-width: 90%;
}

#modeol-img-6 {
    max-width: 110%;
}

#modeol-img-5 {
    max-width: 90%;
}

#modeol-img-10 {
    max-width: 140%;
}

#engineering-img-5{
    max-width: 100%;
}

#inline-text-box img {
    max-width: 60%;
}
#xinyan-link:link{
    text-decoration: underline;
}

/* 3.3 进度条部分 */
.progress_c {
    margin: 15vh auto;
    flex: 1;
    position: sticky;
    margin-right: 2vw;
    top: 20vh;
    background-image: url('https://static.igem.wiki/teams/4835/wiki/home/wave2.png'  );
    background-repeat: no-repeat;

    background-size: auto,100vh;
   
    border-right: rgba(124, 165, 195, 0.419) 1vw dotted;
    height: fit-content;
    width: fit-content;
}

.progress-box {
    height: 100vh;
    width: fit-content;
    
    overflow: hidden;
}

.progress_line ,

.progress_line_base {
    display: inline-block;
    position: absolute;
    height: 0vh;
    width: 1.2vw;
    min-width: 10px;
    background-color: rgb(255 255 255);
    border-radius: 1rem;
    border: 193d24 2px solid;
    margin-left: 3vw;
    transition: 0.2s ease-out;
}

 
.progress_line_base {
    position: absolute;
    height: 60vh;
    background-color: #b4d6d1;
    z-index: -1;
}

/* 4 返回顶部 */
.top {
    position: fixed;
    width: 60px;
    right: 2vw;
    bottom: 2vh;
    margin-bottom: 2vh;
    transition: .3s;
    cursor: pointer;
}

.top:hover {
    scale: 1.1;
}

.top img {
    width: 100%;
}

@media screen and (max-width: 1400px) {
    .sidenav-box {
        display: none;
    }
}