/******************************************************************************
--------------------------- CSS MVIEWER Versión mínima -------------------------
********************************************************************************/

#map {
    position: fixed;
    left: 0px;
}

#rightSection {
	background-color: #ffffff99 !important;
    width: 30px;
}

#controlesMapa {
    position: fixed;
    top: 5px;
    left: 5px;
    z-index: 10;
    height: 26px;
    background-color: #ffffff99 !important;
    height: 32px;
    padding-top: 1px;
    width: 99px;
    padding-left: 1px;
    border-radius: 4px;
}

#controlesMapa .btn, #rightSection .btn {
	padding: 1px 4px;
	background-color: #2e5367 !important;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    border-radius: 30px;
	width: 30px;
	height: 30px;
}

#controlesMapa .btn:active, #controlesMapa .btn:focus
{
	background-color: #2e5367 !important;
}

#controlesMapa .btn:hover
{
	background-color: #5FADDF !important;
}

#controlesMapa span, #rightSection span
{
	color: #fff;
	position: relative;
}

.btn-group-lg > .btn, .btn-lg {
	color: #fff;
    padding: 1px 4px;
    font-size: 18px;
    line-height: 1.333;
    border-radius: 30px !important;
    width: 28px;
    height: 28px;
    margin-bottom: 3px;
	background-color: #2e5367;
}

#infoBar {
    position: fixed;
    top: 5px;
    right: 0px;
    z-index: 10;
    width: 29px;
}

#toolstoolbar
{
	position: fixed;
    top: 36px;
    right: 0px;
    z-index: 10;
    width: 29px;
}

.ol-control.ol-wmscapabilities {
    top: 1px !important;
    right: 2.5em !important;
}

#backgroundlayerstoolbar-default {
    bottom: 3px;
    left: 5px;
    position: fixed;
	padding: 1px 4px;
	background-color: #2e5367;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    border-radius: 30px;
	width: 30px;
	height: 30px;
}

#backgroundlayersbtn, #backgroundlayersbtn-principal
{
	padding: 0px !important;
	width: 28px;
	height: 28px;
	position: relative;
    left: -3px;
}

.ol-scale-line {
    left: 40px;
    height: 18px;
    background-color: rgba(255, 255, 255, 0.7);
    text-align: center;
    font-size: 8px;
    font-family: 'roboto_regular', sans-serif;
    color: #2e5367;
    border: rgba(119,119,119,110) solid 1px;
    border-top-color: transparent;
}

.ol-scale-line-inner {
    border-color: #333333;
    font-size: smaller;
    font-family: 'roboto_regular', sans-serif;
    color: #2e5367;
}

.ol-overviewmap {
    right: 0px;
    position: fixed;
    z-index: 10;
    background-color: #fff9;
    box-shadow: 0px 0px 30px 3px rgba(200, 200, 200, 0.5);
    border-radius: 30px;
    bottom: 1px;
    width: 28px;
    height: 28px;
}

#OverView .ol-control button {
    height: 28px !important;
    width: 28px !important;
    position: relative;
    top: -4px;
    left: -4px;
}

.ol-overviewmap .ol-overviewmap-map {
    border: 1px solid #7b98bc;
    height: 150px;
    margin: 2px;
    width: 150px;
    border-radius: 30px;
    float: right;
    position: fixed;
    bottom: -1px;
    right: 30px;
}

.ol-overviewmap span
{
	color: #fff;
	position: relative;
	top: -1px;
}

.active #layers-container {
    max-width: 200px !important;
}

div#legend {
    background-color: #fff;
    overflow: scroll;
    position: relative;
    min-width: 340px;
    height: 300px;
    width: inherit;
    max-height: 200px !important;
    min-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 5;
    padding: 2px;
    border-radius: 4px;
}

#legend-modal .modal-content {
    max-width: 238px !important;
    max-height: 250px;
}

div#legend {
    min-width: 0px !important;
    max-width: 202px !important;
	font-size: smaller;
}

#legend-modal .modal-title{
	margin: 0px;
	margin-top: 7px;
    line-height: 1;
    font-size: small;
}

#legend-modal .modal-header, #modal-panel .modal-header, #sharepanel .modal-header, #thematic-modal .modal-header {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

@media (max-width: 991px)
{
	#legend-modal .modal-header, #modal-panel .modal-header, #sharepanel .modal-header, #thematic-modal .modal-header {
		padding-top: 0px !important;
		padding-bottom: 0px !important;
	}
}