/*
 * Theme Name: Consilium
 * Description: Consilium corporate theme
 * Author: Sandberg Trygg Dev Team
 * Version: 1.0.0
*/


.wp-video{
	width: 100% !important;
}
.wp-video-shortcode{
	width: 100% !important;
	height: auto !important;
}
.product-card__link:before{
	content: "联系销售人员，了解更多产品信息";
	font-size: 14px;
	opacity: 0;
	transition: all 0.3s;
}
.product-card:hover .product-card__link:before{
	opacity: 1;
}

.btn-rounded.hasIcon.wxbox{
	position: relative;
	overflow: initial;
}
.wxbox .tcbox{
	position: absolute;
	width: 120px;
	right:0;
	bottom:47px;
	display: none;
}
.wxbox:hover .tcbox{
	display: block;
}

.card-large__ts{
	opacity: 0;
	font-size: 14px;
	transition: all 0.3s;
}

.card-large__ts{
	opacity: 0;
	font-size: 14px;
	transition: all 0.3s;
	display: none;
}
.card.card-large:hover .card-large__ts{
	opacity: 1;
}

.card-large__description{
	display: -webkit-box;
	-webkit-line-clamp: 4;          /* 关键：显示4行 */
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;        /* 末尾显示... */
	word-break: break-word;         /* 防止长单词撑破布局 */
	line-height: 28px;
	height: 112px;
}

.slider.large.products .card-large__ts{
	display: block;
}
.slider.large.products .card-large__description{
	height: 56px;
	-webkit-line-clamp: 2;          /* 关键：显示4行 */
}

.nonebox{
	display: none !important;
}