/* tree: breadcrumb navigation */
.layer-selection-navigation .breadcrumb a {text-decoration:underline!important;}

/* streetsmart */
@media (min-width: 767px) {html {_overflow:hidden;}}

.lh-1 {_line-height: 1.2 !important;} /* labels menu */

/* buttons */
.controls-element {z-index:1!important;} /* Bug orientation over gfi in mobile */
.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;}

/* accordion in measure ... */
.accordion-button, .accordion-button:focus {background:none!important;box-shadow:none;}

/* menu toggle buttons smaller */
@media only screen and (max-width: 767px) {
    .menu-toggle-button {
        height: 54px !important;
        width: 54px !important;
        font-size: 1.7rem !important;
    }
}
.menu-toggle-button {font-size: 1.7rem !important;}

/* 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;}

/* scalebar in mobile */
#modules-scales {display: inline-block;text-align: center;}
.scale-line {
    border-bottom: 1px solid;
    border-left: 1px solid;
    border-right: 1px solid;
}
/* footer */
.portal-footer { background-color:transparent!important;box-shadow:none!important;width:unset!important;}
.portal-footer > div, #modules-scales, .impressumLink {background-color:rgba(255, 255, 255, .7);color:#000;border-radius:4px 4px 4px 4px;padding: 2px;}

/* meta + legend: no scrolling */
#modules-layer-information .abstract {max-height:100%;}

/* gfi table tr hover, label length */
.gfi .table {--bs-table-hover-bg:#F7F7F7; max-width:100%;}
		   
.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;
		width:100%!important;
    }
	.masterportal-container {overflow-y:auto;height: -webkit-fill-available;}
}
@media (orientation: landscape) and (max-width: 1024px) {
	.mp-secondaryMenu-expanded {
		width:35%!important;
	}
}

/* maxSize WMS */
.maxMapSize {display:none;position:absolute;right:10px;bottom:40px;color:#721c24;background-color:#f8d7da;padding:15px;border:1px solid #f5c6cb;border-radius:4px;z-index:99999;}
@media screen and (min-width: 2728px) {
    .maxMapSize {display:block;}
}

/* add icon for drag&drop in layer */
/*
#layer-tree .layer-tree-layer-title:before {
    position: relative;
    left: 0px;
    margin-top:1px;
    content: "\F3FE";
    font-family: "bootstrap-icons";
    cursor: move;
}
*/