@font-face{
    font-family: Vazir;
    src: url('fonts/Vazir.woff2') format('woff2');
    font-weight: normal;
}
:root{
    --jf-primary-color: #FF8552;
    --jf-primary-color-hover: #fa682a;
    --jf-secondary-color: #297373;
    --jf-secondary-color-hover: #256666;
    --jf-success: #02a533;
    --jf-error: #f00;
    --jf-white: #f4f4f4;
    --jf-white-hover: #fff;
    --jf-black: #555;
    --jf-black-hover: #333;
    --jf-bg-one: #F4F4FC;
    --jf-bg-two: #E9ECF5;
    --jf-border: 2px solid #ccc;
    --jf-border-focus: 1px solid #555;
    --jf-border-radius: 10px;
}
*{
    padding: 0;
    margin: 0;
    border: 0;
    outline: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: Vazir;
}

/* ! basic tags */
body, html{
    direction: rtl;
}
body{
    background: var(--jf-bg-one);
    color: var(--jf-black);
}
a, a:active, a:focus, a:visited{
    text-decoration: none;
    color: var(--jf-black);
}
ul li{
    list-style: none;
}
a, span{
    display: inline-block;
}
hr{
    border: none;
    border-bottom: 1px solid #ddd;
    margin-top: 3px;
    margin-bottom: 5px;
}

/* ! right-side-block */
.right-side-block{
    width: 250px;
    background-color: #E9ECF5;
    height: 100%;
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 212;
    top: 0;
    overflow-y: auto;
    transition: all 200ms ease;
    display: flex;
    flex-direction: column;
    padding-bottom: 10px;
}
.right-side-block.is-active{
    right: -170px;
    transition: all 200ms ease;
}
.right-side-block span.bars{
    position: absolute;
    left: 25px;
    top: 15px;
    display: none;
}
.right-side-block ul li{
    position: relative;
}
.right-side-block ul li a{
    font-size: 13px;
    font-weight: 500;
    width: 100%;
    margin: 5px 0;
    padding: 10px 50px;
    white-space: nowrap;
}
.right-side-block ul li.is-active {
    background-color: var(--jf-white-hover);
    border-left: 5px solid var(--jf-primary-color);
}
.right-side-block ul li:hover{
    background-color: var(--jf-white-hover);
    transition: background-color 200ms ease;
}
.right-side-block.is-active .ic{
    left: 27px;
    right: unset;
}
.right-side-block.is-active ul li.is-active{
    background-color: transparent;
    border: none;
}
.copy-right{
    text-align: center;
    margin-top: auto;
    padding-top: 10px;
    font-size: 13px;
}
.right-side-block.is-active .copy-right{
    display: none;
}
/* ! profile */
.profile-block{
    width: 140px;
    height: 140px;
    cursor: pointer;
    margin: 15px auto 50px;
    border-radius: 50%;
}
.profile__name{
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    text-align: center;
}
.profile__skill{
    font-size: 13px;
    display: block;
    margin-right: auto;
    width: 100%;
    text-align: center;
}
.profile__img{
    background-size: cover;
    width: 100%;
    height: 100%;
    padding: 4px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}
.profile__img img{
    width: 100%;
    height: 100%;
    border-radius: 20px;
}
.right-side-block.is-active .profile-block{
    width: 50px;
    height: 50px;
    position: relative;
    left: -87px;
    margin-bottom: 0px;
    border-radius: 5px;
}
.right-side-block.is-active .profile__img img{
    width: 100%;
    height: 100%;
    border-radius: 5px;
}
.right-side-block.is-active .profile-block .box__camera,
.right-side-block.is-active .profile__name,
.right-side-block.is-active .profile__skill{
    display: none
}
/* ! content block */
.left-side-block{
    margin-right: 250px;
    transition: all 200ms ease;
}
.left-side-block.is-active{
    margin-right: 80px;
    transition: all 200ms ease;
}
/* ! header */
.header{
    border-bottom: var(--jf-border);
}
.header-block{
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    /* align-items: center; */
}
.header__right{
    display: flex;
    margin-left: auto;
    align-items: center;
    width: auto;
}
.bars{
    cursor: pointer;
    user-select: none;
}
.menu-icon{
    display: flex;
    justify-content: center;
    align-items: center;
    border: var(--jf-border);
    border-radius: 5px;
    width: 35px;
    height: 35px;
}
.logo{
    padding: 2px 10px;
    border-radius: 10px;
    margin-right: 10px;
    font-size: 20px;
}
.header__left{
    display: flex;
    width: auto;
    align-items: center;
}
.header__search{
    position: relative;
    width: auto;
    align-items: center;
}
.header__search input{
    border: var(--jf-border);
    border-radius: var(--jf-border-radius);
    padding: 3px 35px 3px 10px;
    background-color: transparent;
    width: 100%;
    display: block;
}
.header__search>button{
    position: absolute;
    right: 5px;
    top: 4px;
    background-color: transparent;
}
.notification{
    margin-left: 15px;
    position: relative;
}
.notif__icon::before{
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--jf-primary-color);
    position: absolute;
    border: 2px solid var(--jf-bg-one);
    top: 0;
    right: -2px;
}
/* ! main */
.main-content{
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
}

/* ! ----- index.html ----- */
/* ! banner type one */
.banner-type-one{
    padding: 25px 15px;
    position: relative;
    background-color: var(--jf-secondary-color);
    border-radius: 10px;
}
.banner-type-one *{
    color: var(--jf-white);
}
.banner-type-one__button{
    padding: 5px 15px;
    border-radius: 5px;
    margin-top: 10px;
}
.banner-type-one__button:hover{
    color: var(--jf-white-hover);
}
.banner-type-one__button--accept{
    background-color: var(--jf-primary-color);
    border: 1px solid var(--jf-primary-color);
}
.banner-type-one__button--reject{
    background-color: transparent;
    border: 1px solid var(--jf-white);
}
/* ! top cards */
.top-card{
    margin: 0;
}
.top-card-number{
    width: 100%;
    font-size: 28px;
    font-weight: bold;
    border-radius: 5px;
    background-color: var(--jf-primary-color);
    color: var(--jf-white);
    display: flex;
    justify-content: center;
    align-items: center;
}
.top-card-number>p{
    text-align: center;
}
/* ! banner type two */
.banner-type-two{
    width: 100%;
    height: 200px;
    position: relative;
    background: url('../img/company.jpg') no-repeat;
    background-size: cover;
    background-position: center center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: var(--jf-border-radius);
}
.banner-type-two h2{
    font-size: 28px;
    color: var(--jf-white);
    text-align: center;
    display: block;
    background-color: var(--jf-black);
    padding: 5px 20px;
    border-radius: 10px;
}
.banner-type-two button{
    padding: 5px 10px;
    background-color: var(--jf-primary-color);
    color: var(--jf-white);
    margin-top: 20px;
    border-radius: 10px;
}