html, body { margin:0; padding:0; width: 100%; height: 100% }
.map {
height: 100vh;
width: 100%;
}
.container {
display: flex;
border: 1px solid rgba(0,0,0,0.15);
box-shadow: 0 2px 3px rgba(0,0,0,0.06);
border-radius: 3px;
background: white;
}
.query-search-input {
position: absolute;
top: 10px;
left: 10px;
width: 450px;
transition: all 0.25s cubic-bezier(.65,.05,.36,1);
}
.query-search-input.open {
left: 60px;
width: 390px;
}
.query-search-input.second {
top: 60px;
}
.query-search-input-placeholder {
height: 60px;
line-height: 60px;
background-color: #409EFF;
transition: all 0.25s cubic-bezier(.65,.05,.36,1);
}
.query-search-input-placeholder.second {
height: 110px;
}
.query-search-result-container {
overflow: auto;
background: white;
padding-top: 10px;
flex-basis: 0;
transition: all 0.25s cubic-bezier(.65,.05,.36,1);
}
.query-search-result-container.open {
flex-basis: 100%;
}
.query-search-result-item {
cursor: pointer;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
padding: 5px 10px;
}
.query-search-result-item:hover {
background: #E7E7E7;
}
.search-input {
width: 100%;
}
.side-panel {
display: flex;
flex-direction: column;
color: #333;
transition: all 0.25s cubic-bezier(.65,.05,.36,1);
width: 0;
height: 100vh;
overflow: hidden;
}
.side-panel.open {
width: 700px;
}
.side-panel-toggle-button {
position: fixed;
left: 5px;
top: 50vh;
transition: all 0.25s cubic-bezier(.65,.05,.36,1);
}
.side-panel-toggle-button.open {
left: 475px;
}
.search-result-marker {
background-image: url('pin.svg');
background-size: cover;
width: 80px;
height: 80px;
cursor: pointer;
}