/*
 * 
 * Тема : 
 *
 * 
 */


/*
 * -----------------------------------------------------------------------------
 *
 * ...
 *
 * -----------------------------------------------------------------------------
 */

.navbar {

}

/*
 * -----------------------------------------------------------------------------
 *
 * ...
 *
 * -----------------------------------------------------------------------------
 */

.navbar-main {
    position: relative; z-index: 100;
    min-width: 360px;

    background: #fff;
}

.navbar-main .container-main {
    -ms-flex-pack: justify;
    justify-content: space-between;
}

/*
 * -----------------------------------------------------------------------------
 *
 * .
 *
 * -----------------------------------------------------------------------------
 */

.navbar-main .item {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;

    -ms-flex-positive: 0;
    flex-grow: 0; 
}

.navbar-main .item--logo {
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.navbar-main .item--logo .logo {
    width: 170px;
    padding-top: 4px;
    
    /*
    width: 168px;
    padding-top: 6px;
    */
}

.navbar-main .item--logo .text {
    margin-top: -6px;
    margin-left: 3px;

    font-size: 10px;
    line-height: 1.1;
}

.navbar-main .container--main .item-address,
.navbar-main .container--main .item-schedule {
    display: none;
    padding-right: 2rem;
}

.navbar-main .item--text {
    display: none;

    padding-left: 1rem;
    font-size: 12px;
}

.navbar-main .item--menu .btn-call {
    display: none;
}

.navbar-main .item--menu .btn-menu {
    margin-left: 6px;
}

@media (min-width: 560px) {

    .navbar-main .item--menu .btn-icon {
        display: none;
    }

    .navbar-main .item--menu .btn-call {
        display: -ms-flexbox;
        display: flex;
    }

}

@media (min-width: 768px) {
    
    .navbar-main .item--menu .btn-call {
        display: none;
    }
    
    .navbar-main .item--menu .btn-icon {
        display: block;
    }
    
    .navbar-main .container--main .item-address,
    .navbar-main .container--main .item-schedule {
        display: block;
        padding-right: 1rem;
    }
    
}

@media (min-width: 992px) {

    .navbar-main .item--menu .btn-call {
        display: -ms-flexbox;
        display: flex;
    }
    
    .navbar-main .item--menu .btn-icon {
        display: none;
    }
    
    .navbar-main .item {
        -ms-flex-positive: 0;
        flex-grow: 0; 
    }

    .navbar-main .item--logo .text {
        display: none;
    }

    .navbar-main .item--text {
        display: block;

        -ms-flex-positive: 1;
        flex-grow: 1;
    }

    .navbar-main .container--main .item-address,
    .navbar-main .container--main .item-schedule {
        display: block;
        padding-right: 1rem;
    }

}

@media (min-width: 1200px) {
    
    .navbar-main .item--logo .logo {
        width: 200px;
        
        /*
        width: 180px;
        padding-top: 8px;
        */
    }   

    .navbar-main .item--text {
        padding-left: 1rem;
    }

    .navbar-main .container--main .item-address,
    .navbar-main .container--main .item-schedule {
        padding-right: 2.5rem;
    }
    
}


/*
 * -----------------------------------------------------------------------------
 *
 * Mobile (Адрес + Расписание).
 *
 * -----------------------------------------------------------------------------
 */

.navbar-main .container--mobile .items {
    -ms-flex-pack: justify;
    justify-content: space-between;
    
    padding: .25rem 0;
    
    border-top: 1px solid #e0e0e0;
}

@media (min-width: 992px) {
    .navbar-main .container--mobile {
        display: none;
    }    
}

@media (max-width: 412px) {
    .navbar-main .contacts--icon {
        padding-left: 24px;
        font-size: 11px;
    }
}

/*
 * -----------------------------------------------------------------------------
 *
 * .
 *
 * -----------------------------------------------------------------------------
 */

#navbar-main .container--main {
    height: 70px;
}

@media (min-width: 992px) {
    #navbar-main .container--main {
        height: 100px;
    }  
}

/*
 * -----------------------------------------------------------------------------
 *
 * .
 *
 * -----------------------------------------------------------------------------
 */

#navbar-fixed {
    position: fixed; z-index: 200;
    top: -110px; left: 0; right: 0;

    box-shadow: 0 4px 4px rgba(0,0,0,.15);

    transition: top .3s ease;
}

.scrolled #navbar-fixed {
    top: 0px;
}

#navbar-fixed .container--main {
    height: 60px;
}

#navbar-fixed .container--mobile .items {
    padding: 2px 0;
}

/*

@media (min-width: 992px) {
    #navbar-fixed {
        top: -120px;
    }
    #navbar-fixed .container {
        height: 100px;
    }  
}

*/

/*
 * -----------------------------------------------------------------------------
 *
 * .
 *
 * -----------------------------------------------------------------------------
 */

/*

#navbar-panel {
    position: fixed; z-index: 200;
    bottom: 0px; left: 0; right: 0;
    
    box-shadow: 0 -4px 4px rgba(0,0,0,.15);
    
    transition: bottom .3s ease;
}

#navbar-panel .container {
    height: 60px;
}

#navbar-panel .socials {
    display: block;
}

@media (min-width: 412px) {
    #navbar-panel .socials .btn-social-vk {
        display: inline-block;
    }
}

@media (min-width: 768px) {
    #navbar-panel {
        bottom: -90px;
    }
}

*/

/*
 * -----------------------------------------------------------------------------
 *
 * Меню.
 *
 * -----------------------------------------------------------------------------
 */

#navbar-menu {
    display: none;
    
    background-color: var(--color-prim);
    color: #fff;
}

#navbar-menu .container {
    padding: 0 1rem;
}

#navbar-menu .link {
    display: block;
    padding: .75rem 1rem;
    
    font-size: 14px;
    text-decoration: none;
    
    color: inherit;
    transition: color .3s ease, background .3s ease;
}

#navbar-menu .items {
    -ms-flex-pack: justify;
    justify-content: space-between;
}

#navbar-menu .box--section {
    position: relative;
}

#navbar-menu .box--section-menu {
    position: absolute; z-index: 100;
    left: 0; top: 100%;

    width: 240px;
    padding-top: 0;

    height: 0;

    overflow: hidden;
    transition: height .4s ease;
}

#navbar-menu .box--section:nth-last-of-type(1) .box--section-menu {
    left: auto;    
    right: 0;
}

#navbar-menu .box--section:hover .box--section-menu {
    z-index: 200;
    height: 320px;
}


#navbar-menu .link.top-link {
    position: relative;
    padding: 1rem 1rem;
    
    font-size: 12px;
    white-space: nowrap;
}

#navbar-menu .link.top-link::before {
    content: "";

    position: absolute;
    left: 0; right: 0;
    bottom: 0;

    height: 4px;

    background-color: var(--color-attn);

    opacity: 0;
    transition: opacity .3s ease;
}

/*
#navbar-menu .link.top-link:hover::before,
*/

#navbar-menu .link.top-link.current::before {
    opacity: 1;
}

#navbar-menu .box--section:hover {
    background-color: var(--color-prim-dark);
}


#navbar-menu .box--section-menu .menu {
    padding: 0;
    background-color: var(--color-prim-dark);
}

#navbar-menu .box--section-menu .link.current {
    color: var(--color-attn);
}

#navbar-menu .box--section-menu .link + .link {
    border-top: 1px solid rgba(255,255,255,.1);
}

#navbar-menu .box--section-menu .link:hover {
    background-color: var(--color-attn);
    color: #fff;
}


@media (min-width: 992px) {
    #navbar-menu {
        display: block;
    }
}

@media (min-width: 1200px) {
    #navbar-menu .link.top-link {
        font-size: 14px;
    }    
}




/*
 * -----------------------------------------------------------------------------
 *
 * .
 *
 * -----------------------------------------------------------------------------
 */