ul li {
    list-style: none;
}

/**************************************top*********************************/
.top_btn {
    display: flex;
    background-color: white;
    padding-left: 5px;
    padding-right: 5px;
}

    .top_btn a {
        height: 50px;
        line-height: 50px;
        padding-left: 20px;
        padding-right: 20px;
        color: #555;
        font-size: 17px;
        text-decoration: none;
    }

        .top_btn a:hover {
            color: goldenrod;
            text-decoration: none;
            background-color: #f1f1f1;
        }

        .top_btn a.active {
            text-decoration: none;
            border-bottom: 5px solid #ffd31c;
        }

/**************************************title-layout*********************************/
.list_background {
    background-color: white;
    padding-left: 5px;
    padding-right: 5px;
}

.title-item {
    color: #333333;
    margin: 0px 6px 10px 6px;
    padding-top: 10px;
    line-height: normal;
}

    .title-item a {
        font-size: 22px;
        color: #333333;
        text-decoration: none;
    }

        .title-item a:hover {
            color: goldenrod;
            text-decoration: none;
        }
/**************************************list*********************************/

list-item {
    margin-left: 0;
    padding: 0;
}

/*.list-item:nth-child(2n) {
    background-color: #79c9fd;
}
*/

.list-item .item {
    text-align: center;
    padding: 10px;
}

    .list-item .item .title img {
        box-shadow: 4px 4px 6px rgba(0,0,0,0.5);
        width: 100%;
        border-radius: 8px;
    }

        .list-item .item .title img:hover {
            transform: scale(1.05,1.05); /*鼠标悬浮时放大*/
        }

    .list-item .item .new img {
        position: absolute;
        right: 0;
        top: 0;
        width: 20%;
        border-radius: 0;
        box-shadow: 0 0 0 rgba(0,0,0,0);
    }

    .list-item .item p {
        margin-top: 5px;
        padding-top: 8px;
        line-height: 15px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        text-align: left;
    }

@media only screen and (max-width:340px) {
    .list-item .item {
        height: 160px;
    }

        .list-item .item .title img {
            height: 100px;
        }

    .list-item p {
        font-size: 10px;
    }
}

@media only screen and (max-width:768px) and (min-width:340px) {
    .list-item .item {
        height: 200px
    }

        .list-item .item .title img {
            height: 140px;
        }

    .list-item p {
        font-size: 13px;
    }
}

@media only screen and (max-width:1200px) and (min-width:768px) {
    .list-item .item {
        height: 260px
    }

        .list-item .item .title img {
            height: 200px;
        }

    .list-item p {
        font-size: 13px;
    }
}

@media (min-width:1200px) {
    .list-item .item {
        height: 290px;
    }

        .list-item .item .title img {
            height: 230px;
        }

    .list-item p {
        font-size: 15px;
    }
}

/**************************************booknavbar**********************************/
.booknavbar {
    margin: 0;
}

    .booknavbar .nav {
        margin-bottom: 0;
    }

        .booknavbar .nav li {
            width: 100%;
        }

            .booknavbar .nav li:first-child {
                /*background: none;*/
            }

            .booknavbar .nav li:last-child a {
                margin-bottom: 0;
            }

            .booknavbar .nav li a {
                padding: 5px;
                color: gray;
                font-size: 13px;
                border-radius: 5px;
            }

                .booknavbar .nav li a:hover {
                    box-shadow: none;
                    color: goldenrod;
                }

            .booknavbar .nav li.active a, .booknavbar .nav li.active a:hover {
                color: #000;
                background-color: #ffd31b;
            }

@media only screen and (max-width:420px) {
    .booknavbar .nav li {
        padding: 2px 5px 0px 5px;
    }

        .booknavbar .nav li a {
            padding: 5px;
            font-size: 11px;
        }
}

@media only screen and (max-width:821px) and (min-width:420px) {
    .booknavbar .nav li {
        padding: 2px 5px 0px 5px;
    }

        .booknavbar .nav li a {
            padding: 6px;
            font-size: 12px;
        }
}

@media (min-width:821px) {
    .booknavbar .nav li {
        padding: 2px 25px 0px 25px;
    }

        .booknavbar .nav li a {
            padding: 10px 15px 10px 15px;
        }
}

/**************************************booklist*********************************/
.booklist-item {
    margin-left: 0;
    padding: 0;
}

    /*.booklist-item:nth-child(2n) {
        background-color: #79c9fd;
    }*/

    .booklist-item .item {
        text-align: left;
    }

        .booklist-item .item:hover {
            transform: scale(1.05,1.05); /*鼠标悬浮时放大*/
        }

        .booklist-item .item img {
            box-shadow: 4px 4px 6px rgba(0,0,0,0.5);
            width: 100%;
            border-radius: 8px;
        }            

        .booklist-item .item .new img {
            position: absolute;
            right: 0;
            top: 0;
            width: 20%;
            border-radius: 0;
            box-shadow: 0 0 0 rgba(0,0,0,0);
        }

        .booklist-item .item p {
            margin-top: 5px;
            margin-bottom: 25px;
            padding-top: 5px;
            line-height: 15px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

@media only screen and (max-width:340px) {
    .list-item .item img {
        height: 90px;
    }

    .booklist-item p {
        font-size: 10px;
    }
}

@media only screen and (max-width:768px) and (min-width:340px) {

    .booklist-item .item img {
        height: 120px;
    }

    .booklist-item p {
        font-size: 13px;
    }
}

@media only screen and (max-width:1200px) and (min-width:768px) {
    .booklist-item .item img {
        height: 180px;
    }

    .booklist-item p {
        font-size: 13px;
    }
}

@media (min-width:1200px) {

    .booklist-item .item img {
        height: 200px;
    }

    .booklist-item p {
        font-size: 15px;
    }
}

/**************************************dropdown**********************************/
.dropdown_list {
    padding-left: 10px;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #f0f1f3;
}

    .dropdown_list .dropdown {
        display: inline-block;
        margin-top: 5px;
    }

        .dropdown_list .dropdown:hover .dropdown-content {
            display: block;
        }

        .dropdown_list .dropdown .dropbtn {
            display: block;
            padding: 10px;
            margin-right: 2px;
            text-align: center;
            text-decoration: none;
            color: #000;
            font-size: 15px;
            background: #ffffff;
            border: 1px solid lightgray;
            border-radius: 5px;
        }

            .dropdown_list .dropdown .dropbtn:hover {
                color: goldenrod;
                text-decoration: none;
                background-color: #f1f1f1;
            }

            .dropdown_list .dropdown .dropbtn.active {
                background-color: #ffd31b;
            }

        .dropdown_list .dropdown .dropdown-content {
            display: none;
            position: absolute;
            min-width: 150px;
            z-index: 999;
            background: #ffffff;
        }

            .dropdown_list .dropdown .dropdown-content a {
                display: block;
                padding: 8px;
                text-decoration: none;
                color: #000;
                font-size: 14px;
            }

                .dropdown_list .dropdown .dropdown-content a.active {
                    background-color: #ffd31b;
                }

                .dropdown_list .dropdown .dropdown-content a:hover {
                    color: goldenrod;
                    text-decoration: none;
                    background-color: #f1f1f1
                }

/**************************************navbar**********************************/
.mynavbar {
    padding: 25px 5px 25px 5px;
    background-color: #f0f1f3;
}

    .mynavbar .nav {
        margin-bottom: 0;
        left: 30px;
    }

        .mynavbar .nav li {
            float: left;
            margin: 1px;
            margin-left: 5px;
            text-shadow: 0 1px 0 #FFFFFF;
        }

            .mynavbar .nav li:first-child {
                /*background: none;*/
            }

            .mynavbar .nav li:last-child a {
                margin-bottom: 0;
            }

            .mynavbar .nav li a {
                display: block;
                padding: 10px;
                text-decoration: none;
                color: #000;
                font-size: 15px;
                background: #ffffff;
                border: 1px solid lightgray;
                border-radius: 5px;
            }

                .mynavbar .nav li a:hover {
                    color: goldenrod;
                    box-shadow: none;
                    text-decoration: none;
                }

            .mynavbar .nav li.active a, .mynavbar .nav li.active a:hover {
                background: #ffd31c;
                border: 1px solid lightgray;
            }


/* 视频播放 */
.videoitem {
    margin-top: 5px;
    margin-bottom: 30px;
    border-radius: 5px;
    position: relative;
    font-size: 16px;
}

    .videoitem .thumbnail {
        margin: 0;
        padding: 0;
        width: 100%;
        border: none;
    }

        .videoitem .thumbnail img {
            border-radius: 5px;
            width: 100%;
            height: 160px;
        }

    .videoitem .button_play {
        display: none;
    }

    .videoitem:hover .button_play {
        display: block;
        position: absolute;
        left: 50%;
        top: 45%;
        background: url(../images/png24-video.png) no-repeat left 0;
        width: 54px;
        height: 54px;
        margin: -27px 0 0 -27px;
        cursor: pointer;
    }

    .videoitem .line_name {
        padding-left: 1px;
        padding-right: 1px;
    }

        .videoitem .line_name .text_name {
            width: 100%;
            margin-top: 6px;
            color: #000;
            font-size: 15px;
            line-height: 25px;
            text-align: left;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

.video_info {
    font-size: 16px;
}

@media only screen and (max-width:420px) {
    .videoitem .thumbnail img {
        height: 120px;
    }

    .videoitem .line_name .text_name {
        font-size: 13px;
    }
}

@media only screen and (max-width:768px) and (min-width:420px) {
    .videoitem .thumbnail img {
        height: 130px;
    }

    .videoitem .line_name .text_name {
        font-size: 13px;
    }
}

@media only screen and (max-width:992px) and (min-width:768px) {
    .videoitem .thumbnail img {
        height: 180px;
    }

    .videoitem .line_name .text_name {
        font-size: 15px;
    }
}

@media (min-width:1200px) {
    .videoitem .thumbnail img {
        height: 220px;
    }

    .videoitem .line_name .text_name {
        font-size: 15px;
    }
}

/***************************************************************************************/
.input-group {
    display: inline-table;
    vertical-align: middle;
}

    .input-group input-group-addon, .input-group-btn, .form-control {
        width: auto;
    }

/*******************************************account********************************************/
.account_view {
    background: white;
    padding: 40px 50px 80px 50px;
    border-radius: 30px;
}

    .account_view .title {
        width: 100%;
        font-size: 18px;
        text-align: center;
        font-weight: bolder;
        letter-spacing: 6px
    }

    .account_view .text {
        width: 100%;
        margin-top: 10px;
        font-size: 18px;
        text-align: center;
    }

    .account_view .tip {
        min-height: 20px;
        color: red;
    }

    .account_view .control {
        margin-top: 10px;
        display: flex;
        justify-content: center;
    }

        .account_view .control .btn {
            width: 100%;
            margin-top: 20px;
            background-color: #ffd31c;
            letter-spacing: 6px
        }

            .account_view .control .btn:hover {
                background-color: lightgray;
            }
