@charset "utf-8";



/* 设置字体 */
/*
@font-face {
    font-family:"";
    src:url() format('woff');     
}
*/



/* 文字超出隐藏 */
.ui_clamp1 {white-space:nowrap;text-overflow:ellipsis;-webkit-text-overflow:ellipsis; -o-text-overflow:ellipsis; -moz-binding:url('ellipsis.xml#ellipsis'); overflow:hidden;/*min-height:36px;*/display:block;}

.ui_clamp2 {display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp:2; 
white-space: normal; height:; text-overflow: -o-ellipsis-lastline;}

.ui_clamp3 {display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp:3; 
white-space: normal; height:; text-overflow: -o-ellipsis-lastline;}


/* 文字对齐 */
.ui_txtl {
	text-align:left;
}
.ui_txtr {
	text-align:right;
}
.ui_txtc {
	text-align:center;
}

/* 图文 */
.ui_img {display:block; position:relative; overflow:hidden;}
.ui_img img {width:100%;}
/*
.ui_txt {}
*/


/* 左右布局 */
/*
.ui_l {}.ui_c {}.ui_r {}
*/


/* 宽高充满 */
.ui_wbfb {width:100% !important;}

.ui_hbfb {height:100%;}


/* 图片背景 */
.ui_bg {background-position:center; background-repeat:no-repeat; background-size:cover; overflow:hidden;}


/* 设置按钮 */
.ui_bar {display:inline-block; vertical-align:top; cursor:pointer; text-align:center;}

/* 行内块 */
.ui_block1,.ui_block3>* {display:inline-block; vertical-align:middle;}

/* 定制小图标 */
.ui_icon {display:inline-block; vertical-align:middle;}


/* 弹性盒模型 */
.ui_flex0 {display:flex; flex-wrap:wrap;}

.ui_flex1 {display:flex; justify-content: space-between; align-items:center; align-content:center; flex-wrap:wrap;}

.ui_flex2 {display:flex; justify-content: space-around; align-items:center; align-content:center; flex-wrap:wrap;}

.ui_mid3,.ui_bar>span {height:100%; display: flex; justify-content: center; align-items: center;}

.ui_mid3::after,.ui_bar>span::after {content: ""; width: 0; height: 100%;}


/* 显示,隐藏 */
.ui_show {
	display:block;
}
.ui_hide {
	display:none;
}


/* 过渡 */
.ui_trans03 {
-webkit-transition: all .3s;-moz-transition: all .3s;-ms-transition: all .3s;-o-transition: all .3s;transition: all .3s;}

.ui_trans05 {
-webkit-transition: all .5s;-moz-transition: all .5s;-ms-transition: all .5s;-o-transition: all .5s;transition: all .5s;}

.ui_trans1 {
-webkit-transition: all 1s;-moz-transition: all 1s;-ms-transition: all 1s;-o-transition: all 1s;transition: all 1s;}


/* 浮动~清除浮动 */
.clearfix{*zoom:1;}

.clearfix:after,.clearfix:before{content:""; display:table;}

.clearfix:after{clear:both;}

.fl{float: left;}

.fr{float: right;}


