html,
body {
    min-height: 100%;
    margin: 0;
    touch-action: manipulation;
}

*:fullscreen,
*:-webkit-full-screen,
*:-moz-full-screen {
    background-color: rgba(255, 255, 255, 0);
}

/*
@media screen and (min-width: 320px) and (max-width: 767px) and (orientation: landscape) {
  html {
    transform: rotate(-90deg);
    transform-origin: left top;
    width: 100vh;
    overflow-x: hidden;
    position: absolute;
    top: 100%;
    left: 0;
  }
}
*/

@viewport {
    orientation: portrait;
}

*:not(input):not(textarea) {
  -webkit-user-select: none; /* disable selection/Copy of UIWebView */
  -webkit-touch-callout: none; /* disable the IOS popup when long-press on a link */
}       

.data-cloak {
    display: none;
}

.custom-file-input:lang(en)~.custom-file-label::after {
    content: "Parcourir";
}

a ,a:link,  a:visited, a:active, a:hover {
    color: snow;
}


body {
/*    width: 100%;*/
/*    padding-top: 5vh;*/
/*    margin: 0;*/
/*    padding-bottom:  40vh;*/
    width: 100%;
    margin: 0;
    padding-top: 5vh;
    background-color: white;
    min-height: 100%;
    font-family: 'Roboto Condensed', sans-serif;
    color: snow;
    background: linear-gradient(#11295f, #01b5ae);
    background-repeat: no-repeat;
}



select {
    -webkit-appearance: none;
    -moz-appearance: none;
    text-overflow: ellipsis;
}

select option {
    background-color: cadetblue;
}

.layer {
    position: absolute;
    height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.7);
}

.layer p {
    margin-top: 40%;
}

.layer button {
    width: 100px;
}

.terminal {
    background-color: black;
    color: greenyellow;
}

.main-display {

    margin-top: 0;
    margin-left: 3%;
    margin-right: 3%;

}

.main-page {
    margin: 0;
    padding-top: 20%;
    padding-bottom: 20%;
    padding-left: 0%;
    padding-right: 0%;
    width: 100%;
    height: 100%;
    background-image: url('../img/BPS_Anim%2003d2_7zip.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 110%;

}

.change_button {
    background: url('../img/change-user.png');
    background-position: 0px 0px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    border: none;
    padding-left: 10%;
    padding-bottom: 10%;
/*    color: #000;*/
    position: absolute;
    left: 75%;
    top: 15px;
    z-index: 0;
/*    visibility: hidden;*/
}

.carousel {
    height: 95vh;
}

.carousel-item {
    padding-bottom: 20%;
/*    min-height:  1000px;*/
}

.hide {
    visibility: hidden;
}

.invisible {
    display: none;

}

.disabledDIV {
    pointer-events: none;
    opacity: 0.4;
}

.border {
    padding: 3%;
    margin: 2px;
}

.border.sys_active[src] {
    background-color: #02a8b8;
}

.spacer {
    position: relative;
    height: 50%;
}

.mini_led {
    background-color: red;
}


.red_led {
    background-color: red;
    margin: 15%;
    width: 30px;
    height: 30px;
    border-radius: 15px;
}

.orange_led {
    background-color: #ffa300;
    margin: 15%;
    width: 30px;
    height: 30px;
    border-radius: 15px;
}

.consum {
    margin-left: 15%;
    margin-right: 15%;
}

.green_led {
    background-color: #03ff9e;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    margin: 15%;
}

.blink_led {
    background-color: #d0d0d0;
    animation: blinker 400ms linear infinite;
}

.led {
    /* background-color: #03FF9E; */
    margin-top: 150%;
    width: 15px;
    height: 15px;
    border-radius: 10px;
    /*
    margin-top: 120%;*/
    /*    margin-left: 45%;*/
}

/*
.customProgress > div {
    display: inline-block;
    margin-left: 0px;
    background-color: #03ff9e;
    width: 7px;
    height: 7px;
    border-radius: 6px;
    
}
*/

.status_point_blink {
    display: inline-block;
    margin-left: 0px;
    width: 7px;
    height: 7px;
    border-radius: 6px;
    background-color: #d0d0d0;
    animation: blinker 1s linear infinite;
}

.status_point_green {
    display: inline-block;
    margin-left: 0px;
    background-color: #03ff9e;
    width: 7px;
    height: 7px;
    border-radius: 6px;
}

.status_point_orange {
    display: inline-block;
    margin-left: 0px;
    background-color: #ffa300;
    width: 7px;
    height: 7px;
    border-radius: 6px;
}

.status_point_red {
    display: inline-block;
    margin-left: 0px;
    background-color: red;
    width: 7px;
    height: 7px;
    border-radius: 6px;
}

.carousel-indicators {

/*    position: fixed;*/
}

.custom-control-input:checked ~ .custom-control-label::before {
  color: #fff;
  background-color: #dee2e6;
}

.custom-control-input:focus ~ .custom-control-label::before {
  box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.custom-control-input:active ~ .custom-control-label::before {
  color: #fff;
  background-color: #b3d7ff;
}

.custom-control-input:disabled ~ .custom-control-label {
  color: #6c757d;
}

.custom-control-input:disabled ~ .custom-control-label::before {
  background-color: #e9ecef;
}

.custom-control-label::before {
  position: absolute;
  top: 0.25rem;
  left: 0;
  display: block;
  width: 1rem;
  height: 1rem;
  pointer-events: none;
  content: "";
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent;
}



p {
    -webkit-touch-callout: default;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.carousel-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 6px;
    background: none;
    border-color: white;
    border-width: thin;
    margin-left: 9%;
    margin-right: 9%;
    border: solid;

}

.container-fluid {
    padding-bottom: 0%;
}

.indicator-text {
    height: 20%;
    margin-bottom: 2px;
}


.indicator {
    width: 35%;
    height: 5px;
    border-radius: 1px;
    /*    margin-left: 40%;*/
    /*
    margin-left: 28%;
    margin-right: 20%;
*/
    background: none;

}

.indicator.sys_active {
    background-color: #03FF9E;
}

.indicator.sys_active.blink {
    background-color: #d0d0d0;
    animation: blinker 400ms linear infinite;
}

.indicator.blink {
    background-color: #d0d0d0;
    animation: blinker 400ms linear infinite;
    /*    opacity: 0;*/
}

.store_button {
    margin-top: 30%;
}

.input-group {
    border: solid;
    border-style: ridge;
    align-items: center
    
}

.input-grp-large {
    border: none;
    min-width: 60%; 
   
}

.input-grp-right {
    border: solid;
    border-style: ridge;
/*    border-radius: 25%;*/
    border-right: none;
    border-top: none;
    border-bottom: none;
}

.input-grp-left {
    margin-right: 30%;
/*    margin-left: 30%;*/
    border: solid;
    border-style: ridge;
/*    border-radius: 25%;*/
    border-left: none;
    border-top: none;
    border-bottom: none;
}

.input-grp-middle {
    border: none;
}

/*
.input-group-append {
    padding-left: %;
}
*/

.outline-light {
    color: #f8f9fa;
    background-color: transparent;
    text-align: center;
    
}

.outline-light:hover{
     color: #f8f9fa;
    background-color: transparent;
}


.btn-outline-light:hover{
    color: #f8f9fa;
    background-color: transparent;
}

.btn:focus, .btn:hover {
    
}

.rounded_btn {
    border-radius: 25px;
}

.router {
    background: url('../img/Button_Router.svg') no-repeat;
    background-size: 100% auto;
    height: 100%;
    padding-bottom: 10%;
}

.level {
    background: url('../img/Button_Water%20level.svg') no-repeat;
    background-size: 100% auto;
    height: 100%;
    padding-bottom: 20%;
}

.filter {
    background: url('../img/Button_Filter.svg') no-repeat;
    background-size: 100% auto;
    height: 100%;
    padding-bottom: 20%;
    /*    padding-bottom: 100%;*/
    /*    padding-bottom: 50%;*/
}

.qrcode {
    padding-top: 5%;
}

#flashcode {
    padding-top: 8%;
    padding-bottom: 8%;
    margin-left: 3%;
    margin-right: 3%;
    background-color: #13235B;
    border-radius: 25px;

}

.sensor {
    background-repeat: no-repeat;
    background-size: 100% auto;
    height: 100%;
    padding-bottom: 10%;;
    
}

.uv {
    background-image: url('../img/Button_UV.svg');
    
}

.press {
    background-image: url('../img/Button_Filter.svg');
    
}


.liquids {
    background-image: url('../img/Button_Liquids.svg');
}

.levels {
    margin-top: 10%;
    margin-left: 5%;
    margin-right: 5%;
    /*    padding-bottom: 30%;*/
}

.cockpit {
    margin-left: 10%;
    margin-right: 10%;
    /*    padding-top: 5%;*/
}

span.pull-right {
    padding-left: 60%;
}

.vcenter {
    display: inline;
    vertical-align: top;
    float: none;
}

/* The switch - the box around the slider */

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.hidden {
    display: none;
}

.modal {
    text-align: center;
}

.modal-body {
    max-height: 100%;
}


/*.modal-dialog,*/

.modal-content {
    background-color: #02a8b8;
    padding-top: 10%;
    padding-bottom: 10%;
    /*    height: 80%*/
}

#svg {
    height: 30vh;
}

/*
.modal-blue {
    background-color: #02a8b8;
}
*/

.modal:before {
    display: inline-block;
    vertical-align: middle;
    content: " ";
    height: 100%;
}


.modal-dialog {
    /*    height: 80%;*/
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    width: 90%;
}

/* Hide default HTML checkbox */

.switch input {
    display: none;
}

.radio {
    height: 45px;
    width: 26px;
    margin: 2%;
    border: solid;
    border-width: 2px;
    background-color: rgba(0, 0, 0, 0.1);
}

/* The slider */

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    border: solid;
    border-width: 2px;
    background-color: rgba(0, 0, 0, 0.1);
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {

    background-color: whitesmoke;

}


input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.cockpit .indicator {
    margin-top: 0px;
}

.favorites {
    margin-left: 7%;
    margin-right: 7%;
    padding-top: 15%;
    padding-bottom: 0%;

}

.well {
    background: url('../img/bg2.png');
    background-size: auto 100%;
}

.top-buffer {
    margin-top: 60px;
}

.med-buffer {
    margin-top: 30px;
}

.btn-left {
    background-color: #4da2ff;
    width: 100px;
}

input[type=range][orient=vertical] {
    writing-mode: bt-lr /* IE */
    -webkit-appearance: slider-vertical;  /* WebKit */
    width: 20px;
    height: 300px;
    padding: 5px;
}

.hover_group:hover {
    opacity: 0;
}

#projectsvg {
    position: relative;
    width: 100%;
    padding-bottom: 77%;
    vertical-align: middle;
    margin: 0;
    overflow: hidden;
}

#projectsvg svg {
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
}

.btn-set {
    background: url('../img/settings.png') #f2f2f2;
    background-repeat: no-repeat;
    background-size: 70% 70%;
    background-position: 15px 7px;
    height: 40px;
    color: #000;
}

.up_btn {
    background: url('../img/arrow-up.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding-left: 70px;
    padding-bottom: 70px;
    color: #000;
}

.up_btn:hover {
    background: url('../img/arrow-up.png') #e0e0e0;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding-left: 70px;
    padding-bottom: 70px;
    color: #000;
}

.stop_btn {
    background: url('../img/stop.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding-left: 70px;
    padding-bottom: 70px;
    color: #000;
}

.stop_btn:hover {
    background: url('../img/stop.png') #e0e0e0;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding-left: 70px;
    padding-bottom: 70px;
    color: #000;
}

.down_btn {
    background: url('../img/arrow-down.png');
    /*#background-position: -9px -7px;*/
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding-left: 70px;
    padding-bottom: 70px;
    color: #000;
}

.down_btn:hover {
    background: url('../img/arrow-down.png') #e0e0e0;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding-left: 70px;
    padding-bottom: 70px;
    color: #000;
}

.form-signin {
    max-width: 60%;
    padding: 15px;
    margin: 0 auto;
}

.form-signin .form-signin-heading,
.form-signin .checkbox {
    margin-bottom: 10px;
}

.form-signin .checkbox {
    font-weight: normal;
}

.form-signin .form-control {
    position: relative;
    height: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
}

.form-signin .form-control:focus {
    z-index: 2;
}

.form-signin input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

/*
.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
*/

#pass-grp {
    border: none;
    background-color: snow;
    border-radius: 5px;
    margin-bottom: 5%;
}

@font-face {
    font-family: 'BrunoAce-Regular';
    src: url('../fonts/BrunoAce-Regular.eot');
    src: url('../fonts/BrunoAce-Regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/BrunoAce-Regular.woff') format('woff'),
    url('../fonts/BrunoAce-Regular.ttf') format('truetype'),
    url('../fonts/BrunoAce-Regular.svg#BrunoAce-Regular') format('svg');
}

@font-face {
      font-family: 'wifi_signal';
      src: url('../webfonts/wifi_signal.eot?92897467');
      src: url('../webfonts/wifi_signal.eot?92897467#iefix') format('embedded-opentype'),
           url('../webfonts/wifi_signal.woff?92897467') format('woff'),
           url('../webfonts/wifi_signal.ttf?92897467') format('truetype'),
           url('../webfonts/wifi_signal.svg?92897467#wifi_signal') format('svg');
      font-weight: normal;
      font-style: normal;
    }
     
     
.wifi-icon
{
  font-family: "wifi_signal";
  font-style: normal;
  min-width: 55%;
  font-weight: normal;
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */

  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;

  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;

  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;   

  /* You can be more comfortable with increased icons size */
  font-size: 150%;

  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: grayscale;

  /* Uncomment for 3D effect */
  text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); 
}

.fontpro,
.fontpro-35264 {
    font-family: 'BrunoAce-Regular', sans-serif;
}

.service {
    padding: 0;
    touch-action: none;
}

.iconeService {
    max-width: 50px;
    max-height: 50px;
    touch-action: none;

}

#layerLoader {
    visibility: hidden;
    position: absolute;
    height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;
    z-index: 1;
}

/*
#layeroffline {
    position: absolute;
    height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: rgba(0,0,0,0.6);
}
*/

#layer,
#layeroffline {
    visibility: hidden;
    position: absolute;
    height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.6);
}

#layerPower {
    visibility: hidden;
    position: absolute;
    height: 30vh;
    width: 80vw;
    top: 20vh;
    left: 10vw;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.9);
    border-radius: 15px;
}

#layer p {
    margin-top: 40%;
}

#layer button {
    width: 100px;
}

/* Safari */

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#loader {
    visibility: visible;
    position: fixed;
    left: 40%;
    top: 40%;
    border: 6px solid #f3f3f3;
    border-radius: 50%;
    border-top: 6px solid #3498db;
    width: 60px;
    height: 60px;
    -webkit-animation: spin 2s linear infinite;
    /* Safari */
    animation: spin 2s linear infinite;
    z-index: 1;
}

/* fadeIn: Animation de transition entre les diapos (passe de transparent à opaque, puis redevient transparent) */

.fadeIn {
    animation: fadeIn 5s;
}

@keyframes fadeIn {
    0% {
        opacity: 0
    }
    25% {
        opacity: 1
    }
    75% {
        opacity: 1
    }
    100% {
        opacity: 0
    }
}

.mySlides {
   /* overflow: hidden;*/
    position: absolute;
    white-space: nowrap;
}

.mySlides h6 {
    overflow: visible;
    position: absolute;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.customProgress {
    position: relative;
    top: 20px;
}


/*
@media screen and (min-width: 768px) {
  .row-eq-height, .row-eq-height > div[class*='col-'] {  
      display: -webkit-box;
      display: box;
      display: -ms-flexbox;
      display: -webkit-flex;
      display: flex;
      flex:1 0 auto;
  }
}*/

.tab {
    overflow: hidden;
    border-bottom: 1px solid #ccc;
}

/* Style the buttons inside the tab */

.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 5px 5px;
    transition: 0.3s;
    font-size: 15px;
    color: white;
}

/* Create an active/current tablink class */

.tab button.active {
    border: 1px solid #ccc;
    border-bottom: none;
}

/* Style the tab content */

.tabcontent {
    display: none;
}

#prise1 {
    display: none;
}
