*,
*::before,
*::after {
  box-sizing: border-box;
}
#map {
  height: 100%;
  background-color: #44575b;
}
body {
  padding: 0;
  margin: 0;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
/* .leaflet-control-attribution {
  display: none;
} */
.but-ev {
  width: 50px;
  height: 50px;
  position: absolute;
  top: 50px;
  background: #fff;
  z-index: 1000;
  display: flex;
  border-radius: 3em;
  right: 0px;
  border-radius: 6px 0 0 6px;
  background-repeat: no-repeat;
  background-size: 24px;
  background-position: center center;
  margin: auto;
  fill: #3a2bd1;
  color: #3a2bd1;
}
.but-ev:hover {
  background-color: #e2e2e2;
  cursor: pointer;
}
.menu-l {
  z-index: 1000;
  bottom: 10px;
  left: 10px;
  position: absolute;
  width: 400px;
  transition: 0.5s ease-in-out;
  opacity: 0;
}
.menu-r {
  background: #fff;
  z-index: 1000;
  bottom: 10px;
  right: 10px;
  display: flex;
  position: absolute;
  border-radius: 0.25em;
}
.menu-r > .params > .param {
  padding: 0 10px;
}
.menu-r > .params > .param:hover {
  transform: unset;
}
.menu-r.active {
  -webkit-box-shadow: 0px 0px 20px 0px #000000;
  box-shadow: 0px 0px 20px 0px #000000;
  border-radius: unset;
}
.tabs{
  display:flex;
}
.tab{
  border: 0;
  padding: 7px;
  width: 100%;
  margin: 5px;
}
.tab.active{
  background:#3a2bd1;
  color:white;
}
.params {
  margin: auto;
  margin-left: auto;
  margin-right: auto;
  padding: 5px 0;
  overflow-x: hidden;
  height: 200px;
}
.minimize{
  margin-left: 205px;
  background: 0;
  border: 0;
  font-size: 25px;
  color: #3727d2;
}
.maximize
{
    position: absolute;
    bottom: 100px;
    background: #000;
    height: 50px;
    z-index: 1000;
    background: #fff;
    border: 0;
    border-radius: 0 6px 6px 0;
    color: #fff;
    font-size: 20px;
    width: 50px;
    background-image: url(../assets/icons/menu-left.svg);
    background-repeat: no-repeat;
    background-size: 24px;
    background-position: center center;
}
.params::-webkit-scrollbar, .menu-body::-webkit-scrollbar {
  width: 5px;
}

.params::-webkit-scrollbar-track, .menu-body::-webkit-scrollbar-track {
  -webkit-box-shadow: 5px 5px 5px -5px rgba(34, 60, 80, 0.2) inset;
  background-color: #f9f9fd;
  border-radius: 10px;
}

.params::-webkit-scrollbar-thumb, .menu-body::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #C0C0C0;
}
.param_title {
  margin-bottom: 10px;
  display: inline-block;
}
.param {
  cursor: pointer;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  transition: transform 0.2s ease-in;
  font-size: 12px;
}
.param:hover {
  transform: translateX(5px);
}
.param_color {
  display: block;
  width: 18px;
  margin-top: auto;
  height: 18px;
  margin-bottom: auto;
  object-fit: contain;
}
.param_text {
  margin-left: 5px;
  text-overflow: ellipsis;
  overflow: hidden;
}
.leaflet-popup-content {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol";
}
.leaflet-popup-content input[type="text"] {
  padding: 10px 5px;
  outline: none;
  border: 1px solid #1a0046;
  margin-right: 7px;
  font-family: inherit;
}
.leaflet-popup-content input[type="button"] {
  padding: 10px 15px;
  outline: none;
  border: transparent;
  background-color: #1a0046;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
}
.layer2 {
  top: 120px;
}
.editpath-l2 {
  width: 30px;
}
label {
  margin-left: 5px;
}
.menu-popup {
  opacity: 0;
  background: #fff;
  transition: 0.5s ease-in-out;
  padding-bottom: 15px;
  overflow: hidden;
  border-radius: 0.25em;
}
.picture-cover {
  height: 200px;
}
.menu-header {
  background: #3a2bd1;
  color: #fff;
  display: flex;
  align-items: center;
}
.menu-closer {
  background-image: url("../assets/icons/arrow-left.svg");
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 16px;
  border: none;
  outline: none;
  font-size: 20px;
  color: white;
  cursor: pointer;
  width: 45px;
  height: 45px;
}
.menu-closer--black {
  display: none;
  background-image: url("../assets/icons/arrow-left-black.svg");
  position: absolute;
  top: 10px;
  right: 10px;
}
.menu-body {
  margin: 15px;
  line-height: 135%;
  max-height: 500px;
  overflow: auto;
}
.picture {
  height: 100%;
  width: 400px;
  object-fit: cover;
}
.menu-topic {
  padding: 10px;
  text-align: center;
}
.active {
  opacity: 1;
  transition: 0.5s ease-in-out;
}
.legend {
  padding: 10px;
  width: 300px;
  background: #fff;
  transition: 0.5s ease-in-out;
  border-radius: 0.25em;
}
.menu-link {
  padding: 10px 15px;
  background-color: #3a2bd1;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: 0.2s ease-in-out;
}
.menu-link:hover {
  background-color: #1a0046;
}
.editzone{
  margin: auto;
  font-size: 34px;
  margin-left: 15px;
}
.burger{
  display: none;
  background-image: url("../assets/icons/burger-btn.svg");
}
#edit{
  background-image: url("../assets/icons/edit-btn.svg");
}
#view{
  background-image: url("../assets/icons/view-btn.svg");
}
#action{
  background-image: url("../assets/icons/action-btn.svg");
}

/* Media Queries */

@media only screen and (max-width: 768px) {
  .params {
    padding: 5px 0;
  }
  .legend {
    font-size: 14px;
  }
  .param {
    font-size: 12px;
  }
  .param:hover {
    transform: unset;
  }
  .menu-r > .params > .param {
    padding: 0 5px;
  }
}
@media only screen and (max-width: 685px) {
  .menu-r {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(-252.48px);
    bottom: 0;
    right: unset;
    transition: transform 0.2s ease-in-out;
  }
  .menu-r.active {
    transform: translateX(0);
  }
  .menu-closer--black {
    display: block;
  }
  .minimize{
    display:none;
  }
  .burger {
    display: block;
  }
  .menu-l {
    width: 100%;
    bottom: 0;
    left: 0;
  }
  .legend {
    border-radius: unset;
    max-height: 100px;
    width:inherit;
  }
  .menu-popup {
    overflow: unset;
    border-radius: unset;
  }
  .menu-header {
    font-size: 14px;
  }
  .menu-body {
    font-size: 12px;
    margin: 20px;
  }
  .menu-link {
    font-size: 12px;
    font-weight: 500;
  }
  .menu-closer {
    width: 40px;
    height: 40px;
  }
  .picture {
    width: 100%;
  }
  .menu-r > .params > .param {
    padding: 5px 15px;
  }
  .params {
    padding: 15px 0;
    height:inherit;
  }
  .param:not(:last-child) {
    margin-bottom: 15px;
  }
  .param {
    margin-bottom: unset;
  }
  .param-name {
    font-weight: 700;
    font-size: 14px;
  }
  .param-checkbox {
    width: 20px;
    height: 20px;
  }
}
@media only screen and (max-width: 425px) {
  .picture-cover {
    height: 125px;
  }
}