/* fix ios not repainting while transition and sscroll.options.useTransform*/ 
@keyframes redraw{
    0% {opacity: 1;}
    100% {opacity: .99;}
}

@keyframes ripple {
  0% { background-color: #e7e7e7bc;  }
  100% { background-color: #e7e7e7;   }  
}

::after, ::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-weight: normal;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input[type=text], input[type=textarea]{
  -webkit-user-select: text;
  -khtml-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}


html {
  font-size: 10px;
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
}

.tabsUI {
  border-spacing: 0px;
  border-collapse: collapse;
  visibility: hidden;
}

.tabsUI {
  position: absolute;
  top: 0px;
  left: 0;
  margin: 0;
  width: 100%;
  border-spacing: 0px;
  border-collapse: collapse;
  bottom: 0;
  overflow: hidden;
  visibility: hidden;
  display: none;
}

.tabsUI .wrapper {
  position: absolute;
  top: 84px;
  bottom: 0;
  width: 100%;
  z-index: 0;
  overflow: hidden;
}

/* fix ios not repainting while transition and sscroll.options.useTransform*
body.scrolling .tabsUI .wrapper{
    animation: redraw 5ms linear infinite;
}
*/

.scroller .grid li {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  position: absolute;
  height: 60px;
}

.tabsUI li {
  cursor: pointer;
  list-style-type: none;
}

.tabsUI li span {
  border: 0;
  vertical-align: middle;
  overflow: hidden;
  line-height: 1;
  white-space: normal;
  height: 100%;
  padding: 2px;
  font-size: 15px;
}

#grid_filter {
  position: absolute;
  width: 50px;
  text-align: left;
  line-height: 1;
  height: 48px;
  display: none;
  top: 1px;
  border-bottom: 1px solid #ddd;
  overflow: hidden;
  background-color: rgb(250,250,250);
}

.btn, .link{
    font-size:18px;
    padding:10px 20px;
    min-width:70px;
    background-color:#55B585;
    border-radius:5px;    
    color:white;
}

.gmFiche{
    margin: 5px 0;
    width:100%;
    background-color: white;
    border: 0;
    text-align: left;
}

.gmFiche b{
    font-weight:bold;
}

svg.r90{
    transform:rotateZ(90deg);
}

#welcome .swipeBox p{
  position: absolute;
  bottom: 5%;
  height: 40px;
  width: 100%;
  z-index: 2;
  text-align: center;
}

#welcome .swipeBox p a{
  display: inline-block;
  width: 15px;
  height: 15px;
  opacity: 0.4;
  border-radius: 50%;
  background-color: #555;
  margin: 20px 6px;
}

.swipeBox.i0 p a:nth-of-type(1), 
.swipeBox.i1 p a:nth-of-type(2), 
.swipeBox.i2 p a:nth-of-type(3){
    opacity:1!important;
}

#welcome a.btn{
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    bottom: 70px;
    z-index: 3;
    font-size: 20px;
    width: 75%;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 10%), 0 4px 6px -4px rgb(0 0 0 / 10%);
    max-width: 300px;
} 

#welcome a.btn.show{
    opacity: 1 !important;
    transition: opacity 0.5s;
    pointer-events: all !important;
}    

#mainCat .head{
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    text-align: center;
    transition: height 400ms;
}

#mainCat .head span.logo{
    background: url( ../img/logo.svg ) center no-repeat;
    /*background-size: 25vw;*/
    background-size: contain;
    padding:0;
    margin: 8% 0 12% 0;
    min-height: 50px;
}

#mainCat .head span{
    width:100%;
    padding:0 3%;
    display:inline-block;
}

#mainCat .head span.title{
    opacity: 1; 
    padding: 0 5% 6% 5%;
    letter-spacing: -0.72px;
    margin: 0;
    display:block;
}

span.search{
  z-index: 1;
  /*transition: all 400ms;  */
  background-color: #ddd;
  width: 100%;
  padding: 0 3%;
  display: inline-block;
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
}

span.search input{
  border: 1px solid rgba(200,200,200,0.5);
  border-radius: 5px;
  font-size: 16px;
  padding: 9px;
  text-align: center;
  background: url(../img/svg/search.svg) center no-repeat;  
  background-size: 13px;
  background-position: 22%;
  position: relative;
  width: 90%;
  display: block;
  background-color: white;
  z-index:0;
  margin: 3px 5%;
}


.keyboardOn span.search input{
    background-position-x: 15px;
    transition: background 300ms;
}


span.search a svg{
    fill:#565656;
    transform:rotateZ(45deg) scale(0.8);    
}

span.search a{
    position: absolute;
    right: 30px;
    top: 0px;
    z-index: 1;
    width: 50px;
    height: 100%;
    align-items: center;
}


.keyboardOn span.search a{
    display:flex!important;
}

/*
.keyboardOn #mainCat{
    bottom:0;
}
*/
/*.mainCatOn #slide-container{
  background-color:#53b585; 
  background-color:#aad3df;
}
*/


#mainCat .container{
  width: 100%;
  padding: 5%;
  background: url(../img/svg/waiting.svg) center 100px no-repeat;
  background-size: 20vw;
  display: inline-block;
  min-height:220px;
}

#mainCat.ready .container{
    background: none;
}

body #mainCat .head span.title{
    transition: all;
    transition-duration:0s;    
    font-size:20px;
    overflow:hidden;
}


[data-imgkey=bateau-de-plaisance-et-de-sport]{
    background-size:80%!important; 
}

[data-imgkey=cartouche-dencre]{
    background-size:70%!important; 
}

[data-imgkey=autres]{
    background-size:50%!important; 
}

/*
body.keyboardOn #mainCat .head span.title{
    transform: scale(0.7);
    opacity: 0.8;    
    margin:0 0 2% 0;    
}
*/


#mainCat .container a {
  width: 44%;
  /* display: inline-block; */
  padding: 20px;
  margin: 3%;
  text-align: center;
  position: relative;
  background-color: white;
  display:block;
  float:left;
  border: 1px solid #eee;
  border-radius: 15px;
  box-shadow: 1px 4px 7px #ddd;
  max-height: 220px;
}

#mainCat .container a.hide{
    display:none!important;
}

#mainCat .container a div {
    border-radius:100%;
    width: 20vw;
    height: 20vw;
    display: inline-block;
    position: relative;
    background-color: white;
    -webkit-user-drag:none;
    user-drag:none;    
    background-color: #efefef;
    background-size: contain !important;
    max-width: 100px;
    max-height: 100px; 
}

#mainCat a img.loaded{
    background-color:transparent;
}

#mainCat a span {
  position: relative;  
  width: 100%;
  line-height: 1.2;
  text-align: center;
  overflow: visible;
  margin:5px 0;  
  padding:0;
  /* display: inline-block; */
  font-size:inherit;
  /* with li float:left display:block */
  display: flex;
  justify-content: center;
  align-items: center;
  /*font-weight: bold;*/
}

/*
#subcats .logo {
   transition: all 2600ms;
}
*/


#subcats{
    z-index:0;
}


#subcats.up .logo{
    height:50px;
}

#subcats.up #subcatLogo{
    height: 40px;
    width: 40px;
    margin-top: 4px;
}

#subcats .wrapper {
    z-index:1;
}

#subcats.up .wrapper {
  top: 50px !important;
}

#subcats li{
    height:100px;
    overflow: hidden;
}

#subcatdetails span a{
    text-decoration: underline;
}

#subcatdetails .container .link{
    display:inline-block;
}

.medicaments-non-utilise #subcats li{
    height: 180px;
    
}

#subcats li{
    /*border-bottom: 1px solid rgba(100,100,100,0.1);*/
    border-bottom: 1px solid #eee;
}
/*
.wrapper .scroller li{
    will-change: transform;
}
*/

.wrapper .scroller {
    will-change: transform;
    transition-duration: 0ms;
    height: 100%;
    position: relative;
    /*z-index: 0;*/
}

#subcats li span{    
    display:block;
}

#subcats li span:nth-of-type(1){
    left: 0;
    width: 25%;
    position: absolute;
    padding: 5% 3%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#subcats li span:nth-of-type(1) div{
    display:block;
    width: 70px;
    height: 70px;
    margin:auto;
    border-radius: 100%;
    background-color: #f1f1f6;
}

#subcats li span:nth-of-type(1) img{
    width: 70px;
    height: 70px;
    object-fit: contain;
    display: block;
    transform: scale(0.6);
}

/*
#subcats li span:nth-of-type(1) img:not(.loaded){
    animation: 1s ease ripple infinite;
    animation-delay: 0s;
}
*/
/*
body.scrolling #subcats li span:nth-of-type(1) img{    
    animation: none;
    background-color: #e7e7e7;
}
*/

#subcats li span:nth-of-type(2), #subcats li span:nth-of-type(3){
    width: 100%;
    height: auto;
    position: relative;
    display: inline-block;
    padding: 2px 10px 2px 25%;
    line-height: 1;
}

#subcats li span:nth-of-type(2){
   font-weight: bold;
    font-size: 15px;
    margin-top: 3px;
    height: 32px;
    overflow: hidden;
    word-break: break-word;
    display: flex;
    align-items: flex-end;
}

#subcats li span:nth-of-type(3){
  font-size: 12px;
    margin-top: 0px;
    color: #555;
    word-break: break-word;
    /*line-height: 1.6;*/
    line-height: 19px;
}

#subcats .logo{
  width: 100%;
  display: block;
  position: absolute;
  height: 170px;  
  overflow: hidden;
  /*
  animation: 1s ease ripple infinite;
  animation-delay: 0s;  
  */
  transform: translateZ(0);
  transition: all 100ms;  
  background-color:#F9F9F9;
}


#subcats .logo p,
#subcatdetails .logo p.label{
    padding: 3%;
    width: 100%;
    text-align: center;
    display: inline-block;
    line-height: 1;
    font-size: 17px;
    vertical-align: middle;
    opacity: 1;
    transition: opacity 1000ms;
    font-weight: bold;
}

/*
#subcatdetails .logo p{
    position: absolute;
    top: 100px;
    left: 0;
    padding: 0;
}
*/

#subcats.up .logo p{
    opacity: 0;
    visibility: hidden;
}

/*
#subcats.up #subcatLogo{
    margin-top: 1%;
    width: 40px;
    height: 40px;
    background-size: 40% !important;
    
}
*/

#subcatdetails .btn{
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%);
    min-width: 300px;
    background-color: #F6AB66;
}

#subcatdetails .container{
    height: calc( 100% - 100px );
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior:none;
}

#subcatdetails{
    transform: translateY( 100% ) translateZ(0);
    width: 100%;
    display: none;
    position: absolute;
    top: 0px;
    bottom: 0;    
    text-align: center;
    z-index:2;
    will-change:transform;
    background-color: white;
    transition: transform 400ms ;
    overflow-y: auto;
}

.subcatdetailsOn #subcatdetails{
    transform: translateY(0) translateZ(0);
    transition: transform 200ms ;
}

.subcatsOn.subcatdetailsOn #subcatdetails{
    transition-duration: 0ms ;
}

#subcatdetails div.logo{
    display: inline-block;
    width: 100%;
    height: 170px;
    text-align: center;  
    background-color: #F9F9F9;
    position: relative;
    margin-top:0;
}

/*
#subcatdetails div.logo img{
  height: 100%;
  width: auto;
  display: inline-block;
  -webkit-user-drag:none;
  user-drag:none;
  max-width:100px;
  max-height:80px;
}
*/

#subcatLogo,
#subcatdetails p.circle {
    height: 100px;
    width: 100px;
    background-size: contain !important;
    display: block;    
    border-radius: 100%;
    margin: auto;  
    margin-top: 3%;  
    overflow: hidden;
}

#subcatdetails div.logo img {
    margin-top: 0;
    -webkit-user-drag:none;
    user-drag:none;
    /*object-fit: contain;*/    
    width: 100px;
    height: 100px;
    padding: 0px;   
}

/*
.subcatdetailsOn #subcatdetails div.logo img {
    transform: scale(0.8);
}
*/

.subcatdetailsOn.subcat #subcatdetails div.logo img {
    transform: scale(0.6);
}

#subcatdetails div.logo p.circle {
    background-color: #f1f1f6;
}
/*
#subcatdetails div.logo img:not(.loaded){  
  animation: 1s ease ripple infinite;
  animation-delay: 0s;
}
*/

#subcatdetails .supp, #subcatdetails .description, #subcatdetails .poc{
  width: 100%;
  display: inline-block;
  padding: 7px 20px 0 20px;
  font-size: 14px;
  text-align: left;
  letter-spacing:0.2px;
  word-break: break-word;
}

#subcatdetails .description{
    margin-top:10px;
}

/*
#subcatdetails .supp i, #subcatdetails .description i, #subcatdetails .poc i{
    /*
    border-radius: 100%;
    width: 5px;
    height: 5px;    
    background-color: #555;
    display: inline-block;
    margin: 0 10px 0 0;        
}
*/

br {
    line-height: 0;
    /*display: block;
    content: "";
    */
 }

#subcatdetails .supp b, #subcatdetails .description b, #subcatdetails .poc b,
strong{
    font-weight:bold;
}


     
#subcatdetails .title p{
  display: inline;
}



#pois{
    z-index:1;
}

#pois:not(.tabLoaded){
   background-color: white;
}


.resultNumber{
  position: absolute;
  top: 0;
  background-color: white;
  padding: 3px 20px 3px 10px;
  height: 20px;
  z-index: 2;
  width:100%;
  display: block;
  transform: translateZ(0);
}


/*
#pois.up .wrapper, #pois.up #poidetails{
  top: 175px !important;
}
*/



.hidemarkers #pois:before{
    content: "";
    position: absolute;
    bottom: 5px;
    right: 10px;
    width:30px;
    height:30px;
    background: url( ../img/svg/waiting.svg) no-repeat center;
    background-size:30px!important;
    display:block;
    z-index: 400;
    transform: translateZ(0);
    animation: redraw 1s linear infinite;
 }
 

/*
.gmapOn.fs #pois .resultNumber svg, 
#pois.up .resultNumber svg{
    display: block !important;
    position: absolute;
    right: 7px;
    top: 5px;    
}
*/

.gmapOn.fs #pois .resultNumber svg{
    transform: rotateZ(180deg);
}


.locklf #gmap, .locklf .leaflet-container img, .locklf .leaflet-container a{
    pointer-events:none;
}

.hidemarkers .leaflet-marker-pane, .hidemarkers .leaflet-shadow-pane{
    display: none!important;
}

a.gmFiche{
  -webkit-tap-highlight-color: rgba(0,0,0,0) !important; 
  -webkit-tap-highlight-color: transparent !important; /* For some Androids */
  -webkit-touch-callout: none !important;   
}

/*
.offline .leaflet-pane, .offline .leaflet-control-container{
    display:none;
}
*/



.poisOn #pois .wrapper {
    /* transition-timing-function: ;  cubic-bezier(.08,.82,.17,1); */
    background-color: white;
    transition: transform;
    transition-duration: 300ms;    
    transition-timing-function: ;
    /*ransform: translateY(380px) translateZ(0);*/
    z-index: 3;
    bottom: 0;
    top: unset !important;
    border-radius: 10px 10px 0 0;
    padding-top: 10px;
}

#pois.up .wrapper{
    transform: translateY(0) translateZ(0);    
    transition: transform 300ms;    
}

#pois .wrapper, #pois #poidetails {
    will-change:transform;
}


.leaflet-popup{
    transition: 0ms;
}

#pois .wrapper{
    contain: size;
    /*transform: translateY(280px) translateZ(0);*/
    bottom:165px;
    top:unset!important;
}

#gmap{
    transform: translateZ(0);
    contain:layout;
}

/*
#gmap.up{
    height: 80px;
    border-bottom: 1px solid red;
}
*/

/*
#pois.up .leaflet-pane, #pois.up .leaflet-marker-pane{
    z-index:0;
}

#pois.up .leaflet-marker-pane{
    z-index:1;
}
*/


.poisOn:not(.fs) #pois.fast #gmap, .poisOn #pois.fast .wrapper, #pois.fast .resultNumber,
.poidetailsOn #gmap, .poidetailsOn .wrapper, .poidetailsOn .resultNumber{
    transition-duration: 0ms ; /* cubic-bezier(.08,.82,.17,1); */
}

#pois .scroller{
    will-change: transform;
    transition-duration: 0ms;
    height:100%;
    position:relative;
    z-index:0;
}

#pois li{
    height:120px;
    will-change: transform;
    border-bottom: 1px solid #E4F1FD;
}

#pois li span{
    position:absolute;
    display:block;
}

#pois li span:nth-of-type(1){
    left: 0;
    width: 120px;
    padding: 4% 2%;    
    height: 100%;
}

#pois li span:nth-of-type(1) div{
    overflow: hidden;
    border-radius:6px;
    width: 100px;
    height: 100px;
}

#pois li span img{
    width: 100px;
    height: 100px;
    min-width: 100px;
    display: inline-block;
    object-fit: contain;
}

/*
#pois li span img:not(.loaded){
    animation: 1s ease ripple infinite;
    animation-delay: 0s;
}


body.scrolling #pois li span img{
    animation: none;
    background-color: #e7e7e7;
}
*/


#pois li span:nth-of-type(2), #pois li span:nth-of-type(3), #pois li span:nth-of-type(4){
    left: 120px;
    /* width: 68%; */
    line-height: 1.1;
    height: auto;
}

#pois li span:nth-of-type(2){
    font-weight: bold;
    font-size: 14px;
    top: 5px;
    display: flex;
    align-items: flex-end;
    height: 45px;
}

#pois li span:nth-of-type(3){
   font-size: 13px;
    top: 49px;
    color: #999;
    max-height: 47px;
    text-transform: lowercase;
}

#pois.noloc li span:nth-of-type(4){
    display:none;
}

#pois li span:nth-of-type(4){
   font-size: 11px;
   bottom: 8px;
   color: #C15097;
   background: url(../img/svg/navpink.svg) 2px 4px no-repeat;
   background-size: 11px;
   padding-left: 17px;
}


#pois li span:nth-of-type(5){
    right: 0;
    bottom: 3px;
    height: 30px;
    width: 70px;
}

#pois li span:nth-of-type(5) svg{
    width:25px;
    height:25px;
    margin-right: 5px;
}

#pois li span:nth-of-type(5) svg:last-child{
    fill:#0daa5d;
    transform: scale(0.9);
}


#poidetails{
    position:absolute;
    padding-top:0;
    left:0;
    width:100%;
    bottom: 65px;
    z-index: 2;
    background-color:white;
    transform:translateY(100%) translateZ(0);
    transition: all 400ms ; /* cubic-bezier(.08,.82,.17,1); */
    text-align: center;
    visibility:hidden;
    display:none;
    border-radius: 30px 30px 0 0;
    padding-bottom: 20px;
    z-index:2;
    will-change: transform;
    border-top: 1px solid rgba(0,0,0,0.3);
}

.poisOn #poidetails{
    display:block!important;
}

.poidetailsOn #poidetails{
    transform:translateY(0) translateZ(0);
    visibility:visible;
}

.keyboardOn #mainCat .container{
    visibility: hidden!important;
}


#instantSearch{
    position:absolute;
    z-index:2;
    height:0px;
    width:100%;
    background-color:#fefefe;
    display:none;
    height: calc( 100% - 46px );
}

.keyboardOn #instantSearch{
    display:block;
}

#instantSearch .wrapper{
    top:0;
}

#instantSearch li{
    height:70px;
    font-size:13px;
    border-bottom: 1px solid rgba(200,200,200,0.3);
    padding: 5px;
}


#instantSearch .wrapper li div{
    width:100%;
    line-height: 40px;
    padding: 0 35px 0 5px;
    white-space: nowrap;
    
}

#instantSearch .wrapper li  div:nth-child(2){
    font-size:10px;
    margin-top: -10px;
    white-space: normal;
    line-height: 14px;
    overflow: hidden;
}

#instantSearch li img{
    position:absolute;
    right: 10px;
    top: 25px;
    width: 20px;        
    max-height:20px;
}

#instantSearch p{
    text-decoration:underline;
    font-weight:bold;
    display:inline;
}

.noResultMsg{
    display:none;
    padding: 20px;
    font-size: 12px;
}

.noresult .noResultMsg{
    display:block!important;
}

#poidetails div.logo{
    display: block;
    width: 100%;
    height: 150px;
    text-align: center;
    padding: 0px;
    margin: 50px 0 20px 0;
    overflow:hidden;    
    border-bottom: 1px solid rgba(100,100,100,0.2);
}

#poidetails div.logo:not( .loaded ){
    animation: 1s ease ripple infinite;
    animation-delay: 0s;
}

#poidetails div.logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: inline-block;
  visibility:visible;
  -webkit-user-drag:none;
  user-drag:none;
  pointer-events:none;  
  /*transition:all 400ms;*/
  opacity:0.8;
  /*filter: blur(5px);*/
}

#poidetails div.logo img.loaded{
    opacity:1;
    /*filter: blur(0px);*/
}

/*
#poidetails div.logo img.error{
    width:140px;
}
*/

#poidetails .title, #poidetails .adress, #poidetails .location{
  width: 100%;
  display: inline-block;
  padding: 5px;
  font-size: 14px;
  text-align: left;  
}

#poidetails .title{
    font-size:17px;    
    padding:0 35px;        
    margin-bottom: 20px;
    font-weight:bold;
}

#poidetails .adress, #poidetails .location{
    font-size:13px;
    margin-left:70px;
    max-width: calc( 100% - 90px);
}

#poidetails .location{
    position:relative;
}

#poidetails .infos{
    margin: 0px 0 30px 0;
    padding:0 35px;        
    position: relative;
    width: 100%;
    display: inline-block;
    font-size: 12px;
}

#poidetails .infos p, #poidetails .infos > a {
    margin: 5px;
    text-align: left;
}

#poidetails .infos a{
    width: 100%;
    display: inline-block;
    color: #232323;
    /*text-decoration: none; */  
    -webkit-user-drag:none; 
    user-drag:none;  
    min-height: 20px;
}

#poidetails .location svg{
      width: 25px;
      height: 25px;
      transform: rotateZ(0deg);
      fill: #555;
      position: absolute;
      left: -40px;
      top: -15px;
}

#poidetails .location p{
  display: inline;
}

#poidetails .topbar{
    width: 100%;
    height: 40px;
    position: absolute;
    left: 0;
    top: 0;
}

#poidetails .topbar:after{
  width: 20%;
  border: 2px solid #bbb;
  border-radius: 100px;
  content: '';
  position: absolute;
  left: 40%;
  top: 20px;
  display: block;
  background-color: #bbb;
}

#mapFilters{
    position: relative;
    left: 0;
    top: 0;
    overflow-y:hidden;
    overflow-x:visible;
    height: 60px;    
    /*border:1px solid yellow;*/
    width: 100%;
    display:none;    

    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    z-index:1;
}

.nopoc header a.mapfilter, .nopoc #subcatdetails a.btn{
    display:none!important;
}

.nopoc #subcatdetails .container{
    height: 100%;
}
/*
#mapFilters:not( .fixIOS){
    overflow-y: hidden;
    overflow-x: auto;    
}
*/

#mapFilters::-webkit-scrollbar {
  display: none;
}


.gmapOn #mapFilters{
    display:block!important;    
}

.gmapOn.gmapFull header{
    display:none;
}


#mapFilters span{
    position: relative;
    height: 100%;
    white-space: nowrap;
    display: block;
}


#mapFilters a{
    min-width: 70px;
    display: inline-block;
    padding: 10px;
    border-radius: 30px;
    vertical-align: middle;
    z-index: 4;
    position: relative;
    background-color: white;
    font-size: 12px;
    margin: 10px 10px 0 0;
    text-align: center;
    box-shadow: 1px 1px 6px #555;
    transition: all 50ms;
}

#mapFilters a.on{
    background-color:#c15298;
    color:white;
}

.leaflet-control-attribution{
    pointer-events:none!important;
}

.leaflet-touch .leaflet-bar a{
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
}

.switch {
  position:relative;
  width: 100%;
  display: block;
  font-size: 15px;
  padding: 20px;
  white-space: nowrap;
  margin: 0;
}

.switch label {
  text-align: left;
}

.switch input[type="checkbox"] {
  display: none !important;
}

.switch span{
    position: absolute;
    top: 38px;
    left: 20px;
    font-size: 9px;
    color: red;
    width: calc( 100% - 100px );
    overflow: hidden;
    white-space: normal;
    line-height: 1;
    word-break: break-all;
    
}

input[type="checkbox"] + label {
  min-width: unset;
  width: 60px !important;
  height: 30px;
  border: 1px solid rgba(0,0,0,0.3);
  background-color: #efefef;
  border-radius: 15px;
  position: absolute !important;
  top: 14px;
  right: 20px;
  display: block !important;
  margin: 0 !important;
}

input[type="checkbox"] + label::before {
  position: absolute;
  transition: all 0.2s;
  transform: translateX(3px);
  content: '';
  display: inline-block;
  width: 25px;
  height: 25px;
  -moz-border-radius: 100%;
  -webkit-border-radius: 100%;
  border-radius: 100%;
  background-color: #fff;
  top: 1px;
}

input[type="checkbox"]:checked + label::before {
  transform: translateX(32px);
  background-color: #0b5aaa;
}

.F3D{ /* Fuck how is that possible ???? */
    transform:translateY(1px) translateZ(0);    
    transition: all 1ms;    
}


@media screen and (min-width: 600px){         
    #slide-container, #poidetails{
      max-width: 600px;
      left: calc( (100% - 600px) *0.5 ) !important;              
    }
    /*    
    #mainCat li {
      padding: 20px 20px 0 20px;
    }
      
    #mainCat li span{
        font-size: 1.3vmax;
        height: 4vmax;
    }
    */
}

