:root {
	--media-breakpoint-xs: 576px;
	--media-breakpoint-sm: 768px;
}

/* make font on phones easier to read */
@media (max-width: 525px) {
	body {
		font-size: 1.1rem;
	}
}

* {
	-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
	-webkit-tap-highlight-color: transparent;
	-webkit-focus-ring-color: rgba(255, 255, 255, 0);
}


h2.v2 {
	color: black;
	font-size: 2.5rem;
	font-weight: bold;
	margin-bottom: 2rem;
}


/**
 * Links
 */
.text a {
	color: #404040;
	text-decoration: underline;
}
.text-white a:not(.btn) {
	color: white !important;
	text-decoration: underline;
}
.text-white a:not(.btn):hover, .text a:hover { text-decoration: none }
/* End */



a > button {
	border: none;
	border-radius: 1rem;
	background: #fff;
	font-size: .7rem;
	padding: .7rem 1.2rem .6rem;
	color: #de0000;
	text-transform: uppercase;
	font-weight: bold;
}
button:hover {
	background: #d3d3d3;
	cursor: pointer;
}
button:focus {
	outline: none;
}
@media (min-width: 768px) {
	.hidden-md {
		display: none !important;
	}
}
@media (max-width: 767px) {
	.visible-md {
		display: none !important;
	}
}


/* URL Hash with Sticky Nav */
*:target {
	padding-top: 90px;
	margin-top: -90px;
}
section:target {
	padding-top: 90px;
	margin-top: -74px;
}
.two-column-section > section:target {
	padding-top: 90px;
	margin-top: -90px;
}


/* general formatting + layout styles */
@media (min-width: 768px) {
	.thin-content p, .thin-content h1, .thin-content h2, .thin-content h3, .thin-content h4, .thin-content figure.wp-block-embed-youtube, .thin-content ul, .thin-content .gform_wrapper {
		max-width: 80%;
		margin-right: auto;
		margin-left: auto;
	}
	.thin-content figure.wp-block-embed-youtube {
		max-width: 600px;
	}
}

/* end general formatting + layout styles */

/* gravity form styles */
form input, form .textarea {
	padding: 12px;
	margin: 6px 0 4px;
	border: 1px solid #ccc;
	background: #fafafa;
	color: #000;
	line-height: normal;
	border-radius: 2px;
	box-sizing: border-box;
}
form .contact-mail input {
	width: 97.5% !important;
}

/* end gravity form styles */


/* homepage styles */


/* Homepage bottom styles */
#homepage-media {
	align-items: center;
	padding: 0;
}
#homepage-media section {
	padding: 10px 5px;
}
#homepage-media #home-video {
	height: 100%;
}
#home-video .yt-responsive-embed {
	height: 100% !important;
}
#home-lightwidget iframe {
	margin-bottom: -8px;
}

/* end homepage bottom styles */
/* end homepage styles */


/* Removed weird black line on the right of the movinb thumbnail of the Wistia video */
.w-video-wrapper.w-css-reset {
	background-color: transparent !important;
}


.bg-twitter-blue { background-color: #1da1f2 }
.bg-dark-gray { background-color: #4a4a4a }
.bg-light-gray { background-color: #e2e2e2 }
.text-red { color: var(--color-red) !important; }


/*
 * Bootstrap Card style #2
 */
.card-style-2 {
	--spacing-x: 1.7rem;
	--spacing-y: 1.5rem;

	height: 100%;
	border: none;
	border-radius: 1rem !important;
}
.card-style-2 .card-header {
	background-color: transparent;
	border-bottom: 0.3rem solid var(--color-red);
}
.card-style-2 .card-header h3 { font-weight: bold }
.card-style-2.bg-red .card-header { border-bottom-color: white }

.card-style-2 .card-header {
	padding-top: var(--spacing-y);

	/* The following rules are to make border-bottom not to be 100% of the card. */
	padding-left: 0;
	padding-right: 0;
	margin-left: var(--spacing-x);
	margin-right: var(--spacing-x);
}
.card-style-2 .card-body {
	padding: var(--spacing-y) var(--spacing-x);
}
.card-style-2 .card-text { font-size: 1.15rem }
.card-style-2 .card-footer {
	background-color: transparent;
	padding: 0 var(--spacing-x) var(--spacing-y);
	border: none;
}
/* End */



/**
 * Header image overlay
 */
.header-img-overlay .page-header-title {
	line-height: 1;
	font-weight: bold;
	margin: 0;
}
.header-img-overlay .page-header-intro {
	max-width: 68%;
	font-size: 1.25rem;
	line-height: 1.1;
	padding: 1rem 0;
	margin: 0;
}
@media (min-width: 768px) {
	.header-img-overlay .page-header-intro {
		font-size: 2rem;
	}
}
@media (min-width: 992px) {
	.header-img-overlay .page-header-intro {
		padding: 3rem 0;
	}
}
/* End */



/**
 *
 */
.round-numbers {
	list-style: none;
	counter-reset: roundList;
	padding: 0;
	margin: 0;
}
.round-numbers > li {
	counter-increment: roundList;
	text-align: center;
}
.round-numbers > li:before {
	--counter-size: 5.7rem;
	--border-width: .3rem;

	content: counter(roundList);
	display: block;
	width: var(--counter-size);
	height: var(--counter-size);
	font-size: 3.2rem;
	font-weight: bold;
	line-height: calc(var(--counter-size) - var(--border-width));
	border: var(--border-width) solid;
	border-radius: 50%;
	margin: 0 auto 1rem;
}
.round-numbers > li:not(:last-child) { margin: 0 0 2rem }

@media (min-width: 576px) {
	.round-numbers {
		display: flex;
		flex-wrap: wrap;
		font-size: 2.5rem;
	}
	.round-numbers > li {
		flex-grow: 1;
		flex-basis: 0;
	}

	.round-numbers.columns-3 > li:first-child { margin: 0 .75rem 2rem 0 }
	.round-numbers.columns-3 > li:nth-child(2) { margin: 0 0 2rem .75rem }
	.round-numbers.columns-3 > li:last-child { flex-basis: 100% }
}
@media (min-width: 768px) {
	.round-numbers > li { margin: 0 2rem !important }
	.round-numbers > li:first-child { margin-left: 0 !important }
	.round-numbers > li:last-child { margin-right: 0 !important }

	.round-numbers.columns-3 > li:last-child { flex-basis: 0 }
}
/* End */
