@font-face{
    font-family: "BYekan";
    src: url("../fonts/BYekan/BYekan-webfont.eot") format("eot"),
        url("../fonts/BYekan/BYekan-webfont.woff") format("woff"),
        url("../fonts/BYekan/BYekan-webfont.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

html,
#root{
    height: 100%;
}

body{
    font-family: 'BYekan';
    direction: rtl;
    text-align: right;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    /* background: rgb(9, 185, 103);
    background: linear-gradient(90deg, rgb(9, 187, 104) 0%, hsla(186, 100%, 69%, 1) 100%); */
}

.pointer{
    cursor: pointer !important;
}

.transition_200{
    transition: all 200ms ease;
}

.text_hover_shadow:hover{
    text-shadow: 0 0 3px black;
}

.text_shadow{
    text-shadow: 0 0 8px rgb(14, 215, 241);
}

.h_fit{
    height: fit-content;
}


/* ********************************************************************************************** */


ul{
    list-style: none;
}

a{
    text-decoration: none;
    color: unset;
}

td,
th{
    text-align: center !important;
}

.sidebar_section{
    position: fixed;
    background: linear-gradient(#12382881, #3a2a2a7a, #0b2b3a42) , url(../images/back-sidebar.jpeg) no-repeat;
    background-size: cover;
    color: white;
    width: 250px;
    right: 0;
    top: 0;
    height: 100vh;
    display: block;
    transition: all 300ms ease;
    z-index: 999;
}

.sidebar_avatar{
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    padding: 0.3rem 0.5rem !important;

}

.sidebar_avatar img{
    max-width: 75px;
    border-radius: 50%;
}

.sidebar_list li{
    padding: 0.3rem 1rem;
    transition: all 300ms ease;
}

.sidebar_list li:not(.sidebar_avatar):hover{
    padding: 0.3rem 1rem;
    background: #ebe6e681;
}


/* content section */

.content_section{
    position: fixed;
    width: calc(100% - 250px);
    left: 0;
    top: 0;
    height: 100vh;
    overflow: auto;
    background: url('../images/back-content-2.jpg');
}

.menu_button{
    position: absolute;
    top: 7px;
    right: 7px;
    z-index: 1000;
}

@media(max-width: 768px){
    .content_section{
        width: 100%;
    }
    .sidebar_section{
        right: -250px;
    }
    .sidebar_section.active{
        right: 0;
    }
}

.active_nav li{
    background-color: #fff !important;
    color: #000;
}

.border-red{
    border: 1px solid red !important;
}

.sidebar_close_button{
    font-size: 24px;
    margin-top: 20px;
    margin-right: 20px;
    cursor: pointer;
}

.Toastify__toast{
    font-family: 'BYekan';
}
