::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  border-radius: 2px;
  width: 20px;
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: gray;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
}

.post-record {
  margin-bottom: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
}

.deep-dialog {
  position: fixed;
  z-index: 1;
  top: 10%;
  transition: all 0.3s;
  opacity: 0;
  right: 12px;
  max-width: 31rem;
  height: auto;
  background-color: #ffffff;
  border-radius: 10px;
  border: 1px solid transparent;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  border-radius: 0.5rem;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
}
@media only screen and (max-width: 767px) {
  .deep-dialog {
    max-width: 90%;
  }
}
.deep-dialog--active {
  opacity: 1;
}

.deep-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem;
  height: 40px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.5rem 0.5rem 0 0;
}
.deep-header .title {
  font-size: 1.5rem;
  font-weight: bold;
  flex-grow: 2;
  text-align: center;
}
.deep-header .close {
  cursor: pointer;
  width: 12px;
  height: 12px;
  position: absolute;
  right: 2rem;
}
.deep-header .close img {
  width: 100%;
}

.dialog-content {
  margin-top: 2px;
  padding: 0.5rem;
  overflow-y: auto;
  max-height: 70vh;
  border-radius: 0 0 0.5rem 0.5rem;
}

.dialog-mask {
  pointer-events: auto;
  background-color: rgba(0, 0, 0, 0.65);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1600;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.post-dialog {
  top: 4rem;
}
@media only screen and (max-width: 767px) {
  .post-dialog {
    max-width: 100%;
  }
}
.post-dialog .dialog-content {
  height: 70vh;
  max-height: unset;
  text-align: center;
}

.legend-dialog {
  width: 100%;
  max-width: 40rem;
  text-align: center;
  top: 5%;
}
.legend-dialog .dialog-content {
  max-height: 80vh;
}

.load-more {
  padding: 0.5rem;
  color: #ffffff;
  border: 0.5px solid #0288d1;
  background-color: #0288d1;
  border-radius: 0.25rem;
}

.deepstate-logo {
  position: absolute;
  top: 60px;
  left: 10px;
  z-index: 1500;
}
.deepstate-logo img {
  width: auto;
  height: 65px;
  opacity: 0.7;
}

.btn-info {
  transition: all 0.3s;
  border-radius: 50%;
  text-decoration: none;
  text-shadow: 0px 1px 0px #333;
}
.btn-info:hover {
  transition: all 0.3s;
  background-color: #ffffff;
}

.disclaimer {
  position: absolute;
  width: 100%;
  height: 100vh;
  background-color: #000000;
  color: #ffffff;
  font-size: 2rem;
  display: flex;
  align-items: center;
  z-index: 2000;
  box-sizing: border-box;
  justify-content: center;
  overflow-y: auto;
}
.disclaimer .inner {
  width: 100%;
  max-width: 500px;
}
.disclaimer .inner img {
  height: 150px;
}
.disclaimer .inner-text {
  text-align: center;
}
.disclaimer .inner-text h2 {
  font-size: 3.5rem;
}
.disclaimer .inner-text p {
  font-weight: normal;
}
@media only screen and (max-width: 767px) {
  .disclaimer .inner-text p {
    font-size: 1.7rem;
  }
}
.disclaimer .inner-text strong {
  font-weight: 600;
  color: #eb0c0c;
}
.disclaimer .inner-buttons {
  width: 100%;
  display: flex;
  box-sizing: border-box;
  padding: 0 1rem;
  justify-content: space-between;
  box-sizing: border-box;
}
.disclaimer .inner-buttons button {
  outline: none;
  border: none;
  font-size: 1.25rem;
  padding: 0.75rem 1.5rem;
  background-color: #ffffff;
  cursor: pointer;
  transition: all 0.3s;
}
@media only screen and (max-width: 767px) {
  .disclaimer .inner-buttons button {
    padding: 0.75rem 1rem;
  }
}
.disclaimer .inner-buttons button:hover {
  transition: all 0.3s;
  background-color: #e7e7e7;
}

.disclaimer .disclaimer .inner-text {
  text-align: center;
  font-weight: 300;
}

.leaflet-modal .modal {
  box-sizing: border-box;
  padding: 0 1rem;
}

.search-container {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1600;
  box-sizing: border-box;
  width: 70%;
  max-width: 350px;
  margin-right: 20px;
}
.search-container .search-bar-wrap {
  box-sizing: border-box;
  height: 40px;
  padding: 10px;
  background-color: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  border-radius: 0.5rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
}
.search-container .search-bar-wrap--opened {
  border-radius: 0.5rem 0.5rem 0 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.search-container .search-bar-wrap .search-icon {
  margin-right: 10px;
  flex-grow: 0;
}
.search-container .search-bar-wrap input {
  flex-grow: 1;
  height: 26px;
  border: none;
  outline: none;
  line-height: 20px;
  font-size: 16px;
  color: #333;
  width: 100%;
}
.search-container .search-results {
  box-sizing: border-box;
  width: 100%;
  background-color: #ffffff;
  border: 1px solid transparent;
  border-radius: 0 0 8px 8px;
  display: flex;
  flex-direction: column;
  max-height: 250px;
  overflow-y: auto;
}
.search-container .search-results .result-row {
  outline: none;
  border: none;
  padding: 10px;
  padding-left: 40px;
  color: #444;
  background-color: #ffffff;
  text-align: left;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  margin: 0.25rem 0;
}
.search-container .search-results .result-row:hover {
  background-color: rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}
.search-container .search-results .no-results-row {
  padding: 10px;
  padding-left: 40px;
  color: #000000;
  text-align: left;
  font-size: 1rem;
}

.history {
  cursor: pointer;
  display: flex;
  align-items: center;
}
.history__text {
  position: relative;
  color: #0078a8;
  cursor: pointer;
  border-radius: 8px;
  background-color: #ffffff;
  transition: all 0.3s;
  padding: 0.5rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.history__text:hover {
  background-color: #f4f4f4;
  transition: all 0.3s;
  cursor: pointer;
}
.history__text .badge {
  position: absolute;
  top: -0.5rem;
  left: -0.5rem;
  width: 1rem;
  height: 1rem;
  background-color: transparent;
  border-radius: 50%;
}
.history__text .badge--active {
  background-color: #eb0c0c;
}
.history__clock {
  width: 1.5rem;
  margin-right: 0.5rem;
  cursor: pointer;
  border-radius: 8px;
  background-color: #ffffff;
  transition: all 0.3s;
  padding: 0.4rem 0.5rem 0.4rem 0.3rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.history__clock:hover {
  background-color: #f4f4f4;
  transition: all 0.3s;
}
.history__clock--active {
  background-color: #c9c8c8;
}
.history__status {
  margin-left: 0.5rem;
  text-decoration: none;
}

.ruler-modal {
  position: absolute;
  z-index: 1650;
  bottom: 10px;
  left: 50%;
  margin-left: -150px;
  box-sizing: border-box;
  width: 300px;
  padding: 10px;
  padding-top: 4px;
  border-radius: 4px;
  background-color: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.ruler-modal .close-row {
  color: #333;
  text-align: right;
}
.ruler-modal .close-row span {
  cursor: pointer;
}
.ruler-modal .close-row img {
  margin: 0.5em;
}
.ruler-modal h4 {
  font-size: 0.85rem;
  margin-top: 0;
  margin-bottom: 8px;
}
.ruler-modal .ruler-howto {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 8px;
  color: rgba(0, 0, 0, 0.58);
}

.error-modal {
  position: absolute;
  z-index: 1600;
  bottom: 0px;
  left: 50%;
  margin-left: -150px;
  box-sizing: border-box;
  width: 300px;
  padding: 10px;
  border-radius: 10px 10px 0 0;
  background-color: #cf5454;
}
.error-modal .error-message {
  color: white;
  font-size: 1.2rem;
  text-align: center;
}

.history-range {
  position: absolute;
  bottom: 6rem;
  max-width: 250px;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  opacity: 0;
}
@media only screen and (max-width: 767px) {
  .history-range {
    margin-left: 0.5rem;
  }
}
.history-range--visible {
  z-index: 1001;
  transition: all 0.3s;
  opacity: 1;
}

.leaflet-bar {
  border: 1px solid transparent !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3) !important;
  border-radius: 0.5rem !important;
  background-color: #ffffff;
  transition: all 0.3s;
}
.leaflet-bar:hover {
  background-color: #f4f4f4;
  transition: all 0.3s;
}

.leaflet-touch .leaflet-bar.leaflet-control-zoom .leaflet-control-zoom-in {
  border-radius: 8px 8px 0 0;
}
.leaflet-touch .leaflet-bar.leaflet-control-zoom .leaflet-control-zoom-out {
  border-radius: 0 0 8px 8px;
}

.legend-list {
  list-style-type: none;
  padding-left: 0.5rem;
}
.legend-list li.legend__item {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}
.legend-list .legend__description {
  text-align: left;
}

.legend__icon {
  width: 2.5rem;
}
.legend__icon img {
  width: 100%;
}

.area {
  min-width: 1.5rem;
  height: 1rem;
  margin-right: 0.5rem;
  border: 2px solid #000000;
}
.area--green {
  background-color: rgba(15, 157, 88, 0.3);
  border-color: #0f9d58;
}
.area--blue {
  background-color: rgba(2, 136, 209, 0.3);
  border-color: #0288d1;
}
.area--gray {
  background-color: rgba(188, 170, 164, 0.3);
  border-color: #bcaaa4;
}
.area--red {
  background-color: rgba(165, 39, 20, 0.3);
  border-color: #a52714;
}
.area--pink {
  background-color: rgba(255, 102, 102, 0.3);
  border-color: #ff6666;
}
.area--purple {
  background-color: rgba(136, 14, 79, 0.3);
  border-color: #880e4f;
}
.area--pink {
  background-color: rgba(255, 102, 102, 0.3);
  border-color: #ff6666;
}
.area--black {
  background-color: rgba(0, 0, 0, 0.3);
  border-color: #000000;
}

a {
  color: #0288d1;
  text-decoration: none;
  outline: none;
}

.legend-list {
  list-style-type: none;
}
.legend-list li.legend__item {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.legend__icon {
  width: 2.5rem;
}
.legend__icon img {
  width: 100%;
}

.online-table {
  width: 100%;
}

.rights {
  display: flex;
  flex-direction: column;
}
.rights__message {
  color: #000000;
  text-transform: uppercase;
  font-size: 2rem;
  font-weight: 900;
}
@media only screen and (max-width: 767px) {
  .rights__message {
    font-size: 1.5rem;
  }
}

.site-rules-dialog {
  text-align: center;
  background: #000000;
  padding: 2rem;
}
@media only screen and (max-width: 767px) {
  .site-rules-dialog {
    padding: 1rem;
    max-width: 85%;
  }
}
.site-rules-dialog .dialog-content {
  max-height: 90vh;
}

.button-link {
  width: 50%;
  margin: 0 auto;
  border-radius: 3.5rem;
  padding: 0.5rem 1rem;
  border: 1.5px solid transparent;
  color: #ffffff;
  transition: all 0.3s;
  text-transform: uppercase;
  font-size: 1.5rem;
  font-weight: 600;
}
.button-link:hover {
  transition: all 0.3s;
}
.button-link--black {
  border-color: #000000;
  color: #000000;
}
.button-link--black:hover {
  border-color: #ffffff;
  color: #ffffff;
  background-color: #000000;
}
.button-link--white {
  border-color: #ffffff;
  color: #ffffff;
}
.button-link--white:hover {
  border-color: #000000;
  color: #000000;
  background-color: #ffffff;
}

.background-dialog-image {
  border-radius: 0.5rem;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.social__wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1rem;
}
.social__item {
  width: 3rem;
  height: 3rem;
  margin: 1rem;
}

.languages {
  display: flex;
  justify-content: space-around;
}
.languages__flag {
  width: 3rem;
  height: 3rem !important;
}
.languages a {
  margin: 2rem;
  cursor: pointer;
}

.history {
  display: flex;
}
.history__calendar {
  background-color: #ffffff;
  outline: none;
  padding: 0.5rem;
  border: 1px solid #ffffff;
  font-family: inherit;
  color: #0288d1;
  border-radius: 0.5rem;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.history-list {
  list-style-type: none;
  padding: 0;
}
.history-nav {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  width: 3rem;
  background-color: #ffffff;
  margin: 0.25rem;
  border-radius: 0.5rem;
  text-align: center;
  font-weight: bold;
  outline: none;
  padding: 0.4rem 0.5rem;
  border: 1px solid #ffffff;
  cursor: pointer;
}
.history-nav:active:not(:disabled) {
  transform: translateY(2px);
}
.history-nav:disabled {
  background: gainsboro;
  border: 0;
  cursor: not-allowed;
}
.history-version {
  padding: 0.5rem;
  margin: 0.25rem;
  transition: all 0.3s;
  cursor: pointer;
  display: flex;
}
.history__datetime {
  width: 8rem;
  margin-right: 0.5rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.history__datetime:hover {
  background-color: #d9dedb;
}
.history__datetime--active {
  background-color: rgba(41, 255, 72, 0.5019607843);
}
.history__description {
  width: 100%;
}

.history-dialog {
  max-width: 60vw;
}
@media only screen and (max-width: 767px) {
  .history-dialog {
    max-width: unset;
  }
}

.badge-container {
  position: relative;
}
.badge-container .badge {
  position: absolute;
  top: -0.5rem;
  left: -0.5rem;
  width: 1rem;
  height: 1rem;
  background-color: transparent;
  border-radius: 50%;
}
.badge-container .badge--red {
  background-color: #eb0c0c;
}
.badge-container .badge--green {
  background-color: #0f9d58;
}

.leaflet-top.leaflet-right {
  /* Pad 4 round icons left to allow toolbar in */
}
@media screen and (orientation: portrait) {
  .leaflet-top.leaflet-right {
    display: flex;
    flex-direction: column;
  }
}
@media screen and (orientation: landscape) {
  .leaflet-top.leaflet-right {
    display: flex;
    flex-direction: row-reverse;
  }
}
@media screen and (orientation: landscape) and (min-height: 0) {
  .leaflet-top.leaflet-right {
    right: 45px !important;
  }
}
@media screen and (orientation: landscape) and (min-height: 308px) {
  .leaflet-top.leaflet-right {
    right: 0 !important;
  }
}

.layers-dialog .base-layer-row {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
  cursor: pointer;
}
.layers-dialog .base-layer-row .base-layer-preview {
  display: flex;
  align-items: center;
  flex-basis: 30%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
> .layers-dialog .base-layer-row .base-layer-preview.active {
  border: 3px solid #0f9d58;
}
.layers-dialog .base-layer-row .base-layer-preview .preview-default {
  border-radius: 0.5rem;
  border: 3px solid #bfbfbf;
  width: 10rem;
  height: 80px;
  background-image: url("/images/base_default.jpg");
  background-position: center center;
  background-size: cover;
}
.layers-dialog .base-layer-row .base-layer-preview .preview-terrain {
  border-radius: 0.5rem;
  border: 3px solid #bfbfbf;
  width: 10rem;
  height: 80px;
  background-image: url("/images/base_terrain.jpg");
  background-position: center center;
  background-size: cover;
}
.layers-dialog .base-layer-row .base-layer-preview .preview-satellite {
  border-radius: 0.5rem;
  border: 3px solid #bfbfbf;
  width: 10rem;
  height: 80px;
  background-image: url("/images/base_satellite.jpg");
  background-position: center center;
  background-size: cover;
}
.layers-dialog .base-layer-row .base-layer-title {
  display: flex;
  align-items: center;
  flex-basis: 70%;
  font-size: 1.3rem;
}

.filter {
  position: relative;
}

.filter-overlay {
  cursor: default;
  position: absolute;
  right: 2.5rem;
  bottom: -10rem;
  width: 10rem;
  background-color: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.filter-item {
  display: flex;
  align-items: center;
  margin: 0.25rem;
}

.filter-list {
  display: flex;
  flex-direction: column;
  padding: 0 1rem;
}

.toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.toggle-switch {
  display: inline-block;
  background: #ccc;
  border-radius: 2rem;
  width: 50px;
  height: 27px;
  position: relative;
  vertical-align: middle;
  transition: all 0.3s;
}
.toggle-switch:before, .toggle-switch:after {
  content: "";
}
.toggle-switch:before {
  display: block;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  width: 20px;
  height: 20px;
  position: absolute;
  top: 3px;
  left: 4px;
  transition: left 0.25s;
}
.toggle-checkbox:checked + .toggle-switch {
  background: #0288d1;
}
.toggle-checkbox:checked + .toggle-switch:before {
  left: 25px;
}

.toggle-checkbox {
  position: absolute;
  visibility: hidden;
}

.toggle-label {
  margin-left: 0.5rem;
  position: relative;
  font-size: 1rem;
  top: 2px;
}

.arty-ui.arty-filter {
  margin-bottom: 0.5rem;
}
.arty-ui.arty-filter .arty-filter-item {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  color: #555;
  border-radius: 1.5rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  background-color: #e2e2e2;
  cursor: pointer;
}
.arty-ui.arty-filter .arty-filter-item.active {
  background-color: #c2c2c2;
}
.arty-ui.round-go-back {
  padding: 0.25rem 0.75rem;
  font-size: 1.1rem;
  text-align: center;
}
.arty-ui.round-go-back span {
  cursor: pointer;
  color: #018bc2;
}
.arty-ui.round-go-back span:hover {
  text-decoration: underline;
  color: #0078a8;
}
.arty-ui .arty-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0.25rem 1rem;
  border-bottom: 1px solid #c9c8c8;
}
.arty-ui .arty-row .arty-icon {
  display: inline;
  /*height: 1.3rem;
  width: auto;*/
  margin-right: 0.25rem;
}
.arty-ui .arty-row .arty-icon img {
  height: 1.3rem;
  width: auto;
}
.arty-ui .arty-row .arty-title {
  font-size: 1.3rem;
  margin-bottom: 0;
}
.arty-ui .arty-row .arty-title .calibre {
  color: #aaaaaa;
}
.arty-ui .arty-row .arty-capable--yes {
  color: #0f9d58;
  margin-bottom: 0.5rem;
}
.arty-ui .arty-row .arty-capable--no {
  color: #eb0c0c;
  margin-bottom: 0.5rem;
}
.arty-ui .arty-row .wiki-link {
  margin-bottom: 0.5rem;
}
.arty-ui .arty-row .arty-select {
  width: 50px;
  font-weight: 600;
  color: #aaaaaa;
  font-size: 2.5rem;
  text-align: center;
  cursor: pointer;
  align-self: center;
}
.arty-ui .round-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 0.25rem 1rem;
  border-bottom: 1px solid #c9c8c8;
}
.arty-ui .round-row .round-title {
  font-size: 1.3rem;
  margin-bottom: 0;
}
.arty-ui .round-row .arty-capable--yes {
  color: #0f9d58;
  margin-bottom: 0.5rem;
}
.arty-ui .round-row .arty-capable--no {
  color: #eb0c0c;
  margin-bottom: 0.5rem;
}
.arty-ui .round-row .wiki-link {
  margin-bottom: 0.5rem;
}
.arty-ui .round-row .round-select {
  width: 50px;
  font-weight: 600;
  color: #aaaaaa;
  font-size: 2.5rem;
  text-align: center;
  cursor: pointer;
  align-self: center;
}

.arty-modal {
  position: absolute;
  z-index: 1640;
  bottom: 10px;
  left: 50%;
  margin-left: -150px;
  box-sizing: border-box;
  width: 300px;
  padding: 10px;
  padding-top: 4px;
  border-radius: 4px;
  background-color: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.arty-modal .close-row {
  color: #333;
  text-align: right;
}
.arty-modal .close-row span {
  cursor: pointer;
}
.arty-modal .close-row img {
  margin: 0.5em;
}
.arty-modal h4 {
  font-size: 0.85rem;
  margin-top: 0;
  margin-bottom: 8px;
}
.arty-modal .arty-howto {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 8px;
  color: rgba(0, 0, 0, 0.58);
}
.arty-modal span.change-round {
  cursor: pointer;
  color: #018bc2;
}
.arty-modal span.change-round:hover {
  text-decoration: underline;
  color: #0078a8;
}

@supports (-webkit-touch-callout: none) {
  .leaflet-control-container .leaflet-top,
.leaflet-control-container .leaflet-bottom {
    will-change: transform;
  }
}