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

h4 {
  color: #ca1f1d;
}    

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

    #titre {
      margin-top: 20px;
      height: 6em;
      background: no-repeat center url('../logo.png') !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 20px 10px 20px;
        background: white;
        /*position: absolute;*/
        z-index: 999;
        box-shadow: 10px 10px 5px #a79d9f;
        border-radius: 5px;
        }

    .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;
    }

     #overlays{

          overflow:auto;
          text-align:center;
          width: 100%;
          height: auto;
          display:block;
          margin-top:10px;
          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;
    }


        /***** Sidebar : cadastre *****/

      

        .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;
        }


        .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-regroupees {
        min-width: 22px !important;
        height: 18px !important;
        left: -10px !important;
        top: -5px !important;
        font-weight: bold !important;
        color: red !important;
        text-align: center;
        min-height: 1.2em;
        border: 1px solid red;
        background-color: #ffffff;
      }

      .text-zones {
        min-width: 22px !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;
      }

