/*
*   MOBILE STYLES
*    Overrides existing stylesheerts
*  	Author: Darrell Wilson hello@make-digital.co.uk
*	Dtae: 13/03/2013;
*/


html {
	width:100%;height:100%;margin:0;padding:0;
}

body {
	width:100%;height:100%;margin:0;padding:0; -webkit-text-size-adjust: none;
}

#viewer {
	width:100%;height:100%;margin:0;padding:0;
}


#header-top {
	display: none;
}


#mapViewer #header browseralert {
	display: none;
}

#siteTitle{
	display: none;
}

#header #pageSubTitle  {
	display: none;
}

#dialog { display: none;
}

#mapViewer #NLSLogo, #mapViewerFindByPlace #NLSLogo, #mapViewerGeoRefMaps #NLSLogo, #mapViewerSideBySide #NLSLogo {
	display: none;
}


#hide	{
	visibility: visible;
	position: absolute;
	top: 2px;
	left: 5px;
	z-index: 100000;
	font-size: 0.75em;
}

#show	{
	visibility: visible;
	position: fixed;
	top: auto;
	bottom: 23px !important;
	left: 5px;
	z-index: 10000;
	font-size: 0.70em;
}


#sidebysideshow	{
	visibility: visible;
	position: fixed;
	top: auto;
	bottom: 28px !important;
	left: 5px;
	z-index: 10000;
	font-size: 0.70em;
}

#mapViewerFindByPlace #header,  #mapViewerGeoRefMaps #header, #mapViewerSideBySide #header {

	font-size: 0.75em;
	line-height: 1.5em;
	// height: 45px;
}


#mapViewer {
	position: absolute;
	font-size: 0.75em;
	line-height: 1.5em;
	height: 40px;
}

#mapViewer #header #pageTitle {
	margin: 0px 0px 0px 0px;
	font-size: 0.75em;
	padding: 0px 0px 5px 15px;

}


#mapViewerFindByPlace #header #pageTitle, #mapViewerGeoRefMaps #header #pageTitle, #mapViewerSideBySide #header #pageTitle {
	margin: 0px 0px 2px 10px !important;
	font-size: 0.95em;
	line-height: 0.9em;
	padding: 5px 0px 5px 0px;
	max-height: 30px;
	overflow:hidden;
}

#mapViewerFindByPlace #pageTitle, #mapViewerGeoRefMaps #pageTitle
	margin-left: 200px;
}

#mapViewerFindByPlace #headerSearchForm, #mapViewerGeoRefMaps #headerSearchForm {
	display: none;
}

.headerSearchForm {
	display: none;
}

#headerSearchFormSearchBox {
	display: none;
} 

#headerSearchFormSubmitButton {
	display: none;
}

#gcse:search {
	display: none;
}

#q {
	display: none;
}


#cx {
	display: none;
}

#bar {
	line-height: 1.8em;
 	font-size: 1.0em;
	max-height: 22px;
	overflow:hidden;
}


#digitalOrdersMenu li, #digitalOrdersMenu {
	display: none;

}

#digitalOrdersMenu2 li {
	display: none;
}

#digitalOrdersMenu li a {
		line-height: 2.1em;
		min-height: 24px;

}

.btn.orderThisMap {
	max-height: 22px;
}

.btn.viewBasket {
 	font-size: 0.9em;
	line-height: 0.9em;
	height: 22px;
}

#tip p {
	display: none;
}

.search_categories{
  font-size: 13px;
  padding: 10px 8px 10px 14px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  position: relative;
}

.search_categories .select select{
  background: transparent;
  line-height: 1;
  border: 0;
  padding: 0;
  border-radius: 0;
  width: 120%;
  position: relative;
  z-index: 10;
  font-size: 1em;
  -webkit-appearance: none;
-webkit-text-size-adjust: none;
}


#mapViewerFindByPlace #searchSideBar p, #mapViewerGeoRefMaps #searchSideBar p, #mapViewerSideBySide #sidebysideSideBar p {
 		font-size: 0.95em;
}

#mapViewerSideBySide #searchSideBar p {
 		font-size: 1.0em;
}

#mapViewerSideBySide #searchSideBar p {
		height: 30px;
}

#searchSideBar br {
	display: none;
}

#mapViewerSideBySide #searchSideBar form {
	margin: 0;
}

#mapViewerFindByPlace #searchSideBar {
	position: fixed;
 	font-size: 0.85em;
	left: 5px;
	top: auto;
	bottom: 25px !important;
 	width: 220px;
	background:rgba(255,255,255,0.9);
	z-index: 11000;
	padding: 10px 15px 10px 5px;
	border-radius: 5px;
	background-color: white;
	overflow-y: auto;
}

#mapViewerGeoRefMaps #searchSideBar {
	position: fixed;
 	font-size: 0.85em;
	left: 5px;
	top: auto;
	bottom: 25px !important;
 	width: 220px;
	background:rgba(255,255,255,0.9);
	z-index: 11000;
	padding: 10px 15px 10px 5px;
	border-radius: 5px;
	background-color: white;
	overflow-y: auto;
}


#mapViewerSideBySide #sidebysideSideBar {
	position: fixed;
 	font-size: 0.85em;
	left: 5px;
	top: auto;
	bottom: 35px !important;
 	width: 220px;
	background:rgba(255,255,255,0.9);
	z-index: 11000;
	padding: 10px 15px 10px 5px;
	border-radius: 5px;
	background-color: white;
	overflow-y: auto;
}



#date  {
 	display: none !important;
}

#zoomtoextents  {
 	display: none;
}

#trackgeolocation {
 	display: none;
}

.ac-renderer { max-width:250px; font-size:.8em; }

#layers {
 	display: none;
}

#layertext {
 	display: none;
}

#mapViewerSideBySide #searchSideBar p {
		height: 30px;
}

#mapViewerSideBySide #searchSideBar #nlsmapleftform, #mapViewerSideBySide #searchSideBar #nlsmaprightform {
  	min-height: 50px;

}

#mapsslider {
  width: 150px;
}


#nlsgaz, #county, #parish, #overlaySelectNode, #overlaySelectLayer, #overlaySelectNodeRight, #overlaySelectLayerRight, #zoomtoextent, 
#layers p, #zoomtoextent p, #layertext, h4 {
 		font-size: 1.1em;
		-webkit-appearance: none;
}

#layerinfo {
 	display: none;
}

label {
	line-height: 1.5em !important; font-size: 1.1em;

}

form  {
 		font-size: 0.95em !important;
}

option {
 		font-size: 0.95em !important;
 		max-height: 1.1em !important;
}

select {
 		font-size: 0.95em !important;
		-webkit-appearance: none;
		-webkit-text-size-adjust: none;
}

#overlaySelectNode {
	max-width: 150px:
	padding: 0;
}


#wfsResults {
 	display: none;
}

#wfsParishCountyResults {
 	display: none;
}

#results {
 		font-size: 0.9em;
		padding-left: 0px;
		padding-right: 0px;
		max-width: 130px;
		max-height: 255px !important;
}

.resultslist	{
	margin: 4px 2px 4px 2px;
	padding: 5px 2px 3px 2px;
}

#mapViewerFindByPlace #resultsheader {

    max-height: 72px;
}

#clear {
	padding: 3px 0 3px 0;
}

#mapViewerFindByPlace #resultsSideBar {
	max-height: 330px;
	max-width: 130px;
	top: 95px;
 	z-index: 10000;
}

#resultsSideBar img {
	margin: 0 0 4px 0;
}


#layerSelect {
	position: fixed;
 	font-size: 0.70em;
	line-height: 1.0em;
	top: 73px !important;
	left: 45px !important;
	z-index: 10000 !important;
	padding: 0 3px 0 3px;
}

.ol-overviewmap  {
	visibility: hidden;
 }

.ol-mouse-position {
	visibility: hidden;
 }






#mapViewer #map  {
	position: absolute;
	width:100%;
	height:100%;
	margin:0;
	padding:0;
	top: 70px;
	bottom: Opx;
	left: 0px;
	right: 0px;
}

#mapViewerFindByPlace #map {
	// position: absolute;
	height:100%;
	margin:0;
	padding:0;
	top: 0;
	bottom: 30px;
	left: 0;
	right: 0;
}

#mapViewerGeoRefMaps #map {
	//position: absolute;
	height:100%;
	margin:0;
	padding:0;
	top: 0;
	min-height: 300px;
	bottom: 30px;
	left: 0;
	right: 0;
	overflow:hidden;
}

#data {

	width: 98% !important;
	left: auto !important;
	right: auto !important;
	padding: 5px;
	overflow-y: scroll !important;
	-webkit-overflow-scrolling: touch;
}


#data.fancybox-content ol li, #data.fancybox-content ul li, #data.fancybox-content h3  {   display: none;
}


#mapViewerSideBySide #mapleft, #mapViewerSideBySide #mapright {
	position: absolute;
	height:100%;
	margin:0;
	padding:0;
	top:0;
	bottom: 0;
}



#mapViewerGeoRefMaps .ol-zoom {position:absolute;top:55px;left:5px;}
#mapViewerGeoRefMaps .ol-scale-line {visibility: hidden;}

#mapViewerPrint .ol-zoom{top:95px;left:.5em;}

#mapViewerSideBySide .ol-zoom {top:94px;left:5px;}
#mapViewerSideBySide .ol-rotate {top:107px;right:.5em;}


#mapViewerFindByPlace .ol-zoom {position:absolute;top:70px;left:5px;}
.ol-zoomslider{visibility: hidden;}
.ol-rotate{visibility: hidden;}
.ol-scale-line{visibility: hidden;}
.ol-attribution{bottom:28px;}

#zoomtoextentleft{
	visibility: hidden;
}

#zoomtoextentright{
	visibility: hidden;
}

#measurementControlForm {
	visibility: hidden;
}

img {
	max-width: 100%;
}
a#logo img {
	max-width: 62%;
}

#NLSLogo {
	width: 60px;
}


#search {
	display: none;
}

#mapViewer #footer, #mapViewerFindByPlace #footer, #mapViewerGeoRefMaps #footer, #mapViewerSideBySide #footer {
	bottom: 0 !important;
	height: 20px;
	max-height: 30px;
	background-image: url(https://maps.nls.uk/assets/graphics/nls_logo_miniature.png);
	background-position: top left;
	background-repeat: no-repeat;
	background-color: #ffffff;
	overflow: hidden;
}



#mapViewerSideBySide #footer {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 20px;
	font-size: 0.8em;
	font-weight: bolder;
	margin: 0;
	padding-left: 5px;
	border-top: 1px solid #ccc;
}

#mapViewer #footer:before, #mapViewerFindByPlace #footer:before, #mapViewerGeoRefMaps #footer:before, #mapViewerSideBySide #footer:before {
  content: "\0020 National Library of Scotland";
	padding: 0 0 0 15px;
}

#footer p {
	display: none;
}


#footerMenuViewer ul, #footerMenuViewer li, #footerMenuViewer .tip {
	display: none;
}

#footerMenuSite ul, #footerMenuSite li {
	display: none;
}

#cesium-logo {
	bottom: 23px !important;
}

#showexaggerationinfo {
	left: 55%;
	height: 80px;
	right: 10%;
}

#swipe { position: absolute;  top: 105px; }

#swipetoggle  { top: 2px; }

#drawControlForm label {
	display: none;
}

#drawControlForm select {
	display: none;
}

#mapViewerPrint #header #pageTitle {
	   // margin-right:20px;
	   display: none;
	}

#showmaplocationinfo {
	display: none;
}

#colorcontainer {
	display: none;
}

#showdrawbutton {
	display: none;
}
