

@font-face{font-display:swap;font-family:AtkinsonHyperLegible;font-stretch:normal;font-style:normal;font-weight:300;src:url(/assets/fonts/AtkinsonHyperlegibleNext-Light.woff2) format("woff2")}

@font-face{font-display:swap;font-family:AtkinsonHyperLegible;font-stretch:normal;font-style:italic;font-weight:400;src:url(/assets/fonts/AtkinsonHyperlegibleNext-Light.woff2) format("woff2")}

@font-face{font-display:swap;font-family:AtkinsonHyperLegible;font-stretch:normal;font-style:normal;font-weight:400;src:url(/assets/fonts/AtkinsonHyperlegibleNext-Regular.woff2) format("woff2")}

@font-face{font-display:swap;font-family:AtkinsonHyperLegible;font-stretch:normal;font-style:normal;font-weight:600;src:url(/assets/fonts/AtkinsonHyperlegibleNext-SemiBold.woff2) format("woff2")}

@font-face{font-display:swap;font-family:"DMSerifDisplay";font-stretch:normal;font-style:normal;font-weight:400;src:url(/assets/fonts/-nFnOHM81r4j6k0gjAW3mujVU2B2G_5x0vrx52jJ3Q.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}

@font-face{font-display:swap;font-family:"DMSerifDisplay";font-stretch:normal;font-style:normal;font-weight:400;src:url(/assets/fonts/-nFnOHM81r4j6k0gjAW3mujVU2B2G_Bx0vrx52g.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}

@font-face{font-display:swap;font-family:"DM Serif Display";font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/dmserifdisplay/v15/-nFnOHM81r4j6k0gjAW3mujVU2B2G_5x0vrx52jJ3Q.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}body,button,input,select,textarea{font-family:var(--font-family-default);font-weight:var(--light-weight)}

// @import url(https://db.onlinewebfonts.com/c/b681dd1b894dec70cc143f4cc31cae5d?family=Atkinson+Hyperlegible+Italic);

:root{
    --font-family-default: "AtkinsonHyperLegible", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

#normal, #homePage, #mapViewer, #mapViewerPrint, #mapViewerFindByPlace, #mapViewerGeoRefMaps, #mapViewerSideBySide  {
	font-family: AtkinsonHyperLegible;
	font-stretch:normal;
	font-style:normal;
	line-height: 1.5em;
	margin: 0;
	padding: 0;
}

#normal em, #homePage em {
	font-family: "Atkinson Hyperlegible Italic";
	font-size: 1.15rem;
}

#mapViewer em {
	font-family: "Atkinson Hyperlegible Italic";
	font-size: 0.95rem;
}


#header {
//	-moz-box-shadow: 0 0 15px -3px #333;
//	-webkit-box-shadow: 0 0 15px -3px #333;
//	box-shadow: 0 0 15px -3px #333;
}

#searchSideBar, #resultsSideBar {
	-moz-box-shadow: 0 0 15px -3px #bbb;
	-webkit-box-shadow: 0 0 15px -3px #bbb;
	box-shadow: 0 0 15px -3px #bbb;
}

/* #footer {
	-moz-box-shadow: 0 0 15px -3px #666;
	-webkit-box-shadow: 0 0 15px -3px #666;
	box-shadow: 0 0 15px -3px #666;
} */

#header {
	position: relative;
	top: -30px;
	background-color: white;
	margin: 0;
	padding: 0;
	width: 100%;
	z-index: 1000;
}

#NLSLogo a, #siteTitle a {
	color: #13133b;
	text-decoration: none;
}

#NLSLogo a:hover, #siteTitle a:hover {
	color: #666;
}

#NLSLogo {
	float: left;
	width: 235px;
	height: 60px;
	margin: 0;
//	padding: 16px;
	border: none;
}

@media only screen and (min-width: 70rem) {

		#mapViewer #header #pageTitle {
			margin: 0 254px 0 177px;
			padding: 17px 6px 23px 16px;
			color: #003;
			font-size: 0.9em;
			font-weight: normal;
			border: none;
			line-height: 1.3em;
			max-height: 80px;
			overflow: hidden;
		}

}

@media only screen and (max-width: 70rem) {

		#mapViewer #header #pageTitle {
			margin: 0 264px 0 160px;
			padding: 18px 6px 4px 6px;

			color: #003;
			font-size: 0.8em;
			font-weight: normal;
			border: none;
			line-height: 1.3em;
			max-height: 80px;
			overflow: hidden;
		}

}

#normal #header #pageTitle, #homePage #header #pageTitle, #mapViewerPrint #header #pageTitle, #mapViewerFindByPlace #header #pageTitle, #mapViewerGeoRefMaps #header #pageTitle, #mapViewerSideBySide #header #pageTitle  {
	margin: 0 174px 0 177px;
	padding: 26px 16px 0 16px;
	color: #003;
	font-size: 0.9em;
	border: none;
	line-height: 1.2em;
	max-height: 80px;
	overflow: hidden;
}

.headerSearchForm {
	position: absolute;
	right: 0;
	top: 0;
	margin: 18px 15px 0 0;
	padding: 2px;
	width: 208px;
	color: #003;
	border: 1px solid #000;
	background-color: white;

}

#headerSearchFormSearchBox {
	float: left;
	height: 17px;
	width: 105px;
//	border: none;
	border: 2px solid #000;
	color: #666;
	padding: 4px 3px;
	margin: 0 0 0 5px;
	font-size: 0.8em;
	background-color: white;

}

#headerSearchFormLabel  {
	margin: 6px 5px 0 0;
	float: left;
	font-size: 0.95em;
}

#headerSearchFormSubmitButton {
	float: left;
	height: 25px;
//	width: 25px;
//	background-image: url(https://maps.nls.uk/assets/graphics/search_icon.png);
	background-repeat: no-repeat;
	background-position: center;
	border: none;
	color: #000;
	margin: 2px 0 0 0;
	background-color: white;
}

#bar {
	width: 100%;
	padding: 0;
	margin: 0;
	font-size: 0.9em;
	line-height: 1.5em;
	color: #707070;
	border-top: 1px solid black;
	border-bottom: 1px solid black;
	background-color: #faf2f8 !important;
	background-image: url(https://maps.nls.uk/assets/graphics/shade.png);
	clear: both;
	max-height: 26px;
	overflow: hidden;
}

#headerMenu, #digitalOrdersMenu {
	float: right;
//	background-color: #faf2f8;
	margin: 0;
	padding: 0;
}

#headerMenu {
	width: 0em;
}

#backButtonMenu {
	float: left;
	background-color: #f30;
	margin: 0;
	padding-left: 2px;
	position: absolute;
	left: 0px;
	width:  4.5em;
	border-right: 1px solid white;
	max-height: 26px;
}

#digitalOrdersMenu {
	position: absolute;
	right: 0px;
	width:  19.5em;
	border-right: 1px solid white;
	max-height: 26px;
//	background-color: #e8dfe3;
	background-image: url(https://maps.nls.uk/assets/graphics/shade.png);
}



#digitalOrdersMenu2 {
	position: absolute;
	bottom: 16px;
	left: 16px;
	padding: 2px;
	margin: 0;
	font-size: 0.8em;
	z-index: 10000;
    background: rgba(255,255,255,0.4);
    border-radius: 4px;
    padding: 3px;
	-webkit-user-select: none; -ms-user-select: none; user-select: none;
}

#headerMenu li, #digitalOrdersMenu li, #digitalOrdersMenu2 li {
	float: right;
	list-style: none;
	display: block;
	border-left: 1px solid white;
	background-image: url(/assets/graphics/shade.png);
	margin: 0;
	padding: 0;
	font-size: 1em;
	height: 26px;
	-webkit-user-select: none; -ms-user-select: none; user-select: none;
}


#headerMenu li a, #digitalOrdersMenu li a, #digitalOrdersMenu2 li a {
	display: inline-block;
	color: white;
	text-decoration: none;
//	min-height: 31px !important;
	padding: 5px 4px 2px 10px; 
//	line-height: 1.4em !important;
}

.ie #headerMenu li a, .ie #digitalOrdersMenu li a, .ie #digitalOrdersMenu2 li a {
	padding: 1px 8px 2px 8px; 
}

#findByPlace {
	background-color: #39B437;
}

#browseByCategory {
	background-color: #f30;
}

#orderThisMap {
	margin: 0;
	padding: 0;
}

input.orderThisMap {
	height: 26px;
}

#viewBasket {
	background-color: #552b35;
}

#URHere {
	float: left;
	margin: 2px 0 0 0;
	padding: 0 10px 0 10px;
}

#URHere a {
	display: inline-block;
	color: #707070;
	text-decoration: none;
	margin-right: 0.3em;
	padding: 0px 4px 2px 4px;
}

#URHere a:hover {
	text-decoration: underline;
}

#footer {
	z-index: 1000;
}
	
#footerMenu, #footerMenuSite, #footerMenuViewer, #ol6footerMenuViewer {
	margin: 0;
	padding: 0;
}

#footerMenu, #footerMenuSite {
	float: right;
}

#footerMenuViewer {
	float: left;
}

#ol6footerMenuViewer {
	float: left;

}

#footerMenu li, #footerMenuSite li, #footerMenuViewer li {
	background-image: url(https://maps.nls.uk/assets/graphics/right_bottom_corner.png);
	background-position: bottom right;
	background-repeat: no-repeat;
	background-color: #003;
	float: right;
	list-style: none;
	display: inline;
	margin: 0 0 0 1px;
	padding: 3px 0 5px 0;
	height: 30px;
	font-size: 1em;
	font-family: AtkinsonHyperLegible;
	font-stretch:normal;
	font-style:normal;
	line-height: 1.5em;
}

#ol6footerMenuViewer li  {
	background-image: url(https://maps.nls.uk/assets/graphics/right_bottom_corner.png);
	background-position: bottom right;
	background-repeat: no-repeat;
	background-color: #003;
	background-color: #003;
	float: left;
	list-style: none;
	display: inline;
	margin: 0 0 0 1px;
	color: white;
	padding: 5px 14px 3px 14px;
	height: 30px;
	font-size: 1em;
	font-family: AtkinsonHyperLegible;
	font-stretch:normal;
	font-weight: 400;
	font-style:normal;
	line-height: 1.5em;
}

#ol6footerMenuViewer li a {
//	background-image: url(https://maps.nls.uk/assets/graphics/right_bottom_corner.png);
	background-position: bottom right;
	background-repeat: no-repeat;
	background-color: #003;
	float: right;
	list-style: none;
	display: inline;
	margin: 0 0 0 1px;
	color: #141414;
	padding: -2px 6px -4px 4px;
	text-decoration: none;
	font-size: 1em;
}

#ol6footerMenuViewer li:hover  {
	display: block;
	background-color: #666;
	float: left;
	background-image: url(https://maps.nls.uk/assets/graphics/left_bottom_corner_hover.png);
	background-position: bottom left;
	cursor: pointer;
}

#ol6footerMenuViewer li a:hover  {
	display: block;
	background-color: #666;

}

#ol6footerMenuViewer li.footerhelp {
	background-image: url(/assets/graphics/right_bottom_corner_help.png);
	background-position: bottom right;
	background-repeat: no-repeat;
	background-color: #eb5b59;
	float: left;
	list-style: none;
	height: 30px;
	display: block;
	padding: 0 0 2px 0;
	margin: 0 0 3px 1px;
	height: 30px;
	color: #141414;
	font-size: 1em;
	font-family: AtkinsonHyperLegible;
	font-stretch:normal;
	font-weight: 400;
	font-style:normal;
	line-height: 1.5em;
}

#ol6footerMenuViewer li.footerhelp a {
	background-image: url(/assets/graphics/right_bottom_corner_help_new.png);
	background-repeat: no-repeat;
	background-color: #eb5b59;
	float: right;
	list-style: none;
	display: block;
	margin: 0;
	padding: 5px 10px 3px 14px;
}

#ol6footerMenuViewer li.footerhelp:hover {
	display: inline;
	background-color: #f08277;
	background-image: none;
}

#ol6footerMenuViewer li.footerhelp a:hover {
	display: block;
	background-color: #f08277;
	background-image: none;
}

#footerMenu li:hover, #footerMenuSite li:hover, #footerMenuViewer li:hover {
	background-color: #666;
	background-image: url(https://maps.nls.uk/assets/graphics/right_bottom_corner_hover.png);
}
#footerMenu li a, #footerMenuSite li a, #footerMenuViewer li a {
	display: block;
	margin: 0;
	padding: 3px 14px 5px 14px;
	height: 30px;
	background-image: url(https://maps.nls.uk/assets/graphics/left_bottom_corner.png);
	background-position: bottom left;
	background-repeat: no-repeat;
	color: white;
	text-decoration: none;
	    font-size: 1em;
    font-family: AtkinsonHyperLegible;
    font-stretch: normal;
    font-weight: 400;
    font-style: normal;
    line-height: 1.5em;
}


#footerMenu li a:hover, #footerMenuSite li a:hover, #footerMenuViewer li a:hover {
	background-image: url(https://maps.nls.uk/assets/graphics/left_bottom_corner_hover.png);
}

/*-------------------------------------------------------*/
/* Normal text page chrome */

#normal {
	background-color: #FFFFFF;
}

#normal #footer  {
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}


@media only screen and (min-width: 1050px) {

	#normal #siteTitle {
		position: relative;
		text-align: center;
		height: 58px;
		margin: 0;
		left: 20%;
		right: 30%;
		color: #3A7DC1;
		font-family: AtkinsonHyperLegible;
		font-size: 1.7em;
		font-weight: 300;
		border: none;
	}

}



@media only screen and (min-width:900px) and (max-width: 1050px) {

	#normal #siteTitle {
		position: relative;
		text-align: left;
		height: 58px;
		margin: 0;
		left: 20%;
		right: 30%;
		color: #3A7DC1;
		font-family: AtkinsonHyperLegible;
		font-size: 1.6em;
		font-weight: 300;
		border: none;
	}

}


@media only screen and (min-width:850px) and (max-width:900px) {

	#normal #siteTitle {
		position: relative;
		text-align: left;
		height: 58px;
		margin: 0;
		left: 5%;
		right: 30%;
		color: #3A7DC1;
		font-family: AtkinsonHyperLegible;
		font-size: 1.5em;
		font-weight: 300;
		border: none;
	}

}



@media only screen and (max-width:850px) {

	#normal #siteTitle {
		display: none;
	}
	
	#normal #siteTitle a {
		display: none;
	}

}

#normal #siteTitle {
//	font-family: "DMSerifDisplay", "Georgia", "Times New Roman", serif;
//	padding: 24px 16px 0 16px;
	width: 200px;
}

#normal #mainContentOuter {
	position: relative;
	top: -30px;
	margin-bottom: -30px;
	background-color: white;
//	background-image: url(https://maps.nls.uk/assets/graphics/check.png);
	border-bottom: 1px solid #ccc;
}

#normal #mainContent {
	position: relative;
	margin: 0 auto 65px auto;
	max-width: 940px;
	padding: 15px 15px;
	background-color: white;
}

#normal #footer {
//	transform: translateY(-20px);
	background-color: #faf2f8;
	font-size: 1.1em;
//	font-weight: bolder;
	width: 100%;
	height: 100%;
//	max-width: 900px;
//	max-width: calc(100vw - 30px);

	margin: -35px 0 0 0;
}

/*-------------------------------------------------------*/
/* Home page chrome */

#homePage {
	background-color: white;
}

#homePage #header, #homePage #footer  {
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

#homePage #siteTitle {
	float: left;
	height: 58px;
	margin: 0;
	color: #3A7DC1;
	font-size: 1.2em;
	border: none;
}

#homePage #siteTitle {
	padding: 32px 16px 0 16px;
	width: 200px;
}

#homePage #mainContentOuter {
	position: relative;
	background-color: white;
	background-image: url(https://maps.nls.uk/assets/graphics/check.png);
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

#homePage #mainContent {
	position: relative;
	margin: 0 auto;
	width: 895px;
	padding: 0;
	margin-top: 0;
}

#homePage #footer {
	font-size: 0.8em;
	font-weight: bolder;
	margin: 0 auto;
	max-width: 895px;
	padding: 0;
}

/*-------------------------------------------------------*/

/* BLOCKS WITH FLOATED CONTENT FIX */
/* These declarations make sure that the containers that contain nothing 
but floated elements expand to contain those floated elements */
#footerMenu:after,
#bar:after,
#header:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}
* html #footerMenu,
* html #bar,
* html #header {
	height: 1%;
}

.morePanel-img { display: inline; margin: 5px 10px 0 5px; vertical-align: middle;  }
	
#URHere li { display: inline-block; margin-top: 0.1em; margin-bottom: 0.1em; }
