.sidebar-nav {
  overflow: hidden;
  background-color: #333;
  position: sticky;
  top: 0;
  width: 100%;
}

.sidebar-content {
  padding: 0 5px;
  overflow-y: auto;
  overflow-x: hidden;
  position: absolute;
  width: inherit;
  top: 43px;
  bottom: 5px;
}

#sidebar-hide-btn {
    color: #333333 !important;
    background: #ffffff;
    height: 2rem;
    width: 2rem;
    font-size: .675rem;
}

.btn-xsm {
  padding: .2rem .35rem;
  font-size: .855rem;
  line-height: 1.5;
  border-radius: .2rem;
}

.map-btn-light {
  color: #212529;
  background-color: #ffffff;
  border-color: #f8f9fa;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
}

.basemap-card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  cursor: pointer;
  margin-bottom: 20px;
}

.basemap-active {
  border-style: solid;
  border-width: thin;
  border-color: black;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.82)
}

.basemap-card:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.basemap-card-container {
  padding: 2px 5px;
  text-align: center;
}

.basemap-card-container p {
  margin-bottom: 0;
}

.map-color-button {
  cursor: pointer;
}

.map-color-box {
  -webkit-text-stroke-width: thin;
  -webkit-text-stroke-color: black;
}

.leaflet-container a.leaflet-popup-close-button {
  position: absolute;
  background-color: white;
  top: -10px;
  border-radius: 50px;
  right: -10px;
  padding: 4px;
  border: none;
  text-align: center;
  width: 22px;
  font: 16px/14px Tahoma, Verdana, sans-serif;
  color: #c3c3c3;
  text-decoration: none;
  font-weight: bold;
  height: auto;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
}

.leaflet-sidebar {
  /*z-index: unset;*/
}

.leaflet-popup-content p {
  margin: auto;
}

.leaflet-popup{
  margin-bottom: 1.1rem !important;
}

.leaflet-control-browser-print a.leaflet-browser-print {
  background-position-x: center !important;
}


/* ================== CUSTOM SIDEBAR CSS ========================= */
.sidebar-tabs>.nav-compact-icon>.nav-item:first-child {
  margin-top: 0;
}

.sidebar-tabs>.nav-compact-icon .nav-icon {
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  width: 2rem;
  height: 2rem;
  font-size: .92969rem;
  color: #677788;
  background-color: transparent;
  opacity: 1;
  margin-right: 0;
  /* border-radius: .3125rem; */
  text-align: center;
  border-radius: 50%;
}

.sidebar-content>.nav-compact-icon .nav-icon.active,
.nav-compact-icon .nav-icon:hover {
  /*color: white !important;*/
  /*background-color: #03830a !important;*/
  /*color: #ffffff !important;*/
  /*  background-color: var(--active-color) !important;*/
  /*color: #ffffff !important;*/
  /*  background-color: #FFFFFF !important;*/
}

.nav-compact-icon .nav-icon.active,
.nav-compact-icon .nav-icon:hover {
  /*color: white !important;*/
  /* background-color: #132144 !important; */
  /*background-color: #03830a !important;*/
  color: #ffffff !important;
    background-color: var(--active-color) !important;
}


.legend-desc {
  margin-left: 1.25rem;
}

#tab_legend .list-group-item{
  padding-bottom: 15px;
}


.layer-display-line {
  width: 20px;
  height: 7px;
  background-color: red;
  margin-left: 2px;
}

.layer-display-poly {
  width: 12px;
  height: 12px;
  background-color: red;
  margin-left: 2px;
  border-radius: 50%;
}
.layer-display-img-sm {
  width: 30px;
  margin-left: 2px;
  border-radius: 15%;
}
.layer-display-img-lg {
  max-width: 100%;
  margin-left: 2px;
  /* border-radius: 15%; */
}

.layer-display-img-lg-btn{
  float: left;
}

.popup-heading-separator{
  width: 30px;
    height: 1px;
    background-color: grey;
    margin-bottom: 7px;
}

.layer_on{
  color: var(--active-color) !important;
    font-weight: 500;
}


/* ============ MAP CSS ================= */

/*.map-wrapper {*/
/*	!* width: 100%;*/
/*    height: 100vh; *!*/
/*	position: absolute;*/
/*	top: 60px;*/
/*	left: 0;*/
/*	right: 0;*/
/*	!* bottom: 20px; *!*/
/*	bottom: 0;*/
/*	overflow: hidden;*/
/*}*/

#map-container {
	/*position: absolute;*/
    /*width: 100%;*/
    height: 100vh;
    /*overflow: hidden;*/
    /* cursor: url("../img/crosshair.png"), auto; */
    cursor: pointer !important;
	/*position: absolute;*/
	/*top: 0;*/
	/*left: 0;*/
	/*right: 0;*/
	/*!* bottom: 2px; *!*/
	/*bottom: 0;*/
	/*overflow: hidden;*/
    z-index: 1 !important;
}


.map-btn-group {
	box-shadow: 0 1px 7px rgb(0 0 0 / 65%);
}

.map-btn-group button {
	min-width: 45px;
	/* color: black; */
}

.basemaps-btn {
	padding: 0;
	padding-right: .5rem !important;
	box-shadow: 0 1px 7px rgb(0 0 0 / 65%);
	font-weight: 500;
	font-size: 12px;
}

.basemaps-btn img {
	height: 100%;
	float: left;
	width: 2.375rem;
	padding: 1px;
}

/* ======== HIDE MAP ATTRIBUTION CONTAINER =============== */
.leaflet-control-attribution {
	display: none;
}

.leaflet-container .leaflet-control-attribution,
.leaflet-container .leaflet-control-scale {
	display: none;
}


/* ================== MAP SETTINGS POPOVER ===================== */

.popover-body {
	padding: 2px !important;
	width: 300px;
}

.popover {
	max-width: 300px !important;
	font-family: 'Fira Sans', sans-serif !important;
	font-size: 12px !important;
	border-radius: 4px;
}

.popover-body .card-header-title {
	font-size: 12px;
}

.popover-body .card {
	border: unset;
}

.popover-body .card-header {
	padding-top: 5px;
}

.custom-checkbox-card-img {
	font-size: 30px;
	padding: 5px;
	height: auto;
}

.custom-checkbox-card-label::after {
	position: absolute;
	top: -5px;
	right: -5px;
	width: 1rem;
	height: 1rem;
	z-index: 1;
	content: "";
}

.custom-checkbox-card-text {
	display: block;
	padding: .3125rem 0;
	line-height: 1.2;
}


/* ===================== START ANALYTICS TOOLS SIDEBAR ===================== */

.analytics_tools_sidebar_container {
	width: 300px;
	background: white;
	max-width: 300px !important;
	font-family: 'Fira Sans', sans-serif !important;
	font-size: 12px !important;
	z-index: 1070;
	border: .0625rem solid transparent;
	border-radius: 4px;
	box-shadow: 0 1px 7px rgb(0 0 0 / 65%);
}

.analytics_tools_sidebar_container .card {
	border: unset;
}
.analytics_tools_sidebar_container .card-header-title {
	font-size: 12px;
}
.analytics_tools_sidebar_container .card {
	border: unset;
}
.analytics_tools_sidebar_container .card-header {
	padding-top: 5px;
}
.analytics_tools_sidebar_container .input-label {
	font-size: 12px !important;
}
.analytics_tools_sidebar_container select {
	font-size: 12px !important;
	font-weight: unset;
}

/* Hide leaflet draw toolbar  */
/*.leaflet-draw{*/
/*	display: none;*/
/*}*/

.leaflet-draw-toolbar.leaflet-bar a:first-child {
    margin-bottom: 0;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border: none !important;
}

.leaflet-draw-toolbar.leaflet-bar a:last-child {
    margin-bottom: 0;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border: none !important;
}

.leaflet-draw.leaflet-control {
    margin-top: 0 !important;
}

.leaflet-draw-toolbar.leaflet-bar {
    border: none !important;
}

.leaflet-bar a:hover {
    width: 30px !important;
    height: 30px !important;
    background-color: #c4c4c4 !important;
    border: none !important;
}

/* ===================== END ANALYTICS TOOLS SIDEBAR ===================== */

/*CATEGORY BADGE*/

.layer-category-tooltip {
    position: relative;
}

.category-badge {
    position: absolute;
    top: -0.6rem;
    right: -0.4rem;
    height: 1.2rem;
    width: 1.2rem;
}

/*END CATEGORY BADGE*/

/*SUB CATEGORY BADGE*/
.custom-panel {
    overflow: visible !important;
}

.subcategory-header {
    position: relative;
}

.subcategory-badge {
    position: absolute;
    top: -0.6rem;
    left: -0.4rem;
    height: 1.2rem;
    width: 1.2rem;
}

/*END SUB CATEGORY BADGE*/


/*INSIGHT CONTAINER*/
#InsightCardContainer {
    height: 95% !important;
    overflow-y: auto !important;
}

#InsightSidebar {
    width: 0%;
    height: 100% !important;
    overflow: hidden;
}

@media screen and (max-width: 991px){
    #InsightsCardDiv {
        width: 100% !important;
        /*padding: 0.7rem !important;*/
    }
}
/*END WCS DATA CONTAINER*/

.insight-card{
    position: relative;
    overflow: visible !important;
}

.insight-card-header:hover{
    cursor: pointer;
}

/*CARD COUNT BADGE*/
.card-count-badge {
    position: absolute;
    top: -0.7rem;
    left: -0.7rem;
    height: 2rem;
    width: 2rem;
    background-color: var(--active-color);
    color: #ffffff;
    font-size: 1rem !important;
}

.loading-data-spinner {
    height: 4rem;
    width: 4rem;
}

.loading-data-spinner-sm {
    height: 1.6rem;
    width: 1.6rem;
}

/*Search Controls*/
.leaflet-control-search {
    /*margin-top: 0;*/
    /*margin-left: 0;*/
    margin: 0 !important;
}

.leaflet-control-search .search-button {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    height: 35px;
    width: 45px;
    border: 0;
    /*background: url(../images/search-icon.png) no-repeat 10px 6px #fff;*/
    background: white none;
    padding: .4375rem .65625rem;
    font-size: .8125rem;
    line-height: 1.5;
}

.leaflet-control-search .search-input {
    height: 27px;
    width: 15rem;
    border: 1px solid rgb(97, 117, 142) !important;
}

.leaflet-control-search .search-button::before {
    margin-top: 4px !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900;
    font-size: 14px;
    content: "\f002";
    position: center;
    color: rgb(97, 117, 142) !important;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.leaflet-container .leaflet-control-search {
    border: 0;
    border-right: 1px solid #e7eaf3 !important;
}

.leaflet-control-search .search-cancel {
    display: block;
    width: 22px;
    height: 22px;
    position: absolute;
    right: 44px;
    margin: 7px 0;
    text-decoration: none;
    filter: alpha(opacity=80);
    opacity: .8;
}

.leaflet-control-search .search-tooltip {
    position: absolute;
    top: -100%;
    left: 0;
    float: left;
    list-style: none;
    padding-left: 0;
    min-width: 120px;
    max-height: 122px;
    box-shadow: 1px 1px 6px rgba(0,0,0,.4);
    background-color: rgba(0,0,0,.25);
    z-index: 1010;
    overflow-y: auto;
    overflow-x: hidden;
    cursor: pointer;
}

/*Clear Insight Cards*/
#ClearInsightCards:hover {
    cursor: pointer;
}

.nearest-feature-profile-marker {
    height: 1rem;
    width: 1rem;
    border-radius: 50%;
}

.nearest-feature-profile-marker:hover {
    cursor: pointer;
}

.feature-tooltip:hover {
    cursor: pointer;
}

.new-layer-animation {
    box-shadow: 0 0 0 0 rgba(3, 131, 10, 1);
    transform: scale(1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(3, 131, 10, 0.5);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(3, 131, 10, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(3, 131, 10, 0);
    }
}