html, body {height: 100%;overflow: hidden;}

h5 {
  color: #e60012;
  display: flex;
  justify-content: center;
}     

#page {
      height: 100%;
      padding: 0px;
      }

    #titre {
      margin: 10px;
      height: 7.5em;
      background: no-repeat center url('../img/logo2.jpg') !important;
      background-position: center; /* Center the image */
    }


    #map {
      width: auto;
      height: 100%;
      padding: 0px;
      overflow:hidden;
      box-shadow: 0 0 10px rgba(0,0,0,0.5);
      background-color: white;
      }

      #sidebar {
        overflow: auto;
        height:auto;
        width:auto;
        position: relative;
        float:left;
        top: 10px;
        left: 10px;
        padding: 5px 10px 20px 10px;
        background: white;
        /*position: absolute;*/
        min-width: 350px;
        z-index: 999;
        box-shadow: 10px 10px 5px #a79d9f;
        border-radius: 5px;
        }

        .sidebar-wrapper {
         width: 100%;
          height: 100%;
          position: relative;
        }
        .sidebar-table {
          position: absolute;
          width: 100%;
          top: 220px;
          /*bottom: -100px;*/
          overflow: auto;
        }

        .table {
          margin-bottom: 0px;
        }

        #layers {
          margin :10px;
        }

        #layersfermes {
          margin :10px;
        }

        #baselayer {
          margin-left: 100px;
        }

        #features {
          margin: 0px;
          border: none;
          border-radius: 0px;
          -webkit-box-shadow: none;
            box-shadow: none;
        }

        .typeahead {
          background-color: #FFFFFF;
        }
        .tt-dropdown-menu {
          background-color: #FFFFFF;
          border: 1px solid rgba(0, 0, 0, 0.2);
          border-radius: 4px 4px 4px 4px;
          box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
          margin-top: 4px;
          padding: 4px 0;
          width: 100%;
          max-height: 300px;
          overflow: auto;
        }
        .tt-suggestion {
          font-size: 14px;
          line-height: 20px;
          padding: 3px 10px;
        }
        .tt-suggestion.tt-cursor {
          background-color: #0097CF;
          color: #FFFFFF;
          cursor: pointer;
        }
        .tt-suggestion p {
          margin: 0;
        }
        .tt-suggestion + .tt-suggestion {
          border-top: 1px solid #ccc;
        }
        .typeahead-header {
          margin: 0 5px 5px 5px;
          padding: 3px 0;
          border-bottom: 2px solid #333;
        }
        .has-feedback .form-control-feedback {
          position: absolute;
          top: 0;
          right: 0;
          display: block;
          width: 34px;
          height: 34px;
          line-height: 34px;
          text-align: center;
        }

    .buttonSidebar{
      border-color:#ca1f1d;
      color: #5b5f6b;
      background-color: #ffffff;
    }

    #btnSidebarOverlays {
      width: 42px;
      height: 42px;
      border-radius: 5px;
      margin-top: 10px;
      margin-left: 15px;
      margin-right: 3px;
      border-width: 1.5px;
      border-color: #5b5f6b;
      z-index: 3000;
    }

    .ongletSidebar {
      position: relative;
      float: left;
      z-index: 3000;
      font-weight: bold;
      padding: 0;
      background: none repeat scroll 0 0 #ffffff;
      box-shadow: 0 0 5px #5b5f6b;
      color: #5b5f6b;
    }

    .ongletSidebar:hover {
      -webkit-animation-name: onglethoverout;
      animation-name: onglethoverout;
      -webkit-animation-duration: 5s;
      animation-duration: 5s;
      -webkit-animation-fill-mode: both;
      animation-fill-mode: both;
    }

    @keyframes onglethoverout {
      0% {
        background: none repeat scroll 0 0 rgba(255, 255, 255, 0.9);
        color: #563d7c;
      }
      100% {
        color: none repeat scroll 0 0 #5b5f6b;
        color: white;
      }
    }

    .ongletSidebar p {
      font-size: 9px;
      white-space: normal !important;
      word-wrap: break-word !important;
    }

    .ongletSidebar i {
      font-size: 12px;
    }

     .overlaysmenus{
          overflow:auto;
          text-align:center;
          width: 100%;
          height: auto;
          display:block;
          margin-top:10px;
          margin-bottom: -20px;
          padding: 5px 20px 20px 20px;
          border-radius: 5px;
          font-size: 12px;
          }

    input[type="radio"], input[type="checkbox"] {
      margin: 0;
    }

    input[class="checkmark"] {
      display:none;
    }
    
    input[class="checkmark"] + label{
      display: inline;
      margin: 0.2em;
      cursor: pointer;
      padding: 0.2em;
    }
    
    input[class="checkmark"] + label:before{
      content: "\2714";
      font-size: 10px;
      border-radius: 10px;
      display: inline-block;
      width: 15px;
      height: 15px;
      padding-left: 0.3em;
      padding-bottom: 0.3em;
      margin-right: 0.5em;
      margin-left: 0.2em;
      margin-top: 0.4em;
      vertical-align: bottom;
      color: transparent;
      transition: .2s;
      border: 1px solid red;

    }
    
    input[class="checkmark"] + label:active:before {
      transform: scale(0);
    }
    
    input[class="checkmark"]:checked + label:before {
      background-color: red;
      border-color: black;
      color: white;
      box-shadow: 0 0 5px rgba(0,0,0,0.5);
    }
    
    input[class="checkmark"]:disabled:not(:checked) + label:before,
    input[class="checkmark"]:disabled:checked + label:before {
      box-shadow: none;
      border-color: #bbb;
      background-color: #ddd;
    }

    #rechercher{

      /*overflow:auto;*/
      text-align:center;
      width: 100%;
      height: 100%;
      display:block;
      margin-top:10px;
      padding: 5px 20px 20px 20px;
      border-radius: 5px;
      font-size: 12px;
      }


        /***** Sidebar  *****/

      

        .list-group {
          margin-bottom: -10px;
          /*height: 80%;
          overflow: hidden;*/
        }

        a.list-group-item {
          height: 32px;
          line-height: 32px;
          /*font-family: Monotype Corsiva;*/
          font-size:16px;
          padding: 0px;
          }



    .leaflet-popup-content-wrapper {
        position: relative;
        bottom: 10px;
        box-shadow: 0 0 15px rgba(0,0,0,0.2);
        border-radius: 10px;
        }

    .leaflet-popup-tip-container {
        position: relative;
        bottom: 10px;
        width : 4px;
        }

    .leaflet-container {
      font-size: 12px;
    }


        .navbar-nav {
          padding: -5px -5px -5px -5px;
        }


      .legend {
        line-height: 18px;
        color: #555;
        background-color: white;
        padding: 5px;
      }
      .legend i {
          width: 18px;
          height: 18px;
          float: left;
          margin-right: 8px;
          opacity: 0.7;
      }

      .text-zones {
        min-width: 40px !important;
        height: 18px !important;
        left: 10px !important;
        top: 5px !important;
        font-weight: bold !important;
        color: blue;
        text-align: center;
        min-height: 1.2em;
        border: 1px solid blue;
        background-color: #ffffff;
      }

