* {
  box-sizing: border-box;
}

body {
  padding: 0;
  margin: 0;
}

.map {
  height: 89vh;
}

/***********Current Loction*****************************/

.current-location img {
  width: 20px;
  height: 20px;
}
.current-location {
  position: fixed;
  z-index: 999;
  background: white;
  top: 14vh;
  right: 1%;
  width: 30px;
  padding: 4px 5px;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.2);
  border-radius: 25px;
  /* color: white; */
  height: 30px;
  cursor: pointer;
}

/***********PDC Layer Panel*****************************/

.pdclyr-panel {
  position: fixed;
  right: -295px;
  top: 13%;
  bottom: 0;
  z-index: 10000;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.pdclyr-panel.expand {
  right: 0;
}

.pdclyr-panel-content {
  width: 280px;
  border-radius: 6px 0 0 6px;
  background: #fff;
  background: rgba(255, 255, 255, 0.98);
  padding: 20px;
  height: 87%;
  overflow: scroll;
}

.pdclyr-panel-content .tab-content {
  background: 0 0;
  padding: 0;
}

.pdclyr-panel-content .nav.nav-tabs > li {
  display: table-cell;
  float: none;
  margin: 0;
  border: none;
}

#overlay_lyr_panel .table td,
#overlay_lyr_panel .table th {
  padding: 2px;
}

.divider {
  margin: 15px 0;
  height: 2px;
  background: #30373e;
}

.image-radio {
  cursor: pointer;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  border: 4px solid transparent;
  margin-bottom: 0;
  outline: 0;
}

.image-radio img {
  height: 25px;
  width: 25px;
}

.image-radio input[type="radio"] {
  display: none;
}

.image-radio-checked {
  border-color: #4783b0;
}

.image-radio .fa {
  position: absolute;
  color: #4a79a3;
  background-color: #fff;
  /*padding: 10px;*/
  top: 0;
  right: 0;
}

.image-radio-checked .fa {
  display: block !important;
}

/***********PDC Entry Panel*****************************/

.pdcentry-panel {
  position: fixed;
  right: -280px;
  top: 50px;
  /*bottom: 0;*/
  z-index: 200;
  /*10000;*/
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.pdcentry-panel.expand {
  right: 0;
}

.pdcentry-panel .pdcentry-collapse-btn {
  width: 36px;
  height: 36px;
  color: #30373e;
  text-align: center;
  line-height: 40px;
  display: block;
  position: absolute;
  left: -36px;
  top: 135px;
  background: #fff;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 6px 0 0 6px;
  font-size: 18px;
}

.pdcentry-panel-content {
  width: 280px;
  border-radius: 6px 0 0 6px;
  background: #ffffffaa;
  /* background: rgba(255, 255, 255, 0.98); */
  padding: 20px;
  height: fit-content;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 50vh;
  min-height: 22vh;
  top: 7rem;
  position: relative;
  border: 2px solid palevioletred;
}

/****************************************/

#layerBtn {
  top: 75px;
  left: 10px;
  position: fixed;
  background-color: rgba(0, 60, 136, 0.5);
  padding: 5px !important;
}

#basemapBtn {
  top: 115px;
  left: 10px;
  position: fixed;
  background-color: rgba(0, 60, 136, 0.5);
  padding: 5px !important;
}

.ctrlBtn {
  background-color: rgba(255, 255, 255, 0.4);
}

.layer_modal {
  width: 200px;
  position: absolute;
  top: 75px;
  left: 40px;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  border: 1px solid gray;
}

.basemap_modal {
  width: 200px;
  position: absolute;
  top: 115px;
  left: 40px;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  border: 1px solid gray;
}

.modal-heading1 {
  background: rgb(18, 91, 136);
  color: #ffffff;
  margin: 0 !important;
  padding: 7px;
}

.layer_close {
  cursor: pointer;
  color: white;
  font-size: 20px;
  font-weight: bolder;
  background: red;
  line-height: 15px;
  padding: 0px 3px 5px 3px;
  border-radius: 25px;
  opacity: 0.7;
}

.mouse_pos {
  color: white;
  padding: 2px;
  font-weight: bold;
}

#mousepointercoordinates {
  position: absolute;
  bottom: 0px;
  left: 80%;
}

.basemap {
  width: 100%;
  text-align: left;
  margin: 3px;
}

.ol-zoom .ol-zoom-in,
.ol-zoom .ol-zoom-out {
  font-size: 1.04em !important;
}

#searchData {
  position: absolute;
  z-index: 10;
  height: 30vh;
  width: 100%;
  background-color: yellow;
}

@media (max-width: 600px) {
  #map {
    height: 81vh !important;
  }
  .footer {
    white-space: unset !important;
    font-size: 10px !important;
    padding: 5px !important;
    border-top: 0px !important;
  }
}

/********map tools***************/

.map-tools {
  color: var(--warning) !important;
  background-color: #416b8f !important;
}

.map-tools:hover {
  color: var(--info) !important;
}

.map-tools-highlight {
  color: var(--pink) !important;
}

.maptool-active {
  background-color: var(--warning) !important;
  color: var(--primary) !important;
}

/********for spatial modal by Amol***************/

.btn-primary-dTable {
  display: inline-block;
  padding: 8px 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-image: none;
  border: 1px solid white;
  border-radius: 7px;
  color: #ffffff !important;
  width: 9em !important;
  /* 8.00 em */
  background-color: #5416c5 !important;
  top: 10px;
}

.btn-primary-dTable:hover,
.btn-primary-dTable:focus,
.btn-primary-dTable:active {
  background-color: #5316c5 !important;
  border-color: #faf621 !important;
}

.header-title1 {
  font-family: "Lato", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0;
  color: #fff;
  text-transform: capitalize;
  margin-left: 40px;
  margin-right: 40px;
  margin-bottom: 0px;
  padding-left: 10px;
  background: #3e496a;
}

#DT_Modal .close {
  color: #fff;
  float: right;
  font-size: 25px;
  font-weight: 500;
  position: absolute;
  right: 40px;
  /* top: 10px; */
  padding: 10px;
  opacity: 1;
}

#dtable_res tbody {
  color: #fff;
  text-align: center;
}

#dtable_res thead {
  text-align: center;
  color: #000;
}

#searchedData {
  /* padding: 4px; */
  background-color: rgba(0, 0, 30, 0.45) !important;
  width: 275px;
  height: 200px;
  text-align: justify;
  position: inherit;
  /* top: 3rem; */
  border-radius: 5px;
  /* right: -9rem; */
  color: #fff;
  overflow: auto;
}

#searchedData p:hover {
  color: yellow;
  cursor: pointer;
}

#searchedData ul {
  height: 192px;
  overflow-y: auto;
  font-size: 18px;
  margin: 0;
  padding: 0;
  border: none;
}

#searchedData ul li {
  border-bottom: azure;
  border-bottom-style: solid;
  border-bottom-width: thin;
  list-style-type: none;
}

#searchedData button {
  font-size: 12px;
  border: none;
  background: none;
  text-align: left;
  color: white;
}

#searchedData .selected {
  color: yellow;
}

.panel-close-custom {
  top: 8.8rem;
  position: relative;
  z-index: 1;
  float: right;
  right: 1px;
  border-radius: 25px !important;
}

/*********************measure *************************/

.tooltipm {
  position: relative;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  color: white;
  padding: 4px 8px;
  opacity: 0.7;
  white-space: nowrap;
}

.tooltipm-measure {
  opacity: 1;
  font-weight: bold;
}

.tooltipm-static {
  background-color: #ffcc33;
  color: black;
  border: 1px solid white;
}

.tooltipm-measure:before,
.tooltipm-static:before {
  border-top: 6px solid rgba(0, 0, 0, 0.5);
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  content: "";
  position: absolute;
  bottom: -6px;
  margin-left: -7px;
  left: 50%;
}

.tooltipm-static:before {
  border-top-color: #ffcc33;
}

/*****************search******************/

.map-searchbar .dropdown-menu {
  position: static;
}

.map-searchbar {
  background-color: rgba(4, 15, 27, 0.5);
  border-radius: 5px;
  -webkit-box-shadow: 0 0 0 2px hsla(0, 0%, 100%, 0.18);
  box-shadow: 0 0 0 2px hsla(0, 0%, 100%, 0.18);
}

.typeahead.dropdown-menu {
  /*width:600px !important;*/
}

.map-searchbar .dropdown-menu > li {
  border-bottom: 1px solid black;
  font-size: smaller;
}

.map-searchbar .dropdown-menu > li > a {
  white-space: unset !important;
}

.map-searchbar input {
  background: #0000008c;
  border: #0000000f;
  padding: 2px;
  color: #fff;
  border-radius: 5px;
}

.ui-autocomplete-loading {
  background: white url("..asset/img/ui-anim_basic_16x16.gif") right center
    no-repeat;
}

/*********************************/

#btn_stop_Analysis:focus,
#btn_stop_Analysis:hover {
  border: 0;
  cursor: pointer;
}

.nw-analysis {
  background: #192046;
}

.nwLegend {
  position: absolute;
  height: 85px;
  width: 20vw;
  background: #000000d4;
  bottom: 45px;
  right: 10px;
  overflow-y: auto;
  overflow-x: hidden;
}

.nwLegend-icon {
  position: absolute;
  height: 20px;
  width: 20px;
  background: #00000085;
  bottom: 45px;
  right: 10px;
}

.nwLegend-close {
  position: absolute;
  top: 0px;
  right: 0px;
}

@media (max-width: 767px) {
  .nwLegend {
    bottom: 55px !important;
    width: 50vw !important;
  }
}

/* scrollbar */

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 10px;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  -webkit-border-radius: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.3);
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb:window-inactive {
  background: rgba(255, 255, 255, 0.3);
}

/**********custom css *****/

.closeDiff {
  float: right;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  color: #fff !important;
  text-shadow: 0 1px 0 #fff;
  opacity: 0.5;
}

.modalDiv1 {
  width: 25%;
  /* max-height: 450px; */
  /*height: 86%;*/
  position: absolute;
  top: 11%;
  right: 1%;
  z-index: 9999;
  overflow-y: auto;
  overflow-x: hidden;
  background: #141313;
  display: none;
  border: 1px solid #15283c;
  border-radius: 5px;
}

.modal-heading1 {
  background: #020b55;
  /* linear-gradient(45deg, #007bff, transparent); */
  /* background:#ffa100; */
  margin: 0 !important;
  color: white;
  font-size: 16px !important;
  font-weight: bold !important;
}

/* Enquiry Form */
.enquiryform {
  max-height: 72vh;
  opacity: 0.9;
  background: linear-gradient(121deg, #398249, #010402);
  /*linear-gradient(140deg, #0e8fd2, #0e421a);*/
}
.enq-small {
  font-size: 10px !important;
  vertical-align: super;
}
