@charset "utf-8";
/**
 * YZMCMS 内容管理系统(yzm-cms轻量级开源CMS)
 * @author           袁志蒙  
 * @license          http://www.yzmcms.com
 */
/* CSS Document */
/* 手机端css样式 */

*{padding:0px;margin:0px;box-sizing:border-box;}
body{font-size:14px;font-family:Tahoma,Arial,sans-serif;line-height:22px;background:#f8f8f8;}
div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td{margin:0px;padding:0px;}
table{border-collapse:collapse;}
a,img{border:0;}
ol,ul{list-style:none}
a{color:#666;text-decoration:none;}
a:hover{color:#2196f3;}
.clearfix{clear:both;width:0px;height:0px;overflow:hidden;}
.pic{line-height:0px;}
.right{float: right;}
/* 网站容器 */
.yzm-container{margin:auto;width:100%;max-width:640px;background:#fff;padding-top: 50px;}

/*网站头部 */
.yzm-header{height:40px;background:#2196f3;box-shadow: 0px 2px 3px #a6a6a6;margin-bottom:10px;position:fixed;top: 0;left: 0;right:0;z-index: 1;width: 100%;max-width:640px;margin:0 auto;}
.yzm-header img{height:20px;margin-top:10px;cursor:pointer}
.yzm-header h1,.yzm-header h2{width:70%;height:40px;line-height:40px;font-size:18px;color:#fff;text-align:center;margin:0 auto;text-overflow: ellipsis;white-space: nowrap;overflow: hidden;}
.yzm-menu{float:left;margin-left:2%;}
.yzm-search{float:right;margin-right:3%}

.yzm-nav {position:relative;height:100%;overflow: auto;z-index: 2; background-color: #2196f3;}
.yzm-nav ul{margin-top: 10px; line-height: 40px;}
.yzm-nav ul li{}
.yzm-nav ul li a { display: block; padding: 0 20px; color: #fff; text-decoration: none;transition:all 0.5s}
.yzm-nav ul li a:hover,.yzm-nav ul li .current { background-color:#1784db}
.yzm-search-form{padding:10px 0;text-align:center;background:rgba(0,0,0,.3);display:none}
.yzm-input{height:30px;line-height: 30px;border-radius: 3px;border:1px solid #bbb;outline: none;width:60%;padding:5px 10px;font-size: 12px;background:#fff}
.yzm-submit{border:none;background:#2196f3;color:#fff;height:30px;line-height:30px;width:80px;text-align:center;cursor:pointer;border-radius: 3px}

/* 焦点图*/
.yzm-toppic{background:#000;height:250px;overflow:hidden;}
.yzm-imgslidemain{clear:both;height:250px;position:relative;overflow:hidden;}
.yzm-imgslidemain img{width:100%;height:250px;}
.yzm-imgslide{clear:both;}
.yzm-imgslide li{overflow:hidden;width:100%;position:relative}
.yzm-imgslide li p {background:rgba(0,0,0,0.65);position:absolute;bottom:3px;height:35px;line-height:35px;display:block;color:#fff;width:100%;overflow:hidden;text-align:left;text-indent:1em;}
.yzm-navslide{display:block;bottom:0;right:10px;z-index:999;position: absolute;height:30px;}
.yzm-navslide .i_point{width:8px;height:8px;display:block;float:left;background:#2196f3;border-radius:100%;margin-top:10px;margin-right:10px;}
.yzm-navslide .active{background:#fff;}  

/*主要内容*/
.yzm-news-list ul li{border-bottom: 1px solid #eeeeee;padding:8px 0;margin:0 5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.yzm-news-list ul li:last-child:{border-bottom:0;}
.yzm-title{background:#eee;font-weight:normal;height:40px;line-height:40px;border-top:#2196f3 2px solid;font-size:16px}
.yzm-title a{color:#123261;}
.yzm-news-img{overflow:hidden;margin-bottom:10px;}
.yzm-news-img ul li{width:50%;float:left;height:175px;padding:10px 10px;text-align:center;}
.yzm-news-img ul li img{width:100%;height:120px;}
.yzm-news-img ul li p{color:#444;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}

.yzm-back{height:35px;width:35px;position:fixed;bottom:50px;right:10px;z-index:999}
.yzm-back a{display: table-cell;vertical-align:middle;text-align: center;height:35px;width:35px;background:#2196f3;}
.yzm-back img{height:25px;width:25px;vertical-align:middle;}

/* 底部导航 */
.yzm-footer-nav{line-height:35px;border-top:3px solid #2196f3;background:url(../images/fx.png) 0 28px repeat-x;overflow:hidden;background-color:#efefef;margin-top:10px;}
.yzm-footer-nav ul li {float:left;width:25%;text-align:center;background:url(../images/mxian.png) no-repeat right;height:35px;}
.yzm-footer-nav ul li a{line-height:35px;height:35px;font-weight:normal;font-size:16px;color:#666;display:block;}
.bottom-nav {
    display: flex;
    justify-content: space-around; /* 均匀分布 */
    align-items: center; /* 垂直居中 */
    background-color: #333; /* 背景颜色 */
    position: fixed; /* 固定在页面底部 */
    bottom: 0;
    width: 100%;
    height: 50px; /* 高度 */
    z-index: 1000; /* 确保它在其他内容之上 */
}
 
.nav-item {
    color: white; /* 文字颜色 */
    text-decoration: none; /* 去除下划线 */
    padding: 10px; /* 内边距 */
    transition: background-color 0.3s; /* 过渡效果 */
}
 
.nav-item:hover {
    background-color: #555; /* 鼠标悬停时的背景颜色 */
}
.nav-item.active {
    background-color: #007BFF; /* 活动链接的背景颜色 */
}

/* 网站底部 */
.yzm-footer{background:#efefef;text-align:center;color:#333;line-height:30px;}
.yzm-footer p{font-size:14px;color:#666}




/* ----------------------手机端个人中心模块--------------------- */

/* 页面头部 */
.head{width: 100%;height:30px;line-height:40px;padding:5px;}
.yzm_member_container{width: 100%;height:100%;}

/* 页面中部 */

/* 个人资料*/
.main_right{width:100%;padding:5px;}
.yzm-member-center{width:100%;text-align:center;display:flex;}
.yzm-member-left{width: 50%;height:220px;padding-top: 25px;}
.yzm-member-right{width: 50%;text-align:left;}
.yzm-item{width:20%;}
/* 侧边栏模块*/
.main_left{width:100%;padding:5px;}
.main_left dl{border:1px solid #2196f3;margin-bottom:10px;}
.main_left dl dt{width:100%;height:30px;line-height: 30px;background-color:#2196f3;color:white;font-size:16px;padding-left: 10px;}
.main_left dl dd{width:100%;padding:5px;display:flex;}
.main_left dl dd a{width:20%;padding:5px;text-align:center;}

/* 页面底部 */


/* ----------------------手机端家谱中心模块--------------------- */

/* 页面中部 */
.yzm-btn{
	padding: 4px 12px;
	display: inline-block;
    box-sizing: border-box;
    cursor: pointer;
    text-align: center;
    font-weight: 400;
    white-space: nowrap;
    vertical-align: middle;
    -moz-padding-start: npx;
    -moz-padding-end: npx;
    border: solid 1px #ddd;
    background-color: #fff;
    width: auto;
    -webkit-transition: background-color .1slinear;
    -moz-transition: background-color .1s linear;
    -o-transition: background-color .1s linear;
    transition: background-color .1slinear;
}
.yzm-btn-primary{color: #fff;
    background-color: #5a98de;
    border-color: #5a98de;}
.radius{border-radius: 4px;}
