body {
    margin: 0;
    padding: 0;
    font-family: iransans;
    direction: rtl;
}

@font-face {
    font-family: "Iransans";
    src: url("./fonts/ir_sans.ttf");
    src: url("./iransans/IRANSans\(FaNum\).ttf");

}

a {
    text-decoration: none;

}


.articlebox {
    background-color: #FFFFFF;
    /* height: 360px; */
    padding: 16px 16px 0 16px;
    /* align-items: center; */
    border-radius: 0px;
    border: none;
    box-shadow: -1px -1px 20px 0px #88888842;
    width: 100%;
    height: fit-content;

}


.amozeshi {
    position: absolute;
    top: -30px;
    right:75px;
    background-color: rgba(40, 40, 40, 0.5);
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    width: 100px;
    height: 30px;
    text-align: center;
    color: #fff;
  }

 .artile-title-text {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
} 

.article-body-text {
    font-size: 12px;
    font-weight: 500;
    text-align: justify;
    line-height: 20px;
}




.addbtn {
    background-color: #265580;
    width: 120px;
    font-size: 12px;
    margin: auto;
    margin-top: 1rem;
}



/*-- The Magic --*/
#menu-toggle:checked~.slideout-sidebar {
    left: 0px;
}

#menu-toggle:checked+.menu-icon {
    left: 210px;
}

#menu-toggle:checked~.content-container {
    padding-left: 190px;
}



@media (max-width: 767px) {

    .content-container {
        max-width: 100%;
        margin: 30px auto 0;
    }


    /* -- Slideout Sidebar -- */

    .slideout-sidebar {
        position: fixed;
        top: 0;
        left: -190px;
        z-index: 10;
        width: 150px;
        height: 100%;
        padding: 20px;
        background-color: #323232;
        transition: all 300ms ease-in-out;
    }

    .slideout-sidebar ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .slideout-sidebar ul li {
        cursor: pointer;
        padding: 18px 0;
        border-bottom: 1px solid rgba(244, 244, 244, 0.4);
        color: rgba(244, 244, 244, 0.7);
    }

    .slideout-sidebar ul li:last-child {
        border-bottom: 0;
    }

    .slideout-sidebar ul li:hover {
        color: rgba(244, 244, 244, 1);
    }

    /* -- Menu Icon -- */

    #menu-toggle {
        display: none;
    }

    .menu-icon {
        position: absolute;
        top: 18px;
        /* left: 0px; */
        font-size: 24px;
        z-index: 1;
        transition: all 300ms ease-in-out;
    }

    #menu-toggle:checked~.content-container {
        padding-left: 0;
    }

    .slideout-sidebar ul {
        text-align: center;
        max-width: 200px;
        margin: 30px auto 0;
    }

    .menu-icon {
        left: 20px
    }

    #menu-toggle:checked~.slideout-sidebar {
        width: 100%;
    }

    #menu-toggle:checked+.menu-icon {
        left: 87%;
        color: #fafafa;
    }

    @media screen and (max-width: 736px) and (orientation: landscape) {

        .slideout-sidebar {
            padding: 0;
        }

        .slideout-sidebar ul {
            max-width: 100%;
            margin: 60px auto 0;
        }

        .slideout-sidebar ul li {
            display: inline-block;
            border-bottom: 0;
            width: 72px;
            padding: 18px 24px;
            margin: 0 6px 12px;
            color: #ffffff;
            background-color: #777;
        }

    }

}

.sidebar {
    height: 200px;
    width: 150px;
    position: -webkit-sticky;
    /* for Safari users */
    position: sticky;
    top: 0px;
    float: right;
    /* margin-top: 100px;
    padding-top: 40px; */
    /* background-color: lightblue; */
}

.sidebar div {
    padding: 7px;
    font-size: 16px;
    display: block;
}

.body-text {
    margin-right: 150px;
    font-size: 18px;
}

.sidebar-background {
    background-color: #fff;
    /* border-radius: 10px; */
    padding: 30px 20px;
    box-shadow: 0px 0px 50px -30px #888;
    border: none;
}


/* pagination */

.previous-next:hover {
    background: #2655807d;
    color: #ccc;
}
  
.pagebox {
    border: 2px solid #265580;
    border-radius: 7px;
}
  