/* tree: breadcrumb navigation */
.layer-selection-navigation .breadcrumb a {text-decoration:underline!important;}
.layer-selection-navigation .nav-breadcrumb {z-index:3!important;} /* sticky on top*/

/* buttons */
.btn-primary, .btn-primary:active, .btn-primary:focus, .btn-primary:disabled,
.btn-secondary, .btn-secondary:active, .btn-secondary:focus, .btn-secondary:disabled {
    background-color: #F7F7F7;
    color: #000;
    border-color: #dee2e6;
}
.btn:hover {background-color: #F7F7F7;color: #000;border-color: #6c757d;}

/* menu toggle buttons smaller */
.menu-toggle-button {font-size: 1.7rem !important;}
@media only screen and (max-width: 600px) {
	.menu-toggle-button {
		height: 54px !important;
		width: 54px !important;
        right: 24px !important;
	}
}

#geolocation_marker {_color:#dc3545;font-size:2.0rem}

/* add icon for drag&drop in layer */
#layer-tree .layer-tree-layer-title:before {
    position: relative;
    content: "\F3FE";
    font-family: "bootstrap-icons";
    cursor: move;
	font-size: medium;
}

/* logo */
#mp-menu-logo-mainMenu  {margin-top: 0px !important;justify-content:center!important;}
#mp-menu-logo-mainMenu > img {max-height: 30px !important;}
#mp-menu-logo-mainMenu > h1 {display: none;}

/* meta + legend: no scrolling */
#modules-layer-information .abstract {max-height:100%;}

li[value = "LayerInfoDataDownload"] { display:none!important; } /* no Datsatz download */

/* gfi */
.gfi .table {--bs-table-hover-bg:#F7F7F7;}	   
.gfi { height:auto!important; } /* optimize gfi scrolling mobile */

/* mobile portrait */
@media (max-width: 575.98px) {
    .mp-secondaryMenu-expanded {
        top: 60%!important;
        min-height: 40%;
		height: auto;
    }
	.masterportal-container {overflow-y:auto;height: -webkit-fill-available;} /* after scrolling gfi -> no browser */
}

@media (orientation: landscape) and (max-width: 1024px) {
	.mp-secondaryMenu-expanded {
		width:35%!important;
	}
}

/* scale-line auch mobile/immer anzeigen */
#modules-scales {
	display: inline-block!important;
	text-align: center;
}
#modules-scales .scale-line {
	border-bottom: 1px solid;
	border-left: 1px solid;
	border-right: 1px solid;
}

/* maxMapSize: ESRI, nrw.it: max. 4000px */
@media screen and (min-width: 2728px) {
    .elements-positioned-over-map {
		background-image: url(../img/maxScreen.png);
		background-repeat: no-repeat;
		background-position: bottom 50px right 50px;
	}
}