.navigation {
  position: fixed;
  background-color: #000;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity 0.5s, visibility 0s 0.5s;
  transition: opacity 0.5s, visibility 0s 0.5s;
  }

.navigation {
  float: right;
  display: flex; 
  justify-content: center; 
  align-items: center; 
  height: 100vh;
}

.navigation.open {
  opacity: .9;
  visibility: visible;
  -moz-transition: opacity .5s;
  -o-transition: opacity .5s;
  -webkit-transition: opacity .5s;
  transition: opacity .5s;
}

.navigation li a {
    color: #ffffff;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-transform: capitalize;
    text-transform: uppercase;
}

.settingsButton {
  top: 85px;
  position: relative;
  font-size: 15pt;
  left: 15px;
  display: block;
  width: 45px;
}

.androidButton, .iosButton {
  top: 147px;
  position: fixed;
  font-size: 15pt;
  left: 68px;
  display: block;
  width: 45px;
}

.aimButton {
  top: 300px;
  position: relative;
  font-size: 15pt;
  left: 15px;
  display: block;
  width: 45px;
}

.aimButtonImage {
    padding: 4px;
    box-sizing: border-box;
}

.mapControlButton {
  display: inline-block;
}

.mapControlButton {
  display: block;
  white-space: nowrap;
  -moz-transition: .3s;
  -o-transition: .3s;
  -webkit-transition: .3s;
  transition: .3s;
  border-radius: 50%;
  margin-bottom: 10px;
}


#photonContainer, .photonContainer {
  top: 1.5rem;
  left: .5rem;
}
.leaflet-popup-pane, .leaflet-control {
  cursor: auto;
}
.leaflet-control {
  float: left;
  clear: both;
}
.leaflet-control {
  position: relative;
  z-index: 800;
  pointer-events: visiblePainted;
  pointer-events: auto;
  top: 110px;
  left: 5px;
  margin-bottom: 15px;
}

.photonContainer input {
  box-shadow: none !important;
  display: block;;
  position: relative;
  bottom: 25px;
  background: white;
  padding: 12px 15px;
  font-weight: 300;
  color: #c8cac9;
  font-size: 14px;
  outline: 0;
  border: 1px solid #f0083f;
  border-radius: 10px;
}

.mapsControllersBlock {
  margin-bottom: 15px;
}

.modal-content {
    background-color: #1e1e2d;
    color: #ffffff;
    border: 1px solid #343a40;
}
.modal-content .modal-title {
  color: #ffffff;
  text-align: center !important;
  font-size: 1.75rem;
  margin-bottom: 9px;
}
.btn-close {
    filter: invert(1);
}
.modal-content .form-control,
.btn-primary {
    background-color: #11131a;
    color: #ffffff;
    border-color: #6c757d;
}
.modal-content .form-control:focus,
.btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(138, 118, 118, 0.05);
}
.modal-content .btn-primary:hover {
    background-color: #487bae;
}

.dropdown-menu {
  background-color: #11131a !important;
  border: 1px solid rgba(255, 255, 255, 0.04) !important;
  color: #ffffff;
  width: 100%
}

.dropdown-item {
    color: #ffffff;
    background-color: transparent;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #495057;
}

.dropdown-item.active {
    background-color: #007bff;
    color: #ffffff;
}

.bs-searchbox input {
    background-color: #495057;
    color: #ffffff;
    border: 1px solid #6c757d;
}

.bs-searchbox input::placeholder {
    color: #ced4da;
}

.bs-searchbox input:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.dropdown-header {
    color: #ffffff;
    background-color: #343a40;
}

.leaflet-bottom {
  bottom: 110px;
}

.search-results {
  position: absolute;
  top: 21px;
  left: 0;
  float: left;
  list-style: none;
  padding-left: 0;
  margin-top: 2px;
  min-width: 120px;
  max-height: 50vw;
  z-index: 1010;
  overflow-y: auto;
  overflow-x: hidden;
  cursor: pointer;
  border-radius: 3px;
  white-space: nowrap;
}

.search-results .result-item {
    padding: 10px;
    cursor: pointer;
    background-color: white;
    position: relative;
}
.search-results .result-item:hover {
    background-color: whitesmoke;
}
.modal-footer {
    border: 0;
}
.permissionDeniedModalContent {
    border-radius: 8px;
}
.permissionDeniedModalTitle {
    color: white;
    font-weight: bold;
    font-size: 18px;
}
.permissionDeniedModalDesc {
    color: white;
}
.permissionDeniedModalContent .modal-body {
    padding: 20px;
}
.permissionDeniedModalContent .openGPSManual {
    background-color: cornflowerblue;
    border-radius: 8px;
}
.permissionDeniedModalContent .notNowGPSManual {
    background-color: black;
    color: white;
    border-radius: 8px;
}

.apkModalTitle {
    color: white;
    font-weight: bold;
    font-size: 16px;
}
.apkModalContent {
    border-radius: 8px;
}
/* кнопки меню */
.mapControlIcon {
  justify-content: center;
  height: 44px;
  overflow: hidden;
  white-space: nowrap;
  width: 44px;
  z-index: 700;
  -moz-transition: .3s;
  -o-transition: .3s;
  -webkit-transition: .3s;
  transition: .3s;
  background-color: #e84545;
  border-radius: 50%;
  margin-bottom: 10px;
  display: flex;
  position: relative;
}

.leaflet-bar a.leaflet-disabled {
  cursor: default !important;
  color: #000 !important;
}

.leaflet-touch .leaflet-control-fullscreen a {
  background-position: 7px 9.4px;
}
.leaflet-touch.leaflet-fullscreen-on .leaflet-control-fullscreen a {
  background-position: 6.3px -21.6px;
}

.leaflet-control-fullscreen a {
  background: url(../img/fullscreen.png) no-repeat 0 0;
    background-color: rgba(0, 0, 0, 0);
    background-position-x: 0px;
    background-position-y: 0px;
    background-size: auto;
    background-size: 31px 57px;
}

.leaflet-touch .leaflet-bar a {
  justify-content: center;
  height: 44px;
  overflow: hidden;
  white-space: nowrap;
  width: 44px;
  z-index: 99999;
  -moz-transition: .3s;
  -o-transition: .3s;
  -webkit-transition: .3s;
  transition: .3s;
  background-color: #e84545;
  border-radius: 50%;
  margin-bottom: 10px;
  display: flex;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.leaflet-control-locate.following a .leaflet-control-locate-location-arrow {
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="black" d="M445 4 29 195c-48 23-32 93 19 93h176v176c0 51 70 67 93 19L508 67c16-38-25-79-63-63z"/></svg>');
}
.leaflet-control-locate a .leaflet-control-locate-location-arrow {
  width: 20px !important;
  height: 20px !important;
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="white" d="M445 4 29 195c-48 23-32 93 19 93h176v176c0 51 70 67 93 19L508 67c16-38-25-79-63-63z"/></svg>');
 }
 .leaflet-control-locate.active a .leaflet-control-locate-location-arrow {
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="black" d="M445 4 29 195c-48 23-32 93 19 93h176v176c0 51 70 67 93 19L508 67c16-38-25-79-63-63z"/></svg>');
}

.poisk {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.android_modal {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* под мобилу */
@media (max-width: 768px) {
    .modal-dialog {
      position: fixed !important;
      bottom: 0 !important;
      width: 100%;
      margin: 0 !important;
      min-height: 0 !important;
    }
    .permissionDeniedModalContent {
      border-radius: 0px;
    }
    .apkModalContent {
     border-radius: 0px;
    }
    .modal {
     z-index: 9999 !important;
    }
    .bs-searchbox {
     order: 1; 
   }
    .dropdown-menu.show {
     display: flex;
     flex-direction: column; 
   }  
}

.no-results {
     padding: 3px !important;
     background: #e84545 !important;
     white-space: nowrap !important;
     margin: 0 !important;
}

.spinner {
  border: 4px solid transparent;
  border-top: 4px solid lightgreen;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (display-mode: standalone){
.iosButton {
  display: none !important;
}
#iosMenuButton {
  display: none !important;
}
.androidButton {
  display: none !important;
}
#androidMenuButton {
  display: none !important;
}
}

.layersMapButton {
    position: absolute;
    left: 15px;
    bottom: 1px;
}

.layersMapButton img {
    width: 40px;
    height: 40px;
    padding: 4px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
}

.metroLayerButton {
    position: absolute;
    left: 15px;
    bottom: 40px;
}

.metroLayerButton img {
    width: 40px;
    height: 40px;
    padding: 4px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
}

.metroLayerItem {
    display: none;
}

.metroLayerItem.show {
    display: block;
}

.metroLayerItem.active .mapControlIcon {
    background-color: black;
}

.leaflet-touch .leaflet-bar a:hover {
  background-color: #c25555 !important;
}

.mapControlIcon:hover {
  background-color: #c25555 !important;
}

.dropdown-menu.bg-dark.show {
  width: auto !important;
}

.mapPanel {
  position: absolute;
  bottom: 0px;
  left: 0;
  right: 0;
  z-index: 3000;
}

.mapOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2000;
}

.mapDetailPanel {
  position: relative;
  z-index: 3000;
  min-width: 260px;
  background-color: #1e1e2d;
  color: #ffffff;
  border-radius: 3px;
  overflow: hidden;
}

@media (min-width:1000px) {
  .mapDetailPanel,
  .mapPanel {
    min-width:300px;
    max-width:370px;
    overflow:auto;
    max-height:calc(100% - 5rem);
    box-shadow:0 0 4px #00000030
  }
  .mapPanel {
    position:absolute;
    left:10px;
    top:140px;
    bottom:auto;
    width:30%
  }
  .mapDetailPanel {
    position:relative
  }
}

.mapDetailPanelCloseButton {
  position:absolute;
  /*! top:3px; */right:8px;
  width:16px;
  height:16px;
  z-index:2;
  cursor:pointer
}
.mapDetailPanelCloseButton:before {
  background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIgdmlld0JveD0iMCAwIDEwIDEwIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZmlsbD0iIzhDODc4MiIgZD0iTTEwLDEwSDguNTg2TDUsNi40MTRMMS40MTQsMTBIMFY4LjU4NUwzLjU4Niw1TDAsMS40MTRWMGgxLjQxNAlMNSwzLjU4NUw4LjU4NiwwSDEwdjEuNDE0TDYuNDE0LDVMMTAsOC41ODVWMTB6Ii8+PC9zdmc+);
  background-repeat:no-repeat;
  position:absolute;
  top:4px;
  left:4px;
  width:12px;
  height:12px;
  background-size:100%;
  content:'';
  opacity:.3
}
.mapDetailPanelCloseButton:hover::before {
  opacity:.8
}
.mapDetailLink {
    text-decoration: none;
    display: block;
    margin-top: 10px;
    padding: 4px 6px;
    font-size: 1.08333em;
    font-weight: bold;
    color: #fff;
    background-color: #4CAF50;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 10px;
}
.markerTag {
  display:inline-block;
  background: #f7f7f7;
  border-radius: 3px;
  padding:0 5px;
  margin-bottom:3px;
  margin-left: 5px;
  margin-right: 5px;
  color: #6c7279;
}
.mapOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
}
.cursor-pointer {
    cursor: pointer;
}

.arrows {
  position: relative;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 15px;
  transform: translate(-50%, -50%);
}
.arrows:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-left: 5px solid rgba(0, 0, 0, 0.7);
  border-bottom: 5px solid rgba(0, 0, 0, 0.7);
  transform: translate(5px, 20px) rotate(-45deg);
  animation: arrows 3s linear infinite;
}
.arrows:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-left: 5px solid rgba(0, 0, 0, 0.7);
  border-bottom: 5px solid rgba(0, 0, 0, 0.7);
  transform: translate(10px, 0px) rotate(-45deg);
  animation: arrows 3s linear infinite -1.5s;
}

@keyframes arrows {
  0% {
    border-left: 5px solid rgba(0, 0, 0, 0);
    border-bottom: 5px solid rgba(0, 0, 0, 0);
    transform: translate(-2.5px, -10px) rotate(-45deg);
  }
  10%, 90% {
    border-left: 5px solid rgba(0, 0, 0, 0);
    border-bottom: 5px solid rgba(0, 0, 0, 0);
  }
  50% {
    border-left: 5px solid rgba(0, 0, 0, 0.7);
    border-bottom: 5px solid rgba(0, 0, 0, 0.7);
    transform: translate(-2.5px, 0px) rotate(-45deg);
  }
  100% {
    border-left: 5px solid rgba(0, 0, 0, 0);
    border-bottom: 5px solid rgba(0, 0, 0, 0);
    transform: translate(-2.5px, 10px) rotate(-45deg);
  }
}

.mapLoaderBlock {
  background-color: #1e222de3 !important;
  padding: 20px;
  border-radius: 10px;
}

.mapLoader img {
  width: 200px;
  height: 200px;
}

.mapLoaderOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1050;
}

.mapLoaderContent {
  width: 175px;
  height: 175px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mapErrorCord {
  text-decoration: none;
  display: block;
  margin-top: 10px;
  padding: 4px 6px;
  font-size: 1.08333em;
  font-weight: bold;
  color: #fbfbfb;
  background-color: #F70000;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 10px;
}

a.disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: default;
}

