

div[id^="leaflet-control-accordion-layers-g"] > label {
	padding: 0px 0px;
	position: relative;
	z-index: 20;
	display: block;
	height: 20px;
	text-align: center;

/*	cursor: pointer;*/
	color: lightgrey;
/*	text-shadow: 1px 1px 1px rgba(255,255,255,0.8);*/
/*	line-height: 33px;*/
/*	font-size: 14px;*/
	font-weight: 525;
	background: #264d73;
/*	background: -moz-linear-gradient(top, #ffffff 1%, #eaeaea 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#ffffff), color-stop(100%,#eaeaea));
	background: -webkit-linear-gradient(top, #ffffff 1%,#eaeaea 100%);
	background: -o-linear-gradient(top, #ffffff 1%,#eaeaea 100%);
	background: -ms-linear-gradient(top, #ffffff 1%,#eaeaea 100%);
	background: linear-gradient(top, #ffffff 1%,#eaeaea 100%);*/
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eaeaea',GradientType=0 );
/*	box-shadow:
		0px 0px 0px 1px rgba(155,155,155,0.3),
		1px 0px 0px 0px rgba(255,255,255,0.9) inset,
		0px 2px 2px rgba(0,0,0,0.1);*/
    box-sizing: content-box;
    cursor:pointer;
    /*width: 200px;*/
    width: auto;
    margin: 0;
}



div[class="sgc"] > label {
/*	display: inline-block;*/
/*	padding: 10px 0px 0px 0px;*/

	z-index: 20;

	cursor: pointer;

	font-size: 12px;
	font-weight: 1000;

	color:#748DA5;

    box-sizing: content-box;
    cursor:pointer;

    width: auto;
    margin: 0;
}



div[class="nsgc"] > label {
/*	padding: 1px 1px;*/
	text-align:left;
/*	position: relative;*/
	z-index: 20;
	display: block;
/*	height: 20px;*/
	cursor: pointer;
	color: #A6B6C5;
/*	background-color: #e6f2ff;*/
/*	text-shadow: 1px 1px 1px rgba(255,255,255,0.8);*/
/*	font-size: 12px;*/
	font-weight: 700;
/*	background: red;*/
/*	background: -moz-linear-gradient(top, #ffffff 1%, #eaeaea 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#ffffff), color-stop(100%,#eaeaea));
	background: -webkit-linear-gradient(top, #ffffff 1%,#eaeaea 100%);
	background: -o-linear-gradient(top, #ffffff 1%,#eaeaea 100%);
	background: -ms-linear-gradient(top, #ffffff 1%,#eaeaea 100%);
	background: linear-gradient(top, #ffffff 1%,#eaeaea 100%);*/
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eaeaea',GradientType=0 );
/*	box-shadow:
		0px 0px 0px 1px rgba(155,155,155,0.3),
		1px 0px 0px 0px rgba(255,255,255,0.9) inset,
		0px 2px 2px rgba(0,0,0,0.1);*/
/*	border-color: #4b6777; border-style: solid; border-width: 1px 0px 1px 0px;*/
    box-sizing: content-box;
    cursor:pointer;
/*    width: 200px;*/
    width: auto;
    margin: 0;
}







.leaflet-control-layers-overlays {
	border-top: 2px solid white;
	background-color: white;
}




/*get rid of the scroll bar in the subgroup*/
/*NOTE: this was conflicting with scroll in the modal-body so removed!!!!!*/
/*::-webkit-scrollbar {
    width: 0px;
    background: transparent; 
}*/

/*div[id^="leaflet-control-accordion-layers"] > label:hover {
	background: #fff;
}*/



div[id^="leaflet-control-accordion-layers-g"] input.menu:checked + label{
background: #264d73;
    color: lightgrey;
/*   font-weight: 525;*/
}



/* change the color of the layer label when turned on*/
div.menu-item-radio  > input.menu:checked + label{color:  #264d73;}
div.menu-item-checkbox > input.menu:checked + label{color:  #264d73 !important;}





div[id^="leaflet-control-accordion-layers-sg"] input.menu:checked + label{
	display: block;
	background: white;
	color: #748DA5;
	font-weight: 1000;
	border-bottom: 2px solid #748DA5;
}


div[id^="leaflet-control-accordion-layers-nsg"] input.menu:checked + label{
	font-weight: 700;
	border-bottom: 0px solid #A6B6C5;


}


div[class="menu-item-checkbox"] input.menu:checked + label {

    color: #ce9e62;
    font-weight: 700;
    border-bottom: 0px solid #ce9e62;
}


/*THIS IS HOVER FUNCTIONALITY THAT SHOULD BE ADRESSED SOON!!!!!!!!!!!!!!!!!*/
/*.ac-container div[id^="leaflet-control-accordion-layers"] > label:hover:after,
.ac-container input.menu:checked + div[id^="leaflet-control-accordion-layers"] > label:hover:after{
	content: '';
	position: absolute;
	width: 24px;
	height: 24px;
	right: 13px;
	top: 7px;

}*/


/**************************THIS IS A GREAT TOOL FOR BUILDING APPLICATION************************************************/

input.menu{
	display: none;
}



/*NOTE: This was the time consuming css that makes font awesome look dynamic --- had to rewrite the js as well!!!!*/
.menu-item-radio input[type="radio"] + label::before {
  margin-right: 5px;
/*  background-color: transparent;*/
  content: "\f111";
  font-family: FontAwesome;
  font-size: 13px;
  position: none;
  -webkit-text-stroke: 1px #606060;
-webkit-text-fill-color: #FFFFFF;
}


.menu-item-radio input[type="radio"]:checked + label::before {
margin-right: 5px;
    /* color: #000; */
    content: "\f111";
    font-family: 'FontAwesome';
    font-size: 13px;
    position: none;
    -webkit-text-stroke: 1px #264d73;
    -webkit-text-fill-color: #264d73;
}





.menu-item-checkbox input[type="checkbox"] + label::before {
	display: inline-block;
  	transform: rotateZ(180deg);
  margin-right: 5px;
  color:red;
  content: "\f205";
/*  content: "\f204";*/
  font-family: FontAwesome;
  font-size: 13px;
  position: none;
  font-weight:900;
    -webkit-text-stroke: 1px grey;
-webkit-text-fill-color: grey;
}


.menu-item-checkbox input[type="checkbox"]:checked + label::before {
  margin-right: 5px;
	display: inline-block;
  	transform: rotateZ(360deg);
  content: "\f205";
  font-family: FontAwesome;
  font-size: 13px;
  position: none;
      -webkit-text-stroke: 1px #264d73;
-webkit-text-fill-color: #264d73;
}














/*---------------------  code for toggle switches  ----------------------------------------------*/
.menu-item-checkbox input[type="checkbox"] + label::before {
	display: inline-block;
  	transform: rotateZ(180deg);
  margin-right: 5px;
  color:red;
  content: "\f205";
/*  content: "\f204";*/
  font-family: FontAwesome;
  font-size: 13px;
  position: none;
  font-weight:900;
    -webkit-text-stroke: 1px grey;
-webkit-text-fill-color: grey;
}


.menu-item-checkbox input[type="checkbox"]:checked + label::before {
  margin-right: 5px;
	display: inline-block;
  	transform: rotateZ(360deg);
  content: "\f205";
  font-family: FontAwesome;
  font-size: 13px;
  position: none;
      -webkit-text-stroke: 1px #264d73;
-webkit-text-fill-color: #264d73;
}











/*------------------------------------ END style and hover css END ----------------------------------------------*/






/*------------------------------------ functional css stuff ----------------------------------------------*/

/*---------------styling of objects when NOT checked---------------------------*/
.ac-container article {
/*	background: rgba(255, 255, 255, 0.5);*/
/*	margin-top: -1px;
	margin-left: 5px;
	margin-right: 5px;*/
	overflow-y: scroll;
	width: 275px;    /*-------- NOTE: this controls the entire width. The whole container will expand and contract if not set!*/
	





	/* ******************* NOTE: this locks out the layer nest*********************************** */
	height: 0px; 



	
    padding: 0px;
    line-height: 0px;
	position: relative;
	z-index: 10;
	-webkit-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
	-moz-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
	-o-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
	-ms-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
	transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
}


/*New*/
.sgc {
	background: rgba(255, 255, 255, 0.5);
/*margin-top: -1px;*/
/*	margin-left: 5px;
	margin-right: 5px;*/
	padding: 1px 0;
	overflow: hidden !important;
	/*height: 0px;*/
	height: 0px;

	font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
    padding: 0px;
    line-height: 18px;
	position: relative;
	z-index: 10;
	-webkit-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
	-moz-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
	-o-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
	-ms-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
	transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
}


/*New*/
.nsgc {
	background: rgba(255, 255, 255, 0.5);
/*margin-top: -1px;*/
/*	margin-left: 5px;
	margin-right: 5px;*/

	overflow: hidden !important;
	height: 0px;


/*    padding-left: 10px !important;*/
    line-height: 0px;
	position: relative;
	z-index: 10;
	-webkit-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
	-moz-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
	-o-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
	-ms-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
	transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
}


.menu-item-radio {
	height:0px; 
	z-index: 0; 
	position: relative;
}


.layergroup {
/*	overflow-y: scroll !important;*/
/*	max-height: 100px; */
	z-index: 0; 
	position: relative;
	height:0;
/*	scroll-snap-type: y mandatory;*/
	/*cursor: -webkit-grab; cursor: grab;*/
}

.ac_small {
/*	opacity: 0.2;*/
/*	border-width: 1px;
	border-style: solid;*/
	

}


.menu-item-checkbox{
	padding:5px 5px 5px 0px;
	border-bottom: 1px solid rgba(38, 77, 115, 0.2) !important;
	background-color: #F0F3F5;
}




.div_overlay-large {background-color: orange;}

/*---------------styling of objects when checked---------------------------*/

/*.menu-item-checkbox input.menu:checked ~ .ac_small{
	height: auto;
	overflow-y: auto;
}*/


.ac-container input.menu:checked ~ .sgc{
	
	height: auto;
	padding: 15px 0;
/*	overflow-y: auto;*/
	line-height: 18px;
}

.ac-container input.menu:checked ~ .nsgc{
	
	height: auto;
	padding: 1px 0;
/*	overflow-y: auto;*/
	line-height: 18px;
}

#leaflet-control-accordion-layers-g0 input.menu:checked ~ .pb-baselayers{
height:auto;
/*	overflow-y: auto;*/
	line-height: 18px;
}



.nsgc input.menu:checked  ~ .layergroup {
height:auto;
/*	overflow-y: auto;*/
	line-height: 18px;
/*	border-bottom: 2px solid #A6B6C5;*/
}


.nsgc input.menu:checked ~ .ac_small {
	opacity: 1.0;
}

#leaflet-control-accordion-layers-g0 input.menu:checked ~ .menu-item-radio {
	height: auto;
}

/*.pb input.menu:checked ~ .menu-item-checkbox{
height:300px;
	overflow-y: auto;
	line-height: 18px;
}*/


/*opens the layer components like legend/slider*/
.ac-container input.menu:checked ~ .ac_small{
height:auto;
overflow: hidden !important;
	line-height: 18px;
	padding-bottom: 10px;
}

.ac-container input.menu:checked ~ article.ac-large-overlayers{
	height: auto;
/*	padding: 2px 0;*/
overflow: hidden !important;
    line-height: 18px;
}


.ac-container input.menu:checked ~ article.ac-large-baselayers{
	height: auto;
	padding: 2px 0;
/*	overflow-y: auto;*/
    line-height: 18px;
}

.ac-large-overlayers {/*scroll-snap-align: start;*/}



.leaflet-control-layers label {
    display: inline; 
}

/*overwrite parent's css   ---mine*/
.menu-item-checkbox label{
    background-color: transparent !important;
    box-shadow: none !important;
    cursor: pointer;
}

/*overwrite parent's css   ----mine*/
.menu-item-radio label {
    background-color: transparent !important;
    box-shadow: none !important;
    cursor: pointer;
}










