body {
	margin: 0;
	color: #0B1413;
	font-family: "NeueMontreal";
	line-height: 135%;
	letter-spacing: 0.01em;
	background-color: #279BB8;
}

body::before {
	content: "";
	position: fixed;
	top: 50%;
	left: 50%;
	width: 150vmax;
	/* oversized so the rotated corners still cover the viewport */
	height: 150vmax;
	transform: translate(-50%, -50%) rotate(-45deg);
	/* negative = counter-clockwise */
	background-color: #279BB8;
	background-image: url(/csp/jap/portal/images/common/background-pattern-tile.jpg?v=2);
	background-repeat: repeat;
	background-size: 496px auto;
	z-index: -1;
	pointer-events: none;
}

.container {
	background: #FFFBF0;
	margin: 0 auto 48px auto;
	padding: 0 !important;
	width: min(100% - 96px, 1344px);
	max-width: none;
}

.page-gutter {
	padding-left: 48px;
	padding-right: 48px;
}

@media (max-width: 1439.98px) {
	.container {
		width: min(100% - 80px, 1344px);
		margin-bottom: 40px;
	}

	.page-gutter {
		padding-left: 40px;
		padding-right: 40px;
	}
}
@media (max-width: 1279.98px) {
	.container {
		width: calc(100% - 64px);
		margin-bottom: 32px;
	}

	.page-gutter {
		padding-left: 32px;
		padding-right: 32px;
	}
}
@media (max-width: 1023.98px) {
	.container {
		width: calc(100% - 48px);
		margin-bottom: 24px;
	}

	.page-gutter {
		padding-left: 24px;
		padding-right: 24px;
	}
}
@media (max-width: 575.98px) {
	.container {
		width: 100%;
		margin-bottom: 0;
	}

	.page-gutter {
		padding-left: 20px;
		padding-right: 20px;
	}
}
/*
a
{
	text-decoration:underline;
	text-underline-offset:2px;
	&:hover
	{
		text-decoration:underline;
		text-underline-offset:2px;
		text-decoration-thickness:1px;
	}
	&.active
	{
		text-decoration:underline;
		text-underline-offset:2px;
		text-decoration-thickness:1px;
		&:hover
		{
			text-underline-offset:2px;
			text-decoration-thickness:1px;
		}
	}
}
*/
h1 {
	font-family: "Museum", serif;
	color: #192B28;
	font-size: 60px;
	/* was 72px, reduced as per Alastair */
	line-height: 108%;
	letter-spacing: -0.01em;
}

@media (max-width: 991px) {
	/* was 767.98, reduced as per Alastair */
	h1 {
		font-size: 48px;
		/* was 58px, reduced as per Alastair */
	}
}
@media (max-width: 575.98px) {
	h1 {
		font-size: 36px;
		/* was 48px, reduced as per Alastair */
	}
}
h2 {
	font-family: "Museum", serif;
	color: #192B28;
	font-size: 52px;
	letter-spacing: -0.01em;
}

@media (max-width: 991px) {
	h2 {
		font-size: 36px;
	}
}
h4 {
	font-family: "Museum", serif;
	color: #192B28;
	font-size: 20px;
	margin-bottom: 20px;
}

h5 {
	text-align: center;
	letter-spacing: 0.08em;
	font-size: 0.875rem;
	font-weight: 600;
}

.hero {
	background: #F5EEDA;
	border-top: 1px solid #dcdcd2;
}
.hero h1 {
	font-family: "Museum", serif;
	color: #192B28;
	font-size: 52px;
	margin-top: 20px;
	margin-bottom: 25px;
}
.hero p {
	max-width: 560px;
	font-size: 18px;
}

@media (max-width: 575.98px) {
	.hero h1 {
		font-size: 36px;
	}
	.hero p {
		font-size: 16px;
	}
}
label {
	margin-bottom: 6px;
	margin-top: 4px;
	font-family: "Museum";
	color: #192B28;
	font-size: 16px;
	font-weight: normal;
	line-height: 135%;
	letter-spacing: -0.01em;
}

.btn {
	border-radius: 2px;
	font-family: "Museum";
	color: #192B28;
	font-size: 16px;
	line-height: 120%;
	letter-spacing: -0.01em;
	padding: 15px 48px;
}

@media (max-width: 575.98px) {
	.btn {
		width: 100%;
	}
}
.btn-primary {
	background-color: #85C4C4;
	border-color: #85C4C4;
	color: #192B28;
}
.btn-primary:hover, .btn-primary:active {
	color: #FFFBF0 !important;
	background: #192B28 !important;
	border-color: #192B28 !important;
}
.btn-primary:disabled {
	background-color: #85C4C4;
	border-color: #85C4C4;
	color: #192B28;
}

.btn-secondary {
	background: none;
	color: #192B28;
	border: 1px solid #192B28;
}
.btn-secondary:hover, .btn-secondary:active {
	color: #FFFBF0 !important;
	background: #192B28 !important;
}

.btn-tertiary {
	background: #192B28;
	border-color: #192B28;
	color: #FFFBF0;
	font-weight: 500;
}

.btn-tertiary:hover {
	background: #FFFBF0 !important;
	border-color: #0B1413 !important;
	color: #0B1413 !important;
}

.btn-sm-text {
	font-size: 14px;
}

input:not([type=checkbox]):not([type=radio]), select, textarea {
	height: 51px;
	line-height: 51px !important;
	color: #0B1413;
	padding: 0 0.625rem !important;
	border: 1px solid #0B1413 !important;
	border-radius: 2px !important;
	background-color: transparent !important;
	font-size: 16px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	font-family: "NeueMontreal", serif;
	letter-spacing: 0.01em;
}
input:not([type=checkbox]):not([type=radio]):focus, select:focus, textarea:focus {
	box-shadow: none !important;
	outline: 1px solid #0B1413 !important;
}
input:not([type=checkbox]):not([type=radio]):disabled, select:disabled, textarea:disabled {
	background-color: #F5EEDA !important;
	color: rgba(11, 20, 19, 0.5) !important;
	cursor: not-allowed;
}

input[type=number] {
	-moz-appearance: textfield !important;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

textarea {
	line-height: 1.5rem !important;
	height: auto;
	padding: 16px !important;
}

input[type=checkbox], input[type=radio] {
	width: 1.1em;
	height: 1.1em;
	accent-color: #0B1413;
	border: 1px solid #0B1413;
	border-radius: 2px;
}
input[type=checkbox]:focus, input[type=radio]:focus {
	box-shadow: none;
}

input[type=checkbox] + label {
	vertical-align: middle;
}

.text-muted {
	color: rgba(25, 43, 40, 0.5) !important;
}

.consultant-card {
	background: #F5EEDA;
	border-radius: 2px;
}

.consultant-image {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	margin: 10px 0;
}

.person-name {
	font-family: "Museum";
	font-size: 20px;
	color: #192B28;
	letter-spacing: -0.01em;
}

.consultant-card-actions {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

@media (min-width: 576px) and (max-width: 991.98px) {
	.consultant-card-actions {
		flex-direction: row;
	}

	.consultant-card-actions .btn {
		flex: 1 1 0;
		min-width: 0;
	}
}
.form-select:disabled, .form-control:disabled {
	background-color: #dcdcd2;
}

.light-note {
	background-color: #FFFBF0;
	border-radius: 2px;
	padding: 1rem;
}

.dark-note {
	background-color: #F5EEDA;
	border-radius: 2px;
	padding: 1rem;
	font-size: 14px;
}

/* Used when there is a left column for consultant details or passenger lists */
.two-col-grid {
	display: flex;
	flex-direction: column;
}

.modal-content {
	background-color: #FFFBF0;
	color: #0B1413;
	font-size: 0.9rem;
	border-radius: 2px;
}

.modal-header {
	background-color: #F5EEDA;
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
}

.modal-title {
	font-family: "Museum";
	color: #192B28;
	font-size: 1rem;
	letter-spacing: 0.08em;
}

.modal-body {
	overflow-y: auto;
	overflow-x: hidden;
	overscroll-behavior: contain;
	position: relative;
	scrollbar-width: auto;
}
.modal-body::-webkit-scrollbar {
	width: 12px;
}
.modal-body::-webkit-scrollbar-thumb {
	background-color: #999;
	border-radius: 6px;
}
.modal-body::-webkit-scrollbar-track {
	background-color: #f1f1f1;
}
.modal-body a {
	color: #0B1413 !important;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.modal-body a:hover {
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-thickness: 2px;
}

@media (min-width: 992px) {
	.two-col-grid {
		flex-direction: row;
		align-items: flex-start;
		column-gap: 32px;
	}

	#sidebarCol {
		flex: 0 0 auto;
		width: clamp(260px, 27%, 300px);
	}

	#mainCol {
		flex: 1 1 0;
		min-width: 0;
	}
}
@media (min-width: 1280px) {
	.two-col-grid {
		column-gap: 64px;
	}
}
footer {
	background: #1c2b26;
	color: #FFFBF0;
}
footer a {
	color: #FFFBF0;
	text-decoration: underline;
	text-underline-offset: 2px;
}
footer a:hover {
	text-decoration-thickness: 2px;
}
footer address {
	line-height: 1.6;
}
footer hr {
	border-color: #FFFBF0;
	opacity: 0.25;
}

.footer-logos img {
	height: 50px;
	width: auto;
}

header {
	boder-bottom: 1px solid #ccc;
}

.header-bar {
	padding: 20px 48px;
}

@media (max-width: 359.98px) {
	.header-bar img {
		width: 200px;
		height: auto;
	}
}
@media (max-width: 1439.98px) {
	.header-bar {
		padding: 20px 40px;
	}
}
@media (max-width: 1279.98px) {
	.header-bar {
		padding: 20px 32px;
	}
}
@media (max-width: 1023.98px) {
	.header-bar {
		padding: 12px 24px;
	}
}
@media (max-width: 575.98px) {
	.header-bar {
		padding: 12px 20px;
	}
}
.navbar-nested {
	font-family: "Museum";
}
.navbar-nested a {
	color: #192B28;
	text-decoration: none;
	font-weight: 400;
	text-underline-offset: 6px;
}
.navbar-nested a:hover {
	text-decoration: underline;
}
.navbar-nested a:active {
	text-decoration-thickness: 2px;
}
.navbar-nested a.active {
	text-decoration: underline;
	text-decoration-thickness: 2px;
}
.navbar-nested a.active:hover {
	text-decoration-thickness: 1px;
}
.navbar-nested a.active:active {
	text-decoration-thickness: 2px;
}

.avatar-circle {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #8DB7D9;
	color: #FFFBF0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	flex: 0 0 auto;
	letter-spacing: 0.01em;
}

.avatar-name {
	font-size: 14px;
	line-height: 135%;
	color: #192B28;
}

.avatar-email {
	font-size: 12px;
	line-height: 135%;
	color: rgba(25, 43, 40, 0.5);
}

.navbar-toggler {
	border: none;
	padding: 0.25rem 0 0.25rem 0.5rem;
	line-height: 0;
}

.navbar-toggler:focus {
	box-shadow: none;
}

.navbar-toggler .icon-bar {
	display: block;
	width: 22px;
	height: 2px;
	background: #0B1413;
	margin: 4px 0;
}

.user-toggle {
	background: transparent;
	border: 1px solid transparent;
	border-radius: 2px;
	padding: 0;
	color: inherit;
	text-align: left;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

@media (min-width: 768px) {
	.user-toggle {
		padding: 0.4rem 0.6rem;
	}

	.user-toggle:hover,
.user-toggle[aria-expanded=true] {
		background: linear-gradient(rgba(25, 43, 40, 0.02), rgba(25, 43, 40, 0.02)), #FFFBF0;
		border-color: #dcdcd2;
	}

	.user-toggle:focus-visible {
		outline: 2px solid #192B28;
		outline-offset: 2px;
	}
}
.user-menu-panel {
	position: absolute;
	top: calc(100% + 0.25rem);
	right: 0;
	min-width: 200px;
	/* avatar-only: the toggle is too narrow to size the menu */
	z-index: 1000;
}

@media (min-width: 768px) {
	.user-menu-panel {
		left: 0;
		/* stretch to the wrapper's width */
		min-width: 0;
	}
}
.user-menu-inner {
	background: #FFFBF0;
	border: 1px solid #dcdcd2;
	border-radius: 2px;
	box-shadow: 0 8px 24px rgba(25, 43, 40, 0.12);
	overflow: hidden;
}

.user-menu-inner a {
	display: block;
	padding: 0.7rem 1rem;
	font-family: "Museum", serif;
	font-size: 0.95rem;
	color: #192B28;
	text-decoration: none;
}

.user-menu-inner a:hover,
.user-menu-inner a:focus-visible {
	text-decoration: underline;
	outline: 0;
}

.office-card {
	background: #FFFBF0;
	border: 1px solid #dcdcd2;
	border-radius: 2px;
	margin: 0 20px;
}

.eyebrow {
	letter-spacing: 0.06em;
	font-size: 14px;
	color: #0B1413;
	font-weight: 500;
	margin-bottom: 12px;
}

.office-city {
	font-family: "Museum", serif;
	color: #192B28;
	font-size: 24px;
	letter-spacing: -0.01em;
}

.office-phone {
	font-size: 18px;
	font-weight: 500;
	letter-spacing: 0.01em;
	margin-bottom: 12px;
}
.office-phone img {
	margin: 0 5px 4px 0;
}
.office-phone a {
	color: #0B1413;
	text-decoration: none;
}

.office-hours {
	color: #0B1413;
	font-size: 14px;
	letter-spacing: 0.01em;
}

.contact-form {
	border: 1px solid #dcdcd2;
	border-radius: 2px;
	margin-bottom: 1.5rem;
	margin: 0 20px 1.5rem 20px;
	padding: 1.5rem;
}

@media (min-width: 768px) {
	.office-city {
		font-size: 28px;
	}

	.office-hours {
		font-size: 16px;
	}
}