html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
*, *:before, *:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}
html, body {
    height: 100%;
    padding: 0;
    margin: 0;
    display: block;
  }
#map {
    height:100%;
    width:100%;
}
.legendTop {
    z-index: 3000 !important;
}
.container-custom {
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
   }
.header {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    padding: 0 1rem;
}
.map-container {
    height: 100%;
    /* Fallback for vmin */
    padding: 0px 1rem 1rem 1rem;
    padding: 0px 1vmin 1vmin 1vmin;
}
.map-frame {
    height: 100%;
    width: 100%;
    /*   We use outline over border as has issues in some cases */
    outline: 1px solid black;
}
.leaflet-tooltip.project-area-callout {
    background-color: transparent;
    border: transparent;
    box-shadow: none;
    display:inline-block;
}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
    border: none !important;
}

.web-background {
    background:url('/images/background.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.leaflet-center {
    left: 50%;
    transform: translate(-50%, 0%);
}

.rounded-pill {
        border-top-left-radius: 50rem !important;
        border-bottom-left-radius: 50rem !important;
        border-top-right-radius: 50rem !important;
        border-bottom-right-radius: 50rem !important;
}
.dropdown-menu {
    margin-top:40px;
    z-index:10000;
}
.dropdown-menu ul {
    list-style-type:none;
    padding-left:15px;
    padding-right:15px;
    max-width:750px;
    min-width:400px;
}

.dropdown-menu ul li {
    width:400px;
    height:40px;
    line-height:40px;
    padding-left:5px;
    vertical-align:middle;
    overflow:hidden;
    white-space:nowrap;
    text-overflow: ellipsis !important;
    display:inline-block;
}

.dropdown-menu ul li:hover {
    background-color:cornflowerblue;
    color:white;
}

@supports (display: flex) {
    .map-container {
      height: 0;
      -webkit-box-flex: 1;
          -ms-flex: 1 0 auto;
              flex: 1 0 auto;
    }

    .map-frame {
      -webkit-box-flex: 1;
          -ms-flex: 1 0 auto;
              flex: 1 0 auto;
    }
  }
  .tooltip-small {
      width:30px !important;
      height:30px !important;
      display:block;
      z-index:10000;
  }
  .tooltip-big {
      height:80px;
      width:250px !important;
      display:block;
      z-index:10000;
  }

@media all and (max-width: 750px) {
    /* CSS rules here for screens lower than 750px */

    .dropdown-menu ul {
        list-style-type:none;
        padding-left:15px;
        padding-right:15px;
        max-width:750px;
        min-width:250px;
    }

    .dropdown-menu ul li {
        width:250px;
        height:40px;
        line-height:40px;
        padding-left:5px;
        vertical-align:middle;
        overflow:hidden;
        white-space:nowrap;
        text-overflow: ellipsis !important;
        display:inline-block;
    }
}
@media all and (min-width: 750px) {
    /* CSS rules here for screens above 750px */

    .dropdown-menu ul {
        list-style-type:none;
        padding-left:15px;
        padding-right:15px;
        max-width:750px;
        min-width:400px;
    }

    .dropdown-menu ul li {
        width:400px;
        height:40px;
        line-height:40px;
        padding-left:5px;
        vertical-align:middle;
        overflow:hidden;
        white-space:nowrap;
        text-overflow: ellipsis !important;
        display:inline-block;
    }
}

#myDropDown {
    position: relative;
    background-color: white;
}

#full-searchautocomplete-list {
    z-index: 2500;
}
.autocomplete {
  position: relative;
  display: inline-block;
}

input {
  border: 1px solid transparent;
  background-color: #f1f1f1;
  padding: 10px;
  font-size: 16px;
}

input[type=submit] {
  background-color: DodgerBlue;
  color: #fff;
  cursor: pointer;
}

.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}

/*when hovering an item:*/
.autocomplete-items div:hover {
  background-color: #e9e9e9;
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
  background-color: DodgerBlue !important;
  color: #ffffff;
}



@media all and (min-width: 576px) {
    .searchWidth {
        width:400px;
    }
}
@media all and (min-width: 768px) {
    .searchWidth {
        width:600px;
    }
}
@media all and (min-width: 992px) {
    .searchWidth {
        width:600px;
    }
}
@media all and (min-width: 1200px) {
    .searchWidth {
        width:750px;
    }
}


.subnet1 {
    color:red;
}
.subnet2 {
    color:green;
}

.subnet3 {
    color:blue;
}

.subnet4 {
    color:brown;
}

.subnet5 {
    color:yellow;
}

.subnet6 {
    color:gray;
}

.subnet7 {
    color:lightblue;
}

.subnet8 {
    color:purple;
}

.subnet9 {
    color:fuchsia;
}

.subnet10 {
    color:orange;
}
/* make a dark mode class for leaflet popups*/
.leaflet-popup-content-wrapper {
    background-color: #333;
    color: #fff;
}
/* set the width of the leaflet popup to 350px */
.leaflet-popup-content {
    width: 350px !important;
}
/* make all of the bootstrap text classes dark mode friendly inside of the leaflet-popup-content div */
.text-primary{
    color: #9282fa !important;
}

.text-secondary{
    color: #acb3ba !important;
}
