/* Weather icon animations (used with js/icons.js) */
.wi { overflow: visible; display: block; }
.wi-rays, .wi-core, .wi-moon { transform-box: fill-box; transform-origin: center; }

.wi-rays { animation: wi-spin 14s linear infinite; }
.wi-core { animation: wi-pulse 3.2s ease-in-out infinite; }
.wi-cloud { animation: wi-drift 5s ease-in-out infinite alternate; }
.wi-cloud-back { animation-duration: 7s; animation-direction: alternate-reverse; }
.wi-moon { animation: wi-rock 6s ease-in-out infinite alternate; }
.wi-star { animation: wi-twinkle 2.6s ease-in-out infinite; }

.wi-drop { animation: wi-fall 1.1s linear infinite; opacity: 0; }
.wi-flake { animation: wi-snow 2.8s linear infinite; opacity: 0; }
.wi-bolt { animation: wi-flash 2.6s ease-out infinite; }
.wi-fog { animation: wi-fogmove 3.6s ease-in-out infinite alternate; }
.wi-wind { stroke-dasharray: 46 14; animation: wi-dash 2.4s linear infinite; }

.wi .wi-d2 { animation-delay: -.35s; }
.wi .wi-d3 { animation-delay: -.7s; }
.wi .wi-d4 { animation-delay: -.2s; }
.wi .wi-d5 { animation-delay: -.55s; }
.wi .wi-flake.wi-d2 { animation-delay: -1s; }
.wi .wi-flake.wi-d3 { animation-delay: -1.9s; }
.wi .wi-flake.wi-d4 { animation-delay: -.5s; }
.wi .wi-flake.wi-d5 { animation-delay: -1.4s; }
.wi .wi-star.wi-d2 { animation-delay: -1s; }
.wi .wi-star.wi-d3 { animation-delay: -1.8s; }
.wi .wi-fog.wi-d2 { animation-delay: -1.8s; }
.wi .wi-wind.wi-d2 { animation-delay: -.8s; }
.wi .wi-wind.wi-d3 { animation-delay: -1.6s; }

@keyframes wi-spin { to { transform: rotate(360deg); } }
@keyframes wi-pulse { 50% { transform: scale(1.08); } }
@keyframes wi-drift { from { transform: translateX(-2.5px); } to { transform: translateX(3px); } }
@keyframes wi-rock { from { transform: rotate(-8deg); } to { transform: rotate(6deg); } }
@keyframes wi-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
@keyframes wi-fall {
  0%   { transform: translateY(-7px); opacity: 0; }
  25%  { opacity: 1; }
  100% { transform: translateY(9px); opacity: 0; }
}
@keyframes wi-snow {
  0%   { transform: translate(0, -8px); opacity: 0; }
  20%  { opacity: 1; }
  50%  { transform: translate(2.5px, 2px); }
  100% { transform: translate(-1.5px, 11px); opacity: 0; }
}
@keyframes wi-flash {
  0%, 52%, 64%, 100% { opacity: .15; }
  56%, 60%, 70% { opacity: 1; }
}
@keyframes wi-fogmove { from { transform: translateX(-4px); } to { transform: translateX(5px); } }
@keyframes wi-dash { to { stroke-dashoffset: -60; } }
