:root{
    --fontSize: 12px;
} 

#map {
  position: relative;
  height: 100vh;
}

 .circle {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    border-radius: 50%;
    border-style: solid;
    font-size: 12px;
    font-weight: bold;
  }
  .circle.circle1 {
    background: rgba(255, 255, 255, 1);
    border-color: red;
    color: black;
  }
  .circle.circle2 {
    background: rgba(0, 57, 128, 0.2);
    border-color: green;
    color: yellow;
  }
  
.outer-div {
  width: 200px;
  height: 200px;
  position: relative;
  border: 2px solid #000; /* Обводка внешнего div */
}

/* Стиль треугольника */
.triangle {
  width: 0;
  height: 0;
  border-left: calc(50% - 10px) solid transparent; /* Измените 10px на нужный размер треугольника */
  border-right: calc(50% - 10px) solid transparent;
  border-bottom: calc(100% - 20px) solid #000; /* Измените 20px на нужный размер треугольника */
  position: absolute;
  bottom: -20px; /* Смещение треугольника вниз на половину его высоты */
  left: calc(50% - 10px); /* Позиционирование треугольника по центру внешнего div */
}
  
/*  .triangle {
  width: 0;
  height: 0;
  border-left: calc(50% - 10px) solid transparent; 
  border-right: calc(50% - 10px) solid transparent;
  border-bottom: calc(100% - 20px) solid #000; 
  position: absolute;
  bottom: -20px; 
  left: calc(50% - 10px); 
}*/
  
  .text-left {
    /*display: table-cell;
    text-align: left;
    vertical-align: middle;*/
	background-color: transparent;
	border: transparent;
	box-shadow: none;
    font-size: 12px;
    font-weight: bold;
	position: absolute;
	right: 120%;
	top: 15%;
  }
  
  .text-right {
    /*display: table-cell;
    text-align: left;
    vertical-align: middle;*/
    font-size: 12px;
    font-weight: bold;
	position: absolute;
	left: 120%;
	top: 15%;
  }
  
  .text-bottom {
    /*display: table-cell;
    text-align: left;
    vertical-align: middle;*/
    font-size: 12px;
    font-weight: bold;
	position: absolute;
	left: 25%;
	top: 100%;
  }
  
  .text-top {
    /*display: table-cell;
    text-align: left;
    vertical-align: middle;*/
	background-color: transparent;
	border: transparent;
	box-shadow: none;
    font-size: 12px;
    font-weight: bold;
	position: absolute;
	left: 25%;
	top: -100%;
  }
  
  .leaflet-tooltip.my-labels {
  background-color: transparent;
  border: transparent;
  box-shadow: none;
  font-weight: bold;
  font-size: 12px;
  }
  
.circle3 {
  /*width: 20px; 
  height: 20px;  */
  display: table-cell;
  text-align: center;
    vertical-align: middle;
  background-color: white; /* задайте цвет фона круга */
  border-radius: 50%; /* установите радиус границы круга в 50% от ширины или высоты */
  position: relative;
  border-color: red;
  border-width: 2px;
  border-style: solid;
}


  .single-square {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    border-style: solid;
    /*font-size: 12px;*/
    font-weight: bold;
  }
  .single-square.square1 {
    background: rgba(255, 255, 255, 1);
    border-color: red;
    color: black;
  }

.square {
	
  width: 60%; /* квадрат будет иметь 100% ширины круга */
  height: 60%; /* квадрат будет иметь 100% высоты круга */
  background-color: #fff0; /* задайте цвет фона квадрата */
  
  
  border-style: solid;
  border-color: red;
  border-width: 2px;
 /* transform: rotate(45deg);*/ /* поворот квадрата на 45 градусов */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* центрирование квадрата */
}

.octagonWrap {
    width:43px;
    height:43px;
    float: left;
    position: relative;
    overflow: hidden;
}
.octagon {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    overflow: hidden;
    transform: rotate(45deg);
    background: white;
    border: 2px solid red;
}
.octagon:before {
    position: absolute;
    /* There needs to be a negative value here to cancel
     * out the width of the border. It's currently -3px,
     * but if the border were 5px, then it'd be -5px.
     */
    top: -2px; right: -2px; bottom: -2px; left: -2px;
    transform: rotate(45deg);
    content: '';
    border: inherit;
}

.text-triangle {
            position: absolute;
            top: 45%;
            left: 35%;
            transform: translate(-50%, -50%);
            text-align: center;
            font-size: 10px;
            color: black;
        }

.octagon-text-rotate {
	transform: rotate(-45deg);
	position: absolute;
}

.octagon-text {
	position: relative;
	left: 40%;
	top: 10%;
}
  
  input{
	margin-top: 5px;
	margin-bottom: 5px;
} 

#checkboxGroup {
  position: fixed;
  bottom: 10px;
  left: 10px;
  z-index: 1000;
  width: 300px;
  background-color: white;
  padding: 10px;
  border-radius: 10px;
}

#checkboxGroup legend {
  font-weight: bold;
  margin-bottom: 5px;
}

#checkboxMobileGroup {
  position: fixed;
  bottom: 10px;
  left: 10px;
  z-index: 1000;
  width: 300px;
  background-color: white;
  padding: 10px;
  border-radius: 10px;
  animation: slideUp 0.6s ease-out; /* Анимация появления */
  
  animation-fill-mode:forwards;
}

#checkboxMobileGroup legend {
  font-weight: bold;
  margin-bottom: 5px;
}

#checkboxMobileGroup.hide {
  animation: slideDown 4s ease-out; /* Анимация появления */
}

#map .leaflet-control-zoom {
  margin-top: 40px; /* Измените значение здесь для регулировки отступа */
}

@keyframes slideUp {
  0% {
    bottom: -20%; /* Картинка начинает свой путь из-за пределов экрана */
  }
  100% {
    bottom: 10px; /* Картинка поднимается вверх до полной видимости */

  }
}

@keyframes slideDown {
  0% {
    bottom: 10px; /* Картинка начинает свой путь из-за пределов экрана */
  }
  100% {
    bottom: -100%; /* Картинка поднимается вверх до полной видимости */

  }
}

.location-button {
      position: fixed;
	  height: 50px;
	  top: 50%;
	  right: 20px;
	  transform: translateY(-50%);
	  z-index: 1000;
    width: 48px;
    height: 48px;
}

.hybrid-button {
      position: fixed;
	  height: 50px;
	  top: 50px;
	  right: 20px;
	  transform: translateY(-50%);
	  z-index: 1000;
    width: 48px;
    height: 48px;
}


.settings-button {
  position: fixed;
height: 50px;
bottom: 15px;
left: 25px;
z-index: 1000;
width: 48px;
height: 48px;
}

table {
    border-collapse: collapse; /* Объединить границы ячеек */
    width: 100%; /* Ширина таблицы */
  }
  th, td {
    border: 1px solid black; /* Границы ячеек */
    padding: 4px; /* Отступы внутри ячеек */
    text-align: left; /* Выравнивание содержимого по левому краю */
  }
  
  .error-text {
    color: red;
    margin-left: 10px;
  }