/*-------------CSS Important Sections Start---------
1. HTML Body Div
2. App
3. Header
4. App Title
5. App Container
6. Footer
-------------CSS Important Sections End-----------*/

/*-------------1. HTML Body and Div Start-----------*/
html, body{
	margin:0px !important;
	padding:0px !important;
	width: 100% !important;
	height: 100% !important;
	font-family: 'Gill Sans MT', sans-serif;
	-webkit-user-select: none; /* Safari */
  	-ms-user-select: none; /* IE 10 and IE 11 */
	  user-select: none; /* Standard syntax */
}
div{
	margin:0px;
	padding:0px;
}
/*-------------1. HTML Body and Div End-----------*/

/*-------------2. App Start-----------*/
#app{
	display:block;
	width: 100%;
	height: 100%;
	background-color:white;
}
/*-------------2. App End-----------*/

/*------------3. Header Start-----------*/
#header{
	display:block;
	position:relative;
	width: 100%;
	height: 12.5vh;
	background-color:rgb(237,237,237);
}
#header img{
	height: 11vh;
	margin-top:1vh;
}
#header span{
	height: 13vh;
	font-weight:bold;
	text-align:center;
}
#header div{
	display:block;
	float:left;
}
/*-------------3. Header End-----------*/

/*-------------4. App Title Start-----------*/
#app_title{
	display:block;
	position:relative;
	width: 100%;
	height: 4vh;
	font-size:2.5vh;
	font-weight:bold;
	/*padding-top:0.6vh;*/
	text-align:center;
}
/*-------------4. App Title End-----------*/

/*-------------5. App Container Start-----------*/
#app_container{
	display:block;
	position:relative;
	width: 100%;
	height: 80.5vh;
	background-color:white;
}
#map{
	position:relative;
	width: 100%;
	height: 100%;
	background-color:white;
}
#swipe{
	position:absolute;
	top:35vh;
	left:4vh;
	-webkit-appearance: slider-vertical;
	background-color:   blue;
	width: 10px;
	max-height: 33vh;
	padding: 0 5px;
	z-Index:1000;
	box-shadow: 0px 0px 10px 8px #ffffffb3;
}

/*For Vector Popup Start*/
	.ol-popup {
	  position: absolute;
	  background-color: white;
	  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
	  padding: 15px;
	  border-radius: 10px;
	  border: 1px solid #cccccc;
	  bottom: 12px;
	  left: -50px;
	  min-width: 300px;
	}
	.ol-popup:after, .ol-popup:before {
	  top: 100%;
	  border: solid transparent;
	  content: " ";
	  height: 0;
	  width: 0;
	  position: absolute;
	  pointer-events: none;
	}
	.ol-popup:after {
	  border-top-color: white;
	  border-width: 10px;
	  left: 48px;
	  margin-left: -10px;
	}
	.ol-popup:before {
	  border-top-color: #cccccc;
	  border-width: 11px;
	  left: 48px;
	  margin-left: -11px;
	}
	.ol-popup-closer {
	  text-decoration: none;
	  position: absolute;
	  top: 2px;
	  right: 8px;
	}
	.ol-popup-closer:after {
	  content: "X";
	}
/*For Vector Popup End*/

/*For Ratser Legend Start*/
#raster_legend{
    position: fixed;
	border-radius: 12px;
	top:18vh;
	left:50vw;
	transform:translate(-50%);
	max-width: 500px;
    padding: 3px;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.90);
    -webkit-box-shadow: 0px 0px 3px rgba(70, 70, 70, 0.35);
    -moz-box-shadow: 0px 0px 3px rgba(70, 70, 70, 0.35);
    box-shadow: 0px 0px 3px rgba(70, 70, 70);
    font-size:15px;
}
.axis path,
.axis tick,
.axis line {
	fill: none;
	stroke: none;
}
/*For Ratser Legend End*/


/*For Options Menu Start*/
#options_menu
{
	position:fixed;
	top:20vh;
	left:3vh;
	max-height:40vh;
}


#options_menu button
{
	  font-size: 1rem !important;
    border-radius: 10px !important;
		padding:0.5rem;
		box-shadow: 0px 0px 10px 6px #ffffffb3;

}

/*For Options Menu End*/



/*For Raster Chart Start*/
/*#raster_chart
{
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 1px 1px 6px grey;
  flex: 1;
  margin: 5px;
  background-color:#f3f3f3;
  min-width: 600px;
}*/

#raster_chart > .modal-dialog
{
	position:fixed;
	left:50% !important;
	transform:translate(-50%) !important;
	bottom:10 !important;
	margin-bottom:8vh !important;
	/*max-width: 65vw !important;*/
	max-width: 99% !important;
	min-width: 50vw !important;	
	max-height: 50vh !important;	
	box-shadow: 0px 0px 50px 1px #ffffff89;
}

.modal-header
{
	height: 5vh;
	padding: 1vw;
	background-color: var(--lama-themestyle-bgColor) !important;
	color:var(--lama-themestyle-color) !important;
	font-size:3vh;

}
.modal-header h5{
	font-size:1rem;
}
.btn-close {
		background-color: var(--lama-themestyle-color) !important;
		padding: 2px !important;
}

.modal-body{
		position: relative;
		max-height: 50vh;
		overflow-y: auto;
}

/*For Raster Chart End*/



/*For Vector Chart Start*/
#vector_chart
{
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 1px 1px 6px grey;
  flex: 1;
  margin: 5px;
  background-color:#f3f3f3;
  min-width: 600px;
}
/*For Vector Chart End*/


/*-------------5. App Container End-----------*/

/*-------------6. Footer Start-----------*/
#footer{
	display:block;
	position:relative;
	width: 100%;
	height: 3vh;
	background-color:#354045;
	color:white;
	font-size:1.6vh;

	text-align:center;
}
/*-------------6. Footer End-----------*/

/*------------Other Ol Specific Style Start------*/
.ol-mouse-position {
    top: 8px;
    right: 8px;
    position: absolute;
    background-color: white;
    padding: 2px;
    border-radius: 5px;
}
.ol-scale-line {
	 position: fixed;
	 background-color: var(--lama-themestyle-bgColor) !important;
	 color:var(--lama-themestyle-color) !important;
	 bottom: calc(3vh + 20px) !important;
   left: 3vh !important;
}
.ol-scale-line-inner
{
    font-size:12px !important;
    border: 1px solid #fff !important;
    border-top: none !important;
		box-shadow: 0px 0px 10px 8px #ffffffb3;
}

.layer-switcher button {
 	background-color: var(--lama-themestyle-bgColor) !important;
 	color:var(--lama-themestyle-color) !important;
	display: inline-block !important;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	cursor: pointer;
	border-radius: 0.375rem;
}

.layer-switcher {
    position: fixed;
    top: 25vh !important;
    right: 3vh !important;
    left: unset !important;
}

.layer-switcher ul
{
 margin: 5px !important;
}

.layer-switcher .panel
{
 color: rgb(0, 32, 96) !important;
 background-color: rgb(237,237,237) !important;
}
/*------------Other Ol Specific Style End------*/

/*--------Application Menu Start-------*/
#menu{
	top:16.5vh !important;
	bottom:3vh !important;
}

#big_legend{
	position: absolute !important;
	top:24.5vh !important;
	/*bottom:3vh !important;*/
	bottom: unset !important;
	left:unset !important;
	right:1.2vw !important;
	width: unset !important;
	max-width: 50vw !important;
	max-height: 60vh !important;
	overflow-y: auto;
	border:2px solid  var(--lama-themestyle-bgColor);
	box-shadow: 0px 0px 10px 6px #fff;
	background-color: #fff;

}


#big_legend::-webkit-scrollbar {

    width: 0.7vw;

}


/*--------Application Menu End-------*/
.offcanvas-body select{
	margin-bottom: 1vh;
	margin-top: 1vh;
}

.offcanvas-body label {
	color: #354045;
}

.form-check-input{
	border-color: black !important;
}
.form-check-input:checked
{
  background-color: var(--lama-themestyle-bgColor) !important;
	border-color:#b5b7b9 !important;
}

.ol-zoom {
    position: fixed !important;
    top: 28vh !important;
    left: 2.6vh !important;
}

.ol-control button {
	background-color: var(--lama-themestyle-bgColor) !important;
}

/*--bs-btn-padding-x: 0.75rem;
    --bs-btn-padding-y: 0.375rem;*/

.ol-zoom button {
	font-size: 1.4rem !important;
  border-radius: 10px !important;
	padding-left: var(--bs-btn-padding-x) !important;
	padding-right: var(--bs-btn-padding-x) !important;
	padding-top: var(--bs-btn-padding-y) !important;
	padding-bottom: var(--bs-btn-padding-y) !important;
}

.layer-switcher.shown .panel {
    border: 3px solid #002060;
    border-radius: 3vh;
}

#coodpos{
	position: fixed;
	background-color:var(--lama-themestyle-bgColor);
  border-radius: 4px;
  bottom: calc(3vh + 20px);
  right: 3vh;
  padding: 3px;
	color:var(--lama-themestyle-color);
	font-size:14px !important;
	box-shadow: 0px 0px 10px 8px #ffffffb3;
}
input[type=range]::-webkit-slider-thumb {
	-webkit-border-radius: 10px;
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 30px var(--lama-themestyle-color);
}


input[type="range"]::-webkit-slider-runnable-track {
	background: var(--lama-themestyle-bgColor);
	height: 0.5vh;
}



.layer-switcher.shown.layer-switcher-activation-mode-click > button {
    box-shadow: 0px 0px 10px 6px #ffffffb3;
}

.heatmap_grid {
	display: grid;
	gap: 5px;
	grid-auto-flow: column;
	margin: 0 0 1rem 0;
  }

.heatmap_grid >  div{
	height: 2vh;
	width: 45px;
  }

  .heatmap_grid > .text{
  	background: #fff;
	color:#856401;
	font-size:12px;
	text-align: center;
	font-weight: bolder;
  }

  .heatmap_grid > .snow{
	background: rgb(60, 200, 255);
	border: 1px solid #686b6d;
}

.heatmap_grid > .nosnow{
	background: #e8e8e8;
	border: 1px solid #686b6d;

}

.heatmap_grid > .nodata{
	background: #800080 ;/*#002060d1;*/
	border: 1px solid #686b6d;
}

.heatmap_grid > .hidden{
	background: #fff;
}

/* width */
::-webkit-scrollbar {
  width: 0.3vh;
}

/* Track */
::-webkit-scrollbar-track {
  background: var(--lama-themestyle-color);
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--lama-themestyle-bgColor) ;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #bf9000;
}

.ol-attribution{
	display: none !important;
}



/* table and table-striped */
.feature_table table {
  font-family: arial, sans-serif;
  width: 100%;
}

.feature_table td,.feature_table th {
	font-size:13px;
	border-collapse: collapse;
  text-align: left;
  padding: 5px;
  cursor: pointer;
}

.feature_table tr:nth-child(even) {
	background-color: var(--lama-themestyle-bgColor) !important;
	color:var(--lama-themestyle-color) !important;
}


