// Global styles & resets

* {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
body {
	color: $black;
	font-family: $font-family-sans-serif;
	padding-top: 76px;
}
.wow {
	visibility: hidden;
}
.animated {
	animation-duration: 2.5s;
}
img {
	border-radius: 3px;
	pointer-events: none;
}
sup {
	font-size: 45%;
	top: -1.25em;
}

// Utility classes
.align-v {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}
.text-spaced {
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

// Gradients
.bg-fade {
	background-size: cover !important;
	position: relative;

	&:before {
		content: '';
		display: block;
		position: absolute;
		top: 0; left: 0;
		width: 100%; height: 100%;
	}
	&.bg-fade-white {
		@include gradient($white, 0deg);

		&.bg-fade-left:before {
			@include gradient($white, 110deg);
		}
		&.bg-fade-right:before {
			@include gradient($white, -110deg);
		}
	}
	&.bg-fade-red {
		@include gradient($red, 0deg);

		&.bg-fade-left:before {
			@include gradient($red, 110deg);
		}
		&.bg-fade-right:before {
			@include gradient($red, -110deg);
		}
		.white-label-text {
			color: $red;
		}
	}
	&.bg-fade-green {
		@include gradient($green, 0deg);
		
		&.bg-fade-left:before {
			@include gradient($green, 110deg);
		}
		&.bg-fade-right:before {
			@include gradient($green, -110deg);
		}
		.white-label-text {
			color: $green;
		}
	}
	&.bg-fade-purple {
		@include gradient($purple, 0deg);
		
		&.bg-fade-left:before {
			@include gradient($purple, 110deg);
		}
		&.bg-fade-right:before {
			@include gradient($purple, -110deg);
		}
		.white-label-text {
			color: $purple;
		}
	}
	&.bg-fade-blue {
		@include gradient($blue, 0deg);

		&.bg-fade-left:before {
			@include gradient($blue, 110deg);
		}
		&.bg-fade-right:before {
			@include gradient($blue, -110deg);
		}
		.white-label-text {
			color: $blue;
		}
	}
	&.bg-fade-yellow {

		&.bg-fade-left:before {
			@include gradient($yellow, 110deg);
		}
		&.bg-fade-right:before {
			@include gradient($yellow, -110deg);
		}
		.white-label-text {
			color: $yellow;
		}
	}
}


// Helper classes
.white-label-text {
	display: flex;
	flex-direction: column;
	align-items: center;
	font-size: 20px;
	font-weight: $bold;

	span {
		background-color: $white;
		margin-top: -1px;
		padding: 6px 12px;
	}
}
.block-quote {
	padding-top: 64px;
	padding-bottom: 64px;
	text-align: center;

	h3 {
		color: $red;
		font-size: 28px;
		font-weight: $regular;
	}
	h4 {
		color: $gray-500;
		font-size: 16px;
		margin-top: 24px;
	}
}

// Structure
.main-section {
	overflow-x: hidden;
	padding-top: 48px;
	padding-bottom: 48px;

	img {
		max-width: 100%;
	}
}
.white-bg {
	background-color: $white;

	h3, h4 {
		color: $red;
	}
	p {
		color: $black;
	}
}
.red-bg {
	background-color: $red;

	h3, h4 {
		color: $white;
	}
	p {
		color: $white;
	}
}
.photo-bg {
	color: $white;

	h2 {
		font-size: 40px;
		font-weight: $bold;
	}
	p + a.btn {
		margin-top: 16px;
	}
}

// Buttons
.btn {
	border: none;
	border-radius: 0;
	font-weight: $bold;
	letter-spacing: 0.15em;
	line-height: 1;
	padding: 12px 16px;
	text-transform: uppercase;

	&.btn-primary {
		background-color: $red;
		color: $white;

		&:hover, &:active, &:focus {
			background-color: $redHover !important;
			box-shadow: 0 0 0 0.2rem rgba($redHover, 0.5) !important;
		}
		&.inverse {
			background-color: $white !important;
			color: $red !important;

			&:hover, &:active, &:focus {
				background-color: $white !important;
				box-shadow: 0 0 0 0.2rem rgba($white, 0.5) !important;
			}
		}
	}
	&.btn-secondary {
		background-color: transparent;
		border: 2px solid $white;
		color: $white;

		&:hover, &:active, &:focus {
			background-color: transparent !important;
			border: 2px solid $white;
			box-shadow: 0 0 0 0.2rem rgba($white, 0.5) !important;
		}
	}
	&.btn-default {
		color: $red;
		padding: 12px 0;
	}
	&.btn-light {
		background-color: transparent;
		border: 2px solid $grayBlue;
		color: $grayBlue;

		&:hover, &:active, &:focus {
			background-color: transparent !important;
			border: 2px solid $grayBlue;
			box-shadow: 0 0 0 0.2rem rgba($grayBlue, 0.5) !important;
		}
	}
	&:after {
		content: '\f061';
		display: inline-block;
		font-family: 'Font Awesome 5 Free';
		font-weight: 900;
		margin-left: 12px;
	}
}
.bg-fade-green {

	.btn.btn-primary {
		background-color: $white;
		color: $green;
	}
	.btn.btn-default {
		color: $white;
	}
}
.bg-fade-red {

	.btn.btn-primary {
		background-color: $white;
		color: $red;
	}
	.btn.btn-default {
		color: $white;
	}
}
.bg-fade-yellow {

	.btn.btn-primary {
		background-color: $white;
		color: $yellow;
	}
	.btn.btn-default {
		color: $white;
	}
}
.bg-fade-blue {

	.btn.btn-primary {
		background-color: $white;
		color: $blue;
	}
	.btn.btn-default {
		color: $white;
	}
}
.bg-fade-purple {

	.btn.btn-primary {
		background-color: $white;
		color: $purple;
	}
	.btn.btn-default {
		color: $white;
	}
}

// COVID-19 Banner
#covid-banner {
	background-color: rgba($red, 0.9);
	border-radius: 2px 2px 0 0;
	box-shadow: 0 0 12px rgba(0,0,0,0.6);
	color: $white;
	display: none;
	padding: 15px 30px;
	position: fixed;
	bottom: 0; left: 50%;
	transform: translate(-50%, 0);
	text-align: center;
	max-width: 800px;
	width: 100%;
	z-index: 9999;

	#covid-banner-close {
		cursor: pointer;
		position: absolute;
		top: 15px; right: 15px;
	}
	p {
		font-size: 12px;
		line-height: 1.6;
		margin: 0;
	}
}