/*! HTML5 Boilerplate v5.3.0 | 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
   ========================================================================== 
   
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&subset=cyrillic&display=swap'); */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

body {
    font-family: 'Open Sans', sans-serif;
    padding-top: 50px;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * 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;
}

a {
    color: #982c37;
}

a:hover {
    color: #982c37;   
}

.anchor {
    
}

/* titles */

h1 {
    color: #982c37;
}

h2, h3, h4, h5, h6 {
    color: #da840a;
}

.glyphicon {
    top: 2px;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
   
.logo {
    padding-top: 70px;
    padding-bottom: 60px;
}

.phone-head {
    text-align: right;
}

.phone-head a {
    display: inline-block;
    color: #fff;
    position: relative;
    z-index: 999;
    font-size: 20px;
    font-weight: 700;
}

.phone-head a:hover {
    text-decoration: underline;
    color: #fff;
}
   
.top-content {
    background: rgba(218,132,10,0.8);
    padding-bottom: 30px;
}

.top-content h2 {
    color: #fff;
}

.main-content {
    background: #fff;
    padding-bottom: 30px;
}

.main-content-index {
    background: #fff;
    padding-bottom: 30px;
}

.bottom-content {
    background: #f5f5f5;
    padding-bottom: 30px;
}

.bottom-links {
    padding-top: 30px;
    padding-bottom: 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.breadcrumb {
    margin-top: 15px;
}

/* navbar */

.top-nav {
    background: rgba(76,103,138,.8);
}

.navbar {
    margin-bottom: 0px;
    min-height: 50px;
}

.navbar-default {
    border: 0;
    border-radius: 0;
    background: none;
}

.navbar-default .navbar-nav>li>a {
    color: #f4f4f4;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover {
    color: #f4f4f4;
    background: rgba(76,103,138,1);
}

.navbar-default .navbar-brand {
    color: #fff;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff !important;
}

/* search */

.search-on {
    position: relative;
    float: right;
    padding: 6px 10px;
    margin-top: 8px;
    margin-right: 15px;
    margin-bottom: 8px;
}

.search-mobile {
    display: none;
}

/* letters */

.pills-main {
    text-align: center;
}

.pills-main li {
    list-style: disc;
    color: #fff;
    list-style-position: inside;
    padding: 0 20px;
}

.pills-main li a {
    color: #fff;
    font-size: 16px;
}

.pills-main li a:hover {
    color: #fff; 
}

.letters-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.letters-list li {
    display: inline-block;
    padding: 0 5px;
}

.list-main li a {
    color: #fff;
    font-weight: 700;
    font-size: 16px;
}

.letters-list li a {
    font-size: 16px;
}

.letters-list li a:hover {
    color: #b8b8b8;
}

.letters-list li.active a {
    color: #b8b8b8;
    text-decoration: underline;
}


/* sidebar */

.side-news {
    margin: 0;
    padding: 0;
    list-style: none;
}

.side-news li {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dotted #d1d1d1;
}

.side-news li a {
    font-weight: 700;
}

/* footer */

.footer {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding-top: 30px;
    padding-bottom: 30px;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

.footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer .glyphicon {
    margin-right: 10px;
}

#map {
    height: 340px;
    width: 100%;
    padding: 0;
    background-position: center center;
}

/* up-down */

.go-up, .go-down {
     display: none;
     position: fixed;
     z-index: 9999;
     right: 20px;
     background: #4F4F4F;
     border: 1px solid #ccc;
     border-radius: 5px;
     cursor: pointer;
     color: #fff;
     text-align: center;
     font: normal normal 42px/42px sans-serif;
     text-shadow: 0 1px 2px #000;
     opacity: .5;
     padding: 0;
     margin-bottom: 5px;
     width: 42px;
     height: 42px;
}
.go-up { bottom: 70px; }
.go-down { bottom: 20px; }
.go-down:hover,
.go-up:hover {
 opacity: 1;
 box-shadow: 0 5px 0.5em -1px #666;
}


/* videos */

.myvideo {
    position:relative;
    padding-bottom:56.25%;
    padding-top:30px;
    height:0;
    overflow:hidden;
    border:1px solid #ccc;
}
.myvideo iframe,.myvideo object,.myvideo embed {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

/* media */

.media {
    margin-bottom: 30px;
}

.gallery {
    margin-top: 20px;
}

.album-item p {
    margin-top: 10px;
    text-align: center;
}

/* filters */

#categories label {
    display: block !important;
}

#mse2_mfilter .pagination {
    margin-bottom: 15px !important;
}

#pdopage .pagination {
    margin-bottom: 15px !important;
}

/* bs pagination */

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
    background-color: #982c37;
    border-color: #982c37;
}

.pagination>li>a:focus, .pagination>li>a:hover, .pagination>li>span:focus, .pagination>li>span:hover {
    color: #fff;
    background-color: #982c37;
    border-color: #982c37;
}

.pagination>li>a, .pagination>li>span {
    color: #982c37;
}

/* share */

.ya-share2__title {
    display: none !important;
}

.ya-share2 {
    position: fixed;
    left: 0;
    top: 35%;
}

/* jGrowl */

.jGrowl {
    z-index: 99999 !important;
}

.jGrowl-notification {
    opacity: 0.95 !important;
}

/* faq */

.ec-message__reply {
    word-wrap: break-word;
}

/* cols */

.cols {
    display: inline-block;
    text-align: left;
}

/* call widget */

.call-btn{
    width: 60px;
    z-index: 999;
    height: 60px;
    right: 80px;
    bottom: 40px;
    font-size: 20px;
    line-height: 60px;
    text-align: center;
    position: fixed;
    border-radius: 60px;
    background: #c53342; /* change color*/
}
.callme{
    color: #fff; /* change color*/
}

.callme:hover {
    color: #fff;
}

.callme::before,
.callme::after {
    top: 50%;
    left: 50%;
    opacity: 0;
    content: '';
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: absolute;
    pointer-events: none;
    margin: -25px 0 0 -25px;
    
}

.callme::before,
.callme::after {
   /*  box-shadow: 0 0 0 3px rgba(111,148,182,0.5); change color
   */ 
   box-shadow:  0 0 0 4px rgba(255, 186, 193, 0.7);
}

.callme:before,
.callme::after{
    -webkit-animation-name: anim-effect-2, anim-effect-1;
    animation-name: anim-effect-2, anim-effect-1;
    -webkit-animation-duration: 2.6s;
    animation-duration: 2.6s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
}

.callme:after{
    -webkit-animation-delay: 1.3s;
    animation-delay: 1.3s;
}

@-webkit-keyframes anim-effect-1 {
    0%, 100% {
        opacity: 0;
    }
    40%, 60% {
        opacity: 1;
    }
}

@keyframes anim-effect-1 {
    0%, 100% {
        opacity: 0;
    }
    40%, 60% {
        opacity: 1;
    }
}

@-webkit-keyframes anim-effect-2 {
    0% {
        -webkit-transform: scale3d(0.5, 0.5, 1);
        transform: scale3d(0.5, 0.5, 1);
    }
    100% {
        -webkit-transform: scale3d(1.4, 1.4, 1);
        transform: scale3d(1.4, 1.4, 1);
    }
}

@keyframes anim-effect-2 {
    0% {
        -webkit-transform: scale3d(0.5, 0.5, 1);
        transform: scale3d(0.5, 0.5, 1);
    }
    100% {
        -webkit-transform: scale3d(1.4, 1.4, 1);
        transform: scale3d(1.4, 1.4, 1);
    }
}

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

.padd10 {
    padding: 10px;
}

.no-padding {
    padding-left: 0;
    padding-right: 0;
}

/*
 * 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 (max-width: 767px) {
    .ya-share2 {
        display: none !important;
    }
    
    .share-mobile {
        display: block !important;
        position: relative;
    }
    
    body {
        padding-top: 50px;
    }
    
    .cols {
        width: 50%;
        display: block;
        float: left;
    }

    .pills-main li {
        padding: 0 0px;
        list-style: none;
    }
    
    .pills-main li a {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    
    .navbar-default .navbar-nav>li>a {
        padding: 12px 8px;
        font-size: 20px;
    }
    
    .navbar-brand {
        padding: 15px 8px;
        font-size: 20px;
    }
    
    
}

@media (max-width: 768px) {

    .logo {
        padding-top: 85px;
        padding-bottom: 10px;
    }
    
}

@media (max-width: 480px) {

.logo {
    padding-top: 20px;
    padding-bottom: 10px;
}

}


@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,
    p:first-letter,
    div:first-letter,
    blockquote:first-letter,
    li:first-letter,
    p:first-line,
    div:first-line,
    blockquote:first-line,
    li:first-line {
        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;
    }
}



/* ==========================================================================
   карта от 09-08-2025
   ========================================================================== */
        
        .card {
            padding: 30px;
        }
        
        .subtitle {
            text-align: center;
            color: #7f8c8d;
            margin-bottom: 30px;
            font-weight: 300;
        }
        
        .map-container {
            position: relative;
            width: 100%;
            height: 500px;
            overflow: hidden;
            cursor: pointer;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        
        .map-container:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
        }
        
        .map-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.8s ease;
        }
        
        .map-container:hover .map-image {
            transform: scale(1.05);
        }
        
        .map-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            background: rgba(0, 0, 0, 0.3);
            opacity: 0;
            transition: opacity 0.5s ease;
        }
        
        .map-container:hover .map-overlay {
            opacity: 1;
        }
        
        .map-icon {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            background: rgba(255, 255, 255, 0.95);
            box-shadow: 
                0 0 0 15px rgba(255, 255, 255, 0.3),
                0 0 50px rgba(0, 0, 0, 0.3);
            position: relative;
            transition: all 0.4s ease;
            animation: pulse 3s infinite;
        }
        
        .map-container:hover .map-icon {
            animation: pulse-active 1.5s infinite, rotate 15s linear infinite;
            transform: scale(1.1);
            box-shadow: 
                0 0 0 20px rgba(52, 152, 219, 0.2),
                0 0 0 40px rgba(46, 204, 113, 0.1),
                0 0 60px rgba(231, 76, 60, 0.4);
        }
        
        .map-icon svg {
            width: 60px;
            height: 60px;
            transition: all 0.4s ease;
        }
        
        .map-container:hover .map-icon svg {
            transform: scale(1.2);
            filter: drop-shadow(0 0 8px rgba(41, 128, 185, 0.8));
        }
        
        .map-label {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 12px 30px;
            border-radius: 30px;
            font-size: 18px;
            font-weight: 500;
            letter-spacing: 1px;
            opacity: 0;
            transition: all 0.5s ease;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }
        
        .map-container:hover .map-label {
            opacity: 1;
            bottom: 40px;
        }
        
        .instructions {
            margin-top: 30px;
            background: #f8f9fa;
            padding: 20px;
            border-radius: 12px;
            box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
        }
        
        .instructions h2 {
            color: #2c3e50;
            margin-bottom: 15px;
            font-size: 1.5rem;
        }
        
        .instructions p {
            color: #7f8c8d;
            line-height: 1.6;
            margin-bottom: 10px;
        }
        
        .features {
            display: flex;
            justify-content: space-around;
            margin-top: 30px;
            flex-wrap: wrap;
        }
        
        .feature {
            text-align: center;
            padding: 20px;
            width: 200px;
            background: white;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            margin: 10px;
            transition: all 0.3s ease;
        }
        
        .feature:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        }
        
        .feature i {
            font-size: 36px;
            color: #3498db;
            margin-bottom: 15px;
        }
        
        .feature h3 {
            color: #2c3e50;
            margin-bottom: 10px;
        }
        
        .feature p {
            color: #7f8c8d;
            font-size: 14px;
        }
        
        footer {
            text-align: center;
            padding: 20px;
            color: #ecf0f1;
            background: rgba(0, 0, 0, 0.2);
            margin-top: 30px;
            border-radius: 0 0 20px 20px;
        }
        
        /* Анимации */
        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
            70% { box-shadow: 0 0 0 20px rgba(255, 255, 255, 0); }
            100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
        }
        
        @keyframes pulse-active {
            0% { 
                box-shadow: 
                    0 0 0 0 rgba(52, 152, 219, 0.2),
                    0 0 0 0 rgba(46, 204, 113, 0.1),
                    0 0 0 0 rgba(231, 76, 60, 0.1);
            }
            50% { 
                box-shadow: 
                    0 0 0 20px rgba(52, 152, 219, 0),
                    0 0 0 40px rgba(46, 204, 113, 0),
                    0 0 60px rgba(231, 76, 60, 0);
            }
            100% { 
                box-shadow: 
                    0 0 0 0 rgba(52, 152, 219, 0),
                    0 0 0 0 rgba(46, 204, 113, 0),
                    0 0 0 0 rgba(231, 76, 60, 0);
            }
        }
        
        @keyframes rotate {
            0% { transform: rotate(0deg) scale(1.1); }
            100% { transform: rotate(360deg) scale(1.1); }
        }
        
        @media (max-width: 768px) {
            .map-container {
                height: 350px;
            }
            
            .map-icon {
                width: 80px;
                height: 80px;
            }
            
            .map-icon svg {
                width: 40px;
                height: 40px;
            }
            
            .map-label {
                font-size: 14px;
                padding: 8px 20px;
            }
            
            .features {
                flex-direction: column;
                align-items: center;
            }
        }
