/* Spice Route Christmas Lights */
#srcl-lights {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	max-width: 100%;
	height: 0;
	overflow: hidden;
	z-index: 99990;
	line-height: 0;
	margin: 0;
	padding: 0;
	pointer-events: none !important;
	-webkit-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}
#srcl-lights.srcl-fixed { position: fixed; }
body.admin-bar #srcl-lights { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar #srcl-lights { top: 46px; }
}
#srcl-lights svg {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	pointer-events: none !important;
	filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35));
}
#srcl-lights svg * { pointer-events: none !important; }

/* Twinkle */
#srcl-lights .srcl-glow,
#srcl-lights .srcl-lit {
	animation-timing-function: ease-in-out;
	animation-iteration-count: infinite;
}
#srcl-lights .srcl-glow { animation-name: srcl-glow; }
#srcl-lights .srcl-lit  { animation-name: srcl-lit; }
#srcl-lights .srcl-p0 { animation-duration: 2.6s; animation-delay: 0s; }
#srcl-lights .srcl-p1 { animation-duration: 3.1s; animation-delay: -.7s; }
#srcl-lights .srcl-p2 { animation-duration: 2.2s; animation-delay: -1.4s; }
#srcl-lights .srcl-p3 { animation-duration: 2.9s; animation-delay: -2s; }
#srcl-lights .srcl-p4 { animation-duration: 3.4s; animation-delay: -.3s; }

@keyframes srcl-glow {
	0%, 100% { opacity: .45; }
	50%      { opacity: 1; }
}
@keyframes srcl-lit {
	0%, 100% { opacity: .88; }
	50%      { opacity: 1; }
}

/* Swinging baubles */
#srcl-lights .srcl-bauble {
	animation-iteration-count: infinite;
	animation-timing-function: ease-in-out;
	will-change: transform;
}
#srcl-lights .srcl-sw0 { animation-name: srcl-swing; animation-duration: 5.2s; animation-delay: -1s; }
#srcl-lights .srcl-sw1 { animation-name: srcl-swing; animation-duration: 6.4s; animation-delay: -3s; }
#srcl-lights .srcl-sw2 { animation-name: srcl-swing; animation-duration: 4.6s; animation-delay: -2s; }

@keyframes srcl-swing {
	0%, 100% { transform: rotate(-3.5deg); }
	50%      { transform: rotate(3.5deg); }
}

#srcl-lights.srcl-static *,
#srcl-lights.srcl-static .srcl-glow,
#srcl-lights.srcl-static .srcl-lit,
#srcl-lights.srcl-static .srcl-bauble { animation: none !important; }
#srcl-lights.srcl-static .srcl-glow { opacity: .75; }

@media (prefers-reduced-motion: reduce) {
	#srcl-lights .srcl-glow,
	#srcl-lights .srcl-lit,
	#srcl-lights .srcl-bauble { animation: none !important; }
	#srcl-lights .srcl-glow { opacity: .75; }
}

@media print { #srcl-lights { display: none !important; } }
