.main-menu a span {
    padding-top: 12px;
    padding-bottom: 12px;
}

.sidebar-top {
    padding: 20px;
}

.sidebar-top .tac {
    line-height: 16px;
}

.main-logo {
    display: block;
    margin: 0 auto 25px;
    max-width: 111px;
    padding: 0;
    border-bottom: none;
}

.main-logo img {
    display: block;
    width: 100%;
    max-width: 100%;
}

.sidebar-top .back-link {
    line-height: 16px;
    margin-right: 0;
    padding-left: 26px;
    -moz-osx-font-smoothing: grayscale;
    -ms-text-size-adjust: 100%;
    -webkit-focus-ring-color: rgba(255,255,255,0);
    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-text-size-adjust: 100%;
}

.sidebar-top .back-link:before {
    left: 0;
}

.back-link:before {
    transition: background 0.2s ease-out;
}

.main-menu a {
    line-height: 16px;
    font-weight: 400;
    -moz-osx-font-smoothing: grayscale;
    -ms-text-size-adjust: 100%;
    -webkit-focus-ring-color: rgba(255,255,255,0);
    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-text-size-adjust: 100%;
}

.main-menu .active a {
    background: #faaa5b;
}

.main-menu i.fa {
    position: absolute;
    top: 13px;
    left: 20px;
    margin-right: 13px;
}

.main-menu .active i.fa {
    color: #fff;
}

.main-menu a span {
    padding: 12px 30px 12px 45px;
}

.main-menu ._dropdown a span::after {
    position: absolute;
    top: 17px;
    right: 20px;
    width: 6px;
    height: 6px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    content: '';
    -webkit-transition: -webkit-transform .2s ease-out;
    transition: -webkit-transform .2s ease-out;
    transition: transform .2s ease-out;
    transition: transform .2s ease-out, -webkit-transform .2s ease-out;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.main-menu .opened._dropdown a span::after {
    top: 17px;
    right: 20px;
    transform: rotate(135deg);
}

.main-menu .menu_child a span::after {
    display: none !important;
}

.main-menu .menu_child a span {
    padding: 7px 20px 7px 45px;
}

.main-menu .active_child a {
    background: transparent;
    border-bottom: none;
    color: #fff;
}

.p-dashboard .app-top {
    display: none;
}

.p-dashboard .app-main {
    margin-bottom: 0;
}

.p-dashboard .app {
    padding-bottom: 0;
}

.app-top {
    padding: 19px 50px 19px 30px;
    box-shadow: 0 1px 10px rgba(0,0,0,0.1);
    border-bottom: none;
}

.app-top h1 {
    line-height: 22px;
}

.app-top h1 i.fa {
    margin-right: 13px;
    float: none;
}

.top-user-menu {
    line-height: 19px;
    margin-right: 0;
    color: #31373d;
}

.top-user-menu-item {
    line-height: 19px;
}

.top-user-menu-item:not(:last-child) {
    margin-right: 21px;
}

.close-mobile-menu {
    display: none !important;
    pointer-events: none !important;
}

@media (max-width: 1024px) {
    .app-top {
        top: 0;
        left: 0;
        width: 100%;
        position: relative;
        z-index: 101;
    }

    .sidebar-top {
        display: none;
    }

    .app-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 100;
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        max-width: 100%;
        width: 100%;
        padding-top: 70px;
        height: 100%;
        background-color: #fff;
        opacity: 0;
        -webkit-transition: opacity .2s ease-out;
        transition: opacity .2s ease-out;
        pointer-events: none;
        max-height: 100vh;
        overflow-y: auto;
        padding-bottom: 70px;
        bottom: auto;
        transform: none !important;
    }

    .app-sidebar._open + .app-main .app-top {
        position: fixed;
    }

    .app-sidebar._open + form .app-main .app-top {
        position: fixed;
    }

    .app-sidebar._open {
        opacity: 1;
        pointer-events: all;
    }

    .app-top {
        padding: 19px 50px 19px 20px;
    }

    .app-top h1 {
        margin-left: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .main-menu {
        background: #fff;
        padding: 0 20px;
    }

    .menu_child {
        background: #fff;
    }

    .main-menu a {
        color: #31373d;
    }

    .main-menu .active_child a {
        color: #faaa5b;
    }

    .main-menu a span {
        padding: 18px 30px 18px 45px;
        font-size: 13px !important;
        line-height: 16px !important;
    }

    .main-menu i.fa {
        top: 18px;
        color: #31373d;
    }

    .menu_child {
        background: #f8f8f8;
    }

    .main-menu .cp {
        border-bottom: 1px solid #dedddd;
    }

    .main-menu .cp.menu_child {
        border-bottom: 0;
    }

    .main-menu ._dropdown a span::after {
        top: 21px;
        width: 8px;
        height: 8px;
        border-top: 1px solid #faaa5b;
        border-right: 1px solid #faaa5b;
    }

    .main-menu .menu_child a span {
        padding: 10px 0 10px 20px;
        text-decoration: none;
    }

    .main-menu .active a {
        background: #fff;
        color: #31373d;
    }

    .main-menu a:hover, .main-menu a:active, .main-menu a:focus, .main-menu .active a {
        color: #31373d;
    }

    .menu_child a:hover {
        text-decoration: none;
    }

    .main-menu .opened span {
        color: #31373d;
    }

    .main-menu .active i.fa {
        color: #31373d;
    }
}