/*-------------------------------------------------------*/
/* Map viewer chrome */


.hidden
{
   display: none
}

button {
    appearance: auto;
    -webkit-writing-mode: horizontal-tb !important;
    text-rendering: auto;
//    color: -internal-light-dark(black, white);
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: center;
    align-items: flex-start;
    cursor: default;
    background-color: -internal-light-dark(rgb(239, 239, 239), rgb(59, 59, 59));
    box-sizing: border-box;
    margin: 0em;
    font: 400 13.3333px Arial;
    padding: 1px 6px;
    border-width: 1px;
//    border-style: outset;
    border-color: #ccc;
}

#mapViewer #NLSLogo, #mapViewerFindByPlace #NLSLogo, #mapViewerGeoRefMaps #NLSLogo, #mapViewerPrint #NLSLogo, #mapViewerSideBySide #NLSLogo {
	width: 131px;
}

#mapViewer #header #pageTitle, #mapViewerSideBySide #header #pageTitle {
	margin-left: 151px;
	max-height: 85px;
	overflow:hidden;
}

#mapViewer #header #attribution  {
	position: absolute;
    	right: 0;
    	bottom: 0;
    	margin: 0px 3px 10px 0;
	font-size: 0.8em;
    	padding: 0;
}

#mapViewerPrint #header #pageTitle {
	margin-left: 151px;
	max-height: 105px;
	overflow:hidden;
}

#mapViewerFindByPlace #header #pageTitle {
	margin-left: 251px;
	max-height: 70px;
	overflow:hidden;
}

#mapViewerFindByPlace .ol-zoom {border: 1px solid #ccc; left:.5em;}
#mapViewerFindByPlace .ol-zoomslider {border: 1px solid #ccc;left:.5em; }
#mapViewerFindByPlace .ol-rotate{top:121px;right:220px;}

#mapViewerGeoRefMaps .ol-rotate {top:105px;right:10px;}

#mapViewerGeoRefMaps .ol-zoom {top:105px;left:.5em;border: 1px solid #ccc;}
#mapViewerGeoRefMaps .ol-zoomslider {top:168px;left:.5em;border: 1px solid #ccc;}
#mapViewerGeoRefMaps .ol-scale-line {bottom:.9px;left:.4em;}

#mapViewerPrint .ol-zoom{top:85px;left:.5em;}
#mapViewerPrint .ol-rotate {top:85px;right:.5em;}

#mapViewerSideBySide .ol-zoom {top:135px;left:.5em; border: 1px solid #ccc; }
#mapViewerSideBySide .ol-zoomslider {top:198px;left:.5em;border: 1px solid #ccc; }
#mapViewerSideBySide .ol-rotate {top:138px;right:.5em;}


#mapViewerGeoRefMaps #header #pageTitle {
	margin-left: 251px;
	max-height: 70px;
	overflow:hidden;
}

#mapViewer, #mapViewerPrint, #mapViewerFindByPlace, #mapViewerGeoRefMaps {
	background-color: #d9dde6;
}

#mapViewer #header, #mapViewerFindByPlace #header, #mapViewerGeoRefMaps #header, #mapViewerSideBySide #header {
	z-index: 1000;
	max-height: 100px;
}

#mapViewerPrint #header {
	max-height: 80px;
	overflow:hidden;
}

#mapViewer #siteTitle, #mapViewerPrint #siteTitle, #mapViewerFindByPlace #siteTitle, #mapViewerGeoRefMaps #siteTitle, #mapViewerSideBySide #siteTitle {
	float: left;
	margin: 0;
	color: #3A7DC1;
	font-size: 1.1em;
	border: none;
	padding: 18px 0 0 18px;
	margin: 0;
	width: 82px;
}

#mapViewer #mainContentOuter, #mapViewerPrint #mainContentOuter, #mapViewerFindByPlace #mainContentOuter, #mapViewerGeoRefMaps #mainContentOuter, #mapViewerSideBySide #mainContentOuter {
	position: relative;
	background-color: white;
	border-bottom: 1px solid #ccc;
}

#mapViewer #mainContent, #mapViewerPrint #mainContent, #mapViewerFindByPlace #mainContent, #mapViewerGeoRefMaps #mainContent, #mapViewerSideBySide #mainContent {
	position: relative;
	background-color: white;
	max-width: 100%;
	min-height: 500px;
	margin: 0;
	padding: 0;
}

#mapViewer #footer, #mapViewerFindByPlace #footer, #mapViewerGeoRefMaps #footer {
	position: absolute;
	bottom: 0 !important;
	left: 0;
	width: 100%;
	background-color: #d9dde6;
	font-size: 0.8em;
	font-weight: bolder;
	margin: 0;
	padding: 0;
	border-top: 1px solid #ccc;
	z-index: 100;
}

#mapViewer #footerMenu, 
#mapViewerFindByPlace #footerMenu, 
#mapViewerGeoRefMaps #footerMenu,
#mapViewer #footerMenuSite, 
#mapViewerFindByPlace #footerMenuSite, 
#mapViewerGeoRefMaps #footerMenuSite,
#mapViewer #footerMenuViewer, 
#mapViewerFindByPlace #footerMenuViewer, 
#mapViewerGeoRefMaps #footerMenuViewer {
	margin: 0 0 5px 0;
}

#mapViewer #footerMenu, 
#mapViewerFindByPlace #footerMenu, 
#mapViewerGeoRefMaps #footerMenu,
#mapViewer #footerMenuSite, 
#mapViewerFindByPlace #footerMenuSite, 
#mapViewerGeoRefMaps #footerMenuSite {
	padding: 0 4px 0 0;
}

#mapViewer #footerMenuViewer, 
#mapViewerFindByPlace #footerMenuViewer, 
#mapViewerGeoRefMaps #footerMenuViewer {
	padding: 0 0 0 2px;
}

#mapViewerSideBySide #footer {
	position: absolute;
	bottom: 0 !important;
	left: 0;
	width: 62px;
	background-color: #d9dde6;
	font-size: 0.8em;
	font-weight: bolder;
    	border-radius: 4px;
	margin: 0;
	padding: 0;
	border-top: 1px solid #ccc;
	z-index: 100;
}

#mapViewerSideBySide #footerMenuViewer {
	padding: 0 3px 2px 2px;
   	border-radius: 4px;
}

     @media only screen and (min-width: 70rem) {

	#mapViewer #tip
	 {
		float: left;
		margin: 0 0 10px 14px;
		padding: 6px 14px;
		background-color: #eee;
		border-right: 1px solid #ccc;
		border-bottom: 1px solid #ccc;
		border-left: 1px solid #ccc;
		line-height: 1em;
	}

}

     @media only screen and (max-width: 70rem) {

	#mapViewer #tip
	 {
		display: none;
	}

}


     @media only screen and (min-width: 60rem) {

	 #mapViewerFindByPlace #tip, #mapViewerGeoRefMaps #tip, #mapViewer #help, #mapViewerFindByPlace #help, #mapViewerGeoRefMaps #help 
	 {
		float: left;
		margin: 0 0 10px 14px;
		padding: 6px 14px;
		background-color: #eee;
		border-right: 1px solid #ccc;
		border-bottom: 1px solid #ccc;
		border-left: 1px solid #ccc;
		line-height: 1em;
	}

}

     @media only screen and (max-width: 60rem) {

	#mapViewerFindByPlace #tip, #mapViewerGeoRefMaps #tip, #mapViewer #help, #mapViewerFindByPlace #help, #mapViewerGeoRefMaps #help 
	 {
		display: none;
	}

}

#mapViewerGeoRefMaps #layers, #mapViewerFindByPlace #layers
 {
	float: left;
	margin: 0 0 14px 0;
	padding: 6px 14px;
	background-color: #eee;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	border-left: 1px solid #ccc;
	line-height: 1.2em;
}

#mapViewer #help:hover, #mapViewerFindByPlace #help:hover, #mapViewerGeoRefMaps #help:hover {
	background-color: #666;
	background-image: url(https://maps.nls.uk/assets/graphics/right_bottom_corner_hover.png);
}
#mapViewer #help a, #mapViewerFindByPlace #help a, #mapViewerGeoRefMaps #help, #mapViewerGeoRefMaps a.olControlCustomPermalinkToggle {
	display: block;
	margin: 0;
	padding: 2px 14px 4px 14px;
	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;
}
#mapViewer #help a:hover, #mapViewerFindByPlace #help a:hover, #mapViewerGeoRefMaps #help a:hover, #mapViewerGeoRefMaps a.olControlCustomPermalinkToggle:hover {
	background-image: url(https://maps.nls.uk/assets/graphics/left_bottom_corner_hover.png);
}

#mapViewer #footer p, #mapViewerFindByPlace #footer p, #mapViewerGeoRefMaps #footer p {
	margin-bottom: 0;
}

#mapViewer #map, #mapViewerPrint #map, #mapViewerFindByPlace #map, #mapViewerGeoRefMaps #map, #mapViewerSideBySide #mapleft, #mapViewerSideBySide #mapright, #mapViewerSideBySide #map {
	z-index: 6;
	background-color: #f2f3f4;
	position: absolute;
	height: auto;
	width: auto;
}

#mapViewerSideBySide #mapleft, #mapViewerSideBySide #mapright {
	border: 1px solid #ccc; left:.5em;
}

#mapViewer #map {
	top: 116px;
	bottom: 37px;
	z-index:1;
}

#iiif-notification {
	position: absolute;
	left: 5px;
	bottom: 45px;
    	z-index: 1;
    	background-color: #FFF;
	padding: 5px;
    	border-radius: 2px;
    	font-size: 0.75em;
    	font-weight: bold;
	color: rbga(0, 0, 51, 0.8);
    	opacity: 0.6;
    	white-space: nowrap;
}

#mapViewerFindByPlace #map  {
	top: 0px;
	bottom: 37px;
}

#mapViewerGeoRefMaps #map  {
	top: 0px;
	bottom: 52px;
}


#mapViewerPrint #map {
	top: 0px;
	right: 0;
	bottom: 0;
	left: 0;
}

#mapViewerPrint .ol-mouse-position, #mapViewerPrint .ol-zoomslider, #mapViewerPrint .ol-scale-line {
	visibility: hidden;
 }

#mapViewer #map {
	background-image: url(https://maps.nls.uk/assets/graphics/check.png);
}

#mapViewerFindByPlace #map, #mapViewerGeoRefMaps #map {
	left: 0px;
}

#mapViewerFindByPlace #map {
	right: 0px;
}

#mapViewerGeoRefMaps #map {
	right: 0;
}

#mapViewer #map {
	left: 0;
	right: 0;
}


#mapViewer #searchSideBar, #mapViewerFindByPlace #searchSideBar, #mapViewerGeoRefMaps #searchSideBar { 
	position: absolute;
	top: 121px;
	left: 54px;
	max-width: 245px;
	max-height: 600px;
	z-index: 2000;
	background-color: white;
	overflow:hidden;
	margin: 0;
	padding: 0px 10px 5px 10px;
	border-radius: 3px;
	background:rgba(255,255,255,0.9);
	border: 1px solid #ccc;
}

#mapViewerSideBySide #sidebysideSideBar {
	position: absolute;
	top: 140px;
	left: 50px;
	max-width: 250px;
	max-height: 600px;
	z-index: 2000;
	background-color: white;
	overflow:hidden;
	margin: 0;
	padding: 0px 10px 5px 10px;
	border-radius: 3px;
	background:rgba(255,255,255,0.9);
	border: 1px solid #ccc;

}

#mapViewerSideBySide #searchSideBar {
	height: 60px;
	background-color: #eee;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

#mapViewer #resultsSideBar, #mapViewerFindByPlace #resultsSideBar {
	position: absolute;
	top: 121px;
	border-radius: 3px;
	right: 5px;
	width: 185px;
	z-index: 3000;
	background-color: white;
	margin: 0px;
	padding: 10px;
	max-height: 500px;
	background:rgba(255,255,255,0.95);
}

#mapViewerFindByPlace #results {
	margin: 5px 0 0 0;
	max-height: 400px;
	border: 1px solid #ccc;
	overflow-y: auto;
	overflow-x: hidden;
}

#mapViewerFindByPlace #results p {
	padding: 5px;
}

#mapViewerFindByPlace #resultsheader {
	max-height: 43px;
}

.resultslist {
	margin: 5px;
	padding: 5px 5px 0 4px;
}

#mapViewerGeoRefMaps #resultsSideBar {
	position: absolute;
	top: 145px;
	border-radius: 3px;
	right: 5px;
	width: 180px;
	z-index: 3000;
	background-color: white;
	overflow: auto;
	margin: 0px;
	padding: 10px;
	max-height: 500px;
	background:rgba(255,255,255,0.95);
}

 @media only screen and (min-width: 75rem)  {

	#mapViewerGeoRefMaps #wfsParishCountyResults {
	    position: absolute;
	    right: 182px;
	    top: 121px;
	    z-index: 1000000;
	    background-color: #FFF;
	    border-radius: 2px;
	    font-size: 0.75em;
	    font-weight: bold;
	    opacity: 0.6;
	//    white-space: nowrap;
	}

}

 @media only screen and (min-width: 65rem) and (max-width: 75rem) {

	#mapViewerGeoRefMaps #wfsParishCountyResults {
	    position: absolute;
	    right: 182px;
	    top: 121px;
	    max-width: 300px;
	    z-index: 1000000;
	    background-color: #FFF;
	    border-radius: 2px;
	    font-size: 0.75em;
	    font-weight: bold;
	    opacity: 0.6;
	//    white-space: nowrap;
	}

}

@media only screen and (min-width: 60rem) and (max-width: 65rem) {

	 #mapViewerGeoRefMaps #wfsParishCountyResults {
	    position: absolute;
	    right: 182px;
	    top: 121px;
	    max-width: 200px;
	    z-index: 1000000;
	    background-color: #FFF;
	    border-radius: 2px;
	    font-size: 0.75em;
	    font-weight: bold;
	    opacity: 0.6;
	//    white-space: nowrap;
	}

}

@media only screen and (max-width: 60rem) {

	#mapViewerGeoRefMaps #wfsResults {
		display: none;
	}

}




 @media only screen and (min-width: 75rem)  {

	#mapViewerFindByPlace #zoomStatement {
	    position: absolute;
	    right: 222px;
	    top: 121px;
	    z-index: 1000000;
	    background-color: #FFF;
	    border-radius: 2px;
	    font-size: 0.75em;
	    font-weight: bold;
	    opacity: 0.8;
	//    white-space: nowrap;
	}

}

 @media only screen and (min-width: 65rem) and (max-width: 75rem) {

	#mapViewerFindByPlace #zoomStatement {
	    position: absolute;
	    right: 222px;
	    top: 121px;
	    max-width: 300px;
	    z-index: 1000000;
	    background-color: #FFF;
	    border-radius: 2px;
	    font-size: 0.75em;
	    font-weight: bold;
	    opacity: 0.8;
	//    white-space: nowrap;
	}

}

@media only screen and (min-width: 60rem) and (max-width: 65rem) {

	 #mapViewerFindByPlace #zoomStatement {
	    position: absolute;
	    right: 222px;
	    top: 121px;
	    max-width: 200px;
	    z-index: 1000000;
	    background-color: #FFF;
	    border-radius: 2px;
	    font-size: 0.75em;
	    font-weight: bold;
	    opacity: 0.8;
	//    white-space: nowrap;
	}

}

@media only screen and (max-width: 60rem) {

	#mapViewerFindByPlace #zoomStatement {
		display: none;
	}

}

#mapViewerGeoRefMaps #wfsResults
 {
    position: absolute;
    right: 164px;
    bottom: 8px;
    z-index: 1000000;
    background-color: #FFF;
    border-radius: 2px;
    font-size: 0.75em;
    font-weight: bold;
    opacity: 0.6;
    white-space: nowrap;
}
 

#measurementControlForm {
	position: absolute;
	right: 42px;
	top: 121px;
	z-index:100000;
}



#measurementControlOutput {
	display: none;
	position: absolute;
	right: 5px;
	top: 158px;
	background-color: white;
	z-index:100000;
	font-size: 0.75em;
	font-weight: bold;
	padding: 0 6px;
	border: 1px inset #ddd;
	text-align: right;
	opacity:0.6;
	filter:alpha(opacity=60);
}
#measurementControlOutputReturnLink, #measurementControlOutputSpan {
	display: block;
}
#measurementControlOutputSpan {
	height: 1.7em;
}

#controlToggle {
	visibility: hidden;
}

#show	{
	visibility: visible;
	position: absolute;
	top: 125px;
	left: 45px;
	z-index: 1000;
	font-size: 0.8em;
	text-decoration: underline;
	color: blue;
	background-color: white;
	padding: 5px 5px 5px 5px;
	border-radius: 6px;
}

#show:hover {
	background-color: #D8D8D8;
}


#sidebysideshow	{
	visibility: visible;
	position: absolute;
	top: 140px;
	left: 50px;
	z-index: 1000;
	font-size: 0.8em;
	text-decoration: underline;
	color: blue;
	background-color: white;
	padding: 5px 5px 5px 5px;
	border-radius: 6px;
}

#sidebysideshow:hover {
	background-color: #D8D8D8;
}


#show	{
	visibility: visible;
	position: absolute;
	top: 121px;
	left: 45px;
	z-index: 1000;
	font-size: 0.8em;
	text-decoration: underline;
	color: blue;
	background-color: white;
	padding: 5px 5px 5px 5px;
	border-radius: 6px;
}

#show:hover {
	background-color: #D8D8D8;
}


#viewerback	{
	visibility: visible;
	position: absolute;
	top: 205px;
	left: 10px;
	z-index: 1000;
	font-size: 0.8em;
	color: white;
	background-color: rgba(0,128,0,0.7);
	padding: 5px 5px 5px 5px;
	border-radius: 6px;
}

#viewerback:hover {
	background-color: rgba(107,142,35,0.7);
}

/*-------------------------------------------------------*/
/* Modifications for print page */
#mapViewerPrint #header #pageTitle {
	margin: 0 0 0 270px;
	padding: 16px;
	color: #003;
	font-size: 0.7em;
	border: none;
	line-height: 1.2em;
}

#mapViewerPrint form  {
	display: none;
}


#mapViewerSideBySide #layerSelect {
	display:none;
}



/*-------------------------------------------------------*/
/* Open layers chrome */

/* Mobile Devices - hide header and footer for phones
@media only screen and (max-device-width: 480px), only screen and (-webkit-min-device-pixel-ratio: 2) {
#overview { display:none; }
#header { display:none; }
#footer { display:none; }

} */

/* CSS full-screen layout */
#layerSelect {position: absolute; top: 121px; z-index: 20000; left: 330px;}
#layerSelect2  {position: absolute; top: 340px; left: 20px; z-index: 10000;}
#overlaySelect2  {position: absolute; top: 240px; left: 0px; z-index: 10000;}
#zoomtoextent2 {position: absolute; top: 250px; left: 0px; z-index: 10000;}
#key {position: absolute; top: 130px; left: 11px; z-index: 10000;}

#map form {
	margin: 0;
	padding: 0;
}


#nlsgaz { 
	width: 190px;
	}

#ngrgaz { 
	width: 120px;
	font-size: 0.9em;
	}

#search-button-ngrgaz {
	float:left;
	margin: -28px 0 0 125px;
	vertical-align: top;
	width:20px;
	padding: 2px 3px 2px 7px;
	border: 1px;
	color:#f3f3f3;
	font-size: 0.8em;
	border: 1px solid #0000FF; box-shadow: 0 1px 3px #ccc; 
	background-color: #FFF;
	font-weight:700;
	opacity: 0.95;
	z-index: 100;
        font-family: inherit;
	cursor: pointer;
}

/* CSS autocomplete */
.ac-renderer{position:absolute;border:1px solid #898989;z-index: 30000;margin-top:-1px;max-width:500px; max-height: 400px; overflow: auto; font-size:.9em;}

.ac-row{white-space:nowrap;position:relative;cursor:pointer;padding:5px;background-color:#fff;overflow:hidden !important; text-overflow:ellipsis}
.ac-row .suffix{font-size:.8em;color:#7a7a7a;padding:.1em 0 0 5px}
.ac-row .type{font-size:.8em;color:#aaa;display:block;width:100%}
.ac-highlighted{font-weight:bold}
.ac-active{color:#393939;background-color:#D6D6D6;}
.ac-type{background-color:#990033;color:#FFFFFF;display:block;margin:2px;padding:2px;font-style:italic;float:right}





#customZoom {
    z-index: 1001;
    position: relative;
    top: 10px;
    left: 10px;
}
#customZoom a {
    text-decoration: none;
    position: absolute;
    display: block;
    width: 50px;
    text-align: center;
    font-weight: bold;
    color: #fff;
    background: #369;
    border: 1px solid #ccc;
    border-radius: 3px;
}
#customZoom a:hover {
    background: #036;
}
#customZoomOut {
    top: 25px;
}


#mapViewerSideBySide #NLSLogo {
	padding: 6px 16px;
}


#mapViewerSideBySide #siteTitle {
	padding: 10px 0 0 18px;
}

#mapViewerSideBySide #return, #mapViewerSideBySide #zoomtoextent {
	position: absolute;
	right: 5px;
	padding: 0;
	margin: 0;
}

#mapViewerSideBySide #zoomtoextentleft {
	position: absolute;
	top: 95px;
  	right: 52%;
	font-size: 0.8em;
	overflow: hidden;
}

#mapViewerSideBySide #zoomtoextentright {
	position: absolute;
	top: 95px;
  	right: 2%;
	font-size: 0.8em;
	overflow: hidden;
}

#mapViewerSideBySide #return {
	top: 5px;
	font-size: 0.8em;
}

#mapViewerSideBySide #zoomtoextent, #overlaySelectNode, #overlaySelectLayer, #overlaySelectNodeRight, #overlaySelectLayerRight {
	top: 40px;
	font-size: 0.9em;
	overflow: hidden;
}

#overlaySelectNode,  #overlaySelectNodeRight {
	margin: 0 140px 0 0px;
}

#mapViewerSideBySide #mapleft, #mapViewerSideBySide #mapright {
	top: 0px;
	bottom: 0;
}

#mapViewerSideBySide #mapleft {
	left: 0;
	right: 50.2%;
	border-right: 1px solid #ccc;
	border-top: 1px solid #ccc;
}

#mapViewerSideBySide #mapright {
	right: 0;
	left: 49.9%;
	border-left: 1px solid #ccc;
	border-top: 1px solid #ccc;
}

#mapViewerSideBySide #searchSideBar {
	clear: both;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

#mapViewerSideBySide #searchSideBar #nlsmapleftform, #mapViewerSideBySide #searchSideBar #nlsmaprightform {
	background-color: #eee;
	padding: 0.5%;
	max-height: 45px;
}

#mapViewerSideBySide #searchSideBar #nlsmapleftform {
	width: 48.5%;
	float: left;
}

#mapViewerSideBySide #searchSideBar #nlsmaprightform {
	width: 49.5%;
	float: right;
}

#mapViewerSideBySide #searchSideBar p {
	font-size: 0.9em;
	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 */

#mapViewerSideBySide #searchSideBar:after{
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

* html #mapViewerSideBySide #searchSideBar {
	height: 1%;
}

	#mapViewer #drawControlForm {
	    position: absolute;
	    left: 5px;
	    margin-top: -2px;
	    font-size: 0.9em;
	}

	#mapViewerPrint #drawControlForm {
	    left: 5px;
	    margin-top: 15px;
	    font-size: 0.9em;
	}

	#mapViewerPrint #drawControlForm2 {
	    position: absolute;
	    right: 10px;
	    top: 60px;
	    font-size: 12px;
	    display: inline !important;
	}



	#mapViewerGeoRefMaps #stopmeasuringmessage {
	    right: 5px;
	    top: 150px;
	}

	#mapViewerPrint #stopmeasuringmessage {
		color: blue;
	    right: 45px;
	    top: 88px;
	}

	#mapViewer #stopmeasuringmessage {
	    position: absolute;
	    right: 40%;
	    top: 128px;
	    padding: 0px 10px 0px 10px; 
	    font-size: 14px; 
	    color: blue; 
	    background-color: white; 
	    z-index:10;
	    opacity: 0.6;
	}

	#mapViewerPrint #header #pageTitle {
	   margin-right:180px;
	}

      .ol-popup {position: absolute;background-color: white;-webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
        padding: 15px;border-radius: 10px;font-size: 12px; border: 1px solid #cccccc; bottom: 12px; left: -50px; min-width: 280px;  z-index: 2000000;}
      .ol-popup:after, .ol-popup:before {top: 100%;border: solid transparent;content: " ";height: 0;width: 0;position: absolute;pointer-events: none;text-decoration: none;}
      .ol-popup:after {border-top-color: white; border-width: 10px;left: 48px;margin-left: -10px;}
       a { text-decoration: none; }
      .ol-popup:before {border-top-color: #cccccc;border-width: 11px;left: 48px;margin-left: -11px;}
      .ol-popup-closer {text-decoration: none; position: absolute;top: 2px;right: 8px;}
      .ol-popup-closer:after { content: "Close";}



		.close {
			    -webkit-appearance: none;
			    padding: 0;
			    cursor: pointer;
			    background: 0 0;
			    border: 0;
			    float: right;
			    font-size: 16pt;
			    font-weight: 700;
			    line-height: 1;
			    color: #000;
			    text-shadow: 0 1px 0 #fff;
			    filter: alpha(opacity=20);
			    opacity: .6;
			}

			.close:hover {
			    opacity: 0.2;
			}


#showmaplocation { background-color: #4285c5;
	background-image : url(https://geo.nls.uk/maps/img/right_bottom_corner_blue.png) !important;
	background-position: bottom right !important;
}

#showmaplocation:hover { background-color: #94abc2;
	background-image : url(https://geo.nls.uk/maps/img/right_bottom_corner_blue_hover.png) !important;
	background-position: bottom right !important;
}

#showmaplocationinfo { position:absolute; bottom: 60px; left:40%; padding: 0px 10px 0px 10px; font-size: 14px; color: blue; background-color: white; z-index:10; } 

#showexaggerationinfo { position:absolute; left: 45%; top: 50%; height: 30px; padding: 5px 10px 5px 10px; font-size: 14px; z-index:10000; background-color: white; border-radius: 6px;} 

#showIIIFinfo { position:absolute; bottom: 60px; left:40%; padding: 0px 10px 0px 10px; font-size: 12px; background-color: white; z-index:10; border-radius: 6px;} 

#showCoordinatesinfo { position:absolute; bottom: -10px; left:350px; padding: 0px 10px 0px 10px; font-size: 12px; background-color: white; z-index:10; border-radius: 6px;} 



#cesium-logo {position: absolute; bottom: 0; right: 8px; z-index: 10000;}

#mapViewerGeoRefMaps .ol-mouse-position{position: absolute; bottom:25px; }

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100000000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
	font-size: 0.9em;
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 10px;
    border: 1px solid #888;
    width: 60%; /* Could be more or less, depending on screen size */
}

#modal-text { z-index: 0; padding: 25px;}

/* The Close Button */
.modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    z-index: 1;
}

.modal-close:hover,
.modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}



		
@media only screen and (min-width: 40rem) {
	#mapViewerFindByPlace #slider-range {width: 200px; }
}
		
@media only screen and (max-width: 40rem) {
	#mapViewerFindByPlace #slider-range {width: 150px; }
}

		
#scalesofmaps { font-size: 0.8em; line-height: 1.0em; margin:0; padding-bottom: 1px; }
		
#slider-range { margin: 5px; }
		
@media only screen and (min-width: 40rem) {
	#findbuttontoggle { position:absolute; top: 56px; left:280px; background-color:#e6e6e6; border: 1px solid #592F57; border-bottom-left-radius: 6px; border-top-left-radius: 6px;padding: 1px 10px 1px 10px; font-size: 14px; } 
}
		
@media only screen and (max-width: 40rem) {
	#findbuttontoggle { position:absolute; top: 38px; left:5px; background-color:#e6e6e6; border: 1px solid #592F57; border-bottom-left-radius: 6px; border-top-left-radius: 6px;padding: 1px 10px 1px 10px; font-size: 12px; } 
}

#date {
	margin-top: 5px;
}
		
#findbuttontoggle:hover{ background-color:#c8d9ef; }
		
		
@media only screen and (min-width: 40rem) {
	#findquickbuttontoggle { position:absolute; top: 56px; left:436px; background-color:#9dc1ef; border: 2px solid #592F57; border-bottom-right-radius: 6px; border-top-right-radius: 6px;padding: 0px 10px 0px 10px; font-size: 15px; } 
}
		
@media only screen and (max-width: 40rem) {
	#findquickbuttontoggle { position:absolute; top: 38px; left:144px; background-color:#9dc1ef; border: 2px solid #592F57; border-bottom-right-radius: 6px; border-top-right-radius: 6px;padding: 0px 10px 0px 10px; font-size: 14px; } 
}
		
 .controls {
		    margin-top: 10px;
		        border: 1px solid transparent;
		        border-radius: 2px 0 0 2px;
		        box-sizing: border-box;
		        -moz-box-sizing: border-box;
		        height: 32px;
		        outline: none;
		        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
		
		      }
		

      a.skiplink {
        position: absolute;
        clip: rect(1px, 1px, 1px, 1px);
        padding: 0;
        border: 0;
        height: 1px;
        width: 1px;
        overflow: hidden;
      }
      a.skiplink:focus {
        clip: auto;
        height: auto;
        width: auto;
        background-color: #fff;
        padding: 0.3em;
      }
      #map:focus {
        outline: #4A74A8 solid 0.15em;
      }


#progress {
        position: absolute;
        top: -4px;
        left: 0;
        height: 2px;
        background: rgba(0, 0, 51, 0.8);
        width: 0;
        transition: width 250ms;
	z-index: 1000;
      }  


#colorcontainer {
        position: absolute;
	top: 121px;
	height: 400px;
	width: 285px;
	right: 5px;
	z-index: 2000;
	background-color: white;
	overflow:hidden;
	margin: 0;
	padding: 5px;
	border-radius: 5px;
	border: 1px solid #ccc;
      }  

#mapViewerPrint .colorlabel label {
	position: absolute;
	margin-top: 70px;
	padding:10px;
	left: 0px;
	font-size: 0.8em;

}

#mapViewer .colorlabel label {
        position: absolute;
	margin-top: 70px;
	padding:10px;
	left: 0px;
	font-size: 0.8em;
	margin-top: 3px;
}

#mapViewer #searchSideBar, #mapViewerFindByPlace #searchSideBar, #mapViewerGeoRefMaps #searchSideBar { 
	position: absolute;
	top: 121px;
	left: 54px;
	max-width: 245px;
	max-height: 600px;
	z-index: 2000;
	background-color: white;
	overflow:hidden;
	margin: 0;
	padding: 0px 10px 5px 10px;
	border-radius: 3px;
	background:rgba(255,255,255,0.9);
	border: 1px solid #ccc;
}

#showcolourbutton {
    visibility: visible;
    position: absolute;
    top: 30px;
    right: 10px;
    z-index: 1000;
    font-size: 0.8em;
    color: white;
    background-color: rgba(0,128,0,0.7);
    padding: 1px 5px 1px 5px;
    border-radius: 3px;
}

#showcolourbutton:hover {
	background-color: #D8D8D8;
}

#showdrawbutton {
    visibility: visible;
    position: absolute;
    top: 30px;
    right: 10px;
    z-index: 1000;
    font-size: 0.9em;
    color: white;
    background-color: rgba(0,0,128,0.7);
    padding: 2px 7px 2px 7px;
    border-radius: 4px;
}

#showdrawbutton:hover {
	background-color: #D8D8D8;
}


#removelastfeaturebutton {
    visibility: visible;
    position: relative;
    margin-top: 55px;
    left: 5px;
    z-index: 1000;
    font-size: 0.8em;
    color: white;
    background-color: rgba(196,41,35,0.7);
    padding: 1px 5px 1px 5px;
    border-radius: 3px;
}

#removelastfeaturebutton:hover {
	background-color: #D8D8D8;
}

#exportbutton {
    visibility: visible;
    position: relative;
    margin-top: 55px;
    left: 30px;
    z-index: 1000;
    font-size: 0.8em;
    color: white;
    background-color: rgba(61,38,196,0.7);
    padding: 1px 5px 1px 5px;
    border-radius: 3px;
}

#exportbutton:hover {
	background-color: #D8D8D8;
}

#measuremessage {
    position: absolute;
	bottom:30px;
    left: 5px;
    right: 5px; 
    color: blue;
    font-size: 0.8em;
    line-height: 1.2em;
    border: 1px solid lightgray;
	margin-top: 3px;
	margin-bottom: 3px;
	padding: 4px;
}

/* Common stuff */
.picker-wrapper, 
.slide-wrapper {
    position: relative;
    float: left;
}
.picker-indicator,
.slide-indicator {
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
}
.picker,
.slide {
    cursor: crosshair;
    float: left;
}


/* Default skin */

.cp-default {
    background-color: white;
    padding: 12px;
//    box-shadow: 0 0 40px #000;
    border-radius: 15px;
    float: left;
}
.cp-default .picker {
    width: 200px;
    height: 200px;
}
.cp-default .slide {
    width: 30px;
    height: 200px;
}
.cp-default .slide-wrapper {
    margin-left: 10px;
}
.cp-default .picker-indicator {
    width: 5px;
    height: 5px;
    border: 2px solid darkblue;
    -moz-border-radius: 4px;
    -o-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    opacity: .5;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50);
    filter: alpha(opacity=50);
    background-color: white;
}
.cp-default .slide-indicator {
    width: 110%;
    height: 10px;
    left: -4px;
    opacity: .6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=60);
    filter: alpha(opacity=60);
    border: 2px solid darkblue;
    -moz-border-radius: 4px;
    -o-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    background-color: white;
}


/* Fancy skin */

.cp-fancy {
    margin-top:0px;
    padding: 10px;
    background-color: #ededed; 
//    background: -webkit-linear-gradient(top, #aaa 0%, #222 100%);   
    float: left;
    border: 1px solid #999;
    box-shadow: inset 0 0 10px white;
}
.cp-fancy .picker {
    width: 200px;
    height: 200px;
    border: 1px solid #999;
}
.cp-fancy .slide {
    width: 30px;
    height: 200px;
    border: 1px solid #999;
}
.cp-fancy .slide-wrapper {
    margin-left: 10px;
}
.cp-fancy .picker-indicator {
    width: 24px;
    height: 24px;
    background-image: url(http://cdn1.iconfinder.com/data/icons/fugue/bonus/icons-24/target.png);
}
.cp-fancy .slide-indicator {
    width: 30px;
    height: 31px;
    left: 30px;
    background-image: url(http://cdn1.iconfinder.com/data/icons/bluecoral/Left.png);
}

.io {
   clear: both;
   float: left;
   margin-top: 2px;
   padding: 2px;
   border: 1px solid lightgray;
   position: relative;
   background-color: white;
}

.io input {
   width: 48px;
   border: 1px solid black;
   font-size: 11px;
}

.io input#rgb_r {
   width: 36px;
   border: 1px solid black;
}

.io input#rgb_g {
   width: 36px;
   border: 1px solid black;
}

.io input#rgb_b {
   width: 36px;
   border: 1px solid black;
}

.io label {
   font-size: 12px;
   font-weight: bold;
}
