/* 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 {--bs-btn-hover-bg:#F7F7F7!important;color: #000;border-color: #6c757d}

.form-check-input:checked {border-color:#151C27;background-color:#151C27;} /* radio */
.nav-link:hover {background-color:#F7F7F7!important;color: #000;border-color: #6c757d} /* nav tabs */

/* 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;
	}
}

#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 (orientation: portrait) and (max-width: 575.98px) {
	.mp-secondaryMenu-expanded {
		top: 60%!important;
		min-height: 40%;
		height: auto;
	}
	.masterportal-container {overflow-y:auto;} /* after scrolling gfi -> no browser */
	.masterportal-container::-webkit-scrollbar {width: 1px;}
	.elements-positioned-over-map {position: fixed;} /* bug footer with no secundary menu */
}

/* 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;
	}
}

.d-flex.justify-content-start.layer-selection-navigation-baselayer {display:none!important;}