﻿/*public*/
.sorme {
    color: #276195 !important;
}

.bg-sorme {
    background-color: #276195 !important;
}

#menu_toggle > i {
    color: #242424;
}
/*--table--*/
.table[id] {
    margin-bottom: 0 !important;
    table-layout: fixed;
    min-width: 800px;
    /*table-layout: auto;*/
}

td {
    vertical-align: middle !important;
    padding: 2px 4px !important;
    text-align: right;
    color: #276195;
    text-align: center !important;
    border-top: 0 !important;
    word-wrap: break-word;
}

.table[id] > tbody > tr > td:not(:last-child) {
    border-left: 1px solid rgb(200,200,200) !important;
}

.table[id] td a {
    color: #276195;
}

.table td a span {
    color: #276195 !important;
}

.table td > input {
    height: 22px !important;
    padding-top: 4px !important;
    text-align: center !important;
    border: 0;
    background-color: transparent;
    margin-top: -1.5px;
    color: #276195;
}

table td:has(input) {
    padding: 1px 0 !important;
}

th {
    text-align: center;
    padding: 3px 3px 3px 0 !important;
    color: white;
    font-weight: normal;
    height: 30px;
    padding: 4px !important;
    vertical-align: middle !important;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: white;
}

.table-striped > tbody > tr:nth-of-type(even) {
    background-color: #F2F5FA;
}

input[type=checkbox], input[type=radio] {
    vertical-align: top;
}

/*#divList > div {
    padding: 0;
}*/
#divList > div > div.table-responsive > div {
    min-width: 500px;
}

#divList tr.activeFalse td:has(a) {
    opacity: 1 !important;
}

#divList tr.activeFalse td {
    opacity: .5;
}


.pagination {
    margin: 0px !important;
}

    .pagination > .page-item {
        cursor: pointer;
    }

    .pagination > li > a {
        padding: 4px 0px;
        width: 40px;
        height: 30px;
    }

.pagination-footer {
    padding: 5px 0;
    height: 40px;
    /*display: none;*/
}

    .pagination-footer > nav {
        height: 30px;
        display: none;
    }

    .pagination-footer > .pageInfo {
        position: absolute;
        font-size: 10pt;
        height: 30px;
        display: inline-flex;
        align-items: center;
        margin-right: 5px;
        margin-top: 3px;
    }

.page-link {
    min-width: 35px;
    font-size: 10pt;
}

    .page-link:focus-within {
        background-color: white !important;
    }

    .page-link > input {
        width: 32px;
        border: 0;
        height: 18px;
        text-align: center !important;
        /*margin-top: -1px;*/
        color: white;
        background-color: transparent;
        vertical-align: text-bottom;
    }

        .page-link > input:focus {
            color: #276195;
        }

@media (max-width: 520px) {
    .pagination-footer {
        height: 70px;
    }

    /*.pagination-footer > nav {
            float: right;
        }*/

    .pageInfo.sorme {
        margin-top: 32px;
    }

    div.clearfix {
        display: none;
    }
}
/*.indexHeader {
    margin-top: 50px;
}

    .indexHeader > div {
        margin: -5px 10px 5px 0;
        min-height: 35px;
    }

        .indexHeader > div div {
            margin: 0 5px;
        }

    .indexHeader .actionButton {
        margin: 0 10px;
    }
*/
.dateBound {
    margin: 0;
    padding: 0 5px;
}

    .dateBound > div {
        margin: 0 10px;
    }

    .dateBound div.input-group {
        margin-bottom: 0;
    }

div.input-group {
    width: 100%;
}

    div.input-group input {
        background: white !important;
        text-align: center;
    }

#divList {
    margin: 0 !important;
}

    #divList > div {
        margin-bottom: 0px !important;
        padding: 0;
    }
/*listpage ations*/
.listAction {
    position: absolute;
    left: 20px;
    margin-top: -30px;
    z-index: 5;
}

    .listAction .fa {
        width: 18px;
        color: #276195;
    }

    .listAction .fa-plus {
        font-size: 16pt;
    }

    .listAction .fa-file-excel-o {
        font-size: 15pt;
        color: #548235;
        /*display: none;*/
    }

    .listAction .fa-file-pdf-o {
        font-size: 15pt;
        color: #C0504D;
    }

    .listAction .dropdown-menu {
        right: unset;
    }

        .listAction .dropdown-menu a:not([tag]) {
            color: #878787 !important;
            opacity: .7;
            cursor: default;
        }

    .listAction a.export {
        display: inline-block;
        width: 24px;
        padding: 0 3px;
        position: relative;
    }

        .listAction a.export.no {
            visibility: hidden;
        }

/*.listAction a.export > img {
            display: none;
            width: 24px;
            padding-bottom: 5px;
        }

        .listAction a.export.loading > img {
            display: inline-block;
        }

        .listAction a.export.loading > i {
            display: none;
        }*/

div:has(> div.listAction) {
    /*background: red;*/
    /*padding-top: 30px;*/
}

.listAction a {
    position: relative;
    vertical-align: text-top;
}

    .listAction a:has(.fa-file-pdf-o) {
        margin-left: 20px;
    }

.listAction .fa-gear {
    font-size: 16pt;
    display: unset;
}

.listAction .fa-star {
    font-size: 15pt;
    display: none;
    color: yellowgreen;
}

.listAction .fa-filter {
    font-size: 16pt;
}


.blistSetting.fav .fa-gear {
    display: none;
}

.blistSetting.fav .fa-star {
    display: unset;
}

.listSetting {
    display: none;
    background: white;
    width: 200px;
    position: absolute;
    left: 0px;
    top: 25px;
    padding: 5px;
    border-radius: 2px;
    box-shadow: 1px 1px 2px lightgrey;
    border: 1px solid lightgray;
    min-height: 100px;
    font-size: 10pt;
    color: dimgray;
}

i.rowAction {
    font-size: 15pt;
    margin: 2px 1px;
    color: #276195;
    cursor: pointer;
}

    i.rowAction.fa-info {
        color: #3591e0;
    }

    i.rowAction.fa-close {
        color: #C0504D;
    }

    i.rowAction.fa-check {
        color: #9BBB59;
    }

    i.rowAction.fa-edit {
        margin-top: 2px;
    }

    i.rowAction.fa-eraser {
        font-size: 13.5pt;
        color: #878787;
    }

    i.rowAction.fa-file-pdf-o {
        margin-left: 4px;
        color: #C0504D;
        font-size: 14pt;
    }

i.rowVerified {
    color: #9BBB59;
    font-size: 13pt;
    /*margin-top: 2px;*/
}

i.rowInvoice {
    font-size: 13pt;
    color: #f79646;
}
/*search panel*/
.searchBox {
    float: right;
    min-width: 10px;
    min-height: 10px;
    margin: 0px 0px 5px 5px;
}

    .searchBox .searchBoxHeader {
        margin-left: 5px;
        font-weight: normal;
        width: 100%;
        background-color: #878787;
        margin-bottom: 0 !important;
        padding: 4px !important;
        text-align: center;
        color: white;
        font-size: 10pt;
        height: 30px;
    }

    .searchBox > label {
        margin-top: 5px;
    }

    .searchBox input, .searchBox select, .searchBox span {
        height: 30px !important;
        text-align: center !important;
    }

div.clearfix {
    /*width: calc(100% - 120px);*/
}

div:has(> div.clearfix) {
    /*min-height: 30px;*/
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.input-group-addon:first-child {
    border-right: 1px solid lightgray !important;
    border-right: 1px solid;
    border-bottom-right-radius: 0px;
    border-top-right-radius: 0px;
}

.input-group .form-control:last-child {
    border-bottom-left-radius: 0px;
    border-top-left-radius: 0px;
}

select {
    padding: 0 10px 0 0 !important;
    /*padding-left: 5px !important;
    padding-top: 3px !important;*/
}

optgroup {
    font-weight: 300;
    color: #c0504d;
}

.select2-container--default .select2-results__group {
    font-weight: 300;
    color: #c0504d;
}

.actionButton.search {
    margin-top: 32px;
    position: absolute;
    margin-right: 5px;
    color: #878787;
    font-size: 16pt;
    cursor: pointer;
    z-index: 1;
}

.actionButton.disabled {
    cursor: default;
    opacity: .5;
}

    .actionButton.disabled > i.rowAction {
        cursor: not-allowed !important;
    }

.modal-sm {
    width: 380px;
}

.modal.fade:not(.in).right .modal-dialog {
    -webkit-transform: translate3d(25%, 0, 0);
    transform: translate3d(25%, 0, 0);
}

input {
    padding: 2px !important;
}

/*Cycle.Age*/
.entryModal input[type=number] {
    /*text-align: right !important;*/
}

/*hide arrows*/
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
    direction: ltr !important;
}
/*hide arrows*/

.unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.progress {
    margin-bottom: 0 !important;
    margin-top: 2px !important;
}

.progress-bar {
    float: left !important;
    overflow-wrap: normal;
    color: #276195;
    direction: ltr;
    font-size: 8pt;
    font-weight: 400;
    background-color: #9BBB59;
    padding-top: 2px !important;
}

    .progress-bar.complete {
        color: white;
    }
/*right nav*/
/*.dropdown-usermenu li a {
    font-weight: 500;
}*/
.dropdown-usermenu li a:hover {
    background: lightgray !important;
    color: #262626 !important;
}

.dropdown-usermenu.dropdown-menu a {
    color: #242424 !important;
    font-size: 9pt;
    line-height: 1;
}

.dropdown-usermenu {
    padding: 5px;
}

    .dropdown-usermenu li:after {
        border: 0 !important;
    }

    .dropdown-usermenu li li a:hover {
        margin-right: 0px !important;
    }

    .dropdown-usermenu li li {
        padding-right: 20px !important;
    }

    .dropdown-usermenu .fa-sign-out {
        font-size: 12pt !important;
        color: #c0504d !important;
        vertical-align: middle;
        margin: 0 0 0 3px;
        -webkit-transform: scaleX(-1);
        transform: scaleX(-1);
    }

    .dropdown-usermenu li.user-stat {
        height: 25px;
    }

        .dropdown-usermenu li.user-stat a {
            margin-right: 10px;
        }
        .dropdown-usermenu li.user-stat a b {
            margin-left: 5px;
            font-size: 15pt;
            vertical-align: sub;
        }

#statAll i {
    margin: 0 10px 0;
    color: #276195;
    float: left;
    margin-left: 85px;
}

/*Modal - Edit*/
.modal-title {
    line-height: 1.1;
    color: white;
    background-color: #878787;
    font-size: 14pt;
    font-weight: normal;
    padding: 10px 20px
}

.modal-header {
    padding: 15px 30px;
    border-bottom: 0px !important;
}

    .modal-header .close {
        color: #242424;
    }

.modal-body {
    padding: 0 !important;
    /*padding: 0 0 15px 0 !important;*/
}

label {
    color: #276195;
    font-weight: normal;
}


div.form-group > div, div.row > div {
    margin-bottom: 10px;
}

table[data-name="Md-PersianDateTimePicker-HeaderTable"] .btn {
    padding: 5px !important;
    margin: 0px !important;
}

.btn {
    padding: 5px 12px;
    margin-right: 0px;
    /*background-color: #878787;*/
}

.swalButton {
    background: #878787 !important;
    color: white;
    font-weight: normal !important;
    /*width: 90px !important;*/
    font-size: 11pt;
    padding: 5px 12px;
    border-radius: 3px;
    border: 0;
}

.swal2-html-container {
    color: #242424 !important;
}

.editApply .btn {
    background: #878787 !important;
    color: white;
    font-weight: normal !important;
    width: 90px !important;
    font-size: 11pt;
}

    .editApply .btn:focus, .editApply .btn:hover, .swalButton:hover {
        background: rgb(174,174,174) !important;
        color: white;
    }

.editApply .hint {
    position: absolute;
    right: 30px;
    margin-top: 10px;
    font-size: 9pt;
    color: #C0504D;
}

#divFreight td:first-child {
    text-align: right !important;
}

.entryTable {
    max-width: 600px;
    margin: 20px auto;
    /*margin-top: 10px;*/
    /*width: 100%;*/
}

    .entryTable td {
        padding: 0px !important;
    }

.entryModal {
    padding: 0 15px;
}

    .entryModal .editApply {
        margin: 0px 0px 15px 15px;
    }

    .entryModal .row {
        margin-left: 0px;
        margin-right: 0px;
    }


.stiJsViewerForm {
    display: none;
}

.entryModal label {
    font-size: 10pt;
    font-weight: 500;
    margin-bottom: 2px;
}

.entryModal input, .entryModal select {
    padding-right: 10px !important;
    padding-left: 10px !important;
}

.entryModal input, .entryModal select {
    /*border-width: 2px;*/
    color: #242424;
    font-size: 10pt;
}

    .entryModal input:focus, .entryModal select:focus {
        border-color: #276195;
    }

.modal-content {
    background-color: #f7f7f7;
    border-radius: 6px 6px 0 0;
}

/*Tab*/
.tab-pane {
    margin: 0 15px;
}

.nav-tabs > li:first-child {
    margin-right: 20px;
}

.nav-tabs > li > a {
    border-radius: 0;
    background: white;
    padding: 5px 10px;
    /*padding-left: 40px;*/
    border: 1px solid #d9d9d9;
    min-width: 90px;
    text-align: center;
}

    .nav-tabs > li > a > span {
        background: #c0504daa;
        padding: 3px;
        border-radius: 10px;
        vertical-align: bottom;
        width: 20px;
        height: 20px;
        color: white;
        font-size: 8.5pt;
        position: absolute;
        left: 10px;
        top: 4px;
        text-align: center;
    }

.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {
    background: #276195cc;
    color: white;
    border-bottom-color: #d9d9d9;
}

.tab-content {
    background: #d9d9d9;
    padding-top: 10px;
}
/*.tab-content {
    padding-top: 15px;
    border-width: 0px 1px 1px 1px;
    border-style: solid;
    border-color: lightgray;
}

.nav-tabs {
    margin: 0 2px;
}

    .nav-tabs > li > a {
        padding: 7px;
    }
*/

.bookCat {
    padding: 0px;
}

/*Loader*/
.loadersmall {
    border: 5px solid #f3f3f3;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1.5s linear infinite;
    border-top: 5px solid #555;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin: 0 50%;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/*Loader*/

/*title_lines*/
label.title_lines {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}

    label.title_lines:before,
    label.title_lines:after {
        content: '';
        border-top: 1px solid;
        margin: 0 20px 0 0;
        flex: 1 0 20px;
    }

    label.title_lines:after {
        margin: 0 0 0 20px;
    }
/*title_lines*/


.swal2-popup {
    padding: 20px !important;
    width: 350px !important;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #ccc !important;
}

span.select2 {
    width: 100% !important;
}


img.imgExpand {
    cursor: pointer;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

input.c_invalid, select.c_invalid, div.input-group input.c_invalid, span.c_invalid {
    background-color: #C0504D66 !important;
}


tr.invoiceSelect td {
    background: #dcedc8;
}

/*Toggle - Status*/
.toggle_status {
    background-color: #d9d9d9 !important;
    padding: 2px !important;
}

    .toggle_status input {
        color: white !important;
        text-align: center;
        display: none;
        cursor: pointer;
    }

        .toggle_status input.sChecked {
            display: block;
        }

        .toggle_status input[tag=false] {
            background-color: #c0504d !important;
            width: 80%;
            float: left;
        }

        .toggle_status input[tag=true] {
            background-color: #9bbb59 !important;
            width: 80%
        }

td.td_right {
    text-align: right !important;
}

#divEntry td > input, #divEntry td > select {
    text-align: center;
}

input.decimalThousandsGroup, input.thousandsGroup {
    direction: ltr !important;
}

.popover td {
    padding: 0 !important;
}

.kakolLoading {
    text-align: center;
    padding: 100px 0;
    position: absolute;
    width: 100%;
    background-color: #f7f7f7;
    left: 0;
    min-height: 300px;
    /*margin-top: -5px;*/
}

    .kakolLoading > div::after {
        content: url('../../images/kakol-loading.gif')
    }


td.last a {
    position: relative;
}

    td.last a img.sLoading {
        top: calc(50% - 12px);
    }

.sLoading {
    position: absolute;
    left: calc(50% - 12px);
    top: calc(50% - 8px);
    opacity: 0.9;
    width: 28px;
}

.lockLoading {
    position: absolute;
    left: calc(50% - 100px);
    top: calc(50% - 70px);
    opacity: 0.7;
    z-index: 10;
}

.project_progress {
    padding: 0 10px !important;
}



.picture.fa-camera {
    float: left;
    position: relative;
    left: 30px;
    top: 2px;
    cursor: pointer;
}

.picture.fa-plus {
    float: left;
    position: relative;
    left: 20px;
    top: 1px;
    cursor: pointer;
    font-size: 12pt;
}

.picture.fa-close {
    float: left;
    position: relative;
    left: 10px;
    top: 0px;
    cursor: pointer;
    font-size: 12pt;
}

.attHint {
    margin: 5px 15px 0 0;
    color: #c0504d;
    font-size: 9pt;
    display: none;
}

    .attHint i.fa {
        font-size: 12pt;
        vertical-align: sub;
    }

.cycleBoundSelector {
    cursor: pointer;
    font-size: 10pt;
    float: left;
    margin: 4px 0 4px 4px;
}

#cycleSelectTable {
    margin: 5px auto 20px !important;
    width: 600px;
}

    #cycleSelectTable > tbody > tr {
        cursor: pointer;
    }

.cellCurrency {
    direction: ltr;
    text-align: right !important;
    padding-right: 15px !important;
}

.cellBookCode {
    direction: ltr;
    text-align: left !important;
    padding-left: 20px !important;
}

th.ch {
    background-color: #3591e0;
    cursor: default;
}

td.cHistory div {
    position: absolute;
    margin-top: -12px;
    right: 0;
}

td.cHistory span {
    cursor: pointer;
    position: relative;
}

div.cHistory {
    width: 450px;
    max-height: 300px;
    overflow-y: auto;
    /*height: 50px;*/
    background: white;
    position: absolute;
    top: -1px;
    right: 0;
    border: 1px solid lightgray;
    z-index: 10;
}

    div.cHistory:hover {
        background: red !important;
    }

    div.cHistory > table {
        width: 100%;
        border: solid #c0504d;
        border-width: 0 3px 3px 3px;
    }

        div.cHistory > table > tbody > tr:nth-child(2n+1) td {
            background-color: #c0504d11 !important;
        }

        div.cHistory > table > tbody > tr:nth-child(2n+1):hover td {
            background-color: #c0504d11 !important;
        }

        div.cHistory > table > tbody > tr {
            border-bottom: 1px solid #c0504d88;
            background: white;
        }

            div.cHistory > table > tbody > tr > td {
                background-color: white !important;
            }

        div.cHistory > table > thead > tr > th {
            background: #c0504d;
            color: white;
        }

            div.cHistory > table > thead > tr > th:nth-child(1) {
                width: 30px;
            }

            div.cHistory > table > thead > tr > th:nth-child(3) {
                width: 120px;
            }

            div.cHistory > table > thead > tr > th:nth-child(4) {
                width: 90px;
            }

        div.cHistory > table > tbody > tr > td:nth-child(3) {
            direction: ltr;
        }


i.time_eraser {
    position: absolute;
    top: 29px;
    left: 20px;
    z-index: 10;
    cursor: pointer
}
