/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "微软雅黑", sans-serif;
    background-color: #e0e8ef;
    min-width: 1200px;
}

/* 布局容器 */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.fl {
    float: left;
}

.pull-right {
    float: right;
}

/* 顶部区域 */
.top-bg {
    background-image: url(../img/导航栏.png);
    width: 100%;
}

.top {
    width: 1200px;
    margin: 0 auto;
    padding: 15px 0;
    position: relative;
    height: auto;
}

.logo {
    float: left;
    display: flex;
    align-items: center;
}

.logo img {
    width: 80px;
    height: auto;
    display: block;
}

.logo .school-name {
    color: white;
    font-size: 28px;
    font-weight: bold;
}

.course-name {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 30px;
    font-weight: bold;
    font-family: "宋体", SimSun, serif;
}

/* 搜索框 */
.search {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
}

.search form {
    display: flex;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.search .text {
    width: 200px;
    height: 36px;
    padding: 0 15px;
    border: none;
    outline: none;
    font-size: 14px;
}

.search .submit {
    min-width: 60px;
    height: 36px;
    background-color: #fff;
    border: none;
    cursor: pointer;
    color: #918275;
    font-weight: bold;
}

/* 导航栏 */
.nav-bg {
    background-color: #074290;
    width: 100%;
}

.nav {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    list-style: none;
}

.nav .nLi {
    position: relative;
    float: none;
    flex: 1;
    text-align: center;
}

.nav .nLi h3 {
    padding: 0;
    margin: 0;
}

.nav .nLi h3 a {
    display: block;
    padding: 15px 5px;
    font-size: 16px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: normal;
}

/* 激活状态 */
.nav .nLi.active {
    background-color: #DB9A36;
}

/* 鼠标悬停效果 */
.nav .nLi:hover,
.nav .nLi.on {
    background-color: #DB9A36;
}

.nav .nLi:hover h3 a,
.nav .nLi.on h3 a {
    color: #ffffff;
}

/* 子菜单样式 */
.nav .nLi .sub {
    display: none;
    width: 100%;
    position: absolute;
    left: 0;
    top: 100%;
    background: #DB9A36;
    z-index: 999;
    padding: 0;
    margin: 0;
    list-style: none;
}

.nav .nLi:hover .sub {
    display: block;
}

.nav .nLi .sub li {
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 0;
    margin: 0;
}

.nav .nLi .sub li a {
    display: block;
    padding: 10px 0;
    color: #fff;
    text-align: center;
    font-size: 15px;
    text-decoration: none;
}

.nav .nLi .sub li:hover {
    background: #C28520;
}

.nav .nLi .sub li a:hover {
    color: #fff;
}

/* 内容布局 */
.content-wrapper {
    width: 1200px;
    margin: 10px auto;
    padding: 0;
    min-height: 600px;
    clear: both;
    overflow: hidden;
}

/* 面包屑导航 */
.location-bar {
    width: 1200px;
    margin: 10px auto 0;
    background-color: #fff;
    padding: 0;
    overflow: hidden;
}

/* 左侧菜单 */
.account-l {
    width: 240px;
    background-color: #fff;
    float: left;
    margin-right: 15px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.list-title {
    background-color: #0066cc;
    color: #fff;
    padding: 15px;
    font-size: 16px;
    text-align: center;
}

.accordion {
    list-style: none;
    border-top: none;
    background-color: #fff;
}

.accordion .link {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.accordion .link a {
    color: #333;
    text-decoration: none;
}

.accordion .link a:hover,
.accordion .link a[style*="color:#f39800"] {
    color: #f39800 !important;
}

/* 右侧内容 */
.right {
    float: left;
    width: 940px;
    background-color: #fff;
    min-height: 820px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.right .location-bar {
    width: 100%;
    margin: 0;
    padding: 0 15px;
    line-height: 40px;
    border-bottom: 1px solid #e0e0e0;
    background-color: #f9f9f9;
}

.right .location-bar a {
    color: #333;
    text-decoration: none;
}

.right .location-bar a:hover {
    color: #0066cc;
}

.zwmb {
    padding: 15px 20px;
}

.bgnr {
    margin-top: 20px;
}

.bgnr img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 底部 */
.foot {
    background-color: #074290;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    line-height: 1.8;
    clear: both;
    width: 100%;
    margin-top: 20px;
}

/* 左侧侧边栏样式 */
.accordion li {
    padding: 10px 15px;
    border-bottom: 1px solid #e5e5e5;
    cursor: pointer;
    position: relative;
}

.accordion li a {
    color: #333;
    text-decoration: none;
    display: block;
}

.accordion li:hover {
    background-color: #e0e8ef;
}

.accordion li.active {
    background-color: #005da1;
}

.accordion li.active a {
    color: #ffffff;
}

/* 位置导航样式 */
.location-bar {
    background-color: #f5f5f5;
    border-bottom: 1px solid #e5e5e5;
    padding: 5px 0;
    margin-bottom: 10px;
}

.location-bar a {
    color: #005da1;
    text-decoration: none;
}

.location-bar a:hover {
    text-decoration: underline;
}

/* 为首页添加特殊样式 */
.home-content {
    width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.banner {
    margin-bottom: 20px;
}

.full-width {
    width: 100%;
    height: auto;
    display: block;
}

.home-main {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.welcome-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.welcome-section h2 {
    color: #074290;
    margin-bottom: 15px;
}

.features-section {
    display: flex;
    justify-content: space-between;
}

.feature-item {
    flex: 1;
    padding: 15px;
    margin: 0 10px;
    background-color: #f5f5f5;
    border-radius: 5px;
}

.feature-item h3 {
    color: #074290;
    margin-bottom: 10px;
}

.more-link {
    display: inline-block;
    margin-top: 10px;
    color: #005da1;
    text-decoration: none;
}

.more-link:hover {
    text-decoration: underline;
}
