.content {
    flex: 1;
}

.head-nav {
    background: #F5F7FA;
    padding: 25px 0;
    margin-bottom: 20px;
}

/*  */
.all-experiment {
    border-bottom: 1px solid #D6DBE4;
    margin-bottom: 20px;
    padding: 10px 0;
}

.label-span {
    background: #fff;
    padding: 4px 30px 4px 12px;
    line-height: normal;
    margin-right: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #1368FF;
    position: relative;
}

    .label-span::after {
        content: url(../img/close.png);
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
        cursor: pointer;
    }

.shiyan-kecheng {
    font-size: 14px;
    color: #6B6E76;
}

    .shiyan-kecheng span {
        color: #E60012;
        font-weight: 700;
        margin: 0 10px;
    }

/*  */
.experiment-name {
    font-size: 14px;
    color: #000827;
    margin-right: 10px;
    height: 31px;
    line-height: 31px;
}

.experiment-search {
    background: #FFFFFF;
    border: 1px solid #E6E6F0;
    border-radius: 4px;
}

    .experiment-search input {
        border: 0 none;
        outline: 0 none;
    }

.experiment-input {
    padding: 8px 15px;
}

.experiment-search .btn {
    background: #1368FF;
    border-radius: 0px 4px 4px 0px;
    color: #fff;
}

    .experiment-search .btn i {
        padding-right: 0;
    }

.experiment-category {
    flex: 1;
    font-size: 14px;
    color: #6B6E76;
    overflow: hidden;
}

    .experiment-category > div {
        padding: 5px 9px;
        cursor: pointer;
        margin-right: 20px;
        margin-bottom: 5px;
        display: inline-block;
    }

        .experiment-category > div:hover {
            background: #1368FF1A;
            border-radius: 4px;
            color: #1368FF;
        }

    .experiment-category .active {
        background: #1368FF1A;
        border-radius: 4px;
        color: #1368FF;
    }

.experiment-nav > div {
    margin-bottom: 10px;
}

.experiment-btn {
    font-size: 14px;
    color: #1368FF;
    position: relative;
    padding: 0 10px;
    height: 31px;
}

    .experiment-btn::after {
        content: "";
        display: block;
        width: 1px;
        height: 10px;
        background: #E4EAEF;
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
    }

    .experiment-btn i {
        font-size: 14px !important;
        margin-left: 5px;
        transition: all .4s ease;
        transform-origin: 35%;
    }

.experiment-body::after {
    content: "";
    display: block;
    height: 0;
    clear: both;
}

.experiment-body > div {
    width: 24%;
    float: left;
    background: #FFFFFF;
    box-shadow: 0px 2px 12px 0px rgba(146, 155, 181, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}

.experiment-detail img {
    width: 100%;
    height: 172px;
    object-fit: cover;
}

.experiment-text {
    padding: 16px 18px;
}

    .experiment-text a {
        height: 48px;
        font-size: 16px;
        font-weight: 400;
        color: #6B6E76;
        margin-bottom: 11px;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        display: -webkit-box;
    }

        .experiment-text a:hover {
            color: #0357C9;
        }

.experiment-school {
    font-size: 12px;
    color: #1368FF;
}

.experiment-number {
    font-size: 12px;
    color: #959595;
}

.experiment-detail {
    position: relative;
}

    .experiment-detail > a {
        display: block;
        overflow: hidden;
    }

        .experiment-detail > a img {
            transition: all .4s ease;
        }

    .experiment-detail:hover > a img {
        transform: scale(1.2);
    }

    .experiment-detail .experiment-label {
        position: absolute;
        top: 0;
        right: 0;
        color: #000;
        font-size: 12px;
        color: #FFFFFF;
        padding-right: 5px;
    }

.experiment-gyl {
    width: 58px;
    height: 22px;
    background: url(../img/22.png) 0 0 no-repeat;
    background-size: cover;
}

.experiment-syl {
    width: 58px;
    height: 22px;
    background: url(../img/21.png) 0 0 no-repeat;
    background-size: cover;
}

/*  */
.check-box label {
    margin-bottom: 0;
    font-size: 14px;
    color: #6B6E76;
}

.check-box > div {
    margin-right: 20px;
    min-width: 70px;
}

.check-box input,
.check-box label {
    cursor: pointer;
}

/*  */
.skip > * {
    margin: 0 5px;
    color: #333;
}

.skip input,
.skip button {
    outline: 0 none;
    border: 1px solid #D6D6D6;
    background: transparent;
    padding: 0 0.2rem;
    height: 31.6px;
}

.skip button {
    transition: all .3s ease;
}

    .skip button:hover {
        background: #1368FF;
        color: #fff;
        border: 1px solid #1368FF;
    }

/* 去掉input自带加减符 */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

input[type="number"] {
    -moz-appearance: textfield;
    width: 31.6px;
    height: 31.6px;
    text-align: center;
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
}

    input[type="number"]:focus {
        border: 1px solid #89c8ff;
    }

.pagination {
    flex-wrap: nowrap;
}

    .pagination > li {
        transition: all .3s ease;
        border: 1px solid #D6D6D6;
        border-radius: 0;
        width: 30px;
        height: 30px;
        min-width: 30px;
        margin-right: 0.5rem;
    }

        .pagination > li:hover,
        .pagination > li.active {
            background: #1368FF;
            color: #fff;
            cursor: default;
            border-color: #1368FF;
        }

            .pagination > li:hover a,
            .pagination > li.active a {
                color: #fff;
            }

nav .pagination li a {
    font-size: 14px;
    line-height: 30px;
    color: #333;
    display: flex;
    justify-content: center;
    align-content: center;
}

nav .skip {
    font-size: 14px;
}

nav {
    padding: 30px 0;
}

    nav > * {
        margin-bottom: 5px;
    }

/* 768以上 */
@media screen and (min-width:769px) {
    .experiment-body > div:not(:nth-child(4n)) {
        margin-right: calc(4% / 3);
    }
}

/* 600到768 */
@media screen and (max-width:768px) and (min-width:601px) {
    .experiment-body > div:not(:nth-child(3n)) {
        margin-right: calc(4% / 2);
    }
}

/* 380到600 */
@media screen and (max-width:600px) and (min-width:381px) {
    .experiment-body > div:not(:nth-child(2n)) {
        margin-right: 4%;
    }
}


@media screen and (max-width:1023px) {
    .experiment-center > div {
        width: 100%;
    }

    .experiment-category > div {
        margin-right: 5px;
    }
}

@media screen and (max-width:768px) {
    .experiment-body > div {
        width: 32%;
    }

    .experiment-list .experiment-name {
        width: 100%;
    }

    .experiment-nav > div {
        margin-bottom: 0;
    }
}

@media screen and (max-width:600px) {
    .experiment-body > div {
        width: 48%;
    }

        .experiment-body > div:not(:nth-child(2n)) {
            margin-right: 4%;
        }
}

@media screen and (max-width:420px) {
    .experiment-detail {
        flex-wrap: wrap;
    }
}

@media screen and (max-width:380px) {
    .experiment-body > div {
        width: 100%;
    }
}

