body.show {
    background-color: #f5f5f5;
}

.page-wrapper1 {
    display: flex;
    max-width: 80%;
    margin: 0 auto;
}

/* 顶部导航样式变化 */
.g-head .logo {
    background: url(/web/Nimg/laboratorylogo.png) center no-repeat;
    background-size: 100%;
}

body:not(.navShow) .g-head.on .logo {
    background: url(/web/image/logo.png) center no-repeat;
    background-size: 100%;
}

.g-head .navA {
    background: url(/web/Nimg/navA1.png) center no-repeat;
    background-size: 100%;
}

body:not(.navShow) .g-head.on .navA {
    background: url(/web/image/navA.svg) center no-repeat;
    background-size: 100%;
}

body:not(.navShow) .g-head.on .nav li a {
    color: #333;
}

body:not(.navShow) .g-head.on .language a:hover,
body:not(.navShow) .g-head.on .language a.on {
    color: #333;
}

.g-head .nav li a {
    color: #fff;
}

.g-head .language a:hover,
.g-head .language a.on {
    color: #fff;
}

/* 页面样式 */
.page-banner .wal h2 {
    color: #1e90ff;
    /* text-shadow: 2px 2px 0 white, -2px 2px 0 white, 2px -2px 0 white,
        -2px -2px 0 white; */
    margin-bottom: 0.1rem;
}

.main {
    background-color: #f5f5f5;
    padding-bottom: 0.5rem;
    width: 68%;
}

.nav1 {
    background-color: #fff;
    position: sticky;
    top: 0.8rem;
    background-color: #fff;
    z-index: 999;
    border-top: 1px solid #ddd;
}

.nav1 ul {
    margin: 0 auto;
    max-width: 80%;
    display: flex;
    justify-content: space-between;
}

.nav1 ul li {
    position: relative;
    padding: 0.2rem 0;
}

.nav1 ul li.on a {
    color: #1e90ff;
}

.nav1 ul li.on::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    /* 底部条高度 */
    background-color: #1e90ff;
    border-radius: 6px;
}

.nav1 ul li a {
    font-size: 0.2rem;
    font-weight: bold;
}

.introduction {
    /* width: 68%; */
    padding: 0.5rem 0;
}

.introduction .title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.introduction .title p {
    font-size: 0.3rem;
    font-weight: bold;
}

.introduction .title a {
    padding: 0.1rem 0.3rem;
    /* background-color: #1e90ff; */
    /* color: #fff; */
    border-radius: 1rem;
    border: 1px solid black;
}

.introduction .title a:hover{
    background-color: #1e90ff;
    color: #fff;
    border-color: #fff;
}

.introduction .content {
    margin-top: 0.2rem;
    padding: 0.25rem;
    background-color: #fff;
    padding-bottom: 0.4rem;
}

.introduction .content p {
    margin: 0.15rem 0 0 0;
    line-height: 2em;
    color: #424242;
}

.introduction .content h4 {
    margin-top: 0.15rem;
    font-size: 0.2rem;
    line-height: 2em;
}

.introduction .content h5 {
    margin-top: 0.15rem;
    font-size: 0.18rem;
    line-height: 2em;
}

.introduction .content img {
    margin-top: 0.15rem;
}

.contact p {
    font-size: 0.3rem;
    font-weight: bold;
}

.contact {
    margin-left: 0.5rem;
    flex: 1;
    padding: 0.5rem 0;
    position: sticky;
    top: 1.4rem;
    align-self: flex-start;
}

.contact .title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact .title p {
    padding: 0.1rem 0.3rem;
    padding-left: 0;
}

.contact .info {
    margin-top: 0.2rem;
    background-color: #fff;
    padding: 0.4rem 0.5rem 2rem 0.5rem;
    background: url("/web/Nimg/test2.png") no-repeat;
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    position: relative;
}

.contact .info::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0.07rem;
    background-color: black;
}

.contact .info .top {
    display: flex;
    margin-bottom: 0.1rem;
}

.contact .info .top p {
    font-size: 0.2rem;
    color: #52668c;
}

.contact .info img {
    width: 0.2rem;
    object-fit: contain;
    margin-right: 0.1rem;
}

.contact .info .line {
    height: 1px;
    background-color: #e4e4e4;
    margin: 0.4rem 0;
    width: 100%;
}

.contact .info p {
    font-size: 0.16rem;
    color: #7d7d7d;
}

.tutor1 {
    margin-top: 0.2rem;
}

.tutor {
    /* width: 68%; */
    padding: 0.25rem;
    background-color: #fff;
    margin-bottom: 0.5rem;
    padding-bottom: 0.4rem;
}

.tutor .title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tutor .title p {
    font-size: 0.3rem;
    font-weight: bold;
}

.tutor .title a {
    padding: 0.1rem 0.3rem;
    border-radius: 1rem;
    border: 1px solid black;
}

.tutor .line {
    height: 1px;
    background-color: #e4e4e4;
    margin: 0.3rem 0;
    width: 100%;
}

.tutor1 .line {
    margin-top: 0.5rem;
}

.tutor .list ul li img {
    width: 1rem;
    object-fit: contain;
}

.tutor .list ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
    padding: 0;
    margin: 0;
}

.tutor .list .item {
    display: flex;
}

.tutor .list .item .info {
    margin-left: 0.1rem;
}

.tutor .list .item .name {
    font-size: 0.2rem;
    margin-bottom: 0.1rem;
}

.tutor .list .item .desc {
    color: #999999;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    max-height: calc(1.5em * 3);
}

.news li a {
    display: block;
    padding: 0.1rem 0 0.2rem 0;
}

.news li a .time {
    font-size: 0.16rem;
    color: #a0a0a0;
    margin-bottom: 0.1rem;
}

.news li a .desc {
    font-size: 0.2rem;
    font-weight: bold;
    color: black;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    max-height: calc(1.5em * 1);
}

.news li a:hover .desc {
    color: #1e90ff;
}

.news li:last-child a {
    border-bottom: rgba(51, 51, 51, 0.2) solid 1px;
}

.news li:last-child a:hover {
    border-color: #1e90ff;
}

.tutor .title a:hover {
    background-color: #1e90ff;
    color: #fff;
    border-color: #fff;
}

.page-num {
    padding: 0.2rem 0 0.2rem 0;
}

.content .line {
    height: 1px;
    background-color: #e4e4e4;
    margin: 0.3rem 0;
    width: 100%;
}

.instrument .list {
    padding: 0.5rem;
}

.instrument .list .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.3rem;
}

.instrument .list .top .title {
    font-size: 0.18rem;
}

.instrument .list .top a {
    color: #1e90ff;
}

.instrument .list .item ul li {
    margin-bottom: 0.1rem;
}

.instrument .list .item {
    margin-bottom: 0.3rem;
    padding-bottom: 0.2rem;
    border-bottom: 1px solid #e4e4e4;
}

.content.list .item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.news .newslist ul {
    grid-template-columns: repeat(1, 1fr);
    gap: 0.2rem;
}

.newslist .page-num {
    padding: 0.5rem 0 0.4rem 0;
}



.newslist .list ul li .desc {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.newslist .list ul li .desc img {
    margin-top: -.05rem;
    width: .2rem;
}

.newslist .list ul li .desc img:first-child {
    margin-right: .1rem;
}


.tutordetail .content {
    padding: .5rem .4rem .5rem .4rem;
}

.tutordetail .content .info {
    display: grid;
    grid-template-columns: 1fr 3fr;
}

.tutordetail .content .info .left {
    margin-right: .3rem;
}

.tutordetail .content .info .left img {
    /* width: 15rem; */
    margin-top: 0;
}

.tutordetail .content .info .right h2 {
    color: #1e90ff;
}

.tutordetail .content .info .right h3 {
    line-height: 2em;
    margin-top: .15rem;
}

.tutordetail .content .underline {
    padding-bottom: .15rem;
    border-bottom: 1px #e4e4e4 solid;
    display: grid;
    grid-template-columns: 2fr 7fr;
    align-items: start;
}

.tutordetail .content .underline1 {
    padding-bottom: .15rem;
    border-bottom: 1px #e4e4e4 solid;
    margin-top: 0;
}

.tutordetail .content .underline .time {
    font-weight: bold;
    color: black;
}

.newsdetail .content .title {
    justify-content: center;
    padding: .4rem 0;
    border-bottom: 1px solid #bbbbbb;
}

.newsdetail .content .newscontent {
    padding-top: .3rem;
}

.newsdetail .content .newscontent img{
    display: block;
    margin: 0 auto;
    width: auto;
    margin-top: 0.15rem;
}


.instrumentdetail .content h2 {
    margin-bottom: .2rem;
}


.instrumentdetail .content .tb {
    margin-top: .2rem;
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

.instrumentdetail .content .tb td,
.tb th {
    border: 1px solid #e4e4e4;
    padding: .1rem;
    text-align: center;
    white-space: nowrap;
}

.instrumentdetail .content .tb th {
    font-weight: bold;
}


.instrumentdetail .content .imggroup {
    margin-top: .2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .5rem;
}

.instrumentdetail .content .imggroup img {
    height: 3rem;
    object-fit: cover;
}

.instrumentdetail .content .imggroup p {
    font-size: .18rem;
    font-weight: bold;
}

.newslist .list ul li .desc .left {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    max-height: calc(1.5em * 1);
}

@media screen and (max-width: 800px) {
    body:not(.navShow) .g-head.on .wal {
        height: 1.5rem;
    }

    .nav1 {
        top: 1.5rem;
    }

    .nav1 ul {
        max-width: 95%;
    }

    .page-wrapper1 {
        display: block;
        max-width: 90%;
    }

    .page-wrapper1 .main {
        width: 100%;
        padding-bottom: 0;
    }

    .contact {
        position: static;
        margin-left: 0;
        padding: 0;
    }

    .contact .info .top p {
        font-size: .3rem;
    }

    .contact .info img {
        width: .3rem;
    }

    .contact .info p {
        font-size: .2rem;
    }

    .introduction .content h4 {
        font-size: .3rem;
    }

    .introduction .content h5 {
        font-size: .24rem;
    }

    .instrument .list .top .title {
        font-size: .24rem;
    }

    .tutordetail .content .info {
        display: block;
    }

    .tutordetail .content .info .left img {
        width: 3rem;
    }

    .tutordetail .content .info .left {
        text-align: center;
        margin-bottom: .4rem;
        margin-right: 0;
    }

    .tutordetail .content .info .right h2 {
        font-size: .4rem;
    }
    .tutordetail .content .info .right h3 {
        font-size: .24rem;
    }

    .tutordetail .content .underline {
        grid-template-columns: 1fr 2fr;
    }

    .instrumentdetail .content .imggroup img {
        height: auto;
    }
    .instrumentdetail .content .imggroup {
        grid-template-columns: repeat(1, 1fr);
    }


    .instrumentdetail .content .tb td, .tb th {
        white-space: normal; 
    }

    .instrumentdetail .content .imggroup p {
        font-size: .24rem;
    }
}