ul,p{
    margin: 0;
    padding: 0;
}
li{
    list-style: none;
}
a,html{
    color: #333;
}
a:hover{
    text-decoration: none;
    color: #0069d9;
}
nav{
    background-color: #333;
}
nav > div{
    width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    height: 60px;
    align-items: center;
}
nav a{
    color: #fefefe;
    
}
nav ul{
    display: flex;
    margin: 0;
}
nav a:hover{
    text-decoration: underline;
}
nav ul a{
    margin-right: 15px;
}
nav section a{
    margin-left: 15px;
}
header{
    /* width: 1200px;
    margin: 0 auto; */
    /* border-bottom: 1px solid #ccc; */
    box-shadow: 0 1px 1px 0 #ccc;
}
header .nav{
    width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
header .nav > div{
    display: flex;
    height: 100px;
    align-items: center;
}
header .nav ul{
    display: flex;
}
header .nav a{
    display: block;
}
header .nav img{
    display: block;
}
header .nav li a{
    margin-right:15px;
}
header .nav section{
    display: flex;
    justify-content: flex-end;
    height: 100px;
    align-items: center
}
header .nav input{
    width: 200px;
    height: 40px;
    outline: none;
    border: 1px solid #aaa;
    border-right: none;
    padding-left: 10px;
    font-size: 14px;
}
header .nav section > a{
    display: block;
    width: 40px;
    height: 40px;
    border: 1px solid #0069d9;
    background-color: #0069d9;
    color: #fff;
    font-size: 14px;
    line-height: 40px;
    text-align: center;
}
/* *********** */
.towh{
    margin: 20px 0;
    padding-left: 20px;
    font-size: 24px;
    position: relative;
}
.bre_towh{
    background-color: transparent;
}
.towh::before{
    content: "";
    display: block;
    position: absolute;
    width: 4px;
    height: 20px;
    top: 6px;
    left: 0;
    background-color: red;
}
.towh > a{
    position: absolute;
    font-size: 14px;
    color: #aaa;
    bottom: 0px;
    right: 0px;
}
/* ******** */
.bre{
    margin: 8px auto;
    width: 1200px;
}
.bre .bre_towh{
    margin: 0;
    position: relative;
}
/* ************ */
main{
    width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
.cont{
    width: 880px;
}
.list{
    width: 300px;
}
.ad {
    position: relative;
    margin: 15px 0;
}
.ad span{
    position: absolute;
    padding: 2px 4px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #ddd;
    top: 0;
    right: 0;
    font-size: 12px;
}
.ad::after{
    content: "广告";
    font-size: 12px;
    position: absolute;
    padding: 2px 4px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #ddd;
    bottom: 0;
    right: 0;
}
.ad img{
    display: block;
    width: 100%;
}
.con_list li{
    display: flex;
    padding: 20px 0;
    /* align-items: center; */
    transition: all .2s linear;
    position: relative;
}
.con_list li:hover{
    box-shadow: 5px 5px 5px 0 #666;
    left: -2px;
}
.con_list li > a{
    display: block;
    width: 250px;
    height: 150px;
   transition: all .2s linear;
}
.con_list li > a:hover{
    background-size: 110% 110%;
}
.con_list li > a + div{
    width: calc(100% - 250px);
}

.con_list li > div{
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* height: 100%; */
}
.con_list li h2 a{
    display: block;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    font-size: 20px;
    font-weight: 700;
}
.con_list li p{
    font-size: 14px;
    text-indent: 2em;
    line-height: 30px;
}
.con_list li section{
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}
.con_list li section time{
    color: #666;
}
/* ********** */
.list_o > li{
    display: flex;
    margin-top: 20px;
}
.list_o > li > a{
    display: block;
    width: 60px;
    height: 60px;
   transition: all .2s linear;
}
.list_o > li > a:hover{
    background-size: 110% 110%;
}
.list_o > li:first-child{
    display: block;
}
.list_o > li:first-child > a{
        width: 100%;
}

.list_o > li h4 a,.list_t li a{
    font-size: 14px;
    font-weight: 700;
    display: block;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.list_o > li p{
    font-size: 12px;
    overflow:hidden;
    text-overflow:ellipsis;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    color: #666;
    height: 39px;
}
.list_o > li section{
    padding-left: 10px;
    width: calc(100% - 60px);
}
.list_t li a{
    font-weight: 400;
    line-height: 35px;
    border-bottom: 1px solid #bbb;
}

.pag{
    margin-top: 30px;
}

footer{
    border-top: 1px solid #bbb;
    padding: 60px;
    text-align: center;
    font-size: 14px;
    margin-top: 30px;
}
footer a{
    margin: 0 10px;
}
footer p{
    margin: 10px 0;
}
footer a:hover{
    color: #333;
    text-decoration: underline
}
footer img{
    margin: 0 10px;
}
.return{
    position: fixed;
    bottom: 100px;
    right: 100px;
    background-color: #fff;
    display: none;
}
