@import url(./inner_sidebar.css);

/* ==========================================================================
   全局
   ========================================================================== */
.content {
    padding: .4rem 0;
    position: relative;
    min-height: 300px;
}

.content img {
    max-width: 100%;
}

.sub-banner {
    --bannerH: 400px;
    height: var(--bannerH);
}

.sub-banner .wrapper {
    height: 100%;
}

@media only screen and (max-width:1536px) {
    .sub-banner {
        height: calc(var(--bannerH) / 1.25);
    }
}

@media only screen and (max-width:1440px) {
    .sub-banner {
        height: calc(var(--bannerH) * 0.75);
    }
}

@media only screen and (max-width:1280px) {
    .sub-banner {
        height: calc(var(--bannerH) / 1.5);
    }
}

@media only screen and (max-width:1024px) {
    .sub-banner {
        height: calc(var(--bannerH) / 1.875);
    }
}

@media only screen and (max-width:960px) {
    .sub-banner {
        height: calc(var(--bannerH) / 2);
    }
}

@media only screen and (max-width:768px) {
    .sub-banner {
        height: calc(var(--bannerH) / 2.5);
    }
}

.logo {
    width: 1.48rem;
    background-size: 1.48rem auto;
}



/* ==========================================================================
   common
   ========================================================================== */
.inner_head {
    height: 100%;
    flex-direction: column;
    justify-content: center;
}

.inner_h2 {
    color: rgb(255, 255, 255);
    font-size: .4rem;
    font-weight: 500;
    margin-bottom: .15rem;
}

.inner_h4 {
    color: rgb(255, 255, 255);
    font-size: .24rem;
    font-weight: 400;
    max-width: 935px;
}

.side_icon {
    width: 40px;
    height: 48px;
}







/* ==========================================================================
   右侧菜单
   ========================================================================== */
.inner_wrapper {
    padding-left: 237px;
    transition: all .3s;
}

.expression {
    align-items: flex-start;
}

.expression_left {
    width: 71.6%;
}

.expression_right {
    position: sticky;
    top: 1.5rem;
    width: 28.4%;
}

.rightSidebar {
    margin: 0 auto;
    width: 80%;
    padding: .15rem;
    background: #fff;
    border-radius: .2rem;
}

.rightSidebar .sidebar_item:not(:first-of-type) {
    margin-top: .25rem;
    padding-top: .2rem;
    border-top: 1px solid rgba(175, 218, 240, 0.45);
}

.sidebar_title {
    align-items: center;
    /* color: rgb(0, 134, 209); */
    color: #fff;
    font-size: .18rem;
    font-weight: 400;
    margin: .1rem 0 .3rem;
    padding: .05rem 0 .05rem;
    border-radius: .04rem;
    background: rgb(0, 134, 209) linear-gradient(270.00deg, rgba(0, 164, 156, 0.5), rgba(0, 134, 209, 0.5) 100%);
}

.sidebar_title img {
    margin: 0 .2rem 0 .07rem;
}




.first_item {
    margin-bottom: .1rem;
}

.bg_on {
    border-radius: .04rem;
    background: rgb(230, 245, 247);
}

.first_title {
    align-items: center;
    color: rgb(51, 51, 51);
    font-size: .16rem;
    font-weight: 400;
    line-height: 120%;
    padding: .07rem .15rem;
}

.first_title.bg_on {
    color: rgb(0, 164, 156);
}

.first_title em {
    flex-shrink: 0;
    margin-right: .15rem;
    width: 10px;
    height: 10px;
    background: url(../images/arrow_right.svg) no-repeat center;
}

.first_item.drop_active .first_title em {
    background-image: url(../images/arrow_down.svg);
}


/* 二级 */
.second_item {
    margin-bottom: .05rem;
}

.second_title {
    align-items: center;
    color: rgb(102, 102, 102);
    font-size: .14rem;
    font-weight: 400;
    line-height: 120%;
    padding: .05rem .15rem .05rem .2rem;
}

.second_title.bg_on {
    color: #00A49C;
}

.second_title em {
    flex-shrink: 0;
    margin-right: 5px;
    width: .16rem;
    height: .16rem;
    background: url(../images/check.svg) no-repeat center;
}

.second_title.bg_on em {
    background-image: url(../images/check_g.svg);
}

.menu_title {
    font-size: 18px;
    padding: 5px 10px;
    background: #fff url(../images/arr_list.svg) no-repeat;
    background-position: right 10px center;
    cursor: pointer;
    border-radius: 4px;
    margin-bottom: 5px;
    display: none;
}

.menu_title.on {
    background: #fff url(../images/arr_list2.svg) no-repeat;
    background-position: right 10px center;
}



@media only screen and (max-width: 768px) {
    .inner_wrapper {
        padding: 0 20px;
    }

    .expression {
        flex-direction: column-reverse;
    }

    .expression_left {
        width: 100%;
    }

    .expression_right {
        position: static;
        width: 100%;
        margin-bottom: 20px;
    }

    .rightSidebar {
        width: 100%;
        border-radius: 4px;
        display: none;
    }

    .menu_title {
        display: block;
    }

    .sidebar_title {
        font-size: 16px;
    }

    .first_title {
        font-size: 14px;
    }

    .second_title {
        font-size: 12px;
    }


}

@media only screen and (max-width: 500px) {

    .menu_title {
        font-size: 16px;
    }
}








/* ==========================================================================
   字体大小
   ========================================================================== */
:root {
    --fontSize14: .14rem;
    --fontSize16: .16rem;
    --fontSize18: .18rem;
}

.pre_dian p {
    position: relative;
    padding-left: .2rem;
}

.pre_dian p::before {
    content: "";
    position: absolute;
    left: .08rem;
    top: .085rem;
    width: .04rem;
    height: .04rem;
    border-radius: 50%;
    background: rgb(0, 0, 0);
}

@media only screen and (max-width: 1200px) {
    :root {
        --fontSize14: 12px;
        --fontSize16: 12px;
        --fontSize18: 12px;
    }

    .pre_dian p {
        padding-left: 15px;
    }

    .pre_dian p::before {
        width: 3px;
        height: 3px;
        top: 8px;
        left: 6px;
    }
}










/* ==========================================================================
   框架
   ========================================================================== */
.inner_center {
    margin: 0 0 .6rem;
}

.protein_title {
    color: rgb(0, 134, 209);
    font-size: .36rem;
    font-weight: 700;
    position: relative;
    z-index: 9;
    text-align: center;
}

.protein_title::before {
    content: "";
    position: absolute;
    bottom: -0.2rem;
    left: 50%;
    transform: translateX(-50%);
    width: .8rem;
    height: 1px;
    background: rgb(0, 164, 156);
}

.inner_left {
    margin: 0 0 .6rem;
}

.inner_left .protein_title {
    text-align: left;
}

.inner_left .protein_title::before {
    left: 0;
    transform: translateX(0);
}


.plasmid_main .plasmid_item:not(:last-of-type) {
    margin-bottom: 1rem;
}

.plasmid_title {
    border-radius: .04rem;
    background: rgb(0, 134, 209) linear-gradient(270.00deg, rgba(0, 164, 156, 0.5), rgba(0, 134, 209, 0.5) 100%);
    color: rgb(255, 255, 255);
    font-size: .3rem;
    font-weight: 700;
    padding: .08rem .25rem;
    margin-bottom: .4rem;
}

.plasmid_area {
    border-radius: .04rem;
    background: rgb(255, 255, 255);
    padding: .3rem .4rem;
    color: rgb(0, 0, 0);
    font-size: .16rem;
    font-weight: 400;
    line-height: 2.4;
}

@media only screen and (max-width: 1200px) {
    .plasmid_area {
        font-size: 12px;
        line-height: 2;
    }
}

@media only screen and (max-width: 500px) {
    .plasmid_main .plasmid_item:not(:last-of-type) {
        margin-bottom: 30px;
    }

}

.example_nwms img {
    /*width: 50%;*/
}

@media only screen and (max-width: 500px) {
    .example_nwms img {
        width: 100%;
    }
}