html,
body {
  margin: 0;
  font-size: 10pt;
  cursor: default;
  overflow-y: none;
}

.scBtn {
  width: 69px;
}

.noSelect {
  -webkit-user-select: none;
  /* Safari */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* IE10+/Edge */
  user-select: none;
  /* Standard */
}

.allowSelect {
  -webkit-user-select: text;
  /* Safari */
  -moz-user-select: text;
  /* Firefox */
  -ms-user-select: text;
  /* IE10+/Edge */
  user-select: text;
  /* Standard */
}

.easy-button-button {
  padding: 8px;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
  border-radius: 50% !important;
  min-width: 45px;
  min-height: 45px;
}

.leaflet-control {
  margin: 6px;
  border: none !important;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  background-color: #F5F5F5;
}

::-webkit-scrollbar {
  width: 10px;
  background-color: #F5F5F5
}

::-webkit-scrollbar-thumb {
  border-radius: 5px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
  background-color: #D3D3D3;
}

#map {
  width: 100%;
  height: 100vh;
  cursor: default;
}

#adminMap {
  width: 100%;
}

#pre-loader {
  position: fixed;
  width: 100%;
  height: 100vh;
  /* top: 0;
  left: 0;
  right: 0;
  bottom: 0; */
  z-index: 14000;
  background: #fff;
}

#pre-loader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #f2f2f2;
  border-top: 6px solid #268e5e;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

#signInContainer {
  position: absolute;
  /* width: 300px; */
  z-index: 15000;
}

.loginCtrl {
  background: transparent;
  border: none;
  border-bottom: 1px solid #000000;
  -webkit-box-shadow: none;
  box-shadow: none;
  border-radius: 0;
}

/* .loginCtrl:focus {
  -webkit-box-shadow: none;
  box-shadow: none;
} */

.fadeIn {
  animation: fadeInText 2s;
}

@keyframes fadeInText {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.loginBtn {
  width: 60px;
}

.roleBtn {
  width: 95px;
}

.roundBtnsContainer {
  padding-top: 5px;
  padding-right: 17px;
}

.btn-round {
  border-radius: 50%;
}

.project,
.pack {
  cursor: pointer;
}

.project:hover,
.pack:hover {
  background-color: rgb(255, 255, 224);
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px;
}

.packOver {
  background-color: rgb(255, 255, 224);
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px;
}

.projectSelected,
.packSelected {
  background-color: rgb(255, 255, 224);
  border-color: #008000 !important;
}

.fadeOut {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s 0.5s, opacity 0.5s linear;
}

.noSelect {
  -webkit-user-select: none;
  /* Safari */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* IE10+/Edge */
  user-select: none;
  /* Standard */
}

.offcanvas-body {
  /* padding: 3px!important; */
}

#synchroniseContainer {
  position: absolute;
  right: 5px;
  top: 56px;
}

#saveMarkersBtn,
#loadMarkersBtn,
#locationBtn,
#synchroniseBtn {
  /* padding-top: 2px;
  padding-left: 4px;
  height: 22px;
  width: 22px; */
  margin-top: 0px;
  margin-bottom: 2px;
  margin-right: 9px;
}

#saveMarkersBtn,
#loadMarkersBtn,
#synchroniseBtn {
  margin-right: 0px;
}

.searchBtn {
  width: 58px;
}

#userPreference {
  cursor: pointer;
}

/* #layers {
  overflow-y: none;
  flex-grow: 1;
} */

#layers thead {
  background-color: rgb(173, 216, 230, 0.3);
}

.layerChk {

  margin-right: 7px;
}

#customLayerSaveDialog,
#customLayerDeleteDialog,
#resetZoomLevelsDialog {
  position: fixed;
  padding: 2px;
  top: 110px;
  right: 15px;
  width: 100%;
  margin: 10px;
  z-index: 6000;
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background-color: ivory;
}

#notesCheckDialog,
#notesUncheckDialog {
  position: fixed;
  padding: 10px;
  top: 110px;
  left: 60px;
  width: 248px;
  margin: 10px;
  z-index: 6000;
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background-color: ivory;
}

.overlay {
  background-color: #EFEFEF;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 4000;
  top: 0px;
  left: 0px;
  opacity: 0;
  /* in FireFox */
  filter: alpha(opacity=0);
  /* in IE */
}

.table {
  margin-bottom: 0;
}

.layerName {
  width: 100%;
  white-space: nowrap;
}

.zoomSpinnerCol {
  min-width: 87px;
}

.layerZLValue {
  min-width: 74px;
}

.layerZLValue:focus {
  outline: none;
  box-shadow: none;
}

td {
  cursor: default;
}

td input[type="radio"] {
  margin-top: 5.7px;
}

th input[type="checkbox"] {
  margin-top: 1px;
  border: 1px solid rgba(0, 0, 0, 0.5);
}

.layerGroupLbl,
.layerTitle,
.layerLbl {
  vertical-align: middle;
  white-space: none;
}

td input[type="checkbox"] {
  margin-top: 7px;
}

.layerZL {
  caret-color: transparent;
  cursor: default;
}

.warningOrange {
  color: darkorange;
}

.fa-caret-right .fa-caret-down {
  cursor: pointer !;
}

.typeDescription {
  cursor: pointer;
}

.typeDescription:hover {
  color: orange;
  font-weight: 400 !important;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::before {
  background-color: green !important;
}

.offcanvas-body {
  overflow-y: scroll;
}

.fa-location-dot,
.fa-caret-right,
.fa-caret-down {
  cursor: pointer;
}

.fa-images,
.fa-location-dot,
.fa-caret-right,
.fa-caret-down {
  cursor: pointer;
}

.custom-checkbox .custom-control-input:checked:focus~.custom-control-label::before {
  box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 255, 0, 0.25)
}

.custom-checkbox .custom-control-input:focus~.custom-control-label::before {
  box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 0, 0, 0.25)
}

.custom-checkbox .custom-control-input:active~.custom-control-label::before {
  background-color: #C8FFC8;
}

.field-icon {
  float: right;
  margin-right: 7px;
  margin-top: -21px;
  position: relative;
  z-index: 2;
}

#signInRemindMeBtn {
  height: 31.98px;
}

.leaflet-control-zoom-display {
  background-color: #fff;
  border-bottom: 1px solid #ccc;
  width: 29px;
  height: 29px;
  line-height: 28px;
  display: block;
  text-align: center;
  text-decoration: none;
  color: black;
  padding-top: 0.3em;
  font: bold 12px/20px Tahoma, Verdana, sans-serif;
}

#zoomPanel {
  display: block;
  position: fixed;
  bottom: 15px;
  left: 0;
  right: 0;
  padding: 4px 4px 4px 4px;
  color: black;
  background-color: #F6F6F6;
  border: 1px solid #6b6b6b;
  text-align: center;
  box-shadow: 1px 2px 2px rgb(0 0 0 / 25%);
  border-radius: 5px;
  /* min-width: 300px; */
  max-width: 150px;
  margin: 0 auto;
  z-index: 999;
  font-size: 11pt;
  font-weight: 700;
  /* transition: top 0.5s ease 0s; */
  opacity: 1;
}

#createProjectPanel,
#alterProjectPanel,
#createPhasePanel,
#alterPhasePanel,
#readOnlyPanel,
#editPanel {
  display: block;
  position: fixed;
  top: -200px;
  left: 0;
  right: 0;
  padding: 3px 0px 3px;
  color: black;
  background-color: #F6F6F6;
  border: 0 1px 1px 1px solid #F6F6F6;
  border-top: none;
  text-align: center;
  box-shadow: 1px 3px 3px rgb(0 0 0 / 50%);
  border-radius: 0px 0px 10px 10px;
  /* min-width: 300px; */
  max-width: 300px;
  margin: 0 auto;
  z-index: 999;
  font-size: 11pt;
  font-weight: 700;
  transition: top 0.5s ease 0s;
  opacity: 1;
}

#createProjectPanel {
  max-width: 220px;
}

#newProjectName {
  text-transform: uppercase;
}

::-webkit-input-placeholder {
  /* WebKit browsers */
  text-transform: none;
  font-style: italic;
}

:-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  text-transform: none;
  font-style: italic;
}

::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  text-transform: none;
  font-style: italic;
}

:-ms-input-placeholder {
  /* Internet Explorer 10+ */
  text-transform: none;
  font-style: italic;
}

::placeholder {
  /* Recent browsers */
  text-transform: none;
  font-style: italic;
}

.speechBubble,
.speechBubbleGroup,
.noteCheck {
  cursor: pointer;
}

.tooltip-inner {
  text-align: left;
}

.noWrap {
  white-space: nowrap;
}

.project-cluster {
  background-color: rgba(228, 150, 4, 0.8);
}

.project-cluster div {
  background-color: rgba(228, 150, 4, 0.8);
  color: white;
  font-weight: bold;
}

.closeArrow {
  cursor: pointer;
}

.baseLayer {
  cursor: pointer;
}

.tileLayerLabel {
  position: absolute;
  top: 75px;
}

.baseLayer {
  pointer-events: none;
  filter: grayscale(100%);
}

/* premises */

.premisesExcluded {
  border-radius: 50%;
  padding: 6px;
  background-color: darkslategrey;
  border: 2px solid white;
}

.premisesPlanned {
  border-radius: 50%;
  padding: 6px;
  background-color: darkred;
  border: 2px solid white;
}

.premisesPending {
  border-radius: 50%;
  padding: 6px;
  background-color: darkorange;
  border: 2px solid white;
}

.premisesComplete {
  border-radius: 50%;
  padding: 6px;
  background-color: forestgreen;
  border: 2px solid white;
}

.premisesMultiple {
  border: 2px solid yellow;
}

.premisesPlannedPending {
  width: 6px;
  height: 6px;
  background: linear-gradient(
    90deg,
    darkred 50%,
    darkorange 50%
  );
  border-radius: 50%;
  padding: 6px;
  border: 2px solid yellow;
}

.premisesPlannedComplete {
  width: 6px;
  height: 6px;
  background: linear-gradient(
    90deg,
    darkred 50%,
    forestgreen 50%
  );
  border-radius: 50%;
  padding: 6px;
  border: 2px solid yellow;
}

.premisesPendingComplete {
  width: 6px;
  height: 6px;
  background: linear-gradient(
    90deg,
    darkorange 50%,
    forestgreen 50%
  );
  border-radius: 50%;
  padding: 6px;
  border: 2px solid yellow;
}

.premisesPlannedPendingComplete {
  position:absolute;
  width: 6px;
  height: 6px;
  background: linear-gradient(
    to right,
    darkred  0%, darkred 34%,
    darkorange 33%, orange 66%,
    forestgreen 66%, forestgreen 100%
  );
  border-radius: 50%;
  padding: 6px;
  border: 2px solid yellow;
}

.leaflet-tooltip-left:before {
  right: 0;
  margin-right: -12px;
  border-left-color: rgb(245, 131, 39);
}

.leaflet-tooltip-right:before {
  left: 0;
  margin-left: -12px;
  border-right-color: rgb(245, 131, 39);
  }
  
.leaflet-tooltip-own {
  position: absolute;
  padding: 4px;
  background-color: rgb(255, 255, 255);
  border: 0px solid rgb(245, 131, 39);
  color: #000;
  white-space: nowrap;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
  box-shadow: 0 1px 1px rgba(0,0,0,0.4);
}

#postcodeSearchPanel {
  position: fixed;
  top: 71px;
  right: 66px;
  z-index: 1000;
  border: 1px solid lightgrey;
  border-radius: 5px;  
  background-color: ivory;
  font-size: 10.5pt;
}

#postcodeSearch {
  text-transform: uppercase;
}

path.leaflet-interactive:focus {
  outline: none;
}