html, body {
    height: 99%;
    margin: 0;
}

.base_container_for_content {
    height: 87%;
    padding: 0px;
}

.page_map_of_quarry {
    position: relative;
    height: 100%;
}


/* Map */
.container_for_map {
    height: 100%;
    background-color: black;
}

.map {
    width: 100%;
    height: 100%;
}

/* Видимые маркеры */
.cluster-class {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background: #596a43;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cluster-content {
    color: white;
    font-weight: bold;
}


.marker-container {
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.marker-container:hover {
    .marker-title {
        display: block;
    }
}

.marker-title{
  display: none;

}

.marker-outer {
    width: 48px;
    height: 48px;
    border: 4px solid #646B41;  
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}

.marker-inner {
    width: 32px;
    height: 32px;
    background-color: #646B41;     
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;             
    font-weight: bold;
}




/* Настрочки всех чекбоксов */
.custom-checkbox {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

.custom-checkbox + label {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  opacity: 0.6;
}

.custom-checkbox + label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  flex-grow: 0;
  background-color: white;
  border: 1px solid white;
  border-radius: 0.25em;
  margin-right: 0.5em;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 80% 80%;
}

.custom-checkbox:checked + label::before {
  border-color: #CFD3BB;
  background-color: white;
  border: 1px solid white;
  background-image: url("/static/order_cost_calculator/img/cheked.svg");
}


/* Container with list of quarries */

.container_for_absolute{
  position: absolute;
  top: 20px;
  left: 10px;
  width: 25%;
  height: 80%;
  box-sizing: border-box;
}

@media screen and (max-width: 991px) {
  .container_for_absolute {
      height: 90%;
      width: 100%;
      display: none;
  }
}

.container_for_list {
  position: relative;   
  padding: 0px 10px; 
  background-color: white;
  border-radius: 10px;
  font-size: 14px;
  height: 100%;
  overflow-y: auto;
  overflow: auto;
  box-sizing: border-box;
}


.container-for-search-bar{
  padding: 20px 10px 20px 10px;
}

.search-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #DBDECF;
  border-radius: 8px;
  background-color: white;
}

.search-bar input {
  width: 70%;
  height: 25px;
  border: none;
}

.search-bar button {
  display: flex;
  align-items: center;
  padding: 0px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.search-bar button img{
}

.material-filter {
  width: 100%;
  background-color: #CFD3BB;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.material-filter-title {
  padding: 10px 0px;
  margin-top: 0;
  font-size: 14px;
  font-weight: 400;
}



.materila-filter-items {
  display: flex;
  flex-wrap: wrap;
}

.materila-filter-item {
  padding: 5px;
  display: flex;
  align-items: center;
}

.container-for-quarry{
  padding: 15px 20px;
  border-top: 2px solid #D8DACF;
  cursor: pointer;
}

.container-for-quarry.highlight{
  background-color: #D8DACF;
}

.container-for-quarry:hover{
  background-color: #D8DACF;
}



.quarries-title {
  padding: 10px 0px 10px 0px;
  margin-top: 0;
  font-size: 14px;
  font-weight: 400;
}

.quarry p{
  padding: 0px;
  margin: 8px 0px;
  opacity: 0.6;
}

.quarry a{
  color: black;
  opacity: 0.6;
  text-decoration: none;
}

.quarry a:hover{
  text-decoration: underline;
}

.open-and-close-button{
  background: none;
  border: none;
}

.contaner-for-open-and-close-button{
  position: absolute;
  bottom: 0px;
  display: flex;
  justify-content: flex-end;

}

.open-and-close-button img{
  width: 50px;
  height: 50px;
}


/* Container for info about quarry */
.container_for_info_about_quarry{
  display: none;
  position: absolute;
  top: 20px;
  right: 10px;
  width: 25%;
  box-sizing: border-box;
}

.container_for_info_about_quarry .button_close{
  cursor: pointer;
}

.container_for_info_about_quarry .info_about_quarry{
  position: relative;
  padding: 20px;
  background-color: white;
  border-radius: 10px;
  font-size: 14px;
}

.container_for_info_about_quarry .button_close{
  display: flex;
  justify-content: flex-end;
}

.container_for_info_about_quarry  .quarry_name{
  font-size: 16px;
  font-weight: 400;
}

.container_for_info_about_quarry .quarry_address{
  padding: 10px 0px;
  font-size: 14px;
  opacity: 0.6;
}

.container_for_info_about_quarry hr{
  width: 100%;
  border: 1px solid #D8DACF;
  margin: 10px 0px;
}

.container_for_info_about_quarry  .quarry_distance{
  display: flex;
  justify-content: flex-start;
  padding: 10px 0px;
  font-size: 14px;
  font-weight: 100;
}

.container_for_info_about_quarry .quarry_distance_value {
  padding-left: 10px;
  font-weight: 400;
}

.container_for_info_about_quarry .link_to_calulate{
  padding-top: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: black;
  
}

.container_for_info_about_quarry .link_to_calulate button{
  width: 300px;
  height: 50px;
  padding: 10px 0px;
  font-size: 14px;
  font-weight: 400;
  background-color: #ED8C33;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}

/* User location marker styles */
.user-location-marker-container {
  position: relative;
  transform: translate(-50%, -100%);
}

.user-location-marker {
  width: 32px;
  height: 32px;
  background-color: red;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  position: relative;
}

.user-location-cross {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 16px;
  height: 16px;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  color: #666;
  z-index: 1000;
  transition: all 0.2s ease;
}

.user-location-cross:hover {
  background-color: #f0f0f0;
  border-color: #999;
  color: #333;
  transform: scale(1.1);
}
