/* 登陆注册模块 */
.cardlist{
  width: 100%;
  display: flex;
  justify-content: center;
}
.cardlist span{
  margin: 30px;
  font-weight: bold;
  font-size:24px;
  padding: 10px 0px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all .3s;
}
.cardlist span:hover,.cardlist span.active{
  color: #950d04;
  border-bottom: 3px solid #950d04;
}
/* 地图模块 */


#nwscontainer {
  width: 100%;
  max-width: 100vw;
  min-height:800px;
}
.mapaddress{
    display: flex;
    flex-direction: column;
}
.mapaddress dl{
    display: flex;
    padding: 20px 0px;
   
    align-items: center;

}
.mapaddress dl dt{
    width: 150px;
    text-align: left;
    margin-right: 10px;
    color: #af251b;
    font-weight: bold;
    font-size: 1.2rem;
    background: url("./images/rsj.png") no-repeat left center;
    background-size: 20px;
    padding-left: 30px;
}
.mapaddress dl dd{
    width: calc(100% - 150px);
    line-height: 2;
    display: flex;
    flex-wrap: wrap;
}
.mapaddress dl dd span{
    padding: 8px;
    cursor: pointer;
    transition: all .3s;
}
.mapaddress dl dd span:hover,.mapaddress dl dd span.active{
    color: #950d04;
    font-weight: bold;
    transform: scale(1.1);
    
}
.BMap_bubble_content p{
    line-height: 2;
    color: #4f4f4f!important;
}
.nmapa{
    color: #950d04!important;
    font-weight: bold;
}
/* 列表卡片 */
#nwscard{
  width: 100%;
  min-height: 200px;

  display: flex;

  flex-wrap: wrap;
}
.carditem{
    width: 30%;
   margin-top: 10px; 
    margin-bottom: 25px; 
    padding: 20px;
    cursor: pointer;
    line-height: 2;
    border-radius: 5px;
     transition: all 0.4s ease-in-out;
    background-color: #f8f8f8;
    box-sizing: border-box;
    margin-right: 20px;


}
.carditem:hover{
  transform: translateY(-10px);
  /* 增加阴影 */
  background-color: rgba(149,13,4,1);
  color: #fff;
     box-shadow: 0px 1px 13px -5px #dfdfdf;
}
.carditem:hover .title{
  color: #950d04;
  color: #fff;

}
.carditem .title{
  font-weight:bold;
  font-size:16px;
  
}


/* 登陆注册 */
.nwslogin {
  width: 100%;
  min-height: 500px;
  background: url(./images/login_bg.jpg) no-repeat top center;
  background-size: cover;
}

.login-container {
  max-width: 500px;
  box-sizing: border-box;
  padding: 0px 0px;
}
.login_title {
  width: 100%;
  font-size: 1.5rem;
  padding-bottom: 20px;
}
.nwsloginbtn {
  color: #fff;
  background: #950d04 !important;
  width: 50% !important;
  margin-top: 20px;
}
/* 格式化layui */
.layui-form-checked[lay-skin="primary"] > i {
  background-color: #950d04 !important;
  border: #950d04 !important;
}
.layui-form-checkbox[lay-skin="primary"]:hover > i {
  border-color: #950d04 !important;
}
@media screen and (max-width: 1350px) {
  .login-container {
    width: calc(100% - 40px);
    margin: 0px 20px;
  }
  .nwsloginbtn {
    width: 100% !important;
  }
}

/* Path: nws.css */
@media screen and (max-width: 768px) {
    .carditem{
      width: 96%;
      margin: 16px auto;
    }
    .mapaddress dl{
        flex-direction: column;
        
    }
    .mapaddress dl dt{
        width: 150px;
        text-align: center;
     
    }
    .mapaddress dl dd{
        width: 100%;
        box-sizing: border-box;
        padding: 10px;
    }
}
    

