/* CyberFortress Security website version 4.1. */
/* Keep the globe independent of the original header and section layout. */
.language-switcher {
	position: absolute;
	top: 1px;
	right: 32px;
	z-index: 10000;
	width: 32px;
	color: #fff;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	text-align: left;
}

.language-switcher > summary {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 4px;
	color: inherit;
	background: transparent;
	cursor: pointer;
	list-style: none;
}

.language-switcher > summary::marker {
	content: "";
}

.language-switcher > summary::-webkit-details-marker {
	display: none;
}

.language-switcher > summary svg {
	display: block;
	width: 22px;
	height: 22px;
	pointer-events: none;
}

.language-switcher__label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.language-switcher__panel {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	width: 184px;
	max-width: calc(100vw - 32px);
	max-height: calc(100vh - 96px);
	overflow-y: auto;
	padding: 6px;
	border: 1px solid #587383;
	border-radius: 6px;
	background-color: #022536;
	box-shadow: 0 6px 18px rgb(0 0 0 / 25%);
}

.language-switcher:not([open]) > .language-switcher__panel {
	display: none;
}

.language-switcher__panel ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.language-switcher__panel li {
	margin: 0;
	padding: 0;
}

.language-switcher__panel a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 12px;
	border-radius: 3px;
	color: #fff;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	text-decoration: none;
	text-transform: none;
}

.language-switcher__panel a[aria-current="page"] {
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.language-switcher > summary:hover,
.language-switcher[open] > summary,
.language-switcher__panel a:hover {
	background-color: #153c50;
}

.language-switcher > summary:focus-visible,
.language-switcher__panel a:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 1px;
}

.translation-note {
	font-size: 13px;
	line-height: 1.4;
}

html:not([lang="en-CA"]) .et_pb_text_inner,
html:not([lang="en-CA"]) .et_pb_button,
html:not([lang="en-CA"]) .et_pb_slide_content {
	overflow-wrap: break-word;
}

html[lang="ja"] .et_pb_text_inner,
html[lang="ja"] .et_pb_slide_content {
	line-break: strict;
	word-break: normal;
}

.language-switcher a[lang="ja"] {
	font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

@media (min-width: 981px) and (max-width: 1200px) {
	html:not([lang="en-CA"]) #top-menu li a {
		font-size: 14px;
	}

	html:not([lang="en-CA"]) #top-menu li {
		padding-right: 6px;
	}

	html:not([lang="en-CA"]) #top-menu > li:last-child {
		padding-right: 0;
	}
}

@media (max-width: 980px) {
	.language-switcher {
		top: 18px;
		right: 42px;
		width: 44px;
	}

	.language-switcher > summary {
		width: 44px;
		height: 44px;
	}

	.language-switcher__panel {
		right: -42px;
	}
}

@media (forced-colors: active) {
	.language-switcher > summary,
	.language-switcher__panel {
		border-color: ButtonText;
	}

	.language-switcher > summary:focus-visible,
	.language-switcher__panel a:focus-visible {
		outline-color: Highlight;
	}
}
