@layer base
 {
  html
   {
    -webkit-tap-highlight-color: transparent;
   }
 }

#metro_map_msk,
#metro_map_msk:hover,
#metro_map_msk:active,
#metro_map_spb,
#metro_map_spb:hover,
#metro_map_spb:active,
#metro_map_kazan,
#metro_map_kazan:hover,
#metro_map_kazan:active
 {
  display: block;

  margin: auto;

  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
 }

.metro_map_back
 {
  position: fixed;
  top: 0px;
  left: 0px;

  width: 100%;
  height: 100%;

  background-color: #000000;

  opacity: 0.5;

  z-index: 2000;
 }


.metro_map_container
 {
  position: fixed;
  top: 0px;
  left: 0px;

  width: 100%;
  height: 100%;

  z-index: 2100;
 }

.metro_map_wrap
 {
  position: relative;

  margin: auto;

  width: 100%;
  max-width: 1260px;
  height: 100%;
  max-height: 1260px;

  background-color: #ffffff;

  overflow-y: scroll
 }

.metro_map_close
 {
  position: absolute;
  top: 0px;
  right: 0px;

  padding: 20px;

  cursor: pointer;

  font-size: 16px;
 }

.metro_map_close:hover
 {
  background-color: #efefef;
 }

.metro_map_lines
 {
  margin-top: 56px;
  margin-bottom: 20px;

  padding: 10px;

  text-align: center;
 }

.metro_map_line
 {
  display: inline-block;

  margin-right: 10px;
  margin-bottom: 10px;

  vertical-align: middle;

  -webkit-border-radius: 12px;
     -moz-border-radius: 12px;
          border-radius: 12px;

  background-color: #ffffff;

  cursor: pointer;
 }

.metro_map_line:hover
 {
  background-color: #efefef;
 }

.metro_map_label
 {
  display: inline-block;

  vertical-align: middle;

  width: 25px;
  height: 25px;

  -webkit-border-radius: 50%;
     -moz-border-radius: 50%;
          border-radius: 50%;

  line-height: 25px;

  text-align: center;

  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
 }

.metro_map_name
 {
  display: inline-block;

  vertical-align: middle;

  padding-right: 12px;

  font-size: 13px;
 }

.metro_map_name.clear
 {
  height: 25px;
  padding: 0px;
  padding-left: 6px;
  padding-right: 6px;

  line-height: 25px;

  font-weight: bold;
  font-size: 18px;
  color: #ff0000;
 }

.metro_map_name.apply
 {
  height: 25px;
  padding: 0px;
  padding-left: 6px;
  padding-right: 6px;

  line-height: 25px;

  font-weight: 700;
  font-size: 18px;
  color: #0174ff;
 }

.metro_map_line.select
 {
  background-color: #e2e2e2;
 }


/* Цвета линий метро.
*/
 /* Цвета линий метро (Москва).
 */
  .msk .metro_map_line .line_1
   {
    background-color: #ed3326;
   }

  .msk .metro_map_line .line_2
   {
    background-color: #4cb85e;
   }

  .msk .metro_map_line .line_3
   {
    background-color: #0078bf;
   }

  .msk .metro_map_line .line_4
   {
    background-color: #00bef0;
   }

  .msk .metro_map_line .line_5,
  .msk .metro_map_line .line_sk
   {
    background-color: #8d5b2d;
   }

  .msk .metro_map_line .line_6
   {
    background-color: #f58232;
   }

  .msk .metro_map_line .line_7
   {
    background-color: #8e479b;
   }

  .msk .metro_map_line .line_8
   {
    background-color: #ffcb35;
   }

  .msk .metro_map_line .line_8A
   {
    background-color: #ffcb35;
   }

  .msk .metro_map_line .line_9
   {
    background-color: #a0a2a3;
   }

  .msk .metro_map_line .line_10
   {
    background-color: #b4d445;
   }

  .msk .metro_map_line .line_11
   {
    background-color: #79cdcd;
   }

  .msk .metro_map_line .line_12
   {
    background-color: #acbfe3;
   }

  .msk .metro_map_line .line_14,
  .msk .metro_map_line .line_ttk
   {
    background-color: #eaac9e;
   }

  .msk .metro_map_line .line_15
   {
    background-color: #cc5e9e;
   }

  .msk .metro_map_line .line_D1
   {
    background-color: #f4aa34;
   }

  .msk .metro_map_line .line_D2
   {
    background-color: #e700c3;
   }


 /* Цвета линий метро (СПб).
 */
  .spb .metro_map_line .line_1
   {
    background-color: #ed3326;
   }

  .spb .metro_map_line .line_2
   {
    background-color: #0078bf;
   }

  .spb .metro_map_line .line_3
   {
    background-color: #4cb85e;
   }

  .spb .metro_map_line .line_4
   {
    background-color: #f58232;
   }

  .spb .metro_map_line .line_5
   {
    background-color: #8e479b;
   }


 /* Цвета линий метро (Казань).
 */
  .kazan .metro_map_line .line_1
   {
    background-color: #ed3326;
   }