/*
*
* Time Circles
*/

//
// This element is created inside your target element
// It is used so that your own element will not need to be altered
//
.time_circles {
	position: relative;
	width: 100%;
}

//
// This is all the elements used to house all text used
// in time circles
//
.time_circles > div {
	position: absolute;
	top: 0 !important;
	bottom: 0;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	flex-direction: column-reverse;
	justify-content: center;
	margin-top: -10px;
	text-align: center;
}

@include media-breakpoint-up(xl) {
	#DateCountdown {
		width: 100%;
	}
}

//
// Titles (Days, Hours, etc)
//
.time_circles > div > h4 {
	
	margin: 0;
	margin-top: 6px;
	padding: 0;
	text-align: center;
	font-family: $font-family-sec;
	letter-spacing: .05em;
	font-weight: 600;
	font-size: 12px !important;
	line-height: 1.2 !important;
	color: $gray-600;
	text-transform: uppercase;

	// Medium ≥576px
	@include media-breakpoint-up(sm) {
		font-size: 14px !important;
	}
	
	& + * {
		margin-top: 0;
	}
}

//
// Time numbers, ie: 12
//
.time_circles > div > span {
	display: block;
	text-align: center;
	font-family: $font-family-sec;
	letter-spacing: .05em;
	font-size: 20px !important;
	font-weight: 400;
	line-height: 1 !important;
	color: $gray-900;

	@include media-breakpoint-up(md) {
		font-size: 34px !important;
	}

	@include media-breakpoint-up(lg) {
		font-size: 40px !important;
	}
}

.context-dark {
	.time_circles > div > span {
		color: $white;
	}
	.time_circles > div > h4 {
		color: $white;
	}
}

.countdown-wrap {
	max-width: 730px;
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 20px;
}

* + .countdown-wrap {
	margin-top: 25px;
}

.countdown-wrap + .button {
	margin-top: 40px;
}


* + .DateCountdown {
	margin-top: 30px;
}

.DateCountdown + * {
	margin-top: 40px;
}