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

#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: absolute;
	top: 65px;
	left: 8px;
	z-index: 10000;
	font-size: 0.70em;
}

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

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


#mapViewer #header {
	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 0px 10px;
	font-size: 0.90em;
	line-height: 0.7em;
	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	{
 		font-size: 0.75em;
		max-height: 20px;
		overflow:hidden;
}

#tip p {
	display: none;
}

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

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

#mapViewerFindByPlace #searchSideBar {
 	font-size: 0.85em;
	top: 62px;
 	width: 200px;
	background:rgba(255,255,255,0.9);
	z-index: 20000;
	padding: 10px 15px 10px 5px;
	border-radius: 5px;
	background-color: white;
	max-height: 330px;
	overflow-y: auto;
}

#mapViewerGeoRefMaps #searchSideBar {
 	font-size: 0.85em;
	left: 10px;
	top: 62px;
 	width: 200px;
	background:rgba(255,255,255,0.9);
	z-index: 20000;
	padding: 10px 15px 10px 5px;
	border-radius: 5px;
	background-color: white;
	overflow-y: auto;
}




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

#layers {
 	display: none;
}

#layertext {
 	display: none;
}

#mapViewerSideBySide #searchSideBar {
	position: absolute;
  	height: 100px;
}

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

#mapsslider {
  width: 150px;
}


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

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


#wfsResults {
 	display: none;
}

#results {
 		font-size: 0.8em;
		padding-left: 0px;
		padding-right: 0px;
}

#mapViewerFindByPlace #resultsSideBar {
	top: 63px;
 	width: 75px;
	z-index: 20000;
	max-height: 280px;
}


#layerSelect {
	position: absolute;
 	font-size: 0.70em;
	line-height: 0.9em;
	top: 10px;
	left: 8px;
}

.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: 80%;
	max-height: 500px;
	overflow-y: auto;
}


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



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

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

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


#mapViewerFindByPlace .ol-zoom {position:absolute;top:100px;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(/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;
}


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

#swipetoggle  { top: 2px; }

#drawControlForm label {
	display: none;
}

#drawControlForm select {
	display: none;
}

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