﻿@media only screen and (max-width: 1191px) {
}

@media only screen and (min-width: 992px) {
    #ave-sidebar {
        right: 0 !important;
    }
}

@media only screen and (max-width: 991px) {
    #defaultheader {
        display: none;
    }

    #responsiveheader {
        display: block !important;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        background: #035481;
        box-shadow: 0 1px 5px rgba(0,0,0,0.6);
        height: 70px;
        padding: 10px;
        z-index: 90;
    }

    .rs-header-nav-logo-title {
        display: inline-block;
    }

    #responsiveheader .rs-header-nav .rs-header-nav-logo span {
        color: rgba(255,255,255,0.7);
    }

    #responsiveheader .rs-header-nav .rs-header-nav-logo h4 {
        display: inline-block;
        color: #FFF;
        font-weight: bold;
        margin: 0;
        display: block;
    }

    #responsiveheader .rs-header-nav .rs-header-nav-logo img {
        vertical-align: top;
    }

    #ave-sidebar {
        width: 363px !important;
        z-index: 90;
        position: fixed;
        height: calc(100vh - 70px);
        top: 70px;
        overflow-y: auto;
        right: -100%;
        background: #f2f2f2;
        transition: all 0.3s ease 0s;
    }

    #ave-main-content {
        width: 100% !important;
    }

    .rs-header-nav-button button {
        background: none;
        color: #FFF;
        outline: none;
        border: none;
        font-size: 28px;
        margin: 5px 5px 5px 0;
        float: left;
    }

    #rstitlecontent {
        margin-right: 20px !important;
        margin-left: 20px !important;
    }

    #rs-black-screen {
        background: rgba(0,0,0,0.6);
        width: 100%;
        height: 100%;
        display: none;
        position: fixed;
        z-index: 89;
        top: 0;
        right: 0;
    }

    #responsiveprofile {
        position: fixed;
        z-index: 100;
        top: 65px;
        left: 55px;
        background: #FFF;
        width: 250px;
        box-shadow: 0 1px 5px rgba(0,0,0,.6);
        border-radius: 5px;
        text-align: center;
        padding: 20px 5px;
    }

        #responsiveprofile button {
            display: block;
            float: none;
        }

        #responsiveprofile h3 {
            margin: 0 0 5px;
        }

        #responsiveprofile span {
            color: rgba(0, 0, 0, 0.6)
        }

        #responsiveprofile:before {
            content: '\f0d8';
            display: block;
            position: absolute;
            top: -6px;
            font-family: 'FontAwesome';
            line-height: 0.1;
            font-size: 28px;
            left: 28px;
            color: #FFF;
        }

    .responsiveheaderprofilemenu {
        border-top: 1px solid rgba(0,0,0,0.1);
        margin: 10px 15px 0;
        padding: 0;
        text-align: right;
    }

        .responsiveheaderprofilemenu li a {
            display: block;
            padding: 10px 0 0 0;
        }
}

@media only screen and (max-width: 767px) {
}

@media only screen and (max-width: 575px) {
    #responsiveheader .rs-header-nav .rs-header-nav-logo h4 {
        font-size: 12px;
    }
}

@media only screen and (max-width: 363px) {
    .item-lg-btn {
        width: 97%;
    }

    #responsiveheader .rs-header-nav .rs-header-nav-logo h4 {
        display: none;
    }

    .item-sm-btn {
        width: 97%;
    }

    #ave-sidebar {
        width: 100% !important;
    }

    #rsbackbutton {
        display: none;
    }

    #responsiveprofile {
        width: 100%;
        left: 0;
        right: 0;
    }

        #responsiveprofile:before {
            left: 83px;
        }

    .rs-header-nav-button button {
        font-size: 21px;
        margin-right: 0;
    }
}
