@import url('bootstrap/bootstrap.css');
@import url('base.css');
@import url('base_mobile.css');
@import url('theme.css');

.wy-menu.wy-menu-vertical {
    width: 234px;
}

.wy-menu-vertical li.toctree-l2 span.toctree-expand {
    display: none;
}

.affix {
    position: initial !important;
}

*::-webkit-input-placeholder {
    font-family:HYQiHei-EZS;
    font-size:14px;
    color:rgba(0,0,0,0.20);
    line-height:20px;
    text-align:left;
}
*:-moz-placeholder {
    /* FF 4-18 */
    font-family:HYQiHei-EZS;
    font-size:14px;
    color:rgba(0,0,0,0.20);
    line-height:20px;
    text-align:left;
}
*::-moz-placeholder {
    /* FF 19+ */
    font-family:HYQiHei-EZS;
    font-size:14px;
    color:rgba(0,0,0,0.20);
    line-height:20px;
    text-align:left;
}
*:-ms-input-placeholder {
    /* IE 10+ */
    font-family:HYQiHei-EZS;
    font-size:14px;
    color:rgba(0,0,0,0.20);
    line-height:20px;
    text-align:left;
}

a {
    text-decoration: none !important;
}


/* remove advise */

.rst-pro {
    display: none !important;
}


/* top */


/* mobile top */

.wy-nav-top {
    height: 50px;
    padding: 0px;
    background: #ffffff;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.12);
}

.wy-nav-top i {
    margin-top: 16px;
    margin-left: 20px;
    font-size: 17px;
    color: #c93f47;
}


/* pc top */

.top-nav {
    width: 100%;
    height: 60px;
    background-color: white;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.12);
}

.top-nav-left {
    float: left;
    width: 126px;
    height: 22px;
    margin-left: 30px;
    margin-top: 20px;
}

.top-nav-logo {
    width: 100%;
    height: 100%;
    background-image: url('../img/logo.png');
}

.top-nav-right {
    float: right;
}

.top-nav-item {
    float: left;
    font-size: 16px;
    line-height: 60px;
    margin-right: 30px;
    color: rgba(0, 0, 0, 0.54);
}

.top-nav-try {
    float: left;
    width: 98px;
    height: 38px;
    margin-top: 11px;
    margin-right: 30px;
    border: 1px solid #f2638a;
    font-size: 16px;
    line-height: 38px;
    text-align: center;
    color: #f2638a;
}

/* side nav */

.wy-nav-side {
    position: absolute;
    margin-top: 8px;
    margin-left: 52px;
    background-color: white;
}

.topLevel {
    height: 30px;
    width: auto;
    line-height: 30px;
    position: relative;
}

.topLevel .toctree-l1 a {
    margin-left: -14px;
    font-family: HYQiHei-EZS;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.54);
    letter-spacing: 0px;
    text-align: center;
}

.topLevel .toctree-l1 {
    padding-bottom: 9px;
    overflow: hidden;
}

.topLevel .toctree-l1 .current {
    color: #c93f47;
    padding-bottom: 7px;
    border-bottom: solid 2px #c93f47;
}

.topLevel .toctree-l1:nth-child(1) {
    float: left;
    margin-left: 0px;
}

.topLevel .toctree-l1:nth-child(2) {
    text-align: center;
    position: absolute;
    left: 50%;
    top: 0px;
    transform: translateX(-50%);
}

.topLevel .toctree-l1:nth-child(3) {
    float: right;
    margin-right: 0px;
}

.wy-side-scroll {
    width: 234px;
}

.wy-grid-for-nav {
    padding-top: 18px;
    padding-left: 48px;
    padding-right: 56px;
}

.wy-body-for-nav {
    background: white;
}

.wy-nav-content-wrap {
    background-color: white;
}

.wy-nav-content {
    background: white;
    padding: 0 0 0 90px;
    max-width: none;
    margin: auto;
}

.m-topLevel {
    display: none;
}

.wy-menu.wy-menu-vertical li.toctree-l1 {
    display: none;
}

.wy-menu.wy-menu-vertical li.toctree-l1.current {
    display: block;
}

.document .section h2 a {
    display: none;
}

.document .section h2 img {
    display: none;
}

.document .section div[class^=highlight] {
    border: none;
}

#m-header, #m-footer {
    display: none;
}

section h2 {
    margin-bottom: 14px;
}

@media screen and (max-width: 768px) {
    .top-nav {
        display: none !important;
    }
    .m-topLevel {
        display: block;
    }
    .topLevel .toctree-l1:nth-child(1) {
        margin-left: 74px;
    }
    .topLevel .toctree-l1:nth-child(3) {
        float: right;
        margin-right: 74px;
    }
    .wy-nav-side {
        position: absolute;
        margin-top: 0px;
        margin-left: 0px;
    }
    .wy-grid-for-nav {
        padding: 0px !important;
    }

    .document .section > ul {
        padding-left: 45px;
        padding-right: 45px;
    }

    .document .section > ol {
        padding-left: 45px;
        padding-right: 45px;
    }

    .document .section h2 {
        line-height: 50px;
        background-image:linear-gradient(-180deg, #fbfbfb 0%, #faf9f9 100%);
        height:50px;
        padding-left: 33px;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }
    .document .section h3 {
        padding-left: 45px;
    }
    .document .section h4 {
        padding-left: 45px;
    }
    .document .section > p {
        padding-left: 45px;
        padding-right: 45px;
    }
    .document .section pre {
        margin-left: 45px;
        margin-right: 45px;
    }

    .document .section h2 > a {
        display: none !important;
    }

    .document .section h3 > a {
        display: none !important;
    }

    .document .section h4 > a {
        display: none !important;
    }

    .document .section h2 img {
        display: inline-block;
        float: right;
        margin-right: 22px;
        margin-top: 25px;
        transform: translateY(-50%);
    }

    .document .section.closed h2 {
        display: block;
    }

    .document .section.closed img {
        display: inline-block;
        transform: rotateZ(-90deg);
    }

    .document .section.closed * {
        display: none;
    }

}
