.leaflet-popup-content-wrapper, .leaflet-popup-tip
{
    position: relative;
    overflow: hidden;
}

.pi-bulle-stand
{
    cursor: pointer;
}

.pi-bulle-stand:hover
{
    text-decoration: underline;
}

.pi-bulle-stand:hover .pi-exhibitor-popup
{
    text-decoration: underline;
}

.pi-bulle-event
{
    cursor: pointer;
    display: table;
    margin-bottom: 10px;
    width: 100%;
}

.pi-bulle-event:hover
{
    /*text-decoration: underline;*/
    background-color: #eee;
}

.pi-bulle-event-col1
{
    display: table-cell;
    width: 20px;
    text-align: center;
}

.pi-bulle-event-col2
{
    display: table-cell;
}

.pi-bulle-event:hover .pi-event-popup
{
    text-decoration: underline;
}

.pi-bulle-poi
{
    text-align: center;
}

.pi-bulle-event-location
{
    font-size: 16pt;
    font-weight: bold;
    margin-bottom: 10px;
    padding: 5px 15px 5px 15px;
    left: 0px;
    top: 0px;
    background-color: var(--le-secondary);
}

.pi-bulle-event-date
{
    font-size: 14pt;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--le-primary);
}

.pi-bulle-event-heure
{
    font-weight: bold;
    font-size: 12pt;
}

.pi-bulle-event-titre
{
    font-size: 12pt;
    font-weight: normal;
}

.pi-tooltip-title
{
    color:gray;
}

.poi_picto
{
    height: 64px;
}

.poi_picto img
{
    width: 100%;
}

.pi-logo-tooltip
{
    width: 150px;
}

.pi-logo-tooltip img
{
    width: 100%;
}

.pi-flag-popup
{
    display: inline-block;
    vertical-align: middle;
    width: 16px !important;
    margin-right: 5px;
}

.pi-exhibitor-popup
{
    display: inline-block;
    vertical-align: middle;
}

.pi-search-infos
{
    height: 40px;
    width:250px;
    display: block;
    float: none;
    overflow: hidden;
}

.pi-search-table-container
{
    margin-top: 10px;
    max-height:calc(100% - 35px);
    overflow-y: auto;
}

.pi-search-infos .pi-search-row
{
    text-align: left;
    font-size: 10pt;
    height: 20px;
    cursor: pointer;
}

.pi-search-error
{
    color:red;
}

.pi-bouton-infos
{
    cursor: pointer;    
}

.pi-bouton-infos::before
{
    content: "\f0d7";
    font-weight: bold;
    display: inline-block;
    font-family: "Font Awesome 6 Pro";
    padding-right: 5px;
}

.pi-back-button-wrapper
{
    border-width:0px !important;
    display: block;
    float: none;
}

.pi-etoile
{
    color: black;
}

.pi-bookmark-icon
{
    color:black;
    font-size: 12pt;
}

.pi-bookmark-icon-size-0
{
    font-size: 3pt;
    transform: translate(5px, -5px);
    transition: all 0.25s;
}

.pi-bookmark-icon-size-1
{
    font-size: 5pt;
    transform: translate(4px, -4px);
    transition: all 0.25s;
}

.pi-bookmark-icon-size-2
{
    font-size: 10pt;
    transform: translate(0px, -2px);
    transition: all 0.25s;
}

.pi-bookmark-icon-size-3
{
    font-size: 18pt;
    transform: translate(-5px, 0px);
    transition: all 0.25s;
}

.pi-bookmark-icon-size-4
{
    font-size: 30pt;
    transform: translate(-12px, -10px);
    transition: all 0.25s;
}

.pi-bookmark-icon-size-5
{
    font-size: 36pt;
    transform: translate(0px, 0px);
    transition: all 0.25s;
}

.pi-bookmark-icon-size-6
{
    font-size: 48pt;
    transform: translate(0px, 0px);
    transition: all 0.25s;
}

.pi-bulle-stands
{
    overflow: auto;
    max-height: 250px;
}

.pi-marker
{
    transition: opacity 0.3s, visibility 0.3s;
}

.pi-tooltip
{
    pointer-events: none !important;
}

.pi-tooltip > .maplibregl-popup-content
{
    pointer-events: none !important;
}

.pi-pathfinder-cursor
{
    cursor:crosshair !important;
}

.pi-distance
{
    margin-right: 10px !important;
}

#blocPlan
{
    position: relative;
}

.map-overlay {
    font: 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
    position: absolute;
    width: 200px;
    top: 0;
    left: 0;
    padding: 10px;
    z-index: 900;
    
}

.map-overlay .map-overlay-inner {
    background-color: 
#fff;
    box-shadow: 0 1px 2px 
rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
}

.map-overlay-inner fieldset {
    border: none;
    padding: 0;
    margin: 0 0 10px;
}

.map-overlay-inner fieldset:last-child {
    margin: 0;
}

.map-overlay-inner select {
    width: 100%;
}

.map-overlay-inner label {
    display: block;
    font-weight: bold;
    margin: 0 0 5px;
}

.pi-hall-button
{
    margin-bottom: 5px;
}

@media screen and (max-width: 800px){
    .pi-search-infos
    {
        width:45vw !important;
    }  
    
    .map-overlay
    {
        width: 90px;
        font-size: 10pt;
    }

    .map-overlay .map-overlay-inner 
    {
        padding: 5px 5px 0px 5px;
    }

    .pi-hall-button
    {
        font-size: 10pt;
    }
}


