/* 清除默认边距 */
*{
    margin: 0;
    padding: 0;
}

/* 整个网页添加背景图片 也可以设置颜色*/
body{
background: rgb(250, 219, 191);
position:relative;
height:auto;
min-height:100%;
}
 
.box{width:100%}

.box>.box-in{
   width:1200px;
   position: relative;
   margin:0 auto 
}


 /*header设置一个外边距 留出页面最上面的距离 */
.header{
    /* height: 900px;   这里设置高度会导致下面的div跟上一个div之间有一段空隙*/
     /*margin-top: 15px;*/}

 


/* logo部分样式 */
.logo{
    width:100%;
    height: 120px;
    background-color: #cf060a;
}


/* 导航条样式 */

.nav{
   width: 100%;
   height: 120px;
   background-color:#e92c2f;
   margin:0 auto; 
}


/* 清除a标签的样式 否则默认是蓝色的会很丑*/

a{
    text-decoration: none;
    color: #101111ce;
}
    


/* 导航条部分 */


.nav>ul{
    margin-left: 310px;  /* 这块想要居中的 但未生效 */
    height: 90px;
}


.nav>ul>li{

    height: 70px;
    padding: 0 15px;
    /* background-color: #e46f71; */
    float: left;
    list-style:  none; /* 否则会有那个小圆点*/
 
}


.nav>ul>li>a{
    font-size: 25px;
    color: white;
    line-height: 70px; /* 等于导航条高度*/

}
/* logo图片设置 */
.header>img{
    width:320px;
    height:60px;
    float: left;
    margin-left: 35px; /* 外边距设置*/
}

/* logo 依法治校 专题网标签设置 */
.logo>p{
font-size: 56px;
margin-left: 600px; 
color:white;  
font-family: "华文行楷";
}
/* 设置导航条下方图片区域格式 先设置大的div 再设置img格式 */

.header>.pic{
    width: 100%;
    height: 80px;
    background-color: #291212;
} 



.header>.pic>img{
    width: 100%; 
    height: 90px;
}



/* 版心部分 */

.container{
    width:80%;
    height:auto;
    margin:0 auto; 
    margin-top:60px; /* margin top 要写在 margin：0 auto下面*/
    /* background-color: rgb(193, 221, 221); */
    display: flex; /*父元素这样设置 使得子元素left right 可以水平排列*/

}



/* 标题部分 left */
.container>.txt>.title{
    width: 150px;
    height: 60px;
    font-size: 25px;
    font-weight: 700;  
    float:left;
    background-color: rgb(170, 9, 9);
    color: white;
    padding: 10px 20px;/*10代表上下，20左右*/
    box-sizing: border-box;
    margin-left: 20px;
}
 

/* 正文/列表部分 left */

.container>.txt>ul{
        width: 100%;
        height: 350px;
        font-size: 18px;
        font-weight: 470;
        /* background-color: rgb(215, 230, 16); */
        list-style: none;  /* 去掉li格式自带的原点 */
        padding: 0 15px;
        box-sizing: border-box;
        overflow: hidden; /*设置以后 在下面的list调上距的时候不会一起变 */
        line-height:40px;
}
 
.container>.txt>ul>li{  
    color:rgb(10, 10, 10); 

}
.container>.txt>ul>li:nth-of-type(1){/*第一个li距离顶端的距离*/
    margin-top: 15px;
    }

    .container>.txt>ul>li a{
        text-decoration: none;
        font-size:20px;
    font-weight: 500;
    }
    

    .container>.txt>ul>li>span{
        color:rgb(184, 8, 8);
        font-size: 14px;
        font-weight: 400; 
                right: 0;
                bottom: 0px;
                left: 0;
                margin: auto; 
            margin-bottom: 10px;}
        
/* 正文/列表部分 right

.container>.right>ul{
    width: 90%;
    height: 900px;
    font-size: 18px;
    font-weight: 470;
    border-bottom: 1px red;
    /* background-color: rgb(215, 230, 16);  
    list-style: none;  /* 去掉li格式自带的原点  
    /* padding: 0 15px;  */
     /*overflow: hidden;设置以后 在下面的list调上距的时候不会一起变  
    line-height:40px;/*行间距 
}

.container>.right>ul>li{  
color:rgb(10, 10, 10); 
}
.container>.right>ul>li a{
    text-decoration: underline;
    font-size: 16px;
font-weight: 500;
}

 
.container>.right>ul>li:nth-of-type(1){/*第一个li距离顶端的距离 
margin-top: 15px;
}

 

.container>.right>ul>li:hover{/* 光标移过去会加上下划线 变色 
    color:#dd0c05;
}


        */



/*底部*/


.footer{
    width: 100%;
    height: 280px;
    background-color: #eb6112;
    color: white;
    padding: 30px 90px;
    box-sizing: border-box;
    justify-content:space-between; 
    position:absoluted;
bottom:0;
}

.footer>.footer_top{
    width: 100%;
    height: 200px;
    background-color: #f19a67;
    color: white;
    padding: 30px 90px;
    box-sizing: border-box;
    display: flex;
}


.footer_top>.left{
    height: 100%;;
    width: 70%;   /* 左右的占比*/
    /* background-color: #307885; */
   
}

.footer_top>.right{
    height: 100%;;
    width: 30% ;  /* 左右的占比*/
    /* background-color: #e916e9; */
}

.footer_top>.left>.left_word{
width:50%;
height: 100%;
float:left;
}


.footer_top>.left>.left_word{
    width:50%;
    height: 100%;
    float:left;
    }


    /* p的字体要专门写一个来设置 img同理*/
    .footer_top>.left>.left_word p{
        font-size: 18px;
        line-height: 25px;
        }
    

    .footer_top>.rightPic{
        width:50%;
        height: 100%;
        float:right;
        /* background-color: #cf060a; */
        }

        .footer_top>.rightPic img{
           margin-top: 15px;
           margin-left: 145px;
        /* 为什么margin-right不生效呢*/    
            }

