/* hacky - based on algorithm name length */
.pl-overlay-panel {
  width: 250px;
  height: 100%;
  visibility: hidden;
  position: absolute;
  top: 0;
  right: 0;
  transition: transform 100ms ease-in-out, visibility 100ms;
  transform: translateX(100%);
}
.pl-overlay-panel:before {
  content: '';
  width: 15px;
  height: 100%;
  box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.5), 0 0 15px 0 rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(100%);
}
.pl-rtl .pl-overlay-panel:before {
  left: auto;
  right: 0;
  transform: translateX(-100%);
}
.pl-rtl .pl-overlay-panel {
  right: auto;
  left: 0;
  transform: translateX(-100%);
}
.pl-rtl .pl-overlay-panel .pl-heading {
  padding-left: 24px;
}
.pl-overlay-panel.pl-open {
  visibility: visible;
  transform: translateX(0);
}
.pl-overlay-panel.pl-open:before {
  transform: translateX(0);
}
.pl-overlay-panel .pl-overlay-panel-close {
  width: 24px;
  height: 24px;
  border-radius: 2px;
  background-color: #e6e6e6;
  cursor: pointer;
  position: absolute;
  top: 9px;
  right: 9px;
}
.pl-rtl .pl-overlay-panel .pl-overlay-panel-close {
  right: auto;
  left: 9px;
}
.pl-overlay-panel .pl-overlay-panel-content {
  width: 100%;
  background-color: #e6e6e6;
  overflow: auto;
  position: absolute;
  top: 40px;
  bottom: 0;
}
.pl-overlay-panel .pl-overlay-panel-content.pl-full-size {
  top: 0;
}
.pl-button {
  display: inline-block;
  margin: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 2px;
  font-size: 14px;
  line-height: 28px;
  font-weight: 600;
  color: #f2f2f2;
  text-transform: uppercase;
  background-color: #d9d9d9;
  outline: none;
  cursor: pointer;
  position: relative;
}
.pl-button:hover {
  background-color: #cccccc;
}
.pl-button:hover .pl-tooltip {
  opacity: 1;
  visibility: visible;
}
.pl-button.pl-button-large {
  padding: 0 18px;
  font-size: 15px;
  line-height: 36px;
}
.pl-button.pl-button-danger:hover {
  background-color: #f33300;
}
.pl-button.pl-button-primary {
  background-color: #009da5;
}
.pl-button.pl-button-primary:hover {
  background-color: #00858c;
}
.pl-button.pl-disabled {
  background-color: #e6e6e6;
  cursor: default;
}
.pl-button.pl-disabled:hover {
  background-color: #e6e6e6;
}
.pl-button .pl-font-icon {
  display: block;
  margin: 0 -9px;
  font-size: 22px;
  line-height: 28px;
}
.pl-heading {
  height: 40px;
  margin: 0;
  border-bottom: 0;
  font-size: 0;
  line-height: 40px;
  color: #666666;
  background-color: #e6e6e6;
  position: relative;
}
.pl-heading.pl-clickable .pl-heading-content {
  cursor: pointer;
}
.pl-heading.pl-clickable .pl-heading-content:hover {
  background-color: #ececec;
}
.pl-heading.pl-active .pl-heading-content {
  background-color: #f2f2f2;
}
.pl-heading.pl-active .pl-heading-content:hover {
  background-color: #f2f2f2;
}
.pl-heading .pl-heading-content {
  width: 100%;
  height: 100%;
  padding: 0 16px;
  position: absolute;
  top: 0;
  left: 0;
}
.pl-heading .pl-heading-content .pl-heading-icon,
.pl-heading .pl-heading-content .pl-heading-text {
  display: inline-block;
  vertical-align: middle;
}
.pl-heading .pl-heading-content .pl-heading-icon {
  margin: 0 8px 0 -4px;
  cursor: pointer;
  position: relative;
}
.pl-heading .pl-heading-content .pl-heading-icon.pl-active {
  color: #009da5;
}
.pl-heading .pl-heading-content .pl-heading-icon.pl-active.pl-clickable:hover {
  color: #4d9b9f;
}
.pl-heading .pl-heading-content .pl-heading-icon.pl-clickable:hover {
  color: #999999;
}
.pl-heading .pl-heading-content .pl-heading-icon.pl-clickable:hover .pl-tooltip {
  visibility: visible;
  opacity: 1;
}
.pl-rtl .pl-heading .pl-heading-content .pl-heading-icon {
  margin: 0 -4px 0 8px;
}
.pl-heading .pl-heading-content .pl-heading-icon .pl-font-icon {
  display: block;
  font-size: 22px;
}
.pl-heading .pl-heading-content .pl-heading-text {
  font-size: 16px;
  font-weight: 600;
}
.pl-heading .pl-heading-buttons {
  line-height: 28px;
  text-align: right;
  position: absolute;
  top: 6px;
  right: 16px;
}
.pl-rtl .pl-heading .pl-heading-buttons {
  right: auto;
  left: 16px;
}
.pl-heading .pl-heading-buttons .pl-button {
  vertical-align: top;
  margin-left: 8px;
}
.pl-rtl .pl-heading .pl-heading-buttons .pl-button {
  margin-left: 0;
  margin-right: 8px;
}
.pl-switch {
  margin: 8px 0;
  cursor: pointer;
  position: relative;
}
.pl-switch.pl-right .pl-switch-label {
  margin-left: 0;
  margin-right: 16px;
}
.pl-rtl .pl-switch.pl-right .pl-switch-label {
  margin-left: 16px;
  margin-right: 0;
}
.pl-switch.pl-right .pl-switch-control {
  float: right;
}
.pl-rtl .pl-switch.pl-right .pl-switch-control {
  float: left;
}
.pl-switch .pl-switch-input {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
}
.pl-switch .pl-switch-label,
.pl-switch .pl-switch-control {
  display: inline-block;
  vertical-align: top;
}
.pl-switch .pl-switch-label {
  margin-left: 16px;
  line-height: 16px;
  cursor: pointer;
}
.pl-rtl .pl-switch .pl-switch-label {
  margin-left: 0;
  margin-right: 16px;
}
.pl-switch .pl-switch-control {
  float: left;
  position: relative;
}
.pl-rtl .pl-switch .pl-switch-control {
  float: right;
}
.pl-toggle.pl-toggled .pl-toggle-control .pl-toggle-control-track {
  background-color: #009da5;
}
.pl-toggle.pl-toggled .pl-toggle-control .pl-toggle-control-handle {
  left: 16px;
  background-color: #4d9b9f;
}
.pl-toggle .pl-toggle-control {
  width: 34px;
  height: 18px;
  padding: 3px 0;
}
.pl-toggle .pl-toggle-control .pl-toggle-control-track {
  width: 34px;
  height: 12px;
  border-radius: 6px;
  background-color: rgba(0, 0, 0, 0.45);
  transition: background-color 150ms ease-in-out;
}
.pl-toggle .pl-toggle-control .pl-toggle-control-handle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #cccccc;
  position: absolute;
  top: 0;
  left: 0;
  transition: left 150ms ease-in-out, background-color 150ms ease-in-out;
}
.pl-layer-control .pl-toggle {
  margin: 0;
}
.pl-basemap-dropdown {
  opacity: 0;
  visibility: hidden;
  margin-bottom: 7px;
  padding: 15px 15px 0;
  border-radius: 2px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  list-style: none;
  color: #cccccc;
  background-color: #f2f2f2;
}
.pl-basemap-dropdown.pl-visible {
  opacity: 1;
  visibility: visible;
  transition: all 450ms cubic-bezier(0.25, 0.25, 0, 1.33);
}
.pl-basemap-dropdown li {
  height: 28px;
  margin-bottom: 15px;
  padding: 4px 0 6px 41px;
  position: relative;
}
.pl-basemap-dropdown li:hover {
  color: #999999;
  text-decoration: underline;
}
.pl-basemap-dropdown li.pl-selected {
  color: #999999;
}
.pl-rtl .pl-basemap-dropdown li {
  padding-left: 0;
  padding-right: 41px;
}
.pl-basemap-dropdown li .pl-basemap-icon {
  width: 28px;
  height: 28px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  top: 0;
  left: 0;
  background-size: 28px 28px;
}
.pl-rtl .pl-basemap-dropdown li .pl-basemap-icon {
  left: auto;
  right: 0;
}
.pl-basemap-chooser {
  cursor: pointer;
}
.pl-basemap-chooser .pl-basemap-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 2px;
  position: absolute;
  top: 5px;
  left: 12px;
  background-size: 24px 24px;
  background-repeat: no-repeat;
}
.pl-basemap-chooser .pl-basemap-icon.pl-basemap-icon-mapbox {
  background-image: url(../assets/basemaps/mapbox.png);
}
.pl-basemap-chooser .pl-basemap-icon.pl-basemap-icon-darkterrain {
  background-image: url(../assets/basemaps/darkterrain.png);
}
.pl-basemap-chooser .pl-basemap-icon.pl-basemap-icon-terrain {
  background-image: url(../assets/basemaps/terrain.png);
}
.pl-rtl .pl-basemap-chooser .pl-basemap-icon {
  left: auto;
  right: 12px;
}
.pl-basemap-chooser .pl-layer-control-label {
  padding-left: 40px;
}
.pl-rtl .pl-basemap-chooser .pl-layer-control-label {
  padding-left: 0;
  padding-right: 40px;
}
.pl-basemap-chooser .pl-basemap-dropdown {
  width: 101%;
  position: absolute;
  bottom: 100%;
  left: -1px;
}
.pl-basemap-chooser .pl-font-icon {
  vertical-align: top;
  line-height: 18px;
}
.pl-layer-controls {
  height: 66px;
  position: absolute;
  bottom: 22px;
  left: 15px;
  padding: 15px;
}
.pl-rtl .pl-layer-controls {
  left: auto;
  right: 15px;
}
.pl-layer-control {
  display: inline-block;
  vertical-align: top;
  height: 36px;
  margin-right: 24px;
  padding: 9px 12px;
  border-radius: 2px;
  box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.36);
  font-size: 14px;
  color: #cccccc;
  background-color: #f2f2f2;
  position: relative;
}
.pl-layer-control:last-child {
  margin-right: 0;
}
.pl-rtl .pl-layer-control:last-child {
  margin-right: 24px;
}
.pl-rtl .pl-layer-control:first-child {
  margin-right: 0;
}
.pl-layer-control .pl-layer-control-label {
  display: inline-block;
  vertical-align: top;
  margin-right: 20px;
  line-height: 16px;
}
.pl-rtl .pl-layer-control .pl-layer-control-label {
  margin-right: 0;
  margin-left: 20px;
}
/* hacks */
.ol-logo-only {
  display: none;
}
.pl-layer-controls {
  left: 1em;
  bottom: 0;
}
/* end hacks */
.pl-root {
  position: absolute;
  width: 100%;
  height: 100%;
}
.pl-map {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  bottom: 0;
}
.pl-legend {
  z-index: 1;
  position: absolute;
  left: 30px;
  padding: .5em;
  bottom: 81px;
  color: #666666;
  background: #f2f2f2;
  border-radius: 2px;
  box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.36);
  font-size: 14px;
}
.pl-legend .pl-button {
  background-color: #666666;
}
.pl-legend div {
  clear: both;
}
.pl-legend span:first-child {
  float: left;
}
.pl-legend span:last-child {
  float: right;
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: 1em;
  margin-top: 2px;
  border: 1px solid #cccccc;
}
.pl-sidebar-top {
  position: absolute;
  top: 0;
  height: 12em;
  padding: 0 1em;
}
.pl-algorithm-select .pl-algorithm {
  cursor: pointer;
  margin-bottom: .5em;
}
.pl-algorithm-select .pl-algorithm:hover {
  color: #009da5;
}
.pl-algorithm-select .pl-active-algorithm {
  background: #f2f2f2;
}
.pl-sidebar-bottom {
  position: absolute;
  top: 12em;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 1em;
  overflow: auto;
}
.pl-sidebar-bottom p {
  font-weight: bold;
}
