/* Counters */
.counters {
	.counter {
		text-align: center;
	}
	[class*="fa-"], .icons {
		display: block;
		font-size: 35px;
		line-height: 35px;
		margin-bottom: 5px;
	}
	strong {
		display: block;
		font-weight: bold;
		font-size: 50px;
		line-height: 50px;
	}
	label {
		display: block;
		font-weight: 100;
		font-size: 20px;
		line-height: 20px;
	}

	.counter-side-icon {
		[class*="fa-"], .icons, strong {
			display: inline-block;
		}
	}

	.counter-with-unit {
		strong {
			display: inline-block;
		}

		&.counter-unit-on-top {
			display: flex;
		    flex-wrap: wrap;
		    justify-content: center;
		    align-items: flex-start;
			.unit {
			    font-size: 2rem;
			    line-height: 2.7rem;
			    margin-left: 0.3rem;
			}
			label {
				width: 100%;
				margin-top: 0.7rem;
			}
		}

		&.counter-unit-on-bottom {
			align-items: flex-end;
		}
	}

	&.with-borders {
		.counter {
			border-radius: 6px;
			border-top: 1px solid #DFDFDF;
			border-bottom: 1px solid #DFDFDF;
			border-#{$left}: 1px solid #ECECEC;
			border-#{$right}: 1px solid #ECECEC;
			box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.04);
			padding: 25px;
		}
	}

	&.counters-sm {
		[class*="fa-"], .icons {
			font-size: 25px;
			line-height: 25px;
		}
		strong {
			font-size: 35px;
			line-height: 35px;
		}
		label {
			font-size: 15px;
			line-height: 15px;
		}
	}

	&.counters-lg {
		[class*="fa-"] {
			font-size: 45px;
			line-height: 45px;
		}
		strong {
			font-size: 60px;
			line-height: 60px;
		}
		label {
			font-size: 25px;
			line-height: 25px;
		}
	}

	&.counters-text-light {
		.counter {
			color: var(--light) !important;
			[class*="fa-"], .icons, strong, label {
				color: var(--light) !important;
			}
		}
	}

	&.counters-text-dark {
		.counter {
			color: var(--dark--200) !important;
			[class*="fa-"], .icons, strong, label {
				color: var(--dark--200) !important;
			}
		}
	}

}

/* Counters - Skin */
@each $name, $var in $colors-list {
	.counters {
		.counter-#{$name} {
			[class*="fa-"], .icons, strong {
				color: var(--#{$name});
			}
		}
	}
}