a.wt_jshop_favorite_module,
button.wt_jshopping_cart{
	background:rgba(255,255,255,1);
}
a.wt_jshop_favorite_module:hover,
a.wt_jshop_favorite_module.active,
button.wt_jshopping_cart:hover {
	background:rgba(255,255,255,0.75);
}
a.wt_jshop_favorite_module{
	margin-right: 10px;
}
#jtl .form-group {
	margin-top: 15px;
}
html {
	height: 100%;
}
body {
	min-height: 100%;
	display: grid;
	grid-template-rows: auto 1fr auto;
}
header {
	
}
main {
	
}
footer {
	
}
.custom_field{
	border:1px solid #dddddd;
	padding:9px;
}
.item-content a{
	color:#2f2f2f;
	text-decoration:none;
}
.item-content .readmore a{
	color:#ffffff;
}
a[data-fancybox]{
	display:flex;
	align-items:center;
	justify-content:center;
	overflow:hidden;
}
.video_full{
	position:relative;
	transition: all 0.3s ease;
}
.video_full:before{
	content:"";
	position:absolute;
	top:50%;
	left:50%;
	transform: translateX(-50%) translateY(-50%);
	width:135px;
	height:100px;
	background:url("../images/play/red.png") no-repeat center center;
	background-size:contain;
	transition: all 0.3s ease;
	z-index:2;
}
.video_full:after{
	content:"";
	position:absolute;
	top:0;
	right:0;
	bottom:0;
	left:0;
	background:rgba(255,255,255,0.5);
	transition: all 0.3s ease;
}
.video_full img{
	transition: all 0.3s ease;
	filter: blur(3px);
}
.video_full:hover:before{
	transform: scale(0);
}
.video_full:hover:after{
	opacity:0;
}
.video_full:hover img{
	filter:none;
}
.portfolio-body a[href*="youtube"]:before{
	content:"";
	position:absolute;
	top:50%;
	left:50%;
	transform: translateX(-50px) translateY(-50px);
	width:72px;
	height:72px;
	background:url("../images/icon/play.svg");
	z-index:2; 
}
.portfolio-body a[href*="youtube"]:after{
	content:"";
	position:absolute;
	top:0;
	right:0;
	bottom:0;
	left:0;
	background:rgba(67,144,255,0.35);
	z-index:1; 
}
.field-portfolio .field-icon{
	display:flex;
	align-items:center;
}
.field-portfolio .field-icon:before{
	content:"";
	width:25px;
	height:25px;
	margin-right:10px;
	background-repeat:no-repeat;
	background-position:center center;
	background-size:contain;
}
.field-portfolio .field-icon span{}
.field-portfolio .field-icon.lokatsiya:before{
	background-image:url("../images/icon/1.svg");
}
.field-portfolio .field-icon.material:before{
	background-image:url("../images/icon/2.svg");
}
.field-portfolio .field-icon.ploshchad:before{
	background-image:url("../images/icon/3.svg");
}
.field-portfolio .field-icon.srok:before{
	background-image:url("../images/icon/4.svg");
}

.content p::has(+ p > img) {
  display: inline-block;
  vertical-align: top;
  background:#fff000;
}

.content p::has(img) {
  display: inline-block;
  vertical-align: top;
  width: 300px;
  background:#ff0000;
}

.everybody:has(.a-good-time) {
  animation: party 21600s forwards;
}

.fancybox-slide--video::has(> div > iframe){
	opacity:0.2 !important;
} 