﻿@charset "UTF-8";

body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
li,
dl,
dt,
dd,
pre {
  margin: 0;
  padding: 0;
  border: none;
  list-style: none;
  box-sizing: border-box;
}

body {
  font-family: "microsoft yahei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.42857143;
  color: #333;
  min-width: 1200px;
}

a {
  color: #333;
  text-decoration: none;
  transition: .3s;
}

a:hover {
  color: #E72F16;
  text-decoration: none;
}

input,
button {
  outline: 0;
}

img {
  vertical-align: middle;
  border: 0;
  max-width: 100%;
  transition: .3s;
}

table {
  border-collapse: collapse;
}

table tr th,
table tr td {
  padding: 5px 10px;
  border: 1px solid gray;
}

.lf {
  float: left;
}

.rt {
  float: right;
}

.container {
  width: 1400px;
  margin: 0 auto;
  position: relative;
}

.container:before,
.container:after {
  content: '';
  display: table;
  clear: both;
}

.ellipsis {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/*头部*/
.header {
  position: relative;
  background: #E72F16;
}

.header .top {
  height: 130px;
  background: url(../images/header.jpg) no-repeat center center;
}

.header .logo {
  float: left;
  line-height: 130px;
}

.header .top .search {
  position: relative;
  margin-top: 60px;
}

.header .top .search input[type='text'] {
  width: 224px;
  height: 30px;
  line-height: 30px;
  color: #fff;
  border: 1px solid #FFFFFF;
  background: transparent;
  padding: 0 30px 0 10px;
  box-sizing: border-box;
}

.header .top .search input[type='submit'] {
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border: none;
  background: url(../images/search.png) no-repeat center center;
}

.header .toggle {
  display: none;
}

input::-webkit-input-placeholder {
  color: #fff;
}

input::-ms-input-placeholder {
  color: #fff;
}

/*导航栏*/
.nav {
  position: relative;
  height: 50px;
  background: #A41529;
  z-index: 9;
}

.menu {
  display: flex;
  width: 1400px;
  margin: 0 auto;
}

.menu>li {
  flex-grow: 1;
  position: relative;
}

.menu>li>a {
  position: relative;
  display: block;
  line-height: 50px;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.menu>li>a.on,
.menu>li>a:hover {
  color: #E72F16;
  background: rgba(0, 0, 0, .6);
}

.menu .second-menu {
  position: absolute;
  left: 0;
  right: 0;
  background: #E72F16;
  display: none;
  z-index: 999;
}

.menu .second-menu a {
  display: block;
  line-height: 45px;
  color: #fff;
  font-size: 16px;
  text-align: center;
  border-top: 1px solid #ddd;
}

.menu .second-menu a:hover {
  background: rgba(0, 0, 0, .6);
}

/*轮播图*/
#slide {
  margin-bottom: 20px;
}

#slide .swiper-pagination {
  bottom: 5%;
}

#slide .swiper-pagination-bullet {
  width: 30px;
  height: 5px;
  background: #E6E6E6;
  border-radius: 0;
  opacity: 1;
}

#slide .swiper-pagination-bullet-active {
  background: #E72F16;
}

/*主体*/
.section {
  position: relative;
  min-height: calc(100vh - 400px);
}

.title {
  position: relative;
  height: 30px;
  line-height: 30px;
  margin: 20px 0;
}

.title:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 123px;
  right: 40px;
  height: 1px;
  background: #E6E6E6;
}

.title h2 {
  position: relative;
  color: #E72F16;
  font-size: 22px;
  padding: 0 20px 0 15px;
}

.title h2:before,
.title h2:after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  background: #E90D0D;
}

.title h2:after {
  left: auto;
  right: 0;
}

.title .rt {
  position: relative;
  color: #666;
  transition: .3s;
}

.title .rt:hover {
  color: #E72F16;
}

.news-box {
  width: 72%;
}

.news-img {
  position: relative;
  float: left;
  width: 43.65%;
  margin-top: 25px;
}

.news-img .img {
  display: block;
  height: 296px;
  overflow: hidden;
}

.news-img .img img {
  width: 100%;
  min-height: 100%;
}

.news-img p {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 36px;
  line-height: 36px;
  padding: 0 80px 0 15px;
  color: #fff;
  font-size: 16px;
  background-color: rgba(0, 0, 0, .5);
}

.news-img p a {
  color: #fff;
}

#news .swiper-pagination {
  text-align: right;
  width: 98%;
}

#news .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, .5);
  border-radius: 0;
  opacity: 1;
}

#news .swiper-pagination-bullet-active {
  background: #E90D0D;
}

.news-txt {
  float: right;
  width: 53%;
}

.news-first {
  padding-bottom: 15px;
  margin-bottom: 18px;
  border-bottom: 1px solid #EBEBEB;
}

.news-first h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.news-first p {
  color: #666;
  font-size: 16px;
  line-height: 1.5em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.news-txt ul li {
  font-size: 16px;
  margin-bottom: 15px;
}

.news-txt ul li:last-of-type {
  margin-bottom: 0;
}

.news-txt ul li a {
  position: relative;
  padding-left: 20px;
}

.news-txt ul li a:before {
  content: '';
  position: absolute;
  top: 8px;
  left: 0;
  width: 4px;
  height: 4px;
  background: #999;
  transition: .3s;
}

.news-txt ul li a:hover:before {
  left: 5px;
  background: #E90D0D;
}

/*微党课*/
.course {
  width: 25%;
}

.course .title {
  margin-bottom: 10px;
}

.course .title:after {
  left: 101px;
}

.course .img {
  display: block;
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.course img {
  width: 100%;
  height: 100%;
}

.course .img:hover img {
  transform: scale(1.1);
}

.box {
  height: 300px;
  padding: 15px 40px;
  margin: 40px auto 20px;
  box-sizing: border-box;
  background: url(../images/mid-bg.jpg) no-repeat center center;
}

.box>div {
  width: 48%;
}

.box ul li {
  font-size: 16px;
  margin-bottom: 16px;
}

.box ul li:last-of-type {
  margin-bottom: 0;
}

.box ul li span {
  color: #999;
}

.box ul li p {
  position: relative;
  padding-left: 20px;
  margin-right: 100px;
}

.box ul li p:before {
  content: '';
  position: absolute;
  top: 6px;
  left: 0;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-left-color: #E90D0D;
  transition: .3s;
}

.box ul li p:hover:before {
  left: 5px;
}

#mien {
  margin-bottom: 20px;
}

/*尾部*/
.footer {
  color: #fff;
  margin-top: 50px;
  background: #B02622;
}

.footer ul {
  padding: 20px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.footer ul li {
  float: left;
  font-size: 16px;
  margin-right: 40px;
}

.footer ul li a {
  color: #fff;
}

.footer .copyright {
  padding: 25px 0;
  line-height: 2em;
  text-align: center;
}

.side {
  float: left;
  width: 278px;
  margin-top: 30px;
}

.side p {
  height: 68px;
  line-height: 68px;
  padding-left: 40px;
  color: #fff;
  font-size: 24px;
  background: #E72F16;
}

.side p span {
  display: none;
}

.side li {
  position: relative;
}

.side li a {
  position: relative;
  display: block;
  height: 50px;
  line-height: 50px;
  font-size: 18px;
  padding-left: 40px;
}

.side>ul>li>a {
  background: #E7E7E7;
  border-bottom: 1px solid #D4D4D4;
}

.side>ul>li span {
  position: absolute;
  top: 14px;
  right: 20px;
  color: #9D9696;
  font: 20px '宋体';
  font-weight: bolder;
  transition: .3s;
}

.side>ul>li span.on {
  transform: rotate(90deg);
}

.side .sub-menu li a {
  color: #666;
  background: #F6F6F6;
}

.side .sub-menu li a:hover,
.side .sub-menu li.on a {
  color: #E72F16;
}

.side .sub-menu {
  display: none;
}

.side ul .active .sub-menu {
  display: block;
}

.side ul .active>a {
  background: #fff;
  border-bottom-color: #fff;
}

.side ul .active>a:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: #E72F16;
}

.column {
  margin: 30px 0 0 310px;
}

.bread {
  height: 67px;
  line-height: 67px;
  border-bottom: 1px solid #D6D6D6;
}

.bread h1 {
  font-size: 24px;
  font-weight: normal;
}

.bread .rt {
  position: relative;
  color: #9A9A9A;
  font-size: 16px;
}

.bread .rt a {
  color: #9A9A9A;
}

.bread .rt a:hover {
  color: #E72F16;
}

.common-list li {
  height: 50px;
  line-height: 50px;
  padding: 0 10px;
  font-size: 18px;
  border-bottom: 1px dotted #8C8C8C;
}

.common-list li:hover {
  background: #F6F6F6;
}

.common-list li span {
  float: right;
  color: #666;
}

.common-list li p {
  margin-right: 120px;
}

.common-list li a {
  position: relative;
  padding-left: 20px;
  text-decoration: none;
}

.common-list li a:before {
  content: '';
  position: absolute;
  top: 10px;
  left: 0;
  width: 5px;
  height: 5px;
  background: #999;
  border-radius: 50%;
}

.common-list li a:hover:before {
  background: #E72F16;
}

.detail {
  margin-top: 20px;
}

.caption {
  text-align: center;
}

.caption h3 {
  line-height: 30px;
  font-size: 22px;
  margin: 30px 0 10px;
}

.caption p span {
  color: #999;
  margin: 0 8px;
}

.content {
  margin-top: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid #F0F0F0;
  min-height: 300px;
  line-height: 1.75em;
  font-size: 16px;
  text-indent: 2em;
}

.profile {
  margin-top: 20px;
  min-height: 300px;
  line-height: 1.75em;
  font-size: 16px;
  text-indent: 2em;
}

/*返回顶部*/
.toTop {
  position: fixed;
  right: 15px;
  bottom: -100px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  color: #fff;
  font-size: 24px;
  font-weight: bolder;
  font-family: '黑体';
  background: rgba(0, 0, 0, .6);
  border-radius: 5px;
  transform: rotate(90deg);
  cursor: pointer;
  transition: .3s;
  z-index: 99;
}

@media screen and (max-width: 1440px) {

  .container,
  .menu {
    width: 1200px;
  }
}