/* Local Overrides */

/* Ribbon */

@keyframes ribbon-drop {
	0% {
		transform: translateY(-100%);
	}

	to {
		transform: translateY(0);
	}
}

.ribbon {
	overflow: hidden;
	--ribbon-background-color: #f5f5f7;
	--ribbon-text-color: #1d1d1f;
	--ribbon-link-color: #0066cc;
	--ribbon-focus-color: rgba(0, 125, 250, 0.6);
}

.ribbon-content-wrapper {
	text-align: center;
}

.ribbon-content {
	margin-left: auto;
	margin-right: auto;
	width: 980px;
}

@media only screen and (min-width: 1441px) {
	.ribbon-content {
		margin-left: auto;
		margin-right: auto;
		width: 980px;
	}
}

@media only screen and (max-width: 1068px) {
	.ribbon-content {
		margin-left: auto;
		margin-right: auto;
		width: 692px;
	}
}

@media only screen and (max-width: 734px) {
	.ribbon-content {
		margin-left: auto;
		margin-right: auto;
		width: 87.5%;
	}
}

@media only screen and (max-width: 320px) {
	.ribbon-content {
		margin-left: auto;
		margin-right: auto;
		width: 90%;
	}
}

.ribbon-link {
	white-space: nowrap;
}

.ribbon-link:focus {
	text-decoration: underline;
}

.ribbon .ribbon-content-wrapper {
	padding-top: 0.9411764706em;
	padding-bottom: 0.9411764706em;
}

.ribbon .ribbon-content {
	font-size: 14px;
	line-height: 1.4285914286;
	font-weight: 400;
	letter-spacing: -0.016em;
	font-family:
		SF Pro Text,
		SF Pro Icons,
		Helvetica Neue,
		Helvetica,
		Arial,
		sans-serif;
}

.ribbon .ribbon-content-wrapper {
	background-color: var(--ribbon-background-color);
}

.ribbon .ribbon-content {
	color: var(--ribbon-text-color);
}

.ribbon .ribbon-link:focus {
	outline-color: var(--ribbon-focus-color);
}

.ribbon .ribbon-link {
	color: var(--ribbon-link-color);
}

.ribbon-blue-to-default {
	--ribbon-background-color: #f5f5f7;
	--ribbon-background-color-initial: #0071e3;
	--ribbon-text-color: #1d1d1f;
	--ribbon-text-color-initial: white;
	--ribbon-link-color: #0066cc;
	--ribbon-focus-color: rgba(0, 125, 250, 0.6);
	--ribbon-link-color-initial: white;
}

.ribbon-blue-to-default .ribbon-content-wrapper {
	background-color: var(--ribbon-background-color-initial);
	animation: animate-background-0071e3-f5f5f7 1s ease-in-out 1.8s forwards;
}

@media (prefers-reduced-motion) {
	.ribbon-blue-to-default .ribbon-content-wrapper {
		background-color: var(--ribbon-background-color);
		animation: none;
	}
}

.ribbon-blue-to-default .ribbon-content {
	color: var(--ribbon-text-color-initial);
	animation: animate-color-white-1d1d1f 1s ease-in-out 1.8s forwards;
}

@media (prefers-reduced-motion) {
	.ribbon-blue-to-default .ribbon-content {
		color: var(--ribbon-text-color);
		animation: none;
	}
}

.ribbon-blue-to-default .ribbon-link:focus {
	outline-color: var(--ribbon-focus-color);
}

.ribbon-blue-to-default .ribbon-link {
	color: var(--ribbon-link-color-initial);
	animation: animate-color-white-0066cc 1s ease-in-out 1.8s forwards;
}

@media (prefers-reduced-motion) {
	.ribbon-blue-to-default .ribbon-link {
		color: var(--ribbon-link-color);
		animation: none;
	}
}

.ribbon-drop-wrapper {
	animation: ribbon-drop 0.8s ease-in-out forwards;
}

@media (prefers-reduced-motion) {
	.ribbon-drop-wrapper {
		animation: none;
	}
}

@keyframes animate-color-white-f5f5f7 {
	0% {
		color: var(--ribbon-text-color-initial);
	}

	to {
		color: var(--ribbon-text-color);
	}
}

@keyframes animate-background-0071e3-f5f5f7 {
	0% {
		background-color: var(--ribbon-background-color-initial);
	}

	to {
		background-color: var(--ribbon-background-color);
	}
}

@keyframes animate-color-white-1d1d1f {
	0% {
		color: var(--ribbon-text-color-initial);
	}

	to {
		color: var(--ribbon-text-color);
	}
}

@keyframes animate-color-white-0066cc {
	0% {
		color: var(--ribbon-link-color-initial);
	}

	to {
		color: var(--ribbon-link-color);
	}
}

/* Headline */
@media only screen and (max-width: 480px) {
	.section-hero .hero-headline .custom_small {
		display: inline;
		white-space: normal;
	}
}
@media only screen and (max-width: 460px) {
	.section-hero .hero-headline .custom_xsmall {
		display: inline;
		white-space: normal;
	}
}

.section-hero .hero-headline br {
	display: none;
}

@media (max-width: 480px) {
	.section-hero .hero-headline br {
		display: inline;
	}
}

/* Next Step */
.section-router
	.section-content
	.copy-container
	.typography-headline-standalone
	br.custom_small {
	display: none;
}
@media only screen and (max-width: 475px) {
	.section-router
		.section-content
		.copy-container
		.typography-headline-standalone
		br.custom_small {
		display: inline-block;
	}
}

/* Contact Router */
@media only screen and (min-width: 735px) {
	.section-router .small-hide .tile-rounded .tile-copy-container {
		max-width: 270px;
	}
}

/*br */
.section-router
	.tile-rounded
	.tile-headline.typography-eyebrow-elevated
	br.custom_small_first {
	display: none;
}
@media only screen and (max-width: 974px) and (min-width: 735px) {
	.section-router
		.tile-rounded
		.tile-headline.typography-eyebrow-elevated
		br.custom_small_first {
		display: inline-block;
	}
}
.section-router
	.tile-rounded
	.tile-headline.typography-eyebrow-elevated
	br.custom_small_third {
	display: none;
}
@media only screen and (max-width: 799px) and (min-width: 735px) {
	.section-router
		.tile-rounded
		.tile-headline.typography-eyebrow-elevated
		br.custom_small_third {
		display: inline-block;
	}
}

/* hello bubble */
.icon-hello {
	background-size: 167px 72px;
	background-image: url("/ca/fr/business/small-business/images/overview/hello_bubble__eu1dbrvzhtiu_large.png");
	width: 167px;
	height: 72px;
}

@media (min-resolution: 1.5dppx), (min-resolution: 144dpi) {
	.icon-hello {
		background-image: url("/ca/fr/business/small-business/images/overview/hello_bubble__eu1dbrvzhtiu_large_2x.png");
	}
}

@media (max-width: 1068px) {
	.icon-hello {
		background-size: 142px 61px;
		background-image: url("/ca/fr/business/small-business/images/overview/hello_bubble__eu1dbrvzhtiu_medium.png");
		width: 142px;
		height: 61px;
	}
}

@media (max-width: 1068px) and (min-resolution: 1.5dppx),
	(max-width: 1068px) and (min-resolution: 144dpi) {
	.icon-hello {
		background-image: url("/ca/fr/business/small-business/images/overview/hello_bubble__eu1dbrvzhtiu_medium_2x.png");
	}
}

@media (max-width: 734px) {
	.icon-hello {
		background-size: 84px 37px;
		background-image: url("/ca/fr/business/small-business/images/overview/hello_bubble__eu1dbrvzhtiu_small.png");
		width: 84px;
		height: 37px;
	}
}

@media (max-width: 734px) and (min-resolution: 1.5dppx),
	(max-width: 734px) and (min-resolution: 144dpi) {
	.icon-hello {
		background-image: url("/ca/fr/business/small-business/images/overview/hello_bubble__eu1dbrvzhtiu_small_2x.png");
	}
}

/* end of hello bubble */

@media (max-width: 734px) {
	.typography-headline .highlight {
		font-size: 27px;
	}
}
@media (max-width: 734px) {
	.typography-headline .custom_headline_fr {
		font-size: 27px;
	}
}

@media (max-width: 734px) {
	.typography-section-headline .nowrap {
		font-size: 43px;
	}
}

@media only screen and (max-width: 330px) {
	.section-hero.rolodex-mode
		.hero-headline
		.rolodex:first-child
		> .rolodex-item.hide-no-enhanced-xp {
		width: 90%;
	}
	.section-hero.rolodex-mode .hero-headline .rolodex > .rolodex-item.setup {
		left: -6px;
	}
}
/* Hero headline */

@media only screen and (min-width: 1231px) {
	.section.section.section-hero.rolodex-mode
		div.section-content
		div
		div
		div:nth-child(2).rolodex-item.animate-in {
		left: -100px;
	}
}

@media only screen and (min-width: 1110px) and (max-width: 1230px) {
	.section.section.section-hero.rolodex-mode
		div.section-content
		div
		div
		div:nth-child(2).rolodex-item.animate-in {
		left: -90px;
	}
}

@media only screen and (min-width: 1069px) and (max-width: 1110px) {
	.section.section.section-hero.rolodex-mode
		div.section-content
		div
		div
		div:nth-child(2).rolodex-item.animate-in {
		font-size: 105px;
		left: -75px;
	}
}

@media only screen and (min-width: 801px) and (max-width: 1068px) {
	.section.section.section-hero.rolodex-mode
		div.section-content
		div
		div
		div:nth-child(2).rolodex-item.animate-in {
		left: -70px;
	}
}

@media only screen and (max-width: 734px) {
	.section-business-cards a {
		min-width: 184px;
		white-space: break-spaces;
	}
}

@media only screen and (min-width: 735px) and (max-width: 1068px) {
	.section-business-cards a {
		min-width: 219px;
		white-space: break-spaces;
	}
}
