
.map_container {
    position: relative;
}

.exif .map_container {
    height: auto;
    position: relative;
    -webkit-border-bottom-right-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -moz-border-radius-bottomright: 3px;
    -moz-border-radius-bottomleft: 3px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    overflow: hidden;
}

button {
    all: unset;
}
#map_control {
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: 14px;
    height: 40px;
}
#map_layer_name, #map_attrib {
    position: absolute;
    display: block;
    left: 35px;
    right: unset;
    bottom: 5px;
    top: unset;
    padding: 0;
    padding-left: 5px;
    padding-right: 5px;
    line-height: 15px;
    font-size: 12px;
    text-align: left;
    color: rgb(var(--blanc));
    background-color: transparent !important;
    /*text-shadow: 0 0 2px rgba(0, 0, 0, 1);*/
    height: auto;
    width: auto;
    opacity: 0.5;
    -webkit-transition: opacity .2s linear;
    -moz-transition: opacity .2s linear;
    transition: opacity .2s linear;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#map_attrib a {
    padding: 0;
    margin: 0;
    font-size: 12px;
    color: rgb(var(--blanc));
    text-decoration: none;
    opacity: 1
}
#map_attrib a:hover {
    background: none;
    color: rgb(var(--blanc));
    text-decoration: underline;
    opacity: 1;
}
#map_layer_name {
    width: auto;
    bottom: 20px;
    z-index: 2000;
    font-family: 'Default';    
    font-weight: bold;
}

#map_layer_name .default {
    font-family: 'Default' ;    
    font-size: 12px;
    font-style: italic;
}
.maplibregl-popup-content {
    all: unset
}
.maplibregl-popup-tip {
    display: none;
}
.poi-image, .poi-icon, .sp_user_img_map {
    /*-moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);*/
    border-radius: 17px;
    width: 33px;
    height: 33px;
}
.poi-icon {
    width: 24px;
    height: 24px;
    background-size: 24px 24px;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 5px;
}
.mapButton, .zoomInButton, .zoomOutButton, .boundButton {
    position: absolute;
    bottom: 5px;
    left: 5px;
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    border-radius: 5px;
    z-index: 2000;
    background: rgba(var(--noir), 0.75);
    -moz-box-shadow: 0 0 5px rgb(var(--noir));
    -webkit-box-shadow: 0 0 5px rgb(var(--noir));
    box-shadow: 0 0 5px rgb(var(--noir));   
    line-height: 20px;
    opacity: 1;
    -webkit-transition: opacity .2s linear;
    -moz-transition: opacity .2s linear;
    transition: opacity .2s linear;
    color: rgba(var(--blanc), 0.5);
}
.zoomInButton, .zoomOutButton, .boundButton {
    left: unset;
    right: 40px;
}
.zoomOutButton {
    right: 5px;
}
.boundButton {
    right: 75px;
}
.mapButton button, .zoomInButton button, .zoomOutButton button, .boundButton button {
    display: inline-block;
    height: 30px;
    width: 30px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 20px;
    opacity: 0.5;
}
.mapButton button {
    background-image: url('/img/icons/dark/tiles.svg');
}
.zoomInButton button {
    background-image: url('/img/icons/dark/zoom_in.svg');
}
.zoomOutButton button {
    background-image: url('/img/icons/dark/zoom_out.svg');
}
.boundButton button {
    background-image: url('/img/icons/dark/adjust_map.svg');
}
.mapButton button:hover, .zoomInButton button:hover, .zoomOutButton button:hover, .boundButton button:hover {
    color: rgb(var(--blanc));
    filter: contrast(100%);
    cursor: pointer;
    opacity: 1;
}
.popup {
    color: rgb(var(--blanc));
    background: rgba(var(--noir), 0.75);
    -moz-box-shadow: 0 0 5px rgb(var(--noir));
    -webkit-box-shadow: 0 0 5px rgb(var(--noir));
    box-shadow: 0 0 5px rgb(var(--noir));
    font-style: normal;
    border-radius: 5px;
    min-width: 20px;
    min-height: 20px;
    padding: 4px;
    margin: 0;
    text-align: left;
    pointer-events: auto;
}

.popup h2 {
    margin: 0;
    padding: 0;
    font-weight: normal;
    display: block;
    font-size: 14px;
    line-height: 18px;
    width: 190px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.popup h2 img {
    margin-top: 0px;
    margin-bottom: 0px;
}

.popup p {
    color: rgba(var(--blanc), 0.5);
    margin: 0;
    padding: 0;
    font-size: 14px;
    text-align: left;
    line-height: 18px;
    min-width: 190px;
    text-overflow: ellipsis;
    overflow: hidden;
}

.popup p img {
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    vertical-align: bottom;
}

.popup p img.weathermapicon {
    border-bottom-left-radius: 0;
}

.popup p .condition, .popup p .temperature {
    font-size: 14px;
    display: block;
    width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.maplibregl-ctrl-attrib-inner a {
    height: auto!important;
    width: auto!important;
}
.maplibregl-ctrl-attrib-inner a:hover {
    filter: contrast(100%);
}
.maplibregl-ctrl-top-right .maplibregl-ctrl {
    margin: 5px 5px 0 0;
}
a.maplibregl-ctrl-logo {
    margin: 0;
    padding: 0;
    opacity: 0.5;
}
a.maplibregl-ctrl-logo:hover {
    filter: contrast(100%);
    opacity: 1;
    background-color: unset;
}
