/*
 * Search page (/content/view/496/91/) only. Loaded by the content mambot nmsearch together with a viewport meta,
 * so nothing here reaches other pages. Plain system fonts, no images, no external resources.
 * The page heading is the standard content heading of the template (no rules here).
 * Look: the site's own portal style: solid blue title bars, square boxed panels, light blue rows.
 * Colours: bar #2a5d9f, deep #1d4577, row #eaf0f8, border #b9c7da, text #1c2430, muted #46546a, link #1d4f94, alert #9b2c20.
 */

/* the body cell of the content table: no inner padding, so the form lines up with the heading */
td.nms-cell {
	padding: 0;
}

/* =BASE ================================================================== */

#nmsearch {
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 15px;
	line-height: 1.55;
	color: #1c2430;
}

#nmsearch a {
	color: #1d4f94;
	text-decoration: underline;
}

#nmsearch a:hover {
	color: #1c2430;
	text-decoration: none;
}

#nmsearch a:focus,
#nmsearch input:focus,
#nmsearch select:focus,
#nmsearch button:focus {
	outline: 3px solid #9b2c20;
	outline-offset: 2px;
}

#nmsearch ol,
#nmsearch ul,
#nmsearch li,
#nmsearch p,
#nmsearch h3 {
	margin: 0;
	padding: 0;
}

#nmsearch mark {
	background: #ffe27a;
	color: #1c2430;
	padding: 0 1px;
}

/* =FORM ================================================================== */

#nmsearch .nms-bar {
	background: #1d4577;
	color: #fff;
	font-weight: bold;
	font-size: 15px;
	padding: 7px 12px;
}

#nmsearch .nms-panel {
	background: #eaf0f8;
	border: 1px solid #b9c7da;
	border-top: 0;
	padding: 14px 12px 12px;
}

#nmsearch .nms-label {
	display: block;
	font-weight: bold;
	margin: 0 0 6px;
}

#nmsearch .nms-row {
	display: flex;
	gap: 8px;
}

#nmsearch input[type="search"]::placeholder {
	color: #566178;
	opacity: 1;
}

#nmsearch input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	box-sizing: border-box;
	height: 52px;
	margin: 0;
	padding: 0 12px;
	font: inherit;
	font-size: 18px;
	color: #1c2430;
	background: #fff none;
	border: 2px solid #1d4577;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
}

#nmsearch button {
	flex: 0 0 auto;
	box-sizing: border-box;
	height: 52px;
	margin: 0;
	padding: 0 28px;
	font: inherit;
	font-size: 17px;
	font-weight: bold;
	color: #fff;
	background: #2a5d9f;
	border: 2px solid #1d4577;
	border-radius: 0;
	cursor: pointer;
}

#nmsearch button:hover {
	background: #1d4577;
}

#nmsearch .nms-opts {
	margin-top: 10px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
}

/* a label stays on one line with its own list */
#nmsearch .nms-opt {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

#nmsearch .nms-opts label {
	color: #46546a;
}

#nmsearch select {
	box-sizing: border-box;
	height: 40px;
	margin: 0 6px 0 0;
	padding: 0 8px;
	font: inherit;
	color: #1c2430;
	background: #fff none;
	border: 1px solid #1d4577;
	border-radius: 0;
}

#nmsearch .nms-opt select {
	margin: 0;
}

/* =MESSAGES ============================================================== */

#nmsearch .nms-help,
#nmsearch .nms-note {
	margin-top: 12px;
	padding: 10px 12px;
	background: #fff;
	border: 1px solid #b9c7da;
}

#nmsearch .nms-help p + p {
	margin-top: 6px;
}

#nmsearch .nms-note-err {
	border-color: #9b2c20;
	color: #9b2c20;
}

#nmsearch .nms-tips {
	margin: 8px 0 0 20px;
	list-style: disc;
}

#nmsearch .nms-tips li {
	margin-top: 3px;
}

/* =RESULTS =============================================================== */

#nmsearch .nms-tabs {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin-top: 14px;
	border-bottom: 3px solid #2a5d9f;
}

#nmsearch .nms-tabs li {
	margin: 0;
}

#nmsearch .nms-tabs a,
#nmsearch .nms-tabs span {
	display: block;
	padding: 8px 14px;
	min-height: 24px;
	background: #d6e2f2;
	border: 1px solid #b9c7da;
	border-bottom: 0;
	margin-right: 3px;
	text-decoration: none;
}

#nmsearch .nms-tabs li.nms-on span {
	background: #2a5d9f;
	border-color: #2a5d9f;
	color: #fff;
	font-weight: bold;
}

#nmsearch .nms-tabs .nms-cnt {
	display: inline;
	padding: 0;
	border: 0;
	margin: 0;
	background: none;
	font-weight: bold;
}

#nmsearch .nms-sum {
	margin: 10px 0;
	color: #46546a;
}

#nmsearch .nms-list {
	list-style: none;
	border: 1px solid #b9c7da;
	border-bottom: 0;
}

#nmsearch .nms-item {
	list-style: none;
	padding: 10px 12px;
	background: #fff;
	border-bottom: 1px solid #b9c7da;
}

#nmsearch .nms-item:nth-child(odd) {
	background: #eaf0f8;
}

#nmsearch .nms-t {
	font-size: 17px;
	line-height: 1.3;
	font-weight: bold;
	color: #1c2430;
	word-wrap: break-word;
	overflow-wrap: anywhere;
}

#nmsearch .nms-ex {
	margin-top: 4px;
	word-wrap: break-word;
	overflow-wrap: anywhere;
}

#nmsearch .nms-meta {
	margin-top: 5px;
	font-size: 13px;
	color: #46546a;
	word-wrap: break-word;
	overflow-wrap: anywhere;
}

#nmsearch .nms-meta span + span::before {
	content: "\00b7\00a0";
}

#nmsearch .nms-sec {
	font-weight: bold;
}


/* =PAGER ================================================================= */

#nmsearch .nms-pager {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	list-style: none;
	margin-top: 14px;
}

#nmsearch .nms-pager li {
	margin: 0;
}

#nmsearch .nms-pager a,
#nmsearch .nms-pager span {
	display: block;
	box-sizing: border-box;
	min-width: 44px;
	min-height: 44px;
	padding: 10px 12px;
	text-align: center;
	background: #eaf0f8;
	border: 1px solid #b9c7da;
	text-decoration: none;
}

#nmsearch .nms-pager a:hover {
	background: #d6e2f2;
}

#nmsearch .nms-pager li.nms-on span {
	background: #2a5d9f;
	border-color: #1d4577;
	color: #fff;
	font-weight: bold;
}

#nmsearch .nms-pager li.nms-dis span {
	color: #46546a;
	background: #fff;
}

#nmsearch .nms-pager li.nms-gap span {
	border-color: transparent;
	background: none;
	min-width: 20px;
	padding-left: 4px;
	padding-right: 4px;
}

/* =NARROW SCREENS ======================================================== */
/* The portal template is built from fixed-width tables. On this page only, stack its columns so that the content fits a phone. */

@media (max-width: 860px) {
	table.header,
	table.header > tbody,
	table.header > tbody > tr,
	table.header > tbody > tr > td {
		display: block;
		width: auto;
		height: auto;
	}

	table.header > tbody > tr > td[width] {
		display: none;
	}

	table.header > tbody > tr > td {
		padding: 4px 10px;
		overflow-x: auto;
	}

	table.header img {
		max-width: 100%;
		height: auto;
	}

	#mainlevel-nav,
	#mainlevel-nav > tbody,
	#mainlevel-nav > tbody > tr,
	#mainlevel-nav > tbody > tr > td {
		display: block;
		width: auto;
	}

	#mainlevel-nav td {
		padding: 0 8px;
	}

	#mainlevel-nav td span {
		display: inline-block;
		margin: 0 8px 4px 0;
	}

	#ipbwrapper {
		margin: 8px 8px 12px;
		overflow-x: hidden;
	}

	#ipbwrapper > table,
	#ipbwrapper > table > tbody,
	#ipbwrapper > table > tbody > tr,
	#ipbwrapper > table > tbody > tr > td,
	#ipbwrapper > table > tbody > tr > td > table,
	#ipbwrapper > table > tbody > tr > td > table > tbody,
	#ipbwrapper > table > tbody > tr > td > table > tbody > tr,
	#ipbwrapper > table > tbody > tr > td > table > tbody > tr > td {
		display: block;
		width: auto;
		max-width: 100%;
		box-sizing: border-box;
	}

	td.maincontent {
		padding-right: 0;
	}

	td.legals,
	td.right,
	td.left {
		width: auto;
		padding-left: 0;
		padding-right: 0;
	}

	#ipbwrapper img,
	#ipbwrapper iframe {
		max-width: 100%;
		height: auto;
	}

	table.footer,
	table.footer > tbody,
	table.footer > tbody > tr,
	table.footer > tbody > tr > td {
		display: block;
		width: auto;
	}

	table.footer td[width] {
		display: none;
	}

	table.footer td {
		padding: 4px 10px;
		text-align: left;
	}
}

@media (max-width: 480px) {
	#nmsearch .nms-row {
		flex-direction: column;
	}

	#nmsearch button {
		width: 100%;
	}

	#nmsearch .nms-opts select {
		max-width: 100%;
	}

	#nmsearch .nms-tabs a,
	#nmsearch .nms-tabs span {
		padding: 8px 10px;
	}
}
