@font-face {
    font-family: 'Droid Arabic Kufi';
    src: url('../fonts/Droid Arabic Kufi.eot');
    src: url('../fonts/Droid Arabic Kufi.woff') format('woff');
url('../fonts/Droid Arabic Kufi.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Regular/Lato-Regular.eot');
    src: url('../fonts/Lato-Regular/Lato-Regular.svg') format('svg');
    src: url('../fonts/Lato-Regular/Lato-Regular.woff') format('woff');
    src: url('../fonts/Lato-Regular/Lato-Regular.woff2') format('woff2');
url('../fonts/Lato-Regular/Lato-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html {
    direction: rtl;
    font-size: 16px;
}

body {
    background: #eee;
    font-size: 1rem;
    direction: rtl;
    font-family: 'Droid Arabic Kufi',sans-serif;
}

a:hover {
    text-decoration: none;
}

main {
    background: #eeee;
}

/*user-box*/
#customer-info {
    background-color: rgb(224, 221, 239);
    text-align: right;
    border-radius: 20px;
    color: black;
    font-size: 14px;
    min-height: 200px;
    border: 1px solid #eeeeee;
}

#customer-info .customer-header {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
}

#customer-info .customer-header .customer-name {
    font-weight: bold;
    font-size: 16px;
    text-align: center;
}

#customer-info .customer-header .customer-avatar {
    border: 1px solid silver;
    border-radius: 50%;
    background-color: #cccccc;
    padding: 2px;
    margin-left: 5px;
}

#customer-info .customer-header .customer-avatar img {
    width: 30px;
    height: 25px;
}

#customer-info .customer-currencies {

}

#customer-info .customer-currency {
    border: 1px solid #eeeeee;
    background-color: white;
    border-radius: 15px;
    height: 60px;
    margin: 5px 2px;
    padding: 5px 10px;
    position: relative;
}

#customer-info .customer-currency .currency-name {
    font-size: 0.9rem;
    padding-top: 3px;
    color: black;
    text-align: center;
    white-space: nowrap;
}

#customer-info .customer-currency .currency-price {
    font-size: 1rem;
    color: #000;
    font-weight: bold;
    text-align: center;
    font-family: 'Lato', sans-serif;
}

#customer-info .customer-currency .currency-icon {
    position: absolute;
    right: -13px;
    top: 15px;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eeeeee;
}

#customer-info .customer-currency .currency-icon .icon {
    font-size: 20px !important;
    padding: 2px 3px;
    color: #dfd9d9
}

#customer-info .customer-currency .currency-icon img {
    width: 70%;
    height: 70%;
}

#customer-info .customer-currency .currency-icon.dinar {
    background-color: rgb(175, 165, 231);
    color: black;
}

#customer-info .customer-currency .currency-icon.dollar {
    background-color: rgb(165, 207, 231);
    color: black;
}

#customer-info .customer-currency .currency-icon.toman {
    background-color: rgb(165, 231, 174);
    color: black;
}


/*left-menu*/

/*big-btn*/
.big-button {
    border: 1px solid #eeeeee;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    position: relative;
    padding: 10px 5px;
}

.big-button.green {
    background-color: green;
    color: white;
}

.big-button.green .icon {
    color: #f7f7f7
}

.big-button.pink {
    background-color: pink;
    color: #460542;;
    text-decoration: none;
}

.big-button.pink .icon {
    color: #460542;
    font-size: 22px !important;
    top: 10px
}

.big-button.pink a {
    text-decoration: none;
    color: #9f0e0e;
}

.big-button .icon {
    width: 25px;
    height: 25px;
    position: absolute;
    right: 10px;
    top: 7px;
}

.big-button .icon img {
    width: 100%;
    height: 100%;
}

/*link-box*/
.link-box {
    width: 100%;
    border: 1px solid #eeeeee;
    background-color: white;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    position: relative;
    padding: 10px;
}

.link-box .title {
    font-size: 16px;
    color: #005cbf;
    width: 100%;
    text-align: right;
    font-weight: bold;
}

.link-box .links {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    padding-top: 10px;
}

.link-box .links .link {
    border: 1px solid silver;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 5px 30px 5px 5px;
    width: 50%;
    margin: 0 5px;
    color: #ffffff;
    background-color: #6c58ce;
    text-align: center;
}


.link.red {
    background-color: red;
    color: white;
}

.link.green {
    background-color: green;
    color: white;
}

.link-box .icon {
    /*  width: 20px;
      height: 20px;*/
    position: absolute;
    right: 5px;
    top: 3px;
}

.link-box .icon img {
    width: 100%;
    height: 100%;
}

/*#customers-box*/
#customers-box {
    padding: 2px;

}

#customers-box .customer-search {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    background-color: white;
    padding: 10px 5px;
    border-radius: 10px;
    font-size: 14px;
    border: 1px solid #eeeeee;
    align-items: center;
    justify-items: center;
}

#customers-box .customer-search .title {
    font-size: 14px;
    font-weight: bold;
    flex: 1;
    display: block;
}

#customers-box .customer-search .input {
    font-size: 14px;
    flex: 4;
}

#customers-box .customer-search .input input {
    font-size: 14px;
    width: 100%;
    border-radius: 10px;
    background-color: #eee;
    padding: 3px 10px;
    border: none;
}

#customers-box .customer-search .button {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
}

#customers-box .customer-search .mini-button {
    border-radius: 8px;
    background-color: blue;
    color: white;
    width: 25px;
    height: 25px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

#customers-box .customer-list {
    display: flex;
    flex-direction: column;
    background-color: white;
    padding: 10px 0;
    border-radius: 10px;
    font-size: 14px;
    border: 1px solid #eeeeee;
}

#customers-box .customer-list .header-items {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    border-bottom: 2px solid #eeeeee;
    padding: 5px 10px;
}

#customers-box .customer-list .header-items .header-item {
    font-size: 16px;
    color: blue;
    font-weight: bold;
    margin: 0 10px;
}

#customers-box .customer-list .body-items {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 5px 0;
    align-items: center;
    justify-items: center;
    justify-content: space-around;
    border-bottom: 1px solid #eeeeee;
    float: right;
    border: none;
}

#customers-box .customer-list .body-items.active {
    background-color: #9fcdff;
}

#customers-box .customer-list .body-items:hover {
    background-color: #9fcdff;
}

#customers-box .customer-list .body-items .body-item.number {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

#customers-box .customer-list .body-items .body-item.name {
    flex: 3;
    display: flex;
    justify-content: right;
    align-items: center;
}

#customers-box .customer-list .body-items .body-item.info {
    flex: 3;
    display: flex;
    justify-content: center;
    align-items: center;
}

#customers-box .customer-list .body-items .body-item .customer-information {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

#customers-box .customer-list .body-items .body-item .customer-information .customer-avatar {
    border: 1px solid silver;
    border-radius: 50%;
    background-color: #cccccc;
    padding: 2px;
    margin-left: 5px;
}

#customers-box .customer-list .body-items .body-item .customer-information .name {
    display: flex;
    justify-content: center;
    justify-items: center;
    align-items: center;
    font-weight: 500;
}

#customers-box .customer-list .body-items .body-item .customer-information .customer-avatar img {
    width: 30px;
    height: 30px;
}


#customers-box .customer-list .body-items .body-item .links .link {
    margin: 5px;
    opacity: 0;
}

#customers-box .customer-list .body-items.active .body-item .links .link {
    margin: 5px;
    opacity: 1;
}

#customers-box .customer-list .body-items:hover .body-item .links .link {
    opacity: 1;
}

#customers-box .customer-list .body-items.active .body-item .links .link span {
    font-size: 20px;
    color: #e2e3e5;
}

#customers-box .customer-list .body-items:hover .body-item .links .link span {
    font-size: 20px;
    color: #e2e3e5;
}

#customers-box .customer-list .body-items.active .body-item .links .link span:hover {
    color: #ffffff;
}

#customers-box .customer-list .body-items:hover .body-item .links .link span:hover {
    color: #ffffff;
}

#customers-box .customer-list .body-items .body-item .links .link img {
    width: 20px;
    height: 20px;
}

#customers-box .customer-pagination {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    border-bottom: 2px solid #eeeeee;
    padding: 5px 10px;
    background-color: white;
    justify-items: center;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

#customers-box .customer-pagination .next {
    transform: rotate(-90deg);
    display: inline-block;
    background-color: white;
    border: none;
}

#customers-box .customer-pagination .prev {
    transform: rotate(90deg);
    display: inline-block;
    background-color: white;
    border: none;
}

#customers-box .customer-pagination .next.active, #customers-box .customer-pagination .prev.active {
    color: deeppink;
}

#customers-box .indexes {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

#customers-box .index {
    height: 30px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    padding: 5px;
    margin: 0 5px;
}

#customers-box .index.active {
    background-color: hotpink;
    color: white;
    font-size: 16px;
    font-weight: bold;
}


.yellow {
    color: #e0a800;
}


.inputStyle {
    background: #eeeeee;
    border-radius: 10px;
}

.margin30 {
    margin: 30px;
}

.marginTop30 {
    margin-top: 30px;
}

.form-row {
    text-align: right;
}

h4 {
    text-align: right;
}

/*div#root {*/
/*    background: #F0FFFF;*/
/*}*/

.center {
    display: flex;
    justify-content: center;
    align-items: center;
    justify-items: center;
}

.form {
    padding: 10px;
    text-align: right;
    font-size: 14px;
}

.rowed {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 10px;
    background-color: white;
    border: 1px solid #e2e3e5;
    border-radius: 8px;
    justify-content: space-between;
    justify-items: center;
    align-items: center;
    text-align: right;
}


.form-group {
    justify-items: center;
    align-items: center;
    width: 100%;
}

.btn-sm {
    min-width: 20px;
}

.user-list {
    height: 80vh;
}

.mini-button {
    border-radius: 8px;
    background-color: #007bff;
    color: white;
    margin: 0 5px;
    font-size: 14px;
    border: none;
}


.icon {
    width: 25px;
    height: 25px;
    color: #cccccc;

    padding: 0 5px;
    font-size: 20px !important;
}

table td .icon {
    color: #938e8e;
}

.menu-item .icon {
    color: #f7f7f7
}

td.actions {
    text-align: left;
}

.customer-avatar {
    border: 1px solid silver;
    border-radius: 50%;
    background-color: #cccccc;
    padding: 2px;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: row;
    justify-items: center;
    align-content: center;
    align-items: center;
}

.customer-avatar img {
    width: 100%;
    height: 100%;
}

.account-info {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-items: center;
    justify-content: right;
    align-items: center;
    text-align: right;
}


.form-text {
    color: red;
}


.form-input {
    width: 70%;
    float: left;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 8px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.card {
    height: 100%;
}

@media only screen and (max-width: 600px) {
    .btn {
        font-size: 10px !important;
    }
}

.form-row {
    width: 100%;
}

.form-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 !important;
}

.card-header span {
    color: black !important;
}

.datatable .dashboard-table {
}

.datatable .dashboard-table th {
    padding: 8px 10px;
    vertical-align: baseline
}

.datatable .dashboard-table td {
    padding: 5px 10px;
    vertical-align: baseline
}

.datatable .dashboard-table td.actions a {
}

.datatable .dashboard-table td.actions .icon {
    font-size: 22px !important;
}

.datatable .dashboard-table td.actions {
    text-align: left
}

.datatable .dashboard-table tr td:first-child {
    width: 70px;
    text-align: center;
    font-family: 'Lato', sans-serif
}


.login-copyright {
    font-family: lato, sans-serif
}


.breadcrumb {
    padding: 10px 10px
}

.btns-group {
    text-align: center
}

.form-box {

    float: none;
    margin: 10px auto;

    display: table;
}
.form-control{font-size: 0.9rem;min-height: 38px}
.datatable .datatable-header .export-div{text-align: right}
.datatable .datatable-header.export-div .export-btn,.datatable .datatable-header.export-div .btn,.datatable .datatable-header .btn{margin:0 5px }
.datatable-filterbox-accounting .input {

    margin-top: 5px;
}
.css-11n5pbm-control{}
.table thead th{
}
/*--------------------Media-Queries----------------------------------------------------*/
@media only screen and (max-width: 1365px) {
    hrml {
        font-size: 15px
    }
}

@media only screen and (max-width: 1298px) {
    hrml {
        font-size: 14px
    }
}

@media only screen and (max-width: 1197px) {
    hrml {
        font-size: 13px
    }    .datatable{overflow-y: hidden;overflow-x: auto;width: 100%;overflow-scrolling: touch;-webkit-overflow-scrolling: touch;}
}

@media only screen and (max-width: 1099px) {
    hrml {
        font-size: 13px
    }

}

@media only screen and (max-width: 980px) {
    hrml {
        font-size: 14px
    }
}

@media only screen and (max-width: 768px) {
    hrml {
        font-size: 15px
    }

 .table th{font-size: 0.85rem;padding: 5px}
.table td{font-size: 0.8rem;padding: 5px}
}

@media only screen and (max-width: 554px) {
    hrml {
        font-size: 14px
    }
    .link-box{padding: 10px 8px}
    .link-box .icon{right: 2px}
}

@media only screen and (max-width: 480px) {
    hrml {
        font-size: 13px
    }
    .table th{font-size: 0.8rem;padding: 5px 3px}
    .table td{font-size: 0.75rem;padding: 5px 3px}
}

@media only screen and (max-width: 445px) {
    hrml {
        font-size: 12px
    }
}

@media only screen and (max-width: 398px) {
    hrml {
        font-size: 11px
    }
}
