@font-face {
    font-family: 'IRANSansWeb';
    src: url('/font/IRANSansWeb.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
   }

html ,body{
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: rgb(28 43 63); 
    font-family: 'IRANSansWeb', sans-serif;
}
body {
    direction: rtl;
    text-align: right;
}

a{
    text-decoration: none;
    color: black;
    cursor: pointer;
}
li{
    list-style: none;
}
button{
    cursor: pointer;
}

.dataTables_wrapper .dataTables_length {
    float: right;
}

.dataTables_wrapper .dataTables_info {
    float: right;
}

.example-title {
    margin: 50px 0;
}

table.dataTable tbody th,
table.dataTable tbody td {
    padding: 4px 8px;
}

table.table-bordered.dataTable tbody td {
    border-bottom-width: 0;
    background: rgb(255, 255, 255);
    font-size: 15px;
}
/* loader */
.loader_parent {
    width: 100%;
    height: 100%;
    background: rgb(3 3 8 / 56%);
    position: fixed;
    z-index: 10000;
    top: 0px;
    right: 0px;
}

#circle {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 150px;
height: 150px;
}

.loader {
width: calc(100% - 0px);
height: calc(100% - 0px);
border: 8px solid #00000000;
border-top: 8px solid #09f;
border-radius: 50%;
animation: rotate 5s linear infinite;
}

@keyframes rotate {
100% {
transform: rotate(360deg);
}
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
padding:0px !important;
}

/* processing data table*/
.dataTables_wrapper .dataTables_processing {
background: rgb(255, 255, 255);
height: auto;
border: 1px solid rgb(218, 218, 218);
border-radius: 10px;
box-shadow:0px 0px 6px rgb(187, 187, 187);
}

/* search input */
div.dataTables_wrapper div.dataTables_filter input {
    margin-right: 10px;
    background-color: rgb(255, 255, 255);
}

.icon-menu{
    display: inline-block;
    margin-left: 20px;
    cursor: pointer;
}
.container-fluid{
    height: 100%;
}
/* navbar */
.headedr_top {
    width: 100%;
    padding: 10px 50px;
    color: rgb(82, 82, 82);
    background: rgb(255, 255, 255);
    box-shadow: 0px 0px 10px 0px #e3e3e3;
}
.headedr_top .login_btns_head{
    float: left;
    margin-top: 7px;
}
.headedr_top .login_btns_head a {
    color: #dd3d3d;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    margin-left: 20px;
    padding: 5px 10px;
    background: #f7f6f6;
    border-radius: 30px;
}

/* header */
.header h1 {
    font-size: 16px;
    font-weight: 700;
    color: #7e7e7e;
}

.custom-label{
    font-size: 14px;
}

.dataTables_wrapper .row{
    overflow: auto !important;
}

/* custom select2 */
.select2-container .select2-selection--single{
    height: 38px !important;
    padding: 4px !important;
}
.select_global_user_parent .select2-container .select2-selection--single{
   background-color: rgb(236, 236, 241);
}
.select2-container{
    width: 100% !important; 
}
.select2-container--default .select2-selection--single {
    border: 1px solid #d3d3d3 !important;
}
.radio_btn{
  width: 18px;
  height: 18px;
}
.select2-search__field{
    direction: rtl;
}

/* modal title */
.modal-title {
    font-size: 18px;
}
/* page style */
.page{
    display: flex;
    width: 100%;
}
.menu{
    width: 250px;
    min-width: 250px;
    background-color:rgb(28 43 63);
    box-sizing: border-box;
}

.menu-title {
    cursor: pointer;
    color: white;
    margin-right:25px;
    list-style: none;
}

.menu-icon {
    margin-right: 5px;
}

.sub-menu {
    display: none;
    list-style: none;
    padding-left: 0;
}
.menu a{
    text-decoration: none;
}
.menu .menu-item .menu-title{
    
}
.menu li{
    margin-top: 20px;
    font-size: 14px;
    margin-right: 30px;
}
.menu li a{
    color: white;
}
.menu .active{
    color: rgb(255 255 255) !important;
    background-color: rgb(77 85 107);
    padding: 4px 10px;
    border-radius: 0px 100px 100px 0px;
}   
.menu .menu-item .sub-menu li{
    margin-right: 5px;
    color: white;
}
.menu .menu-item .sub-menu li a{
    font-weight: 500 !important;
    color: #efefff;
}

.content_parent {
    flex-grow: 1;
    min-height: 100vh;
    padding-bottom: 100px;
    background-color: rgb(255, 255, 255);
    overflow: hidden;
    box-sizing: border-box;
}
.content{
    padding: 0px 20px 100px 20px;
}

/* login register */
.login_parent {
    background: rgb(28 43 63);
    width: 100%;
    height: 100vh;
}
.login_parent .login_inner{
    background-color: white;
    border-radius: 4px;
    padding: 20px;
    width: fit-content;
    text-align:center;
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50% , -50%);
}
.login_parent .login_inner input{
  width: 300px;
  display: block;
  margin-top: 25px;
  padding: 7px 10px;
  border-radius: 4px;
  border: 1px solid rgb(216, 216, 216);
  font-size: 14px;
}
.login_parent .login_inner .submit_login{
    background-color: #2196f3;
    border: none;
    color: white;
    padding: 8px 10px !important;
    cursor: pointer;
}
.login_parent .login_inner .submit_login:hover{
    background-color: #58a2df;
}
.login_parent .login_inner .title_login{
  font-size: 18px;
  margin-bottom: 20px;
}
.login_parent .login_inner .sub_title_login{
    margin-bottom: 40px;
    font-size: 14px;
    color: rgb(105, 105, 105);
}
.login_parent .login_inner .link{
   margin-top:20px;
   text-decoration: none;
   color: #58a2df;
   font-size: 13px;
   float: right !important;
}
.login_parent .error_login{
   font-size: 13px !important;
   color: red;
   text-align: right;
}
.headedr_top .username{
  margin-left: 30px;
  font-size: 14px !important;
}
.user{
    font-size: 15px;
}
.role_name {
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 10px;
    margin-left: 20px;
    color: #808891;
    box-shadow: 0px 0px 10px 0px #dde0e9;
}

.tab button{
    border-radius: 6px;
    background-color: #e1e3e6;
    color: rgb(0, 0, 0);
    border: none;
    font-size: 14px;
    padding: 3px 10px;
}
.log_modal .item_log{
    background-color: rgb(237 237 239);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px !important;
}
.log_modal .repair_message_text{
  margin-top:5px;
  line-height: 1.7;
  text-align: justify;
  font-size: 14px;
  padding: 10px;
}

.select_global_user_parent{
    width:200px;
    display:inline-block;
    font-size:14px; 
    margin-right:40px;
}
.remove_global_user_btn{
    display: inline-block;
    border: none;
    color: #c72d74;
    background: #edebeb;
    border-radius: 100px;
    font-size: 14px;
    padding: 3px 6px 1px 6px;
}

.remove_global_user_btn:active, 
.remove_global_user_btn:focus 
{
    border:  0px solid black;
    border-color:rgba(0, 0, 0, 0);
 }

.clearUsers{
 background: rgb(252, 240, 240);
    color: rgb(112 112 112);
    border: none;
    padding: 2px 10px;
    font-size: 13px;
    border-radius: 4px;
    margin-top: 4px;
}

.picture_show{
    width: 100px;
    height: auto;
    object-fit: contain;
    object-position: top;
}
.picture_user{
    width: 100px;
    height: auto;
    object-fit: contain;
    object-position: top; 
}

.select2-container--default .select2-selection--multiple{
    padding-right: 10px !important;
}

@media (max-width: 900px) {
    .menu {
      width: 100%;
      display: none;
      position: absolute;
      z-index: 2000;
      padding-bottom: 30px;
    }
    .headedr_top{
        padding: 10px;
        display: block !important;
    }
    .headedr_top .username {
        margin-left: 10px;
        font-size: 13px !important;
        display: none;
    }
    .headedr_top .username_menu{
        color: white;
        font-size: 12px;
    }
    .headedr_top span{
      font-size: 13px;
      margin-right: 10px;
    }
    .headedr_top .login_btns_head a {
        margin-left: 0px;
    }
    .headedr_top .logo{
        display: none;
    }
    .headedr_top .login_btns_head {
        margin-top: 0px;
    }
  }