﻿.we-knows-area {
    padding-top: 21px;
    padding-bottom: 21px;
    border-top: 1px solid #e3e5e7;
    color: #333333;
    font-size: 15px;
    z-index: 11;
}

/*nav*/
#apiTitle li {
    color: #333333;
    padding: 10px 0;
    cursor: default;
    position: relative;
}

    #apiTitle li:hover {
        color: #007BFF;
    }

    #apiTitle li li {
        color: #333333;
        cursor: pointer;
        position: relative;
    }

        #apiTitle li li:hover {
            color: #808080;
        }

    #apiTitle li ul {
        margin-left: 5px;
    }

#apiTitle .li-checked {
    color: #007bff;
}

    #apiTitle .li-checked:hover {
        color: #007bff;
    }

#apiTitle li ul li ul {
    animation: ulform 0.5s ease-in-out forwards;
    transform-origin: top;
    overflow: hidden;
}

@keyframes ulform {
    0% {
        transform: scaleY(0);
    }

    100% {
        transform: scaleY(1);
    }
}

#apiTitle li ul li ul li {
    padding: 10px 0px 5px 0;
}

#apiTitle .ulhide {
    display: none;
}

#apiTitle li .fa {
    position: absolute;
    top: 15px;
    right: 0px;
    display: none;
}


/*ul*/
#directory {
    height: 100%;
    overflow-y: auto;
    border-right: 1px solid #f1f2f3;
    padding-right: 10px;
}

    #directory::-webkit-scrollbar {
        width: 0px; /* 滚动条的宽度 */
    }

    #apiContent::-webkit-scrollbar, #directory:hover::-webkit-scrollbar, .w-e-text-container .w-e-scroll::-webkit-scrollbar {
        width: 6px; /* 滚动条的宽度 */
    }

    #apiContent::-webkit-scrollbar-track, #directory::-webkit-scrollbar-track, .w-e-text-container .w-e-scroll::-webkit-scrollbar-track {
        background: transparent; /* 滚动条的背景色 */
        border-radius: 15px; /* 滚动条滑块的圆角 */
    }

    #apiContent::-webkit-scrollbar-thumb, #directory::-webkit-scrollbar-thumb, .w-e-text-container .w-e-scroll::-webkit-scrollbar-thumb {
        background: #e7e7e7; /* 滚动条的滑块颜色 */
        border-radius: 15px /* 滚动条滑块的圆角 */
    }

        #apiContent::-webkit-scrollbar-thumb:hover, #directory::-webkit-scrollbar-thumb:hover, .w-e-text-container .w-e-scroll::-webkit-scrollbar-thumb:hover {
            background: #cccccc; /* 鼠标悬停在滚动条滑块上的颜色 */
        }




#apiContent p {
    word-break: break-all;
    font-size: 13px;
    margin: 10px 0;
    line-height: 1.8;
}

.api-warning-tip {
    color: #fa5151;
}

#apiContent h1, #apiContent h2, #apiContent h3, #apiContent h4, #apiContent h5, #apiContent h6, #apiContent h7 {
    margin: 20px 0 15px;
    font-weight: 700;
    color: #333333;
    display: block;
}

#apiContent h7 {
    margin: 10px 0;
}

#apiContent span {
    display: inline;
}

#apiContent .table-wrp {
    width: 100%;
}

    #apiContent .table-wrp table {
        display: table;
        width: 100%;
        border-collapse: collapse;
        border-spacing: 0;
        overflow: auto;
    }

        #apiContent .table-wrp table thead tr {
            border-bottom: 2px solid #cccccc;
        }

        #apiContent .table-wrp table tbody tr {
            border-bottom: 1px solid #e7e7e7;
        }

        #apiContent .table-wrp table th {
            padding: 10px 20px;
        }

        #apiContent .table-wrp table td {
            padding: 15px 20px;
        }

/*.table-wrp table th:first-child, .table-wrp table td:first-child {
                padding-left: 0;
            }

            .table-wrp table th:last-child, .table-wrp table td:last-child {
                padding-right: 0;
            }*/

#apiContent pre {
    background-color: #f9f9fa;
    padding: 30px;
    margin: 1em 0;
    border-radius: 4px;
}

#apiContent .btn.focus, .btn:focus {
    box-shadow: initial;
}

#apiTitle {
    height: calc(100% - 44px);
    position: relative;
    padding-right: 0;
    word-break: break-all;
}

    #apiTitle .fade-top {
        position: absolute;
        width: 100%;
        height: 20px;
        top: 0;
        left: 0;
        background: linear-gradient(#ffffff, transparent);
        z-index: 1;
        pointer-events: none;
    }

    #apiTitle .fade-bottom {
        position: absolute;
        width: 100%;
        height: 20px;
        bottom: 0;
        left: 0;
        background: linear-gradient(transparent, #ffffff);
        z-index: 1;
        pointer-events: none;
    }

@media(max-width:576px) {
    #apiTitle {
        display: none;
        position: fixed;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        background-color: #ffffff;
        height: 50%;
        width: 40%;
        overflow: auto;
        z-index: 1100;
        border: 1px solid #e5e6e7;
        border-radius: 5px;
        box-shadow: 0 0 5px #cccccc;
        padding-right: 15px;
    }
}

#apiContent {
    padding-left: 10px;
    display: none;
}

#apiTitle-span {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #007bff;
    padding: 10px 2px;
    z-index: 1101;
    border-radius: 0 10px 10px 0;
    display: none;
}

.apiTitle-span-hidden {
    left: 40% !important;
}

.show {
    display: block !important;
}


#apiContent .copy_a, #apiEditor .copy_a {
    position: relative;
    display: inline;
    word-break: break-all;
}

    #apiContent .copy_a::after, #apiEditor .copy_a::after {
        content: "\f0c5";
        font: normal normal normal 14px/1 FontAwesome;
        transition: opacity 0.3s ease-in-out;
        padding-left: 5px;
        opacity: 0;
    }

    #apiContent .copy_a:hover::after, #apiEditor .copy_a:hover::after {
        opacity: 1;
    }

@media(max-width:576px) {
    #input-Address, #input-CourseId, #input-Secret {
        min-width: 100%;
    }
}

.api_search_div {
    position: relative;
    padding: 5px 0;
    max-width: 100%;
}

.api_search_span {
    position: absolute;
    top: 50%;
    left: 6px;
    transform: translateY(-50%);
    color: #9499a0;
    cursor: pointer;
}

    .api_search_span:hover {
        color: #5a5c5d;
        transition: 0.2s;
    }

.api_search_input {
    height: 34px;
    max-width: 95%;
    padding-left: 32px;
    padding-right: 8px;
    border: none;
    border-bottom: 1px solid #e3e5e7;
    font-size: 13px;
}

    .api_search_input:focus {
        border-bottom: 1px solid #007bff;
    }

@media(max-width:576px) {
    .api_search_div {
        padding: 0 20px;
    }

    .api_search_span {
        left: initial;
    }

    .api_search_input {
        height: 38px;
        width: 100%;
        max-width: initial;
    }

    #apiTitle {
        padding: 0 15px;
    }

    #directory {
        border-right: none;
        padding-right: 0;
    }

    #apiTitle li {
        padding-right: 0;
    }
}

.null_div {
    text-align: center;
    padding-top: 20px;
}

    .null_div img {
        max-height: 180px;
    }

    .null_div .null_span {
        font-size: 14px;
        color: #888888;
        padding-top: 12px;
    }

#apiContent span.em {
    color: #ff6666;
}

#apiContent td {
    border: 1px solid #ccc;
    line-height: 1.5;
    min-width: 30px;
    padding: 3px 5px;
    text-align: left;
}


@media(min-width:1350px) {
    .max_container {
        width: 1320px;
    }
}

.api-wrap {
    height: calc(100vh - 195px)
}

    .api-wrap .left-space, .api-wrap .right-space {
        height: 100%;
    }

#apiContent, #apiEditor {
    height: 100%;
    overflow-y: auto;
}

@media(max-width: 576px) {
    .api-wrap {
        height: initial;
    }
}