.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0;
    position: relative;
}
.search-box-wrapper {
    position: relative;
    width: 100%;
}
#current-pac-input-customer {
    width: 100%;
    padding: 10px 40px 10px 10px;
    font-size: 16px;
    border: 1px solid #ccc;
}
.clear-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #000;
}
.clear-button:hover {
    color: #F00000;
}
.custom-map-control-button {
    background-color: #fff;
    border: none;
    outline: none;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0,0,0,.3);
    cursor: pointer;
    margin: 10px;
    text-align: center;
    font-size: 18px;
    line-height: 40px;
}
.custom-map-control-button:hover {
    background-color: #e8e8e8;
}
.controls {
	margin-top: 10px;
	border: 1px solid transparent;
	border-radius: 2px 0 0 2px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	height: 32px;
	outline: none;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
#pac-input {
background-color: #fff;
font-family: Roboto;
font-size: 15px;
font-weight: 300;
margin-top: 12px;
margin-left: 12px;
padding: 0 11px 0 13px;
text-overflow: ellipsis;
width: 80%;
}
#pac-input:focus {
border-color: #4d90fe;
}
#map{
width: 100%;
height: 450px;
margin:auto;
}

#current-pac-input {
background-color: #fff;
font-family: Roboto;
font-size: 15px;
font-weight: 300;
margin-top: 12px;
margin-left: 12px;
padding: 0 11px 0 13px;
text-overflow: ellipsis;
width: 80%;
}
#current-pac-input:focus {
border-color: #4d90fe;
}
#current_map{
width: 100%;
height: 450px;
margin:auto;
}
.search-result{
    position: absolute;        
    z-index: 999;
	background: #FFFFFF;
	width: 95%;
	height: 60vh;
	overflow-y: scroll;
	overflow-x: none;
	display: none;
}
.search-result p{
    margin: 0;
    padding: 5px 10px;
    border: 1px solid #CCCCCC;
    border-top: none;
    cursor: pointer;
	font-size: 14px;
  	text-align: left;
}
.search-result p:hover{
   background: #f2f2f2;
}

.search-result-shop{      
    z-index: 999;
    width: 100%;
    height: 40vh;
    overflow-y: scroll;
    overflow-x: none;
background-color: #ffffff;
}
.search-result-shop p{
    margin: 0;
    padding: 5px 10px;
    border-bottom: 1px solid #CCCCCC;
    cursor: pointer;
    font-size: 14px;
    text-align: left;
}
.search-result-shop p:hover{
background: #f2f2f2;
}
.custom-tooltip-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

/* Tooltip box */
.custom-tooltip {
    background: #fff;
    padding: 20px;
    max-width: 280px;
    font-family: sans-serif;
}

/* ปุ่มกากบาทอยู่ขวาบน wrapper */
.custom-tooltip-wrapper .close-button {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 28px;
    height: 28px;
    font-size: 24px;
    line-height: 26px;
    text-align: center;
    background: #fff;
    color: #444;
    cursor: pointer;
    z-index: 999;
}

.custom-tooltip button {
    outline: none;
    box-shadow: none;
    border: none;
    background: #f60;
    color: #fff;
    font-weight: bold;
    border-radius: 6px;
}

.custom-tooltip button:focus {
    outline: none;
    box-shadow: none;
}

/* ซ่อนของเดิมจาก Google Maps */
.gm-ui-hover-effect {
    display: none !important;
}

@media screen and (max-width: 720px) and (min-width: 320px) {
    .custom-tooltip-wrapper .close-button {
        font-size: 36px;    
    }
    .custom-tooltip {
        padding: 20px;
        top: -2px;
        right: -2px;
    }
}