@charset 'utf-8';
@use 'colours';

.swstats-bar {

	position: sticky;
	z-index: 700;
	top: 0;
	margin: 0 0 0 -20px;
	padding: 12px 10px 12px 20px;
	min-height: 36px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	background-color: colours.$white;
	box-shadow: 0 5px 20px colours.$shadow;
	text-align: right;
	
	h2 {
		display: none;
		font-size: 18px;
		font-weight: 400;
		margin: 0;
	}
	
	label {
		font-size: 14px;
		margin-right: .5em;
	}
	
	@media (min-width: 400px) {
		justify-content: space-between;
		h2 {
			display: block;
		}
	}
	
	@media (min-width: 601px) {
		top: 46px;
	}
	
	@media (min-width: 783px) {
		top: 32px;
		padding: 12px 20px;
	}

}