/**
文档中心 css
 */

* {
    outline: none;
    font-family: 'Microsoft YaHei', Tahoma, Arial, sans-serif;
}

/*750设计图字体适配*/
@media (max-width: 768px) {
    h1 {
        font-size: 0.4533rem;
    }

    h2 {
        font-size: 0.4266rem;
        color: #000000;
    }

    h3 {
        font-size: 0.3466rem;
    }

    p {
        font-size: 0.3733rem;
        max-width: 100%;
    }
}

/*span{*/
/*font-size: 0.2666rem;*/
/*}*/

body {
    background-color: #ffffff;
}

image{
    cursor: pointer;
}


/**
****************************************头部header*************************************
 */
.doc-header {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 60px;
    background-color: #f5f5f5;
    color: #777777;
    font-size: 16px;
    text-align: center;
    border-bottom: 1px solid #e7e7e7;
    /*border-bottom: 1px solid #f8f8f8;*/
}

.doc-header .udc-logo {
    width: 260px;
    height: 60px;
    background: url("../../images/systemDoc/udc_logo.png") no-repeat 50% center;
    background-size: 260px 24px;
}

.doc-header .theme{
     width: 60px;
     height: 60px;
     background: url("../../images/systemDoc/theme-dark.png") no-repeat 50% center;
     background-size: 20px 20px;
     cursor: pointer;
 }

/*.doc-header .udc-logo > img {*/
    /*width: 218px;*/
/*}*/

.doc-header > .header-main {
    display: flex;
    height: 60px;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
}

/*移动端*/
@media (max-width: 992px) {
    /*移动端导航*/
    .doc-tabBar {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #f8f8f8;
        width: 100%;
        border: 1px solid #e7e7e7;
        /*margin-left: 20px;*/
    }
    .doc-tabBar-shadow{
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        content: '';
        background-color: rgba(0,0,0,.4);
        z-index: 100;
    }

    .doc-tabBar > ul {
        display: flex;
        flex-direction: column;
    }

    .doc-tabBar li {
        height: 58px;
        line-height: 60px;
        border-bottom: 1px solid #eeeeee;
        margin: 0 20px;
        cursor: pointer;
    }

    .doc-tabBar li:hover, .doc-tabBar li.active {
        color: #008e8e;
        /*border-bottom: 1px solid #008e8e;*/
    }

    /*移动端头部*/
    .doc-header > .header-main {
        margin: 0 20px;
        justify-content: space-between;
    }

    .tabBar-more {
        display: block;
    }

    .tabBar-more > img {
        width: 32px;
        height: 32px;
    }

}

/*pc端*/
@media (min-width: 992px) {
    .doc-header > .header-main {
        width: 1220px;
    }

    .tabBar-more {
        display: none;
    }

    .doc-tabBar {
        width: 920px;
        margin-left: 20px;
    }

    .doc-tabBar > ul {
        display: flex;
        align-self: flex-start;
    }

    .doc-tabBar li {
        display: inline-block;
        margin: 0 20px;
        height: 58px;
        line-height: 60px;
        border-bottom: 2px solid #f5f5f5;
        cursor: pointer;
    }

    .doc-tabBar li:hover, .doc-tabBar li.active {
        color: #008e8e;
        border-bottom: 2px solid #008e8e;
    }
}

.header > .title-list {
    width: 80%;
    margin: 0 auto;
    white-space: nowrap;
    overflow: auto
}

.header > .title-list > div {
    width: 2rem;
    display: inline-block
}

.header > .title-list > div > h4 {
    display: inline-block;
    font-weight: 400;
    height: 40px
}

.header > .title-list > div.active > h4 {
    font-size: 16px;
    font-weight: 600;
    border-bottom: 2px solid #ffffff;
}

.header > .title-list .small-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
}

.header > .title-list .small-icon > img {
    width: 13px;
    height: 16px;
}

.header.detail {
    text-align: center;
    font-size: 17px;
}

.header.detail img {
    width: 16px;
    height: 16px;
    margin: 14px
}

/**
**************************************详情页********************************
 */

.doc-content {
    font-size: 16px;
    width: 700px;
    margin: 20px 10px;
    /*text-indent: 2em*/
}
.doc-content>h2{
    color: #008e8e;
}

.doc-content table {
    border-collapse: collapse;
    margin: 10px 0
}

.doc-content td {
    padding: 5px;
    border: 1px solid #999;
    font-size: 0.2933rem
}
.doc-content td span{
    font-size:12px;
}

@media (max-width: 992px){
    .doc-content {
        /*font-size: 16px;*/
        width: 9rem;
        margin: 0.5rem;
        /*text-indent: 2em*/
    }

}

/**
****************************************底部footer*************************************
 */
.doc-footer {

    width: 700px;
    height: 50px;
    margin: 20px 180px 0 0;
    text-align: center;
    background-color: #ffffff;
    padding: 20px 20px 0;
    border-top: 1px solid #eeeeee;
    font-size: 14px;
}
@media (max-width: 992px){
    .doc-footer {
        width:100%;
        margin: 0 auto;
        padding: 20px 0 0 0;
        font-size: 0.25rem;
    }

}

/**
****************************************内容部分*************************************
 */

/*适配方案*/

/*@media (min-width: 768px){*/

/*}*/
@media (max-width: 992px) {
    .main {
        display: flex;
        flex-direction: column;
    }

    .anchor {
        display: none;
    }

    .doc-list {
        width: 100%;
        min-height: 500px;
        /*background-color: #f5f5f5;*/
    }
    .refresh {
        width: 1rem;
        height: 1rem;
        margin: 20px auto;
        font-size: 0.2rem;
    }
    .empty{
        display: none;
        width: 2rem;
        margin:4rem auto;
        text-align: center;
        font-size: 0.2rem;
        color: #f5f5f5;
    }
    .empty.ng-scope{
        display: block;
    }
}
/*PC*/
@media (min-width: 992px) {
    .main {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        width: 1220px;
        margin: 100px auto 0;
    }

    .doc-list {
        width: 920px;
        min-height: 500px;
        /*background-color: #f5f5f5;*/
    }

    /*锚点*/
    .anchor {
        position: fixed;
        top: 80px;
        width: 180px;
        min-height: 30px;
        /*background-color: #f5f5f5;*/
        border-left: 2px solid #008e8e;
        background-color: #ffffff;
    }

    .anchor li {
        padding: 5px;
        color: #777;
        cursor: pointer;
        font-size: 12px;
    }

    .anchor li:hover {
        background-color: #eeeeee;
        color: #008e8e;
    }

    .anchor li.active {
        color: #008e8e;
    }

    .refresh {
        width: 30px;
        height: 30px;
        margin: 30px auto;
    }

    .empty{
        width: 64px;
        margin: 150px auto;
        text-align: center;
        font-size: 12px;
        color: #f5f5f5;
    }

}

/**
****************************************左侧目录*************************************
 */

.doc-ul {
    display: none;
}

.doc-ul a {
    padding-left: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.doc-ul a.active {
    background: #008e8e;
    color: #ffffff;
    font-weight: 600;
}
.menu-ul {
    margin: 10px 0;
}

.menu-ul li {
    min-height: 40px;
    color: #f8f8f8;
    font-size: 15px;
}

.menu-ul li > a {
    display: block;
    height: 100%;
    line-height: 40px;
}

.menu-ul li > a:not(.active):hover {
    background-color: #eeeeee;
}

.menu-ul > li > a {
    padding: 0 20px;
    background: url("../../images/systemDoc/right.png") no-repeat 90% 50%;
    background-size: 15px 15px;
}

.menu-ul > li > a.active {
    background: url("../../images/systemDoc/down.png") no-repeat 90% 50%;
    background-size: 15px 15px;
    color: #008e8e;
    font-weight: 600;
}

.menu-ul > li > a.active + .doc-ul {
    display: block;
}

/*移动端*/
@media (max-width: 992px) {
    .menu {
        width: 9rem;
        margin: 70px 0.5rem 0;
        min-height: 2rem;
        background-color: #f5f5f5;
        align-self: flex-start;
        border: 1px solid #eee;
        border-radius: 5px;
        /*border-right: #b5b5b5 solid 2px;*/
    }




    .keyword-search {
        padding: 0.5rem 0;
        margin: 0 0.5rem;
    }

    .keyword-search > input {
        width: 8rem;
        height: 1rem;
        border: 1px solid #008e8e;
        border-radius: 5px;
        text-indent: 1em;
        background: url("../../images/systemDoc/search.png") no-repeat 95% 50%;
        background-size: 16px 16px;
    }

    .keyword-result {
        display: none;
        position: absolute;
        width: 8rem;
        border: 1px solid #008e8e;
    }

    /*避免页面加载时闪动*/
    .ng-dirty + .keyword-result {
        display: block;
    }

    .keyword-result > p {
        padding: 0.2rem;
        font-size: 0.35rem;
        cursor: pointer;
        background-color: #ffffff;
        border-bottom: #eeeeee 1px solid;
    }

    .keyword-result > p:hover {
        color: #008e8e;
    }

    .menu-ul{
        /*border-top: #eeeeee solid 1px;*/
    }

}

/*PC*/
@media (min-width: 992px) {
    .menu {
        width: 260px;
        min-height: 400px;
        background-color: #f5f5f5;
        position: fixed;
        top: 80px;
        align-self: flex-start;
    }

    .keyword-search {
        padding: 20px 0;
        margin: 0 20px;
        border-bottom: #eeeeee solid 1px;
    }

    .keyword-search > input {
        width: 220px;
        height: 30px;
        border: 1px solid #008e8e;
        border-radius: 5px;
        text-indent: 1em;
        background: url("../../images/systemDoc/search.png") no-repeat 95% 50%;
        background-size: 16px 16px;
    }

    .keyword-result {
        display: none;
        position: absolute;
        width: 220px;
        border: 1px solid #008e8e;
    }

    /*避免页面加载时闪动*/
    .ng-dirty + .keyword-result {
        display: block;
    }

    .keyword-result > p {
        padding: 10px;
        font-size: 16px;
        cursor: pointer;
        background-color: #ffffff;
        border-bottom: #eeeeee 1px solid;
    }

    .keyword-result > p:hover {
        color: #008e8e;
    }
}