.mat-mdc-icon-button {
    width: 30px;
    height: 30px;
    line-height: inherit;
    border-radius: 4px;
    color: black;
    background-color: white;
    padding: 0px;
 /*￼   box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1); */
}

.mat-mdc-icon-button:hover {
    background-color: #eee;
}

:host ::ng-deep mgl-map {
    height: 100%;
    background-color: white;
}

/* TODO: remove mapboxgl-canvas-container when it's changed to maplibregl-canvas-container,
   see https://github.com/maplibre/maplibre-gl-js/issues/83 */
:host ::ng-deep mgl-map .mapboxgl-canvas-container.maplibregl-interactive {
    cursor: crosshair;
}

:host ::ng-deep mgl-map .mapboxgl-canvas-container.maplibregl-interactive:active {
    cursor: grabbing;
}

:host ::ng-deep mgl-map .maplibregl-canvas-container.maplibregl-interactive {
    cursor: crosshair;
}

:host ::ng-deep mgl-map .maplibregl-canvas-container.maplibregl-interactive:active {
    cursor: grabbing;
}

:host ::ng-deep mgl-map div.maplibregl-popup-content {
    background-color: #424242;
    color: white;
    padding: 3px 6px;
    font-weight: 550;
}

:host ::ng-deep mgl-map div.maplibregl-popup-content button {
    display: none;
}

:host ::ng-deep mgl-map div.maplibregl-popup-tip {
    background: transparent;
    border-top-color: #424242;
}

:host ::ng-deep mgl-map .maplibregl-popup-anchor-left .maplibregl-popup-tip {
    border-right-color:  #424242;
    border-top-color: transparent;
}

:host ::ng-deep mgl-map .maplibregl-popup-anchor-right .maplibregl-popup-tip {
    border-left-color:  #424242;
    border-top-color: transparent;
}

:host ::ng-deep mgl-map .maplibregl-popup-anchor-top .maplibregl-popup-tip {
    border-bottom-color:  #424242;
}

:host ::ng-deep mgl-map .maplibregl-ctrl-attrib {
    color: #333;
}

:host ::ng-deep .mat-mdc-icon-button.-active {
    background-color: #4264fb;
    color: white;
}

/* Actually unused: see root app styles.css */
:host ::ng-deep mgl-map .maplibregl-canvas .boxdraw {
    background: rgba(56,135,190,0.1);
    border: 2px solid #3887be;
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
}