
#map {
	background: #f0f0f0; /* url(../images/bg.png) center center repeat; */
	overflow: hidden;
	position: absolute;
	top:0;
	bottom:0;
	left:0;
	right:0;
	width: 100%;
	height: 100%;
}

/* GLOBAL */

div.ol-control,
div.ol-control:hover,
div.ol-control:active,
div.ol-control:focus
{
	background-color: white !important;
	background-image: linear-gradient(to bottom, #ffffff 0%, #f8f8f8 100%) !important;
	background-repeat: repeat-x !important;
	box-shadow: 0 1px 5px rgba(0,0,0,0.15);
	border-radius: 2px;
	padding: 0;
	outline: 0;
}
div.ol-control button {
	background-color: #fbfbfb !important;
	color: #7a7a7a !important;
	outline: 0;
}
div.ol-control button:hover,
div.ol-control button:active,
div.ol-control button:focus {
	background-color: #fbfbfb !important;
	color: #4a4a4a !important;
	outline: 0;
}
div.ol-control button.active,
div.ol-control button[class*="true"] {
	background-color: rgba(255,255,125,0.6) !important;
	outline: 0;
	/*background-color: #a4d8ff !important;*/
}

/* CONTROLS */

div.ol-attribution {
	border-radius: 0 !important;
}
div.ol-zoom {
	top: auto;
	right: 0.5em;
	bottom: 0.5em;
	left: auto;
}
div.ol-zoomslider {
	top: 50%;
	right: 0.5em;
	bottom: auto;
	left: auto;
	margin-top: -100px;
}
div.ol-zoomslider button,
div.ol-zoomslider button:hover {
	border-radius: 1px;
	background: rgba(120,120,120,1) !important;
}
div.ol-zoom-extent {
	top: auto;
	right: 0.5em;
	bottom: 4.5em;
	left: auto;
}
div.ol-zoom-extent button:after {
	font: normal normal normal 14px/1 'Glyphicons Halflings';
	line-height: 10px !important;
	content: "\e140" !important;
}
div.ol-rotate {
	top: 0.5em;
	right: 2.7em;
	bottom: auto;
	left: auto;
}
div.ol-full-screen {
	top: 0.5em;
	right: 0.5em;
	bottom: auto;
	left: auto;
}
button.ol-full-screen-false:after {
	font: normal normal normal 14px/1 'Glyphicons Halflings';
	line-height: 10px !important;
	content: "\e096" !important;
}
button.ol-full-screen-true:after {
	font: normal normal normal 14px/1 'Glyphicons Halflings';
	line-height: 10px !important;
	content: "\e097" !important;
}
div.ol-scale-line {
	top: auto;
	right: auto;
	bottom: 0.5em;
	left: 0.5em;
	padding: 0;
	border-radius: 0;
	background-color: white;
    opacity: 0.7;
}
.ol-scale-line-inner {
	color: #7a7a7a;
	border-color: #7a7a7a;
}
div.ol-mouse-position {
	top: auto;
	right: auto;
	bottom: 0.5em;
	left: 50%;
    margin-left: -63px;
	background-color: white;
	font-size: 10px;
	padding: 2px;
    opacity: 0.7;
}
div.ol-layers-control {
	top: 4.3em;
}
div.ol-layers-control button {
	float: right;
}
div.ol-layers-control-container {
	margin-right: 1.875em;
	margin-left: 0;
}
div.ol-measure {
	top: 5em;
	right: 0.5em;
	bottom: auto;
	left: auto;
}
div.ol-drawingtools {
	top: 50%;
	right: auto;
	bottom: auto;
	left: 0.5em;
	margin-top: -30px;
}
div.ol-overviewmap {
	top: auto;
	right: auto;
	bottom: 0.5em;
	left: 0.5em;
}
.ol-overviewmap .ol-overviewmap-map {
	border: 0 !important;
}

.ol-popup {
	margin: 0 !important;
	border: 1px solid rgba(0, 0, 0, 0.2) !important;
	border-radius: 6px !important;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2) !important;
	padding: 1px !important;
	max-width: 400px !important;
}
.ol-popup #popup-content {
	padding: 9px !important;;
}
.ol-popup:before,
.ol-popup:after {
	left: 50% !important;
	border-width: 11px !important;
}

.ol-geolocate {
    bottom: 7em;
    right: 0.5em;
}
.ol-geolocate button:after {
	font: normal normal normal 14px/1 'Glyphicons Halflings';
	line-height: 10px !important;
	content: "\e087" !important;
}

.ol-export-contol {
  position: absolute;
  top: 0.4em;
  right: 4em;
}
.ol-export-contol button:first-child {
  float: left;
}

@media(max-width:768px) {
    div.ol-measure {
        top: 6em;
    }
    .ol-zoomslider {
        display: none;
    }
}
