/*
Theme Name: justnews（子主题）
Theme URI: https://www.wpcom.cn/themes/justnews.html
Template: justnews
Author: zke
Author URI: https://www.wpcom.cn
Description: 这是一款基于 justnews 的子主题，由 zke二次开发并针对中文用户做了特别优化，更美观，更快速。如果您需要进行主题文件修改，请在此子主题的基础上进行修改【提示：可复制原主题文件到此子主题目录中】。新增了编辑器的模块、elementor等插件的样式适配、门店功能和一些定制化修改，需要配合插件wpjam使用。
Tags: responsive-layout,one-column,two-columns,three-columns,four-columns,left-sidebar,right-sidebar,custom-background,custom-colors,featured-images,full-width-template,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready
Version: 1.4
Updated: 2022-01-25 18:14:00
*/
/**小米字体**/
/*@import url("https://font.sec.miui.com/font/css?family=MiSans:400,450:Chinese_Simplify,Latin&display=swap");*/

/*@font-face {*/
/*font-family: "MiSans", sans-serif;*/
/*font-weight: normal;*/
/*font-style: normal;*/
/*}*/
/**:not([class*="icon"]):not(i) {*/
/*font-family: "MiSans" !important;*/
/*}*/






.zmdi-folder{
    color: #4986E7!important;
}

.zke-wooexcerpt{
    padding: 0 24px!important;
    font-size: 12px;
    font-weight: 400;
    line-height: 24px;
    display: -webkit-box!important;
    display: -moz-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    max-height: 72px;
    color: #a9a9a9!important;
    text-align: center!important;
}

.woocommerce-loop-product__title{
    text-transform: uppercase!important;
    height: 40px!important;
    line-height: 40px!important;
    font-weight:bold!important;
    font-size: 16px!important;
    padding: 0 24px!important;
    color:#6B6B6B!important;
}

.zke-sidebar-wooexcerpt{
    font-size: 12px;
    font-weight: 400;
    line-height: 24px;
    display: -webkit-box!important;
    display: -moz-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    max-height: 72px;
    color: #a9a9a9!important;
}

.zke-amap{
    margin:44px;
    overflow: hidden;
}


/**扫光效果**/
.logo {
            position: relative;
            font-size:2em;
            font-weight:700;
            line-height:39px;
            overflow:hidden;
            margin:0;
        }

/* 这里控制的是logo闪光*/
.logo ::before{
    content:"";
    position: absolute;
    /* 闪光的高度 */
    width: 200px;
    /* 闪光的宽度 */
    height: 8px;
    /* 闪光的颜色*/
    background-color: rgba(255,255,255,.5);
    /* 闪光旋转的角度 负值是 向右旋转 正值 则反过来*/
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    /* 闪光运行的时间 */
    -webkit-animation: searchLights 1.2s ease-in 1s infinite;
    animation: searchLights 1.2s ease-in 1s infinite;
}
/* 以图片横轴中心为原点 从左到右划过。如果你的图片长度是200px 扫的路径是：-100px 到100px */
@-webkit-keyframes searchLights {
    0% { left: -100px; top: 0; }
    to { left: 75px; top: 0; }
}

/*去除list前面的箭头*/
.widget ul li:before{
    content:none!important;
}

       

.sticky-shuo {
    background: linear-gradient(90deg, #E5C687 0%, #D4A853 100%); 
    color: white;             
    font-size: 0.75em;         
    padding: 2px 6px;          
    border-radius: 4px;        
    margin-right: 5px;         
    vertical-align: top;       
}


.widget_ui_flash li {
    position: relative;
    margin-left: 2px;
    padding: 0 0 15px 17px;
    border-left: 1px solid #f3f3f3;
}

.widget_ui_flash li:after {
    content: "";
    position: absolute;
    background-color: var(--theme-color);
    width: 11px;
    height: 11px;
    left: -6px;
    top: 19px;
    border-radius: 100px;
}


.widget_ui_flash li:before {
    content: "";
    z-index: 1;
    position: absolute;
    border: 4px solid rgba(0,0,0,0);
    border-left-width: 6px;
    border-left-color: var(--theme-color)!important;
    left: -3px;
    top: 19px!important;
    transition: all .3s ease-in-out;
}

.shuo-time{
    color: #1A1A1A99;
    font-size: 12px;
    line-height: 24px;
}

/**浮动效果**/
    #zk-float {
    animation-name: floating;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    	animation-timing-function: ease-in-out;
    }
    
    @keyframes floating {
    0% { transform: translate(0,  0px); }
    50% { transform: translate(0, -5px); }
    100% { transform: translate(0, 0px); }
    }

.zke-ballon-tips:hover::before {
    content: attr(data-zk-tips); /* 设置伪元素内容为 data-tooltip 属性的值 */
    position: relative; /* 绝对定位 */
    border-radius: 4px; /* 圆角边框 */
    background-color:var(--theme-color); /* 背景色 */ 
    color: #fff; /* 文字颜色 */
    font-size: 14px; /* 文字大小 */
    padding: 4px 8px; /* 内边距 */
    top: 54px; /* 在元素下方 */
    left: -8%; /* 水平居中 */
    transform: translateX(-50%); /* 水平居中 */
    z-index:99;
}



.vip{
	display: inline-block;
		transform: translateY(-12px);
		font-size: .75rem;
		font-weight: 300;
		letter-spacing: 0.05em;
		background: linear-gradient(45deg, #93F6CE 0%, var(--theme-color) 100%);
		color: #fff;
		border-radius: 9px;
		padding: 0.15rem 0.275rem;
		line-height: 1;
		position: absolute;
		top: 51px;
   		right: 10px;
		}
		
		
.container .loop-flash article:hover {
    background: #F4F5F9;
    border-radius: 4px;
}

/*文章随机彩色标签*/
.article-tags{margin-bottom: 10px}.article-tags a{padding: 4px 10px;background-color: #19B5FE;color: white;font-size: 12px;line-height: 16px;font-weight: 400;margin: 0 5px 5px 0;border-radius: 2px;display: inline-block}.article-tags a:nth-child(5n){background-color: #4A4A4A;color: #FFF}.article-tags a:nth-child(5n+1){background-color: #ff5e5c;color: #FFF}.article-tags a:nth-child(5n+2){background-color: #ffbb50;color: #FFF}.article-tags a:nth-child(5n+3){background-color: #1ac756;color: #FFF}.article-tags a:nth-child(5n+4){background-color: #19B5FE;color: #FFF}.article-tags a:hover{background-color: #1B1B1B;color: #FFF}