body, html{
    margin: 0;
    padding:0;
    user-select: none;
}

body{
    position: relative;
    font-size: 13px;
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/lato/v20/S6u9w4BMUTPHh7USSwiPGQ3q5d0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root{
    --white: #fff;
    --bg-blue: #112C45;
    --bg-active-hover-hall: #ec1d24;
    --bd-hall: #112C45;
    --bg-stand: #fed27a;
    --bg-active-hover-stand: #ff8e68;
    --shadow: 0 6px 10px 0 rgb(0 0 0 / 10%);
}

#map{
    width: 100%;
    height: 100%;
}



.hall-block{
    cursor: pointer;
    pointer-events: auto;
    fill: var(--bd-hall)!important;
}

polygon.active{
    fill: var(--bg-active-hover-hall)!important;
}

/* .leaflet-popup-close-button{
    display: none;
}

.leaflet-popup-content-wrapper{
    border-radius: 0;
}

.leaflet-control-attribution{
    display: none;
}

.leaflet-popup-content{
    font-size: 1.5em;
    margin: 0;
}

.leaflet-popup-content-wrapper{
    padding: 0;
}

.leaflet-popup-content .popup-title{
    text-align: center;
    padding: 5px;
    text-transform: uppercase;
    background-color: var(--bg-blue);
    color: #fff;
}

.leaflet-popup-content .popup-subtitle{
    text-align: center;
}

.leaflet-popup-content .popup-body{
    padding: 5px;
}

.leaflet-popup-content .popup-description{
    text-align: center;
}

.leaflet-touch .leaflet-bar a{
    transition: color 0.3s ease-out, background-color 0.3s ease-out;
    border-radius: 0!important;
    background-color: #fff;
    border-bottom: 1px solid  var(--bg-blue);
    color:  var(--bg-blue);
}

.leaflet-touch .leaflet-bar a:last-child{
    border-bottom: 0;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip{
    box-shadow: var(--shadow);
}

.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar{
    border-radius: 0!important;
    border: 1px solid var(--bg-blue);
}

.leaflet-touch .leaflet-bar a:active{
    background-color: var(--bg-blue);
    color: var(--white);
} */

#cy {
    width: 300px;
    height: 300px;
    display: block;
    background: #000;
  }
  
.btn-plan{
    outline: none!important;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease-out, background-color 0.3s ease-out;
    border: 1px solid var(--bg-blue);
    background-color: var(--white);
    text-decoration: none!important;
    font-family: 'Lato', 'Open Sans', sans-serif;
    color: var(--bg-blue);
    text-transform: uppercase;
    padding: 8px 12px;
    text-align: center;
    cursor: pointer;
} 

.btn-plan.btn-red{
    border: 1px solid var(--bg-active-hover-hall);
    color: var(--bg-active-hover-hall);
}

.btn-reset-itineraire {
    margin-left: 5px;
}

.mapboxgl-ctrl-group button, .maplibregl-ctrl-group button{
    transition: color 0.3s ease-out, background-color 0.3s ease-out;
    border: 1px solid var(--bg-blue);
    background-color: var(--white);
    border-radius: 0!important;
}

#formItineraire{
    display: flex;
    flex-direction: column;
}

#formItineraire .btn-red{
    margin-bottom: 5px;
}

.mapboxgl-ctrl-group:not(:empty), .maplibregl-ctrl-group:not(:empty){
    box-shadow: none;
}

.btn-plan:hover{
    background-color: var(--bg-blue);
    color: var(--white);
}

.btn-plan.btn-red:hover{
    background-color: var(--bg-active-hover-hall);
    color: var(--white);
}

.dropdown-hall-menu{
    position: fixed;
    box-shadow: var(--shadow);
    top: 0px;
    background-color: var(--white);
    padding: 15px;
    white-space: nowrap;
    transform: translate(-50%, 0);
    transition: transform 0.3s ease-out;
    left: 50%;
}

.dropdown-hall-menu-list{
    overflow: auto;
    max-height: 150px;
    display: flex;
    flex-direction: column;
}

.dropdown-hall-menu.hide-menu{
    transform: translate(-50%, -250px);
}

.dropdown-hall-menu .btn-plan{
    margin-bottom: 5px;
}


.input-plan{
    width: 100%;
    padding: 10px 15px;
    border: solid 1px var(--bg-blue);
    color: var(--bg-blue);
    transition: color 0.3s ease-out, background-color 0.3s ease-out;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-family: 'Lato', 'Open Sans', sans-serif;
    border-radius: 0!important;
    width: 180px;
}

body {
    font-family: 'Lato', 'Open Sans', sans-serif;
}

.input-plan:focus{
    background-color: var(--bg-blue);
    color: var(--white);
    outline: none;
}

.input-plan::placeholder{
    color: var(--bg-blue);
    font-style: italic;
}

#stand polygon{
    fill: var(--bg-stand);
    cursor: pointer;
    pointer-events: auto;
    stroke-width: 1px;
    stroke: var(--bg-active-hover-stand);
}

#stand polygon.active,
#stand polygon.hover{
    fill: var(--bg-active-hover-stand);
}


.hall-block.hover{
    fill: var(--bg-active-hover-hall)!important;
}

.maplibregl-canvas {
    background-color: #ddd;
}

.mapbox-gl-import_geojson{
    font-size: 10px;
    font-weight: bold;
}
.mapbox-gl-save_stand{
    font-size: 10px;
    font-weight: bold;
}

.mapboxgl-popup-content .popup-title {
    text-align: center;
    padding: 5px;
    text-transform: uppercase;
    background-color: var(--bg-blue);
    color: var(--white);
    font-size: 13px;
}

.mapboxgl-popup-content .popup-subtitle {
    text-align: center;
}

.mapboxgl-popup-content .popup-description {
    text-align: center;
    font-size: 12px;
}

.mapboxgl-popup-content .popup-body {
    padding: 5px;
    font-size: 12px;
}

.mapboxgl-popup-content, .maplibregl-popup-content{
    padding: 0!important;
    font-size: 1.5em;
    opacity: 0.8;
}

.mapboxgl-popup-close-button, .maplibregl-popup-close-button {
    display: none;
}

.mapboxgl-ctrl-top-left, .maplibregl-ctrl-top-left {
    top: 55px!important;
}

.dropdown-top-section{
    z-index: 99999;
    position: absolute;
    display: flex;
    top: 5px;
    width: 100%;
    /* left: 50%; */
    /* left: 46%;
    transform: translateX(-46%); */
    /* transform: translateX(-50%); */
}

.dropdown-bottom-section {
    z-index: 9999;
    position: absolute;
    display: flex;
    bottom: 5px;
    width: 100%;
}

.input-plan-group{
    display: flex;
    flex-direction: column;
}
input, select, textarea {
    font-size: 16px;
}

html {
    height: -webkit-fill-available;
}

:root {
    --vh: 1vh;
}

body {
    position: relative;
    padding: 0;
    margin: 0;
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    height: calc(var(--vh, 1vh) * 100);
}
  
/* body{
    overflow: hidden;
} */

.input-plan-group label {
    padding-bottom: 5px;
}

h5{
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 500;
    text-transform: uppercase;
}
@supports (-webkit-touch-callout: none) {
    body {
      /* The hack for Safari */
      min-height: -webkit-fill-available;
    }
  }
/* Itineraire */

/* .dropdown-itineraire-ctn{
    z-index: 9999;
    position: absolute;
    top: 90px;
    right: 10px;
} */


.dropdown-hall-ctn, 
.dropdown-itineraire-ctn,
.dropdown-legende-ctn {
    display: inline-block;
}

.dropdown-legende-ctn{
    margin-left: auto;
    margin-right: 5px;
}

.dropdown-itineraire-ctn {
    margin-left: 5px;
}

.dropdown-hall-ctn {
    margin-left: auto;
    margin-right: 5px;
}

.dropdown-itineraire-menu-list{
    overflow: auto;
    max-height: 150px;
    display: flex;
    flex-direction: column;
}

.dropdown-itineraire-menu{
    position: fixed;
    box-shadow: var(--shadow);
    top: 0px;
    background-color: var(--white);
    padding: 15px;
    white-space: nowrap;
    transform: translate(-50%, 0);
    transition: transform 0.3s ease-out;
    left: 50%;
}

.dropdown-itineraire-menu.hide-menu{
    transform: translate(-50%, -250px);
}


.dropdown-legende-menu-list{
    overflow: auto;
    max-height: 150px;
    display: flex;
    flex-direction: column;
}

.dropdown-legende-menu{
    position: fixed;
    box-shadow: var(--shadow);
    bottom: 0px;
    background-color: var(--white);
    padding: 15px;
    white-space: nowrap;
    transform: translate(-50%, 0);
    transition: transform 0.3s ease-out;
    left: 50%;
}
.dropdown-legende-menu.hide-menu{
    transform: translate(-50%, 250px);
}

/* Autocomplete */

.autoComplete_wrapper {
    margin-bottom: 0;
}

.autoComplete_wrapper .input-plan {
    margin-bottom: 0;
}

.autoComplete_wrapper > ul {
    position: absolute;
    max-height: 226px;
    overflow-y: scroll;
    box-sizing: border-box;
    left: 0;
    right: 0;
    margin: 0.5rem 0 0 0;
    padding: 0;
    z-index: 1;
    list-style: none;
    background-color: #fff;
    border: 1px solid rgba(33, 33, 33, 0.07);
    box-shadow: 0 3px 6px rgba(149, 157, 165, 0.15);
    outline: none;
    transition: opacity 0.15s ease-in-out;
    -moz-transition: opacity 0.15s ease-in-out;
    -webkit-transition: opacity 0.15s ease-in-out;
}
  
.autoComplete_wrapper > ul[hidden],
.autoComplete_wrapper > ul:empty {
    display: block;
    opacity: 0;
    transform: scale(0);
}
  
.autoComplete_wrapper > ul > li {
    margin: 0.3rem;
    padding: 0.3rem 0.5rem;
    text-align: left;
    font-size: 13px;
    color: #212121;
    background-color: rgba(255, 255, 255, 1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.2s ease;
}
  
.autoComplete_wrapper > ul > li mark {
    background-color: transparent;
    font-size: 14px;
    color: rgb(30, 81, 128);
    font-weight: bold;
}
  
.autoComplete_wrapper > ul > li:hover {
    cursor: pointer;
    background-color: rgba(17, 44, 69, 0.15);
}
  
.autoComplete_wrapper > ul > li[aria-selected="true"] {
    background-color: rgba(17, 44, 69, 0.15);
}
  
.popup-button{
    outline: none!important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease-out, background-color 0.3s ease-out;
    border: 1px solid var(--bg-blue);
    background-color: var(--white);
    text-decoration: none!important;
    font-family: 'Lato', 'Open Sans', sans-serif;
    color: var(--bg-blue);
    text-transform: uppercase;
    font-size: 12px;
    padding: 7px 12px;
    text-align: center;
}

.popup-button:hover{
    background-color: var(--bg-blue);
    color: var(--white);
}

.popup-actions .popup-button:first-child {
    margin-right: 5px;
}

.popup-actions .popup-button:last-child {
    margin-left: 5px;
}

.popup-actions {
    padding-top: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.popup-ctn {
    border: 1px solid var(--bg-blue);
}

.input-it-group {
    display: flex;
    margin-bottom: 10px;
}

.input-it-group label{
    outline: none!important;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease-out, background-color 0.3s ease-out;
    border: 1px solid var(--bg-blue);
    background-color: var(--white);
    text-decoration: none!important;
    font-family: 'Lato', 'Open Sans', sans-serif;
    color: var(--bg-blue);
    text-transform: uppercase;
    font-size: 12px;
    padding: 7px 12px;
    text-align: center;
    border-right: 0;
    justify-content: center;
}
.input-it-group i {
    color: var(--bg-blue);
}
.go-label,
.flag-label{
    width: 20px;
}

.go-label i{
    font-weight: bold;
    font-family: sans-serif;
}


.input-it-group button{
    outline: none!important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease-out, background-color 0.3s ease-out;
    border: 1px solid var(--bg-blue);
    background-color: var(--white);
    text-decoration: none!important;
    font-family: 'Lato', 'Open Sans', sans-serif;
    color: var(--bg-blue);
    text-transform: uppercase;
    font-size: 12px;
    padding: 7px 12px;
    text-align: center;
    border-left: 0;
}

.input-it-group button svg {
    stroke: var(--bg-blue);
    width: 15px;
    height: 15px;
}

.input-it-group button:hover{
    background-color: var(--bg-blue);
    color: var(--white);
}

.input-it-group .input-plan{
    width: 80px;
}

.input-it-group button:hover svg{
    stroke: var(--white);
}

.dropdown-itineraire-menu .btn-plan{
    width: 100%;
    justify-content: center;
}

.marker-hall-text{
    padding-top: 5px;
    position: absolute;
    left: 50%;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    color: var(--bg-blue);
    width: 80px;
    transform: translateX(-50%);
    text-transform: uppercase;
}

.pageLoader{
    position: fixed;
    z-index: 999999999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(17, 44, 69, 80%);
    visibility: hidden;
    opacity: 0;
    transition: visibility .4s, opacity .4s ease-in-out;
}
.pageLoader .pageLoader__content{

    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;

}

.pageLoader .pageLoader__content-loading{
    position: absolute;
    z-index: -1;
}

.pageLoader-show{
    visibility: visible;
    opacity: 1;
}



.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
  }
  .lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
  }
  .lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
  }
  @keyframes lds-ellipsis1 {
    0% {
      transform: scale(0);
    }
    100% {
      transform: scale(1);
    }
  }
  @keyframes lds-ellipsis3 {
    0% {
      transform: scale(1);
    }
    100% {
      transform: scale(0);
    }
  }
  @keyframes lds-ellipsis2 {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(24px, 0);
    }
  }

.popup-loading:after {
    animation: dots 2s linear infinite;
    content: '...';
}

@keyframes dots {
    0%, 20% {
        content: '...';
    }
    40% {
        content: '';
    }
    60% {
        content: '.';
    }
    90%, 100% {
        content: '..';
    }
}

.legend-row {
    padding-bottom: 5px;
    display: flex;
    align-items: center;
    width: 100%;
}

.legend-label {
    padding-left: 5px;
}

.square-stand {
    background-color: #fed37a;
    width: 30px;
    height: 20px;
    display: inline-block;
    border: 2px solid #ff8e68;
}

.square-door {
    width: 33px;
    height: 30px;
    display: inline-block;
    background-color: #ec1d24;
    position: relative;
}

.square-door:after {
    display: inline-block;
    height: 0;
    width: 0;
    border-top: 8px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 13px solid #fff;
    content: '';
    right: 7px;
    top: 6px;
    position: absolute;
}

.square-info {
    border-radius: 50%;
    border: 2px solid #ec1d24;
    width: 30px;
    height: 30px;
    display: inline-block;
    position: relative;
}

.square-info:before {
    background-color: #ec1d24;
    width: 4px;
    height: 5px;
    display: inline-block;
    position: absolute;
    top: 4px;
    left: 13px;
    content: '';
}

.square-info:after {
    background-color: #ec1d24;
    width: 4px;
    height: 15px;
    display: inline-block;
    position: absolute;
    bottom: 3px;
    left: 13px;
    content: '';
}

.square-box {
    background-color: #808284;
    border: 2px solid #000;
    width: 30px;
    display: inline-block;
    height: 30px;
    position: relative;
}

.square-box img {
    position: absolute;
    top: 4px;
    left: 3px;
}

.start-marker {
    background-color: #fff;
    border-radius: 50%;
    color: #fff;
    background-color: var(--bg-blue);
    border: 1px solid var(--bg-blue);
    font-size: 12px;
    padding: 4px 4px;
    width: 20px;
    height: 20px;
    text-align: center;
    display: inline-flex!important;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-family: sans-serif;
}

.end-marker {
    background-color: #fff;
    border-radius: 50%;
    color: #fff;
    background-color: var(--bg-blue);
    border: 1px solid var(--bg-blue);
    font-size: 12px;
    text-align: center;
    display: inline-flex!important;
    justify-content: center;
    align-items: center;
    padding: 4px 4px;
    width: 20px;
    height: 20px;
}

#logoInnovdata{
    display: none;
    position: absolute;
    z-index: 999999999;
    /* 
    bottom: 5px;
    left: calc(50% - 75px); */
    right: 5px;
    bottom: 50px;
}

#logoInnovdata.show-logo{
    display: inline-flex;
    flex-direction: column;
}

#logoInnovdata a{
    display: inline-flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--bg-blue);
    text-transform: uppercase;
    font-style: italic;
    text-align: center;
}

#logoInnovdata a span{
    padding-bottom: 5px;
    font-size: 11px;
}


#logoInnovdata img {
    /* height: 50px; */
    height: 30px;
}

.input-it-group button.btn-go-to-stand-geo {
    width: 40px;
    padding: 0;
}

.input-it-group button.btn-go-to-stand-geo .geolocation {
    background-position: 50%;
    background-repeat: no-repeat;
    display: block;
    height: 100%;
    width: 100%;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E");
}

.input-it-group button.btn-go-to-stand-geo:hover .geolocation {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E");
}

.mapboxgl-user-location-accuracy-circle, .maplibregl-user-location-accuracy-circle{
    width: 50px!important;
    height: 50px!important;
}