html, body{height: 100%;}

.ck-editor__editable,
textarea {
    min-height: 150px;
}

.datatable {
    width: 100% !important;
}

table.dataTable tbody td.select-checkbox::before,
table.dataTable tbody td.select-checkbox::after,
table.dataTable tbody th.select-checkbox::before,
table.dataTable tbody th.select-checkbox::after {
    top: 50%;
}

.dataTables_length,
.dataTables_filter,
.dt-buttons {
    margin-bottom: 0.333em;
    margin-top: .2rem;
}

.dataTables_filter {
    margin-right: .2rem;
}

.dt-buttons .btn {
    margin-left: 0.333em;
    border-radius: 0;
}

.table.datatable {
    box-sizing: border-box;
    border-collapse: collapse;
}

table.dataTable thead th {
    border-bottom: 2px solid #c8ced3;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: 1px solid #c8ced3;
}

.select2 {
    max-width: 100%;
    width: 100% !important;
}

.select2-selection__rendered {
    padding-bottom: 5px !important;
}

.has-error .invalid-feedback {
    display: block !important;
}

.btn-info,
.badge-info {
    color: white;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
    background-image: none;
}

.sidebar .nav-item {
    cursor: pointer;
}

.btn-default {
    color: #23282c;
    background-color: #f0f3f5;
    border-color: #f0f3f5;
}

.btn-default.focus,
.btn-default:focus {
    box-shadow: 0 0 0 .2rem rgba(209, 213, 215, .5);
}

.btn-default:hover {
    color: #23282c;
    background-color: #d9e1e6;
    border-color: #d1dbe1;
}

.btn-group-xs > .btn,
.btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.searchable-title {
    font-weight: bold;
}
.searchable-fields {
    padding-left:5px;
}
.searchable-link {
    padding:0 5px 0 5px;
}
.searchable-link:hover   {
    cursor: pointer;
    background: #eaeaea;
}
.select2-results__option {
    padding-left: 0px;
    padding-right: 0px;
}

.form-group .required::after {
    content: " *";
    color: red;
}

.form-check.is-invalid ~ .invalid-feedback {
    display: block;
}

.c-sidebar-brand .c-sidebar-brand-full:hover {
    color: inherit;
}

.custom-select.form-control-sm {
    padding: 0.25rem 1.5rem;
}

.navbar, .dropdown-item{text-transform:uppercase; font-size: 12px;}
.overlay{background-color: #00000066; height: 100%;}
.welcome_logo{position: absolute; z-index: 1; top: 30px;}
.welcome_logo img{width: 120px; display: block; margin: 0 auto;}
.welcome{color: #fff; font-weight: 600; text-align: center; text-transform:  uppercase;}
.welcome h3{font-weight: 800; color: #fff; font-size: xx-large; text-align: center; margin-top: 30px;}
.welcome-content{padding: 150px 30px 0 30px; max-width: 640px; margin: 0 auto;}
.btn-riskmap{background-color: #fcee21; margin: 10px auto; padding: 15px 50px; color: #000; font-weight: 600; font-size: medium; display: table;}
.logo{width: 58px; display: block; margin: 5px auto;}
.logo-small{width: 58px; display: block; margin: 5px;}
.top{font-size: 10px; text-transform:uppercase; padding: 6px 20px;}
#map{width: 100%; height: 100vh;}
#map-nav{height: 100vh;}
#tree{height: 100%; overflow: scroll;}
.municipality-header{background-color: #fff; padding:20px;}
.municipality-title{display: inline-block; margin-left: 15px; font-size: 24px; text-transform: uppercase; font-weight: 800; line-height:1;}
.municipality-title span{font-size:12px; font-weight:300;}
.coat-of-arms{position: absolute;   display: flex; top:40px; left:85px;}
footer p{font-size: 12px;}

.admin_logo{background-color: #fff; color: #000; display: flex; flex: 0 0 56px; align-items: center;}
.admin_logo img{width: 40px;}
.c-sidebar{background-color: #fcee21;}
.c-sidebar .c-sidebar-nav-dropdown-toggle, .c-sidebar .c-sidebar-nav-link{color: #000;}
i.c-sidebar-nav-icon{color: #000!important;}
i.c-sidebar-nav-icon:hover{color: #fff!important;}
.c-sidebar .c-sidebar-nav-dropdown-toggle:hover, .c-sidebar .c-sidebar-nav-link:hover{background-color: #23282c;}
.c-sidebar .c-active.c-sidebar-nav-dropdown-toggle, .c-sidebar .c-sidebar-nav-link.c-active{color: #23282c;}
@media (max-width: 600px){
    .welcome_logo{position: absolute; z-index: 1; top: 15px;}
    .welcome-content{padding: 100px 15px;}
    .welcome_logo img{width: 100px;}
    .btn-riskmap{margin: 10px auto; padding: 10px 40px; font-weight: 700; font-size: small;}
    .logo{width: 48px;}
    .coat-of-arms{left: 75px;}
    .coat-of-arms img{width: 40px!important;}
    .municipality-title{font-size: 18px;}
    .municipality-title span{font-size: 10px;}
}

.leaflet-control-layers .leaflet-control-layers-list{background-color: #fff; padding: 10px;}

/* Municipality Layers Navigation */

/* main level */
  
.ac-label {
    
    position: relative;
    padding: 1em;    
    display: block;
    cursor: pointer;
    background-color: #fff;
    transition: background-color .15s ease-in-out;
  }
  
  .ac-input:checked + label, .ac-label:hover { background-color: #dee2e6; }
  .ac-label:before, .ac-input:checked + .ac-label:before {
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    width: 2em;
    height: 100%;
    line-height: 2.25em;
    text-align: center;
    transition: background-color .15s ease-in-out;
  }
  
  .ac-input:checked + .ac-label:before { content: ""; }
  .ac-input { display: none; }
  
  /* the magic */
  
  .ac-text, .ac-sub-text { opacity: 0; height: 0; transition: opacity .5s ease-in-out; overflow: hidden; }
  .ac-input:checked ~ .ac-text, .ac-sub .ac-input:checked ~ .ac-sub-text { 
    opacity: 1;
    height: auto;
    background-color: #fff;
    padding: 10px 15px;
  }
  
  /* sub-level */
  
  .ac-sub .ac-label {
    background-color: #fff;
    font-weight: 600;
    padding: .5em 2em;
    margin-bottom: 0;
  }
  
  .ac-sub .ac-label:checked { background-color: #fff; border-bottom: 1px solid whitesmoke; }
  .ac-sub .ac-label:before, .ac-sub .ac-input:checked + .ac-label:before { left: 0; background-color: #fff; }
  .ac-sub .ac-input:checked + label, .ac-sub .ac-label:hover { background: #fff; }
  .ac-sub input{ margin-right: 10px; }
  .ac-sub-text { padding: 0 1em 0 2em; }

  /* Custom styles for icons */

  .ic-municipality{color: #03045e; font-size: 1.5rem;}
  .ic-hospital{color: #D62828; font-size: 1.5rem;}
  .ic-school{color: #3A86ff; font-size: 1.5rem;}
  .ic-fire-brigade{color: #e63946; font-size: 1.5rem;}
  .ic-fire-hydrant{color: #0077b6; font-size: 1.5rem;}
  .ic-water-source{color: #0077b6; font-size: 1.5rem;}
  .ic-social-help{color: #588157; font-size: 1.5rem;}
  .ic-culture-objects{color: #264653; font-size: 1.5rem;}
  .ic-social-home{color: #FCA311; font-size: 1.5rem;}
  .ic-police{color: #0d47a1; font-size: 1.5rem;}
  .ic-settlement{color: #386641; font-size: 1.5rem;}

  .leaflet-sidebar{top:0; right:0; border-radius: 0!important;}
  .leaflet-sidebar-header, .leaflet-sidebar-tabs>li.active, .leaflet-sidebar-tabs>ul>li.active {background-color: #333;}
  .leaflet-sidebar.leaflet-touch{border: 0;}
  
  
  /* Leaflet Layers Control */

  .leaflet-control-layers {border-radius: none; box-shadow: none; }
  .leaflet-control-layers-expanded { width: 100% !important; padding: 0px; background-color: transparent; border: none !important; }
      #layercontrol {
          display: inline-block;
          width: 100%;
          padding: 10px;
          background-color: transparent;
          -webkit-border-radius: 4px;
          -moz-border-radius: 4px;
          border-radius: 4px;
      }
      #layercontrol .title { font-size: 16px; font-weight: bold; margin-bottom: 5px; }
      /*.leaflet-draw { display: none; }
      .leaflet-draw-toolbar { display: none; }*/
      .bstreeview{border-radius: 0;}
      .dropdown-menu.show{z-index: 10001;}
      #convert{
          z-index: 10000;
          position: absolute;
          top: 62px;
          padding: 8px 12px;
          right: 20px;
          background-color: #fff;
          border: 1px solid #bbbbbb;
          font-size: 12px;
      }
      #location{
          z-index: 10000;
          position: absolute;
          top: 17px;
          padding: 8px 12px;
          right: 20px;
          background-color: #fff;            
          border: 1px solid #bbbbbb;
      }
      #map-nav {
          height: 100vh; /* 100% Full-height */  
          background-color: #111; /* Black*/
          overflow-x: hidden; /* Disable horizontal scroll */
          padding-top: 60px; /* Place content 60px from the top */
          transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
      }

      /* The navigation menu links */
      #map-nav a {
          padding: 6px 6px 6px 10px;
          text-decoration: none;
          font-size: 25px;
          color: #818181;
          display: block;
          transition: 0.3s;
      }

      /* When you mouse over the navigation links, change their color */
      #map-nav a:hover { color: #f1f1f1; }

      /* Position and style the close button (top right corner) */
      #map-nav .closebtn {
          position: absolute;
          top: 2px;
          right: 10px;
          font-size: 36px;
          margin-left: 50px;
          font-size: 22px;
          display: none;
      }
      .openbtn{
          position: absolute;
          top: 10px;
          right: 10px;
          cursor: pointer;
          border: 1px solid #bbb;
          padding: 7px 10px;
          display: none;  
      }

      /* Style page content - use this if you want to push the page content to the right when you open the side navigation */
      #main { transition: margin-left .5s; padding: 20px; } 

      @media screen and (max-width: 600px) {
          #map-nav {
              width: 0; /* 0 width - change this with JavaScript */
              position: fixed; /* Stay in place */
              z-index: 10000; /* Stay on top */
              top: 0px; /* Stay at the top */
              right: 0;
          }
          .openbtn{display: block; z-index: 10000; background-color: #fff;}
          #map-nav .closebtn{display: block; z-index: 20;}
          #location {
              z-index: 10000;
              position: absolute;
              top: 40px;
              padding: 7px 10px;
              right: 10px;
              background-color: #fff;                
              border: 1px solid #bbbbbb;
              font-size: 12px;
              border-radius: 0px;
          }
          #convert{
              z-index: 10000;
              position: absolute;
              top: 73px;
              padding: 7px 10px;
              right: 10px;
              background-color: #fff;
              border: 1px solid #bbbbbb;
              font-size: 12px;
          }
          #top {
              z-index: 10000;
              position: absolute;
              top: 106px;
              padding: 4px 10px;
              right: 10px;
              background-color: #fff;                
              border: 1px solid #bbbbbb;
              font-size: 16px;
          }
      }

.signal-help{
    margin: 15px 0;
    padding: 10px;
    font-size: 13px;
    font-style: italic;
    border: 1px dashed;
    background: #fcee21;
}