/* 完全复刻原网页样式 */
html, body {
    margin: 0;
    padding: 0;
}

* {
    position: relative;
}

a {
    color: #ed0d15;
    outline: none;
    text-decoration: none;
}

img {
    border: none;
}

.cb {
    clear: both;
}

h3 {
    margin-top: 25px;
}

.ctr {
    text-align: center;
}

.wrapper {
    margin: auto;
    width: 1083px;
}

body, html {
    font: normal 14px Tahoma,"Lucida Grande","Trebuchet MS",Verdana,Helvetica,sans-serif;
    color: black;
}

body {
    background: #fff url(/images/bg_003.png) repeat-x;
}

/* 头部样式 */
header {
    background-color: rgb(45,45,45);
    padding: 0;
}

.branding {
    float: left;
    margin: 29px 0;
}

.branding img {
    width: 100%;
}

.bg-red {
    background-color: #ed0d15;
}

.navLinks {
    list-style-type: none;
    font-weight: 700;
    margin: 0;
    padding: 0;
}

.navLinks li a {
    padding: 0.6rem 1rem;
    border-left: 1px solid #d60507;
    border-right: 1px solid #fc3849;
    text-decoration: none;
}

.navLinks li, .navLinks li a {
    color: rgb(255,255,255);
    display: inline;
    height: 36px;
    float: left;
}

.navLinks li.active {
    background-color: #B20406;
}

.navLinks li.active a {
    border-left: 1px solid #B20406;
    border-right: 1px solid #B20406;
}

.navigation ul li a:hover {
    background: #1d1d1d;
    border-left: 1px solid #1d1d1d;
    border-right: 1px solid #1d1d1d;
}

/* 清除浮动 */
.clearFix:after {
    content: '';
    display: table;
    clear: both;
}

#wrapper {
    margin: 0 auto;
    width: 100%;
    position: relative;
}

.col-md-12 {
    margin-left: auto;
    margin-right: auto;
    max-width: 1100px;
    float: none;
    clear: both;
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin-top: 0;
    color: black;
}

h2 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    margin-top: 0.8rem;
    border-bottom: 1px solid rgb(223,223,223);
    padding-bottom: 10px;
}

h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
    margin-top: 1.8rem;
}

h4 {
    font-size: 2.4rem;
    margin-bottom: 1.2rem;
    color: white;
}

/* 主要内容区域 */
.content {
    padding: 20px;
}

/* 表单样式 */
#criteria {
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
}

#criteria ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#criteria li {
    margin-bottom: 10px;
}

#criteria li.lab {
    font-weight: bold;
    margin-bottom: 5px;
}

#criteria select {
    width: 200px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.button.red {
    background-color: #ed0d15;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
}

.button.red:hover {
    background-color: #d60507;
}

/* 身份信息显示区域 */
#details {
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    margin-top: 20px;
}

.bcs {
    float: left;
    width: 300px;
    padding: 20px;
    border-right: 1px solid #eee;
}

.bcs .content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.bcs .content div {
    display: inline-block;
    vertical-align: top;
}

.info {
    margin-left: 320px;
    padding: 20px;
}

.address h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.adr {
    margin-bottom: 15px;
    line-height: 1.4;
}

/* 详细信息列表 */
.dl-horizontal {
    margin-bottom: 5px;
}

.dl-horizontal dt {
    float: left;
    width: 170px;
    clear: left;
    text-align: left;
    overflow: initial;
    text-overflow: initial;
    white-space: initial;
    color: #666;
    font-weight: normal;
}

.dl-horizontal dd {
    margin-left: 185px;
    max-width: 355px;
    margin-bottom: 0;
}

.hh3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    margin-top: 20px;
    font-weight: bold;
    color: #333;
}

.adtl {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

/* 底部样式 */
#footer {
    background-color: rgb(45,45,45);
    color: white;
    margin-top: 40px;
    padding: 20px 0;
}

#footer h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

#footer a {
    color: white;
    text-decoration: none;
}

#footer a:hover {
    text-decoration: underline;
}

#shortcuts, #blog-latest, #advurtise {
    float: left;
    width: 33.33%;
    padding: 0 15px;
}

#shortcuts ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#shortcuts li {
    margin-bottom: 8px;
}

.dl-b {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.dl-b dt {
    float: left;
    width: 60px;
    clear: left;
    color: #ccc;
    font-style: italic;
    font-weight: normal;
}

.dl-b dd {
    margin-left: 60px;
}

#copyright {
    clear: both;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #666;
    margin-top: 20px;
}

#copyright .content {
    font-size: 0.9rem;
}

#copyright select {
    background-color: #666;
    color: white;
    border: 1px solid #888;
    padding: 2px;
}

.inline {
    display: inline;
}

#copy {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #ccc;
}

/* 页尾额外样式 */
.fb {
    margin-bottom: 20px;
}

#wrapper-3 {
    overflow: hidden;
}

#footer .content {
    padding: 20px;
}

#footer h4 {
    margin-top: 0;
}

#footer ul {
    margin: 0;
    padding: 0;
}

#footer ul li {
    list-style: none;
    margin-bottom: 5px;
}

#footer ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
}

#footer ul li a:hover {
    color: white;
    text-decoration: underline;
}

/* 导航栏样式 */
.navbar-toggle {
    display: none;
    float: right;
    background: none;
    border: none;
    color: white;
    padding: 10px;
}

.icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: white;
    margin: 4px 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* 响应式设计 */
@media (max-width: 767px) {
    .navbar-toggle {
        display: block;
    }

    .navLinks {
        display: none;
        width: 100%;
        clear: both;
    }

    .navDisplay {
        display: block !important;
    }

    .navLinks li, .navLinks li a {
        display: block;
        float: none;
        width: 100%;
    }

    .bcs {
        float: none;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .info {
        margin-left: 0;
    }

    .bcs .content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .dl-horizontal dt {
        float: none;
        width: auto;
        margin-bottom: 5px;
        font-weight: bold;
    }

    .dl-horizontal dd {
        margin-left: 0;
        margin-bottom: 15px;
    }

    #shortcuts, #blog-latest, #advurtise {
        float: none;
        width: 100%;
        margin-bottom: 20px;
    }

    .wrapper {
        width: auto;
        max-width: 100%;
        padding: 0 15px;
    }
}

/* 动画效果 */
.button.red {
    transition: background-color 0.3s ease;
}

#details {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 额外的布局修复 */
.flushLeft {
    padding-left: 0;
}

.nav-con {
    padding: 0;
}

.navbar-default {
    background-color: inherit;
    border-color: inherit;
}

.container-fluid {
    padding-left: 0;
    padding-right: 0;
}

/* 表单样式增强 */
#criteria .content {
    padding: 15px;
}

#criteria ul li {
    display: block;
    margin-bottom: 8px;
}

#criteria select {
    font-size: 14px;
}

/* 身份信息区域样式增强 */
#details .content {
    padding: 0;
}

.bcsw {
    margin: 10px 0;
}

#nameSetApps {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f8f8f8;
    border-radius: 3px;
}

#nameSetApps .content {
    padding: 5px;
}

#nameSetApps p {
    margin: 5px 0;
}
