.map__map {
  display: inline-block;
  vertical-align: top;
  width: 83.333%;
  min-height: 14.375rem;
  margin: 0 -8.333% 0 0;
}
@media (min-width: 640px) {
.map__map {
    min-height: 25rem;
}
}
@media (min-width: 1024px) {
.map__map {
    min-height: 31.25rem;
}
}
.map {
  position: relative;
  width: 100%;
}
body:not(.no-animate) .map {
  transform: translateY(1.5rem);
  opacity: 0;
  transition-timing-function: ease;
  transition-duration: 0.3s;
  transition-property: transform, opacity;
  transition-delay: 0.3s;
}
body:not(.no-animate) .map.animate {
  transform: unset;
  opacity: 1;
}
html:not(.has-scroll-init) .map {
  transform: unset !important;
  opacity: 1 !important;
}
.map .controls__toolbar {
  margin: 0 !important;
}
.map .controls__toolbar_left .controls__control_toolbar:first-child {
  width: 100%;
  padding: 0;
  margin: 0 !important;
}
.map .controls__toolbar_left .controls__control_toolbar:first-child:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: block;
  height: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.5s, height 0s linear 1.6s;
}
.map .search.search_layout_normal.searchbox__normal-layout {
  display: none;
}
.map .control-popup {
  transition: 0.5s;
}
.map.active .controls__control_toolbar:first-child {
  height: 31.25rem;
}
@media (max-width: 1023.98px) {
.map.active .controls__control_toolbar:first-child {
    height: 25rem;
}
}
@media (max-width: 639.98px) {
.map.active .controls__control_toolbar:first-child {
    height: 14.375rem;
}
}
.map.active .controls__control_toolbar:first-child:before {
  background: rgba(0, 0, 0, 0.8);
}
.map.active .controls__control_toolbar:first-child::before {
  height: 31.25rem;
}
@media (max-width: 1023.98px) {
.map.active .controls__control_toolbar:first-child::before {
    height: 25rem;
}
}
@media (max-width: 639.98px) {
.map.active .controls__control_toolbar:first-child::before {
    height: 14.375rem;
}
}
.map.active .control-popup {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.map .route-panel__input {
  display: none;
}
.map.way-map-next .route-panel__input {
  display: block;
}
.map.way-map-next .route-panel__input_from {
  display: none;
}
.map.way-map-next .route-panel-input__location {
  display: none !important;
}
.map .control-popup-parent {
  position: static;
}
.map .route-panel-input {
  border: none;
  background: none;
  box-shadow: none;
  display: flex;
  justify-content: center;
}
.map .route-panel-input:hover, .map .route-panel-input:visited {
  border: none;
  background: none;
  box-shadow: none;
}
.map .route-panel-input.route-panel-input_focused {
  box-shadow: none;
}
.map .route-panel__input_from {
  display: block;
}
.map .route-panel__clear-row {
  display: none !important;
}
.map .route-panel.route-panel_built .route-panel__clear-row, .map .route-panel__errors {
  display: none;
}
.map .control-popup__content {
  background: transparent;
}
.map .control-popup {
  box-shadow: none;
  width: auto !important;
  max-width: 100% !important;
  position: absolute;
  top: -3%;
  left: 0%;
  transform: translate(0, 0);
}
@media (min-width: 640px) {
.map .control-popup {
    width: 570px !important;
    max-width: 570px !important;
    top: 0%;
}
}
.map .route-panel-input__icon {
  display: none;
}
.map .route-panel-input__location {
  display: block;
  flex-shrink: 0;
  width: 1.6875rem;
  height: 1.6875rem;
  margin-left: 0.5rem;
  opacity: 1;
  background-repeat: no-repeat;
  background-color: #fff;
  background-position: center center;
  position: relative;
  box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.1), 0 2px 8px -3px rgba(0, 0, 0, 0.05) !important;
  border-radius: 2px;
}
@media (min-width: 640px) {
.map .route-panel-input__location {
    border-radius: 4px;
    height: 3rem;
    margin-left: 0.75rem;
    width: 3rem;
}
}
@media (min-width: 1024px) {
.map .route-panel-input__location {
    border-radius: 6px;
    margin-left: 1.25rem;
    height: 3.75rem;
    width: 3.75rem;
}
}
.map .controls__toolbar_left {
  width: 100%;
}
.map .controls__toolbar_right {
  margin-top: 20px;
}
@media (max-width: 639.98px) {
.map .controls__toolbar_right {
    margin-top: 2.5rem;
}
}
.map .controls__control_toolbar {
  transform: translate(0, 0);
  width: 100%;
  margin-left: 0;
  background: none;
  transition: 1.5s;
  z-index: 0 !important;
}
.map input.route-panel-input__input {
  width: 13rem;
  height: 1.6875rem;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.1), 0 2px 8px -3px rgba(0, 0, 0, 0.05);
  font-size: 0.625rem;
  border-left: 12px solid transparent;
}
@media (min-width: 640px) {
.map input.route-panel-input__input {
    width: 23rem;
    border-radius: 4px;
    height: 3rem;
    border-left: 24px solid transparent;
    font-size: 0.875rem;
}
}
@media (min-width: 1024px) {
.map input.route-panel-input__input {
    width: 28.75rem;
    height: 3.75rem;
    border-radius: 6px;
    border-left: 30px solid transparent;
}
}
.map .route-panel-input__clear {
  right: 15%;
  width: 3rem;
  background-color: var(--color-white);
  opacity: 1 !important;
}
@media (max-width: 1023.98px) {
.map .route-panel-input__clear {
    right: 22%;
}
}
@media (max-width: 639.98px) {
.map .route-panel-input__clear {
    width: 1rem;
}
}
.map .route-panel-input__location-spinner {
  top: 37%;
  left: 37%;
}
.map .route-panel-input__location.route-panel-input__location_loading {
  background: #fff;
}
.map .route-panel-input__location-spinner__circle:before {
  box-shadow: inset 0 0 0 2px #000;
}
