
/* Space out content a bit */
html {
    position: relative;
    min-height: 100%;
}
body {
  padding-top: 10px;
  margin-bottom: 80px;
}
.highcharts-series-label{
    cursor:pointer
}
.highcharts-annotation-label{
    cursor:pointer
}

.highcharts-series-label text{
    font-size: 10px!important;
}


a{
    cursor:pointer
}

/* Everything but the jumbotron gets side spacing for mobile first views */
.header,
.marketing,
.footer {
  padding-right: 15px;
  padding-left: 15px;
}

/* Custom page header */
.header {
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}
/* Make the masthead heading the same height as the navigation */
.header h3 {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 40px;
}

#btn-login, #btn-reset{
    background-color: #f6a800
}

#btn-login:hover, #btn-login:focus, #btn-login:active, #btn-reset:active, #btn-reset:hover, #btn-reset:focus{
    background-color: #e87e00
}

#questionnaire img:focus,a:focus{
    outline: none;   
}

/* Custom page footer */
.modal-footer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 60px;
    background-color: #fcfcfc;
}

.container-narrow > hr {
  margin: 30px 0;
}

/* Main marketing message and sign up button */
.jumbotron {
  text-align: center;
  border-bottom: 1px solid #e5e5e5;
}
.jumbotron .btn {
  padding: 14px 24px;
  font-size: 21px;
}

/* Supporting marketing content */
.marketing {
  margin: 40px 0;
}
.marketing p + h4 {
  margin-top: 28px;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
  /* Remove the padding we set earlier */
  .header,
  .marketing,
  .footer {
    padding-right: 0;
    padding-left: 0;
  }
  /* Space out the masthead */
  .header {
    margin-bottom: 30px;
  }
  /* Remove the bottom border on the jumbotron for visual effect */
  .jumbotron {
    border-bottom: 0;
  }
  .navbar-nav {
      float: none;
  }
}
@media only screen and (max-width: 992px) {
    #chart{
        height: 200px;
    }
}
@media only screen and (min-width: 992px) {
    #chart{
        height: 300px;
    }
}

@media only screen and (max-width: 992px) {
    #chart_pv{
        height: 280px;
    }
}
@media only screen and (min-width: 992px) {
    #chart_pv{
        height: 300px;
    }
}





/* ***********************************

AJOUTÉ PAR THIBAULT

 ************************************ */


.navbar {
    min-height: 0;
    background: transparent;
}

@media screen and (max-width: 991px) {
    .navbar {
        background: transparent!important;
    }
}

.navbar {
    background: #f6a800;
    min-height: 0;
}

.navbar-header{
    background: #f6a800;
}

.logo-sig {
}
.img-responsive {
    max-width: 100%;
    margin-bottom: 10px;
}

/*.logo-wattspirit{
    min-width: 170px;
}*/

div.titre-rubrique {
    display:flex;
    margin-left: auto;
    align-items: flex-end;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 5px;
    color: #F3B161;
    cursor: default;
    margin-bottom: 5px;
    overflow: hidden;
}

div.login-display {
    display: flex;
    /*margin-left: auto;*/
    align-items: flex-end;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 5px;
    color: #F3B161;
    cursor:default;
    margin-bottom: 5px;
}

/* MENU PRINCIPAL EN HAUT DE PAGE */
#bouton-menu {
    float: left;
    margin-bottom: 0;
    margin-top: 10px;
    border: 0;
    background:#e87e00;
}

#bouton-menu.collapsed {
    background:transparent;
}
#bouton-menu:hover, #bouton-menu:active {
     background:#e87e00;
    
}
.icon-bar {
    background-color: #fff!important;
}
.menu-principal{
    margin-left: 50px;
}
.menu-principal li {
    margin-right: 2%;
}
@media screen and (max-width: 1200px) {
    .menu-principal li {
        margin-right: 0%;
    }
}
.menu-principal li a {
    color: white!important;
    border-radius: 0;
}
/* Gestion des padding différents selon qu'on soit sur tablette (le texte
    s'affiche dans le bouton) ou sur téléphone portable */
/* Tablette */
@media screen and (max-width: 1200px) {
    .menu-principal li a {
        /*padding: 10px 10px;*/
        /*padding: 10px;*/
    }
}
/* Téléphone */
@media screen and (max-width: 768px) {
    .menu-principal li a {
        /*padding: 10px 3px;*/
        /*padding: 10px;*/
    }
}

/* Téléphone */
@media screen and (max-width: 400px) {
    .img-navbar {
        width:1.7em;
        
    }
    .navbar-nav>li>a{
        padding:4px;
    }
}

@media screen and (max-width: 341px) {
    .date-pick, .btn-tuto{
        margin-top:40px;
    }
}

/* Téléphone */
@media screen and (max-width: 560px) {
    
    .date-pick{
        width:75%;
        margin-left: 5%;
    }
    .navbar-nav>li>a{
        padding:7px;
    }
}

.menu-principal li a:hover {
    color: white;
    background-color: transparent;
}
.menu-principal li.active a {
    background-color: #e87e00;
}
.menu-principal li.active a:hover {
    background-color: #e87e00;
}
.menu-principal li div {
    display: inline;
}

.logo-sig{
    position: fixed;
    z-index: 1030;
    right: 0;
    left: 0;   
    border-radius: 0;
    top: 0px;
    border-width: 0 0 1px;
    background-color: white;
}
.navbar-fixed-top{
    top:60px;
}
.img-responsive{
    margin-top:5px;
    max-height:50px
}
.container-all{
    margin-top:120px;
}
@media (max-width: 991.8px) {
    .menu-principal{
        max-width:200px;
        margin: 7.5px 0px!important;
    } 
    .collapse, .collapsing{
        max-width:200px;
        background: #f6a800;
    }
}
@media (max-width: 992px) {
    .img-responsive{
        margin-top:5px;
        max-height:30px
    }
    .navbar-fixed-top{
        top:40px;
    }
    .container-all{
        margin-top:90px;
    }
    
    #bouton-menu{
        margin-left:5px
    }
    .logo-sig{
        min-height:40px;
    }
}
/* FILTRE */
.menu-filtre {
    margin-bottom: 2%;
}
.menu-filtre a span {
    background-color: #ccc;
}

.menu-filtre a.active span {
    background-color: #e87e00;
}

/* MENU DEPECHES */
.navbar-collapse {
    padding: 0;
}

.menu-liste-depeches {
    margin-bottom: 60px;
}

.menu-liste-depeches li {
    margin-top: 2px;
    background-color: #f5f5f5;
    color: #666;
    border: 0;
    overflow: auto;
}
.menu-liste-depeches li .liste-depeches-numero {
    color: #999;
    font-size: 0.8em;
}
.menu-liste-depeches li .liste-depeches-date {
    color: #999;
    text-align: right;
    font-size: 0.8em;
}

.menu-liste-depeches li.active {
    background-color: #ececec;
}
.menu-liste-depeches li.active:hover {
    background-color: #ececec;
}


/* CONTENU DEPECHE */
div.contenu-depeche {
}
div.contenu-depeche-texte {
    padding: 2% 6%;
    margin: 2% 0 5% 0;
    background-color: #f5f5f5;
}
div.contenu-depeche-texte div.depeche-date {
    color: #666;
    font-size: 0.8em;
}
div.contenu-depeche-texte div.depeche-numero {
    color: #666;
    font-size: 0.8em;
    text-align: right;
}
div.contenu-depeche h2 {
    font-weight: bold;
    margin-bottom: 6%;
    margin-top: 2%;
    font-size: 1.3em;
}
@media screen and (max-width: 600px) {
    div.contenu-depeche div.graphique {
        height: 150px;
    }
}

div.contenu-depeche-texte p {
    margin-top: 2%;
    color: #333;
}

p { white-space: pre-wrap;       /* Since CSS 2.1 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */}

#navbar{
    max-height:600px;
}

/* ATTENTION ceci permet au menu tips de collapse correctement (si on change les col-md il faut changer la valeur ici aussi) */
@media (max-width: 991px) {
    .navbar-collapse.collapse.in { display: block!important; }
    .navbar-header {
        float: none;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin: 0px -15px;
    }
    #onlyIcone>li {
        float: none!important;
    }
    .navbar-nav>li {
        float: left;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .navbar-text {
        float: none;
        margin: 15px 0;
    }
    /* since 3.1.0 */
    .navbar-collapse.collapse.in {
        display: block!important;
    }
    .collapsing {
        overflow: hidden!important;
    }
}
@media (max-width: 768px) {
    .navbar-collapse.collapse.in { display: block!important; }
    .navbar-header {
        float: none;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
        overflow-x: hidden;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin: 0px -15px;
    }
    #onlyIcone>li {
        float: none!important;
    }
    .navbar-nav>li {
        float: left;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .navbar-text {
        float: none;
        margin: 15px 0;
    }
    /* since 3.1.0 */
    .navbar-collapse.collapse.in {
        display: block!important;
    }
    .collapsing {
        overflow: hidden! important;
        /*overflow-x:hidden;*/
    }
}

#menu_tips{
    overflow: scroll;
    overflow-y: auto;
    /*overflow-y: hidden;*/
    overflow-x: hidden;
    max-height: 70vh;
    padding-right:2px;
}
::-webkit-scrollbar {
    /*width: 0px;*/
    /*background: transparent; /* make scrollbar transparent */
}

ol > li {
    background-color : orange!important;
}

.background_login{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    background-size: cover;
    z-index: 0;
}

.login_error{
    margin-top:5px;
    background-color:red!important;
    border:1px solid white;
    color:white!important;
}

#login_title{
    color:white;
    text-align:center;
}
#login_title h1 {
    font-size: .75em;
    color: white;
}

.loading{
    font-size:20px;
    margin-top:10px;
    text-align:center;
}

.glyphicon-refresh-animate {
    -animation: spin .7s infinite linear;
    -webkit-animation: spin2 .7s infinite linear;
}

@-webkit-keyframes spin2 {
    from { -webkit-transform: rotate(0deg);}
    to { -webkit-transform: rotate(360deg);}
}

@keyframes spin {
    from { transform: scale(1) rotate(0deg);}
    to { transform: scale(1) rotate(360deg);}
}

.alert-info{
    text-align:center;
}

.graphique{
    height:300px;
}

h1{
    color: orange;
    font-weight: bold;
    font-size: 1.5em;
    margin-bottom: 25px;
    margin-top: 10px;
/*    text-align : center;*/
}

/* PAGE TEMPS REEL */
#countdown{
    display: block;
    line-height: 2em;
    font-size: 1em;
    text-align: center;
    color: #333;
    margin-bottom: 2%;
}
@media (max-width: 760px) {
    #countdown {
        font-size: 0.8em;
    }
}
#countdown .texte-fixe {
}
#countdown .countdown-jours,
#countdown .countdown-heures,
#countdown .countdown-minutes,
#countdown .countdown-secondes {
    font-size: 1.3em;
    font-weight: bold;
    color: #000;
}
/*.square {
    width: 40vw;
    height: 40vw;
}*/

/* PAGE MOSAIQUE */
.btn-nav-mosaique {
    height: 40px;
    width: 40px;
    text-align: center;
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.42;
    border-radius: 20px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
}

.flatpickr-day.disabled{
    color : white
}

.flatpickr-day.selected_range{
    background: #e6e6e6;
    border-color: #e6e6e6;
}

.nav-pills>li.active>a, .nav-pills>li.active>a:hover, .nav-pills>li.active>a:focus {
    background-color: #e87e00;
}
.navbar-nav>li.active>a, .navbar-nav>li.active>a:hover, .navbar-nav>li.active>a:focus {
    background-color: #e87e00!important;
    color: white!important;
}


.margin-xs { margin: .25em; }
.margin-sm { margin: .5em; }
.margin-md { margin: 1em; }
.margin-lg { margin: 1.5em; }
.margin-xl { margin: 3em; }

.margin-x-xs { margin: .25em 0; }
.margin-x-sm { margin: .5em 0; }
.margin-x-md { margin: 1em 0; }
.margin-x-lg { margin: 1.5em 0; }
.margin-x-xl { margin: 3em 0; }

.margin-y-xs { margin: 0 .25em; }
.margin-y-sm { margin: 0 .5em; }
.margin-y-md { margin: 0 1em; }
.margin-y-lg { margin: 0 1.5em; }
.margin-y-xl { margin: 0 3em; }

.margin-top-xs { margin-top: .25em; }
.margin-top-sm { margin-top: .5em; }
.margin-top-md { margin-top: 1em; }
.margin-top-lg { margin-top: 1.5em; }
.margin-top-xl { margin-top: 3em; }

.margin-right-xs { margin-right: .25em; }
.margin-right-sm { margin-right: .5em; }
.margin-right-md { margin-right: 1em; }
.margin-right-lg { margin-right: 1.5em; }
.margin-right-xl { margin-right: 3em; }

.margin-bottom-xs { margin-bottom: .25em; }
.margin-bottom-sm { margin-bottom: .5em; }
.margin-bottom-md { margin-bottom: 1em; }
.margin-bottom-lg { margin-bottom: 1.5em; }
.margin-bottom-xl { margin-bottom: 3em; }

.margin-left-xs { margin-left: .25em; }
.margin-left-sm { margin-left: .5em; }
.margin-left-md { margin-left: 1em; }
.margin-left-lg { margin-left: 1.5em; }
.margin-left-xl { margin-left: 3em; }


/* PAGE BLOCKS */
.btn-outline-info { border: solid 1px #17a2b8; }
.btn-outline-success { border: solid 1px #28a745; }
.btn-outline-danger { border: solid 1px #dc3545; }

.padding-y-xs { padding-top: .25em; padding-bottom: .25em;}
.padding-top-xs { padding-top: .25em; }
.padding-bottom-xs { padding-top: .25em; }

.panel-device > .panel-heading { padding: 5px 15px;}
    .panel-device .panel-heading .row .form .form-group { margin-bottom: .25em; padding-left: 5px; padding-right: 5px;}
.panel-block > .panel-heading { padding: 5px 15px;}
    .panel-block .panel-heading .row .form .form-group { margin-bottom: .25em; padding-left: 7px; padding-right: 7px;}
    .panel-block .panel-heading .row .form .form-group .btn { padding: 7px;}
    .panel-block .panel-body { padding: 5px; }
    .block-infos, .block-infos > div { padding: .2em .3em; }
    
@media only screen and (max-width: 768px) {
    .panel-device { margin: 0 0; padding: 0 0;}
    .panel-device .panel-body, .panel-block .panel-body { padding: 5px 5px; }
    .panel-block { margin: 0 0; padding: 0 0;}
    .col-sm-8 { padding: 7px;}
}

.device-green {border: solid 1px #218380;}
.device-green .panel-heading, .device-green.panel-default {background-color:	rgb(33, 131, 128, 0.5);}
.device-blue {border: solid 1px #1c7293;}
.device-blue .panel-heading, .device-blue.panel-default {background-color:rgb(28, 114, 147, 0.5);}
.device-orange {border: solid 1px #ee8434;}
.device-orange .panel-heading, .device-orange.panel-default {background-color:rgb(238, 132, 52, 0.5);}
.device-brown {border: solid 1px #bca371;}
.device-brown .panel-heading, .device-brown.panel-default {background-color:rgb(188, 163, 113, 0.5);}
.device-red {border: solid 1px #c97064;}
.device-red .panel-heading, .device-red.panel-default {background-color:rgb(201, 112, 100, 0.5);}
.device-pink {border: solid 1px #fe8ab3;}
.device-pink .panel-heading, .device-pink.panel-default {background-color:rgb(254, 138, 179, 0.5);}
.device-purple {border: solid 1px #beb7df;}
.device-purple .panel-heading, .device-purple.panel-default {background-color:rgb(190, 183, 223, 0.5);}
.device-green-light {border: solid 1px #b4c292;}
.device-green-light .panel-heading, .device-green-light.panel-default {background-color:rgb(180, 194, 146, 0.5);}

.btn-wattspirit-block { }
@media only screen and (max-width: 768px) {
    .btn-wattspirit-block { padding: 3px 8px; font-size: 20px; margin-bottom: .25rem;}
}
@media only screen and (min-width: 769px) {
    .btn-wattspirit-block { padding: 3px 8px; font-size: 20px; margin-bottom: .5rem;}
}

.btn-success {border: 0}

.btn-bleu, .btn-bleu:hover {
    color: #3A69FB;
    background-color: #ebf0ff;
}
.btn-bleu-selected, .btn-bleu-selected:focus, .btn-bleu-selected:active, .btn-bleu-selected:hover {
    color: #fff;
    background-color: #3A69FB;
}
.btn-rouge, .btn-rouge:hover , .btn-rouge:focus {
    color: red;
}
.btn-rouge-selected, .btn-rouge-selected:focus, .btn-rouge-selected:active, .btn-rouge-selected:hover {
    color: #fff;
    background-color: red;
}
button.sticky {
  position: fixed;
  top: 1;
}
/*#fixed-list ul {
    list-style-type:none;
    margin-top: 2px;
}*/
/*#fixed-list li {*/
    /*border:1px solid black;*/
    /*display:inline-block;*/
    /*width:80px;*/
/*}*/
#fixed-list li:first-child {
    position: fixed;
    margin-top: -25px;
    /*background-color: white;*/
}
/*#fixed-list li:nth-child(2) {
    position: fixed;
    margin-top: -15px;
    background-color: white;
}*/
@media only screen and (max-width: 992px) {
    .liste-toggle{
        position: absolute;
    }
    .overlay {
        display: block;
        /*position: fixed;*/
        /* full screen */
    /*    width: 100vw;
        height: 100vh;*/
        /* transparent black */
        /*background: rgba(0, 0, 0, 0.7);*/
        /* middle layer, i.e. appears below the sidebar */
    /*    z-index: 998;*/
        opacity: 0.25;
        margin-left: 16.66666667%;
        width: 84%;
        /* animate the transition */
        /*transition: all 0.5s ease-in-out;*/
    }
}

/*.modal.and.carousel {
  position: fixed;
}*/
.img-tuto{
    /*max-height: 689px !important;*/
    height: 85vh !important;
    margin-left: auto; 
    margin-right: auto
}

@media only screen and (max-width: 768px) {
    .modal-body { padding: 0px; 
    padding-bottom: 35px;
    margin-left: auto;
    margin-right: auto}
}
@media only screen and (min-width: 768px) {
    .modal-body { padding: 0px; 
    padding-bottom: 20px;
    margin-left: auto;
    margin-right: auto}
}
/*.modal-body{
    padding: 0px; 
    padding-bottom: 30px;
    margin-left: auto;
    margin-right: auto
}*/
/*.carousel-indicators{
    line-height: 0.1
}*/
@media only screen and (max-width: 572px) {
    .carousel-indicators { line-height: 0.5;}
}
/*@media only screen and (min-width: 572px) and (max-width: 768) {
    .carousel-indicators { line-height: normal;}
}*/
@media only screen and (min-width: 572px) {
    .carousel-indicators { line-height: normal;}
}
/*@media only screen and (min-width: 572px) {
    .btn-wattspirit-block { padding: 3px 8px; font-size: 20px; margin-bottom: .5rem;}
}*/

.carousel-control.left{
    background-image: none
}
.carousel-control.left:hover{
    background-image: linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);
}

.carousel-control.right{
    background-image: none
}
.carousel-control.right:hover{
    background-image: linear-gradient(to left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);
}

.img-weather{
    max-width:100px;
}

@media (min-width: 768px){
    .navbar-nav>li>a {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.popover{
    max-width:700px;
    
    color:black;
}

.img_popover{
    max-width:300px;
    
}

.popover_asec{
    left:0px!important;
}

.input_no_margin{
    margin-top:0px!important;
}
