﻿.alert {
    direction: rtl;
    margin-top: 8px;
    margin-bottom: 0px;
    padding: 0.5rem 0.5rem;
}

.card {
    direction: rtl;
    margin-top: 8px;
}

.card-header {
    color: white;
    padding: 10px;
}

.row {
    margin-bottom: 5px;
}

.col-form-label {
    text-align: left;
}

.form-label {
    margin-top: .5rem;
}

.form-select {
    direction: ltr;
}

.form-text {
    line-height: 1.5;
    padding: .375rem .75rem;
    margin: 0;
    width: -moz-available;
}

.number {
    font-family: sans-serif;
}

.text {
    font-family: IRANSans;
    padding-right:8px;
}


.table-responsive {
    direction: rtl;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
    border-bottom-left-radius: .25rem;
    border-bottom-right-radius: .25rem;
    border-width: 1px;
    margin-top: 8px;
}

.table > :not(caption) > * > * {
    border-bottom-width: 1px;
    border-right-width: 1px;
    border-left-width: 1px;
    font-size: small;
}

.table > thead > tr > th {
    font-size: small;
    font-weight: normal;
    background-color: darkcyan;
    color: white;
}

.table > tbody > tr > td > input[type="image"] {
    float: right;
    padding-right: 0.5rem;
}

.table > tbody > tr > td > form > input[type="submit"] {
    background-image: url('../Images/Pen.png');
    width: 25px;
    border: none;
    background-color: white;
    height: 25px;
}

.table > tbody > tr > td > form[class="reset"] > input[type="submit"] {
    background-image: url('../Images/UserDelete.png');
    width: 21px;
    border: none;
    background-color: white;
    height: 25px;
}

.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #ddd;
}

/*autocomplete*/
.ui-widget.ui-widget-content {
    direction:rtl;
}

.ui-menu-item-wrapper {
    font-family:IRANSans;
    direction:rtl;
}

