/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

   html,body{
     font-family: "Proxima Nova Rg",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol" !important;
     background-color:transparent!important;
     background-attachment: fixed !important;
     background-position: center !important;
     background-repeat: no-repeat !important;
     background-size: cover !important;
   }
   html>body,html>body._gmaps_cdv_{
     background-image: url(https://smgeag.omijo.app/img/water-4967843_960_720.jpg) !important;
   }
    iframe{
      background: url(/img/loading.gif) center center no-repeat;background-size: 40%;
    }
   .carousel-indicators .active{
     background-color:#007bff!important;
   }
   .carousel-indicators li{
     height:10px!important;
   }
   #map_canvas{
     min-height:200px;
   }
* {
    -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
}
html,body{
    width:100%;
    height:100%;
}
body {
    -webkit-touch-callout: none;                /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none;             /* prevent webkit from resizing text to fit */
/*    -webkit-user-select: none;*/

    margin:0px;
    padding:0px;

}
body{
  padding-top: calc(env(safe-area-inset-top) - 10px);
  bottom: constant(safe-area-inset-bottom); /* iOS 11.0 */
  bottom: env(safe-area-inset-bottom); /* iOS 11.2 */
}
#carouselExampleSlidesOnly .carousel-item:not(.carousel_map){
	padding-bottom: 80px;
}
.menu_sign{
  top:auto;
  bottom:55px;
}
.navbar-light,.carousel-item{
    background-color: #fff;
}
.navbar-brand{
    margin-right: 0;
}
.active.carousel_gps::after,.carousel-item-prev.carousel_gps::after{
    background-image: url("../img/chargement.jpg");
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    content: "";
    opacity: 0.5;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
}

/* Landscape layout (with min-width) */
@media screen and (min-aspect-ratio: 1/1) and (min-width:400px) {

}

@keyframes fade {
    from { opacity: 1.0; }
    50% { opacity: 0.4; }
    to { opacity: 1.0; }
}

@-webkit-keyframes fade {
    from { opacity: 1.0; }
    50% { opacity: 0.4; }
    to { opacity: 1.0; }
}

.blink {
    animation:fade 3000ms infinite;
    -webkit-animation:fade 3000ms infinite;
}


.screen-overlay {
  height: 100%;
  z-index: 30;
  position: fixed;
  top: 0;
  left: 0;
  opacity:0;
  visibility:hidden;
  background-color: rgba(34, 34, 34, 0.6);
  transition:opacity .2s linear, visibility .1s, width 1s ease-in;
}
.screen-overlay.show {
  transition:opacity .5s ease, width 0s;
  opacity:1;
  width:100%;
  visibility:visible;
}

.offcanvas{
  width:100%;
  visibility: hidden;
  transform:translateX(-100%);
  transition:all .2s;
  /* border-radius:20px; */
  box-shadow: 0 5px 10px rgba(0,0,0, .2);
  display:block;
  position: fixed;
  z-index: 1200;
  overflow-y: scroll;
  overflow-x: hidden;
}

.offcanvas.show{
  visibility: visible;
  transform: translateX(0);
  transition: transform .2s;
}
.offcanvas .btn-close {
    float:right;
}
#menu_general{
  top: 0;
  left: 0;
  height: 100%;
  background-color: #ffffff5e;
}
#detail_marqueur{
  height: 100vh;
  background-color: #ffffff;
}
/*img.fullscreen {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}*/
#circle0 {
  z-index:1051;
}
#circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 100vw;
  height: 100vh;
  max-width: 100vh;
  max-height: 100vw;
  background-image: url(../favicon.ico);
  background-position: center;
  background-size: 50% 50%;
  background-repeat: no-repeat;
  z-index:1021;
}

.loader {
  width: calc(100% - 0px);
height: calc(100% - 0px);
border: 8px solid #fff;
border-top: 8px solid #09f;
border-radius: 50%;
animation: rotate 5s linear infinite;
}

@keyframes rotate {
100% {transform: rotate(360deg);}
}
@keyframes fa-blink {
     0% { opacity: 0; }
     25% { opacity: 0.5; }
     50% { opacity: 1; }
     75% { opacity: 0.5; }
     100% { opacity: 0; }
 }
.fa-blink {
   -webkit-animation: fa-blink 2s linear infinite;
   -moz-animation: fa-blink 2s linear infinite;
   -ms-animation: fa-blink 2s linear infinite;
   -o-animation: fa-blink 2s linear infinite;
   animation: fa-blink 2s linear infinite;
}
.popover-title{
  line-height: 30px;
  height: auto;
  text-align: center;
}

      .screen-overlay {
        height: 100%;
        z-index: 1031;
        position: fixed;
        top: 0;
        left: 0;
        opacity:0;
        visibility:hidden;
        background-color: rgba(34, 34, 34, 0.7);
        transition:opacity .2s linear, visibility .1s, width 1s ease-in;
      }
      .screen-overlay.show {
        transition:opacity .5s ease, width 0s;
        opacity:1;
        width:100%;
        visibility:visible;
      }
.preview_photo_compteur{
  width:100%;
  height:auto;
}
.liste_coupures:empty{
  display:none;
}
.counter {
    position: relative;
    top: -15px;
    left: auto;
    z-index: 2;
    padding: 1px 7px;
    margin-left: -20px;
    font-size: 11px;
    color: #fff;
    background-color: #fe1212;
    border-radius: 10em;
    -webkit-box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
}
.lcpts *:not(.btn){
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.lcpts h1{
  font-size: 2.5rem;
  /* font-family: 'Montserrat'; */
  font-weight: normal;
  color: #444;
  text-align: center;
  margin: 2rem 0;
}

.lcpts .wrapper{
  width: 90%;
  margin: 0 auto;
  max-width: 80rem;
}

/*.lcpts .liste_compteurs{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}*/


.lcpts .container{
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-perspective: 1000px;
          perspective: 1000px;
}

.lcpts .front, .lcpts .back{
  background-size: cover;
  background-position: center;
  -webkit-transition: -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
  transition: -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
  -o-transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
  transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
  transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1), -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  text-align: center;
  /*min-height: 233px;*/
  height: 100%;
  border-radius: 0.25rem;
}

.lcpts .front{
  background-image: url(../img/compteur-deau.jpg);
}
.lcpts .back{
  color: #fff;
  background: #aad8fc;
  background: -webkit-linear-gradient(45deg,  #aad8fc 0%,#4883b2 100%);
  background: -o-linear-gradient(45deg,  #aad8fc 0%,#4883b2 100%);
  background: linear-gradient(45deg,  #aad8fc 0%,#4883b2 100%);
}

.lcpts .front:after{
  position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    content: '';
    display: block;
    opacity: .8;
    background-color: #fff;
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
}
.lcpts .compteur.hover .front,
.lcpts .compteur.hover .back{
    -webkit-transition: -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    -o-transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1), -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.lcpts .back{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.lcpts .inner{
    -webkit-transform: translateY(0%) translateZ(1px) scale(0.94);
            transform: translateY(0%) translateZ(1px) scale(0.94);
    /*top: 50%;
    position: absolute;
    left: 0;*/
    width: 100%;
    padding: 1rem;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    outline: 1px solid transparent;
    -webkit-perspective: inherit;
            perspective: inherit;
    z-index: 2;
    -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.lcpts .compteur .back{
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg);
    -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d;
}

.lcpts .compteur .front{
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg);
    -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d;
}

.lcpts .compteur.hover .back{
  -webkit-transform: rotateY(0deg);
          transform: rotateY(0deg);
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
}

.lcpts .compteur.hover .front{
  -webkit-transform: rotateY(-180deg);
          transform: rotateY(-180deg);
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
}

.lcpts .front .inner p{
  font-size: 1.5rem;
  position: relative;
}

/*flip card*/

.flip-card {
  background-color: transparent;
  width: 300px;
  height: 300px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.flip-card.hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-front {
  background-color: #bbb;
  color: black;
}

.flip-card-back {
  background-color: #2980b9;
  color: white;
  transform: rotateY(180deg);
}
/*fin flip card*/

#cps .carousel-inner{
	height:10vh;
}
#cps .carousel-inner.show{
	height:auto;
}

.offcanvas .btn-close .fas.fa-check::after{
	content :' Fermer';
  font-size: small;
	font-weight: normal;
}
