*{
  margin: 0;
  padding: 0;
}
html,body{
  width: 100vw;
  overflow-x: hidden;
}
li{
  list-style: none;
}
a{
  text-decoration: none;
}
img{
  width: 100%;
}

/* 内容部分 */
.container{
  width: 100%;
}
.main{
  width: 70%;
  margin: 0 auto;
}

/* header */
header{
  width: 100%;
  height: 23.95833vw;
  background: url('../images/ban.jpg') no-repeat;
  background-size: cover;
  position: relative;
}
.header_txt{
  width: 33.8vw;
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.header_logo{
  position: absolute;
  left: 2.60416vw;
  top: 2.08333vw;
}
.header_logo img{width:200px;}

/* nav */
nav{
  width: 100%;
  background: #cc0000;
  text-align: center;
}
nav ul{
  width: 70%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
}
nav a{
  width: 20%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
nav li{
  padding: 1.04166vw 0;
  color: white;
  font-size: 1.04166vw;
}
nav a:hover{
  cursor: pointer;
}

/* footer */
footer{
  width: 100%;
  background: #cb0e0e;
}
.f_top,
.f_center,
.f_btm{
  width: 70%;
  margin: 0 auto;
}
.f_top{
  padding-top: 2.5vw;
  padding-bottom: 2vw;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.f_email{
  font-size: 15px;
  width: 10em;
  text-align: center;
  display: flex;
  justify-content: space-between;
}
.f_email span{
  color: #e0a2a3;
}
.f_email {position: relative;}
.email_msg{width: 250px; position: absolute; color: white; top: -25px; left: -50px; transition: 0.5s; opacity: 0;}
#email1:hover #email_msg1,#email2:hover #email_msg2{opacity: 1; transition: 0.5s;}
.email_bg{
  width: 3em;
  height: 3em;
  border-radius: 50%;
  margin: 0 auto;
  margin-bottom: 0.52083vw;
  background: #f0b7b7;
  position: relative;
}
.email_bg img{
  width: 50%;
  height: 40%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.f_center{
  padding-bottom: 2.60416vw;
  display: flex;
  align-items: flex-end;
  position: relative;
}
.f_center div:first-child{
  width: 11em;
}
.f_center ul{
  margin-left: 1.5vw;
  color: #fefefe;
}
.f_center li{
  line-height: 1.5;
  padding: 0.5em 0;
}
.f_c_logo{
  position: absolute;
  right: 0;
}
.f_c_logo img{
  width: 10em;
}
.f_c_logo a:last-child img{
  width: 6em;
}
.f_c_logo a:first-child{
  padding-right: 1.5625vw;
}
.f_btm{
  color: #fefefe;
  padding: 2.60416vw 0;
  border-top: 1px solid #db5757;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.f_btm .f_btm_cont{
  display: flex;
  justify-content: space-between;
}

/* 党史天天学4图片 */
.study_img{
  margin-top: 1.5625vw;
  margin-bottom: 5.20833vw;
  display: flex;
  justify-content: space-around;
  text-align: center;
}
.study_img p{
  width: 100%;
  color: #ffe9ad;
  font-weight: bold;
  z-index: 1;
}
.study_img a{
  width: 23%;
  height: 7.8125vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: 0.3s ease-out;
  background-repeat: no-repeat;
  background-size: cover;
}
.s_img-1{
  background-image: url(../images/1.png);
  background-repeat: no-repeat;
  background-size: cover;
}
.s_img-2{
  background-image: url(../images/2.png);
  background-repeat: no-repeat;
  background-size: cover;
}
.s_img-3{
  background-image: url(../images/3.png);
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
.s_img-3 .shadow{
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}
.s_img-4{
  background-image: url(../images/4.png);
  background-repeat: no-repeat;
  background-size: cover;
}


/* 标题 */
.icon_title{
  display: flex;
  align-items: center;
  font-size: 16px;
}
.icon_title span{
  background: #cc0000;
  display: inline-block;
  width: 2em;
  height: 2em;
  position: relative;
}
.icon_title h2{
  padding-left: 0.52083vw;
  color: #cc0000;
}
.icon_title span img{
  width: 55%;
  height: 55%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
/* 重要精神，工作动态 公用样式 */
/* 标题 */
.s-w_title .icon_title{
  padding: 2.34375vw 0;
  border-bottom: 1px solid #e6e6e6;
}
/* 内容标题列表样式 */
.cont_title_item,
.cont_title_item ul,
.cont_title_item li{
  width: 100%;
}
.cont_title_item .red_dot{
  color: red;
  text-align: center;
  font-size: 1.5625vw;
  padding: 0 0.52083vw;
}
.cont_title_item li{
  padding: 1.04166vw 0;
  border-bottom: 1px solid #e6e6e6;
  position: relative;
}
.cont_title_item .cont_title{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.cont_title_item .cont_date{
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}
.cont_title_item .cont_title,
.cont_title_item .cont_date{
  color: black;
}
.cont_title_item li:hover span{
  color: red;
  transition:all 0.3s ease-out;
}
.cont_title_item li:hover{
  border-bottom: 1px solid red;
  transition:all 0.3s ease-out;
}
/* 分页 */
.page_nav{
  padding-top: 4.16666vw;
  padding-bottom: 5.20833vw;
}
/* 内容面板 */
.panel_top{
 //  text-align: center;
}
.panel_top h1{
  padding-top: 3.64583vw;
  padding-bottom: 1.5625vw;
}
.panel_top #msg-source{
  margin-right: 1.30208vw;
}
.p_t_title div:last-child{
  padding-bottom: 0.52083vw;
}
.p_t_cont{
  width: 100%;
  padding: 2.60416vw 0;
  border-top: 1px solid #c0c0c0;
  border-bottom: 1px solid #c0c0c0;
}
.p_t_cont div{
  line-height: 2;
}
/* 内容面板切换栏 */
.cont_panel .panel_btm{
  padding-top: 2.34375vw;
  padding-bottom: 7.8125vw;
  display: flex;
  justify-content: space-between;
}
.cont_panel .panel_btm a{
  color: black;
}
.panel_btm .btn{
  border: 1px solid #c9c9c9;
  padding: 0.78125vw 2.08333vw;
}
.panel_btm .btn:hover{
  background: red;
  color: white;
  transition:all 0.3s ease-out;
}
.panel_btm .back{
  padding-top: 0.78125vw;
}
.panel_btm .back:hover{
  color: red;
  transition:all 0.3s ease-out;
}

@media  screen and (max-width: 1366px) {
  .main{
    width: 85%;
  }
  
  .f_center{
    font-size: 14px;
  }
}

@media screen and (max-width: 980px) {
  /* header */
  header,nav,.container,footer{
    width: 100%;
  }
  header{
    height: 23.97959vw;
  }
  /* nav */
  nav ul{
    width: 90%;
  }
  nav li{
    font-size: 14px;
    padding: 5px 0;
  }
  nav a{
    width: 25%;
  }
  /* 内容 */
  .main{
    width: 90%;
    margin-bottom: 8vw;
  }
  .header_logo img{
    width: 30vw;
  }
  /* footer */
  footer{
    font-size: 10px;
  }
  .f_top, .f_center, .f_btm{
    width: 90%;
  }
  .f_top{
    padding: 6vw 0;
  }
  .f_email{
    font-size: 12px;
    padding-left: 10%;
  }
  .f_center{
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
  }
  .f_center div:first-child{
    width: 8em;
  }
  .f_center ul{
    width: 60%;
    margin-left: 2em;
  }
  .f_center li{
    padding: 0;
  }
  .f_center .f_c_logo{
    position: static;
    width: 100%;
    margin-top: 4vw;
  }

  .f_c_logo{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }
  .f_c_logo img{
    width: 10em;
  }
  .f_c_logo a:last-child img{
    width: 6em;
  }
  .f_btm_cont{
    flex-direction: column;
    text-align: center;
  }
  .f_btm_cont div {
    padding: 0.5vw 0;
  }
  .icon_title h2{
    font-size: 18px;
  }
  .cont_title_item .red_dot{
    font-size: 10vw;
    padding: 0 2vw;
  }
  .cont_title_item li{
    padding: 3vw 0;
    font-size: 13px;
  }
  .cont_title_item .cont_title{
    width: 70%;
  }

  .p_t_title h1{
    font-size: 18px;
  }
  .p_t_title span{
    font-size: 14px;
  }
  .p_t_cont .p_t_img{
    width: 90%;
  }
  .cont_panel .panel_btm{
    font-size: 13px;
  }
  .panel_btm .btn{
    padding: 5px 10px;
  }
}