﻿/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 10; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  padding-top: 60px;
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 5px auto; /* 15% from the top and centered */
  border: 1px solid #888;
  width: 60%; /* Could be more or less, depending on screen size */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
}
#txtsearch{
   margin-top: 2pc;
    width: 40%;
    height: 4%;
    border-radius: 10px;
    padding: 20px;
    margin-left: 10pc;
    background-color: white;
    overflow: auto;
    z-index: 0;
    /*position: fixed;*/
    position: absolute;
    /*left: 180px;*/
    left: 60px;
    z-index: 1;
    margin-left: 180px; 
}
#btn_confirm_location {
  position: absolute; /* instead of fixed */
  bottom: 20px;       /* position it inside the map */
  left: 50%;          /* center horizontally */
  transform: translateX(-50%);
  width: 25%;         /* adjust width as needed */
  border-radius: 23px;
  z-index: 10;        /* ensure it stays above the map */
  display: block;     /* make sure it's visible */
  margin: 15px;     
}

 #txtsearch:focus {  
        border-color: #f9c49f;   
      }  
/* The Close Button */
.close {
  /* Position it in the top right corner outside of the modal */
  position: absolute;
  right: 25px;
  top: 0;
  color: #000;
  font-size: 35px;
  font-weight: bold;
}
.clear{
    color: #000;
    font-weight: bold;
}
/* Close button on hover */
.close:hover,
.close:focus {
  color: red;
  cursor: pointer;
}

/* Add Zoom Animation */
.animate {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s
}
#btn_confirm_location {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s
}
#txtsearch {
  -webkit-animation: animatezoom 0.6s;
  animation: animatezoom 0.6s
}
@-webkit-keyframes animatezoom {
  from {-webkit-transform: scale(0)}
  to {-webkit-transform: scale(1)}
}

@keyframes animatezoom {
  from {transform: scale(0)}
  to {transform: scale(1)}
}