:root {
    --sidemenu-width: 299px;
    --header-height: 81px;
}

@font-face {
    font-family: 'iransans';
    src: url('fonts/IranSans/ttf/IRANSansWeb(FaNum)_light.ttf') format('ttf');
    src: url('fonts/IranSans/woff/IRANSansWeb(FaNum)_light.woff') format('woff');
}

body {
    font-family: iransans !important;
    direction: rtl;
    margin: 0;
}
}
.fa,
.fas,
.far,
.fal,
.fab {
    font-family: "Font Awesome 5 Free" !important;
}
.input-container {
    position: relative;
}

    .input-container input {
        box-shadow: none;
        height: auto;
        width: 100%;
        padding: 12px 10px 12px 15px;
        font-size: 16px;
        border-radius: 11.32px;
        background: none;
        outline: none;
        color: gray;
    }
    .input-container select {
        border-radius: 11.32px;
        color: #545454;
        display: block;
        width: 100%;
        height: 44px;
        padding: 6px 12px;
        font-size: 14px;
        line-height: 1.42857143;
        background-color: #fff;
        background-image: none;
    }
    .input-container .input-btn {
        position: absolute;
        left: 3%;
        top: 50%;
        transform: translateY(-50%);
        height: 92%;
        width: 7%;
        border: none;
        background: #2A2F86;
        color: #fff;
        border-radius: 6px;
        cursor: pointer;
        font-size: 14px;
        padding: 0;
    }
        .input-container input.has-one-icon {
            padding: 12px 10px 12px 45px;
        }

        .input-container input.has-two-icon {
            padding: 12px 45px 12px 45px;
        }

        .input-container input::placeholder {
            direction: rtl !important;
            text-align: right;
            color: #BEC4CD;
            font-size: 13px;
        }

        .input-container input.ltr {
            direction: rtl;
        }

        .input-container input.rtl {
            direction: rtl;
        }

    .input-container label {
        position: absolute;
        right: 23px;
        top: 12px;
        color: #6c6c6c;
        font-size: 13px;
        pointer-events: none;
        transition: 0.3s ease all;
        background: #fff;
        padding: 0 4px;
        font-weight: 400;
    }

    .input-container i {
        position: absolute;
        left: 15px;
        top: 30%;
        transform: translateY(-50%);
        font-size: 21px;
        color: #BEC4CD;
    }

    .input-container input:focus + label,
    .input-container input:not(:placeholder-shown) + label {
        top: -10px;
        right: 15px;
        font-size: 12px;
        color: gray;
    }

/*.btn {
    cursor: pointer;
    height: 50px;
    width: 100%;
    border: none;
    border-radius: 10.72px;
    font-size: 15px;
    font-weight: 500;
}*/

    .btn.submit {
        background-color: #2A2F86;
        border: 1px solid #5993FF;
        color: white;
    }


#myErrorModal .modal-content {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease-in-out;
}

.custom-modal {
    width: 30rem;
    height: 12rem;
    background: #fff;
}
/* success */
.modal-success .custom-modal {
    background: linear-gradient(18deg, #ffffff 47%, #edfff4 100%);
}

/* error */
.modal-error .custom-modal {
    background: linear-gradient(18deg, #ffffff 47%, #ffecec 100%);
}

/* warn */
.modal-warn .custom-modal {
    background: linear-gradient(18deg, #ffffff 47%, #fff8e1 100%);
}

/* info */
.modal-info .custom-modal {
    background: linear-gradient(18deg, #ffffff 47%, #e8f6ff 100%);
}

#myErrorModal.error .custom-modal-header {
    display: flex;
    justify-content: space-between;
    padding: 6px;
    color: black;
    /*background-color: #ff4d4f !important;
    border-bottom: 2px solid #e60000 !important;*/
}

#myErrorModal.error .modal-body {
    border-radius: 8px;
    display: flex;
    /*background-color: #fff0f0 !important;
    color: #d8000c !important;*/
}


#myErrorModal.success .custom-modal-header {

    display: flex;
    justify-content: space-between;
    padding: 6px;
    /*color: white;
    background-color: #1aa545 !important;*/
    /*border-bottom: 2px solid #189f48 !important;*/

}
    .close {
        font-size: 15px;
        border: none;
        background-color: transparent;
        color: white;
        opacity: .8;
    }

#myErrorModal.success .modal-body {
    display: flex;
    border-radius: 8px;
    /*background-color: #f3ffe6 !important;
    color: #2b7515 !important;*/
}

#myErrorModal.warn .custom-modal-header {
    background-color: #fcbe0d !important;
    border-bottom: 2px solid #e6ac00 !important;
}

#myErrorModal.warn .modal-body {
    display: flex;
    background-color: #fff9e6 !important;
    color: #8a6d3b !important;
}


#myErrorModal.info .custom-modal-header {
    background-color: #2780c4 !important;
    border-bottom: 2px solid #1b5e91 !important;
}

#myErrorModal.info .modal-body {
    background-color: #e6f4ff !important;
    color: #004085 !important;
}
p {
    margin: 3px 3px 2px;
}
.contentNewMessage {
    position: absolute;
    top: 3%;
    right: 4%;
    left: 2%;
    background-color: #ffffff;
    padding: 16px 42px;
}
.input-container-NewMessage {
    position: relative;
}

    .input-container-NewMessage input {
        width: 100%;
        padding: 12px 10px 12px 15px;
        font-size: 16px;
        border: 1px solid #F2F3F5;
        border-radius: 11.32px;
        background: none;
        outline: none;
        color: gray;
    }

    .input-container-NewMessage .input-btn {
        position: absolute;
        left: 3%;
        top: 50%;
        transform: translateY(-50%);
        height: 92%;
        width: 7%;
        border: none;
        background: #2A2F86;
        color: #fff;
        border-radius: 6px;
        cursor: pointer;
        font-size: 14px;
        padding: 0;
    }

    .input-container-NewMessage input.has-one-icon {
        padding: 12px 10px 12px 45px;
    }

    .input-container-NewMessage input.has-two-icon {
        padding: 12px 45px 12px 45px;
    }

    .input-container-NewMessage input::placeholder {
        direction: rtl !important;
        text-align: right;
        color: #BEC4CD;
        font-size: 13px;
    }

    .input-container-NewMessage input.ltr {
        direction: rtl;
    }

    .input-container-NewMessage input.rtl {
        direction: rtl;
    }

    .input-container-NewMessage label {
        position: absolute;
        right: 23px;
        bottom: 33px;
        color: #BEC4CD;
        font-size: 13px;
        pointer-events: none;
        transition: 0.3s ease all;
        background: #fff;
        padding: 0 4px;
        font-weight: 400;
    }

    .input-container-NewMessage i {
        position: absolute;
        left: 15px;
        top: 30%;
        transform: translateY(-50%);
        font-size: 21px;
        color: #BEC4CD;
    }

    .input-container-NewMessage input:focus + label,
    .input-container-NewMessage input:not(:placeholder-shown) + label {
        top: -10px;
        right: 15px;
        font-size: 12px;
        color: gray;
    }
/*.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    background: #fff;
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
}*/

    .pagination .colors {
        display: flex;
        align-items: center;
        font-size: 14px;
        color: #555;
    }

        .pagination .colors i {
            margin-left: 5px;
            color: #2196f3;
        }

    .pagination .pages {
        display: flex;
        align-items: center;
        flex-grow: 1;
        justify-content: flex-end;
    }
.tsTaskProperties-pages {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.page-number {
    border-radius: 4px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 2px;
    cursor: pointer;
}

.total-count {
    margin-right: 15px;
    font-size: 13px;
    color: #444;
}

.content .pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    max-height: 8rem;
    height: auto;
}

    .content .pagination .colors {
        font-size: 13px;
        font-weight: 700;
        background-color: white;
        padding: 6px 10px;
        border-radius: 15px;
        height: 50px;
        align-content: space-around;
    }

        .content .pagination .colors i {
            font-size: 16px;
            position: relative;
            top: 3px;
            margin-left: 3px;
        }

    .content .pagination .pages {
        background-color: #ffffff;
        border: none;
    }

        .content .pagination .pages .table-pages {
            height: 90%;
            display: flex;
            height: 38px;
            border: 1px solid #DEE2E6;
            margin: 5px;
        }

            .content .pagination .pages .table-pages .page-number {
                width: 38px;
                align-content: center;
                text-align: center;
                border-left: none;
                color: #585858;
            }

        .content .pagination .pages .total-count {
            width: 87%;
            margin-right: 76px;
            margin-left: 60px;
            margin-top: 14px;
        }

.colors-dropdown {
    position: relative;
    display: inline-block;
}

.colors-btn {
    background-color: #fff;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.colors-menu {
    display: none;
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    min-width: 180px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 1000;
    padding: 5px 0;
}

.color-item {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    cursor: pointer;
}

    .color-item:hover {
        background-color: #f0f0f0;
    }

.color-box {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    margin-right: 8px;
}

.content #tsTaskProperties,
.content #tsTaskNotes,
.content #tsTaskAttachments,
.content #tsTaskWorkFlowInstanceRefrences {
    position: relative;
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background-color: #f5f5f5;
    padding: 16px 42px;
}

    .content #tsTaskProperties th,
    .content #tsTaskProperties td,
    .content #tsTaskNotes th,
    .content #tsTaskNotes td,
    .content #tsTaskAttachments th,
    .content #tsTaskAttachments td,
    .content #tsTaskWorkFlowInstanceRefrences th,
    .content #tsTaskWorkFlowInstanceRefrences td {
        width: 12.5%;
        text-align: center;
        padding: 6px 10px;
    }

    .content #tsTaskProperties td,
    .content #tsTaskNotes td,
    .content #tsTaskAttachments td,
    .content #tsTaskWorkFlowInstanceRefrences td {
        white-space: normal;
        word-break: break-word;
        overflow-wrap: break-word;
        text-align: center;
    }

    .content #tsTaskProperties th,
    .content #tsTaskNotes th,
    .content #tsTaskAttachments th,
    .content #tsTaskWorkFlowInstanceRefrences th {
        position: sticky;
        top: 0;
        background-color: #eaeaf3;
        font-weight: 700;
        z-index: 2;
    }

    .content #tsTaskProperties tbody tr:nth-child(odd),
    .content #tsTaskNotes tbody tr:nth-child(odd),
    .content #tsTaskAttachments tbody tr:nth-child(odd),
    .content #tsTaskWorkFlowInstanceRefrences tbody tr:nth-child(odd) {
        background-color: white;
    }

    .content #tsTaskProperties tbody tr:nth-child(even),
    .content #tsTaskNotes tbody tr:nth-child(even),
    .content #tsTaskAttachments tbody tr:nth-child(even),
    .content #tsTaskWorkFlowInstanceRefrences tbody tr:nth-child(even) {
        background-color: #f5f7ff;
    }
@media (min-width: 1024px) and (max-width: 1440px) {
    body {
        font-size: 8pt !important;
    }

    .k-icon,
    .k-i-arrow-s {
        font-size: 0 !important;
    }
}
.btn-default {
    color: #333; 
    background-color: #fff;
    border-color: #ccc;
}
    .btn-default:hover {
        color: #333;
        background-color: #e6e6e6;
        border-color: #adadad;
    }
.btn-primary:hover {
    color: #fff;
    background-color: #286090;
    border-color: #204d74;
}
.btn-primary {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}


.nav {
    padding-right: 0;
    margin-bottom: 0;
    list-style: none;
}

ol, ul {
    margin-top: 0;
    margin-bottom: 10px;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {
    color: #555;
    cursor: default;
    background-color: #fff;
    border: 1px solid #ddd;
    border-bottom-color: transparent;
}

.nav-tabs > li > a {
    margin-left: 2px;
    line-height: 1.42857143;
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;
}

.nav > li > a {
    position: relative;
    display: block;
    padding: 10px 15px;
    text-decoration: none;
}

.btn-group-xs > .btn, .btn-xs {
    padding: 1px 5px !important;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.btn-success {
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
}

.btn {

    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}


button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

    button, html input[type=button], input[type=reset], input[type=submit] {
        -webkit-appearance: button;
        cursor: pointer;
    }

button, select {
    text-transform: none;
}

button {
    overflow: visible;
}

button, input, optgroup, select, textarea {
    margin: 0;
    font: inherit;
    color: inherit;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
a{
    text-decoration: none;
}
.TaskNotesTable tbody tr:nth-child(odd), .TaskPropertiesTable tbody tr:nth-child(odd), .TaskWorkFlowInstanceRefrencesTable tbody tr:nth-child(odd), .UserProfileTable tbody tr:nth-child(odd) {
    background-color: white;
}

.TaskNotesTable tbody tr:nth-child(even),
.TaskPropertiesTable tbody tr:nth-child(even)
.TaskWorkFlowInstanceRefrencesTable tbody tr:nth-child(even),
.UserProfileTable tbody tr:nth-child(even) {
    background-color: #f5f7ff;
}

.btn-forms {
    background-color: #2d2f87;
    margin-bottom: 1%;
    color: #ffffff;
}
.content table thead tr:first-child th:first-child {
    border-top-right-radius: 1rem;
}

.content table thead tr:first-child th:last-child {
    border-top-left-radius: 1rem;
}

.content table tbody tr:last-child td:first-child {
    border-bottom-right-radius: 1rem;
}

.content table tbody tr:last-child td:last-child {
    border-bottom-left-radius: 1rem;
}
.card-style {
    margin-top: 2rem;
    border-radius: 1rem;
    border-width: 1px;
    border: 1px solid var(--color-border, #E2E8F0);
}

.number-per-page {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.content .pagination {
    border: none;
    margin: 0;
}
.btn-custom-primary {
    color: white;
    width: 80px;
    height: 37px;
    min-width: 48px;
    transform: rotate(0deg);
    opacity: 1;
    padding-right: 8px;
    padding-left: 8px;
    border-radius: 12px !important;
    background: var(--color-primary, #155DFC);
}
.btn-cancel {
    width: 80px;
    height: 37px;
    min-width: 48px;
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 12px !important;
    border: 1px solid var(--color-border, #E2E8F0);
    border-width: 1px;
    opacity: 1;
    transform: rotate(0deg);
    background-color: var(--color-background, #FFFFFF);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.btn-custom-success {
        margin: 0.6rem;
    color: white;
    width: 80px;
    height: 37px;
    min-width: 48px;
    transform: rotate(0deg);
    opacity: 1;
    padding-right: 8px;
    padding-left: 8px;
    border-radius: 12px !important;
    background: var(--color-success, #00A63E);
}
.btn-custom-danger {
    background: var(--color-destructive, #E7000B);
    width: 80px;
    height: 37px;
    min-width: 48px;
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 12px !important;
    border: 1px solid var(--color-border, #E2E8F0);
    border-width: 1px;
    opacity: 1;
    transform: rotate(0deg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    color: white
}
.btn-custom-cancel:hover, btn-custom-cancel:focus {
    color: darkred !important;
}
.btn-custom-cancel {
    font-weight: bold;
    color: red;
    background-color: #ffffff;
    float: inline-end;
    padding: 0.7rem;
    margin: 0 15px;

}

.taskSuccessorTable tbody tr:nth-child(even) {
    background-color: #f5f7ff;
}

.taskSuccessorTable tbody tr:nth-child(odd) {
    background-color: white;
}

.content .taskSuccessorTable {
    font-size: 11px;
}
.tooltip-wrapper {
    position: relative; 
    width: 100%;
    text-align: center;
}
.tooltip-div {
    max-width: min(37rem, 90vw); 
    width: max-content;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 6px;
    background-color: #f8f9fa;
    color: #333;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 12px;
    text-align: right;
    direction: rtl;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease;
    z-index: 9999;
    overflow-wrap: break-word;
}

.tooltip-wrapper:hover .tooltip-div {
    opacity: 1;
    visibility: visible;
}
.tooltip-div {
    width: 25rem;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 6px;
    background-color: #f8f9fa;
    color: #333;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 12px;
    text-align: right;
    direction: rtl;
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease;
    z-index: 10;
}

.tooltip-wrapper:hover .tooltip-div {
    opacity: 1;
    visibility: visible;
}

.tooltip-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

    .tooltip-row:last-child {
        margin-bottom: 0;
    }

    .tooltip-row i {
        color: #6c757d;
    }
.content table tbody td div.status.new {
    background: var(--color-success-foreground, #F0FDF4);
    width: 5rem;
    height: 31px;
    border: 1px solid var(--color-success, #00A63E);
    display: flex;
    justify-content: center;
    align-items: center;
}

    .content table tbody td div.status.new span {
        color: #1c5128;
        font-size: 1rem;
    }
.content table tbody td div.status.in-progress {
    background: var(--color-warning-foreground, #FEFCE8);
    width: 8rem;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .content table tbody td div.status.in-progress span {
        color: rgb(208, 135, 0);
        font-size: 1rem;
    }
.card-task-summary {
    border-radius: 12px;
    border: 1px solid #e4e4ec;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    background-color: #fff;
}

.task-field label {
    font-size: 12px;
    font-weight: 500;
}
.task-field span {
    font-size: 12px;
    font-weight: 500;
}

div.dataTables_scroll, table.dataTable > tbody tr td, table.dataTable > thead tr th {
    border: none !important;
    border: none !important;
    border-bottom-color: none !important;
    border-bottom-style: none !important;
    border-bottom-width: 0 !important;
}

table.dataTable.stripe tbody tr.odd, table.dataTable.display tbody tr.odd {
    background-color: white;

}
table.dataTable.stripe tbody tr.odd, table.dataTable.display tbody tr.even {
    background-color: #eaeaf3;
}
table.dataTable.display tbody tr.odd > .sorting_1, table.dataTable.order-column.stripe tbody tr.odd > .sorting_1 {
    background-color: white;
}
table.dataTable.display tbody tr.even > .sorting_1, table.dataTable.order-column.stripe tbody tr.odd > .sorting_1 {
    background-color: #eaeaf3;
}
.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > th, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > td, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > th, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > td {
    text-align: center;
    vertical-align: middle;
}
.table-pagination {
    max-height: calc(89vh - 10rem);
    overflow-y: auto;
}
table.dataTable, table.dataTable th, table.dataTable td {
    text-align: -webkit-center !important;
    box-sizing: content-box;
}

.btn-custom-success:focus {
    color: white;
}

.rest-timer-wrapper {
    width: 180px;
    height: 80px;
    margin-top: 10px;
    position: relative;
    padding: 0;
    overflow: visible !important;
    display: block !important;
}

#CountDownTimer {
    width: 180px !important;
    height: 80px !important;
    position: relative !important;
    overflow: visible !important;
}

#CountDownTimer .time_circles {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
}

    #CountDownTimer canvas {
        display: block;
        width: 80% !important;
        height: 80% !important;
    }

#CountDownTimer div[class^='textDiv_'] {
    transform: translateY(5px);
}

#CountDownTimer h4 {
    font-size: 10px !important;
}

#CountDownTimer span {
    font-size: 22px !important;
}

#CountDownTimer {
    padding-top: 1rem;
    width: 110px;
    height: 70px;
    float: left;
    position: relative;
}





    #CountDownTimer .textDiv_Minutes {
        position: absolute;
        bottom: 30px !important;
        top: unset !important;
        left: 72px !important;
        width: 0px !important;
        text-align: center;
    }



    #CountDownTimer .textDiv_Seconds {
        position: absolute;
        bottom: 30px !important;
        left: 94px !important;
        top: unset !important;
        width: 75px !important;
        text-align: center;
    }

      
