body {
    /*overflow: hidden;*/
    background-color: #f4f5f8;
}


/* 当前栏目 */
.current_column {
    margin: 0;
    padding: 15px;
    height: 48px;
    line-height: 18px;
    font-size: 16px;
    color: #fff0e8;
    border: 2px solid #f37d08;
    background-image: -webkit-linear-gradient(to right, #f3690c 0%, #f2880d 100%);
    background-image: linear-gradient(to right, #f3690c 0%, #f2880d 100%);
}

/* 第一级菜单*/
a {
    color: #333;
    text-decoration: none;
}

a:hover {
    color: #333;
    text-decoration: none;
}

.leftmenu > ul > .cate_li {
    min-height: 30px;
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.leftmenu > ul > .cate_li .active {
    color: #f4680c;
}

.active > a, .active > p {
    color: #f4680c;
}

.leftmenu > ul > li::marker {

    color: #f4680c;
    font-size: 24px;
}

.leftmenu > ul > li > p {
    margin: 0;
    height: 30px;
    line-height: 30px;
}

.leftmenu > ul > .cate_li > ul {
    margin: 0 0 0 -35px;
    padding: 10px 0 0 35px;
    background-color: #f1f1f1;
    list-style: none;
}

/*  第二级子菜单 */
.leftmenu > ul > .cate_li > ul {
    /* padding-top: 10px; */
}

.leftmenu > ul > .cate_li > ul > li > p {
    padding-right: 15px;
    width: 100%;
    height: 35px;
    line-height: 35px;
    font-size: 1em;
    color: #333;
}

.leftmenu > ul > .cate_li li {
    margin-left: 8px;
    cursor: pointer;
}

.lesson_menu li {
    margin-left: 8px;
    cursor: pointer;
}


.leftmenu > ul > .cate_li > ul > .active > p {
    color: #f4680c;
}

.leftmenu > ul > .cate_li > ul > li > .up {
    background-image: url(../img/up.png);
    background-repeat: no-repeat;
    background-position: 95%;
}

.leftmenu > ul > .cate_li > ul > li > .down {
    background-image: url(../img/down.png);
    background-repeat: no-repeat;
    background-position: 95%;
}


.leftmenu .cate_li ul {
    margin-left: -17px;
    padding-top: 0px;
    padding-left: 17px;
    padding-bottom: 15px;
    background-color: #f2f2f2;
}


.leftmenu > ul > .cate_li ul > li {
    cursor: pointer;
    line-height: 35px;
    list-style: none;
    color: #333;
    font-size: 1.3rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;

}


.leftmenu .cate_li .topic,
.leftmenu .article_li .topic,
.leftmenu .lesson_menu .topic {
    margin: 0;
    padding: 10px 0 10px 14px;
    background-color: #e7e7e7;
    font-size: 13px;
}


.leftmenu .cate_li .topic > li,
.leftmenu .article_li .topic > li,
.leftmenu .lesson_menu .topic > li {

    list-style: none;
    color: #333;
    line-height: 1.8em;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.article_li {
    font-size: 0.9em;
}

.topic > li {
    color: #333;
}

/*end left*/
.container-full {
    padding: 0 15px;
}

.main-body {
    padding: 50px 30px 0;
    overflow-y: scroll;
    background-color: #fff;
    color: #666;
    font-size: 14px;
}

.main-body::-webkit-scrollbar {
    background-color: #fff;
    width: 5px;
}

.main-body::-webkit-scrollbar-thumb {
    background-color: #666;
}

h1 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #f77e08;
    font-size: 22px;
    font-weight: bold;

}

hr {
    margin-bottom: 0;
}

h2 {

    margin-top: 35px;
    color: #333;
    font-size: 18px;
    font-weight: bold;

}

.h1_text, .h2_text {
    color: #666;
    font-size: 16px;
    line-height: 1.5em;
    margin-bottom: 25px;
}

h3 {
    margin-top: 25px;
    color: #f6452d;
    font-size: 14px;
    font-weight: bold;
}

blockquote {
    background: #6a581e;
    color: white;
    font-size: 14px;
    border-left: 0px solid #766314;
    opacity: 0.7;
    border-radius: 5px;
}

.body {
    font-size: 14px;
    line-height: 28px;
    color: #666;
}

.body h4 {
    padding: 10px;
    color: #8f4a4a;
    font-size: 12px;
    background: #f9f6f5;
}

.body h4:before {
    content: "\27A5"
}

.body li {
    line-height: 28px;
}

.body pre {
    font-size: 1em;
}

.body .content a {
    color: #337ab7;
}


.code .btn.run_script {
    display: none;
}

/* 代码区域*/
pre {
    position: relative;
    background-color: #f5f5f5;
    color: #8a6159;
    border: 0;
    border-radius: 0;
    overflow-y: scroll;

}

pre::-webkit-scrollbar {
    background-color: #2d2d2d;
    width: 5px;
}

pre::-webkit-scrollbar-thumb {
    background-color: #666;
}

.pre_collapse {
    min-height: 100px;
    max-height: 350px;
}

pre > code {
    font-size: 1em;
    font-family: Consolas, Monaco, monospace;;
}

.share_icon {
    display: none;
}

pre > .btn {
    position: absolute;
    top: 15px;
    right: 15px;
    display: none;
}

pre:hover > .btn,
pre:hover > .run_script {
    display: block;
}

.code_area {
    margin-bottom: 10px;
}

.code_area > .control {
    margin-top: -8px;
    margin-bottom: 15px;
    height: 42px;
    background-color: #e2e2e2;
}

.code_area > .control > .btn {
    height: 42px;
    background-color: #e2e2e2;
}

.code_area > .control > .run_script > span, .code_area > .control > .play-btn > span {
    color: green;
}

/* end代码区域 */

#runcode_win {
    border: 1px solid #eee;
}

.body > hr {
    border-top: 10px solid #fbeeee;
}

@media (min-width: 1024px) {
    .leftmenu {
        font-weight: bold;
    }

    .current_column {
        font-weight: bold;
    }

    .leftmenu > ul > .cate_li > ul > li > p {
        font-weight: bold;
    }

    h1 {
        font-weight: bold;
    }

    h2 {
        font-weight: bold;
    }
}

/*exercise-page-nav*/
.main-body .exercise-page-nav a {
    color: #666;
    border: 1px solid #000;
}

.main-body .exercise-title {
    margin-top: 5px;
    padding: 15px;
    background: #ececec;
    border-radius: 5px;
    font-size: 1.6em;
    color: #000;
}

.main-body .tab-content h3 {
    color: #000;
    font-size: 1.6rem;
}

.main-body .active p {
    color: #000;
}

.main-body .tab-content blockquote {
    background: #e1e1e1;

}

.main-body ._exercise_left_menu {
    position: absolute;
    left: -500px;
    width: 400px;
    height: 100%;
    background: #fff;
    z-index: 10000;
    transition: left 1s ease;
}

.main-body ._exercise_left_menu.show {
    left: 0px;
}

#helperModal .modal-dialog {
    top: 0;
    width: 100%;
    height: 100%;
}

#helperModal #helper_win {
    margin-top: -30px;
    width: 100%;
    height: 100%;
    border: 0;
}

#helperModal .modal-content {
    padding: 0 20rem;
    width: 100%;
    height: 100%;
}

#helperModal .modal-content .modal-header {
    border: 0;
    background: #343641;
}