/**
 *
 * Countdown extension for the phpBB Forum Software package.
 *
 * @copyright (c) 2024 stoker - https://phpbb3bbcodes.com/
 * @license GNU General Public License, version 2 (GPL-2.0)
 *
 */
#timecount.timecount {
	color: #c21017;
	font-size: 18px;
	text-align: center;
	margin-top: 4px;
	padding: 2px 0;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
}
#timecount .inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	box-sizing: border-box;
}
#timecount .left-icon,
#timecount .right-icon {
	width: 50px;
	min-width: 50px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	padding: 0 10px;
}
#timecount .countleft,
#timecount .countright {
	font-size: 30px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	position: relative;
	top: 1px;
}
#timecount span.countleft.stoker-emoji,
#timecount span.countright.stoker-emoji {
	font-size: 26px;
}
#timecount .time-fade-count {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	white-space: normal;
	height: 100%;
	font-size: inherit;
	position: relative;
	top: -1px;
}
#timecount .cd-time {
	color: #105289;
}
#timecount .timefont {
	font-size: 12px;
	color: #105289;
	margin-left: -5px;
}
/* Responsive tweaks */
@media only screen and (max-width: 800px) {
	#timecount.timecount {
		font-size: 16px;
		min-height: 20px;
	}
	#timecount .timefont {
		font-size: 10px;
		margin-left: -4px;
	}
	#timecount .countleft,
	#timecount .countright {
		font-size: 28px;
	}
	#timecount span.countleft.stoker-emoji,
	#timecount span.countright.stoker-emoji {
		font-size: 22px;
		line-height: 28px;
	}
}
@media only screen and (max-width: 700px) {
	#timecount.timecount {
		font-size: 14px;
		min-height: 20px;
	}
	#timecount .left-icon,
	#timecount .right-icon {
		display: none;
	}
	#timecount .timefont {
		font-size: 10px;
		margin-left: -3px;
	}
}
@media only screen and (max-width: 550px) {
	#timecount.timecount {
		font-size: 12px;
	}
	#timecount .time-fade-count {
		top: 0;
	}
	#timecount .timefont {
		font-size: 8px;
		margin-left: -2px;
	}
}
html.phpbb-dark-mode #timecount .cd-time,
html.phpbb-dark-mode #timecount .timefont {
	color: #cfd6e4;
}
/*
* Just a little something for you to style the icons.
* These only apply inside the countdown, so they cannot clash with the style.
* Birthday cake, usage: "icon fa-birthday-cake fa-fw fa-gradient fa-gradient-bday"
* Rainbow, bottom to top, usage: "icon fa-star fa-fw rainbow-image"
* Rainbow, left to right, usage: "icon fa-star fa-fw rainbow-text"
* Beer mug, usage: "icon fa-beer fa-fw beer-image"
* Gold star, usage: "icon fa-star fa-fw gold-star"
* Gold star, flat gradient, usage: "icon fa-star fa-fw gold-star2"
* Feel free to add your own classes.
*/
#timecount .fa-gradient {
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
#timecount .fa-gradient-bday {
	/* background-image, not the background shorthand, which would reset background-clip */
	background-image: linear-gradient(orange 4px, white 5px, brown 11px);
}
#timecount .rainbow-image {
	background-image: linear-gradient(360deg, violet, indigo, blue, green, yellow, orange, red);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
#timecount .rainbow-text {
	background-image: linear-gradient(270deg, violet, indigo, blue, green, yellow, orange, red);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
#timecount .beer-image {
	background-image: linear-gradient(360deg, #b37400, #cc8500, #e69500, orange, orange, orange, #ffb833, #fff6e6, white);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
#timecount .gold-star {
	background-image: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, transparent 80%),
	radial-gradient(ellipse farthest-corner at left top, #FFFFFF 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
#timecount .gold-star2 {
	background: linear-gradient(135deg, #FFD700 0%, #FFED4E 25%, #C5A028 50%, #FFD700 75%, #FFED4E 100%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
