﻿/*通用样式*/

.min-box {
    width: 97.5%;
    max-width: 1170px;
    margin: 0 auto;
    position: relative;
}

.table-box {
    width: 100%;
    display: table;
}

.table-cell {
    display: table-cell;
    vertical-align: middle;
}

.md-visible,
.sm-visible,
.xs-visible {
    display: none !important;
}

.lg-visible {
    display: block !important;
}

.center-block {
    margin: 20px auto;
}


/* 顶部 */

.index-header .top .school-name {
    display: none;
}


/*banner*/

.banner {
    background: url('../../images/topics/common/banner_bg_pc.jpg') center 0 no-repeat;
}

.banner-content {
    position: relative;
    height: 144px;
}

.banner .logo {
    display: block;
    position: absolute;
    top: 20%;
    left: 1%;
}


/*导航*/

.index-nav {
    background-color: #00a1d9;
}

.index-nav ul {
    height: 50px;
    padding: 0 20px;
}

.index-nav li {
    display: inline-block;
    padding: 0 12px 0 10px;
    background: url('../../images/topics/common/nav_split.jpg') right center no-repeat;
}

.index-nav li:last-child {
    background: none;
}

.index-nav li a {
    display: block;
    width: 100%;
    line-height: 50px;
    padding: 0 10px;
    color: #fff;
    font-family: 微软雅黑;
    font-size: 1.28em;
    outline: none;
    text-decoration: none;
}

.index-nav li:hover a,
.index-nav li.selected a {
    background-color: #ff787a;
}


/* 二级目录 */

.page-nav {
    display: none;
}


/*footer*/

.index-footer {
    background-color: #014578;
    text-align: center;
    padding: 20px;
    white-space:nowrap;
    color: #a1bcd0 !important;
}

.index-footer span {
    display: inline-block;
    font-family: '微软雅黑';
    font-size: 1.1428em;
    color: #a1bcd0 !important;
    line-height: 38px;
}
.index-footer a,
.index-footer a.Ajiang{
    color: #a1bcd0 !important;
    outline: none;
    text-decoration: none;
}
.index-footer .visits img{
    display: none;
}
.index-footer span.split {
    color: #4d4d4d;
}

.index-footer span.code {
    position: relative;
    width: 38px;
    height: 38px;
    background: url(../../images/common/code_ico.jpg) center no-repeat;
}

.index-footer span.code img {
    position: absolute;
    bottom: 45px;
    left: 50%;
    margin-left: -123px;
    display: none;
    z-index:99999;
}

.index-footer span.code:hover img {
    position: absolute;
    bottom: 45px;
    left: 50%;
    margin-left: -123px;
    display: block;
    animation: slideDown 1s ease;
}


/* 页面通用 */

.frame-header {
    border-bottom: 1px solid #d8d9d9;
}

.frame-content {
    padding: 20px 20px 60px 20px;
}

.frame-content p {
    font-family: 宋体;
    font-size: 1em;
    color: #0e0e0e;
    line-height: 25px;
}

.frame-content .row {
    margin: 20px auto;
}


/* 面包削导航 */

.frame-path {
    margin: 5px auto;
    padding: 10px 20px;
}

.frame-path a {
    font-family: 微软雅黑;
    font-size: 1.28em;
    color: #333333;
    line-height: 25px;
}

.frame-path .parent.home {
    margin-left: 5px;
    padding-left: 25px;
    background: url('../../images/topics/common/path_home.jpg') 0 center no-repeat;
}

.frame-path .now {
    color: #777777;
    margin-left: 5px;
    padding-left: 15px;
    background: url('../../images/topics/common/path_split.jpg') 0 center no-repeat;
}


/* 目录树 */

.columnLeft {
    float: left;
    display: inline-block;
    width: 300px;
    background: url('../../images/topics/common/frame_sidebar_bgM.jpg') 0 0 repeat-y;
}

.sidebar-bg {
    background: url('../../images/topics/common/frame_sidebar_bgB2.jpg') 0 bottom no-repeat;
}

.frame-sidebar {
    background: url('../../images/topics/common/frame_sidebar_bgT.jpg') 0 0 no-repeat;
    padding: 15px 10px 227px;
}

.frame-sidebar .sidebar-name {
    display: block;
    font-family: 黑体;
    font-size: 1.71em;
    color: #fff;
    text-align: center;
    padding-bottom: 35px;
    text-shadow: 1px 1px 1px #0ca8c6;
}

.frame-sidebar .tree-one {
    width: 90%;
    margin: 0 auto;
}

.frame-sidebar .tree-one>li>a {
    display: block;
    height: 48px;
    line-height: 48px;
    font-family: "微软雅黑";
    font-size: 1.14em;
    text-align: center;
    color: #333333;
    border: 1px solid #fff;
    text-decoration: none;
    outline: none;
    cursor: pointer;
}

.frame-sidebar .tree-one>li:hover>a,
.frame-sidebar .tree-one>li.active>a {
    color: #ff787a;
    border: 1px solid #ff787a;
}

.frame-sidebar .tree-two {
    display: none;
}

.frame-sidebar li.active .tree-two,
.frame-sidebar li:hover .tree-two {
    display: block;
}

.frame-sidebar .tree-two>li>a {
    display: block;
    background-color: #f1fbff;
    border-bottom: 1px solid #fff;
    height: 39px;
    line-height: 39px;
    text-align: center;
    color: #333333;
    text-decoration: none;
    outline: none;
    cursor: pointer;
}

.frame-sidebar .tree-two>li:hover>a,
.frame-sidebar .tree-two>li.active>a {
    background-color: #d4f3ff;
    color: #00a1d9;
}


/* 页面内容 */

.columnRight {
    display: inline-block;
    float: right;
    width: 840px;
}

.page-content {
    border: 1px solid #a3a3a3;
    background-color: white;
    min-height: 600px;
    margin-left: 30px;
    padding: 10px;
}


/* 分页 */

.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

.pagination > li {
    display: inline-block;
    margin: 3px;
}

.pagination > li > a,
.pagination > li > span {
    position: relative;
    padding: 0;
    float: left;
    display: inline-block;
    width: 32px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    color: #428bca;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #5db2f1;
    border-radius: 3px;
    outline: none;
}

.pagination > li:first-child > a,
.pagination > li:first-child > span {
    margin-left: 0;
}

.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
    color: #2a6496;
    background-color: #eee;
    border-color: #ddd;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    z-index: 2;
    color: #fff;
    cursor: default;
    background-color: #fa7e1a;
    border-color: #e16400;
}

.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
    color: #999;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #d2d2d2;
}

.pagination-lg > li > a,
.pagination-lg > li > span {
    padding: 10px 16px;
    font-size: 1.28em;
}

.pagination-lg > li:first-child > a,
.pagination-lg > li:first-child > span {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.pagination-lg > li:last-child > a,
.pagination-lg > li:last-child > span {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.pagination-sm > li > a,
.pagination-sm > li > span {
    padding: 5px 10px;
    font-size: 0.85em;
}

.pagination-sm > li:first-child > a,
.pagination-sm > li:first-child > span {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.pagination-sm > li:last-child > a,
.pagination-sm > li:last-child > span {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.pager {
    padding-left: 0;
    margin: 20px 0;
    text-align: center;
    list-style: none;
}

.pager li {
    display: inline;
}

.pager li > a,
.pager li > span {
    display: inline-block;
    /* padding: 5px 14px; */
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 15px;
}

.pager li > a:hover,
.pager li > a:focus {
    text-decoration: none;
    background-color: #eee;
}

.pager .next > a,
.pager .next > span {
    float: right;
}

.pager .previous > a,
.pager .previous > span {
    float: left;
}

.pager .disabled > a,
.pager .disabled > a:hover,
.pager .disabled > a:focus,
.pager .disabled > span {
    color: #999;
    cursor: not-allowed;
    background-color: #fff;
}


/* 表格 */

.table {
    border-spacing: 0;
}

.table caption {
    background-color: #bfe3ff;
    text-align: center;
    color: #0e0e0e;
    font-weight: bolder;
}

.table td {
    text-align: center;
    color: #014578;
    font-family: 宋体;
    border: 1px solid #8dcdff;
    vertical-align: middle !important;
}

.table th {
    font-weight: bolder;
    color: #014578;
    font-family: 宋体;
    text-align: center;
    border: 1px solid #8dcdff;
}


/*视频*/

.video-wrapper {
    width: 90%;
    padding: 12px 0;
    margin: 20px auto;
}

.video {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.video .jwplayer {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1000;
}

.video .alt {
    padding-top: 56.25%;
}


/* 内容标题 */

.content-title {
    width: 100%;
    padding: 0px 20px 10px;
    display: table;
    text-align: center;
    color: #555555;
    margin: 5px auto 20px;
    border-bottom: 1px dashed #cccccc;
}

.content-title .title {
    display: block;
    text-align: center;
    line-height: 40px;
    font-size: 1.7em;
    color: #0364a8;
    font-family: 微软雅黑;
}

.content-title .info {
    display: block;
    font-family: 宋体;
    text-align: center;
    font-size: 1em;
    color: #555555;
}

.txt-main {
    padding-bottom: 20px;
}

.txt-main p {
    text-indent: 2em;
}


/* 跳转前一篇/后一篇 */

.content-skip {
    margin: 20px auto 0;
    padding: 20px 0;
    border-top: 1px solid #f0f0f0;
}

.content-skip li {
    text-align: left;
}

.content-skip li.next {
    text-align: right;
}

.content-skip li a {
    display: block;
    color: #3e3e3e;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.content-skip li.disabled a {
    color: #3e3e3e !important;
    cursor: default;
    text-decoration: none;
}

.content-skip li a:hover {
    color: #fa7c17;
}


/*PC小屏（col-md-）/992 - 1199*/

@media only screen and (max-width: 1199px) {
    .lg-visible {
        display: none !important;
    }
    .md-visible {
        display: block !important;
    }
    .columnRight {
        width: 640px;
    }
}


/*pad（col-sm-）/768 - 991*/

@media only screen and (max-width: 991px) {
    .md-visible {
        display: none !important;
    }
    .sm-visible {
        display: block !important;
    }
    .index-header .top {
        background-color: #014578;
    }
    .index-header .top .min-box {
        height: 56px;
        text-align: center;
    }
    .index-header .top .school-name {
        line-height: 56px;
        font-size: 1.71em;
        color: #fff;
        display: block;
    }
    /*导航按钮*/
    .index-header .nav-btn {
        width: 32px;
        height: 32px;
        display: block;
        position: absolute;
        top: 50%;
        margin-top: -16px;
        left: 5px;
        z-index: 99999;
        outline: none;
        text-decoration: none;
    }
    .index-header .nav-btn .line {
        width: 100%;
        height: 4px;
        margin: 6px auto;
        background: #fff;
    }
    .index-header .nav-btn.active {
        left: 420px;
    }
    .index-header .nav-btn.active .line2 {
        left: 10px;
        opacity: 0;
        display: none\9;
    }
    .index-header .nav-btn.active .line1 {
        border-radius: 3px;
        -webkit-transform: rotateZ(45deg) translateY(14px);
        -moz-transform: rotateZ(45deg) translateY(14px);
        -ms-transform: rotateZ(45deg) translateY(14px);
        -o-transform: rotateZ(45deg) translateY(14px);
        transform: rotateZ(45deg) translateY(14px);
    }
    .index-header .nav-btn.active .line3 {
        border-radius: 3px;
        -webkit-transform: rotateZ(-45deg) translateY(-14px);
        -moz-transform: rotateZ(-45deg) translateY(-14px);
        -ms-transform: rotateZ(-45deg) translateY(-14px);
        -o-transform: rotateZ(-45deg) translateY(-14px);
        transform: rotateZ(-45deg) translateY(-14px);
    }
    /*导航遮罩*/
    #J_nav_mask {
        position: fixed;
        width: 0;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 99997;
        overflow: hidden;
        background: #000;
        opacity: 0;
        filter: Alpha(opacity=0);
    }
    #J_nav_mask.show {
        width: 100%;
        opacity: 0.5;
        filter: Alpha(opacity=50);
        display: block;
    }
    /*导航区*/
    .index-nav {
        width: 400px;
        height: 100%;
        position: fixed;
        margin: 0;
        left: -400px;
        top: 0;
        z-index: 99999;
        opacity: 0;
        filter: Alpha(opacity=0);
        background-color: #003258;
    }
    .index-nav.show {
        left: 0;
        opacity: 1;
        filter: Alpha(opacity=100);
    }
    .index-nav .min-box {
        width: 100%;
    }
    .index-nav ul {
        width: 100%;
        margin: 0 auto;
        padding: 0;
        height: auto;
    }
    .index-nav li {
        width: 100%;
        float: none;
        padding: 0;
        background: none;
    }
    .index-nav li a {
        font-size: 1.7142em;
        color: #62aae5;
        height: 60px;
        line-height: 60px;
        text-align: left;
        text-indent: 40px;
        background-image: url("../../images/topics/common/nav_ico_un.png");
        background-position: right center;
        background-repeat: no-repeat;
    }
    .index-nav li a:last-child {
        background-image: none !important;
    }
    .index-nav li:hover a,
    .index-nav li.selected a {
        color: #ffffff;
        background-color: #1e72b8;
        background-image: url("../../images/topics/common/nav_ico_on.png");
    }
    .index-nav li ul.page-nav {
        position: relative;
        left: 0;
        padding: 0;
        background: none;
    }
    .index-nav li:hover ul.page-nav,
    .index-nav li.selected ul.page-nav {
        padding: 0;
        height: auto;
        display: block;
    }
    .index-nav li ul li {
        border: none;
        padding: 0;
    }
    .index-nav li ul li a {
        font-size: 1.5em;
        background: #014578 !important;
        line-height: 60px;
        height: 60px;
        text-indent: 40px;
        color: #62aae5 !important;
        text-align: left;
        border-top: 1px solid #0a548b;
        border-bottom: 1px solid #003258;
    }
    .index-nav li ul li:hover a,
    .index-nav li ul li.active a {
        color: #fff !important;
    }
    /* banner */
    .banner {
        background-size: auto 100%;
    }
    .banner-content {
        height: 144px;
    }
    .banner .logo {
        top: 10%;
    }
    .columnLeft {
        display: none;
    }
    .frame-content {
        padding: 20px 0;
    }
    .frame-content .columnRight {
        float: none;
        margin: 0 auto;
        display: block;
        width: 100%;
    }
    .frame-content .columnRight .page-content {
        margin: 0 auto;
    }
    .content-skip li {
        text-align: left;
        margin: 10px 0;
    }
    .content-skip li.next {
        text-align: left;
    }
    /* footer */
    .index-footer .split,
    .index-footer .code {
        display: none;
    }
}


/*手机（col-md-）/640 - 767*/

@media only screen and (max-width: 767px) {
    .sm-visible {
        display: none !important;
    }
    .xs-visible {
        display: block !important;
    }
    .index-header .nav-btn.active {
        left: 320px;
    }
    .index-nav {
        width: 300px;
        left: -300px;
    }
    .banner {
        background-position: center 0;
    }
    .index-footer span.visits {
        display: none;
    }
    .page-content {
    min-height: 200px;
}
.index-footer {
    white-space:inherit;
}
}


/*手机（col-md-）/480 - 639*/

@media only screen and (max-width:639px) {
    .banner {
        background-size: auto 100%;
    }
    .index-nav li a {
        font-size: 1.4em;
        height: 40px;
        line-height: 40px;
    }
    .index-nav li ul li a {
        font-size: 1.3em;
        line-height: 40px;
        height: 40px;
    }
    .index-footer span.visits {
        display: none;
    }
}


/*手机（col-md-）/320 - 479*/

@media only screen and (max-width:479px) {
    .index-header .top .school-name {
        display: none;
    }
    .index-header .nav-btn.active {
        left: 270px;
    }
    .index-nav {
        width: 250px;
        left: -250px;
    }
    .banner {
        height: 144px;
        background-size: auto 100%;
    }
    .banner .logo img {
        width: 200px;
    }
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}
