#map {
  height: 500px;
}

.mappkk-ui-front {
  z-index: 1100;
}

/* Отображение копирайтов 2gis */
#map .DGControlsCopyright {
  display: none;
}

#map .dg-mapcopyright {
  width: 197px !important;
  height: 38px !important;
}

#map .dg-link {
  position: static !important;
}

/*---------------------------------------*/

/* Отображение копирайтов yandex */
#map .ymaps-copyrights-pane {
  display: none !important;
  position: static;
}

#mappkk-ymaps-copyrights.ymaps-copyrights-pane {
  display: block !important;
  margin-right: 12px;
}

#mappkk-ymaps-copyrights .ymaps-copyrights-legend {
  position: static !important;
}

/*----------------------------------------*/
/* Отображение копирайтов Google */
#map .gmnoprint,
#map .gmnoprint {
  pointer-events: auto;
}

/*----------------------------------------*/

#map .ui-autocomplete-loading {
  background: white url(/cadmap/images/loader2.gif) 95% center no-repeat;
  background-size: 32px 32px;
}

#map .search-container {
  position: absolute;
  width: 450px;
  left: 50px;
  overflow: hidden;
  border-radius: 8px;
}

@media screen and (min-width: 1000px) {
  #map.big-search .search-container {
    width: 785px;
  }
}

#map .search-container .input-group {
  padding: 10px;
  background: #fff;
  border-radius: 0px;
  overflow: hidden;
}

#map .search-input {
  overflow: hidden;
  padding-right: 0.5em;
}

#map .search-input input {
  width: 100%;
}

#map .data-panel {
  background-color: white;
  height: 400px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

#map .data-panel .crumbs a,
#map .data-panel .params a,
#map .data-panel .title a,
#map .data-panel .description a {
  color: blue;
  display: inline-block;
  text-decoration: underline;
  border: none;
  background: none;
  width: auto;
  height: auto;
  line-height: 1;
  text-align: left;
}

#map .data-panel .crumbs a:hover,
#map .data-panel .params a:hover,
#map .data-panel .title a:hover,
#map .data-panel .description a:hover {
  text-decoration: none;
}

#map .data-panel .controls {
  text-align: center;
}

#map .data-panel .controls a {
  color: blue;
  display: inline-block;
  text-decoration: none;
  border: none;
  background: none;
  width: auto;
  height: auto;
  margin-right: 5px;
  /* padding:2px; */

  color: #fff;
  background: linear-gradient(to bottom, #02c66c 5%, #02ad5e 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='@success-color', endColorstr='darken(@success-color, 5%)', GradientType=0);
  background-color: #02c66c;
  border: 1px solid #02ad5e;
  margin-top: 5px;
}

#map .data-panel .controls a:hover {
  background-color: grey;
}

#map .data-panel-load {
  background: white url(/cadmap/images/loader3.gif) center center no-repeat;
  background-size: 64px 64px;
}

#map .layers-button {
  /* width: 36px;
	height: 36px; */
  background-image: url(/cadmap/images/layers.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 26px 26px;
}

#map .layers-panel {
  position: absolute;
  width: 360px;
  height: 421px;
  overflow: hidden;
  background-color: white;
  left: 50px;
  z-index: 2000;
  cursor: auto;
  border-right: 0;
}

#map .scrollable-container {
  padding: 8px;
  padding-right: 25px;
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

#map .scrollable-container2 {
  overflow: hidden;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

#map .scrollable-subcontainer {
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
  height: 85%;
  box-sizing: border-box;
  padding: 10px;
}

#map .close-button {
  position: absolute;
  right: 20px;
  top: 8px;
  background: white url(/cadmap/images/xxx.png) center center no-repeat;
  cursor: pointer;
  width: 18px;
  height: 18px;
  background-size: cover;
}

#map .subtitle {
  padding: 5px;
  cursor: pointer;
  border-radius: 2px;
}

#map .subtitle:not(:nth-child(1)) {
  border-top: 1px solid darkgray;
}

#map .subtitle.selected {
  background-color: rgba(189, 222, 250, .5);
}

#map .subtitle:not(.selected) {
  opacity: .7;
}

#map .data-panel .data-panel-load-text,
#map .data-panel .data-panel-load-text-footer {
  display: none;
}

#map .data-panel.data-panel-load .data-panel-load-text,
#map .data-panel.data-panel-load .data-panel-load-text-footer {
  display: block;
}

#map .data-panel.data-panel-load .data-panel-load-text {
  text-align: center;
  font-size: 25px;
  padding-top: 30px;
}

#map .data-panel.data-panel-load .data-panel-load-text-small {
  font-size: 22px;
}

#map .data-panel-load-text-footer {
  text-align: center;
  position: absolute;
  bottom: 25%;
  width: 100%;
}

#map .sub-controlls {
  margin-left: 8px;
  margin-top: 8px;
}

.overlay-icon {
  margin-left: 8px;
  margin-right: 8px;
  display: inline-block;
  border-radius: 2px;
  vertical-align: top;
}

.overlay-icon>img {
  width: 26px;
  height: 26px;
}

.overlay-icon+span {
  vertical-align: -webkit-baseline-middle;
  font-size: 16px;
  font-weight: normal;
  color: #000;
  white-space: normal;
  font-family: Calibri, "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  display: inline-block;
  width: 195px;
}

.sub-controlls .overlay-item .overlay-icon+span {
  width: 205px;
}

.overlay-subitem {}

.overlay-subitem>img {
  margin-right: 8px;
  padding-left: 28px;
  float: left;
}

.overlay-subitem>img+span {
  display: inline-block;
  width: 235px;
}

.overlay-item:not(:last-child),
.overlay-subitem:not(:last-child) {
  margin-bottom: 8px;
}

.overlay-item {
  position: relative;
}

#map .collapsable-button {
  cursor: pointer;
  display: inline-block;
  vertical-align: top;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  margin-right: 4px;
  float: left;
}

.overlay-checkbox {
  vertical-align: middle;
  margin: 0 !important;
}

#map .collapsable-cutdown {
  background: white url(/cadmap/images/plus.png) center center no-repeat;
}

#map .collapsable-cutup {
  background: white url(/cadmap/images/minus.png) center center no-repeat;
}

#map .opacity-controll {
  display: inline-block;
  cursor: pointer;
  vertical-align: top;
  margin-top: 5px;
  font-size: 12px;
  font-family: Calibri, "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  position: absolute;
  top: 0;
  right: -5px;
}

#map .opacity-dialog {
  position: absolute;
  width: 80px;
  display: none;
  border: 1px solid black;
  background-color: white;
  z-index: 1500;
  padding: 5px 12px;
}

#map .opacity-slider {}

.checkbox-container {
  display: inline-block;
  position: relative;
  padding-left: 25px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin-bottom: 0;
  vertical-align: top;
}

/* Hide the browser's default checkbox */
.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkbox-checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 24px;
  width: 24px;
  margin-top: 1px;
  border: 1px solid rgba(50, 50, 50, .4);
  border-radius: 2px;
  background-color: #fff;
}

/* On mouse-over, add a grey background color */
.checkbox-container:hover input~.checkbox-checkmark {
  background-color: #fff;
}

/* When the checkbox is checked, add a blue background */
.checkbox-container input:checked~.checkbox-checkmark {}

/* Create the checkmark/indicator (hidden when not checked) */
.checkbox-checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.checkbox-container input:checked~.checkbox-checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.checkbox-container .checkbox-checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid rgba(50, 50, 50, .7);
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}





/* The container */
.radio-container {
  display: block;
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default radio button */
.radio-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom radio button */
.radio-checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #eee;
  border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.radio-container:hover input~.radio-checkmark {
  background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.radio-container input:checked~.radio-checkmark {
  background-color: #2196F3;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.radio-checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.radio-container input:checked~.radio-checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.radio-container .radio-checkmark:after {
  top: 7px;
  left: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: white;
}

.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 1px 0 var(--border-color)
}

.defaultMapDiv {
  margin: 30px 0 30px 20px;
}

.infoObject {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 17px 9px 12px 14px;
  position: absolute !important;
  background: white;
  top: 55px;
  left: 45px;
  width: 300px;
  font-size: 11px;
  line-height: 1.42857143;
  color: #333;
  z-index: 1 !important;
  margin-top: 20px !important;
  margin-left: 15px !important;
  border: 1px solid var(--border-color);
  border-right: 0;
  box-shadow: 0 1px 1px 0 var(--border-color);
  border-radius: 0 0 8px 8px;
}

.infoObject .info-margin8 {
  height: 6px;
}

.infoObject h4 {
  margin: 0 0 5px;
  color: #777;
}

.leaflet-control-layers {
  padding: 10px;
}

.leaflet-top.leaflet-left {
  z-index: 1001;
}

@media (max-width: 550px) {
  .infoObject {
    padding: 6px 9px !important;
  }

  .infoObject i {
    display: none !important;
  }

  .infoObject i+span {
    margin-left: 0 !important;
  }

  .infoObject,
  #map .search-container,
  .leaflet-bar.layers-panel {
    width: 270px !important;
  }

  .overlay-icon+span {
    width: 125px;
  }

  .sub-controlls .overlay-item .overlay-icon+span {
    width: 115px;
  }

  .overlay-subitem>img+span {
    display: inline-block;
    width: 140px;
  }

  #map .opacity-controll {
    right: -25px;
  }
}