/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
		font-family: 'PT Sans', sans-serif;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}



/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.clr:after {clear:both;display:table;width:100%;content:'';}
.icnSvg {display:inline-block;vertical-align:middle;fill:currentColor;transition:all .3s;}
.icnSvg--20 {width:20px;height:20px;}
.icnSvg--15 {width:15px;height:15px;}

.no-select {
  -webkit-user-select: none;  /* Chrome all / Safari all */
  -moz-user-select: none;     /* Firefox all */
  -ms-user-select: none;      /* IE 10+ */
  user-select: none;          /* Likely future */
}






.page {display:none;margin-left:auto;margin-right:auto;width:800px;background:#fff;padding:72px 10px;}


.head {text-align:center;margin-bottom:-45px;position:relative;z-index:2;}
.logo {display:inline-block;vertical-align:top;margin-bottom:-10px;}
.logo__img {vertical-align:top;max-width:100%;display:inline-block;}


.title-h1 {font-size:34px;font-weight:normal;line-height:1;cursor:default;}



/*MAP*/
#map {position:relative;width:800px;margin-left:auto;margin-right:auto;}

.map-item {cursor:default;font-size:13px;text-shadow:1px 1px 0 rgba(255,255,255,.3);line-height:0;position:absolute;cursor:pointer;white-space: nowrap;
	-webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.map-dot {display:inline-block;vertical-align:middle;width:5px;height:5px;border-radius:50%;background:#000;}
.map-name {display:inline-block;vertical-align:middle;}


#dot-spb {left:124px;top:130px;}
#dot-msk {left:110px;top:188px;}
#dot-msk .map-name  {position: absolute;top: -8px;left:0px;}
#dot-nv {left:140px;top:210px;}
#dot-nv .map-name  {position: absolute;top: -8px;left: 5px;}
#dot-don {left:48px;top:255px;}
#dot-don .map-name  {position: absolute;bottom: -8px;left: -30px;}
#dot-smr  {left:145px;top:260px;}
#dot-smr .map-name  {position: absolute;bottom: -8px;left: -20px;}
#dot-cb {left:212px;top:285px;}
#dot-cb .map-name  {position: absolute;bottom: -8px;left: -30px;}
#dot-tm {left:258px;top:285px;}
#dot-ekb {left:234px;top:265px;}
#dot-ekb .map-name  {position: absolute;top: -8px;left: 0px;}
#dot-pr {left:204px;top:235px;}
#dot-pr .map-name  {position: absolute;top: -8px;left: -10px;}
#dot-nch {left:173px;top:248px;text-align: right;}
#dot-nch .map-name  {position: absolute;top: -8px;right: 0px;}



/*TOWNS*/
.citys {}
.citys__col {width:50%;float:left;text-align:center;}
.citys__list {list-style:none;margin:0;padding:0;display:inline-block;vertical-align:top;text-align:left;}

.cityInf {display:block;color:#000;text-decoration:none;transition: all .3s;padding:5px;}

.cityInf__name {font-weight:bold;font-size:18px;display:inline-block;vertical-align:middle;}
.cityInf__name a, .cityInf__tel a {color:#000;text-decoration:none;transition:all .4s ease-in;}
.cityInf__name a:hover, .cityInf__tel a:hover {color:#e4983e;}

.cityInf__tel {font-size:16px;display:inline-block;vertical-align:middle;}
.cityInf__name-icn {color:#6195ca;}
.cityInf__tel-icn {color:#c4c4c4;}




.st3, .st4 {transition: all .4s ease-in;cursor:pointer;}
.st3:hover, .st3.hover {fill:#e4983e;}



/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
