@font-face {
    font-family: vazir;
    src: url('https://plugin.dorweb.ir/font/Vazir-Regular-FD.woff');
}

body{
    font-family: vazir;
    direction: rtl;
    background-color: #eee;
padding: 0px;
margin: 0px;
font-size: 13pt;
}

.page-main{
    padding: 0px;
    margin: 20px auto;
    width: 600px;
    max-width: calc(100% - 40px);
}

.box
{
    background-color: #fff;
    border-radius: 10px;
    padding: 10px;
    border:1px solid #ddd;
    margin-bottom: 10px;
}
.box h1{
    background-color: #ddd;
    font-size: 14pt;
    padding: 5px;
    margin: 0px;
    margin-bottom: 5px;
    border-radius: 8px;
    color: #222;
    text-align: center;

}

.center
{
    text-align: center !important;
}

.left
{
    text-align: left !important;
}

.over
{
    position: fixed;
    top:0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-color: rgba(0,0,0,0.55);
    padding: 20px;
    display: flex;
    align-items: center;
    transition-duration: 0.5s;
    transform: translateY(100%);

}

.over .box{
width: 100%;
}

input[type='text']
{
    width: calc(100% - 12px);
    font-family: vazir;
    border:1px solid #DDD;
    padding: 5px;
    border-radius: 4px;
    outline: none;
}

input[type='text']:focus
{
    border:1px solid #444;
}

.btn-box{
    text-align: center;
    margin-top: 10px;
}


input[type=button]
{
    border-radius: 4px;
    padding: 5px 10px;
    font-family: vazir;
    border:none;
}

td.head
{
    border-bottom: 2px solid #000;
    text-align: center;
    font-weight: bold;
}

.point-green, .point-red
{
    color: red;
    font-weight: bold;
}

.point-green
{
    color: green;
}