/* some style */

#loading-overlay {
    direction: rtl;
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #60606099;
    z-index: 10000;
}

#loading-container2 {
    width: 220px;
    border: black solid 1px;
    border-radius: 10px;
    background-color: white;
    margin: 0 auto;
    padding: 10px;
}

#loading-container2 > img {
    width: 50px;
    margin: 0 auto;
}

#loading-container2 > span {
    color: #0769ad;
    font-size: 20px;
}

.chat-container {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    width: 300px;
    margin: 10px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #0769ad;
}

.chat-list-container {
    display: flex;
    flex-direction: column;
    width: 300px;
    margin: 10px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #0769ad;
}

.chat-list {
    flex: 1 1 auto;
    overflow-y: scroll;
}

.chat-list-item {
    width: 275px;
    height: 50px;
    padding: 5px;
}

div.chat-list-item.selected {
    background-color: #9999ff;
}

.chat-list-item:hover {
    background-color: #ccc;
}

.user-chat-row {
    float: right;
}

.user-chat-img {
    width: 50px;
    height: 50px;
    float: right;
}

.user-chat-row p {
    margin: 0 10px 0 10px;
}

.message {
    width: 300px;
    background-color: #ccc;
    border: 1px solid #0769ad;
    border-radius: 5px;
    margin: 5px;
    padding: 5px;
    clear: both;
}

.message-other {
    float: left;
}

.message-me {
    float: right;
}

.message p, .message h3 {
    margin: 0;
}

.message-container {
    flex: 1 1 auto;
    overflow-y: scroll;
    clear: both;
}

.chat-inputs-container {
    display: flex;
    flex: 0 0 auto;
    flex-direction: row;
}

.chat-inputs-container input[type=text] {
    flex: 1 1 auto;
}

.chat-image {
    height: 100px;
    border-radius: 5px;
}

label.file-input-label {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
}

#main-container {
    display: flex;
    flex: 1 1 auto;
}

#accordion {
    flex: 0 0 auto;
}

.ui-accordion .ui-accordion-content {
    padding: 0;
}

.ui-accordion .ui-accordion-content .icon-button {
    display: flex;
    flex: 1 1 auto;
    font-family: 'xb_zar', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h3 {
    margin: 0 auto;
}

table.form-table tbody tr > td.label {
    text-align: left;
}

table.form-table tbody tr > td > * {
    height: 30px;
    width: 200px;
}

.select2-container, .select2-search__field {
    direction: rtl;
    text-align: right;
}

.select2-results {
    direction: rtl;
}

.select2-selection__arrow {
    height: 100% !important;
}

.ui-widget {
    font-family: 'IranSans' !important;
}

#--re-frame-10x-- {
    direction: ltr;
}

.data-form {
    display: flex;
    flex-direction: column;
}

.centered-details td.header {
    font-weight: 900;
    text-align: left;
}

.centered-details td.data {
    text-align: right;
}

.report-table {
    border-collapse: collapse;
    text-align: center;
    clear: both;
}

.report-table p {
    margin: 0;
}

.report-table th {
    background-color: #ccc;
    border: 1px solid black;
    padding: 5px;
}

.report-table th.empty {
    border: none;
    background-color: transparent;
}

.report-table td {
    border: 1px solid black;
    padding: 5px;
}

.bold {
    font-weight: 900;
}

.ui-dialog-title {
    text-align: center;
}

.ui-tabs .ui-tabs-nav {
    flex: 0 0 auto;
}

.form-group {
    margin-bottom: 15px;
    text-align: right;
}

.checkbox-widget {
    min-height: 33px;
}

.tool-button {
    min-height: 50px;
}
