: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;
    border-width: 2px !important;
    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%;
  }

    .map-satellite .text-top,
.map-satellite .text-right,
.map-satellite .text-bottom,
.map-satellite .text-left,
.map-satellite .my-labels {
  color: #fff !important;
  text-shadow:
    -1px -1px 0 #000, 1px -1px 0 #000,
    -1px  1px 0 #000, 1px  1px 0 #000,
    0 0 3px #000;
}
  
  .leaflet-tooltip.my-labels {
  background-color: transparent;
  border: transparent;
  box-shadow: none;
  font-weight: bold;
  font-size: 12px;
  }
  
.circle3 {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  background-color: white;
  border-radius: 50%;
  position: relative;
  border-color: red !important;
  border-width: 2px !important;
  border-style: solid !important;
}


  .single-square {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    border-style: solid;
    border-width: 2px !important;
    /*font-size: 12px;*/
    font-weight: bold;
  }
  .single-square.square1 {
    background: rgba(255, 255, 255, 1);
    border-width: 2px !important;
    border-color: red;
    color: black;
  }

.square {
  width: 80%;
  height: 80%;
  background-color: #fff0;
  border-style: solid !important;
  border-color: red !important;
  border-width: 2px !important;
  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 !important;
}
.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: 2px solid red !important;
}

.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: 16px;
  left: 16px;
  right: 16px;
  z-index: 1000;
  background: #ffffff;
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  animation: slideUp 0.3s ease-out;
  animation-fill-mode: forwards;
}

#checkboxMobileGroup legend {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 12px;
}

#checkboxMobileGroup label {
  font-size: 14px;
  color: #374151;
}

#checkboxMobileGroup.hide {
  animation: slideDown 0.4s ease-out;
  animation-fill-mode: forwards; 
}

#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;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  z-index: 1000;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
}

.location-button:active {
  background: #f3f4f6;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.hybrid-button {
      position: fixed;
	  height: 50px;
	  top: 50px;
	  right: 20px;
	  transform: translateY(-50%);
	  z-index: 1000;
    width: 48px;
    height: 48px;
}


.settings-button {
  position: fixed;
  bottom: 24px;
  left: 16px;
  z-index: 1000;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
}

.settings-button:active {
  background: #f3f4f6;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

table {
    border-collapse: collapse; /* Объединить границы ячеек */
    width: 100%; /* Ширина таблицы */
  }
  th, td {
    border: 1px solid black; /* Границы ячеек */
    padding: 4px; /* Отступы внутри ячеек */
    text-align: left; /* Выравнивание содержимого по левому краю */
  }
  
  .error-text {
    color: red;
    margin-left: 10px;
  }