* {
    font-family: Vazir;
    background: #eee;
}

body {
    background: #eee !important;
}

.login-box {
    color: #000;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.login-box input {
    margin-bottom: 10px;
    text-align: center;
    border-radius: 15px;
}

.navbar {
    background: #eee !important;
    padding-top: 20px;
}

.navbar .navbar-brand {
    font-weight: bold;
}

.err-status {
    background: none;
    font-size: 50px;
    margin-bottom: 20px;
}

.section {
    padding: 50px 20px;
    border-radius: 15px;
    background: #ccc;
    overflow-y: auto;
    height: auto;
    margin-bottom: 50px;
    margin-top: 30px;
}

.alert {
    border-radius: 15px;
    background: #fff !important;
    border-color: #000 !important;
    color: #000 !important;
    height: auto;
    overflow-y: auto;
}

.boxes {
    padding: 5px;
    height: auto;
    overflow-y: auto;
    background: none;
}

.boxes .inner {
    padding: 20px;
    border-radius: 15px;
}

.boxes .inner .image {
    height: 150px;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.btn {
    border-radius: 15px;
}

.btn.col-12 {
    margin-bottom: 6.5px;
}

.board {
    width: 295px;
    height: 295px;
    float: left;
    display: block;
    background: #222;
}

.board.small {
    width: 90%;
    height: 150px;
}

.board .row {
    height: 20%;
}

.board .row .cell {
    background: #fff;
    border-radius: 10px;
    height: calc(100% - 2px);
    width: calc(20% - 2px);
    float: left;
    border: 1px solid #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

.board .row .cell.black {
    background: #aaa;
}

.boxes .inner {
    height: auto;
    overflow-y: auto;
}

nav,.pagination{
    background: none;
    display: flex;
    justify-content: center;
}

.page-wrapper{
    background: none;
    padding: 0;
}
.sidebar{
    background:  none;
}
.sidebar ul{
    padding: 10px;
    border-radius: 15px;
    list-style: none;
    height: auto;
    overflow: auto;
}
.sidebar ul li{
    display: block;
    margin-top: 8px;
}
.sidebar ul li a{
    display: block;
    padding-right: 10px;
    color: #000;
    border-radius: 5px;
}
.sidebar ul li a:hover{
    text-decoration: none;
}
.sidebar hr{
    margin: 5px 10px;
}
.menu-btn{
    display: none;
}

@media (max-width: 768px) {
    .sidebar{
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 10;
        width: 100%;
        background: rgba(0, 0, 0, 0.5);
        display: none;
    }
    .sidebar.active{
        display: block;
    }
    .sidebar .menu{
        margin: 50px 20px;
        padding-bottom: 20px;
    }
    .menu-btn{
        display: block;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .board {
        width: 60vw;
        height: 60vw;
        margin: 0 auto;
        float: none;
    }
    .board.small {
        width: 90%;
        height: 250px;
    }
}