﻿@font-face {
    font-family: 'DaysOne-Regular';
    src: url('../eot/daysone-regular.eot');
    src: local('☺'), url('../woff/daysone-regular.woff') format('woff'), url('../ttf/daysone-regular.ttf') format('truetype'), url('../svg/daysone-regular.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: Verdana, Tahoma, arial, sans-serif;
    min-width: 960px;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #636974;
}

    a:hover {
        color: #ff9e1b;
    }

ul li {
    list-style: none;
}

#page {
    max-width: 960px;
    margin: 0 auto;
    padding: 156px 0 0;
}

#header {
    width: 100%;
    min-width: 960px;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #003d53;
    border-bottom: 5px solid #c3c3c3;
}

    #header .background {
        height: 150px;
    }

#logo {
    font-size: 40px;
    line-height: 120px;
    width: 960px;
    margin: 0 auto 10px auto;
    position: relative;
}

    #logo a {
        color: #fafafa;
        text-decoration: none;
    }

    #logo span:first-child {
        -webkit-text-stroke: 1px #5b9bd5;
    }

#csae {
    color: #fafafa;
    font-size: 14px;
    position: absolute;
    top: 47px;
    left: 0px;
}

#topmenu {
    background-color: #ff9e1b;
    font-size: 14px;
    position: absolute;
    top: -4px;
    right: 0px;
    height: 18px;
    line-height: 18px;
    padding: 10px;
    font-weight: bold;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

    #topmenu a {
        color: #fafafa;
    }


#navigation {
    background-color: #ff9e1b;
    height: 49px;
    width: auto; /* 自动适应内容宽度 */
    max-width: 100%; /* 防止超出屏幕 */
    margin: 0 auto;
    position: relative;
    top: 0;
    display: block; /* 桌面端正常显示 */
    justify-content: center; /* 居中对齐 */
    align-items: center;
    padding: 0 1px;
}

    #navigation ul {
        display: flex; /* 让菜单项均匀分布 */
        justify-content: space-around; /* 让菜单项之间有间距 */
        list-style: none;
        margin: 0;
        padding: 0px 0px;
    }
        #navigation ul li {
            display: inline-block; /* 让菜单项横向排列 */
            white-space: nowrap; /* 防止文字换行 */
            /* padding: 10px 15px;  适当调整间距 */
        }

        #navigation li ul {
            display: none; /* 默认隐藏下拉菜单 */
            position: absolute; /* 绝对定位，相对于父项 */
            background-color: #ff9e1b; /* 可以根据需要调整背景色 */
            min-width: 100px; /* 设置最小宽度 */
            box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); /* 可选，添加一些阴影效果 */
            z-index: 1; /* 确保下拉菜单在其他内容之上显示 */
            top: 100%;
        }
        #navigation li ul li {
             display: block; /* 让子菜单项独占一行 */
             width: 100%; /* 让菜单项充满整个下拉菜单 */
        }

            #navigation li ul li a {
                /* padding: 10px 15px;  适当增加间距 */
                text-align: left; /* 左对齐文本 */
            }

        #navigation li:hover > ul {
            display: block; /* 鼠标悬停时显示下拉菜单 */

        }

    #navigation li a {
        color: #fafafa;
        display: block;
        font-size: 16px;
        font-weight: bold;
        line-height: 47px;
        border-color: transparent;
        border-style: none solid;
        border-width: 1px;
        text-align: center;
        text-decoration: none;
    }

.nav-En li a {
    padding: 0 18px;
}

.nav li a {
    padding: 0 1px;
}

#navigation li a:hover, #navigation li.selected a {
    background-color: #808586;
    color: #fff;
}

.menu-toggle {
    display: none; /* 默认隐藏 */
}

/* ---------------- 移动端适配 ---------------- */
@media screen and (max-width: 768px) {
    #navigation {
        display: flex; /* 让菜单项并排排列 */
        flex-wrap: nowrap; /* 不换行 */
        overflow-x: auto; /* 如果超出屏幕，允许横向滚动 */
        white-space: nowrap; /* 避免文字换行 */
        background-color: #333;
        width: 100%;
        left: 0;
        top: 50px; /* 根据你的布局调整 */
        z-index: 999;
    }
        #navigation ul li {
            display: inline-block; /* 让 `<li>` 变成行内块级元素 */
            padding: 1px 1px; /* 调整间距 */
        }

        #navigation.active {
            display: block; /* 点击后显示 */
        }

    .menu-toggle {
        display: block;
        cursor: pointer;
        padding: 10px;
        background-color: #333;
        color: white;
        text-align: center;
    }
}


#footer {
    width: 100%;
    color: #000;
    border-top: 5px solid #c3c3c3;
    position: absolute;
    left: 0;
    background-color: #D9D9D9;
}

    #footer .background {
        border-top: 1px solid #b6051c;
    }

    #footer .body {
        width: 960px;
        margin: 0 auto;
        padding: 20px 0px;
    }

    #footer .section {
        float: left;
        display: inline-block;
        margin: 0px 10px;
    }

    #footer h3 {
        font-family: 'DaysOne-Regular';
        font-size: 18px;
        font-weight: normal;
        line-height: 18px;
        margin: 0 0 18px;
    }

    #footer ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

        #footer ul li {
            color: #000;
            display: inline-block;
            font-size: 14px;
            line-height: 24px;
            width: 100%;
            border-top: 1px solid #8a0413;
            padding: 12px 0 0;
            vertical-align: top;
        }

            #footer ul li:first-child, #footer ul li {
                border: 0;
                padding: 0;
            }

                #footer ul li span {
                    float: left;
                    display: inline-block;
                    width: 150px;
                    padding-right: 10px;
                    vertical-align: top;
                }

                #footer ul li strong {
                    float: left;
                    display: inline-block;
                    margin-right: 6px;
                    vertical-align: top;
                }

                #footer ul li p {
                    float: left;
                    display: inline-block;
                    width: 370px;
                    margin: 0;
                    padding: 0 0 12px;
                }

                #footer ul li a {
                    color: #000;
                    display: inline-block;
                    margin: 0;
                    text-decoration: none;
                }

/*------------------------------ CONTENTS ------------------------------*/
#contents {
    box-shadow: 0px 15px 10px -15px #000;
    margin-bottom: 20px;
    display: inline-block;
    width: 100%;
    padding: 23px 0 0;
    border-bottom-right-radius: 1px;
    border-bottom-left-radius: 1px;
    background-color: #f8f8f8;
    color: #636974;
    font-size: 14px;
}

    #contents h1, #contents h2, #contents h4, #contents h5, #contents h6 {
        color: #003d53;
        font-family: "DaysOne-Regular";
        font-size: 36px;
        margin: 0 0 18px;
    }

    #contents h2 {
        font-size: 23px;
        line-height: 24px;
        font-weight: 400;
        color: #003d53;
    }

    #contents h4 {
        font-size: 16px;
        line-height: 24px;
        margin: 0 0 12px;
    }

    #contents h5 {
        font-size: 14px;
        line-height: 24px;
        margin: 0;
    }

        #contents h5 a {
            color: #940315;
            text-decoration: none;
        }

    #contents h6 {
        font-size: 12px;
        line-height: 24px;
    }

    #contents p, ul {
        color: #636974;
        font-size: 14px;
        line-height: 24px;
        margin: 0;
        padding: 0 0 24px;
    }

    #contents h5 a:hover {
        text-decoration: underline;
    }

    #contents .footer {
        background-color: #f8f8f8;
        clear: both;
        width: 900px;
        margin: 0 0 4px -30px;
        padding: 20px 30px 0;
    }

        #contents .footer h6 {
            float: left;
            margin-bottom: 30px;
            margin-right: 20px;
        }



    #contents > div:first-child {
        padding: 48px 30px 24px;
    }

.time {
    color: #636974;
    display: block;
    font-size: 12px;
    line-height: 12px;
    padding: 6px 0 5px;
}
/** adbox **/
#contents .adbox {
    padding: 0 0 19px 19px !important;
    margin-top: 10px;
    position: relative;
    box-shadow: 0px 15px 10px -15px #000;
}

.adbox > div {
    -webkit-border-bottom-right-radius: 1px;
    -webkit-border-bottom-left-radius: 1px;
    -moz-border-radius-bottomright: 1px;
    -moz-border-radius-bottomleft: 1px;
    border-bottom-right-radius: 1px;
    border-bottom-left-radius: 1px;
    padding: 10px 20px 0 0;
}

    .adbox > div:after {
        clear: both;
        content: "";
        display: block;
        height: 1%;
        line-height: 0;
        visibility: hidden;
    }

.adbox h1 {
    padding-top: 18px;
}

.adbox h4 {
    font-size: 14px;
}
/*小标题H4设置*/
.Subtitle {
    display: inline-block;
    padding: 5px 25px 5px 0;
    color: #003d53;
    border-radius: 4px;
}
/*Default页面的中间五个小板块设置*/
.D-div, .D_KS {
    display: flex;
}

    .D-div div:first-child {
        margin-right: 5px;
    }

.D-img {
    float: right;
    width: 300px;
    margin: 10px 10px 0 0;
}

.D-table {
    margin: 20px 30px;
    border-collapse: collapse;
    text-align: justify;
}

    .D-table tr td {
        vertical-align: top;
        padding: 5px;
        font-size: 14px;
    }

    .D-table tr:first-child td:first-child {
        padding-right: 10px;
        border-right: 1px solid #003d53;
    }

    .D-table tr td:last-child {
        padding-left: 20px;
    }

.D-CFP {
    display: flex;
    width: 630px;
    text-align: left;
}

    .D-CFP div {
        width: 310px;
        line-height: 25px;
    }

        .D-CFP div:first-child {
            width: 290px;
            margin-right: 20px;
        }

.D-a {
    color: #4875c5;
    float: right;
    padding-right: 30px;
    font-weight: 400;
    font-family: none;
    font-size: 14px;
    text-decoration: underline;
}

.D-ul {
    padding-left: 20px;
}

    .D-ul li {
        text-align: justify;
    }

        .D-ul li:before {
            content: "◆";
            color: #005ea4;
            margin: 0 7px 0 -20px;
            font-size: 18px;
            vertical-align: middle;
        }

.D_KS p {
    margin: 0 10px !important;
    text-align: center;
}

/*主页主题演讲人*/
#demo {
    position: relative;
    top: 0;
    left: 0;
    overflow: hidden;
    transform: translateZ(0);
    width: 630px;
}

#offset {
    position: relative;
    left: 0px;
    width: 2100px;
}

#demo1, #demo2 {
    float: left;
    width: 1050px;
}

.adbox p {
    text-align: justify;
    padding: 10px 0 0 0;
}

.adbox .im, .D_GoodPapers {
    display: block;
    float: left;
    text-decoration: none;
    margin: 20px 0;
    padding: 10px;
    margin-right: 20px;
}

#submit, .D_GoodPapers {
    padding: 10px 25px;
    margin-left: 15px;
    text-align: center;
    border-radius: 4px;
    font-weight: bold;
    color: white;
    background-color: #003d53;
}

#footnote {
    border-top: 1px solid #C3C3C3;
    padding-top: 20px;
    clear: both;
    font-size: 14px;
    margin: 0;
    text-align: center;
    color: #000;
}



div.indexmaindiv {
    height: 130px;
    margin: 0px auto;
    width: 810px;
    padding: 0px 75px;
    font-family: "Verdana,Tahoma,arial,sans-serif";
    font-size: 14px;
}
/*div.indexmaindiv div.playerstyles{width:168px;height:44px;background:url('../images/playstyles.png') no-repeat;}
div.indexmaindiv1{margin-top:25px;}*/
div.indexmaindiv1 div.stylesgoleft {
    float: left;
    width: 21px;
    height: 28px;
    background: url('../png/arrowhead.png') no-repeat left top;
    margin: 46px 5px 0px 0px;
    cursor: pointer;
}

    div.indexmaindiv1 div.stylesgoleft:hover {
        float: left;
        width: 21px;
        height: 28px;
        background: url('../png/arrowhead.png') no-repeat left -28px;
        margin: 46px 5px 0px 0px;
        cursor: pointer;
    }

div.indexmaindiv1 div.playerdetail {
    width: 172px;
    height: 130px;
    background: #FFF;
}

    div.indexmaindiv1 div.playerdetail div.detailimg {
        width: 160px;
        height: 130px;
        margin: 0px auto;
    }

        div.indexmaindiv1 div.playerdetail div.detailimg img {
            width: 170px;
            height: 130px;
        }

    div.indexmaindiv1 div.playerdetail div.teanames {
        text-align: center;
        margin-top: 5px;
        color: #404040;
    }

    div.indexmaindiv1 div.playerdetail div.teadetail {
        width: 156px;
        height: 27px;
        margin: 5px 8px;
        color: #666;
    }
/*div.indexmaindiv1 div.playerdetail .checkdetail{width:134px;height:27px;display:block;background:url('../images/checkdetail.png') no-repeat;margin:18px;}*/
div.indexmaindiv1 div.stylesgoright {
    float: left;
    width: 21px;
    height: 28px;
    background: url('../png/arrowhead.png') no-repeat left -56px;
    margin: 36px 0px 0px 15px;
    cursor: pointer;
}

    div.indexmaindiv1 div.stylesgoright:hover {
        float: left;
        width: 21px;
        height: 28px;
        background: url('../png/arrowhead.png') no-repeat left -84px;
        margin: 36px 0px 0px 15px;
        cursor: pointer;
    }
/*滚动*/
div.maindiv1 {
    float: left;
    width: 745px;
    height: 160px;
    overflow: hidden;
    position: relative;
}

    div.maindiv1 ul {
        position: absolute;
        left: 0;
        top: 0;
    }

        div.maindiv1 ul li {
            float: left;
            width: 172px;
            height: 270px;
            margin-left: 13px;
            list-style-type: none
        }


.num {
    display: inline-table;
    border-radius: 30px;
    border: 1px solid red;
    width: 15px;
    height: 15px;
    line-height: 15px;
    text-align: center;
    color: red;
}
