@charset "utf-8";

/* ------ 2016 校园网站风：Bootstrap 3 质感 ------ */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

a { color: #337ab7; text-decoration: none; }
a:hover, a:focus { color: #23527c; text-decoration: underline; }

.container { width: 970px; margin: 0 auto; padding: 0 15px; }

/* ---------- 顶部横幅 ---------- */
.site-header {
  background: linear-gradient(to bottom, #3c8dbc, #337ab7);
  color: #fff;
  padding: 25px 0;
  border-bottom: 4px solid #2c6a9e;
}
.site-header h1 { font-size: 26px; font-weight: bold; }
.site-header h1 .star { color: #ffd24d; }
.site-header .sub { font-size: 12px; color: #d9e8f5; margin-top: 4px; }

/* ---------- 导航条 ---------- */
.navbar {
  background-color: #2c6a9e;
  box-shadow: 0 2px 4px rgba(0,0,0,.15);
}
.navbar ul { list-style: none; }
.navbar li { display: inline-block; }
.navbar a {
  display: block;
  padding: 12px 22px;
  color: #fff;
  font-size: 14px;
}
.navbar a:hover { background-color: #245682; text-decoration: none; }
.navbar a.active { background-color: #f5f5f5; color: #337ab7; font-weight: bold; }

/* ---------- 主体 ---------- */
.main { padding: 20px 0; }
.row:after { content: ""; display: table; clear: both; }
.col-main { float: left; width: 65%; padding-right: 20px; }
.col-side { float: left; width: 35%; }

/* ---------- 面板 ---------- */
.panel {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
  margin-bottom: 20px;
}
.panel-heading {
  padding: 10px 15px;
  background: linear-gradient(to bottom, #f7f7f7, #ececec);
  border-bottom: 1px solid #ddd;
  border-radius: 4px 4px 0 0;
  font-size: 15px;
  font-weight: bold;
  color: #3c8dbc;
}
.panel-body { padding: 15px; }
.panel-body p { margin-bottom: 10px; text-align: justify; }

/* 红色重点标题条 */
.panel-heading.hot { color: #d9534f; }

/* ---------- 公告栏 ---------- */
.notice {
  background: #fcf8e3;
  border: 1px solid #faebcc;
  color: #8a6d3b;
  border-radius: 4px;
  padding: 10px 15px;
  margin-bottom: 20px;
  overflow: hidden;
  white-space: nowrap;
}
.notice .tag {
  display: inline-block;
  background: #d9534f;
  color: #fff;
  font-size: 12px;
  padding: 1px 8px;
  border-radius: 3px;
  margin-right: 8px;
}
.notice .scroll {
  display: inline-block;
  animation: scroll-left 18s linear infinite;
}
@keyframes scroll-left {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ---------- 表格 ---------- */
table.table { width: 100%; border-collapse: collapse; background: #fff; }
table.table th {
  background-color: #337ab7;
  color: #fff;
  padding: 8px 10px;
  border: 1px solid #2c6a9e;
  font-weight: bold;
  text-align: left;
}
table.table td { padding: 8px 10px; border: 1px solid #ddd; }
table.table tr:nth-child(even) td { background-color: #f9f9f9; }
table.table tr:hover td { background-color: #f1f7fb; }

/* ---------- 列表 ---------- */
ul.list-news { list-style: none; }
ul.list-news li {
  padding: 7px 0;
  border-bottom: 1px dashed #e5e5e5;
  overflow: hidden;
}
ul.list-news li .date { float: right; color: #999; font-size: 12px; }

ol.rank { list-style: none; counter-reset: rank; }
ol.rank li {
  counter-increment: rank;
  padding: 6px 0;
  border-bottom: 1px dashed #e5e5e5;
  overflow: hidden;
}
ol.rank li:before {
  content: counter(rank);
  display: inline-block;
  width: 18px; height: 18px; line-height: 18px;
  text-align: center;
  background: #bbb; color: #fff;
  border-radius: 3px;
  font-size: 12px;
  margin-right: 8px;
}
ol.rank li:nth-child(-n+3):before { background: #d9534f; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 8px 24px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-size: 14px;
  cursor: pointer;
}
.btn-primary { background-color: #337ab7; border-color: #2e6da4; color: #fff; }
.btn-primary:hover { background-color: #286090; text-decoration: none; color: #fff; }
.btn-default { background-color: #fff; border-color: #ccc; color: #333; }
.btn-default:hover { background-color: #e6e6e6; text-decoration: none; }

/* ---------- 表单 ---------- */
form .form-group { margin-bottom: 14px; overflow: hidden; }
form label.lab {
  float: left; width: 110px;
  text-align: right; padding-right: 12px;
  line-height: 34px; color: #555;
}
form .field { margin-left: 110px; }
input[type=text], textarea {
  width: 100%; max-width: 420px;
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
}
input[type=text]:focus, textarea:focus {
  border-color: #66afe9; outline: 0;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px rgba(102,175,233,.4);
}
.checkbox-list label { display: block; line-height: 26px; font-weight: normal; }
.help-block { color: #999; font-size: 12px; margin-top: 4px; }

/* ---------- 提示框 ---------- */
.alert {
  padding: 10px 15px;
  border-radius: 4px;
  border: 1px solid;
  margin-bottom: 15px;
  font-size: 13px;
}
.alert-warning { background: #fcf8e3; border-color: #faebcc; color: #8a6d3b; }
.alert-info { background: #d9edf7; border-color: #bce8f1; color: #31708f; }

/* ---------- 页脚 ---------- */
.site-footer {
  background-color: #42454a;
  color: #9d9d9d;
  padding: 20px 0;
  margin-top: 30px;
  font-size: 12px;
  text-align: center;
  line-height: 2;
}
.site-footer a { color: #ccc; }

/* ---------- 面包屑 ---------- */
.breadcrumb {
  padding: 8px 15px;
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 12px;
  color: #777;
}

.text-muted { color: #999; font-size: 12px; }
.center { text-align: center; }
