/*
 * Hover and keyboard-focus states (WCAG 1.4.3 text contrast, 1.4.11 icon contrast).
 * Loaded last. The theme's generic rules (a:hover, .btn:focus) and the darker brand brown put dark
 * text on dark backgrounds in these states; each block below names the pair it corrects.
 */

/* Links in the dark navigation / intro panel: generic a:hover is #333 (on #333) */
.ct-sidebar a:not(.btn):hover,
.ct-sidebar a:not(.btn):focus,
.ct-mainNav a:not(.btn):hover,
.ct-mainNav a:not(.btn):focus,
.ct-navbarMobile a:not(.btn):hover,
.ct-navbarMobile a:not(.btn):focus {
	color: #fff;
}

/* Brown and dark buttons: .btn:focus sets #262626 text (on #755e48 / #000) */
.btn.btn-button--brown:hover,
.btn.btn-button--brown:focus,
.btn.btn-button--brown:active,
.btn.btn-button--dark:hover,
.btn.btn-button--dark:focus,
.btn.btn-button--dark:active {
	color: #fff;
}

/* Social icons: dark icon on the darker brown was 2.5:1. Light brown tile, dark icon (5.8:1);
   reversed on hover/focus (5.8:1). */
.ct-socials a {
	color: #1e1e1e;
	background-color: #b29b84;
}
.ct-socials a:hover,
.ct-socials a:focus,
.ct-socials a:active,
.ct-sidebar .ct-socials a:not(.btn):hover,
.ct-sidebar .ct-socials a:not(.btn):focus,
.ct-mainNav .ct-socials a:not(.btn):hover,
.ct-mainNav .ct-socials a:not(.btn):focus,
.ct-navbarMobile .ct-socials a:not(.btn):hover,
.ct-navbarMobile .ct-socials a:not(.btn):focus {
	color: #b29b84;
	background-color: #262626;
}
.ct-socials.ct-socials--square a {
	color: #fff;
	background-color: #262626;
}
.ct-socials.ct-socials--square a:hover,
.ct-socials.ct-socials--square a:focus,
.ct-socials.ct-socials--square a:active {
	color: #fff;
	background-color: #755e48;
}

/* Pause / play control of an auto-advancing slider (WCAG 2.2.2): a small round icon button that
   sits in the row of slide dots. */
.owl-controls.ct-carousel-hasToggle {
	position: relative;
}
/* slide dots: at least 24px to tap (WCAG 2.2, 2.5.8) */
.owl-theme .owl-controls .owl-page {
	min-width: 24px;
	min-height: 24px;
}
.ct-carousel-toggle {
	position: absolute;
	z-index: 5;
	left: 50%;
	top: 50%;
	margin: -16px 0 0 44px;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 1px solid #fff;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, .7);
	color: #fff;
	line-height: 1;
	cursor: pointer;
}
.ct-carousel-toggle:hover,
.ct-carousel-toggle:focus {
	background-color: #000;
	color: #fff;
}
.ct-carousel-toggle:focus-visible {
	outline: 3px solid #ffbf47;
	outline-offset: 2px;
}
.ct-carousel-toggle-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	box-sizing: border-box;
	width: 10px;
	height: 12px;
	margin: -6px 0 0 -5px;
	border-style: solid;
	border-color: currentColor;
	border-width: 0 3px; /* pause: two bars */
}
.ct-carousel-toggle.is-paused .ct-carousel-toggle-icon { /* play: triangle */
	width: 0;
	height: 0;
	margin: -6px 0 0 -3px;
	border-width: 6px 0 6px 10px;
	border-color: transparent transparent transparent currentColor;
}
