/** EVENT DECORATION **/
.tk .tk-event-header{
	position: relative;
	width: 100%;
	height: 30px;
	background-repeat: repeat-x;
	background-position: center top;
	background-size: auto 100%;
	pointer-events: none;
	z-index: 9;
	margin-bottom: -30px;
}
.tk .tk-event-fly{
	position: fixed;
	bottom: 12px;
	left: -340px;
	width: 250px;
	z-index: 990;
	pointer-events: none;
	animation: tkEventFly 24s linear infinite;
	will-change: transform;
	filter: drop-shadow( 0 5px 10px rgba( 0, 0, 0, 0.16 ) );
}
.tk .tk-event-fly img{
	width: 100%;
	max-height: 95px;
	height: auto;
	object-fit: contain;
	display: block;
	pointer-events: auto;
	cursor: pointer;
}
.tk .tk-event-fly:hover{
	animation-play-state: paused;
}
.tk .tk-event-close{
	position: absolute;
	top: -8px;
	right: -4px;
	width: 22px;
	height: 22px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid #d9d9d9;
	background: rgba( 255, 255, 255, 0.95 );
	color: #555555;
	font-size: 14px;
	line-height: 20px;
	text-align: center;
	cursor: pointer;
	pointer-events: auto;
	box-shadow: 0 2px 6px rgba( 0, 0, 0, 0.18 );
	opacity: 0;
	visibility: hidden;
	transform: scale( 0.85 );
	transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
	z-index: 2;
}
.tk .tk-event-fly:hover .tk-event-close{
	opacity: 1;
	visibility: visible;
	transform: scale( 1 );
}
.tk .tk-event-close:hover{
	background: #d32f2f;
	border-color: #d32f2f;
	color: #ffffff;
}
.tk .tk-event-fly.is-paused,
.tk .tk-event-snow.is-paused .tk-event-flake{
	animation-play-state: paused;
}
.tk .tk-event-snow{
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 995;
}
.tk .tk-event-flake{
	position: absolute;
	top: -24px;
	border-radius: 50%;
	background: radial-gradient( circle at 35% 35%, #ffffff 0%, #e1f5fe 70%, #b3e5fc 100% );
	box-shadow: 0 0 6px rgba( 255, 255, 255, 0.95 ), 0 0 3px rgba( 51, 153, 204, 0.5 );
	animation-name: tkEventFall;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
	will-change: transform;
}
.tk .tk-event-flake.crystal{
	border-radius: 0;
	background-color: transparent;
	background-image: url( "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><g stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' fill='none'><line x1='16' y1='2' x2='16' y2='30'/><line x1='3.88' y1='9' x2='28.12' y2='23'/><line x1='3.88' y1='23' x2='28.12' y2='9'/><polyline points='12,6 16,10 20,6'/><polyline points='12,26 16,22 20,26'/><polyline points='5.5,14 10.5,12.5 9,7.5'/><polyline points='26.5,18 21.5,19.5 23,24.5'/><polyline points='9,24.5 10.5,19.5 5.5,18'/><polyline points='23,7.5 21.5,12.5 26.5,14'/></g></svg>" );
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
	box-shadow: none;
	filter: drop-shadow( 0 1px 3px rgba( 51, 153, 204, 0.55 ) );
}
.tk .tk-event-flake.petal{
	border-radius: 70% 0 70% 0;
	background: linear-gradient( 135deg, #ffd54f 0%, #ffb300 100% );
	box-shadow: 0 0 4px rgba( 255, 193, 7, 0.4 );
}

@keyframes tkEventFly{
	0%{
		transform: translate3d( 0, 0, 0 ) rotate( -1.5deg );
		opacity: 0;
	}
	5%{
		opacity: 0.98;
	}
	30%{
		transform: translate3d( 40vw, -10px, 0 ) rotate( 1.5deg );
	}
	60%{
		transform: translate3d( 80vw, 6px, 0 ) rotate( -1.5deg );
	}
	90%{
		opacity: 0.98;
	}
	100%{
		transform: translate3d( calc( 100vw + 380px ), -4px, 0 ) rotate( 1deg );
		opacity: 0;
	}
}
@keyframes tkEventFall{
	0%{
		transform: translate3d( 0, -24px, 0 ) rotate( 0deg );
	}
	50%{
		transform: translate3d( 24px, 50vh, 0 ) rotate( 180deg );
	}
	100%{
		transform: translate3d( -16px, 105vh, 0 ) rotate( 360deg );
	}
}
@media( max-width: 991px ){
	.tk .tk-event-header{
		height: 18px;
		margin-bottom: -18px;
	}
	.tk .tk-event-fly{
		width: 190px;
	}
}
@media( max-width: 767px ){
	.tk .tk-event-fly{
		bottom: 58px;
		width: 145px;
	}
	.tk .tk-event-fly img{
		max-height: 55px;
	}
	.tk .tk-event-close{
		width: 18px;
		height: 18px;
		font-size: 12px;
		line-height: 16px;
		opacity: 0.85;
		visibility: visible;
		transform: scale( 1 );
	}
}