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;
}

html, body {
	height: 100%;
}

body {
	background: #FFFBF0;
}

body::before {
	content: "";
	background: none;
}

h1 {
	font-size: 40px;
}

a {
	color: #192B28;
}

.login-wrapper {
	min-height: 100vh;
}

/*.login-hero
{
	background:#d9d9d3;
	display:flex;
	align-items:center;
	justify-content:center;
	color:#a9a49a;
	flex:0 0 auto;
}*/
.login-hero {
	position: relative;
	overflow: hidden;
	flex: 0 0 auto;
	aspect-ratio: 1/1;
}

.login-hero video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

@media (min-width: 768px) {
	.login-hero {
		flex: 0 0 50%;
		aspect-ratio: auto;
	}
}
.login-panel {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2.5rem 1.5rem;
}

@media (max-width: 767.98px) {
	header {
		margin-bottom: 50px;
	}

	.login-hero {
		order: 2;
	}

	.login-panel {
		order: 1;
	}
}
.login-form {
	width: 100%;
	max-width: 400px;
}

.login-form-wide {
	width: 100%;
	max-width: 480px;
}

.notice-box {
	background-color: #F5EEDA;
	border-radius: 2px;
}
.notice-box ul {
	margin: 0;
}
.notice-box ul li {
	line-height: 135%;
	font-size: 0.875rem;
}

.back-link {
	font-family: "Museum";
	color: #192B28;
	text-decoration: underline;
	text-underline-offset: 6px;
	font-weight: 500;
}
.back-link:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
}