/*logo*/
.logo-panel img {
    width: 190px;
}
@media only screen and (min-width: 992px) {
    .project-sidebar {
        position: fixed;
    }
}
.project-sidebar {
    background: #fff;
    width: 265px;
    top: 0;
    left: 0;
    margin-top: 0!important;
}
.logo-panel {
    padding: 20px 15px;
    display: flex;
    justify-content: center;
}
@media (max-width: 992px){
    .sp-module.project-sidebar {
        padding: 0 15px;
    }
    .logo-panel {
        padding-right:0px;
    }
    .com-sppagebuilder.com-altauserpoints .sp-module.project-sidebar {
        padding: 0 30px!important;
    }
}

/*icons*/
.sidebar-box img {
    width: 20px;
    margin-right: 15px;
    opacity:0.3;
}
.sidebar-box .active img{
    opacity:1;
}

/*sp left background*/
.view-user div#sp-left {
    padding: 0;
    /* margin: 0!important; */
}
.sidebar {
    -webkit-transition: all 0.25s linear;
    -o-transition: all 0.25s linear;
    display: block;
    z-index: 3;
    position: absolute;
    left: -1000px;
    width: 100%;
    padding: 30px 20px 30px 0;
    overflow-y: auto;
    background-color: #fff;
    transition: all 0.25s linear;
}

/*sidebar function*/
@media only screen and (min-width: 992px) {
.sidebar.is-show {
    left: 0;
    position: fixed;
    width: 250px;
    overflow-y: scroll;
    height: 620px;
    padding-bottom: 80px;
}}

.sidebar.is-show {
    left: 0;
    width: 265px;
    overflow-y: scroll;
    height: 100%;
    padding-bottom: 120px;
}
@media (max-width:991px){
    .sidebar.is-show {
    padding-top: 30px;
}}

/*sidebar list*/
/* New Dropdown Button Styles */
.sidebar-box .dropdown-btn {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-transition: all 0.25s linear;
    -o-transition: all 0.25s linear;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: flex-start;
    padding: 15px 12px 15px 30px;
    border-radius: 8px;
    color: #888;
    font-weight: 700;
    transition: all 0.25s linear;
    width: calc(100% - 10px);
    margin-left:10px;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: 'Inter', serif;
    font-size: 13px;
    background:transparent;
}

.sidebar-box .dropdown-btn:hover {
    background: rgb(179 179 179 / 16%);
    color: #888;
}

.sidebar-box .dropdown-btn.active {
    background: rgb(179 179 179 / 16%);
    color: #333;
}
.sidebar-box .dropdown-btn.active:hover{
    background: rgb(179 179 179 / 16%);
    color: #333;
}

/* Dropdown Icon (Font Awesome Caret) */
.sidebar-box .dropdown-btn .fa-caret-down {
    margin-left: auto;
    transition: transform 0.3s ease;
    font-size: 16px;
}

.sidebar-box .dropdown-btn.active .fa-caret-down {
    transform: rotate(180deg);
}

/* Dropdown Container */
.dropdown-container {
    margin-bottom:15px;
    margin-top:5px;
    border-left:3px solid #eee;
    margin-left:40px;
    padding:0;
}

.dropdown-container a {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-transition: all 0.25s linear;
    -o-transition: all 0.25s linear;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 12px 12px 45px;
    border-radius:8px;
    margin:0 5px;
    padding:10px 10px;
    max-width:170px;
    color:#888;
    font-weight: 700;
    font-size:13px;
    font-family: 'Inter', serif;
}

.dropdown-container a:hover, 
.dropdown-container a:focus{
    background:#eee;
    color:#888;
}

.dropdown-container a.active {
    background: transparent;
    color: #333;
}
.dropdown-container a.active:hover,
.dropdown-container a.active:active{
    background: #eee;
    color: #333;
}

/* Regular Links (Non-dropdown) */
.sidebar-box a:not(.dropdown-container a) {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: flex-start;
    padding: 15px 12px 15px 30px;
    border-radius: 8px;
    color: #888;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    transition: 0.5s;
    text-decoration: none;
    font-family: 'Inter', serif;
    font-size: 13px;
    width:calc(100% - 10px);
    margin-left:10px;
}

.sidebar-box a:not(.dropdown-container a):hover,
.sidebar-box a:not(.dropdown-container a):focus,
.sidebar-box a:not(.dropdown-container a):active {
    background: rgb(179 179 179 / 16%);
    color: #888;
}

.sidebar-box a.active:not(.dropdown-container a) {
    background: transparent;
    color: #333;
}
.sidebar-box a.active:not(.dropdown-container a):hover,
.sidebar-box a.active:not(.dropdown-container a):focus{
    background: rgb(179 179 179 / 16%);
    color: #333;
}

/* Category Header */
.category-header {
    margin-top: 35px;
    padding-left: 30px;
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.33;
    text-transform: uppercase;
    padding-bottom: 10px;
}

.category-header:first-child {
    margin-top: 0;
}

/*MOBILE*/
@media (max-width: 992px){
.project-sidebar>.sp-module-content {display: inline-flex;width: 100%!important;justify-content: end;position: relative;}
.sp-module.project-sidebar {width: 100%;}
.sp-module.project-sidebar {height: 80px;}
.logo-panel img {max-width: 155px;}
}

/*sengzi*/
/*later i moved it to different folder -  0foc_system > dashboard.css*/

.sidebar.is-show+.page-main {
    -webkit-transition: all 0.25s linear;
    -o-transition: all 0.25s linear;
    left: 250px;
    width: calc(100% - 250px);
    padding: 45px 45px;
    transition: all 0.25s linear;
}

.sidebar+.page-main {
    -webkit-transition: all 0.25s linear;
    -o-transition: all 0.25s linear;
    left: 0;
    width: 100%;
    padding: 45px 30px;
    transition: all 0.25s linear;
}

.sidebar-box {
    display: block;
}

.page-header__sidebar {
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 250px;
    height: 75px;
    padding: 0 30px;
    border-right: 1px solid #F2F2F2;
}

@media only screen and (min-width: 992px) {
.page-header__sidebar {
    display: none!important;
}}

.page-header__menu-btn {
    margin-right: 30px;
    margin-bottom: -10px;
    display: none;
}

.page-header__menu-btn .menu-btn {
    -webkit-transition: all 0.25s linear;
    -o-transition: all 0.25s linear;
    border: none;
    outline: none;
    color: #646464;
    font-size: 20px;
    transition: all 0.25s linear;
    background: none;
}

.menu-btn img {
    width: 30px;
    background: transparent;
}

.page-header__menu-btn .menu-btn:hover,
.page-header__menu-btn .menu-btn:focus,
.page-header__menu-btn .menu-btn:active,
.page-header__menu-btn .menu-btn.nice-select.open {
    color: #000;
    background: none!important;
}

@media only screen and (max-width: 992px) {
    .page-header__menu-btn {
        display: block;
    }
    .sidebar.is-show + .page-main {
        left: 0;
        width: 100%;
        padding: 30px;
        overflow: hidden;
    }

    .sidebar.is-show + .page-main::before {
        opacity: 1;
    }

    .sidebar + .page-main {
        padding: 30px 30px 45px;
    }

    .page-first-screen {
        padding: 50px 15px 50px 30px;
    }

    .form-login {
        padding: 30px 20px;
    }
}

@media only screen and (max-width: 992px) {

    .page-header__sidebar {
        width: auto;
        padding: 0 10px 0 0px;
        border-right: 0;
        float: left;
        position: absolute;
        left: 0;
    }

    .sidebar {
        padding: 20px 20px 20px 0;
        position: fixed;
        top: 0;
        height: 100%!important;
    }

    .sidebar.is-show + .page-main {
        padding: 20px 15px 30px;
    }
}

