:root{
    /*  Colors  */
    --body-color: #E4E9F7;
    --sidebar-color: #fff;
    --primary-color: #0071bb;
    --primary-color-light: #f6f5ff;
    --secondary-color: black;
    --toggle-color: #ddd;
    --text-color: #707070;
    --modiran-font-family: "Vazirmatn", serif;

    /*  Transition */
    --tran-02: all 0.2s ease;
    --tran-03: all 0.3s ease;
    --tran-04: all 0.4s ease;
    --tran-05: all 0.5s ease;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--modiran-font-family);
    /*font-family: "Iran yekan thin";*/
}
body{
    height: 100%;
    width: 100%;
    /*background: var(--body-color); */
}
.user-img{
    width: 50px;
    border-radius: 100%;
    border: 1px solid #eee;
}
.ds-sidebar{
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 80px;
    background-color: #2980b9; 
    /*background: linear-gradient(135deg, #2980b9, #298051 ); /* #f5d5b9 ); */

    /*box-shadow: -10px -10px 20px lightgray; */
    padding: 0.4rem 0.8rem;
    transition: all 0.5s ease;
}
@media print{
    .ds-sidebar{
        display: none;
        width: 0px;
    }
    .main-content{
        width: 100% !important;
        right: 0px !important;
    }
    .ds-sidebar.active{
        width: 0px;
    }
}
.ds-sidebar.active ~ .main-content{
    right: 250px;
    width: calc( 100% - 250px );
}
.ds-sidebar.active{
    width: 250px;
}
.ds-sidebar #btn-toggle-menu{
    position: absolute;
    color: white;
    top: 0.4rem;
    left: 50%;
    font-size: 1.2rem;
    line-height: 50px;
    transform: translateX(-50%);
    cursor: pointer;
}
.ds-sidebar.active #btn-toggle-menu{
    right: 80%;
}
.ds-sidebar .top .logo{
    color: var(--secondary-color);
    display: flex;
    height: 50px;
    width: 100%;
    align-items: center;
    pointer-events: none;
    opacity: 0;
}
.ds-sidebar.active .top .logo{
    opacity: 1;
}
.top .logo{
    font-size: 1.3rem;
    margin-right: 5px;
}

.user{
    display: flex;
    align-items: center;
    margin: 1rem 0;
}
.user p{
    color: var(--primary-color);
    opacity: 1;
    margin-left: 1rem;
}
.bold{
    font-weight: 600;
}
.ds-sidebar p{
    opacity: 0;
}
.ds-sidebar.active p{
    opacity: 1;
}
.ds-sidebar ul{
    right: 0.1rem;
    padding-right: 0.1rem;
}
.ds-sidebar ul li{
    position: relative;
    list-style-type: none;
    height: 30px;
    width: 90%;
    margin: 0.4rem auto;
    line-height: 30px;
}
.ds-sidebar ul li a{
    color: white;
    display: flex;
    align-items: center;
    text-decoration: none;
    border-radius: 0.8rem;
}
.ds-sidebar ul li a:hover{
    background-color: #fff;
    color: #12171e;
}
.ds-sidebar ul li a i{
    min-width: 50px;
    text-align: center;
    height: 50px;
    border-radius: 12px;
    line-height: 50px;
}
.ds-sidebar .ds-nav-item{
    opacity: 0;
}
.ds-sidebar.active .ds-nav-item{
    opacity: 1;
}
.ds-sidebar ul li .ds-tooltip{
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0.5rem 0.8rem rgba(0, 0, 0, 0.2);
    border-radius: 0.6rem;
    padding: 0.4rem 1.2rem;
    line-height: 1.8rem;
    z-index: 20;
    opacity: 0;
}
.ds-sidebar ul li:hover .ds-tooltip{
    opacity: 1;
    background: white;
}

.ds-sidebar.active ul li .ds-tooltip{
    display: none;
}
.main-content{
    position: relative;
    background-color: #fff;
    height: 100%;
    top:0;
    right: 125px;
    transition: all 0.5s ease;
    width: calc( 100vw - 125px );
    padding: 1rem;
}

.ds-user-dropdown-menu{
    background-color: var(--body-color);
    padding: 10px;
}
.ds-user-dropdown-menu li a:hover{
    background-color: #fff;
    color: #12171e;
    border-radius: 12px;
}
.action-group{
    background-color: white;
}
.card-header{
    background-color: #2980b9;
    color: white;
}
.active-company-title{
    border-radius: 20px;
    padding-left: 5px;
    padding-right: 5px;
    text-align: center;
}