*{
    direction: rtl;
    font-family: "Shabnam";
}

body{
    margin: 0;
    padding: 0;
}

.flex{
    display: flex;
    flex-wrap: wrap;
}

.fit-children>*{
    width: 100%;
    margin: 2px;
}

.flex-col{
    flex-direction: column;
}

.flex-justify-center{
    justify-content: center;
}
.flex-align-center{
    align-items: center;
}

.flex-center{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.grid{
    display: grid;
}

.grid-center{
    align-items: center;
}

.grid2col{
    grid-template-columns: 100px 1fr;
    row-gap: 9px;
}

.center-80-500{
    margin: auto;
    width: 80%;
    max-width: 500px;
}

a.blue{
    color: #2988c7;
}

.text-center{
    text-align: center;
}

.refresh{
    content: ' ';
    width: 20px;
    height: 20px;
    background-image: url("/static/svg/refresh-outline.svg");
}

.ltr{
    direction: ltr !important;
}

/**************** Tables ****************/

.table1{
    border-collapse: collapse;
    cursor: pointer;
    transition: all .28s linear;
}

.table1>thead{
    color: white;
    background-color: #25a5a5;
    user-select: none;
}

.table1>thead>tr>*{
    padding-top: 12px;
    padding-bottom: 12px;
}

.table1>thead th:first-child{
    border-radius: 0 10px 0 0;
}

.table1>thead th:last-child{
    border-radius: 10px 0 0 0;
}

.table1>thead>tr>th:hover{
    background-color: #188d8d;
}

.table1 th,
.table1 td{
    text-align: center;
    padding: 7px 12px;
    position: relative;
}

.table1>tbody>tr{
    border: 1px solid #ddd;
    border-width: 1px 0;
}

.table1>tbody>tr>td{
    padding-top: 12px;
    padding-bottom: 12px;
}

.table1>tbody>tr:hover{
    background-color: #efefef;
}