a.poi, a.poi-popup {
    font-weight: 700;
}

a.poi:after, a.poi-popup:after {
    content: "\f041";
    font-family: 'ff-font-awesome' !important;
    padding-left: 5px;
}

a.poi.non-display-cart-interactive-poi:after,
a.poi-popup.non-display-cart-interactive-poi:after{
    content: "";
    padding: 0;
}

.filtres-actifs-container {
    color: white;
}

.filtres-actifs {
    display: inline-block;
}

.filtres-actifs .filtre-actif {
    background: rgba(0, 0, 0, .5);
}

.filtres-actifs .filtre-actif [data-role="remove"] {
    cursor: pointer;
    display: inline-block;
    margin-left: 8px;
}

.filtres-actifs .filtre-actif [data-role="remove"]:hover {
    background: white;
    border-radius: 100%;
    color: black;
}

.filtres-actifs .filtre-actif [data-role="remove"]:after {
    content: "x";
    padding: 0px 2px;
}

.oyopi-maintenance-container .raz {
    color: white;
    cursor: pointer;
}

.oyopi-maintenance-container {
    text-align: center;
}

.oyopi-maintenance-container h2 {
    color: white !important;
}

.oyopi-maintenance-column-filter {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.oyopi-maintenance-column-map {
    padding-left: 0 !important;
    padding-right: 0 !important;
}



/*  don't use this, or the whole website will stop work
.fg-match-column-inside-wrapper {
    height: 100%;
} */

.switchery {
    margin-left: 10px;
}

label {
    color: white;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.filtreCommune { 
    background: rgba(0,0,0,.2);
    color: white;
    border: solid 1px white;
    padding: 5px 10px;
}

.filtreCommune option {
    background: #c01c6f;
}

.filtre-theme {
    border: 0;
    padding: 4px 12px;
    background: rgba(0,0,0, .2);
    color: white;
    font-weight: 400;
    margin-right: 10px;
    margin-bottom: 5px;
    border-radius: 10px; 
    display: inline-block;
}

.filtre-groupe {
    background: rgba(0, 0, 0, .5);
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
}

.filtre-geopartenaire {
    border: 0;
    padding: 4px 12px;
    background: rgba(0,0,0, .2);
    color: white;
    font-weight: 400;
    margin-right: 10px;
    margin-bottom: 5px;
    border-radius: 10px; 
    display: inline-block;
}

.filtre-geopartenaire.active {
    color: rgba(192,28,111,1);
    background: rgba(255,255,255,1);
}

.geopartenaires-toggle {
    align-items: normal;
    background-color: rgba(0,0,0,0);
    border-color: rgb(255, 255, 255);
    border-style: none;
    box-sizing: content-box;
    color: white; 
    cursor: pointer;
    display: inline;
    font: inherit;
    height: auto;
    margin: 5px 0 15px 0;
    padding: 0;
    perspective-origin: 0 0;
    text-align: start;
    text-decoration: underline;
    transform-origin: 0 0;
    width: auto;
    -moz-appearance: none;
    -webkit-logical-height: 1em; /* Chrome ignores auto, so we have to use this hack to set the correct height  */
    -webkit-logical-width: auto; /* Chrome ignores auto, but here for completeness */
}

.filtre-theme.art-contemporain.active { 
    background: #8c1812;
}

.filtre-theme.culture.active { 
    background: #f4981a; 
}

.filtre-theme.geologie.active { 
    background: #382874; 
}

.filtre-theme.nature.active { 
    background: #193b1f;
}


.card__face{
    background: #c01c6f url('/wp-content/uploads/2019/02/motif_geo_60pc.png') no-repeat center center;
    padding: 30px;
}

.oyopi-maintenance-column-filter .card__face label{
    margin-bottom: 12px;
}

.card__face--back{
    transform: rotateY( 180deg );
}

/* EXTENSION */
.card__face.card__face--front{
    padding: 30px;
    cursor: pointer;
}

.card__face{
    position: absolute;
    height: 100%;
    width: 100%;
    backface-visibility: hidden;
}

.card__face--front{
    background: #c01c6f url('/wp-content/uploads/2019/02/motif_geo_60pc.png') no-repeat center center;
}

.card__face--front h2{
    line-height: 1;
    color: white;
}

.ReduceCardButton{
    margin-top: 30px;
    text-align: center;
}

@media(min-width: 1400px) and (max-width: 1900px){
    .ReduceCardButton{
        margin-top: 0;
    }

}

@media(min-width: 992px) and (max-width: 1399px){
    .filtreCommune{
        margin: 15px 0px;
    }

    .filtre-groupe{
        padding: 6px;
        margin: 8px 0
    }

    .oyopi-maintenance-column-filter .card__face label{
        margin-bottom: 12px;
        margin-top: 5px;
    }

    .ReduceCardButton{
        margin-top: 25px;
    }

    .card__face{
        padding: 10px;
    }
}

@media(max-width:767px){
    .card__face--front h2{
        font-size: 30px;
    }

    #carteGeoparc{
        max-height: calc(100vh - 85px);
    }
}

@media(min-width:768px) and (max-width:991px){
    .card__face--front h2{
        font-size: 40px;
    }

    #carteGeoparc{
        max-height: calc(100vh - 75px);
    }
}

@media(min-width:992px) and (max-width:1199px){
    .card__face--front h2{
        font-size: 50px;
    }
}

@media(min-width:1200px){
    .card__face--front h2{
        font-size: 60px;
    }
}

.hi-icon{
    background: rgb(192, 28, 111);
    -webkit-transition: -webkit-transform ease-out 0.1s, background 0.2s;
    -moz-transition: -moz-transform ease-out 0.1s, background 0.2s;
    transition: transform ease-out 0.1s, background 0.2s;
    display: inline-block;
    font-size: 0px;
    cursor: pointer;
    margin: 15px 30px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    text-align: center;
    position: relative;
    z-index: 1;
    color: #fff;
}

.icon-img{
    position: absolute;
    top: 20px;
    bottom: 0;
    left: 15px;
    right: 0;
    text-align: center;
    height: 100%;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    color: transparent;
    background: url('/wp-content/themes/oyopi/img/touch-icon.svg') no-repeat 0 0;
    -webkit-transition: -webkit-transform 0.2s;
    -moz-transition: -moz-transform 0.2s;
    transition: transform 0.2s;
    background-position: 7px 0;
}

.hi-icon-archive:before{
    content: "\e00f";
}


.hi-icon:after{
    pointer-events: none;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    top: 0;
    left: 0;
    content: '';
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.hi-icon-active{
    -webkit-transform: scale(0.93);
    -moz-transform: scale(0.93);
    -ms-transform: scale(0.93);
    transform: scale(0.93);
    color: #fff;
}

.hi-icon-active:after{
    animation: sonarEffect 1.3s ease-out 75ms;
    animation-iteration-count: infinite;
    -webkit-animation: sonarEffect 1.3s ease-out 75ms;
    -webkit-animation-iteration-count: infinite;
}

.map-flip{
    background: none;
    color: white;
    padding: 5px 20px;
    border: solid 1px white;
}

#columnFilter{
    padding: 0;
    height: 520px;
    z-index: 9999;
}

#columnFilter .fg-match-column-inside-wrapper{
    height: 100%;
}

.columnMap{
    position: relative;
    padding-right: 0;
    padding-left: 0;
}

#columnFilterSimple{
    height: 75px;
}

#columnFilterSimple .filtre-groupe{
    width: 30%;
    display: inline-block;
    margin: 15px 6px;
    padding: 10px 0 0 0;
}


#columnFilterSimple .card__face{
    padding: 0;
}

@media (max-width: 767px){
    
    #columnFilterSimple .filtre-groupe{
        width: 31%;
        margin: 15px 1px;
    }

    #columnFilterSimple.oyopi-maintenance-column-filter .card__face label{
        width: 100%;
    }

    #columnFilterSimple.oyopi-maintenance-column-filter .card__face label{
        margin-bottom: 0;
    }

   
    #columnFilterSimple .filtre-groupe label{
        font-size: 13px;
    }
    #columnFilterSimple .switchery-small{
        height: 15px;
        width: 28px;
        margin-bottom: 8px;
    }

    #columnFilterSimple .switchery-small>small{
        height: 16px;
        width: 16px;
    }

    #columnFilterSimple{
        height: 85px;
    }
    
}

@media (max-width: 499px){
    #columnFilterSimple .filtre-groupe label{
        font-size: 12px;
    }
}

@media (min-width: 992px){
    #columnFilter{
        min-width: 400px;
    }
    #columnMap{
        max-width: calc(100% - 400px);
    }

    #columnFilter{
        display: block;
    }
    #columnFilterSimple{
        display: none;
    }
}

@media (max-width: 991px){
    #columnFilter{
        display: none;
    }
    #columnFilterSimple{
        display: block;
    }
}

.map-flip-touch{
    z-index: 1000;
    position: absolute;
    bottom: 50px;
    left: 40%;
}

.map-flip-touch:before{
    content: ' ';
    display: block;
    left: -1500px;
    right: -1500px;
    top: -350px;
    bottom: -50px;
    position: absolute;
    transition: background 3s ease;
    -webkit-transition: background 3s ease;
    -moz-transition: background 3s ease;
    -ms-transition: background 3s ease;
    -o-transition: background 3s ease;
}

.map-flip-touch:hover:before{
    background: rgba(182,0,108,.1);
}


.map-flip-touch:hover{
    cursor:pointer;
}



@-webkit-keyframes sonarEffect {
    0% {
      opacity: 0.3;
    }
    40% {
      opacity: 0.5;
      box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1), 0 0 10px 10px #c01c6f, 0 0 0 10px rgba(255, 255, 255, 0.5);
    }
    100% {
      box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1), 0 0 10px 10px #c01c6f, 0 0 0 10px rgba(255, 255, 255, 0.5);
      -webkit-transform: scale(1.5);
      opacity: 0;
    }
  }

.flipping-cart-active .carte-geoparc,
.flipping-cart-active .oyopi-maintenance-column-filter .card__face--single { 
    height: 520px;
 } 

.flipping-cart-deactive .carte-geoparc {
/* .flipping-cart-deactive .oyopi-maintenance-column-filter .card__face--single {  */
    height: 740px;
 } 

.card{
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 1s;
    transform-style: preserve-3d;
}

.card.is-flipped{
    transform: rotateY(180deg);
}


/* -------------------------- */

.follow-on-cart{
	height: 50px;
}
.follow-on-cart a{
    height: 50px;
    display: block;
    float: right;
    cursor: pointer;
}

.follow-on-cart a:hover,
.follow-on-cart a:hover:active,
.follow-on-cart a:active {
    text-decoration: none;
}

.follow-on-cart a:after{
    content: "\f041";
    font-family: 'ff-font-awesome' !important;
    font-size: 35px;
    color: #c01c6f;
    width: 100%;
    height: 100%;
    margin-left: 10px;
    position: relative;
}

.follow-on-cart a:hover:after{
    animation-name: bounce-effect;
    animation-duration: 0.5s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

@keyframes bounce-effect {
    0% {top: 0;}
    40% {top: -5px;}
    80% {top: 0px;}
    100% {top: 0px;}
}

/* -------------------------- */

.carte-road-desc-container{
    display: table;
    width: 100%;
}
.carte-road-desc-container .carte-road-desc-row{
    display: table-row;
}

.carte-road-desc-container .road-desc-detail{
    display: table-cell
}

.carte-road-desc-container .road-desc-color-code{
    width: 50px;
    line-height: 20px;
    height: 100%;
    border-radius: 5px;
    position: relative;
    vertical-align: middle;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}
.carte-road-desc-container .road-desc-color-code .road-desc-color-bg{
    position: relative;
    width: 100%;
    height: 15px;
    border-radius: 15px;
}

.carte-road-desc-container .road-desc-title{
    text-align: left;
    padding: 0 10px;
    height: 45px;
    vertical-align: middle;
}
.carte-road-desc-container .road-desc-title span{
    color: white;
}

.carte-road-desc-container .road-desc-info{
    color: white;
    vertical-align: middle;
    position: relative;
}

.carte-road-desc-container .road-desc-info i{
    background: #4e4e4e;
    padding: 6px 10px;
    border-radius: 100%;
}


.carte-road-desc-container .road-desc-info .road-desc-info-tooltip{
    position: absolute;
    min-width: 500px;
    max-width: 500px;
    z-index: 99999;
    color: white;
    background: rgba(0, 0, 0, 0.7);
    left: 40px;
    padding: 10px 20px;
    border-bottom-right-radius: 20px;
    border-top-right-radius: 20px;
    visibility: hidden;
}

.carte-road-desc-container .road-desc-info:hover .road-desc-info-tooltip{
    visibility: visible;
}

.filtre-routes.active{
    background: red;
}

.non-display-cart-interactive{
    display: none;
}

@media(max-width: 991px){
    .scroll-padding {
        width: calc(100% - 30px);
    }
}
