/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text,
.visually-hidden,
.visually-hidden-focusable:not(:focus):not(:active) {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus,
.visually-hidden:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/*
 * Resources on prefers-reduced-motion:
 * https://webkit.org/blog-files/prefers-reduced-motion/prm.htm
 * https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion
 */
 @media (prefers-reduced-motion: reduce) {

	*,
	*::before,
	*::after {
		animation-duration: 0.001s !important;
		transition-duration: 0.001s !important;
	}
}

/* Alignments
--------------------------------------------- */
.alignleft {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* Spacing
--------------------------------------------- */
.mb0 {
	margin-bottom: 0 !important;
}

.mt0 {
	margin-top: 0 !important;
}

.mb1 {
	margin-bottom: 40px;
}

.mb2 {
	margin-bottom: 80px;
}

.pt0 {
	padding-top: 0 !important;
}

.pb0 {
	padding-bottom: 0 !important;
}

.pb1 {
	padding-bottom: 40px !important;
}

.pb2 {
	padding-bottom: 80px !important;
}

.cform-block.form-type-2.mb0 {
	padding-bottom: 0 !important;
}

.text-center {
	text-align: center !important;
}

.content-width {
	max-width: var(--content-width);
	margin-left: auto;
	margin-right: auto;
}

/* Responsive
--------------------------------------------- */

@media (min-width: 1024px) {
	.hide-on-desktop {
		display: none !important;
	}
}

@media (min-width: 521px) and (max-width: 1023px) {
	.hide-on-tablet {
		display: none !important;
	}
}

@media (max-width: 520px) {
	.hide-on-mobile {
		display: none !important;
	}
}

@media (max-width: 960px) {
	.hide-on-small {
		display: none !important;
	}
}

@media (min-width: 1224px) {
	.hide-on-mobile-tablet {
		display: none !important;
	}
}

[hidden] { display: none !important; }


/* Tooltips
--------------------------------------------- */

.comparison-table [role="tooltip"] {
	display: block;
	position: absolute;
	bottom: 95%;
	/* Position above the trigger element */
	left: 50%;
	transform: translateX(-50%);
	visibility: hidden;
	opacity: 0;
	transition: visibility 0.2s, opacity 0.2s ease-in-out;
	background-color: var(--midnight-blue-70);
	border-radius: 5px;
	color: #fff;
	/* font-size: 18px; */
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 15px;
	padding-bottom: 15px;
	width: 100%;
	max-width: 400px;
}

.comparison-table [role="tooltip"]::after {
	content: '';
	position: absolute;
	bottom: -35px;
	left: 50%;
	transform: translateX(-50%);
	border-width: 20px;
	border-style: solid;
	border-color: var(--midnight-blue-70) transparent transparent transparent;
}

.comparison-table [aria-describedby]:hover,
.comparison-table [aria-describedby]:focus {
	position: relative;
}

.comparison-table [aria-describedby]:hover+[role="tooltip"],
.comparison-table [aria-describedby]:focus+[role="tooltip"] {
	opacity: 1;
	visibility: visible;
}

.small,
.text-small,
.small-text {
	font-size: 15px;
}

.tour-cols .small {
	color: #535353;
}
