@charset "UTF-8";
/*Обнуление*/
* {
  padding: 0;
  margin: 0;
  border: 0;
}

*, *:before, *:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

:focus, :active {
  outline: none;
}

a:focus, a:active {
  outline: none;
}

nav, footer, header, aside {
  display: block;
}

html, body {
  height: 100%;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

input, button, textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a, a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*--------------------*/

@import url(https://fonts.googleapis.com/css?family=Montserrat:100,200,300,regular,500,600,700,800,900,100italic,200italic,300italic,italic,500italic,600italic,700italic,800italic,900italic);

body {
    font-family: Montserrat;
    color: #252B42;
    font-size: 14px;
    font-weight: 500;
    min-width: 375px;
    background-color: #FAFAFA;
  }
  
.wrapper {
overflow: hidden;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
    -ms-flex-direction: column;
        flex-direction: column;
position: relative;
}

._container {
max-width: 1200px;
margin: 0 auto;
padding: 0 15px;
}

#map {
  height: 950px;
  box-shadow: 0px 13px 19px rgba(0, 0, 0, 0.09);
  border-radius: 2px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
  margin-left: 2px;
  margin-right: 2px;
}
.leaflet-control-attribution a svg {
  width: 0;
  height: 0;
}

.mapgps__legend {
  position: absolute;
  top: 750px;
  left: 20px;
  z-index: 500;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 10px 20px;
  border-radius: 3px;
  color: #3d5c99;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0px 13px 19px rgba(0, 0, 0, 0.09);
}
.mapgps__legend div {
  padding-bottom: 5px;
}
.mapgps__legend label {
  padding-left: 5px;
}

.page {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
}

img {
    border: none;
}


/*  */
.mapgps__legend input[type="checkbox"] {
  cursor: pointer;
  top: 7px;
  margin-right: 8px;
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #555;
  border-radius: 5px;
  outline: none;
  cursor: pointer;
  position: relative;
}

.red:checked {
  background-color: red; 
  border-color: red;
}
.green:checked {
  background-color: green; 
  border-color: green;
}
.blue:checked {
  background-color: blue; 
  border-color: blue;
}
.black:checked {
  background-color: black; 
  border-color: black;
}
.purple:checked {
  background-color: purple; 
  border-color: purple;
}

.mapgps__legend input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 1px;  /* Поднять на 1 пиксель */
  left: 5px; /* Сдвинуть влево на 1 пиксель */
  width: 5px; /* Увеличить ширину линии */
  height: 10px; /* Увеличить высоту линии */
  border: solid white;
  border-width: 0 3px 3px 0; /* Увеличить толщину линии */
  transform: rotate(45deg);
}

.mapgps__legend input[type="checkbox"]:hover {
  border-color: #888;
}
.mapgps__legend div label:hover {
cursor: pointer;
text-decoration: underline;
}
.mapgps__weather {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 500;
  width: 250px;
  opacity: 0.8;
  box-shadow: 0px 13px 19px rgba(0, 0, 0, 0.07);
}
.mapgps__weather div {
  border-radius: 2px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
}
.mapgps__weather-min {
  display: none;
}
.mapgps__logo {
  position: absolute;
  z-index: 500;
  top: 890px;
  right: 10px;
  opacity: 0.9;
}
.mapgps__logo img {
  width: 50px;
}

/*  */

@media (max-width: 2200px) {
  #map {
    height: 700px;
  }
  .mapgps__legend {
    top: 500px;
    left: 15px;
  }
  .mapgps__weather {
    transform: scale(0.7);
    top: -50px;
    right: -30px;
    width: 250px;
    -webkit-transform: scale(0.7);
    -moz-transform: scale(0.7);
    -ms-transform: scale(0.7);
    -o-transform: scale(0.7);
}
  .mapgps__logo {
    top: 650px;
    right: 5px;
  }
  .mapgps__logo img {
    width: 40px;
  }
}
@media (max-width: 1600px) {
  #map {
    height: 600px;
  }
  .mapgps__legend {
    top: 410px;
    left: 15px;
  }
  .mapgps__logo {
    top: 550px;
    right: 5px;
  }
}
@media (max-width: 1200px) {
  #map {
    height: 550px;
  }
  .mapgps__legend {
    top: 360px;
    left: 15px;
  }
  .mapgps__weather {
    display: none;
  }
  .mapgps__weather-min {
    display: block;
    position: absolute;
    top: 5px;
    right: 40px;
    z-index: 500;
    width: 100px;
    transform: scale(0.9);
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -o-transform: scale(0.9);
    opacity: 0.8;
    }
    .mapgps__logo {
      top: 500px;
      right: 5px;
    }
    .mapgps__logo img {
      width: 40px;
    }
}

@media (max-width: 767px) {
  .leaflet-container {
    line-height: 1;
  }
  #map {
    height: 450px;
  }
  .mapgps__legend input[type="checkbox"] {
    width: 15px;
    height: 15px;
    top: 4px;
    margin-right: 3px;
  }
  .mapgps__legend input[type="checkbox"]:checked::after {
    top: 0px;
    /*Поднятьна1пиксель*/left: 3px;
    /*Сдвинутьвлевона1пиксель*/width: 5px;
    /*Увеличитьширинулинии*/height: 9px;
    /*Увеличитьвысотулинии*/border-width: 0 2px 2px 0;
    /*Увеличитьтолщинулинии*/transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
}

  .mapgps__legend {
    top: 300px;
    left: 20px;
    padding: 5px 10px;
    font-weight: 600;
    font-size: 10px;
}
  .mapgps__legend div {
    padding-bottom: 5px;
  }
  .mapgps__legend label {
    padding-left: 5px;
  }
  .mapgps__weather-min {
    top: -10px;
    right: 15px;
    width: 100px;
    transform: scale(0.6);
    -webkit-transform: scale(0.6);
    -moz-transform: scale(0.6);
    -ms-transform: scale(0.6);
    -o-transform: scale(0.6);
}
.mapgps__logo {
  top: 400px;
  right: 5px;
}
.mapgps__logo img {
  width: 40px;
}
    .leaflet-control-attribution {
    font-size: 8px;
  }
}

@media (max-width: 479px) {
.mapgps__title {
  left: 10px;
  padding: 3px 8px;
  top: 510px;
  font-size: 8px;
  max-width: 150px;
}
.mapgps__legend {
  top: 310px;
  left: 10px;
  padding: 3px 8px;
  font-weight: 600;
  font-size: 10px;
}
.mapgps__weather-min {
  top: -15px;
  right: -5px;
  transform: scale(0.4);
  -webkit-transform: scale(0.4);
  -moz-transform: scale(0.4);
  -ms-transform: scale(0.4);
  -o-transform: scale(0.4);
}
.mapgps__logo {
  top: 410px;
  right: 5px;
}
.mapgps__logo img {
  width: 30px;
}
  .leaflet-control-attribution {
    font-size: 6px;
  }
}

/*допстили*/
