@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: #d9dde1; 
    font-family: 'IRANSansWeb', sans-serif;
}
body {
    direction: rtl;
    text-align: right;
}

a{
    text-decoration: none !important;
    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;
}

.buywork_show_modal{
    font-size: 14px;
}

.modal-content>div{
    text-align: justify;
    line-height: 2;
}

table.table-bordered.dataTable th, table.table-bordered.dataTable td{
     text-align: right;
     color: #676767;
     font-size: 14px;
     border: none;
}
table.dataTable.no-footer {
    border: 1px solid rgb(242, 242, 242);
    border-radius: 10px;
}
table.table-bordered.dataTable tbody th, table.table-bordered.dataTable tbody td {
    border-bottom-width: 0;
    border-bottom: 1px solid #ebebeb;
}
div.dataTables_wrapper div.dataTables_info {
    font-size: 14px;
}
.page-link {
    color: #686e73;
}
.page-item.active .page-link {
    background-color: #70ae9d;
    border-color: #69af98;
}
.dataTables_wrapper .row {
    font-size: 14px;
}
.page-link:not(:disabled):not(.disabled) {
    cursor: pointer;
    border-radius: 10px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0px !important;
    border-radius: 10px;
}

.example-title {
    margin: 50px 0;
}


/* 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);
}


.container-fluid{
    height: 100%;
}
/* navbar */
.headedr_top {
    padding: 20px;
    color: rgb(255, 255, 255);
    background: rgb(81 95 105);
    margin-right: 270px;
    border-radius: 20px;
    position: relative;
    transition: margin-right 1s;
}
.headedr_top .login_btns_head{
    float: left;
}
.headedr_top .login_btns_head a {
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    margin-left: 20px;
    padding: 5px 10px;
    background: #c13e3e;
    border-radius: 10px;
}
.headedr_top .login_btns_head a i{
    vertical-align: middle;
}
.headedr_top .title_samane {
    margin-right: 80px;
}

/* header */
.header h1 {
    font-size: 16px;
    font-weight: 700;
    color: #7e7e7e;
}

.custom-label{
    font-size: 14px;
    line-height: 2.5 !important;
}

.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{
  padding: 20px;
}
.menu{
    width: 250px;
    min-width: 250px;
    background-color: rgb(81 95 105);
    box-sizing: border-box;
    position: fixed;
    height: 90vh;
    top: 20px;
    border-radius: 20px;
    transition: margin-right 1s;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 50px;
    z-index: 10;
}
.menu_group{
    /* border: 1px solid #e9e9e9; */
    border-radius: 6px;
    padding-top: 20px;
    margin-top: 20px;
}

.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-bottom: 20px;
    font-size: 14px;
    margin-right: 30px;
}
.menu li a{
    color: #ffffff;
}
.menu .active a{
    color:rgb(24 255 223) !important;
    font-weight: 700;
}   
.menu .menu-item .sub-menu li{
    margin-right: 5px;
    color: white;
}
.menu .menu-item .sub-menu li a{
    font-weight: 500 !important;
    color: #efefff;
}

  .menu .profile{
    width: 80px;
    height: 80px;
    margin-right: 30px;
    margin-top: 20px;
    display: block;
    margin-bottom: 20px;
  }
  .menu .profile img{
    width: 80px;
    height: 80px;
    border-radius: 100px;
    border: 4px solid rgb(255, 255, 255);
    object-fit: cover;
    object-position: center;
  }

  .menu_handle_button
 {
    position: absolute;
    top: 12px;
    right: 30px;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px; 
}
.container{
    margin-right: 270px;
    width: auto !important;
    max-width: 100%;
    background: white;
    border-radius: 20px;
    transition: margin-right 1s;
    margin-top: 20px;
    padding: 20px;
}
.content_parent {
    flex-grow: 1;
    min-height: 100vh;
    padding-bottom: 100px;
    background-color: rgb(255, 255, 255);
    overflow: hidden;
    box-sizing: border-box;
}
.content{
   
}

/* login register */
.login_parent {
    background: url("/background/bg.png");
    background-color: #3c3c49;
    width: 100%;
    height: 100vh;
}
.login_parent .login_inner{
    width: 40%;
    box-sizing: border-box;
    text-align: center;
    height: 100vh;
    display: inline-block;
    float: left;
}

.login_parent .login_inner .form{
    top: 50%;
    right: 50%;
    position: relative;
    transform: translate(50%, -50%);
}
.login_parent .login_image{
    display: inline-block;
    width: 60%;
    height: 100vh;
    background: #ffffff;
    box-sizing: border-box;
}
.login_parent .login_image .login_image_parent{
    top: 50%;
    position: relative;
    right: 50%;
    transform: translate(50%, -50%);
    text-align: center;
}
.login_parent .login_image img{
    width: 550px;
}
.login_parent .login_inner input{
    width: 70%;
    display: block;
    margin-top: 25px;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid rgb(216, 216, 216);
    font-size: 15px;
    margin: 30px auto;
}

.menu_handle_button_mobile{
   display: none;
}
.menu_close_button_mobile{
  display: none;
}

.username_mobile_parent .username_mobile {
    display: none;
} 
@media only screen and (max-width: 960px) {
    .page {
      padding: 5px;
    }

    .login_parent .login_image{
        display: none;
    }
    .login_parent .login_inner {
        width: 100%;
        float: none;
    }
    .login_parent .login_inner .form {
        width: 350px;
    }
    .menu_handle_button{
        display: none;
    }
    .menu{
        margin-right: -300px;
        top: 5px;
        height: 97vh !important;
    }
    .headedr_top{
        margin-right: 0px;
        height: 90px;
        transition: none;
    }
    .headedr_top .title_samane {
       margin-right: 0px;
       display: block;
       text-align: center;
       font-size: 14px;
    }
    .headedr_top .login_btns_head {
      float: left;
       margin-top: 15px;
       font-size: 14px;
    }
    .container{
        margin-right: 0px;
        transition: none;
    }
    .menu_handle_button_mobile{
       display: block;
       margin-top: 15px;
       position: absolute;
    }
    .menu_close_button_mobile{
      position: absolute;
      display: block;
      left: 20px;
      top: 20px; 
    }
    .menu_close_button_mobile li{
        color: white;
        font-size: 16px;
    }
    .headedr_top .login_btns_head a {
        margin-left: 0px;
    } 
    .role_name {
        margin-left: 10px !important;
    }   
    .headedr_top .username {
        display: none !important;
    }    
    .username_mobile_parent .username_mobile {
        display: block !important;
        color: #e8f3ea;
        font-size: 14px;
        margin-bottom: 20px;
        padding-right: 30px;
        padding-bottom: 10px;
        border-bottom: 1px solid #8d8d8d;
    }  
  }
.login_parent .login_inner .submit_login{
    background-color: #bbffc1;
    border: none;
    color: rgb(0, 0, 0);
    padding: 8px 10px !important;
    cursor: pointer;
}
.login_parent .login_inner .submit_login:hover{
    background-color: #aef3b4;
}
.login_parent .login_inner .title_login{
    font-size: 18px;
    margin-bottom: 20px;
    color: #d4ffdd;
}
.login_parent .login_inner .sub_title_login{
    margin-bottom: 40px;
    font-size: 14px;
    color: rgb(249, 249, 249);
}
.login_parent .login_inner .link{
    text-decoration: none;
    color: #bbffc1;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    width: 100%;
}
.login_parent .login_inner .link-forget{
      color: #dce0dd;
      font-size: 14px;
}
.login_parent .error_login{
   font-size: 13px !important;
   color: red;
   text-align: center;
}
.headedr_top .username{
  margin-left: 30px;
  font-size: 14px !important;
  display: inline;
}
.user{
    font-size: 15px;
}
.role_name {
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 10px;
    margin-left: 20px;
}

.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; 
}

.message-add-project{
    background: #f4fff5;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.counter_row{
    background-color: #e31818;
    display: inline-block;
    text-align: center;
    min-width: 20px;
    border-radius: 10px;
    margin-right: 3px;
    font-size: 13px;
    color: white;
    font-weight: 700;
    vertical-align: text-top;
}

.large_modal {
    max-width: 90% !important;
}
.print_project_info_btn{
    cursor: pointer;
    background: #ffffff;
    margin: 5px;
    width: 45px;
    font-size: 20px;
    text-align: center;
    padding: 5px 10px;
    border-radius: 20px;
    color: gray;
}
    
.print_project_info_btn i{
    vertical-align: middle;
} 

@media print {
  /* مخفی کردن همه چیز */
  body * {
    visibility: hidden !important;
  }

  /* فقط modal و محتوای داخلش دیده بشه */
  #showModal, #showModal * {
    visibility: visible !important;
  }

  /* تنظیم ساختار مدال برای چاپ کامل */
  #showModal {
    position: absolute;
    top: 0;
    left: 0;
    background: white;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    z-index: 9999;
  }

  .modal-dialog {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 20px !important;
    overflow: visible !important;
  }

  .modal-content {
    border: none !important;
    box-shadow: none !important;
    height: auto !important;
    padding: 0 !important;
  }

  .modal-body {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
  }

  /* جلوگیری از شکست صفحه در وسط آیتم‌ها */
  .modal-body *, .modal-content *, .modal-dialog * {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  /* جداول تمیز چاپ بشن */
  table {
    page-break-inside: auto;
    border-collapse: collapse !important;
  }

  table th, table td {
    border: 1px solid #000 !important;
    padding: 4px !important;
  }

  /* دکمه پرینت حذف شود */
  .print_project_info_btn {
    display: none !important;
  }

  /* حذف هر چیزی با کلاس‌هایی مثل btn، close، یا سایر دکمه‌ها */
  .btn, .btn-close, .modal-header .close {
    display: none !important;
  }

  /* اصلاح سایز فونت اگر خیلی کوچک باشه */
  body, td, th {
    font-size: 12pt !important;
  }
}


.recognizance h1 , .recognizance h2{
    font-size: 17px;
    font-weight: 700;
    margin-top: 20px;
}
.recognizance p{
    text-align: justify;
    font-size: 15px;
    line-height: 1.7;
}

.score_form_shora{
    background: #e9ecef;
    padding: 2px 5px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
}


.message_shora_row{
background-color: #ebeced;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
}

.message_parent .scores_shora_btn{
    border: none;
    background-color: #4c5c95;
    font-size: 14px;
    color: rgb(255 255 255);
    border-radius: 6px;
    margin-top: 20px;
    margin-left: 10px;
}
  
.form_shora_scored_max{
    font-size: 14px;
    background-color: #e7e8e9;
    padding: 10px;
    border-radius: 10px;
}
@media print {
    body {
        zoom: 1.1;
    }
}
@media print {
    .custom-label {
        font-size: 20px !important;
    }
}
