/* 
* Extra small devices (portrait phones, less than 576px)
* No media query for `xs` since this is the default in Bootstrap
 */

@media (min-width: 340px) {

}

/*
* Small devices (landscape phones, 576px and up)
*/
@media (min-width: 576px) { 

}

/*
* Medium devices (tablets, 768px and up)
*/
@media (min-width: 768px) {
    body{
        padding-top: 60px;
    }
    body.error-page{
        padding-top: 0px;
    }
    .navbar {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 1030;
        background-image: url(/images/sw.png);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    }
}

/*
* Large devices (desktops, 992px and up)
*/
@media (min-width: 992px) {
    #site-login-title {font-size: 2.5rem;text-align: left;margin:0 0 60px;}
}

/*
* Extra large devices (large desktops, 1200px and up)
*/
@media (min-width: 1200px) {
    .container {
        max-width: 1180px !important;
    }
}

/*
* Extra large devices (large desktops, 1200px and up)
*/
@media (max-width: 1200px) {
    header:after{
        width: 220px !important;
        height: 220px !important;
    }
    .navbar .navbar-nav .nav-link {
        padding-left: 15px;
        padding-right: 15px;
    }
    .navbar .navbar-nav .nav-link::before {
        display: none;
    }
    header .address{
        font-size: 18px;
    }
}


@media (max-width: 992px) {
    header:after{
        width: 150px !important;
        height: 150px !important;
    }
    .select2-items{
        max-height: 80vh;
        overflow-y: auto;
    }
    header .i-contacts {
        margin: 15px auto;
        display: table;
    }
    header .address {
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .toolbar-row, .footer{
        height: auto;
        min-height: 60px;
    }
    .toolbar .btn-group {
        margin: 10px auto;
    }
    .logo{
        max-width: 100px
    }
    .logo img{
        max-height: 100%;
        width: auto;
    }
    #sidenav {
        flex: 0 1 100%;
    }
    .site header .title {
        margin: 40px 0;
    }
    .admin-bar nav {
        position: relative;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -ms-flex-align: center;
        align-items: center;
        -ms-flex-pack: justify;
        justify-content: space-between;
        padding: 0.5rem 1rem;
    }
    #admin-nav, #admin-nav a {
        text-align: left;
    }
    #admin-nav>ul>li>.image-nav-item,
    #admin-nav>ul>li>a>.image-nav-item{
        font-size: inherit;
        padding-bottom: 0px;
        width: auto;
        display: inline;
    }
    #admin-nav > ul > li > .br-menu-sub {
        position: relative;
        left:0;
        width: 100%;
        height: auto !important;
        background-color: #3d5f82;
        top: 0px;
        bottom: 0px;
        display: none;
        z-index: 1;
        opacity: 1;
        -webkit-transition: none;
        transition: none;
    }
    #admin-nav .br-menu-sub.show {
        top: 0px;
        z-index: 1;
        opacity: 1;
        bottom: 0px;
        border-left: 3px solid #4d6884;
        display: block;
    }
    .header-title{
        text-align: center;
    }
    .go-to-site {
        margin: 0 auto;
    }
    header:after{
        width: 100px;
        height: 130px;
    }
    header .title{
        background-size: auto 100%;
        font-size: 30px;
        padding-left: 136px;
    }
    footer .phone.border-left{
        border: none !important;
    }
    footer .flex-column > *{
        margin-bottom: 10px;
    }
    footer .flex-column > *:last-child{
        margin-bottom: 0px;
    }
    .page-header {
        text-align: center;
    }
    .category-docs .item-title{
        font-size: 22px;
    }
    .owl-nav {
        position: static !important;
        margin: 0px !important;
        z-index: 1 !important;
    }
    .owl-carousel .owl-nav button.owl-next, .owl-carousel .owl-nav button.owl-prev, .owl-carousel button.owl-dot {
        position: absolute;
        top: 50%;
        z-index: 2;
    }
    
    header .i-contacts {
        font-size: 25px;
    }
}

@media (max-width: 720px) { 
    header:after{
        display: none;
    }
}

@media (max-width: 450px) { 

    header:after{
        display: none;
    }
    header .title {
        background-size: auto 100%;
        font-size: 26px;
        padding-left: 0;
        padding-top: 180px;
        text-align: center;
        background-position: 50% 0px;
        background-size: 170px auto;
    }
    header .address {
        font-size: 16px;
    }
    header .phone {
        font-size: 30px;
    }
}