*{
	margin: 0;
	padding: 0;
    box-sizing:border-box;
    -moz-box-sizing:border-box; /* Firefox */
    -webkit-box-sizing:border-box; /* Safari */
}
body{
	font-size: 12px;
	font-family: "Microsoft Yahei";
}
.myheader{   
    text-align: center;
    font-size: 18px;
    color: #fff;
    background: #72bf72;
    padding: 18px 0;}
ul,li{
	list-style: none;
}
/*img{width: 100%;}*/
a{ text-decoration:none;    
    background: transparent;
    -webkit-tap-highlight-color: transparent;
}
.text-hidden{overflow: hidden;text-overflow: ellipsis;white-space: nowrap;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.hide{display:none;}
.text-left{ text-align:left;}
.text-right{text-align:right;}
.fl{float: left;}
.fr{float: right;}

.clearfix:after{
		content:".";
		display:block;
		height:0;
		font-size:0;
		clear:both; 
		visibility:hidden;
		overflow:hidden;		
	}
.clearfix{*zoom:1;}
.ellipsis{ 
    white-space: nowrap; /* 确保文本在一行内显示 */
    overflow: hidden; /* 超出容器部分的文本将被隐藏 */
    text-overflow: ellipsis; /* 超出的文本显示为省略号 */
}
.indent{   margin-left: 2em;}
.left52px{ margin-left: 52px;}
.scalebig{ /* 放大 */
    transform: scale(1.1);
    opacity: 0.9;
}
 /* 头像右边的人名  */
.school-title{
	color: #7d7bf7;
    font-weight: normal;
}
/* 评论、表情 、配图*/
.btn-biaoqing{
	user-select: none;
    color: #00a0e9;
    font-size: 18px;
    cursor: pointer;
    margin-top: -3px;
    float: right;
    margin-left: 3px;  
}
.biaoqinglist{
    right: 0;
    position: absolute;
    border: 2px solid #aebd23;
    display: none;
    padding-left: 4px;
    width: 196px;
    background-color: white;
    z-index: 2;
}
.biaoqinglist span {
    font-size: 18px;
    font-weight: bold;
    margin-right: 3px;
    cursor: pointer;
}
.review-area-bottom{
	position: relative;
}
.review-area-bottom .checktop{
    display: none;
}
.real-appendimg{
	max-width: 20%;
	cursor:url(../img/zoomin.cur),zoom-in;
}
.zoombig{ 
	max-width: 100%;
	cursor:url(../img/zoomout.cur),zoom-out;
}
/* 博说、博文和news的6个配图 */
.zao-imgs form {
    float: left;
    border: 1px solid #ccc;
    width: 19%;
    font-size: 0;
    height: 260px;
    margin-right: 10px;
    margin-bottom: 10px;
}
.mb .zao-imgs form{
    height: 120px;
}
.zao-imgs form img {
    width: 100%;
    height: 100%;
    cursor: url(../img/zoomin.cur),zoom-in;
}

.appendwrap{
    position: absolute;
    width: 100%;
	background: #f5def0;
	display:none;
	z-index: 2;
    border-bottom: white 10px solid;
}
.appendwrap div{
	font-size: 0;
    overflow-y: scroll;
    height: 240px;
}
.appendwrap img{
	/* 4幅图是 width:23.75%; */
    width: 11.4%;
    max-height: 200px;
    margin: 1% 0 0 1%;
    background-color: white;
}
.appendbtn{
	height: 15px;
    margin-right:1px;
    cursor: pointer;
    margin-top: 2px;
    float: right;
}
.clearappendbtn{
    color: red;
    display: none;
    cursor: pointer;
    margin-top: 1px;
    float: right;
}
.appendwrap .otherimg{
	cursor: pointer;
	margin: 1%;    
	padding: 0 5px;
	color: white;
    background: #00a0e9;
    border: 1px solid #00a0e9;
    outline: 0;
}
.appendwrap .quit{
	cursor: pointer;
	color: white;
    background: red;
    border: 1px solid red;
    outline: 0;
	margin: 1%;
	padding: 0 5px;
	float: right;
}

/* 分享的公开范围 */
.zhuanoptions{
    position: absolute;
    left: 50%;
    margin-left: -57px;
    background: black;
    padding: 5px 10px 5px 0;
    color: white;
    width: 100px;
    z-index: 2;
    display: none;
}
.zhuanoptions .isprivate{
	vertical-align: -3px;
    zoom: 110%;
    margin: 0 0 0 2px;
}
.zhuanoptions .okzhuan{
    padding: 1px 5px;
    margin: 2px 10px;
    color: white;
    border: 0 none;
    outline: none;
    background-color:#00a0e9;
}
.zhuanoptions .quitzhuan{
    padding: 1px 5px;
    margin: 2px 0;
    color: white;
    border: 0 none;
    outline: none;
    background-color: red;
}

/* 导航条   */
    .tab {
        z-index: 1;
        position: sticky;
        top: 0;
        width: 100%;
        background: rgba(255, 105, 180, 0.5);
        box-sizing: border-box;
        padding: 8px 0;
        height: 62px;
        margin: 0 auto;
        color: white;
    }
    .tab .common-tab li a {
        color: white;
        cursor: pointer;
        user-select: none;
    }
    .tab #searchtext {
        background: none;
        color: white;
    }
    .tab #searchtext::placeholder{
        color: #999;
    }
.logo{	
    float: left;
}
.logo a{
    color: #d91777;
    line-height: 46px;
    font-weight: bold;
}
.logo img{height: 46px;
    margin-right: 2px;
    vertical-align: bottom;}


/* 广告图片  */
.banner img{width:100%;}

/* 搜索输入框  */
#login-register{
    float: right;
    text-align: center;
    height: 46px;
    line-height: 46px;
}
.mb .mb-struct{
    display: flex;
}

#searchtext{
    border: 1px solid #ec4899;
    border-radius: 0 26px 26px 0;
    margin: 0;
    padding: 0 10px 0 0;
    font-size: 12px;
    width: 70px;
    line-height: 26px;
    border-left: 0;
    height: 26px;
    vertical-align: middle;
}
.mb #searchtext{
    width: calc(100% - 166px);
}
#search-img{
    padding: 0 3px;
    border: 1px solid #ec4899;
    border-radius: 26px 0 0 26px;
    height: 26px;
    border-right: 0;
    cursor: pointer;
    vertical-align: middle;
}
#searchtext:focus{
	outline: none;
}
#login,#fabu{
    display: inline-block;
    border-radius: 26px;
    margin: 0;
    padding: 0 13px;
    line-height: 26px;
    color: #f7f7f7;
    background: #ec4899;
    border: 1px solid #ec4899;
    outline: 0;
    cursor: pointer;
}
#login:hover,
#fabu:hover{
    background-color: rgb(219 39 119 / var(--tw-bg-opacity, 1));
}

/* 头像 */
#header-img,.review-img{
    border: 0;
    border-radius: 50%;
    width: 46px;
    height: 46px;
}
/* 导航栏 */
.menubg {
    position: absolute;
    top: 0;
    z-index: -1;
    transition: all .4s;
    user-select: none;
    height: 46px;
}
.heart {
    margin: 12px auto 0;
    width: 32px;
    height: 32px;
    background: #d91777;
    position: relative;
    transform: rotate(45deg);
}
.heart::before {
    content: '';
    width: 32px;
    height: 16px;
    background: #d91777;
    position: absolute;
    left: 0;
    top: -15px;
    border-radius: 16px 16px 0 0;
}
.heart::after {
    content: '';
    width: 16px;
    height: 32px;
    background: #d91777;
    position: absolute;
    left: -15px;
    top: 0;
    border-radius: 16px 0 0 16px;
}

/* 点击头像 */
#user-name-menu{
    position: absolute;
    right: 0;
    top: 60px;
    width: 84px;
    padding: 8px 0;

    display: none;
    z-index: 999;
    text-align: left;
    white-space: nowrap;

    background: #fff;
    box-shadow: 0 2px 10px 0 rgba(0,0,0,.15);
    -webkit-box-shadow: 0 2px 10px 0 rgba(0,0,0,.15);
    -moz-box-shadow: 0 2px 10px 0 rgba(0,0,0,.15);
    -o-box-shadow: 0 2px 10px 0 rgba(0,0,0,.15);
    border-radius: 12px;
    border: 1px solid #d7d9e0
}
.user-menu-item {
    color: #222;
    text-decoration: none;
    display: block;
    margin: 3px 16px 3px 16px;
    color: #333;
}
.user-menu-item:visited {
    color: #626675
}
.user-menu-item:hover {
    color: #315efb;
    text-decoration: none
}
/* 管理员退出登录 */
.admin-logout{
    background: rgb(64, 158, 255);
    cursor: pointer;
    border: 0;
    padding: 0px 6px;
    border-radius: 3px;
    margin-left: 3px;
    color: #ffffff;
    font-size: 12px;
    line-height: 20px;
    height: 20px;
}

.color333{
    color:#333;
}
.red{
    color: red;
}
/* 搜索区 */
#search-area{
    text-align: center;
    margin: 18px auto 14px; 
}
@-moz-document url-prefix()    /* Firefox */
{
    #searchtext
    {
        padding: 0 10px;
    }
    #login,#fabu{
        vertical-align: top;
    }
    #login-register{
        margin-left: 56px;
    }
}

/* 详情页的显示文章内容 */
.textarea-read{
    width: 100%;
    border-width: 0;
    outline: none;
    resize: none;
    background-color: #f8feff;
}
/* 导航条 */
.common-tab{
    position: relative;
}
.mb .common-tab{
    width: 100%;
    display: flex;
    justify-content: space-around;
}
.common-tab li{
	width: 58px;
    float: left;
    text-align: center;
    line-height: 46px;
    font-size: 16px;
}
.mb .common-tab li{
	width: auto;
    float: none;
}
.common-tab li a{
	color:black;
	 
}

.mb .logo{
    padding: 0;
}
.mb #login-register{
	float: none;
	margin-top: 0; 
	margin-left: 0;
    display: flex;
    align-items: center;
    flex-grow: 1;
}
.mb #searchtext {
    flex-grow: 1;
    width: auto;
}
.mb #login, .mb #fabu{
    width: 50px;
    height: 26px;
    padding:0;
}
/* footer的样式 */
.footer{
    padding: 12px 0;
    background: linear-gradient(0, #cecece, #fff);
}
.footer p{
    color: #aaa;
    line-height: 18px;
    text-align: center;
}
.footer a:visited{color:#aaa; text-decoration:none}
.footer a{color:#aaa; text-decoration:none}
.footer a:hover{color:red;text-decoration:underline}

/* 全屏加载loading */
#loader{
    position: fixed;
    height: 100px;
    width: 100px;
    margin-left: -50px;
    margin-top: -50px;
    left: 50%;
    top: 50%;
}
#loader::before, #loader::after{
    content:"";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 6px solid transparent;
    border-top-color:#409eff;
    animation: spin 1.5s linear infinite, gradientColor 6s ease infinite; /* 应用两个动画：旋转和颜色渐变，无限循环 */
}

#loader::after{
    border-top-color:  #ff5733;
    animation-delay: -0.75s;
    transform: scale(0.8);
}
@keyframes spin {
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}
@keyframes gradientColor {
    0%,100%{
        border-top-color:#409eff;
    }
    50%{
        border-top-color: #9b59b6;
    }
}
/* 下拉滚动  */
.loading{
    line-height: 30px;
    height: 30px;
    text-align: center;
}
.loading img{
    vertical-align: -9px;
    height: 30px;
}
/* 按钮禁止的背景动画 */
@-webkit-keyframes stripe {
    0% {
      background-position: 1em 0;
    }
    100% {
      background-position: 0 0;
    }
}
@keyframes stripe {
    0% {
      background-position: 1em 0;
    }
    100% {
      background-position: 0 0;
    }
}

/* 残缺截图思想：动画实现完整浏览，但是截图有残缺部分 */
.item{
    float: left;
    font-size: 0;
    user-select: none;
}
.padding1px{
    padding: 3px;
    box-sizing: border-box;
    width: 25%;
}
.img-wrap,
.item-img-wrap,
.item6-img-wrap{
    position: relative;
    font-size: 0;
    overflow: hidden;
}
.img-wrap img{
    width: 256px;
    aspect-ratio:1;  /* 高度等于宽度 */
    border-radius: 50%;

}
.item-img-wrap img{
    width: 256px;
    aspect-ratio:1;  /* 高度等于宽度 */
    border-radius: 3px;
}
.item6-img-wrap img{
    width: 170px;
    aspect-ratio:1;  /* 高度等于宽度 */
    border-radius: 50%;
}

.fade-wrap{
    font-size: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -19px;
    margin-top: -8px;
    pointer-events: none;
}  
.one-img{
    height: 100%;
    width: 100%;
}
@keyframes  fade1 {
0% {
    transform: rotate(0deg) translateX(-20px); /* 向右移动 */
}
50% {
    transform: rotate(360deg) translateX(0px); /* 向右移动 */  
}
100% {
    transform: rotate(720deg) translateX(-20px); /* 向右移动 */
}
}
@keyframes  fade2 {
0%{
    opacity: 0; 
    transform: rotate(0deg);
}
50% {
    opacity: 1; /* 在动画的中间点完全透明 */
    transform: rotate(360deg); 
}
100% {
    opacity: 0; 
    transform: rotate(720deg);
}
}
@keyframes  fade3 {
0% {
    transform: rotate(0deg) translateX(20px); /* 向右移动 */
}
50% {
    transform: rotate(360deg) translateX(0px); /* 向右移动 */  
}
100% {
    transform: rotate(720deg) translateX(20px); /* 向右移动 */
}
}
.incompletefade1{
    color: #eee;
    user-select: none;
    display: inline-block;
    animation: fade1 2.3s infinite; 
}
.incompletefade2{
    color: #eee;
    user-select: none;
    margin: 0 1px;
    display: inline-block;
    animation: fade2 2.3s infinite;
}
.incompletefade3{
    color: #eee;
    user-select: none;
    display: inline-block;
    animation: fade3 2.3s infinite; /* 往返动画 */
}
    