.leaflet-control-attribution {
  opacity: 0.1;
}

.r2m2mappro_content {
  display: block;
  width: 100%;
  max-width: 960px;
  padding: 10px;
  position: relative;  
}

.daterow_content {
  display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    margin-bottom: 10px;
}

.daterow {
  display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.datelabel {
  margin-bottom: 0px;
}

.datesearchbutton {
  margin-left: 10px;
    max-height: 48px;
    background: #2271b1;
    border-color: #2271b1;
    color: #fff;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    -webkit-appearance: none;
    border-radius: 3px;
    white-space: nowrap;
    box-sizing: border-box;
    font-weight: bold;
    line-height: 1.0;
    transition: all 0.3s ease-in-out;
}

.datesearchbutton:hover {
  transform: scale(1.05);
  background: #2271b1!important;
}


#map {
  width: 100%;
  max-width: 960px;
  min-height: 540px;
  border-radius: 10px;
  box-shadow: 2px 2px 3px 1px #a5a5a5;
}

.map_details_div {
  text-align: center;
  margin-top: 10px;
  padding: 10px;
  background-color: #f3f3f3;
  border-radius: 10px;
  box-shadow: 4px 3px #d1d1d1;
}

.map_details_row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px;
}

.map_details_row label {
  color: #333;
  display: block;
  font-weight: 800;
  margin-bottom: 0.5em;
}

.map_details_row input {
  max-width: 300px;
}

.map_details_row select {
  width: 200px;
  cursor: pointer;
}

.map_button_div {
  display: block;
  margin-top: 10px;
}

.modal label {
  margin-top: 10px;
  margin-bottom: 0px; 
}


.r2m2mappro_markerdiv_container {
  max-width: 200px;
}

.r2m2mappro_markerimage_container img{
  border-radius: 10px 10px 2px 2px;
  width: 100%;
  max-height: 150px;
}

.r2m2mappro_markertitle_container {
margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 5px;
    margin-right: 5px;
}

.r2m2mappro_markertitle_container span {
  font-weight: bold;
  color: rgb(42, 50, 65);
  font-family: Inter, Roboto, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif;
  white-space: pre-wrap;
 overflow-wrap: break-word;
 font-size: 1.2em;
}

.r2m2mappro_markerdesc_container div {
  height: 80px;
  border-style: solid;
  overflow-y: scroll;
  overflow-wrap: normal;
  border-radius: 5px;
  border-color: #cccccc;
  padding: 5px;
  margin: auto;
}

.r2m2mappro_markerbutton_link {
  text-decoration: none;
   color: rgb(42, 50, 65);
}



.r2m2mappro_markerbutton_container {
  margin-top: 5px;
    margin-bottom: 5px;
    text-align: center;
}

.r2m2mappro_markerbutton_txt {
  max-width: 100px;
    margin: auto;
    font-family: Inter, Roboto, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif;
    font-weight: 600;
    box-shadow: rgb(96 97 112 / 32%) 0px 2px 4px;
    background-color: rgb(255, 255, 255);
    border-width: 1px;
    border-color: rgb(130 141 163);
    border-radius: 8px;
    border-style: solid;
    padding: 5px;
    cursor: pointer;
    color: white;
    background-color: #056c9a;
    transition: all 0.3s ease-in-out;
    font-weight: bold;
}

.r2m2mappro_markerbutton_txt:hover {
  transform: scale(1.1);
  transition: all 300ms;
}

.r2m2mappro_markerdesc_container textarea::-webkit-scrollbar {
  width: 12px;
  background-color: #F5F5F5;
  }

.r2m2mappro_markerdesc_container textarea::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.1);
  background-color: #4285F4;
  }

  #popupimage_imagediv {
      width: 100%;
      height: 150px;
      display: none;
  }

  #popupimage_drop_file_area {
    padding: 8px;
    margin: auto;
}
#popupimage_drag_upload_file {
  width:50%;
  margin:0 auto;
}
#popupimage_drag_upload_file p {
  text-align: center;
}

.popupimage_preview {
    max-width: 200px;
    border-radius: 5px;
    box-shadow: 3px 2px 4px 0px #6c6969;
    height: 150px; 
}

  .leaflet-popup-content {
      width: 200px;
      margin: 0px!important; 
  }

  .leaflet-resp-popup-north .leaflet-popup-tip {
      display: none;
  }
  
  .modal {
    display: none;
    position: relative;
    z-index: 9999;
    width: 90vw;
    max-width: 700px;
    overflow: auto;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid #888;
    border-radius: 10px;
    box-shadow: 3px 3px 8px 0px #424242;
    background-color: #eeeeee;
    top: -80vh;
    margin: auto;
  }
  
  .modal-content {
    padding: 5px 10px 20px 10px;
    width: 100%;
    display: flex;
    flex-flow: column;
    height: 95%;
  }
    
  .close_modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
    
  .close_modal:hover, .close_modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
    
  .modal_title {
    font-size: 0.9em;
    font-weight: bold;
    color: #fd7014;
    margin-bottom: 2px;
  }
    
  .modal_label {font-weight: bold;}

  .modal_inputs {
    padding: 0.1em!important;
  }
    
  .modal_selectbox {
    font-size: 1em;
    min-width: 200px;
    max-width: 100%!important;
    line-height: 1em;
    padding: 0.25em;
  }
    
  .modal_save_button {
    min-width: 150px;
    max-width: 300px;
    margin: auto;
    padding: 10px;
    border-radius: 10px;
    color: #FFFFFF;
    background-color: #2a5d7a;
    transition: all 0.2s;
    font-weight: bold;
  }
    
  .modal_save_button:hover {background-color: #4095c6;}
  
  #map_layer_modal {
    top: 250px;
  }
  
  
  .leaflet-container a.leaflet-popup-close-button {box-shadow: none;}
  
 
  #loading_overlay{
      display:none;
      position: fixed;
      top: 0;
      left: 0;
      z-index: 99999;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.6);
  }
  
  .loading_spinner {
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;  
  }
  
  .loading_spinner .spinner {
      width: 40px;
      height: 40px;
      border: 4px #ddd solid;
      border-top: 4px #2e93e6 solid;
      border-radius: 50%;
      animation: sp-anime 0.8s infinite linear;
  }

.spinner {
    visibility: unset;
}


@keyframes sp-anime {
    100% { transform: rotate(360deg); }
}

@media only screen and (max-width: 700px) {
  .daterow_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}